| Goodwill and Purchased Intangible Assets  - Amortization Expense for Purchased Intangible Assets (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
| Mar. 31, 2020 | Mar. 31, 2019 | Mar. 31, 2020 | Mar. 31, 2019 | |
| Purchased Intangible Assets | ||||
| Amortization of intangible assets | $ 54,605 | $ 25,868 | $ 169,265 | $ 28,613 | 
| Costs of revenues | ||||
| Purchased Intangible Assets | ||||
| Amortization of intangible assets | 36,850 | 15,770 | 108,835 | 17,628 | 
| Selling, general and administrative | ||||
| Purchased Intangible Assets | ||||
| Amortization of intangible assets | 17,724 | 10,086 | 60,237 | 10,973 | 
| Research and development | ||||
| Purchased Intangible Assets | ||||
| Amortization of intangible assets | $ 31 | $ 12 | $ 193 | $ 12 | 
| X | ||||||||||
| 
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| 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. 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |