v3.8.0.1
Unearned Revenue - Additional Information (Detail) - USD ($)
$ in Millions
9 Months Ended
Mar. 31, 2018
Jun. 30, 2017
Jul. 01, 2016
Revenue Recognition And Deferred Revenue [Abstract]      
Unearned revenue $ 23,955 $ 26,656 $ 22,200
Revenue allocated to remaining performance obligations $ 61,000    
Revenue allocated to remaining performance obligations, percentage of revenue expected to be recognized over the next 12 months 60.00%    
Revenue allocated to remaining performance obligations, expected timing of satisfaction we expect to recognize approximately 60% of the revenue over the next 12 months and the remainder thereafter.