@azure/arm-billing 5.0.1-alpha.20250619.1 → 5.0.1-alpha.20250730.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/billingManagementClient.js +43 -5
- package/dist/browser/billingManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +868 -393
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/address.js +1 -0
- package/dist/browser/operations/address.js.map +1 -1
- package/dist/browser/operations/agreements.js +23 -40
- package/dist/browser/operations/agreements.js.map +1 -1
- package/dist/browser/operations/associatedTenants.js +45 -52
- package/dist/browser/operations/associatedTenants.js.map +1 -1
- package/dist/browser/operations/availableBalances.js +1 -0
- package/dist/browser/operations/availableBalances.js.map +1 -1
- package/dist/browser/operations/billingAccounts.js +79 -98
- package/dist/browser/operations/billingAccounts.js.map +1 -1
- package/dist/browser/operations/billingPermissions.js +162 -281
- package/dist/browser/operations/billingPermissions.js.map +1 -1
- package/dist/browser/operations/billingProfiles.js +45 -52
- package/dist/browser/operations/billingProfiles.js.map +1 -1
- package/dist/browser/operations/billingPropertyOperations.js +1 -0
- package/dist/browser/operations/billingPropertyOperations.js.map +1 -1
- package/dist/browser/operations/billingRequests.js +122 -202
- package/dist/browser/operations/billingRequests.js.map +1 -1
- package/dist/browser/operations/billingRoleAssignments.js +260 -307
- package/dist/browser/operations/billingRoleAssignments.js.map +1 -1
- package/dist/browser/operations/billingRoleDefinitionOperations.js +139 -241
- package/dist/browser/operations/billingRoleDefinitionOperations.js.map +1 -1
- package/dist/browser/operations/billingSubscriptions.js +199 -271
- package/dist/browser/operations/billingSubscriptions.js.map +1 -1
- package/dist/browser/operations/billingSubscriptionsAliases.js +34 -46
- package/dist/browser/operations/billingSubscriptionsAliases.js.map +1 -1
- package/dist/browser/operations/customers.js +45 -79
- package/dist/browser/operations/customers.js.map +1 -1
- package/dist/browser/operations/departments.js +23 -40
- package/dist/browser/operations/departments.js.map +1 -1
- package/dist/browser/operations/enrollmentAccounts.js +45 -79
- package/dist/browser/operations/enrollmentAccounts.js.map +1 -1
- package/dist/browser/operations/invoiceSections.js +45 -52
- package/dist/browser/operations/invoiceSections.js.map +1 -1
- package/dist/browser/operations/invoices.js +133 -154
- package/dist/browser/operations/invoices.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/partnerTransfers.js +23 -40
- package/dist/browser/operations/partnerTransfers.js.map +1 -1
- package/dist/browser/operations/paymentMethods.js +67 -118
- package/dist/browser/operations/paymentMethods.js.map +1 -1
- package/dist/browser/operations/policies.js +45 -24
- package/dist/browser/operations/policies.js.map +1 -1
- package/dist/browser/operations/products.js +100 -163
- package/dist/browser/operations/products.js.map +1 -1
- package/dist/browser/operations/recipientTransfers.js +23 -40
- package/dist/browser/operations/recipientTransfers.js.map +1 -1
- package/dist/browser/operations/reservationOrders.js +23 -40
- package/dist/browser/operations/reservationOrders.js.map +1 -1
- package/dist/browser/operations/reservations.js +78 -124
- package/dist/browser/operations/reservations.js.map +1 -1
- package/dist/browser/operations/savingsPlanOrders.js +23 -40
- package/dist/browser/operations/savingsPlanOrders.js.map +1 -1
- package/dist/browser/operations/savingsPlans.js +56 -85
- package/dist/browser/operations/savingsPlans.js.map +1 -1
- package/dist/browser/operations/transactions.js +100 -163
- package/dist/browser/operations/transactions.js.map +1 -1
- package/dist/browser/operations/transfers.js +23 -40
- package/dist/browser/operations/transfers.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/billingManagementClient.js +43 -5
- package/dist/commonjs/billingManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +868 -393
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/address.js +1 -0
- package/dist/commonjs/operations/address.js.map +1 -1
- package/dist/commonjs/operations/agreements.js +23 -39
- package/dist/commonjs/operations/agreements.js.map +1 -1
- package/dist/commonjs/operations/associatedTenants.js +45 -51
- package/dist/commonjs/operations/associatedTenants.js.map +1 -1
- package/dist/commonjs/operations/availableBalances.js +1 -0
- package/dist/commonjs/operations/availableBalances.js.map +1 -1
- package/dist/commonjs/operations/billingAccounts.js +79 -97
- package/dist/commonjs/operations/billingAccounts.js.map +1 -1
- package/dist/commonjs/operations/billingPermissions.js +155 -273
- package/dist/commonjs/operations/billingPermissions.js.map +1 -1
- package/dist/commonjs/operations/billingProfiles.js +45 -51
- package/dist/commonjs/operations/billingProfiles.js.map +1 -1
- package/dist/commonjs/operations/billingPropertyOperations.js +1 -0
- package/dist/commonjs/operations/billingPropertyOperations.js.map +1 -1
- package/dist/commonjs/operations/billingRequests.js +122 -201
- package/dist/commonjs/operations/billingRequests.js.map +1 -1
- package/dist/commonjs/operations/billingRoleAssignments.js +260 -306
- package/dist/commonjs/operations/billingRoleAssignments.js.map +1 -1
- package/dist/commonjs/operations/billingRoleDefinitionOperations.js +139 -240
- package/dist/commonjs/operations/billingRoleDefinitionOperations.js.map +1 -1
- package/dist/commonjs/operations/billingSubscriptions.js +199 -270
- package/dist/commonjs/operations/billingSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/billingSubscriptionsAliases.js +34 -45
- package/dist/commonjs/operations/billingSubscriptionsAliases.js.map +1 -1
- package/dist/commonjs/operations/customers.js +45 -78
- package/dist/commonjs/operations/customers.js.map +1 -1
- package/dist/commonjs/operations/departments.js +23 -39
- package/dist/commonjs/operations/departments.js.map +1 -1
- package/dist/commonjs/operations/enrollmentAccounts.js +45 -78
- package/dist/commonjs/operations/enrollmentAccounts.js.map +1 -1
- package/dist/commonjs/operations/invoiceSections.js +45 -51
- package/dist/commonjs/operations/invoiceSections.js.map +1 -1
- package/dist/commonjs/operations/invoices.js +133 -153
- package/dist/commonjs/operations/invoices.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/partnerTransfers.js +23 -39
- package/dist/commonjs/operations/partnerTransfers.js.map +1 -1
- package/dist/commonjs/operations/paymentMethods.js +67 -117
- package/dist/commonjs/operations/paymentMethods.js.map +1 -1
- package/dist/commonjs/operations/policies.js +45 -24
- package/dist/commonjs/operations/policies.js.map +1 -1
- package/dist/commonjs/operations/products.js +100 -162
- package/dist/commonjs/operations/products.js.map +1 -1
- package/dist/commonjs/operations/recipientTransfers.js +23 -39
- package/dist/commonjs/operations/recipientTransfers.js.map +1 -1
- package/dist/commonjs/operations/reservationOrders.js +23 -39
- package/dist/commonjs/operations/reservationOrders.js.map +1 -1
- package/dist/commonjs/operations/reservations.js +78 -123
- package/dist/commonjs/operations/reservations.js.map +1 -1
- package/dist/commonjs/operations/savingsPlanOrders.js +23 -39
- package/dist/commonjs/operations/savingsPlanOrders.js.map +1 -1
- package/dist/commonjs/operations/savingsPlans.js +56 -84
- package/dist/commonjs/operations/savingsPlans.js.map +1 -1
- package/dist/commonjs/operations/transactions.js +100 -162
- package/dist/commonjs/operations/transactions.js.map +1 -1
- package/dist/commonjs/operations/transfers.js +23 -39
- package/dist/commonjs/operations/transfers.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/billingManagementClient.js +43 -5
- package/dist/esm/billingManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +868 -393
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/address.js +1 -0
- package/dist/esm/operations/address.js.map +1 -1
- package/dist/esm/operations/agreements.js +23 -40
- package/dist/esm/operations/agreements.js.map +1 -1
- package/dist/esm/operations/associatedTenants.js +45 -52
- package/dist/esm/operations/associatedTenants.js.map +1 -1
- package/dist/esm/operations/availableBalances.js +1 -0
- package/dist/esm/operations/availableBalances.js.map +1 -1
- package/dist/esm/operations/billingAccounts.js +79 -98
- package/dist/esm/operations/billingAccounts.js.map +1 -1
- package/dist/esm/operations/billingPermissions.js +162 -281
- package/dist/esm/operations/billingPermissions.js.map +1 -1
- package/dist/esm/operations/billingProfiles.js +45 -52
- package/dist/esm/operations/billingProfiles.js.map +1 -1
- package/dist/esm/operations/billingPropertyOperations.js +1 -0
- package/dist/esm/operations/billingPropertyOperations.js.map +1 -1
- package/dist/esm/operations/billingRequests.js +122 -202
- package/dist/esm/operations/billingRequests.js.map +1 -1
- package/dist/esm/operations/billingRoleAssignments.js +260 -307
- package/dist/esm/operations/billingRoleAssignments.js.map +1 -1
- package/dist/esm/operations/billingRoleDefinitionOperations.js +139 -241
- package/dist/esm/operations/billingRoleDefinitionOperations.js.map +1 -1
- package/dist/esm/operations/billingSubscriptions.js +199 -271
- package/dist/esm/operations/billingSubscriptions.js.map +1 -1
- package/dist/esm/operations/billingSubscriptionsAliases.js +34 -46
- package/dist/esm/operations/billingSubscriptionsAliases.js.map +1 -1
- package/dist/esm/operations/customers.js +45 -79
- package/dist/esm/operations/customers.js.map +1 -1
- package/dist/esm/operations/departments.js +23 -40
- package/dist/esm/operations/departments.js.map +1 -1
- package/dist/esm/operations/enrollmentAccounts.js +45 -79
- package/dist/esm/operations/enrollmentAccounts.js.map +1 -1
- package/dist/esm/operations/invoiceSections.js +45 -52
- package/dist/esm/operations/invoiceSections.js.map +1 -1
- package/dist/esm/operations/invoices.js +133 -154
- package/dist/esm/operations/invoices.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/partnerTransfers.js +23 -40
- package/dist/esm/operations/partnerTransfers.js.map +1 -1
- package/dist/esm/operations/paymentMethods.js +67 -118
- package/dist/esm/operations/paymentMethods.js.map +1 -1
- package/dist/esm/operations/policies.js +45 -24
- package/dist/esm/operations/policies.js.map +1 -1
- package/dist/esm/operations/products.js +100 -163
- package/dist/esm/operations/products.js.map +1 -1
- package/dist/esm/operations/recipientTransfers.js +23 -40
- package/dist/esm/operations/recipientTransfers.js.map +1 -1
- package/dist/esm/operations/reservationOrders.js +23 -40
- package/dist/esm/operations/reservationOrders.js.map +1 -1
- package/dist/esm/operations/reservations.js +78 -124
- package/dist/esm/operations/reservations.js.map +1 -1
- package/dist/esm/operations/savingsPlanOrders.js +23 -40
- package/dist/esm/operations/savingsPlanOrders.js.map +1 -1
- package/dist/esm/operations/savingsPlans.js +56 -85
- package/dist/esm/operations/savingsPlans.js.map +1 -1
- package/dist/esm/operations/transactions.js +100 -163
- package/dist/esm/operations/transactions.js.map +1 -1
- package/dist/esm/operations/transfers.js +23 -40
- package/dist/esm/operations/transfers.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/billingManagementClient.js +43 -5
- package/dist/react-native/billingManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +868 -393
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/address.js +1 -0
- package/dist/react-native/operations/address.js.map +1 -1
- package/dist/react-native/operations/agreements.js +23 -40
- package/dist/react-native/operations/agreements.js.map +1 -1
- package/dist/react-native/operations/associatedTenants.js +45 -52
- package/dist/react-native/operations/associatedTenants.js.map +1 -1
- package/dist/react-native/operations/availableBalances.js +1 -0
- package/dist/react-native/operations/availableBalances.js.map +1 -1
- package/dist/react-native/operations/billingAccounts.js +79 -98
- package/dist/react-native/operations/billingAccounts.js.map +1 -1
- package/dist/react-native/operations/billingPermissions.js +162 -281
- package/dist/react-native/operations/billingPermissions.js.map +1 -1
- package/dist/react-native/operations/billingProfiles.js +45 -52
- package/dist/react-native/operations/billingProfiles.js.map +1 -1
- package/dist/react-native/operations/billingPropertyOperations.js +1 -0
- package/dist/react-native/operations/billingPropertyOperations.js.map +1 -1
- package/dist/react-native/operations/billingRequests.js +122 -202
- package/dist/react-native/operations/billingRequests.js.map +1 -1
- package/dist/react-native/operations/billingRoleAssignments.js +260 -307
- package/dist/react-native/operations/billingRoleAssignments.js.map +1 -1
- package/dist/react-native/operations/billingRoleDefinitionOperations.js +139 -241
- package/dist/react-native/operations/billingRoleDefinitionOperations.js.map +1 -1
- package/dist/react-native/operations/billingSubscriptions.js +199 -271
- package/dist/react-native/operations/billingSubscriptions.js.map +1 -1
- package/dist/react-native/operations/billingSubscriptionsAliases.js +34 -46
- package/dist/react-native/operations/billingSubscriptionsAliases.js.map +1 -1
- package/dist/react-native/operations/customers.js +45 -79
- package/dist/react-native/operations/customers.js.map +1 -1
- package/dist/react-native/operations/departments.js +23 -40
- package/dist/react-native/operations/departments.js.map +1 -1
- package/dist/react-native/operations/enrollmentAccounts.js +45 -79
- package/dist/react-native/operations/enrollmentAccounts.js.map +1 -1
- package/dist/react-native/operations/invoiceSections.js +45 -52
- package/dist/react-native/operations/invoiceSections.js.map +1 -1
- package/dist/react-native/operations/invoices.js +133 -154
- package/dist/react-native/operations/invoices.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/partnerTransfers.js +23 -40
- package/dist/react-native/operations/partnerTransfers.js.map +1 -1
- package/dist/react-native/operations/paymentMethods.js +67 -118
- package/dist/react-native/operations/paymentMethods.js.map +1 -1
- package/dist/react-native/operations/policies.js +45 -24
- package/dist/react-native/operations/policies.js.map +1 -1
- package/dist/react-native/operations/products.js +100 -163
- package/dist/react-native/operations/products.js.map +1 -1
- package/dist/react-native/operations/recipientTransfers.js +23 -40
- package/dist/react-native/operations/recipientTransfers.js.map +1 -1
- package/dist/react-native/operations/reservationOrders.js +23 -40
- package/dist/react-native/operations/reservationOrders.js.map +1 -1
- package/dist/react-native/operations/reservations.js +78 -124
- package/dist/react-native/operations/reservations.js.map +1 -1
- package/dist/react-native/operations/savingsPlanOrders.js +23 -40
- package/dist/react-native/operations/savingsPlanOrders.js.map +1 -1
- package/dist/react-native/operations/savingsPlans.js +56 -85
- package/dist/react-native/operations/savingsPlans.js.map +1 -1
- package/dist/react-native/operations/transactions.js +100 -163
- package/dist/react-native/operations/transactions.js.map +1 -1
- package/dist/react-native/operations/transfers.js +23 -40
- package/dist/react-native/operations/transfers.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-billing.api.md → arm-billing-node.api.md} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billingSubscriptions.js","sourceRoot":"","sources":["../../../src/operations/billingSubscriptions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAoD9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAa,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,oBAAoB,CACzB,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,6BAA6B,CAC7C,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAA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AA6B;IACzE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,qBAAqB;QAChC,UAAU,CAAC,mBAAmB;KAC/B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { BillingSubscriptions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BillingManagementClient } from \"../billingManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n BillingSubscription,\n BillingSubscriptionsListByBillingProfileNextOptionalParams,\n BillingSubscriptionsListByBillingProfileOptionalParams,\n BillingSubscriptionsListByBillingProfileResponse,\n BillingSubscriptionsListByCustomerNextOptionalParams,\n BillingSubscriptionsListByCustomerOptionalParams,\n BillingSubscriptionsListByCustomerResponse,\n BillingSubscriptionsListByInvoiceSectionNextOptionalParams,\n BillingSubscriptionsListByInvoiceSectionOptionalParams,\n BillingSubscriptionsListByInvoiceSectionResponse,\n BillingSubscriptionsListByBillingAccountNextOptionalParams,\n BillingSubscriptionsListByBillingAccountOptionalParams,\n BillingSubscriptionsListByBillingAccountResponse,\n BillingSubscriptionsListByCustomerAtBillingAccountNextOptionalParams,\n BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n BillingSubscriptionsListByCustomerAtBillingAccountResponse,\n BillingSubscriptionsListByEnrollmentAccountNextOptionalParams,\n BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n BillingSubscriptionsListByEnrollmentAccountResponse,\n BillingSubscriptionsGetByBillingProfileOptionalParams,\n BillingSubscriptionsGetByBillingProfileResponse,\n CancelSubscriptionRequest,\n BillingSubscriptionsCancelOptionalParams,\n BillingSubscriptionsCancelResponse,\n BillingSubscriptionMergeRequest,\n BillingSubscriptionsMergeOptionalParams,\n BillingSubscriptionsMergeResponse,\n MoveBillingSubscriptionRequest,\n BillingSubscriptionsMoveOptionalParams,\n BillingSubscriptionsMoveResponse,\n BillingSubscriptionSplitRequest,\n BillingSubscriptionsSplitOptionalParams,\n BillingSubscriptionsSplitResponse,\n BillingSubscriptionsValidateMoveEligibilityOptionalParams,\n BillingSubscriptionsValidateMoveEligibilityResponse,\n BillingSubscriptionsDeleteOptionalParams,\n BillingSubscriptionsDeleteResponse,\n BillingSubscriptionsGetOptionalParams,\n BillingSubscriptionsGetResponse,\n BillingSubscriptionPatch,\n BillingSubscriptionsUpdateOptionalParams,\n BillingSubscriptionsUpdateResponse,\n BillingSubscriptionsListByBillingProfileNextResponse,\n BillingSubscriptionsListByCustomerNextResponse,\n BillingSubscriptionsListByInvoiceSectionNextResponse,\n BillingSubscriptionsListByBillingAccountNextResponse,\n BillingSubscriptionsListByCustomerAtBillingAccountNextResponse,\n BillingSubscriptionsListByEnrollmentAccountNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BillingSubscriptions operations. */\nexport class BillingSubscriptionsImpl implements BillingSubscriptions {\n private readonly client: BillingManagementClient;\n\n /**\n * Initialize a new instance of the class BillingSubscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: BillingManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the subscriptions that are billed to a billing profile. The operation is supported for billing\n * accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param options The options parameters.\n */\n public listByBillingProfile(\n billingAccountName: string,\n billingProfileName: string,\n options?: BillingSubscriptionsListByBillingProfileOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByBillingProfilePagingAll(\n billingAccountName,\n billingProfileName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBillingProfilePagingPage(\n billingAccountName,\n billingProfileName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBillingProfilePagingPage(\n billingAccountName: string,\n billingProfileName: string,\n options?: BillingSubscriptionsListByBillingProfileOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByBillingProfileResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBillingProfile(\n billingAccountName,\n billingProfileName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBillingProfileNext(\n billingAccountName,\n billingProfileName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBillingProfilePagingAll(\n billingAccountName: string,\n billingProfileName: string,\n options?: BillingSubscriptionsListByBillingProfileOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByBillingProfilePagingPage(\n billingAccountName,\n billingProfileName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions for a customer. The operation is supported only for billing accounts with\n * agreement type Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param customerName The ID that uniquely identifies a customer.\n * @param options The options parameters.\n */\n public listByCustomer(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByCustomerPagingAll(\n billingAccountName,\n billingProfileName,\n customerName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByCustomerPagingPage(\n billingAccountName,\n billingProfileName,\n customerName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByCustomerPagingPage(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByCustomerResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByCustomer(\n billingAccountName,\n billingProfileName,\n customerName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByCustomerNext(\n billingAccountName,\n billingProfileName,\n customerName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByCustomerPagingAll(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByCustomerPagingPage(\n billingAccountName,\n billingProfileName,\n customerName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions that are billed to an invoice section. The operation is supported only for\n * billing accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param invoiceSectionName The ID that uniquely identifies an invoice section.\n * @param options The options parameters.\n */\n public listByInvoiceSection(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: BillingSubscriptionsListByInvoiceSectionOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByInvoiceSectionPagingAll(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByInvoiceSectionPagingPage(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByInvoiceSectionPagingPage(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: BillingSubscriptionsListByInvoiceSectionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByInvoiceSectionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByInvoiceSection(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByInvoiceSectionNext(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByInvoiceSectionPagingAll(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: BillingSubscriptionsListByInvoiceSectionOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByInvoiceSectionPagingPage(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions for a billing account.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param options The options parameters.\n */\n public listByBillingAccount(\n billingAccountName: string,\n options?: BillingSubscriptionsListByBillingAccountOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByBillingAccountPagingAll(\n billingAccountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBillingAccountPagingPage(\n billingAccountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBillingAccountPagingPage(\n billingAccountName: string,\n options?: BillingSubscriptionsListByBillingAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByBillingAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBillingAccount(billingAccountName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBillingAccountNext(\n billingAccountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBillingAccountPagingAll(\n billingAccountName: string,\n options?: BillingSubscriptionsListByBillingAccountOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByBillingAccountPagingPage(\n billingAccountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions for a customer at billing account level. The operation is supported only for\n * billing accounts with agreement type Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param customerName The ID that uniquely identifies a customer.\n * @param options The options parameters.\n */\n public listByCustomerAtBillingAccount(\n billingAccountName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByCustomerAtBillingAccountPagingAll(\n billingAccountName,\n customerName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByCustomerAtBillingAccountPagingPage(\n billingAccountName,\n customerName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByCustomerAtBillingAccountPagingPage(\n billingAccountName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByCustomerAtBillingAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByCustomerAtBillingAccount(\n billingAccountName,\n customerName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByCustomerAtBillingAccountNext(\n billingAccountName,\n customerName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByCustomerAtBillingAccountPagingAll(\n billingAccountName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByCustomerAtBillingAccountPagingPage(\n billingAccountName,\n customerName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions for an enrollment account. The operation is supported for billing accounts\n * with agreement type Enterprise Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param enrollmentAccountName The name of the enrollment account.\n * @param options The options parameters.\n */\n public listByEnrollmentAccount(\n billingAccountName: string,\n enrollmentAccountName: string,\n options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByEnrollmentAccountPagingAll(\n billingAccountName,\n enrollmentAccountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByEnrollmentAccountPagingPage(\n billingAccountName,\n enrollmentAccountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByEnrollmentAccountPagingPage(\n billingAccountName: string,\n enrollmentAccountName: string,\n options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByEnrollmentAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByEnrollmentAccount(\n billingAccountName,\n enrollmentAccountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByEnrollmentAccountNext(\n billingAccountName,\n enrollmentAccountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByEnrollmentAccountPagingAll(\n billingAccountName: string,\n enrollmentAccountName: string,\n options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByEnrollmentAccountPagingPage(\n billingAccountName,\n enrollmentAccountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a subscription by its billing profile and ID. The operation is supported for billing accounts\n * with agreement type Enterprise Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param options The options parameters.\n */\n getByBillingProfile(\n billingAccountName: string,\n billingProfileName: string,\n billingSubscriptionName: string,\n options?: BillingSubscriptionsGetByBillingProfileOptionalParams,\n ): Promise<BillingSubscriptionsGetByBillingProfileResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n billingSubscriptionName,\n options,\n },\n getByBillingProfileOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions that are billed to a billing profile. The operation is supported for billing\n * accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param options The options parameters.\n */\n private _listByBillingProfile(\n billingAccountName: string,\n billingProfileName: string,\n options?: BillingSubscriptionsListByBillingProfileOptionalParams,\n ): Promise<BillingSubscriptionsListByBillingProfileResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, options },\n listByBillingProfileOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions for a customer. The operation is supported only for billing accounts with\n * agreement type Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param customerName The ID that uniquely identifies a customer.\n * @param options The options parameters.\n */\n private _listByCustomer(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerOptionalParams,\n ): Promise<BillingSubscriptionsListByCustomerResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, customerName, options },\n listByCustomerOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions that are billed to an invoice section. The operation is supported only for\n * billing accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param invoiceSectionName The ID that uniquely identifies an invoice section.\n * @param options The options parameters.\n */\n private _listByInvoiceSection(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: BillingSubscriptionsListByInvoiceSectionOptionalParams,\n ): Promise<BillingSubscriptionsListByInvoiceSectionResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, invoiceSectionName, options },\n listByInvoiceSectionOperationSpec,\n );\n }\n\n /**\n * Cancels a usage-based subscription. This operation is supported only for billing accounts of type\n * Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters for cancel customer subscription.\n * @param options The options parameters.\n */\n async beginCancel(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: CancelSubscriptionRequest,\n options?: BillingSubscriptionsCancelOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsCancelResponse>,\n BillingSubscriptionsCancelResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsCancelResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: cancelOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsCancelResponse,\n OperationState<BillingSubscriptionsCancelResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Cancels a usage-based subscription. This operation is supported only for billing accounts of type\n * Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters for cancel customer subscription.\n * @param options The options parameters.\n */\n async beginCancelAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: CancelSubscriptionRequest,\n options?: BillingSubscriptionsCancelOptionalParams,\n ): Promise<BillingSubscriptionsCancelResponse> {\n const poller = await this.beginCancel(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Merges the billing subscription provided in the request with a target billing subscription.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters that are provided to merge the two billing subscriptions.\n * @param options The options parameters.\n */\n async beginMerge(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionMergeRequest,\n options?: BillingSubscriptionsMergeOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsMergeResponse>,\n BillingSubscriptionsMergeResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsMergeResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: mergeOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsMergeResponse,\n OperationState<BillingSubscriptionsMergeResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Merges the billing subscription provided in the request with a target billing subscription.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters that are provided to merge the two billing subscriptions.\n * @param options The options parameters.\n */\n async beginMergeAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionMergeRequest,\n options?: BillingSubscriptionsMergeOptionalParams,\n ): Promise<BillingSubscriptionsMergeResponse> {\n const poller = await this.beginMerge(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Moves charges for a subscription to a new invoice section. The new invoice section must belong to\n * the same billing profile as the existing invoice section. This operation is supported for billing\n * accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters to transfer billing subscription.\n * @param options The options parameters.\n */\n async beginMove(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: MoveBillingSubscriptionRequest,\n options?: BillingSubscriptionsMoveOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsMoveResponse>,\n BillingSubscriptionsMoveResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsMoveResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: moveOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsMoveResponse,\n OperationState<BillingSubscriptionsMoveResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Moves charges for a subscription to a new invoice section. The new invoice section must belong to\n * the same billing profile as the existing invoice section. This operation is supported for billing\n * accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters to transfer billing subscription.\n * @param options The options parameters.\n */\n async beginMoveAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: MoveBillingSubscriptionRequest,\n options?: BillingSubscriptionsMoveOptionalParams,\n ): Promise<BillingSubscriptionsMoveResponse> {\n const poller = await this.beginMove(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Splits a subscription into a new subscription with quantity less than current subscription quantity\n * and not equal to 0.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters that are provided to split the billing subscription.\n * @param options The options parameters.\n */\n async beginSplit(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionSplitRequest,\n options?: BillingSubscriptionsSplitOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsSplitResponse>,\n BillingSubscriptionsSplitResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsSplitResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: splitOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsSplitResponse,\n OperationState<BillingSubscriptionsSplitResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Splits a subscription into a new subscription with quantity less than current subscription quantity\n * and not equal to 0.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters that are provided to split the billing subscription.\n * @param options The options parameters.\n */\n async beginSplitAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionSplitRequest,\n options?: BillingSubscriptionsSplitOptionalParams,\n ): Promise<BillingSubscriptionsSplitResponse> {\n const poller = await this.beginSplit(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Validates if charges for a subscription can be moved to a new invoice section. This operation is\n * supported for billing accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters to transfer billing subscription.\n * @param options The options parameters.\n */\n validateMoveEligibility(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: MoveBillingSubscriptionRequest,\n options?: BillingSubscriptionsValidateMoveEligibilityOptionalParams,\n ): Promise<BillingSubscriptionsValidateMoveEligibilityResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingSubscriptionName, parameters, options },\n validateMoveEligibilityOperationSpec,\n );\n }\n\n /**\n * Cancels a billing subscription. This operation is supported only for billing accounts of type\n * Microsoft Partner Agreement or Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param options The options parameters.\n */\n async beginDelete(\n billingAccountName: string,\n billingSubscriptionName: string,\n options?: BillingSubscriptionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsDeleteResponse>,\n BillingSubscriptionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { billingAccountName, billingSubscriptionName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsDeleteResponse,\n OperationState<BillingSubscriptionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Cancels a billing subscription. This operation is supported only for billing accounts of type\n * Microsoft Partner Agreement or Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n options?: BillingSubscriptionsDeleteOptionalParams,\n ): Promise<BillingSubscriptionsDeleteResponse> {\n const poller = await this.beginDelete(\n billingAccountName,\n billingSubscriptionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a subscription by its ID. The operation is supported for billing accounts with agreement type\n * Microsoft Customer Agreement, Microsoft Partner Agreement, and Enterprise Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param options The options parameters.\n */\n get(\n billingAccountName: string,\n billingSubscriptionName: string,\n options?: BillingSubscriptionsGetOptionalParams,\n ): Promise<BillingSubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingSubscriptionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the properties of a billing subscription.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters The billing properties of a subscription.\n * @param options The options parameters.\n */\n async beginUpdate(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionPatch,\n options?: BillingSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsUpdateResponse>,\n BillingSubscriptionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsUpdateResponse,\n OperationState<BillingSubscriptionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the properties of a billing subscription.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters The billing properties of a subscription.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionPatch,\n options?: BillingSubscriptionsUpdateOptionalParams,\n ): Promise<BillingSubscriptionsUpdateResponse> {\n const poller = await this.beginUpdate(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists the subscriptions for a billing account.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param options The options parameters.\n */\n private _listByBillingAccount(\n billingAccountName: string,\n options?: BillingSubscriptionsListByBillingAccountOptionalParams,\n ): Promise<BillingSubscriptionsListByBillingAccountResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, options },\n listByBillingAccountOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions for a customer at billing account level. The operation is supported only for\n * billing accounts with agreement type Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param customerName The ID that uniquely identifies a customer.\n * @param options The options parameters.\n */\n private _listByCustomerAtBillingAccount(\n billingAccountName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n ): Promise<BillingSubscriptionsListByCustomerAtBillingAccountResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, customerName, options },\n listByCustomerAtBillingAccountOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions for an enrollment account. The operation is supported for billing accounts\n * with agreement type Enterprise Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param enrollmentAccountName The name of the enrollment account.\n * @param options The options parameters.\n */\n private _listByEnrollmentAccount(\n billingAccountName: string,\n enrollmentAccountName: string,\n options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n ): Promise<BillingSubscriptionsListByEnrollmentAccountResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, enrollmentAccountName, options },\n listByEnrollmentAccountOperationSpec,\n );\n }\n\n /**\n * ListByBillingProfileNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param nextLink The nextLink from the previous successful call to the ListByBillingProfile method.\n * @param options The options parameters.\n */\n private _listByBillingProfileNext(\n billingAccountName: string,\n billingProfileName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByBillingProfileNextOptionalParams,\n ): Promise<BillingSubscriptionsListByBillingProfileNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, nextLink, options },\n listByBillingProfileNextOperationSpec,\n );\n }\n\n /**\n * ListByCustomerNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param customerName The ID that uniquely identifies a customer.\n * @param nextLink The nextLink from the previous successful call to the ListByCustomer method.\n * @param options The options parameters.\n */\n private _listByCustomerNext(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByCustomerNextOptionalParams,\n ): Promise<BillingSubscriptionsListByCustomerNextResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n customerName,\n nextLink,\n options,\n },\n listByCustomerNextOperationSpec,\n );\n }\n\n /**\n * ListByInvoiceSectionNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param invoiceSectionName The ID that uniquely identifies an invoice section.\n * @param nextLink The nextLink from the previous successful call to the ListByInvoiceSection method.\n * @param options The options parameters.\n */\n private _listByInvoiceSectionNext(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByInvoiceSectionNextOptionalParams,\n ): Promise<BillingSubscriptionsListByInvoiceSectionNextResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n nextLink,\n options,\n },\n listByInvoiceSectionNextOperationSpec,\n );\n }\n\n /**\n * ListByBillingAccountNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param nextLink The nextLink from the previous successful call to the ListByBillingAccount method.\n * @param options The options parameters.\n */\n private _listByBillingAccountNext(\n billingAccountName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByBillingAccountNextOptionalParams,\n ): Promise<BillingSubscriptionsListByBillingAccountNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, nextLink, options },\n listByBillingAccountNextOperationSpec,\n );\n }\n\n /**\n * ListByCustomerAtBillingAccountNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param customerName The ID that uniquely identifies a customer.\n * @param nextLink The nextLink from the previous successful call to the ListByCustomerAtBillingAccount\n * method.\n * @param options The options parameters.\n */\n private _listByCustomerAtBillingAccountNext(\n billingAccountName: string,\n customerName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountNextOptionalParams,\n ): Promise<BillingSubscriptionsListByCustomerAtBillingAccountNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, customerName, nextLink, options },\n listByCustomerAtBillingAccountNextOperationSpec,\n );\n }\n\n /**\n * ListByEnrollmentAccountNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param enrollmentAccountName The name of the enrollment account.\n * @param nextLink The nextLink from the previous successful call to the ListByEnrollmentAccount\n * method.\n * @param options The options parameters.\n */\n private _listByEnrollmentAccountNext(\n billingAccountName: string,\n enrollmentAccountName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByEnrollmentAccountNextOptionalParams,\n ): Promise<BillingSubscriptionsListByEnrollmentAccountNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, enrollmentAccountName, nextLink, options },\n listByEnrollmentAccountNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByBillingProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingSubscriptions/{billingSubscriptionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBillingProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCustomerOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.customerName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByInvoiceSectionOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.invoiceSectionName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.BillingSubscriptionsCancelHeaders,\n },\n 201: {\n headersMapper: Mappers.BillingSubscriptionsCancelHeaders,\n },\n 202: {\n headersMapper: Mappers.BillingSubscriptionsCancelHeaders,\n },\n 204: {\n headersMapper: Mappers.BillingSubscriptionsCancelHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst mergeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 201: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 202: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 204: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters12,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst moveOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/move\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 201: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 202: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 204: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters13,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst splitOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 201: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 202: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 204: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters14,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst validateMoveEligibilityOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/validateMoveEligibility\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MoveBillingSubscriptionEligibilityResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters13,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.BillingSubscriptionsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.BillingSubscriptionsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.BillingSubscriptionsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.BillingSubscriptionsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 201: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 202: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 204: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters15,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByBillingAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n Parameters.includeTenantSubscriptions,\n Parameters.includeFailed,\n ],\n urlParameters: [Parameters.$host, Parameters.billingAccountName1],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCustomerAtBillingAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.customerName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByEnrollmentAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.enrollmentAccountName,\n Parameters.billingAccountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBillingProfileNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCustomerNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.customerName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByInvoiceSectionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.invoiceSectionName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBillingAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCustomerAtBillingAccountNextOperationSpec: coreClient.OperationSpec =\n {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n Parameters.customerName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n };\nconst listByEnrollmentAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.enrollmentAccountName,\n Parameters.billingAccountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"billingSubscriptions.js","sourceRoot":"","sources":["../../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,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+CAA+C,GACnD;IACE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACJ,MAAM,wCAAwC,GAA6B;IACzE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,qBAAqB;QAChC,UAAU,CAAC,mBAAmB;KAC/B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { BillingSubscriptions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BillingManagementClient } from \"../billingManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n BillingSubscription,\n BillingSubscriptionsListByBillingProfileNextOptionalParams,\n BillingSubscriptionsListByBillingProfileOptionalParams,\n BillingSubscriptionsListByBillingProfileResponse,\n BillingSubscriptionsListByCustomerNextOptionalParams,\n BillingSubscriptionsListByCustomerOptionalParams,\n BillingSubscriptionsListByCustomerResponse,\n BillingSubscriptionsListByInvoiceSectionNextOptionalParams,\n BillingSubscriptionsListByInvoiceSectionOptionalParams,\n BillingSubscriptionsListByInvoiceSectionResponse,\n BillingSubscriptionsListByBillingAccountNextOptionalParams,\n BillingSubscriptionsListByBillingAccountOptionalParams,\n BillingSubscriptionsListByBillingAccountResponse,\n BillingSubscriptionsListByCustomerAtBillingAccountNextOptionalParams,\n BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n BillingSubscriptionsListByCustomerAtBillingAccountResponse,\n BillingSubscriptionsListByEnrollmentAccountNextOptionalParams,\n BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n BillingSubscriptionsListByEnrollmentAccountResponse,\n BillingSubscriptionsGetByBillingProfileOptionalParams,\n BillingSubscriptionsGetByBillingProfileResponse,\n CancelSubscriptionRequest,\n BillingSubscriptionsCancelOptionalParams,\n BillingSubscriptionsCancelResponse,\n BillingSubscriptionMergeRequest,\n BillingSubscriptionsMergeOptionalParams,\n BillingSubscriptionsMergeResponse,\n MoveBillingSubscriptionRequest,\n BillingSubscriptionsMoveOptionalParams,\n BillingSubscriptionsMoveResponse,\n BillingSubscriptionSplitRequest,\n BillingSubscriptionsSplitOptionalParams,\n BillingSubscriptionsSplitResponse,\n BillingSubscriptionsValidateMoveEligibilityOptionalParams,\n BillingSubscriptionsValidateMoveEligibilityResponse,\n BillingSubscriptionsDeleteOptionalParams,\n BillingSubscriptionsDeleteResponse,\n BillingSubscriptionsGetOptionalParams,\n BillingSubscriptionsGetResponse,\n BillingSubscriptionPatch,\n BillingSubscriptionsUpdateOptionalParams,\n BillingSubscriptionsUpdateResponse,\n BillingSubscriptionsListByBillingProfileNextResponse,\n BillingSubscriptionsListByCustomerNextResponse,\n BillingSubscriptionsListByInvoiceSectionNextResponse,\n BillingSubscriptionsListByBillingAccountNextResponse,\n BillingSubscriptionsListByCustomerAtBillingAccountNextResponse,\n BillingSubscriptionsListByEnrollmentAccountNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BillingSubscriptions operations. */\nexport class BillingSubscriptionsImpl implements BillingSubscriptions {\n private readonly client: BillingManagementClient;\n\n /**\n * Initialize a new instance of the class BillingSubscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: BillingManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the subscriptions that are billed to a billing profile. The operation is supported for billing\n * accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param options The options parameters.\n */\n public listByBillingProfile(\n billingAccountName: string,\n billingProfileName: string,\n options?: BillingSubscriptionsListByBillingProfileOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByBillingProfilePagingAll(\n billingAccountName,\n billingProfileName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBillingProfilePagingPage(\n billingAccountName,\n billingProfileName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBillingProfilePagingPage(\n billingAccountName: string,\n billingProfileName: string,\n options?: BillingSubscriptionsListByBillingProfileOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByBillingProfileResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBillingProfile(\n billingAccountName,\n billingProfileName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBillingProfileNext(\n billingAccountName,\n billingProfileName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBillingProfilePagingAll(\n billingAccountName: string,\n billingProfileName: string,\n options?: BillingSubscriptionsListByBillingProfileOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByBillingProfilePagingPage(\n billingAccountName,\n billingProfileName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions for a customer. The operation is supported only for billing accounts with\n * agreement type Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param customerName The ID that uniquely identifies a customer.\n * @param options The options parameters.\n */\n public listByCustomer(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByCustomerPagingAll(\n billingAccountName,\n billingProfileName,\n customerName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByCustomerPagingPage(\n billingAccountName,\n billingProfileName,\n customerName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByCustomerPagingPage(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByCustomerResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByCustomer(\n billingAccountName,\n billingProfileName,\n customerName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByCustomerNext(\n billingAccountName,\n billingProfileName,\n customerName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByCustomerPagingAll(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByCustomerPagingPage(\n billingAccountName,\n billingProfileName,\n customerName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions that are billed to an invoice section. The operation is supported only for\n * billing accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param invoiceSectionName The ID that uniquely identifies an invoice section.\n * @param options The options parameters.\n */\n public listByInvoiceSection(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: BillingSubscriptionsListByInvoiceSectionOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByInvoiceSectionPagingAll(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByInvoiceSectionPagingPage(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByInvoiceSectionPagingPage(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: BillingSubscriptionsListByInvoiceSectionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByInvoiceSectionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByInvoiceSection(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByInvoiceSectionNext(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByInvoiceSectionPagingAll(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: BillingSubscriptionsListByInvoiceSectionOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByInvoiceSectionPagingPage(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions for a billing account.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param options The options parameters.\n */\n public listByBillingAccount(\n billingAccountName: string,\n options?: BillingSubscriptionsListByBillingAccountOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByBillingAccountPagingAll(\n billingAccountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBillingAccountPagingPage(\n billingAccountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBillingAccountPagingPage(\n billingAccountName: string,\n options?: BillingSubscriptionsListByBillingAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByBillingAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBillingAccount(billingAccountName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBillingAccountNext(\n billingAccountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBillingAccountPagingAll(\n billingAccountName: string,\n options?: BillingSubscriptionsListByBillingAccountOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByBillingAccountPagingPage(\n billingAccountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions for a customer at billing account level. The operation is supported only for\n * billing accounts with agreement type Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param customerName The ID that uniquely identifies a customer.\n * @param options The options parameters.\n */\n public listByCustomerAtBillingAccount(\n billingAccountName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByCustomerAtBillingAccountPagingAll(\n billingAccountName,\n customerName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByCustomerAtBillingAccountPagingPage(\n billingAccountName,\n customerName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByCustomerAtBillingAccountPagingPage(\n billingAccountName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByCustomerAtBillingAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByCustomerAtBillingAccount(\n billingAccountName,\n customerName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByCustomerAtBillingAccountNext(\n billingAccountName,\n customerName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByCustomerAtBillingAccountPagingAll(\n billingAccountName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByCustomerAtBillingAccountPagingPage(\n billingAccountName,\n customerName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the subscriptions for an enrollment account. The operation is supported for billing accounts\n * with agreement type Enterprise Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param enrollmentAccountName The name of the enrollment account.\n * @param options The options parameters.\n */\n public listByEnrollmentAccount(\n billingAccountName: string,\n enrollmentAccountName: string,\n options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n ): PagedAsyncIterableIterator<BillingSubscription> {\n const iter = this.listByEnrollmentAccountPagingAll(\n billingAccountName,\n enrollmentAccountName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByEnrollmentAccountPagingPage(\n billingAccountName,\n enrollmentAccountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByEnrollmentAccountPagingPage(\n billingAccountName: string,\n enrollmentAccountName: string,\n options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BillingSubscription[]> {\n let result: BillingSubscriptionsListByEnrollmentAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByEnrollmentAccount(\n billingAccountName,\n enrollmentAccountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByEnrollmentAccountNext(\n billingAccountName,\n enrollmentAccountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByEnrollmentAccountPagingAll(\n billingAccountName: string,\n enrollmentAccountName: string,\n options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n ): AsyncIterableIterator<BillingSubscription> {\n for await (const page of this.listByEnrollmentAccountPagingPage(\n billingAccountName,\n enrollmentAccountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a subscription by its billing profile and ID. The operation is supported for billing accounts\n * with agreement type Enterprise Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param options The options parameters.\n */\n getByBillingProfile(\n billingAccountName: string,\n billingProfileName: string,\n billingSubscriptionName: string,\n options?: BillingSubscriptionsGetByBillingProfileOptionalParams,\n ): Promise<BillingSubscriptionsGetByBillingProfileResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n billingSubscriptionName,\n options,\n },\n getByBillingProfileOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions that are billed to a billing profile. The operation is supported for billing\n * accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param options The options parameters.\n */\n private _listByBillingProfile(\n billingAccountName: string,\n billingProfileName: string,\n options?: BillingSubscriptionsListByBillingProfileOptionalParams,\n ): Promise<BillingSubscriptionsListByBillingProfileResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, options },\n listByBillingProfileOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions for a customer. The operation is supported only for billing accounts with\n * agreement type Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param customerName The ID that uniquely identifies a customer.\n * @param options The options parameters.\n */\n private _listByCustomer(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerOptionalParams,\n ): Promise<BillingSubscriptionsListByCustomerResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, customerName, options },\n listByCustomerOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions that are billed to an invoice section. The operation is supported only for\n * billing accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param invoiceSectionName The ID that uniquely identifies an invoice section.\n * @param options The options parameters.\n */\n private _listByInvoiceSection(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: BillingSubscriptionsListByInvoiceSectionOptionalParams,\n ): Promise<BillingSubscriptionsListByInvoiceSectionResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, invoiceSectionName, options },\n listByInvoiceSectionOperationSpec,\n );\n }\n\n /**\n * Cancels a usage-based subscription. This operation is supported only for billing accounts of type\n * Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters for cancel customer subscription.\n * @param options The options parameters.\n */\n async beginCancel(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: CancelSubscriptionRequest,\n options?: BillingSubscriptionsCancelOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsCancelResponse>,\n BillingSubscriptionsCancelResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsCancelResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: cancelOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsCancelResponse,\n OperationState<BillingSubscriptionsCancelResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Cancels a usage-based subscription. This operation is supported only for billing accounts of type\n * Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters for cancel customer subscription.\n * @param options The options parameters.\n */\n async beginCancelAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: CancelSubscriptionRequest,\n options?: BillingSubscriptionsCancelOptionalParams,\n ): Promise<BillingSubscriptionsCancelResponse> {\n const poller = await this.beginCancel(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Merges the billing subscription provided in the request with a target billing subscription.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters that are provided to merge the two billing subscriptions.\n * @param options The options parameters.\n */\n async beginMerge(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionMergeRequest,\n options?: BillingSubscriptionsMergeOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsMergeResponse>,\n BillingSubscriptionsMergeResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsMergeResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: mergeOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsMergeResponse,\n OperationState<BillingSubscriptionsMergeResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Merges the billing subscription provided in the request with a target billing subscription.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters that are provided to merge the two billing subscriptions.\n * @param options The options parameters.\n */\n async beginMergeAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionMergeRequest,\n options?: BillingSubscriptionsMergeOptionalParams,\n ): Promise<BillingSubscriptionsMergeResponse> {\n const poller = await this.beginMerge(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Moves charges for a subscription to a new invoice section. The new invoice section must belong to\n * the same billing profile as the existing invoice section. This operation is supported for billing\n * accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters to transfer billing subscription.\n * @param options The options parameters.\n */\n async beginMove(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: MoveBillingSubscriptionRequest,\n options?: BillingSubscriptionsMoveOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsMoveResponse>,\n BillingSubscriptionsMoveResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsMoveResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: moveOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsMoveResponse,\n OperationState<BillingSubscriptionsMoveResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Moves charges for a subscription to a new invoice section. The new invoice section must belong to\n * the same billing profile as the existing invoice section. This operation is supported for billing\n * accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters to transfer billing subscription.\n * @param options The options parameters.\n */\n async beginMoveAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: MoveBillingSubscriptionRequest,\n options?: BillingSubscriptionsMoveOptionalParams,\n ): Promise<BillingSubscriptionsMoveResponse> {\n const poller = await this.beginMove(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Splits a subscription into a new subscription with quantity less than current subscription quantity\n * and not equal to 0.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters that are provided to split the billing subscription.\n * @param options The options parameters.\n */\n async beginSplit(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionSplitRequest,\n options?: BillingSubscriptionsSplitOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsSplitResponse>,\n BillingSubscriptionsSplitResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsSplitResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: splitOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsSplitResponse,\n OperationState<BillingSubscriptionsSplitResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Splits a subscription into a new subscription with quantity less than current subscription quantity\n * and not equal to 0.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters that are provided to split the billing subscription.\n * @param options The options parameters.\n */\n async beginSplitAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionSplitRequest,\n options?: BillingSubscriptionsSplitOptionalParams,\n ): Promise<BillingSubscriptionsSplitResponse> {\n const poller = await this.beginSplit(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Validates if charges for a subscription can be moved to a new invoice section. This operation is\n * supported for billing accounts with agreement type Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters Request parameters to transfer billing subscription.\n * @param options The options parameters.\n */\n validateMoveEligibility(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: MoveBillingSubscriptionRequest,\n options?: BillingSubscriptionsValidateMoveEligibilityOptionalParams,\n ): Promise<BillingSubscriptionsValidateMoveEligibilityResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingSubscriptionName, parameters, options },\n validateMoveEligibilityOperationSpec,\n );\n }\n\n /**\n * Cancels a billing subscription. This operation is supported only for billing accounts of type\n * Microsoft Partner Agreement or Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param options The options parameters.\n */\n async beginDelete(\n billingAccountName: string,\n billingSubscriptionName: string,\n options?: BillingSubscriptionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsDeleteResponse>,\n BillingSubscriptionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { billingAccountName, billingSubscriptionName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsDeleteResponse,\n OperationState<BillingSubscriptionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Cancels a billing subscription. This operation is supported only for billing accounts of type\n * Microsoft Partner Agreement or Microsoft Customer Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n options?: BillingSubscriptionsDeleteOptionalParams,\n ): Promise<BillingSubscriptionsDeleteResponse> {\n const poller = await this.beginDelete(\n billingAccountName,\n billingSubscriptionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a subscription by its ID. The operation is supported for billing accounts with agreement type\n * Microsoft Customer Agreement, Microsoft Partner Agreement, and Enterprise Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param options The options parameters.\n */\n get(\n billingAccountName: string,\n billingSubscriptionName: string,\n options?: BillingSubscriptionsGetOptionalParams,\n ): Promise<BillingSubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingSubscriptionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates the properties of a billing subscription.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters The billing properties of a subscription.\n * @param options The options parameters.\n */\n async beginUpdate(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionPatch,\n options?: BillingSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BillingSubscriptionsUpdateResponse>,\n BillingSubscriptionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BillingSubscriptionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n BillingSubscriptionsUpdateResponse,\n OperationState<BillingSubscriptionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the properties of a billing subscription.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingSubscriptionName The ID that uniquely identifies a subscription.\n * @param parameters The billing properties of a subscription.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n billingAccountName: string,\n billingSubscriptionName: string,\n parameters: BillingSubscriptionPatch,\n options?: BillingSubscriptionsUpdateOptionalParams,\n ): Promise<BillingSubscriptionsUpdateResponse> {\n const poller = await this.beginUpdate(\n billingAccountName,\n billingSubscriptionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists the subscriptions for a billing account.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param options The options parameters.\n */\n private _listByBillingAccount(\n billingAccountName: string,\n options?: BillingSubscriptionsListByBillingAccountOptionalParams,\n ): Promise<BillingSubscriptionsListByBillingAccountResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, options },\n listByBillingAccountOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions for a customer at billing account level. The operation is supported only for\n * billing accounts with agreement type Microsoft Partner Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param customerName The ID that uniquely identifies a customer.\n * @param options The options parameters.\n */\n private _listByCustomerAtBillingAccount(\n billingAccountName: string,\n customerName: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountOptionalParams,\n ): Promise<BillingSubscriptionsListByCustomerAtBillingAccountResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, customerName, options },\n listByCustomerAtBillingAccountOperationSpec,\n );\n }\n\n /**\n * Lists the subscriptions for an enrollment account. The operation is supported for billing accounts\n * with agreement type Enterprise Agreement.\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param enrollmentAccountName The name of the enrollment account.\n * @param options The options parameters.\n */\n private _listByEnrollmentAccount(\n billingAccountName: string,\n enrollmentAccountName: string,\n options?: BillingSubscriptionsListByEnrollmentAccountOptionalParams,\n ): Promise<BillingSubscriptionsListByEnrollmentAccountResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, enrollmentAccountName, options },\n listByEnrollmentAccountOperationSpec,\n );\n }\n\n /**\n * ListByBillingProfileNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param nextLink The nextLink from the previous successful call to the ListByBillingProfile method.\n * @param options The options parameters.\n */\n private _listByBillingProfileNext(\n billingAccountName: string,\n billingProfileName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByBillingProfileNextOptionalParams,\n ): Promise<BillingSubscriptionsListByBillingProfileNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, nextLink, options },\n listByBillingProfileNextOperationSpec,\n );\n }\n\n /**\n * ListByCustomerNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param customerName The ID that uniquely identifies a customer.\n * @param nextLink The nextLink from the previous successful call to the ListByCustomer method.\n * @param options The options parameters.\n */\n private _listByCustomerNext(\n billingAccountName: string,\n billingProfileName: string,\n customerName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByCustomerNextOptionalParams,\n ): Promise<BillingSubscriptionsListByCustomerNextResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n customerName,\n nextLink,\n options,\n },\n listByCustomerNextOperationSpec,\n );\n }\n\n /**\n * ListByInvoiceSectionNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param billingProfileName The ID that uniquely identifies a billing profile.\n * @param invoiceSectionName The ID that uniquely identifies an invoice section.\n * @param nextLink The nextLink from the previous successful call to the ListByInvoiceSection method.\n * @param options The options parameters.\n */\n private _listByInvoiceSectionNext(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByInvoiceSectionNextOptionalParams,\n ): Promise<BillingSubscriptionsListByInvoiceSectionNextResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n nextLink,\n options,\n },\n listByInvoiceSectionNextOperationSpec,\n );\n }\n\n /**\n * ListByBillingAccountNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param nextLink The nextLink from the previous successful call to the ListByBillingAccount method.\n * @param options The options parameters.\n */\n private _listByBillingAccountNext(\n billingAccountName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByBillingAccountNextOptionalParams,\n ): Promise<BillingSubscriptionsListByBillingAccountNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, nextLink, options },\n listByBillingAccountNextOperationSpec,\n );\n }\n\n /**\n * ListByCustomerAtBillingAccountNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param customerName The ID that uniquely identifies a customer.\n * @param nextLink The nextLink from the previous successful call to the ListByCustomerAtBillingAccount\n * method.\n * @param options The options parameters.\n */\n private _listByCustomerAtBillingAccountNext(\n billingAccountName: string,\n customerName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByCustomerAtBillingAccountNextOptionalParams,\n ): Promise<BillingSubscriptionsListByCustomerAtBillingAccountNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, customerName, nextLink, options },\n listByCustomerAtBillingAccountNextOperationSpec,\n );\n }\n\n /**\n * ListByEnrollmentAccountNext\n * @param billingAccountName The ID that uniquely identifies a billing account.\n * @param enrollmentAccountName The name of the enrollment account.\n * @param nextLink The nextLink from the previous successful call to the ListByEnrollmentAccount\n * method.\n * @param options The options parameters.\n */\n private _listByEnrollmentAccountNext(\n billingAccountName: string,\n enrollmentAccountName: string,\n nextLink: string,\n options?: BillingSubscriptionsListByEnrollmentAccountNextOptionalParams,\n ): Promise<BillingSubscriptionsListByEnrollmentAccountNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, enrollmentAccountName, nextLink, options },\n listByEnrollmentAccountNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByBillingProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingSubscriptions/{billingSubscriptionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBillingProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCustomerOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.customerName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByInvoiceSectionOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.invoiceSectionName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.BillingSubscriptionsCancelHeaders,\n },\n 201: {\n headersMapper: Mappers.BillingSubscriptionsCancelHeaders,\n },\n 202: {\n headersMapper: Mappers.BillingSubscriptionsCancelHeaders,\n },\n 204: {\n headersMapper: Mappers.BillingSubscriptionsCancelHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst mergeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 201: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 202: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 204: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters12,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst moveOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/move\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 201: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 202: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 204: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters13,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst splitOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 201: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 202: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 204: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters14,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst validateMoveEligibilityOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/validateMoveEligibility\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MoveBillingSubscriptionEligibilityResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters13,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.BillingSubscriptionsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.BillingSubscriptionsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.BillingSubscriptionsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.BillingSubscriptionsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 201: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 202: {\n bodyMapper: Mappers.BillingSubscription,\n },\n 204: {\n bodyMapper: Mappers.BillingSubscription,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters15,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.billingSubscriptionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByBillingAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n Parameters.includeTenantSubscriptions,\n Parameters.includeFailed,\n ],\n urlParameters: [Parameters.$host, Parameters.billingAccountName1],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCustomerAtBillingAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n Parameters.includeDeleted,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName1,\n Parameters.customerName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByEnrollmentAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.orderBy,\n Parameters.top,\n Parameters.skip,\n Parameters.count,\n Parameters.search,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.enrollmentAccountName,\n Parameters.billingAccountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBillingProfileNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCustomerNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.customerName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByInvoiceSectionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n Parameters.billingProfileName1,\n Parameters.invoiceSectionName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBillingAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByCustomerAtBillingAccountNextOperationSpec: coreClient.OperationSpec =\n {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.billingAccountName1,\n Parameters.customerName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n };\nconst listByEnrollmentAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingSubscriptionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.enrollmentAccountName,\n Parameters.billingAccountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
|
19
19
|
/** Class containing BillingSubscriptionsAliases operations. */
|
|
20
20
|
class BillingSubscriptionsAliasesImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class BillingSubscriptionsAliases class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -41,52 +42,35 @@ class BillingSubscriptionsAliasesImpl {
|
|
|
41
42
|
return this;
|
|
42
43
|
},
|
|
43
44
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
45
|
+
if (settings?.maxPageSize) {
|
|
45
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
47
|
}
|
|
47
48
|
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
48
49
|
},
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
|
-
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
});
|
|
52
|
+
async *listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings?.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = await this._listByBillingAccount(billingAccountName, options);
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = await this._listByBillingAccountNext(billingAccountName, continuationToken, options);
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield page;
|
|
68
|
+
}
|
|
70
69
|
}
|
|
71
|
-
listByBillingAccountPagingAll(billingAccountName, options) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByBillingAccountPagingPage(billingAccountName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
-
_c = _f.value;
|
|
77
|
-
_d = false;
|
|
78
|
-
const page = _c;
|
|
79
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
-
finally {
|
|
84
|
-
try {
|
|
85
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
-
}
|
|
87
|
-
finally { if (e_1) throw e_1.error; }
|
|
88
|
-
}
|
|
89
|
-
});
|
|
70
|
+
async *listByBillingAccountPagingAll(billingAccountName, options) {
|
|
71
|
+
for await (const page of this.listByBillingAccountPagingPage(billingAccountName, options)) {
|
|
72
|
+
yield* page;
|
|
73
|
+
}
|
|
90
74
|
}
|
|
91
75
|
/**
|
|
92
76
|
* Gets a subscription by its alias ID. The operation is supported for seat based billing
|
|
@@ -111,14 +95,19 @@ class BillingSubscriptionsAliasesImpl {
|
|
|
111
95
|
return this.client.sendOperationRequest(args, spec);
|
|
112
96
|
};
|
|
113
97
|
const sendOperationFn = async (args, spec) => {
|
|
114
|
-
var _a;
|
|
115
98
|
let currentRawResponse = undefined;
|
|
116
|
-
const providedCallback =
|
|
99
|
+
const providedCallback = args.options?.onResponse;
|
|
117
100
|
const callback = (rawResponse, flatResponse) => {
|
|
118
101
|
currentRawResponse = rawResponse;
|
|
119
|
-
providedCallback
|
|
102
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
103
|
+
};
|
|
104
|
+
const updatedArgs = {
|
|
105
|
+
...args,
|
|
106
|
+
options: {
|
|
107
|
+
...args.options,
|
|
108
|
+
onResponse: callback,
|
|
109
|
+
},
|
|
120
110
|
};
|
|
121
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
122
111
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
123
112
|
return {
|
|
124
113
|
flatResponse,
|
|
@@ -135,8 +124,8 @@ class BillingSubscriptionsAliasesImpl {
|
|
|
135
124
|
spec: createOrUpdateOperationSpec,
|
|
136
125
|
});
|
|
137
126
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
138
|
-
restoreFrom: options
|
|
139
|
-
intervalInMs: options
|
|
127
|
+
restoreFrom: options?.resumeFrom,
|
|
128
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
140
129
|
resourceLocationConfig: "location",
|
|
141
130
|
});
|
|
142
131
|
await poller.poll();
|