From fe1ce1fabf1d7c1ad50fd8cee04cc92a561bae62 Mon Sep 17 00:00:00 2001 From: Isaiah Williams Date: Fri, 22 Nov 2019 12:20:23 -0600 Subject: [PATCH] User feature update (#195) --- .github/CODEOWNERS | 4 ++ ChangeLog.md | 6 +++ src/Billing/AddressOperations.cs | 9 ++-- src/Billing/AddressOperationsExtensions.cs | 4 +- src/Billing/AgreementsOperations.cs | 9 ++-- src/Billing/AgreementsOperationsExtensions.cs | 4 +- src/Billing/AvailableBalancesOperations.cs | 9 ++-- .../AvailableBalancesOperationsExtensions.cs | 4 +- src/Billing/BillingAccountsOperations.cs | 9 ++-- .../BillingAccountsOperationsExtensions.cs | 5 +- src/Billing/BillingManagementClient.cs | 8 +-- src/Billing/BillingPermissionsOperations.cs | 9 ++-- .../BillingPermissionsOperationsExtensions.cs | 4 +- src/Billing/BillingProfilesOperations.cs | 9 ++-- .../BillingProfilesOperationsExtensions.cs | 4 +- src/Billing/BillingPropertyOperations.cs | 9 ++-- .../BillingPropertyOperationsExtensions.cs | 4 +- .../BillingRoleAssignmentsOperations.cs | 9 ++-- ...lingRoleAssignmentsOperationsExtensions.cs | 4 +- .../BillingRoleDefinitionsOperations.cs | 9 ++-- ...lingRoleDefinitionsOperationsExtensions.cs | 4 +- src/Billing/BillingSubscriptionsOperations.cs | 9 ++-- ...illingSubscriptionsOperationsExtensions.cs | 5 +- src/Billing/CustomersOperations.cs | 9 ++-- src/Billing/CustomersOperationsExtensions.cs | 5 +- src/Billing/DepartmentsOperations.cs | 9 ++-- .../DepartmentsOperationsExtensions.cs | 4 +- src/Billing/EnrollmentAccountsOperations.cs | 9 ++-- .../EnrollmentAccountsOperationsExtensions.cs | 4 +- src/Billing/IAddressOperations.cs | 6 +-- src/Billing/IAgreementsOperations.cs | 6 +-- src/Billing/IAvailableBalancesOperations.cs | 6 +-- src/Billing/IBillingAccountsOperations.cs | 6 +-- src/Billing/IBillingManagementClient.cs | 2 - src/Billing/IBillingPermissionsOperations.cs | 6 +-- src/Billing/IBillingProfilesOperations.cs | 6 +-- src/Billing/IBillingPropertyOperations.cs | 6 +-- .../IBillingRoleAssignmentsOperations.cs | 6 +-- .../IBillingRoleDefinitionsOperations.cs | 6 +-- .../IBillingSubscriptionsOperations.cs | 6 +-- src/Billing/ICustomersOperations.cs | 6 +-- src/Billing/IDepartmentsOperations.cs | 6 +-- src/Billing/IEnrollmentAccountsOperations.cs | 6 +-- src/Billing/IInvoiceSectionsOperations.cs | 6 +-- src/Billing/IInvoicesOperations.cs | 6 +-- src/Billing/ILineOfCreditsOperations.cs | 6 +-- src/Billing/IOperations.cs | 6 +-- src/Billing/IPartnerTransfersOperations.cs | 6 +-- .../IPartnerTransfersTransfersOperations.cs | 6 +-- src/Billing/IPaymentMethodsOperations.cs | 6 +-- src/Billing/IPoliciesOperations.cs | 6 +-- src/Billing/IPriceSheetOperations.cs | 6 +-- src/Billing/IProductsOperations.cs | 6 +-- src/Billing/IRecipientTransfersOperations.cs | 6 +-- src/Billing/ITransactionsOperations.cs | 6 +-- src/Billing/ITransfersOperations.cs | 6 +-- src/Billing/InvoiceSectionsOperations.cs | 9 ++-- .../InvoiceSectionsOperationsExtensions.cs | 4 +- src/Billing/InvoicesOperations.cs | 9 ++-- src/Billing/InvoicesOperationsExtensions.cs | 4 +- src/Billing/LineOfCreditsOperations.cs | 9 ++-- .../LineOfCreditsOperationsExtensions.cs | 4 +- src/Billing/Models/AcceptTransferRequest.cs | 6 +-- src/Billing/Models/AddressDetails.cs | 1 - src/Billing/Models/Agreement.cs | 6 +-- src/Billing/Models/AgreementListResult.cs | 4 +- src/Billing/Models/Amount.cs | 1 - src/Billing/Models/AvailableBalance.cs | 3 -- src/Billing/Models/AzurePlan.cs | 1 - src/Billing/Models/BillingAccount.cs | 6 +-- .../Models/BillingAccountListResult.cs | 4 +- .../Models/BillingAccountUpdateRequest.cs | 6 +-- .../Models/BillingPermissionsListResult.cs | 4 +- .../Models/BillingPermissionsProperties.cs | 4 +- src/Billing/Models/BillingProfile.cs | 6 +-- .../Models/BillingProfileCreationRequest.cs | 4 +- .../Models/BillingProfileListResult.cs | 4 +- .../Models/BillingProfilesCreateHeaders.cs | 1 - .../Models/BillingProfilesUpdateHeaders.cs | 1 - src/Billing/Models/BillingProperty.cs | 3 -- src/Billing/Models/BillingRoleAssignment.cs | 3 -- .../Models/BillingRoleAssignmentListResult.cs | 4 +- .../Models/BillingRoleAssignmentPayload.cs | 1 - src/Billing/Models/BillingRoleDefinition.cs | 6 +-- .../Models/BillingRoleDefinitionListResult.cs | 4 +- src/Billing/Models/BillingSubscription.cs | 3 -- .../Models/BillingSubscriptionsListResult.cs | 4 +- .../BillingSubscriptionsTransferHeaders.cs | 1 - src/Billing/Models/Customer.cs | 6 +-- src/Billing/Models/CustomerPolicy.cs | 3 -- src/Billing/Models/Department.cs | 6 +-- src/Billing/Models/DepartmentListResult.cs | 4 +- src/Billing/Models/DetailedTransferStatus.cs | 1 - src/Billing/Models/Document.cs | 1 - src/Billing/Models/DownloadUrl.cs | 1 - src/Billing/Models/Enrollment.cs | 1 - src/Billing/Models/EnrollmentAccount.cs | 3 -- .../Models/EnrollmentAccountContext.cs | 1 - .../Models/EnrollmentAccountListResult.cs | 4 +- src/Billing/Models/EnrollmentPolicies.cs | 1 - src/Billing/Models/Error.cs | 1 - src/Billing/Models/ErrorDetails.cs | 1 - src/Billing/Models/ErrorResponse.cs | 1 - src/Billing/Models/InitiateTransferRequest.cs | 3 -- src/Billing/Models/Invoice.cs | 6 +-- src/Billing/Models/InvoiceListResult.cs | 4 +- src/Billing/Models/InvoiceSection.cs | 3 -- .../Models/InvoiceSectionCreationRequest.cs | 1 - .../Models/InvoiceSectionListResult.cs | 4 +- .../InvoiceSectionWithCreateSubPermission.cs | 4 +- .../Models/InvoiceSectionsCreateHeaders.cs | 1 - .../Models/InvoiceSectionsUpdateHeaders.cs | 1 - src/Billing/Models/LineOfCredit.cs | 3 -- .../Models/LineOfCreditsUpdateHeaders.cs | 1 - src/Billing/Models/Operation.cs | 1 - src/Billing/Models/OperationDisplay.cs | 1 - src/Billing/Models/Page.cs | 5 +- src/Billing/Models/Participants.cs | 1 - src/Billing/Models/PaymentMethod.cs | 3 -- src/Billing/Models/PaymentProperties.cs | 1 - src/Billing/Models/Policy.cs | 3 -- ...iceSheetDownloadByBillingProfileHeaders.cs | 1 - .../Models/PriceSheetDownloadHeaders.cs | 1 - src/Billing/Models/Product.cs | 3 -- src/Billing/Models/ProductDetails.cs | 1 - src/Billing/Models/ProductsListResult.cs | 4 +- src/Billing/Models/ProductsTransferHeaders.cs | 1 - .../Models/RecipientTransferDetails.cs | 6 +-- src/Billing/Models/Reseller.cs | 1 - src/Billing/Models/Resource.cs | 2 - src/Billing/Models/Transaction.cs | 3 -- src/Billing/Models/TransactionListResult.cs | 4 +- .../TransferBillingSubscriptionRequest.cs | 3 -- ...ferBillingSubscriptionRequestProperties.cs | 1 - .../TransferBillingSubscriptionResult.cs | 3 -- src/Billing/Models/TransferDetails.cs | 6 +-- .../TransferProductRequestProperties.cs | 1 - .../Models/UpdateAutoRenewOperation.cs | 3 -- src/Billing/Models/UpdateAutoRenewRequest.cs | 1 - src/Billing/Models/ValidateAddressResponse.cs | 4 +- ...ValidateProductTransferEligibilityError.cs | 1 - ...alidateProductTransferEligibilityResult.cs | 1 - ...ateSubscriptionTransferEligibilityError.cs | 1 - ...teSubscriptionTransferEligibilityResult.cs | 1 - .../Models/ValidateTransferListResponse.cs | 4 +- .../Models/ValidateTransferResponse.cs | 6 +-- .../Models/ValidationResultProperties.cs | 1 - src/Billing/Operations.cs | 9 ++-- src/Billing/OperationsExtensions.cs | 5 +- src/Billing/PartnerTransfersOperations.cs | 9 ++-- .../PartnerTransfersOperationsExtensions.cs | 4 +- .../PartnerTransfersTransfersOperations.cs | 9 ++-- ...rTransfersTransfersOperationsExtensions.cs | 5 +- src/Billing/PaymentMethodsOperations.cs | 9 ++-- .../PaymentMethodsOperationsExtensions.cs | 5 +- src/Billing/PoliciesOperations.cs | 9 ++-- src/Billing/PoliciesOperationsExtensions.cs | 4 +- src/Billing/PriceSheetOperations.cs | 9 ++-- src/Billing/PriceSheetOperationsExtensions.cs | 4 +- src/Billing/ProductsOperations.cs | 9 ++-- src/Billing/ProductsOperationsExtensions.cs | 5 +- src/Billing/RecipientTransfersOperations.cs | 9 ++-- .../RecipientTransfersOperationsExtensions.cs | 5 +- .../SdkInfo_BillingManagementClient.cs | 8 +-- src/Billing/TransactionsOperations.cs | 9 ++-- .../TransactionsOperationsExtensions.cs | 5 +- src/Billing/TransfersOperations.cs | 9 ++-- src/Billing/TransfersOperationsExtensions.cs | 5 +- src/PowerShell/Commands/GetPartnerUser.cs | 34 +++++++------ .../Commands/GetPartnerUserSignInActivity.cs | 28 ++++++++--- src/PowerShell/Commands/PartnerPSCmdlet.cs | 16 +++++- src/PowerShell/Factories/ClientFactory.cs | 15 +++++- src/PowerShell/Models/StreamEventArgs.cs | 15 ------ .../Network/RecordingTracingInterceptor.cs | 50 +++++++++++++++++++ src/PowerShell/PartnerCenter.psd1 | 4 +- src/PowerShell/PowerShell.csproj | 3 +- src/Subscription/ISubscriptionClient.cs | 2 - .../ISubscriptionFactoryOperations.cs | 6 +-- .../ISubscriptionOperationOperations.cs | 6 +-- src/Subscription/ISubscriptionsOperations.cs | 6 +-- src/Subscription/ITenantsOperations.cs | 6 +-- src/Subscription/Models/AdPrincipal.cs | 1 - src/Subscription/Models/ErrorResponse.cs | 1 - src/Subscription/Models/Location.cs | 1 - ...ModernCspSubscriptionCreationParameters.cs | 1 - .../ModernSubscriptionCreationParameters.cs | 4 +- src/Subscription/Models/Operation.cs | 1 - src/Subscription/Models/OperationDisplay.cs | 1 - .../Models/OperationListResult.cs | 4 +- src/Subscription/Models/Page.cs | 5 +- src/Subscription/Models/Page1.cs | 5 +- src/Subscription/Models/SpendingLimit.cs | 3 +- .../Models/SubscriptionCreationResult.cs | 1 - ...tionFactoryCreateCspSubscriptionHeaders.cs | 1 - ...riptionFactoryCreateSubscriptionHeaders.cs | 1 - src/Subscription/Models/SubscriptionModel.cs | 1 - .../Models/SubscriptionOperation.cs | 1 - .../Models/SubscriptionOperationGetHeaders.cs | 1 - .../Models/SubscriptionOperationListResult.cs | 4 +- .../Models/SubscriptionPolicies.cs | 1 - src/Subscription/Models/SubscriptionState.cs | 3 +- .../Models/TenantIdDescription.cs | 1 - .../SdkInfo_SubscriptionClient.cs | 8 +-- src/Subscription/SubscriptionClient.cs | 8 +-- .../SubscriptionFactoryOperations.cs | 9 ++-- ...SubscriptionFactoryOperationsExtensions.cs | 4 +- .../SubscriptionOperationOperations.cs | 9 ++-- ...bscriptionOperationOperationsExtensions.cs | 4 +- src/Subscription/SubscriptionsOperations.cs | 9 ++-- .../SubscriptionsOperationsExtensions.cs | 6 +-- src/Subscription/TenantsOperations.cs | 9 ++-- .../TenantsOperationsExtensions.cs | 5 +- .../PowerShell.UnitTests.csproj | 4 +- 213 files changed, 409 insertions(+), 667 deletions(-) create mode 100644 .github/CODEOWNERS delete mode 100644 src/PowerShell/Models/StreamEventArgs.cs create mode 100644 src/PowerShell/Network/RecordingTracingInterceptor.cs diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..8096d5e --- /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 731dcef..3cc6927 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 96b35c2..b3b4d6e 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 c0e8399..f53ee39 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 7857860..77b8199 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 459d373..19cb618 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 85e992f..8517d47 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 e1e1a59..c668842 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 7814f14..91696dc 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 3b10056..173bf55 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 ff06f40..286b475 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 f9a9f7b..fb044ad 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 1367a62..577b7bd 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 e5aec62..4918964 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 a38bc73..285e8ca 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 0182e34..33b279f 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 99b7476..4c39b8e 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 19d0ed2..bcf6d79 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 cb60a16..9ad4957 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 234b0dd..fa7c691 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 10e68be..59cbe68 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 4e333c2..13b7690 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 e4cc2f1..08b5144 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 f90de76..ad33a83 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 e047020..60c05c1 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 4861c76..89d8b4f 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 0f48123..8353796 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 2dbebd8..0e41bff 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 5d24fc6..da3d1f2 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 0497e1c..28eeef6 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 8857e68..cabef80 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 4afc7b3..0d272e0 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 7db9787..36e5a0a 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 171f2c1..272d131 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 13d471c..212df34 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 370ead8..8c17cc5 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 71374d3..46fc7aa 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 dfd967c..bd34223 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 6de9603..fcc74f6 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 6f0f5e8..155e807 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 127391a..ba6728d 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 7b74a2f..3f52047 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 aa08f1b..fbaaaf3 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 6fe7878..81784ac 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 9288162..f508f78 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 ba1c6ac..598d58d 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 7bbaf06..d7ee8f7 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 12424f2..4b87d74 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 257b826..52b8b7b 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 ed7a123..1400b59 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 63b1c82..2bc1480 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 d86f105..178f405 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 b6be7ff..0bcf369 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 814c7e6..f18dcd2 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 6d4fe16..78448a4 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 181fdf9..0e530a5 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 94f8aea..3b59b57 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 4052f58..f8e9ab6 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 bb2bcc5..d85e01b 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 550178e..a081d09 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 5a581ea..361a4ed 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 748cf35..28f1ef8 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 551bc26..d204fd9 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 82031e2..456a4d0 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 f34d3e8..730cb79 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 a4ed771..08a4166 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 c82d4c3..cff89e0 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 a581f7f..6ac159a 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 0c6c4ae..32dc4f2 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 b45f714..47df929 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 5cc14b8..5bb7023 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 5caf62f..a75cd43 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 a1408e2..089f895 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 ecc35db..e24b9c2 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 dca0b54..e40a91a 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 3286aad..02c3bbb 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 95ade35..a74b507 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 c588873..0198d37 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 dd7e540..3bf267f 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 088d082..70d8af5 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 ba6ea25..d158c88 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 ed3d64d..5257542 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 74d64a4..17770fd 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 1d8e57c..14ef7a3 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 e2cc802..eaf035b 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 0d8e1dc..8376d6b 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 65f02e8..2053355 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 253d7ba..18c7181 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 89c7ab6..9a58752 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 2102f39..2b7c76b 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 84bf3ae..ea3aa0c 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 c9395d6..02c25ff 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 05c4b11..6fb46e2 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 36f973b..a0c9c30 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 c6ff0b1..9fc1417 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 ebe3c42..6c001e9 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 e732dd3..147959c 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 fc76a58..972027c 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 6f15df4..44a88b6 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 622d4a2..bfd588b 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 f06f1ac..8131102 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 2abc90d..9c34812 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 6c39de5..e5572ee 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 00b9813..87d169d 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 21725e4..192072b 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 29686c4..f2f24e1 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 7d0e4e6..3b8c2bd 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 63666ba..407c49d 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 f99662b..33ddc0c 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 bb5db3d..527d586 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 347073d..29b6c1e 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 acf6515..7d9b9b1 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 69722db..570f9c8 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 11328f1..6bd4b90 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 20cb7d5..650b26c 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 41b4803..51512f9 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 5f9ef03..e810f6a 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 a5461b7..95c6cec 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 02fb87d..9707dc6 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 a11d333..1e283e0 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 e402244..64f0f9f 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 47a7dd2..7ff5192 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 29f758d..6a47086 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 8303f5c..833619b 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 2ee4ec2..687f274 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 90a6ed7..15c4fcf 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 2440f6d..c2b26d8 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 c4dddcb..e3ef32c 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 5efc6c6..e64e162 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 b545457..99bde2c 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 41adddc..6a448ae 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 b38f7aa..0ecbaca 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 caee5a0..b0dd67f 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 c441d30..1008c23 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 fb1f325..e37251b 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 293d805..fd301c9 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 76f21e3..0524867 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 d30e817..f9c205e 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 40e406b..ebf2f3b 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 076c672..d7342e3 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 6d06b5b..8ea4324 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 20546dd..5533b57 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 93b4696..a03c32d 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 d467475..ae72480 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 3315764..2f559f6 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 e5ff705..10bf6bd 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 5f59a5f..3476e92 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 1829ba0..e787821 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 b9095e5..0af6ff6 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 8408589..7cce6a5 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 8860052..2cac2fb 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 76b9b23..3f6c8d5 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 92744de..41a2505 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 18d0821..ef5c35f 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 8f13960..5a03432 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 5be8ce9..ef849de 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 05364c6..640d030 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 00f3eb5..68a6d72 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 a1be5f4..9d277e4 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 643da34..48a3f5c 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 d01234b..4748251 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 a37dd84..136103a 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 f12f304..dcdcc00 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 6696cc4..d71c1e0 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 55c8822..7d8710a 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 c94b794..3a9f679 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 7a42f15..f2050bd 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 3b529a8..c95b728 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 1298376..e9be154 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 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands /// 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(user); + WriteObject(client.Users[string.IsNullOrEmpty(UserPrincipalName) ? UserId : UserPrincipalName].Request().GetAsync().ConfigureAwait(false).GetAwaiter().GetResult()); } } + + 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 83fe39b..d76daf1 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 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands /// public override void ExecuteCmdlet() { - List activities = new List(); - List queryOptions = null; + List activities; string filter = string.Empty; if (StartDate != null) @@ -56,6 +57,16 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands 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 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands }; } - 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 2d90546..39fce22 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 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands 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 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands cancellationSource = new CancellationTokenSource(); } + httpTracingInterceptor = httpTracingInterceptor ?? new RecordingTracingInterceptor(PartnerSession.Instance.DebugMessages); + + ServiceClientTracing.IsEnabled = true; + ServiceClientTracing.AddTracingInterceptor(httpTracingInterceptor); + ProcessBreakingChangeAttributesAtRuntime(GetType(), MyInvocation, WriteWarning); } @@ -61,6 +73,8 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Commands cancellationSource.Dispose(); cancellationSource = null; } + + ServiceClientTracing.RemoveTracingInterceptor(httpTracingInterceptor); } /// diff --git a/src/PowerShell/Factories/ClientFactory.cs b/src/PowerShell/Factories/ClientFactory.cs index 62ef91d..8c54c1b 100644 --- a/src/PowerShell/Factories/ClientFactory.cs +++ b/src/PowerShell/Factories/ClientFactory.cs @@ -21,6 +21,17 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Factories { 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 @@ namespace Microsoft.Store.PartnerCenter.PowerShell.Factories /// /// 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 d6df6ad..0000000 --- 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 0000000..ff974db --- /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 de46ca2..969db72 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 8b808d2..63f8719 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 924c596..e7ba125 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 7eb6e18..84712ff 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 60e72a6..72fc041 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 db65237..a60e80c 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 c644814..7659cdb 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 2912f4f..e1e4b11 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 84d7c0e..8a4e06c 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 da2f828..975991b 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 1186b39..52ac9e9 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 19ae62c..33c6ac2 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 6ff91e6..dab6eb4 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 2245272..0635675 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 22c1beb..b7ec695 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 b7b2591..8a0d4cc 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 9d88e45..b0378e8 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 b99c7dd..8e39a44 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 9dc7195..c3b7c44 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 e7e1fab..22ce15c 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 fa602c1..f8faff5 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 58b6ccf..df98980 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 89b66c8..91384a2 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 085c7c4..90f09b6 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 4dc7600..c84a1e9 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 7825817..941ae08 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 155901f..8f07592 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 ad20b42..b40d6a7 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 445eeac..4bc04a8 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 598eeab..b1acd27 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 4105f84..12413de 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 b1191d4..4bf468d 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 399db7e..e35de14 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 fc4d21a..4743203 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 df94b1e..6f949ab 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 442d21e..901f3a6 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 69509b6..fdde4a5 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 36b8f3f..c46ad0e 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 67ff119..35396d3 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 - +