Property and Equipment - Additional Information (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2015 |
|
| Property, Plant and Equipment [Line Items] | |||
| Assets recorded under capital leases | $ 2,700 | $ 865 | |
| Accumulated depreciation associated with capital leases | 161 | 57 | |
| Property and equipment acquired under capital leases | 1,800 | 413 | |
| Depreciation expense | $ 6,100 | $ 4,900 | $ 4,100 |
| X | ||||||||||
- Definition The increase during the period in capital lease obligations due to entering into new capital leases. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount before accumulated depreciation of leased physical assets used in the normal conduct of business to produce goods and services. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition The total charge for the use of long-lived depreciable assets subject to a lease meeting the criteria for capitalization. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|