diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..8096d5ed --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,4 @@ +# Instructions for CODEOWNERS file format and automatic build failure notifications: +# https://github.com/Azure/azure-sdk/blob/master/docs/policies/opensource.md#codeowners + +* @isaiahwilliams \ No newline at end of file diff --git a/ChangeLog.md b/ChangeLog.md index 731dceff..3cc69271 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -20,6 +20,12 @@ # Change Log +## 2.0.1911.5 + +* Security + * Optimized the [Get-PartnerUser](https://docs.microsoft.com/powershell/module/partnercenter/Get-PartnerProductUpgrade) command + * Optimized the [Get-PartnerUserSignActivity](https://docs.microsoft.com/powershell/module/partnercenter/Get-PartnerUserSignActivity) command + ## 2.0.1911.4 * Azure diff --git a/src/Billing/AddressOperations.cs b/src/Billing/AddressOperations.cs index 96b35c24..b3b4d6e8 100644 --- a/src/Billing/AddressOperations.cs +++ b/src/Billing/AddressOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// AddressOperations operations. diff --git a/src/Billing/AddressOperationsExtensions.cs b/src/Billing/AddressOperationsExtensions.cs index c0e8399b..f53ee398 100644 --- a/src/Billing/AddressOperationsExtensions.cs +++ b/src/Billing/AddressOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for AddressOperations. diff --git a/src/Billing/AgreementsOperations.cs b/src/Billing/AgreementsOperations.cs index 78578600..77b81995 100644 --- a/src/Billing/AgreementsOperations.cs +++ b/src/Billing/AgreementsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// AgreementsOperations operations. diff --git a/src/Billing/AgreementsOperationsExtensions.cs b/src/Billing/AgreementsOperationsExtensions.cs index 459d3736..19cb618f 100644 --- a/src/Billing/AgreementsOperationsExtensions.cs +++ b/src/Billing/AgreementsOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for AgreementsOperations. diff --git a/src/Billing/AvailableBalancesOperations.cs b/src/Billing/AvailableBalancesOperations.cs index 85e992f9..8517d47d 100644 --- a/src/Billing/AvailableBalancesOperations.cs +++ b/src/Billing/AvailableBalancesOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// AvailableBalancesOperations operations. diff --git a/src/Billing/AvailableBalancesOperationsExtensions.cs b/src/Billing/AvailableBalancesOperationsExtensions.cs index e1e1a592..c6688420 100644 --- a/src/Billing/AvailableBalancesOperationsExtensions.cs +++ b/src/Billing/AvailableBalancesOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for AvailableBalancesOperations. diff --git a/src/Billing/BillingAccountsOperations.cs b/src/Billing/BillingAccountsOperations.cs index 7814f148..91696dc1 100644 --- a/src/Billing/BillingAccountsOperations.cs +++ b/src/Billing/BillingAccountsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// BillingAccountsOperations operations. diff --git a/src/Billing/BillingAccountsOperationsExtensions.cs b/src/Billing/BillingAccountsOperationsExtensions.cs index 3b10056f..173bf558 100644 --- a/src/Billing/BillingAccountsOperationsExtensions.cs +++ b/src/Billing/BillingAccountsOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for BillingAccountsOperations. diff --git a/src/Billing/BillingManagementClient.cs b/src/Billing/BillingManagementClient.cs index ff06f40b..286b4756 100644 --- a/src/Billing/BillingManagementClient.cs +++ b/src/Billing/BillingManagementClient.cs @@ -10,16 +10,12 @@ namespace Microsoft.Azure.Management.Billing { + using System.Collections.Generic; + using System.Net.Http; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Serialization; - using Models; using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - using System.Net; - using System.Net.Http; /// /// Billing client provides access to billing resources for Azure diff --git a/src/Billing/BillingPermissionsOperations.cs b/src/Billing/BillingPermissionsOperations.cs index f9a9f7b4..fb044ada 100644 --- a/src/Billing/BillingPermissionsOperations.cs +++ b/src/Billing/BillingPermissionsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// BillingPermissionsOperations operations. diff --git a/src/Billing/BillingPermissionsOperationsExtensions.cs b/src/Billing/BillingPermissionsOperationsExtensions.cs index 1367a626..577b7bd5 100644 --- a/src/Billing/BillingPermissionsOperationsExtensions.cs +++ b/src/Billing/BillingPermissionsOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for BillingPermissionsOperations. diff --git a/src/Billing/BillingProfilesOperations.cs b/src/Billing/BillingProfilesOperations.cs index e5aec624..49189641 100644 --- a/src/Billing/BillingProfilesOperations.cs +++ b/src/Billing/BillingProfilesOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// BillingProfilesOperations operations. diff --git a/src/Billing/BillingProfilesOperationsExtensions.cs b/src/Billing/BillingProfilesOperationsExtensions.cs index a38bc733..285e8caa 100644 --- a/src/Billing/BillingProfilesOperationsExtensions.cs +++ b/src/Billing/BillingProfilesOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for BillingProfilesOperations. diff --git a/src/Billing/BillingPropertyOperations.cs b/src/Billing/BillingPropertyOperations.cs index 0182e343..33b279f5 100644 --- a/src/Billing/BillingPropertyOperations.cs +++ b/src/Billing/BillingPropertyOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// BillingPropertyOperations operations. diff --git a/src/Billing/BillingPropertyOperationsExtensions.cs b/src/Billing/BillingPropertyOperationsExtensions.cs index 99b7476e..4c39b8e7 100644 --- a/src/Billing/BillingPropertyOperationsExtensions.cs +++ b/src/Billing/BillingPropertyOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for BillingPropertyOperations. diff --git a/src/Billing/BillingRoleAssignmentsOperations.cs b/src/Billing/BillingRoleAssignmentsOperations.cs index 19d0ed2c..bcf6d793 100644 --- a/src/Billing/BillingRoleAssignmentsOperations.cs +++ b/src/Billing/BillingRoleAssignmentsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// BillingRoleAssignmentsOperations operations. diff --git a/src/Billing/BillingRoleAssignmentsOperationsExtensions.cs b/src/Billing/BillingRoleAssignmentsOperationsExtensions.cs index cb60a165..9ad4957c 100644 --- a/src/Billing/BillingRoleAssignmentsOperationsExtensions.cs +++ b/src/Billing/BillingRoleAssignmentsOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for BillingRoleAssignmentsOperations. diff --git a/src/Billing/BillingRoleDefinitionsOperations.cs b/src/Billing/BillingRoleDefinitionsOperations.cs index 234b0dd6..fa7c691d 100644 --- a/src/Billing/BillingRoleDefinitionsOperations.cs +++ b/src/Billing/BillingRoleDefinitionsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// BillingRoleDefinitionsOperations operations. diff --git a/src/Billing/BillingRoleDefinitionsOperationsExtensions.cs b/src/Billing/BillingRoleDefinitionsOperationsExtensions.cs index 10e68be3..59cbe68c 100644 --- a/src/Billing/BillingRoleDefinitionsOperationsExtensions.cs +++ b/src/Billing/BillingRoleDefinitionsOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for BillingRoleDefinitionsOperations. diff --git a/src/Billing/BillingSubscriptionsOperations.cs b/src/Billing/BillingSubscriptionsOperations.cs index 4e333c28..13b7690f 100644 --- a/src/Billing/BillingSubscriptionsOperations.cs +++ b/src/Billing/BillingSubscriptionsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// BillingSubscriptionsOperations operations. diff --git a/src/Billing/BillingSubscriptionsOperationsExtensions.cs b/src/Billing/BillingSubscriptionsOperationsExtensions.cs index e4cc2f12..08b51441 100644 --- a/src/Billing/BillingSubscriptionsOperationsExtensions.cs +++ b/src/Billing/BillingSubscriptionsOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for BillingSubscriptionsOperations. diff --git a/src/Billing/CustomersOperations.cs b/src/Billing/CustomersOperations.cs index f90de76b..ad33a838 100644 --- a/src/Billing/CustomersOperations.cs +++ b/src/Billing/CustomersOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// CustomersOperations operations. diff --git a/src/Billing/CustomersOperationsExtensions.cs b/src/Billing/CustomersOperationsExtensions.cs index e047020c..60c05c16 100644 --- a/src/Billing/CustomersOperationsExtensions.cs +++ b/src/Billing/CustomersOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for CustomersOperations. diff --git a/src/Billing/DepartmentsOperations.cs b/src/Billing/DepartmentsOperations.cs index 4861c760..89d8b4fd 100644 --- a/src/Billing/DepartmentsOperations.cs +++ b/src/Billing/DepartmentsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// DepartmentsOperations operations. diff --git a/src/Billing/DepartmentsOperationsExtensions.cs b/src/Billing/DepartmentsOperationsExtensions.cs index 0f481233..8353796a 100644 --- a/src/Billing/DepartmentsOperationsExtensions.cs +++ b/src/Billing/DepartmentsOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for DepartmentsOperations. diff --git a/src/Billing/EnrollmentAccountsOperations.cs b/src/Billing/EnrollmentAccountsOperations.cs index 2dbebd83..0e41bff5 100644 --- a/src/Billing/EnrollmentAccountsOperations.cs +++ b/src/Billing/EnrollmentAccountsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// EnrollmentAccountsOperations operations. diff --git a/src/Billing/EnrollmentAccountsOperationsExtensions.cs b/src/Billing/EnrollmentAccountsOperationsExtensions.cs index 5d24fc6d..da3d1f2d 100644 --- a/src/Billing/EnrollmentAccountsOperationsExtensions.cs +++ b/src/Billing/EnrollmentAccountsOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for EnrollmentAccountsOperations. diff --git a/src/Billing/IAddressOperations.cs b/src/Billing/IAddressOperations.cs index 0497e1cf..28eeef62 100644 --- a/src/Billing/IAddressOperations.cs +++ b/src/Billing/IAddressOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// AddressOperations operations. diff --git a/src/Billing/IAgreementsOperations.cs b/src/Billing/IAgreementsOperations.cs index 8857e689..cabef806 100644 --- a/src/Billing/IAgreementsOperations.cs +++ b/src/Billing/IAgreementsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// AgreementsOperations operations. diff --git a/src/Billing/IAvailableBalancesOperations.cs b/src/Billing/IAvailableBalancesOperations.cs index 4afc7b35..0d272e00 100644 --- a/src/Billing/IAvailableBalancesOperations.cs +++ b/src/Billing/IAvailableBalancesOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// AvailableBalancesOperations operations. diff --git a/src/Billing/IBillingAccountsOperations.cs b/src/Billing/IBillingAccountsOperations.cs index 7db9787b..36e5a0a5 100644 --- a/src/Billing/IBillingAccountsOperations.cs +++ b/src/Billing/IBillingAccountsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// BillingAccountsOperations operations. diff --git a/src/Billing/IBillingManagementClient.cs b/src/Billing/IBillingManagementClient.cs index 171f2c18..272d1310 100644 --- a/src/Billing/IBillingManagementClient.cs +++ b/src/Billing/IBillingManagementClient.cs @@ -11,8 +11,6 @@ namespace Microsoft.Azure.Management.Billing { using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using Newtonsoft.Json; /// diff --git a/src/Billing/IBillingPermissionsOperations.cs b/src/Billing/IBillingPermissionsOperations.cs index 13d471c0..212df346 100644 --- a/src/Billing/IBillingPermissionsOperations.cs +++ b/src/Billing/IBillingPermissionsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// BillingPermissionsOperations operations. diff --git a/src/Billing/IBillingProfilesOperations.cs b/src/Billing/IBillingProfilesOperations.cs index 370ead87..8c17cc5b 100644 --- a/src/Billing/IBillingProfilesOperations.cs +++ b/src/Billing/IBillingProfilesOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// BillingProfilesOperations operations. diff --git a/src/Billing/IBillingPropertyOperations.cs b/src/Billing/IBillingPropertyOperations.cs index 71374d3a..46fc7aad 100644 --- a/src/Billing/IBillingPropertyOperations.cs +++ b/src/Billing/IBillingPropertyOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// BillingPropertyOperations operations. diff --git a/src/Billing/IBillingRoleAssignmentsOperations.cs b/src/Billing/IBillingRoleAssignmentsOperations.cs index dfd967c2..bd342230 100644 --- a/src/Billing/IBillingRoleAssignmentsOperations.cs +++ b/src/Billing/IBillingRoleAssignmentsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// BillingRoleAssignmentsOperations operations. diff --git a/src/Billing/IBillingRoleDefinitionsOperations.cs b/src/Billing/IBillingRoleDefinitionsOperations.cs index 6de9603a..fcc74f6f 100644 --- a/src/Billing/IBillingRoleDefinitionsOperations.cs +++ b/src/Billing/IBillingRoleDefinitionsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// BillingRoleDefinitionsOperations operations. diff --git a/src/Billing/IBillingSubscriptionsOperations.cs b/src/Billing/IBillingSubscriptionsOperations.cs index 6f0f5e80..155e807f 100644 --- a/src/Billing/IBillingSubscriptionsOperations.cs +++ b/src/Billing/IBillingSubscriptionsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// BillingSubscriptionsOperations operations. diff --git a/src/Billing/ICustomersOperations.cs b/src/Billing/ICustomersOperations.cs index 127391a1..ba6728d3 100644 --- a/src/Billing/ICustomersOperations.cs +++ b/src/Billing/ICustomersOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// CustomersOperations operations. diff --git a/src/Billing/IDepartmentsOperations.cs b/src/Billing/IDepartmentsOperations.cs index 7b74a2f0..3f52047c 100644 --- a/src/Billing/IDepartmentsOperations.cs +++ b/src/Billing/IDepartmentsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// DepartmentsOperations operations. diff --git a/src/Billing/IEnrollmentAccountsOperations.cs b/src/Billing/IEnrollmentAccountsOperations.cs index aa08f1bf..fbaaaf3a 100644 --- a/src/Billing/IEnrollmentAccountsOperations.cs +++ b/src/Billing/IEnrollmentAccountsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// EnrollmentAccountsOperations operations. diff --git a/src/Billing/IInvoiceSectionsOperations.cs b/src/Billing/IInvoiceSectionsOperations.cs index 6fe7878c..81784acb 100644 --- a/src/Billing/IInvoiceSectionsOperations.cs +++ b/src/Billing/IInvoiceSectionsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// InvoiceSectionsOperations operations. diff --git a/src/Billing/IInvoicesOperations.cs b/src/Billing/IInvoicesOperations.cs index 92881627..f508f784 100644 --- a/src/Billing/IInvoicesOperations.cs +++ b/src/Billing/IInvoicesOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// InvoicesOperations operations. diff --git a/src/Billing/ILineOfCreditsOperations.cs b/src/Billing/ILineOfCreditsOperations.cs index ba1c6ac5..598d58d7 100644 --- a/src/Billing/ILineOfCreditsOperations.cs +++ b/src/Billing/ILineOfCreditsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// LineOfCreditsOperations operations. diff --git a/src/Billing/IOperations.cs b/src/Billing/IOperations.cs index 7bbaf066..d7ee8f78 100644 --- a/src/Billing/IOperations.cs +++ b/src/Billing/IOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Operations operations. diff --git a/src/Billing/IPartnerTransfersOperations.cs b/src/Billing/IPartnerTransfersOperations.cs index 12424f27..4b87d74e 100644 --- a/src/Billing/IPartnerTransfersOperations.cs +++ b/src/Billing/IPartnerTransfersOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// PartnerTransfersOperations operations. diff --git a/src/Billing/IPartnerTransfersTransfersOperations.cs b/src/Billing/IPartnerTransfersTransfersOperations.cs index 257b8264..52b8b7be 100644 --- a/src/Billing/IPartnerTransfersTransfersOperations.cs +++ b/src/Billing/IPartnerTransfersTransfersOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// PartnerTransfersTransfersOperations operations. diff --git a/src/Billing/IPaymentMethodsOperations.cs b/src/Billing/IPaymentMethodsOperations.cs index ed7a123d..1400b593 100644 --- a/src/Billing/IPaymentMethodsOperations.cs +++ b/src/Billing/IPaymentMethodsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// PaymentMethodsOperations operations. diff --git a/src/Billing/IPoliciesOperations.cs b/src/Billing/IPoliciesOperations.cs index 63b1c823..2bc1480d 100644 --- a/src/Billing/IPoliciesOperations.cs +++ b/src/Billing/IPoliciesOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// PoliciesOperations operations. diff --git a/src/Billing/IPriceSheetOperations.cs b/src/Billing/IPriceSheetOperations.cs index d86f1058..178f405b 100644 --- a/src/Billing/IPriceSheetOperations.cs +++ b/src/Billing/IPriceSheetOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// PriceSheetOperations operations. diff --git a/src/Billing/IProductsOperations.cs b/src/Billing/IProductsOperations.cs index b6be7ff5..0bcf369f 100644 --- a/src/Billing/IProductsOperations.cs +++ b/src/Billing/IProductsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// ProductsOperations operations. diff --git a/src/Billing/IRecipientTransfersOperations.cs b/src/Billing/IRecipientTransfersOperations.cs index 814c7e69..f18dcd20 100644 --- a/src/Billing/IRecipientTransfersOperations.cs +++ b/src/Billing/IRecipientTransfersOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// RecipientTransfersOperations operations. diff --git a/src/Billing/ITransactionsOperations.cs b/src/Billing/ITransactionsOperations.cs index 6d4fe16f..78448a4c 100644 --- a/src/Billing/ITransactionsOperations.cs +++ b/src/Billing/ITransactionsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// TransactionsOperations operations. diff --git a/src/Billing/ITransfersOperations.cs b/src/Billing/ITransfersOperations.cs index 181fdf97..0e530a54 100644 --- a/src/Billing/ITransfersOperations.cs +++ b/src/Billing/ITransfersOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// TransfersOperations operations. diff --git a/src/Billing/InvoiceSectionsOperations.cs b/src/Billing/InvoiceSectionsOperations.cs index 94f8aeaf..3b59b570 100644 --- a/src/Billing/InvoiceSectionsOperations.cs +++ b/src/Billing/InvoiceSectionsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// InvoiceSectionsOperations operations. diff --git a/src/Billing/InvoiceSectionsOperationsExtensions.cs b/src/Billing/InvoiceSectionsOperationsExtensions.cs index 4052f585..f8e9ab62 100644 --- a/src/Billing/InvoiceSectionsOperationsExtensions.cs +++ b/src/Billing/InvoiceSectionsOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for InvoiceSectionsOperations. diff --git a/src/Billing/InvoicesOperations.cs b/src/Billing/InvoicesOperations.cs index bb2bcc5d..d85e01ba 100644 --- a/src/Billing/InvoicesOperations.cs +++ b/src/Billing/InvoicesOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// InvoicesOperations operations. diff --git a/src/Billing/InvoicesOperationsExtensions.cs b/src/Billing/InvoicesOperationsExtensions.cs index 550178ea..a081d094 100644 --- a/src/Billing/InvoicesOperationsExtensions.cs +++ b/src/Billing/InvoicesOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for InvoicesOperations. diff --git a/src/Billing/LineOfCreditsOperations.cs b/src/Billing/LineOfCreditsOperations.cs index 5a581ea7..361a4ed3 100644 --- a/src/Billing/LineOfCreditsOperations.cs +++ b/src/Billing/LineOfCreditsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// LineOfCreditsOperations operations. diff --git a/src/Billing/LineOfCreditsOperationsExtensions.cs b/src/Billing/LineOfCreditsOperationsExtensions.cs index 748cf35f..28f1ef87 100644 --- a/src/Billing/LineOfCreditsOperationsExtensions.cs +++ b/src/Billing/LineOfCreditsOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for LineOfCreditsOperations. diff --git a/src/Billing/Models/AcceptTransferRequest.cs b/src/Billing/Models/AcceptTransferRequest.cs index 551bc266..d204fd90 100644 --- a/src/Billing/Models/AcceptTransferRequest.cs +++ b/src/Billing/Models/AcceptTransferRequest.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Request parameters to accept transfer. diff --git a/src/Billing/Models/AddressDetails.cs b/src/Billing/Models/AddressDetails.cs index 82031e2a..456a4d02 100644 --- a/src/Billing/Models/AddressDetails.cs +++ b/src/Billing/Models/AddressDetails.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Address details. diff --git a/src/Billing/Models/Agreement.cs b/src/Billing/Models/Agreement.cs index f34d3e86..730cb796 100644 --- a/src/Billing/Models/Agreement.cs +++ b/src/Billing/Models/Agreement.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// An agreement resource. diff --git a/src/Billing/Models/AgreementListResult.cs b/src/Billing/Models/AgreementListResult.cs index a4ed7719..08a4166a 100644 --- a/src/Billing/Models/AgreementListResult.cs +++ b/src/Billing/Models/AgreementListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing agreements. diff --git a/src/Billing/Models/Amount.cs b/src/Billing/Models/Amount.cs index c82d4c30..cff89e0a 100644 --- a/src/Billing/Models/Amount.cs +++ b/src/Billing/Models/Amount.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The Amount. diff --git a/src/Billing/Models/AvailableBalance.cs b/src/Billing/Models/AvailableBalance.cs index a581f7ff..6ac159a6 100644 --- a/src/Billing/Models/AvailableBalance.cs +++ b/src/Billing/Models/AvailableBalance.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// Latest available balance on Monetary Credit PI. diff --git a/src/Billing/Models/AzurePlan.cs b/src/Billing/Models/AzurePlan.cs index 0c6c4ae3..32dc4f22 100644 --- a/src/Billing/Models/AzurePlan.cs +++ b/src/Billing/Models/AzurePlan.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Details about the azure plan. diff --git a/src/Billing/Models/BillingAccount.cs b/src/Billing/Models/BillingAccount.cs index b45f714a..47df9294 100644 --- a/src/Billing/Models/BillingAccount.cs +++ b/src/Billing/Models/BillingAccount.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// A billing account resource. diff --git a/src/Billing/Models/BillingAccountListResult.cs b/src/Billing/Models/BillingAccountListResult.cs index 5cc14b8c..5bb70236 100644 --- a/src/Billing/Models/BillingAccountListResult.cs +++ b/src/Billing/Models/BillingAccountListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing billing accounts. diff --git a/src/Billing/Models/BillingAccountUpdateRequest.cs b/src/Billing/Models/BillingAccountUpdateRequest.cs index 5caf62f1..a75cd436 100644 --- a/src/Billing/Models/BillingAccountUpdateRequest.cs +++ b/src/Billing/Models/BillingAccountUpdateRequest.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// The request properties of the billing account that can be updated. diff --git a/src/Billing/Models/BillingPermissionsListResult.cs b/src/Billing/Models/BillingPermissionsListResult.cs index a1408e2c..089f895c 100644 --- a/src/Billing/Models/BillingPermissionsListResult.cs +++ b/src/Billing/Models/BillingPermissionsListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of list billingPermissions a caller has on a billing account. diff --git a/src/Billing/Models/BillingPermissionsProperties.cs b/src/Billing/Models/BillingPermissionsProperties.cs index ecc35db6..e24b9c27 100644 --- a/src/Billing/Models/BillingPermissionsProperties.cs +++ b/src/Billing/Models/BillingPermissionsProperties.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// The set of allowed action and not allowed actions a caller has on a diff --git a/src/Billing/Models/BillingProfile.cs b/src/Billing/Models/BillingProfile.cs index dca0b543..e40a91aa 100644 --- a/src/Billing/Models/BillingProfile.cs +++ b/src/Billing/Models/BillingProfile.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// A billing profile resource. diff --git a/src/Billing/Models/BillingProfileCreationRequest.cs b/src/Billing/Models/BillingProfileCreationRequest.cs index 3286aade..02c3bbb6 100644 --- a/src/Billing/Models/BillingProfileCreationRequest.cs +++ b/src/Billing/Models/BillingProfileCreationRequest.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// The request parameters for creating a new billing profile. diff --git a/src/Billing/Models/BillingProfileListResult.cs b/src/Billing/Models/BillingProfileListResult.cs index 95ade353..a74b5070 100644 --- a/src/Billing/Models/BillingProfileListResult.cs +++ b/src/Billing/Models/BillingProfileListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing billing profiles. diff --git a/src/Billing/Models/BillingProfilesCreateHeaders.cs b/src/Billing/Models/BillingProfilesCreateHeaders.cs index c5888737..0198d37c 100644 --- a/src/Billing/Models/BillingProfilesCreateHeaders.cs +++ b/src/Billing/Models/BillingProfilesCreateHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Create operation. diff --git a/src/Billing/Models/BillingProfilesUpdateHeaders.cs b/src/Billing/Models/BillingProfilesUpdateHeaders.cs index dd7e5401..3bf267fd 100644 --- a/src/Billing/Models/BillingProfilesUpdateHeaders.cs +++ b/src/Billing/Models/BillingProfilesUpdateHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Update operation. diff --git a/src/Billing/Models/BillingProperty.cs b/src/Billing/Models/BillingProperty.cs index 088d0824..70d8af57 100644 --- a/src/Billing/Models/BillingProperty.cs +++ b/src/Billing/Models/BillingProperty.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// A billing property resource. diff --git a/src/Billing/Models/BillingRoleAssignment.cs b/src/Billing/Models/BillingRoleAssignment.cs index ba6ea255..d158c883 100644 --- a/src/Billing/Models/BillingRoleAssignment.cs +++ b/src/Billing/Models/BillingRoleAssignment.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// a role assignment diff --git a/src/Billing/Models/BillingRoleAssignmentListResult.cs b/src/Billing/Models/BillingRoleAssignmentListResult.cs index ed3d64dc..52575420 100644 --- a/src/Billing/Models/BillingRoleAssignmentListResult.cs +++ b/src/Billing/Models/BillingRoleAssignmentListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of get list of role assignments diff --git a/src/Billing/Models/BillingRoleAssignmentPayload.cs b/src/Billing/Models/BillingRoleAssignmentPayload.cs index 74d64a4a..17770fda 100644 --- a/src/Billing/Models/BillingRoleAssignmentPayload.cs +++ b/src/Billing/Models/BillingRoleAssignmentPayload.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The payload use to update role assignment on a scope diff --git a/src/Billing/Models/BillingRoleDefinition.cs b/src/Billing/Models/BillingRoleDefinition.cs index 1d8e57c0..14ef7a3b 100644 --- a/src/Billing/Models/BillingRoleDefinition.cs +++ b/src/Billing/Models/BillingRoleDefinition.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of get role definition for a role. diff --git a/src/Billing/Models/BillingRoleDefinitionListResult.cs b/src/Billing/Models/BillingRoleDefinitionListResult.cs index e2cc802f..eaf035ba 100644 --- a/src/Billing/Models/BillingRoleDefinitionListResult.cs +++ b/src/Billing/Models/BillingRoleDefinitionListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// list the role definitions. diff --git a/src/Billing/Models/BillingSubscription.cs b/src/Billing/Models/BillingSubscription.cs index 0d8e1dc1..8376d6ba 100644 --- a/src/Billing/Models/BillingSubscription.cs +++ b/src/Billing/Models/BillingSubscription.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// A billing Subscription resource. diff --git a/src/Billing/Models/BillingSubscriptionsListResult.cs b/src/Billing/Models/BillingSubscriptionsListResult.cs index 65f02e80..20533550 100644 --- a/src/Billing/Models/BillingSubscriptionsListResult.cs +++ b/src/Billing/Models/BillingSubscriptionsListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing billing subscriptions. diff --git a/src/Billing/Models/BillingSubscriptionsTransferHeaders.cs b/src/Billing/Models/BillingSubscriptionsTransferHeaders.cs index 253d7ba5..18c71819 100644 --- a/src/Billing/Models/BillingSubscriptionsTransferHeaders.cs +++ b/src/Billing/Models/BillingSubscriptionsTransferHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Transfer operation. diff --git a/src/Billing/Models/Customer.cs b/src/Billing/Models/Customer.cs index 89c7ab63..9a587523 100644 --- a/src/Billing/Models/Customer.cs +++ b/src/Billing/Models/Customer.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// A partner's customer. diff --git a/src/Billing/Models/CustomerPolicy.cs b/src/Billing/Models/CustomerPolicy.cs index 2102f397..2b7c76bb 100644 --- a/src/Billing/Models/CustomerPolicy.cs +++ b/src/Billing/Models/CustomerPolicy.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// The Customer's Policy. diff --git a/src/Billing/Models/Department.cs b/src/Billing/Models/Department.cs index 84bf3ae4..ea3aa0ce 100644 --- a/src/Billing/Models/Department.cs +++ b/src/Billing/Models/Department.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// A department resource. diff --git a/src/Billing/Models/DepartmentListResult.cs b/src/Billing/Models/DepartmentListResult.cs index c9395d6f..02c25ff5 100644 --- a/src/Billing/Models/DepartmentListResult.cs +++ b/src/Billing/Models/DepartmentListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing departments. diff --git a/src/Billing/Models/DetailedTransferStatus.cs b/src/Billing/Models/DetailedTransferStatus.cs index 05c4b113..6fb46e2c 100644 --- a/src/Billing/Models/DetailedTransferStatus.cs +++ b/src/Billing/Models/DetailedTransferStatus.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Detailed transfer status. diff --git a/src/Billing/Models/Document.cs b/src/Billing/Models/Document.cs index 36f973b7..a0c9c30e 100644 --- a/src/Billing/Models/Document.cs +++ b/src/Billing/Models/Document.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The properties of the invoice download. diff --git a/src/Billing/Models/DownloadUrl.cs b/src/Billing/Models/DownloadUrl.cs index c6ff0b1a..9fc1417d 100644 --- a/src/Billing/Models/DownloadUrl.cs +++ b/src/Billing/Models/DownloadUrl.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// A secure URL that can be used to download a an entity until the URL diff --git a/src/Billing/Models/Enrollment.cs b/src/Billing/Models/Enrollment.cs index ebe3c42e..6c001e95 100644 --- a/src/Billing/Models/Enrollment.cs +++ b/src/Billing/Models/Enrollment.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Current entity level details diff --git a/src/Billing/Models/EnrollmentAccount.cs b/src/Billing/Models/EnrollmentAccount.cs index e732dd38..147959c0 100644 --- a/src/Billing/Models/EnrollmentAccount.cs +++ b/src/Billing/Models/EnrollmentAccount.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// An account resource. diff --git a/src/Billing/Models/EnrollmentAccountContext.cs b/src/Billing/Models/EnrollmentAccountContext.cs index fc76a583..972027c6 100644 --- a/src/Billing/Models/EnrollmentAccountContext.cs +++ b/src/Billing/Models/EnrollmentAccountContext.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The rating context. diff --git a/src/Billing/Models/EnrollmentAccountListResult.cs b/src/Billing/Models/EnrollmentAccountListResult.cs index 6f15df45..44a88b6f 100644 --- a/src/Billing/Models/EnrollmentAccountListResult.cs +++ b/src/Billing/Models/EnrollmentAccountListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing enrollment accounts. diff --git a/src/Billing/Models/EnrollmentPolicies.cs b/src/Billing/Models/EnrollmentPolicies.cs index 622d4a2d..bfd588bb 100644 --- a/src/Billing/Models/EnrollmentPolicies.cs +++ b/src/Billing/Models/EnrollmentPolicies.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The attributes associated with legacy enrollment diff --git a/src/Billing/Models/Error.cs b/src/Billing/Models/Error.cs index f06f1ac8..81311020 100644 --- a/src/Billing/Models/Error.cs +++ b/src/Billing/Models/Error.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Error details for transfer execution. diff --git a/src/Billing/Models/ErrorDetails.cs b/src/Billing/Models/ErrorDetails.cs index 2abc90d1..9c348125 100644 --- a/src/Billing/Models/ErrorDetails.cs +++ b/src/Billing/Models/ErrorDetails.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The details of the error. diff --git a/src/Billing/Models/ErrorResponse.cs b/src/Billing/Models/ErrorResponse.cs index 6c39de5c..e5572ee1 100644 --- a/src/Billing/Models/ErrorResponse.cs +++ b/src/Billing/Models/ErrorResponse.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Error response indicates that the service is not able to process the diff --git a/src/Billing/Models/InitiateTransferRequest.cs b/src/Billing/Models/InitiateTransferRequest.cs index 00b98136..87d169d3 100644 --- a/src/Billing/Models/InitiateTransferRequest.cs +++ b/src/Billing/Models/InitiateTransferRequest.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// Request parameters to initiate transfer. diff --git a/src/Billing/Models/Invoice.cs b/src/Billing/Models/Invoice.cs index 21725e4d..192072b1 100644 --- a/src/Billing/Models/Invoice.cs +++ b/src/Billing/Models/Invoice.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// An invoice resource. diff --git a/src/Billing/Models/InvoiceListResult.cs b/src/Billing/Models/InvoiceListResult.cs index 29686c43..f2f24e15 100644 --- a/src/Billing/Models/InvoiceListResult.cs +++ b/src/Billing/Models/InvoiceListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing invoices. diff --git a/src/Billing/Models/InvoiceSection.cs b/src/Billing/Models/InvoiceSection.cs index 7d0e4e64..3b8c2bde 100644 --- a/src/Billing/Models/InvoiceSection.cs +++ b/src/Billing/Models/InvoiceSection.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// An InvoiceSection resource. diff --git a/src/Billing/Models/InvoiceSectionCreationRequest.cs b/src/Billing/Models/InvoiceSectionCreationRequest.cs index 63666bad..407c49d0 100644 --- a/src/Billing/Models/InvoiceSectionCreationRequest.cs +++ b/src/Billing/Models/InvoiceSectionCreationRequest.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The properties of an InvoiceSection. diff --git a/src/Billing/Models/InvoiceSectionListResult.cs b/src/Billing/Models/InvoiceSectionListResult.cs index f99662b1..33ddc0c3 100644 --- a/src/Billing/Models/InvoiceSectionListResult.cs +++ b/src/Billing/Models/InvoiceSectionListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing invoice sections. diff --git a/src/Billing/Models/InvoiceSectionWithCreateSubPermission.cs b/src/Billing/Models/InvoiceSectionWithCreateSubPermission.cs index bb5db3d7..527d5867 100644 --- a/src/Billing/Models/InvoiceSectionWithCreateSubPermission.cs +++ b/src/Billing/Models/InvoiceSectionWithCreateSubPermission.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Invoice section properties with create subscription permission. diff --git a/src/Billing/Models/InvoiceSectionsCreateHeaders.cs b/src/Billing/Models/InvoiceSectionsCreateHeaders.cs index 347073d3..29b6c1e2 100644 --- a/src/Billing/Models/InvoiceSectionsCreateHeaders.cs +++ b/src/Billing/Models/InvoiceSectionsCreateHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Create operation. diff --git a/src/Billing/Models/InvoiceSectionsUpdateHeaders.cs b/src/Billing/Models/InvoiceSectionsUpdateHeaders.cs index acf6515b..7d9b9b11 100644 --- a/src/Billing/Models/InvoiceSectionsUpdateHeaders.cs +++ b/src/Billing/Models/InvoiceSectionsUpdateHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Update operation. diff --git a/src/Billing/Models/LineOfCredit.cs b/src/Billing/Models/LineOfCredit.cs index 69722dbd..570f9c85 100644 --- a/src/Billing/Models/LineOfCredit.cs +++ b/src/Billing/Models/LineOfCredit.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// Line of credit resource. diff --git a/src/Billing/Models/LineOfCreditsUpdateHeaders.cs b/src/Billing/Models/LineOfCreditsUpdateHeaders.cs index 11328f17..6bd4b90b 100644 --- a/src/Billing/Models/LineOfCreditsUpdateHeaders.cs +++ b/src/Billing/Models/LineOfCreditsUpdateHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Update operation. diff --git a/src/Billing/Models/Operation.cs b/src/Billing/Models/Operation.cs index 20cb7d5a..650b26ca 100644 --- a/src/Billing/Models/Operation.cs +++ b/src/Billing/Models/Operation.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// A Billing REST API operation. diff --git a/src/Billing/Models/OperationDisplay.cs b/src/Billing/Models/OperationDisplay.cs index 41b4803e..51512f90 100644 --- a/src/Billing/Models/OperationDisplay.cs +++ b/src/Billing/Models/OperationDisplay.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The object that represents the operation. diff --git a/src/Billing/Models/Page.cs b/src/Billing/Models/Page.cs index 5f9ef03c..e810f6a1 100644 --- a/src/Billing/Models/Page.cs +++ b/src/Billing/Models/Page.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; /// /// Defines a page in Azure responses. diff --git a/src/Billing/Models/Participants.cs b/src/Billing/Models/Participants.cs index a5461b7c..95c6cec2 100644 --- a/src/Billing/Models/Participants.cs +++ b/src/Billing/Models/Participants.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Details about the participant or signer. diff --git a/src/Billing/Models/PaymentMethod.cs b/src/Billing/Models/PaymentMethod.cs index 02fb87d8..9707dc66 100644 --- a/src/Billing/Models/PaymentMethod.cs +++ b/src/Billing/Models/PaymentMethod.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// A payment method resource. diff --git a/src/Billing/Models/PaymentProperties.cs b/src/Billing/Models/PaymentProperties.cs index a11d333f..1e283e08 100644 --- a/src/Billing/Models/PaymentProperties.cs +++ b/src/Billing/Models/PaymentProperties.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The properties of the payment. diff --git a/src/Billing/Models/Policy.cs b/src/Billing/Models/Policy.cs index e402244f..64f0f9fd 100644 --- a/src/Billing/Models/Policy.cs +++ b/src/Billing/Models/Policy.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// The Policy. diff --git a/src/Billing/Models/PriceSheetDownloadByBillingProfileHeaders.cs b/src/Billing/Models/PriceSheetDownloadByBillingProfileHeaders.cs index 47a7dd2a..7ff5192a 100644 --- a/src/Billing/Models/PriceSheetDownloadByBillingProfileHeaders.cs +++ b/src/Billing/Models/PriceSheetDownloadByBillingProfileHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for DownloadByBillingProfile operation. diff --git a/src/Billing/Models/PriceSheetDownloadHeaders.cs b/src/Billing/Models/PriceSheetDownloadHeaders.cs index 29f758de..6a47086f 100644 --- a/src/Billing/Models/PriceSheetDownloadHeaders.cs +++ b/src/Billing/Models/PriceSheetDownloadHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Download operation. diff --git a/src/Billing/Models/Product.cs b/src/Billing/Models/Product.cs index 8303f5c9..833619b9 100644 --- a/src/Billing/Models/Product.cs +++ b/src/Billing/Models/Product.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// A product resource. diff --git a/src/Billing/Models/ProductDetails.cs b/src/Billing/Models/ProductDetails.cs index 2ee4ec23..687f274c 100644 --- a/src/Billing/Models/ProductDetails.cs +++ b/src/Billing/Models/ProductDetails.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Details of the product to be transferred. diff --git a/src/Billing/Models/ProductsListResult.cs b/src/Billing/Models/ProductsListResult.cs index 90a6ed7c..15c4fcf8 100644 --- a/src/Billing/Models/ProductsListResult.cs +++ b/src/Billing/Models/ProductsListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing products. It contains a list of available products diff --git a/src/Billing/Models/ProductsTransferHeaders.cs b/src/Billing/Models/ProductsTransferHeaders.cs index 2440f6d2..c2b26d84 100644 --- a/src/Billing/Models/ProductsTransferHeaders.cs +++ b/src/Billing/Models/ProductsTransferHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Transfer operation. diff --git a/src/Billing/Models/RecipientTransferDetails.cs b/src/Billing/Models/RecipientTransferDetails.cs index c4dddcb9..e3ef32c5 100644 --- a/src/Billing/Models/RecipientTransferDetails.cs +++ b/src/Billing/Models/RecipientTransferDetails.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Details of the transfer. diff --git a/src/Billing/Models/Reseller.cs b/src/Billing/Models/Reseller.cs index 5efc6c6f..e64e162a 100644 --- a/src/Billing/Models/Reseller.cs +++ b/src/Billing/Models/Reseller.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Details about a reseller. diff --git a/src/Billing/Models/Resource.cs b/src/Billing/Models/Resource.cs index b545457e..99bde2c2 100644 --- a/src/Billing/Models/Resource.cs +++ b/src/Billing/Models/Resource.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; using Microsoft.Rest.Azure; using Newtonsoft.Json; - using System.Linq; /// /// The Resource model definition. diff --git a/src/Billing/Models/Transaction.cs b/src/Billing/Models/Transaction.cs index 41adddc5..6a448ae1 100644 --- a/src/Billing/Models/Transaction.cs +++ b/src/Billing/Models/Transaction.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// A reservation transaction resource. diff --git a/src/Billing/Models/TransactionListResult.cs b/src/Billing/Models/TransactionListResult.cs index b38f7aa0..0ecbaca4 100644 --- a/src/Billing/Models/TransactionListResult.cs +++ b/src/Billing/Models/TransactionListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of listing reservation transactions. diff --git a/src/Billing/Models/TransferBillingSubscriptionRequest.cs b/src/Billing/Models/TransferBillingSubscriptionRequest.cs index caee5a03..b0dd67f9 100644 --- a/src/Billing/Models/TransferBillingSubscriptionRequest.cs +++ b/src/Billing/Models/TransferBillingSubscriptionRequest.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// Request parameters to transfer billing subscription. diff --git a/src/Billing/Models/TransferBillingSubscriptionRequestProperties.cs b/src/Billing/Models/TransferBillingSubscriptionRequestProperties.cs index c441d309..1008c235 100644 --- a/src/Billing/Models/TransferBillingSubscriptionRequestProperties.cs +++ b/src/Billing/Models/TransferBillingSubscriptionRequestProperties.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Request parameters to transfer billing subscription. diff --git a/src/Billing/Models/TransferBillingSubscriptionResult.cs b/src/Billing/Models/TransferBillingSubscriptionResult.cs index fb1f3255..e37251ba 100644 --- a/src/Billing/Models/TransferBillingSubscriptionResult.cs +++ b/src/Billing/Models/TransferBillingSubscriptionResult.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// Request parameters to transfer billing subscription. diff --git a/src/Billing/Models/TransferDetails.cs b/src/Billing/Models/TransferDetails.cs index 293d8056..fd301c94 100644 --- a/src/Billing/Models/TransferDetails.cs +++ b/src/Billing/Models/TransferDetails.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Details of the transfer. diff --git a/src/Billing/Models/TransferProductRequestProperties.cs b/src/Billing/Models/TransferProductRequestProperties.cs index 76f21e33..05248674 100644 --- a/src/Billing/Models/TransferProductRequestProperties.cs +++ b/src/Billing/Models/TransferProductRequestProperties.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The properties of the product to initiate a transfer. diff --git a/src/Billing/Models/UpdateAutoRenewOperation.cs b/src/Billing/Models/UpdateAutoRenewOperation.cs index d30e8175..f9c205e6 100644 --- a/src/Billing/Models/UpdateAutoRenewOperation.cs +++ b/src/Billing/Models/UpdateAutoRenewOperation.cs @@ -10,10 +10,7 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; using Newtonsoft.Json; - using System.Linq; /// /// Summary of cancel product operation diff --git a/src/Billing/Models/UpdateAutoRenewRequest.cs b/src/Billing/Models/UpdateAutoRenewRequest.cs index 40e406b5..ebf2f3ba 100644 --- a/src/Billing/Models/UpdateAutoRenewRequest.cs +++ b/src/Billing/Models/UpdateAutoRenewRequest.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Request parameters to update auto renew for support product. diff --git a/src/Billing/Models/ValidateAddressResponse.cs b/src/Billing/Models/ValidateAddressResponse.cs index 076c6728..d7342e33 100644 --- a/src/Billing/Models/ValidateAddressResponse.cs +++ b/src/Billing/Models/ValidateAddressResponse.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of the address validation diff --git a/src/Billing/Models/ValidateProductTransferEligibilityError.cs b/src/Billing/Models/ValidateProductTransferEligibilityError.cs index 6d06b5bc..8ea4324a 100644 --- a/src/Billing/Models/ValidateProductTransferEligibilityError.cs +++ b/src/Billing/Models/ValidateProductTransferEligibilityError.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Error details of the product transfer eligibility validation. diff --git a/src/Billing/Models/ValidateProductTransferEligibilityResult.cs b/src/Billing/Models/ValidateProductTransferEligibilityResult.cs index 20546dd7..5533b57c 100644 --- a/src/Billing/Models/ValidateProductTransferEligibilityResult.cs +++ b/src/Billing/Models/ValidateProductTransferEligibilityResult.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Result of the product transfer eligibility validation. diff --git a/src/Billing/Models/ValidateSubscriptionTransferEligibilityError.cs b/src/Billing/Models/ValidateSubscriptionTransferEligibilityError.cs index 93b4696e..a03c32db 100644 --- a/src/Billing/Models/ValidateSubscriptionTransferEligibilityError.cs +++ b/src/Billing/Models/ValidateSubscriptionTransferEligibilityError.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Error details of the transfer eligibility validation diff --git a/src/Billing/Models/ValidateSubscriptionTransferEligibilityResult.cs b/src/Billing/Models/ValidateSubscriptionTransferEligibilityResult.cs index d4674757..ae724800 100644 --- a/src/Billing/Models/ValidateSubscriptionTransferEligibilityResult.cs +++ b/src/Billing/Models/ValidateSubscriptionTransferEligibilityResult.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// Result of the transfer eligibility validation. diff --git a/src/Billing/Models/ValidateTransferListResponse.cs b/src/Billing/Models/ValidateTransferListResponse.cs index 3315764c..2f559f6e 100644 --- a/src/Billing/Models/ValidateTransferListResponse.cs +++ b/src/Billing/Models/ValidateTransferListResponse.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of transfer validation. diff --git a/src/Billing/Models/ValidateTransferResponse.cs b/src/Billing/Models/ValidateTransferResponse.cs index e5ff705c..10bf6bdb 100644 --- a/src/Billing/Models/ValidateTransferResponse.cs +++ b/src/Billing/Models/ValidateTransferResponse.cs @@ -10,12 +10,8 @@ namespace Microsoft.Azure.Management.Billing.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Transfer validation response. diff --git a/src/Billing/Models/ValidationResultProperties.cs b/src/Billing/Models/ValidationResultProperties.cs index 5f59a5f3..3476e92a 100644 --- a/src/Billing/Models/ValidationResultProperties.cs +++ b/src/Billing/Models/ValidationResultProperties.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Billing.Models { using Newtonsoft.Json; - using System.Linq; /// /// The properties of the validation result. diff --git a/src/Billing/Operations.cs b/src/Billing/Operations.cs index 1829ba0f..e7878216 100644 --- a/src/Billing/Operations.cs +++ b/src/Billing/Operations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// Operations operations. diff --git a/src/Billing/OperationsExtensions.cs b/src/Billing/OperationsExtensions.cs index b9095e52..0af6ff63 100644 --- a/src/Billing/OperationsExtensions.cs +++ b/src/Billing/OperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for Operations. diff --git a/src/Billing/PartnerTransfersOperations.cs b/src/Billing/PartnerTransfersOperations.cs index 84085899..7cce6a5b 100644 --- a/src/Billing/PartnerTransfersOperations.cs +++ b/src/Billing/PartnerTransfersOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// PartnerTransfersOperations operations. diff --git a/src/Billing/PartnerTransfersOperationsExtensions.cs b/src/Billing/PartnerTransfersOperationsExtensions.cs index 8860052a..2cac2fb3 100644 --- a/src/Billing/PartnerTransfersOperationsExtensions.cs +++ b/src/Billing/PartnerTransfersOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for PartnerTransfersOperations. diff --git a/src/Billing/PartnerTransfersTransfersOperations.cs b/src/Billing/PartnerTransfersTransfersOperations.cs index 76b9b237..3f6c8d51 100644 --- a/src/Billing/PartnerTransfersTransfersOperations.cs +++ b/src/Billing/PartnerTransfersTransfersOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// PartnerTransfersTransfersOperations operations. diff --git a/src/Billing/PartnerTransfersTransfersOperationsExtensions.cs b/src/Billing/PartnerTransfersTransfersOperationsExtensions.cs index 92744de0..41a25059 100644 --- a/src/Billing/PartnerTransfersTransfersOperationsExtensions.cs +++ b/src/Billing/PartnerTransfersTransfersOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for PartnerTransfersTransfersOperations. diff --git a/src/Billing/PaymentMethodsOperations.cs b/src/Billing/PaymentMethodsOperations.cs index 18d08218..ef5c35f1 100644 --- a/src/Billing/PaymentMethodsOperations.cs +++ b/src/Billing/PaymentMethodsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// PaymentMethodsOperations operations. diff --git a/src/Billing/PaymentMethodsOperationsExtensions.cs b/src/Billing/PaymentMethodsOperationsExtensions.cs index 8f13960e..5a03432a 100644 --- a/src/Billing/PaymentMethodsOperationsExtensions.cs +++ b/src/Billing/PaymentMethodsOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for PaymentMethodsOperations. diff --git a/src/Billing/PoliciesOperations.cs b/src/Billing/PoliciesOperations.cs index 5be8ce90..ef849de1 100644 --- a/src/Billing/PoliciesOperations.cs +++ b/src/Billing/PoliciesOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// PoliciesOperations operations. diff --git a/src/Billing/PoliciesOperationsExtensions.cs b/src/Billing/PoliciesOperationsExtensions.cs index 05364c6b..640d0301 100644 --- a/src/Billing/PoliciesOperationsExtensions.cs +++ b/src/Billing/PoliciesOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for PoliciesOperations. diff --git a/src/Billing/PriceSheetOperations.cs b/src/Billing/PriceSheetOperations.cs index 00f3eb5f..68a6d72f 100644 --- a/src/Billing/PriceSheetOperations.cs +++ b/src/Billing/PriceSheetOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// PriceSheetOperations operations. diff --git a/src/Billing/PriceSheetOperationsExtensions.cs b/src/Billing/PriceSheetOperationsExtensions.cs index a1be5f40..9d277e49 100644 --- a/src/Billing/PriceSheetOperationsExtensions.cs +++ b/src/Billing/PriceSheetOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for PriceSheetOperations. diff --git a/src/Billing/ProductsOperations.cs b/src/Billing/ProductsOperations.cs index 643da349..48a3f5c3 100644 --- a/src/Billing/ProductsOperations.cs +++ b/src/Billing/ProductsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// ProductsOperations operations. diff --git a/src/Billing/ProductsOperationsExtensions.cs b/src/Billing/ProductsOperationsExtensions.cs index d01234b0..47482515 100644 --- a/src/Billing/ProductsOperationsExtensions.cs +++ b/src/Billing/ProductsOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for ProductsOperations. diff --git a/src/Billing/RecipientTransfersOperations.cs b/src/Billing/RecipientTransfersOperations.cs index a37dd849..136103ad 100644 --- a/src/Billing/RecipientTransfersOperations.cs +++ b/src/Billing/RecipientTransfersOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// RecipientTransfersOperations operations. diff --git a/src/Billing/RecipientTransfersOperationsExtensions.cs b/src/Billing/RecipientTransfersOperationsExtensions.cs index f12f304a..dcdcc001 100644 --- a/src/Billing/RecipientTransfersOperationsExtensions.cs +++ b/src/Billing/RecipientTransfersOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for RecipientTransfersOperations. diff --git a/src/Billing/SdkInfo_BillingManagementClient.cs b/src/Billing/SdkInfo_BillingManagementClient.cs index 6696cc4f..d71c1e02 100644 --- a/src/Billing/SdkInfo_BillingManagementClient.cs +++ b/src/Billing/SdkInfo_BillingManagementClient.cs @@ -7,11 +7,11 @@ namespace Microsoft.Azure.Management.Billing { - using System; - using System.Collections.Generic; - using System.Linq; + using System; + using System.Collections.Generic; + using System.Linq; - internal static partial class SdkInfo + internal static partial class SdkInfo { public static IEnumerable> ApiInfo_BillingManagementClient { diff --git a/src/Billing/TransactionsOperations.cs b/src/Billing/TransactionsOperations.cs index 55c88222..7d8710ad 100644 --- a/src/Billing/TransactionsOperations.cs +++ b/src/Billing/TransactionsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// TransactionsOperations operations. diff --git a/src/Billing/TransactionsOperationsExtensions.cs b/src/Billing/TransactionsOperationsExtensions.cs index c94b794f..3a9f679f 100644 --- a/src/Billing/TransactionsOperationsExtensions.cs +++ b/src/Billing/TransactionsOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for TransactionsOperations. diff --git a/src/Billing/TransfersOperations.cs b/src/Billing/TransfersOperations.cs index 7a42f150..f2050bd3 100644 --- a/src/Billing/TransfersOperations.cs +++ b/src/Billing/TransfersOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// TransfersOperations operations. diff --git a/src/Billing/TransfersOperationsExtensions.cs b/src/Billing/TransfersOperationsExtensions.cs index 3b529a83..c95b7288 100644 --- a/src/Billing/TransfersOperationsExtensions.cs +++ b/src/Billing/TransfersOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Billing { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for TransfersOperations. diff --git a/src/PowerShell/Commands/GetPartnerUser.cs b/src/PowerShell/Commands/GetPartnerUser.cs index 12983769..e9be1542 100644 --- a/src/PowerShell/Commands/GetPartnerUser.cs +++ b/src/PowerShell/Commands/GetPartnerUser.cs @@ -5,8 +5,10 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands { using System.Collections.Generic; using System.Management.Automation; + using System.Threading.Tasks; using Graph; using Models.Authentication; + using Network; /// /// Command that gets partner level user accounts. @@ -32,27 +34,31 @@ public class GetPartnerUser : PartnerCmdlet /// public override void ExecuteCmdlet() { - IGraphServiceClient client = PartnerSession.Instance.ClientFactory.CreateGraphServiceClient(); + GraphServiceClient client = PartnerSession.Instance.ClientFactory.CreateGraphServiceClient() as GraphServiceClient; + client.AuthenticationProvider = new GraphAuthenticationProvider(); if (string.IsNullOrEmpty(UserId) && string.IsNullOrEmpty(UserPrincipalName)) { - IGraphServiceUsersCollectionPage data = client.Users.Request().GetAsync().ConfigureAwait(false).GetAwaiter().GetResult(); - List users = new List(data.CurrentPage); - - while (data.NextPageRequest != null) - { - data = data.NextPageRequest.GetAsync().ConfigureAwait(false).GetAwaiter().GetResult(); - users.AddRange(data.CurrentPage); - } - - WriteObject(users, true); + WriteObject(GetUsersAsync(client).ConfigureAwait(false).GetAwaiter().GetResult(), true); } else { - User user = client.Users[string.IsNullOrEmpty(UserPrincipalName) ? UserId : UserPrincipalName].Request().GetAsync().ConfigureAwait(false).GetAwaiter().GetResult(); + WriteObject(client.Users[string.IsNullOrEmpty(UserPrincipalName) ? UserId : UserPrincipalName].Request().GetAsync().ConfigureAwait(false).GetAwaiter().GetResult()); + } + } - WriteObject(user); + private async Task> GetUsersAsync(IGraphServiceClient client) + { + IGraphServiceUsersCollectionPage data = await client.Users.Request().GetAsync().ConfigureAwait(false); + List users = new List(data.CurrentPage); + + while (data.NextPageRequest != null) + { + data = await data.NextPageRequest.GetAsync().ConfigureAwait(false); + users.AddRange(data.CurrentPage); } + + return users; } } } \ No newline at end of file diff --git a/src/PowerShell/Commands/GetPartnerUserSignInActivity.cs b/src/PowerShell/Commands/GetPartnerUserSignInActivity.cs index 83fe39b0..d76daf1e 100644 --- a/src/PowerShell/Commands/GetPartnerUserSignInActivity.cs +++ b/src/PowerShell/Commands/GetPartnerUserSignInActivity.cs @@ -7,8 +7,10 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands using System.Collections.Generic; using System.Management.Automation; using System.Text.RegularExpressions; + using System.Threading.Tasks; using Graph; using Models.Authentication; + using Network; [Cmdlet(VerbsCommon.Get, "PartnerUserSignInActivity"), OutputType(typeof(SignIn))] public class GetPartnerUserSignInActivity : PartnerCmdlet @@ -37,8 +39,7 @@ public class GetPartnerUserSignInActivity : PartnerCmdlet /// public override void ExecuteCmdlet() { - List activities = new List(); - List queryOptions = null; + List activities; string filter = string.Empty; if (StartDate != null) @@ -56,6 +57,16 @@ public override void ExecuteCmdlet() filter = AppendValue(filter, $"userId eq '{UserId}'"); } + activities = GetSignInActivitiesAsync(filter).ConfigureAwait(false).GetAwaiter().GetResult(); + + WriteObject(activities, true); + } + + private async Task> GetSignInActivitiesAsync(string filter) + { + List activities; + List queryOptions = null; + if (!string.IsNullOrEmpty(filter)) { queryOptions = new List @@ -64,20 +75,21 @@ public override void ExecuteCmdlet() }; } - IGraphServiceClient client = PartnerSession.Instance.ClientFactory.CreateGraphServiceClient(); + GraphServiceClient client = PartnerSession.Instance.ClientFactory.CreateGraphServiceClient() as GraphServiceClient; + client.AuthenticationProvider = new GraphAuthenticationProvider(); - IAuditLogRootSignInsCollectionPage data = client - .AuditLogs.SignIns.Request(queryOptions).GetAsync().ConfigureAwait(false).GetAwaiter().GetResult(); + IAuditLogRootSignInsCollectionPage data = await client + .AuditLogs.SignIns.Request(queryOptions).GetAsync().ConfigureAwait(false); - activities.AddRange(data.CurrentPage); + activities = new List(data.CurrentPage); while (data.NextPageRequest != null) { - data = data.NextPageRequest.GetAsync().ConfigureAwait(false).GetAwaiter().GetResult(); + data = await data.NextPageRequest.GetAsync().ConfigureAwait(false); activities.AddRange(data.CurrentPage); } - WriteObject(data.CurrentPage, true); + return activities; } private static string AppendValue(string baseValue, string appendValue) diff --git a/src/PowerShell/Commands/PartnerPSCmdlet.cs b/src/PowerShell/Commands/PartnerPSCmdlet.cs index 2d90546f..39fce227 100644 --- a/src/PowerShell/Commands/PartnerPSCmdlet.cs +++ b/src/PowerShell/Commands/PartnerPSCmdlet.cs @@ -11,7 +11,9 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands using System.Reflection; using System.Threading; using Models.Authentication; + using Network; using Properties; + using Rest; /// /// Represents base class for the Partner Center PowerShell cmdlets. @@ -24,10 +26,15 @@ public abstract class PartnerPSCmdlet : PSCmdlet private const string BREAKING_CHANGE_ATTRIBUTE_INFORMATION_LINK = "https://aka.ms/partnercenterps-changewarnings"; /// - /// Provides a signal to that it should be canceled. + /// Provides a signal to that it should be canceled. /// private CancellationTokenSource cancellationSource; + /// + /// Provides the ability to log HTTP operations when the debug parameter is present. + /// + private RecordingTracingInterceptor httpTracingInterceptor; + /// /// Gets the cancellation token used to propagate a notification that operations should be canceled. /// @@ -43,6 +50,11 @@ protected override void BeginProcessing() cancellationSource = new CancellationTokenSource(); } + httpTracingInterceptor = httpTracingInterceptor ?? new RecordingTracingInterceptor(PartnerSession.Instance.DebugMessages); + + ServiceClientTracing.IsEnabled = true; + ServiceClientTracing.AddTracingInterceptor(httpTracingInterceptor); + ProcessBreakingChangeAttributesAtRuntime(GetType(), MyInvocation, WriteWarning); } @@ -61,6 +73,8 @@ protected override void EndProcessing() cancellationSource.Dispose(); cancellationSource = null; } + + ServiceClientTracing.RemoveTracingInterceptor(httpTracingInterceptor); } /// diff --git a/src/PowerShell/Factories/ClientFactory.cs b/src/PowerShell/Factories/ClientFactory.cs index 62ef91d2..8c54c1b5 100644 --- a/src/PowerShell/Factories/ClientFactory.cs +++ b/src/PowerShell/Factories/ClientFactory.cs @@ -21,6 +21,17 @@ public class ClientFactory : IClientFactory { private static readonly CancelRetryHandler DefaultCancelRetryHandler = new CancelRetryHandler(3, TimeSpan.FromSeconds(10)); + /// + /// The service client used to communicate with Microsoft Graph. + /// + private static readonly IGraphServiceClient GraphServiceClient = new GraphServiceClient(null, new HttpProvider(new CancelRetryHandler(3, TimeSpan.FromSeconds(10)) + { + InnerHandler = new RetryDelegatingHandler + { + InnerHandler = new HttpClientHandler() + } + }, false, null)); + /// /// The client used to perform HTTP operations. /// @@ -35,10 +46,10 @@ public class ClientFactory : IClientFactory /// /// Creates a new instance of the Microsoft Graph service client. /// - /// An instance of the class. + /// An instance of the class. public IGraphServiceClient CreateGraphServiceClient() { - return new GraphServiceClient(new GraphAuthenticationProvider()); + return GraphServiceClient; } /// diff --git a/src/PowerShell/Models/StreamEventArgs.cs b/src/PowerShell/Models/StreamEventArgs.cs deleted file mode 100644 index d6df6add..00000000 --- a/src/PowerShell/Models/StreamEventArgs.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -namespace Microsoft.Store.PartnerCenter.PowerShell.Models -{ - using System; - - public class StreamEventArgs : EventArgs - { - /// - /// The message to write to the corresponding stream. - /// - public string Message { get; set; } - } -} \ No newline at end of file diff --git a/src/PowerShell/Network/RecordingTracingInterceptor.cs b/src/PowerShell/Network/RecordingTracingInterceptor.cs new file mode 100644 index 00000000..ff974db2 --- /dev/null +++ b/src/PowerShell/Network/RecordingTracingInterceptor.cs @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.Store.PartnerCenter.PowerShell.Network +{ + using System; + using System.Collections.Concurrent; + using System.Collections.Generic; + using System.Net.Http; + using Rest; + + public class RecordingTracingInterceptor : IServiceClientTracingInterceptor + { + public RecordingTracingInterceptor(ConcurrentQueue queue) + { + MessageQueue = queue; + } + + public ConcurrentQueue MessageQueue { get; private set; } + + public void Configuration(string source, string name, string value) + { + } + + public void EnterMethod(string invocationId, object instance, string method, IDictionary parameters) + { + } + + public void ExitMethod(string invocationId, object returnValue) + { + } + + public void Information(string message) + { + MessageQueue.Enqueue(message); + } + + public void ReceiveResponse(string invocationId, HttpResponseMessage response) + { + } + + public void SendRequest(string invocationId, HttpRequestMessage request) + { + } + + public void TraceError(string invocationId, Exception exception) + { + } + } +} diff --git a/src/PowerShell/PartnerCenter.psd1 b/src/PowerShell/PartnerCenter.psd1 index de46ca24..969db722 100644 --- a/src/PowerShell/PartnerCenter.psd1 +++ b/src/PowerShell/PartnerCenter.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 11/14/2019 +# Generated on: 11/22/2019 # @{ @@ -11,7 +11,7 @@ RootModule = 'PartnerCenter.psm1' # Version number of this module. - ModuleVersion = '2.0.1911.4' + ModuleVersion = '2.0.1911.5' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' diff --git a/src/PowerShell/PowerShell.csproj b/src/PowerShell/PowerShell.csproj index 8b808d2a..63f8719b 100644 --- a/src/PowerShell/PowerShell.csproj +++ b/src/PowerShell/PowerShell.csproj @@ -18,7 +18,7 @@ false $(RepoArtifacts)$(Configuration)\ $(OutputPath) - 2.0.1911.4 + 2.0.1911.5 latest MIT @@ -30,6 +30,7 @@ + diff --git a/src/Subscription/ISubscriptionClient.cs b/src/Subscription/ISubscriptionClient.cs index 924c5965..e7ba1253 100644 --- a/src/Subscription/ISubscriptionClient.cs +++ b/src/Subscription/ISubscriptionClient.cs @@ -11,8 +11,6 @@ namespace Microsoft.Azure.Management.Subscription { using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using Newtonsoft.Json; /// diff --git a/src/Subscription/ISubscriptionFactoryOperations.cs b/src/Subscription/ISubscriptionFactoryOperations.cs index 7eb6e187..84712ff7 100644 --- a/src/Subscription/ISubscriptionFactoryOperations.cs +++ b/src/Subscription/ISubscriptionFactoryOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// SubscriptionFactoryOperations operations. diff --git a/src/Subscription/ISubscriptionOperationOperations.cs b/src/Subscription/ISubscriptionOperationOperations.cs index 60e72a69..72fc0414 100644 --- a/src/Subscription/ISubscriptionOperationOperations.cs +++ b/src/Subscription/ISubscriptionOperationOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// SubscriptionOperationOperations operations. diff --git a/src/Subscription/ISubscriptionsOperations.cs b/src/Subscription/ISubscriptionsOperations.cs index db652373..a60e80c1 100644 --- a/src/Subscription/ISubscriptionsOperations.cs +++ b/src/Subscription/ISubscriptionsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// SubscriptionsOperations operations. diff --git a/src/Subscription/ITenantsOperations.cs b/src/Subscription/ITenantsOperations.cs index c644814a..7659cdba 100644 --- a/src/Subscription/ITenantsOperations.cs +++ b/src/Subscription/ITenantsOperations.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// TenantsOperations operations. diff --git a/src/Subscription/Models/AdPrincipal.cs b/src/Subscription/Models/AdPrincipal.cs index 2912f4f6..e1e4b11d 100644 --- a/src/Subscription/Models/AdPrincipal.cs +++ b/src/Subscription/Models/AdPrincipal.cs @@ -12,7 +12,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Microsoft.Rest; using Newtonsoft.Json; - using System.Linq; /// /// Active Directory Principal who’ll get owner access on the new diff --git a/src/Subscription/Models/ErrorResponse.cs b/src/Subscription/Models/ErrorResponse.cs index 84d7c0e2..8a4e06c8 100644 --- a/src/Subscription/Models/ErrorResponse.cs +++ b/src/Subscription/Models/ErrorResponse.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// Describes the format of Error response. diff --git a/src/Subscription/Models/Location.cs b/src/Subscription/Models/Location.cs index da2f8289..975991b6 100644 --- a/src/Subscription/Models/Location.cs +++ b/src/Subscription/Models/Location.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// Location information. diff --git a/src/Subscription/Models/ModernCspSubscriptionCreationParameters.cs b/src/Subscription/Models/ModernCspSubscriptionCreationParameters.cs index 1186b398..52ac9e9f 100644 --- a/src/Subscription/Models/ModernCspSubscriptionCreationParameters.cs +++ b/src/Subscription/Models/ModernCspSubscriptionCreationParameters.cs @@ -12,7 +12,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Microsoft.Rest; using Newtonsoft.Json; - using System.Linq; /// /// The parameters required to create a new CSP subscription. diff --git a/src/Subscription/Models/ModernSubscriptionCreationParameters.cs b/src/Subscription/Models/ModernSubscriptionCreationParameters.cs index 19ae62c3..33c6ac24 100644 --- a/src/Subscription/Models/ModernSubscriptionCreationParameters.cs +++ b/src/Subscription/Models/ModernSubscriptionCreationParameters.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Subscription.Models { + using System.Collections.Generic; using Microsoft.Rest; using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; /// /// The parameters required to create a new subscription. diff --git a/src/Subscription/Models/Operation.cs b/src/Subscription/Models/Operation.cs index 6ff91e6a..dab6eb41 100644 --- a/src/Subscription/Models/Operation.cs +++ b/src/Subscription/Models/Operation.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// REST API operation diff --git a/src/Subscription/Models/OperationDisplay.cs b/src/Subscription/Models/OperationDisplay.cs index 22452725..0635675f 100644 --- a/src/Subscription/Models/OperationDisplay.cs +++ b/src/Subscription/Models/OperationDisplay.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// The object that represents the operation. diff --git a/src/Subscription/Models/OperationListResult.cs b/src/Subscription/Models/OperationListResult.cs index 22c1beb9..b7ec6954 100644 --- a/src/Subscription/Models/OperationListResult.cs +++ b/src/Subscription/Models/OperationListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Subscription.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// Result of the request to list operations. It contains a list of diff --git a/src/Subscription/Models/Page.cs b/src/Subscription/Models/Page.cs index b7b25914..8a0d4cc8 100644 --- a/src/Subscription/Models/Page.cs +++ b/src/Subscription/Models/Page.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Subscription.Models { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; /// /// Defines a page in Azure responses. diff --git a/src/Subscription/Models/Page1.cs b/src/Subscription/Models/Page1.cs index 9d88e45b..b0378e8e 100644 --- a/src/Subscription/Models/Page1.cs +++ b/src/Subscription/Models/Page1.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Subscription.Models { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; /// /// Defines a page in Azure responses. diff --git a/src/Subscription/Models/SpendingLimit.cs b/src/Subscription/Models/SpendingLimit.cs index b99c7dd6..8e39a448 100644 --- a/src/Subscription/Models/SpendingLimit.cs +++ b/src/Subscription/Models/SpendingLimit.cs @@ -10,10 +10,9 @@ namespace Microsoft.Azure.Management.Subscription.Models { + using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for SpendingLimit. diff --git a/src/Subscription/Models/SubscriptionCreationResult.cs b/src/Subscription/Models/SubscriptionCreationResult.cs index 9dc71957..c3b7c440 100644 --- a/src/Subscription/Models/SubscriptionCreationResult.cs +++ b/src/Subscription/Models/SubscriptionCreationResult.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// The created subscription object. diff --git a/src/Subscription/Models/SubscriptionFactoryCreateCspSubscriptionHeaders.cs b/src/Subscription/Models/SubscriptionFactoryCreateCspSubscriptionHeaders.cs index e7e1fab6..22ce15ce 100644 --- a/src/Subscription/Models/SubscriptionFactoryCreateCspSubscriptionHeaders.cs +++ b/src/Subscription/Models/SubscriptionFactoryCreateCspSubscriptionHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for CreateCspSubscription operation. diff --git a/src/Subscription/Models/SubscriptionFactoryCreateSubscriptionHeaders.cs b/src/Subscription/Models/SubscriptionFactoryCreateSubscriptionHeaders.cs index fa602c14..f8faff51 100644 --- a/src/Subscription/Models/SubscriptionFactoryCreateSubscriptionHeaders.cs +++ b/src/Subscription/Models/SubscriptionFactoryCreateSubscriptionHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for CreateSubscription operation. diff --git a/src/Subscription/Models/SubscriptionModel.cs b/src/Subscription/Models/SubscriptionModel.cs index 58b6ccf6..df989800 100644 --- a/src/Subscription/Models/SubscriptionModel.cs +++ b/src/Subscription/Models/SubscriptionModel.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// Subscription information. diff --git a/src/Subscription/Models/SubscriptionOperation.cs b/src/Subscription/Models/SubscriptionOperation.cs index 89b66c82..91384a2c 100644 --- a/src/Subscription/Models/SubscriptionOperation.cs +++ b/src/Subscription/Models/SubscriptionOperation.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// status of the subscription POST operation. diff --git a/src/Subscription/Models/SubscriptionOperationGetHeaders.cs b/src/Subscription/Models/SubscriptionOperationGetHeaders.cs index 085c7c43..90f09b63 100644 --- a/src/Subscription/Models/SubscriptionOperationGetHeaders.cs +++ b/src/Subscription/Models/SubscriptionOperationGetHeaders.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// Defines headers for Get operation. diff --git a/src/Subscription/Models/SubscriptionOperationListResult.cs b/src/Subscription/Models/SubscriptionOperationListResult.cs index 4dc7600e..c84a1e94 100644 --- a/src/Subscription/Models/SubscriptionOperationListResult.cs +++ b/src/Subscription/Models/SubscriptionOperationListResult.cs @@ -10,10 +10,8 @@ namespace Microsoft.Azure.Management.Subscription.Models { - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; - using System.Linq; + using Newtonsoft.Json; /// /// A list of pending subscription operations. diff --git a/src/Subscription/Models/SubscriptionPolicies.cs b/src/Subscription/Models/SubscriptionPolicies.cs index 78258171..941ae088 100644 --- a/src/Subscription/Models/SubscriptionPolicies.cs +++ b/src/Subscription/Models/SubscriptionPolicies.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// Subscription policies. diff --git a/src/Subscription/Models/SubscriptionState.cs b/src/Subscription/Models/SubscriptionState.cs index 155901fb..8f075920 100644 --- a/src/Subscription/Models/SubscriptionState.cs +++ b/src/Subscription/Models/SubscriptionState.cs @@ -10,10 +10,9 @@ namespace Microsoft.Azure.Management.Subscription.Models { + using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for SubscriptionState. diff --git a/src/Subscription/Models/TenantIdDescription.cs b/src/Subscription/Models/TenantIdDescription.cs index ad20b421..b40d6a73 100644 --- a/src/Subscription/Models/TenantIdDescription.cs +++ b/src/Subscription/Models/TenantIdDescription.cs @@ -11,7 +11,6 @@ namespace Microsoft.Azure.Management.Subscription.Models { using Newtonsoft.Json; - using System.Linq; /// /// Tenant Id information. diff --git a/src/Subscription/SdkInfo_SubscriptionClient.cs b/src/Subscription/SdkInfo_SubscriptionClient.cs index 445eeac7..4bc04a87 100644 --- a/src/Subscription/SdkInfo_SubscriptionClient.cs +++ b/src/Subscription/SdkInfo_SubscriptionClient.cs @@ -7,11 +7,11 @@ namespace Microsoft.Azure.Management.Subscription { - using System; - using System.Collections.Generic; - using System.Linq; + using System; + using System.Collections.Generic; + using System.Linq; - internal static partial class SdkInfo + internal static partial class SdkInfo { public static IEnumerable> ApiInfo_SubscriptionClient { diff --git a/src/Subscription/SubscriptionClient.cs b/src/Subscription/SubscriptionClient.cs index 598eeabf..b1acd27b 100644 --- a/src/Subscription/SubscriptionClient.cs +++ b/src/Subscription/SubscriptionClient.cs @@ -10,16 +10,12 @@ namespace Microsoft.Azure.Management.Subscription { + using System.Collections.Generic; + using System.Net.Http; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Serialization; - using Models; using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - using System.Net; - using System.Net.Http; /// /// The subscription client diff --git a/src/Subscription/SubscriptionFactoryOperations.cs b/src/Subscription/SubscriptionFactoryOperations.cs index 4105f84d..12413de4 100644 --- a/src/Subscription/SubscriptionFactoryOperations.cs +++ b/src/Subscription/SubscriptionFactoryOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// SubscriptionFactoryOperations operations. diff --git a/src/Subscription/SubscriptionFactoryOperationsExtensions.cs b/src/Subscription/SubscriptionFactoryOperationsExtensions.cs index b1191d49..4bf468dc 100644 --- a/src/Subscription/SubscriptionFactoryOperationsExtensions.cs +++ b/src/Subscription/SubscriptionFactoryOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for SubscriptionFactoryOperations. diff --git a/src/Subscription/SubscriptionOperationOperations.cs b/src/Subscription/SubscriptionOperationOperations.cs index 399db7ec..e35de144 100644 --- a/src/Subscription/SubscriptionOperationOperations.cs +++ b/src/Subscription/SubscriptionOperationOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// SubscriptionOperationOperations operations. diff --git a/src/Subscription/SubscriptionOperationOperationsExtensions.cs b/src/Subscription/SubscriptionOperationOperationsExtensions.cs index fc4d21ab..47432036 100644 --- a/src/Subscription/SubscriptionOperationOperationsExtensions.cs +++ b/src/Subscription/SubscriptionOperationOperationsExtensions.cs @@ -10,11 +10,9 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Models; /// /// Extension methods for SubscriptionOperationOperations. diff --git a/src/Subscription/SubscriptionsOperations.cs b/src/Subscription/SubscriptionsOperations.cs index df94b1e2..6f949ab7 100644 --- a/src/Subscription/SubscriptionsOperations.cs +++ b/src/Subscription/SubscriptionsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// SubscriptionsOperations operations. diff --git a/src/Subscription/SubscriptionsOperationsExtensions.cs b/src/Subscription/SubscriptionsOperationsExtensions.cs index 442d21e3..901f3a64 100644 --- a/src/Subscription/SubscriptionsOperationsExtensions.cs +++ b/src/Subscription/SubscriptionsOperationsExtensions.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for SubscriptionsOperations. diff --git a/src/Subscription/TenantsOperations.cs b/src/Subscription/TenantsOperations.cs index 69509b63..fdde4a5d 100644 --- a/src/Subscription/TenantsOperations.cs +++ b/src/Subscription/TenantsOperations.cs @@ -10,17 +10,16 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; /// /// TenantsOperations operations. diff --git a/src/Subscription/TenantsOperationsExtensions.cs b/src/Subscription/TenantsOperationsExtensions.cs index 36b8f3fb..c46ad0e4 100644 --- a/src/Subscription/TenantsOperationsExtensions.cs +++ b/src/Subscription/TenantsOperationsExtensions.cs @@ -10,11 +10,10 @@ namespace Microsoft.Azure.Management.Subscription { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; using System.Threading; using System.Threading.Tasks; + using Microsoft.Rest.Azure; + using Models; /// /// Extension methods for TenantsOperations. diff --git a/test/PowerShell.UnitTests/PowerShell.UnitTests.csproj b/test/PowerShell.UnitTests/PowerShell.UnitTests.csproj index 67ff119b..35396d31 100644 --- a/test/PowerShell.UnitTests/PowerShell.UnitTests.csproj +++ b/test/PowerShell.UnitTests/PowerShell.UnitTests.csproj @@ -7,14 +7,14 @@ false Microsoft.Store.PartnerCenter.PowerShell.UnitTests Microsoft.Store.PartnerCenter.PowerShell.UnitTests - 2.0.1911.3 + 2.0.1911.5 en-US MIT latest - +