@azure/arm-billing 2.2.0 → 4.0.0
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/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +75 -73
- package/dist/index.js +10450 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/billingManagementClient.d.ts +37 -0
- package/dist-esm/src/billingManagementClient.d.ts.map +1 -0
- package/dist-esm/src/billingManagementClient.js +70 -0
- package/dist-esm/src/billingManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +3244 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +272 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +86 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +3514 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +45 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +374 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/address.d.ts +20 -0
- package/dist-esm/src/operations/address.d.ts.map +1 -0
- package/dist-esm/src/operations/address.js +50 -0
- package/dist-esm/src/operations/address.js.map +1 -0
- package/dist-esm/src/operations/agreements.d.ts +42 -0
- package/dist-esm/src/operations/agreements.d.ts.map +1 -0
- package/dist-esm/src/operations/agreements.js +156 -0
- package/dist-esm/src/operations/agreements.js.map +1 -0
- package/dist-esm/src/operations/availableBalances.d.ts +22 -0
- package/dist-esm/src/operations/availableBalances.d.ts.map +1 -0
- package/dist-esm/src/operations/availableBalances.js +54 -0
- package/dist-esm/src/operations/availableBalances.js.map +1 -0
- package/dist-esm/src/operations/billingAccounts.d.ts +79 -0
- package/dist-esm/src/operations/billingAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/billingAccounts.js +330 -0
- package/dist-esm/src/operations/billingAccounts.js.map +1 -0
- package/dist-esm/src/operations/billingPeriods.d.ts +44 -0
- package/dist-esm/src/operations/billingPeriods.d.ts.map +1 -0
- package/dist-esm/src/operations/billingPeriods.js +168 -0
- package/dist-esm/src/operations/billingPeriods.js.map +1 -0
- package/dist-esm/src/operations/billingPermissions.d.ts +110 -0
- package/dist-esm/src/operations/billingPermissions.d.ts.map +1 -0
- package/dist-esm/src/operations/billingPermissions.js +468 -0
- package/dist-esm/src/operations/billingPermissions.js.map +1 -0
- package/dist-esm/src/operations/billingProfiles.d.ts +64 -0
- package/dist-esm/src/operations/billingProfiles.d.ts.map +1 -0
- package/dist-esm/src/operations/billingProfiles.js +245 -0
- package/dist-esm/src/operations/billingProfiles.js.map +1 -0
- package/dist-esm/src/operations/billingPropertyOperations.d.ts +26 -0
- package/dist-esm/src/operations/billingPropertyOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/billingPropertyOperations.js +74 -0
- package/dist-esm/src/operations/billingPropertyOperations.js.map +1 -0
- package/dist-esm/src/operations/billingRoleAssignments.d.ts +146 -0
- package/dist-esm/src/operations/billingRoleAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/billingRoleAssignments.js +578 -0
- package/dist-esm/src/operations/billingRoleAssignments.js.map +1 -0
- package/dist-esm/src/operations/billingRoleDefinitions.d.ts +119 -0
- package/dist-esm/src/operations/billingRoleDefinitions.d.ts.map +1 -0
- package/dist-esm/src/operations/billingRoleDefinitions.js +471 -0
- package/dist-esm/src/operations/billingRoleDefinitions.js.map +1 -0
- package/dist-esm/src/operations/billingSubscriptions.d.ts +160 -0
- package/dist-esm/src/operations/billingSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/billingSubscriptions.js +655 -0
- package/dist-esm/src/operations/billingSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/customers.d.ts +71 -0
- package/dist-esm/src/operations/customers.d.ts.map +1 -0
- package/dist-esm/src/operations/customers.js +287 -0
- package/dist-esm/src/operations/customers.js.map +1 -0
- package/dist-esm/src/operations/enrollmentAccounts.d.ts +38 -0
- package/dist-esm/src/operations/enrollmentAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/enrollmentAccounts.js +144 -0
- package/dist-esm/src/operations/enrollmentAccounts.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +22 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +29 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/instructions.d.ts +57 -0
- package/dist-esm/src/operations/instructions.d.ts.map +1 -0
- package/dist-esm/src/operations/instructions.js +208 -0
- package/dist-esm/src/operations/instructions.js.map +1 -0
- package/dist-esm/src/operations/invoiceSections.d.ts +70 -0
- package/dist-esm/src/operations/invoiceSections.d.ts.map +1 -0
- package/dist-esm/src/operations/invoiceSections.js +264 -0
- package/dist-esm/src/operations/invoiceSections.js.map +1 -0
- package/dist-esm/src/operations/invoices.d.ts +202 -0
- package/dist-esm/src/operations/invoices.d.ts.map +1 -0
- package/dist-esm/src/operations/invoices.js +817 -0
- package/dist-esm/src/operations/invoices.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/policies.d.ts +47 -0
- package/dist-esm/src/operations/policies.d.ts.map +1 -0
- package/dist-esm/src/operations/policies.js +149 -0
- package/dist-esm/src/operations/policies.js.map +1 -0
- package/dist-esm/src/operations/products.d.ts +160 -0
- package/dist-esm/src/operations/products.d.ts.map +1 -0
- package/dist-esm/src/operations/products.js +615 -0
- package/dist-esm/src/operations/products.js.map +1 -0
- package/dist-esm/src/operations/reservations.d.ts +63 -0
- package/dist-esm/src/operations/reservations.d.ts.map +1 -0
- package/dist-esm/src/operations/reservations.js +265 -0
- package/dist-esm/src/operations/reservations.js.map +1 -0
- package/dist-esm/src/operations/transactions.d.ts +40 -0
- package/dist-esm/src/operations/transactions.d.ts.map +1 -0
- package/dist-esm/src/operations/transactions.js +137 -0
- package/dist-esm/src/operations/transactions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/address.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/address.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/address.js +9 -0
- package/dist-esm/src/operationsInterfaces/address.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/agreements.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/agreements.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/agreements.js +9 -0
- package/dist-esm/src/operationsInterfaces/agreements.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availableBalances.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/availableBalances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availableBalances.js +9 -0
- package/dist-esm/src/operationsInterfaces/availableBalances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingAccounts.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/billingAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPeriods.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/billingPeriods.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPeriods.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingPeriods.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPermissions.d.ts +34 -0
- package/dist-esm/src/operationsInterfaces/billingPermissions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPermissions.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingPermissions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingProfiles.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/billingProfiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingProfiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingProfiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPropertyOperations.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/billingPropertyOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPropertyOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingPropertyOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingRoleAssignments.d.ts +84 -0
- package/dist-esm/src/operationsInterfaces/billingRoleAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingRoleAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingRoleAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.d.ts +57 -0
- package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingSubscriptions.d.ts +80 -0
- package/dist-esm/src/operationsInterfaces/billingSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customers.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/customers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customers.js +9 -0
- package/dist-esm/src/operationsInterfaces/customers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/enrollmentAccounts.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/enrollmentAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/enrollmentAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/enrollmentAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +29 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/instructions.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/instructions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/instructions.js +9 -0
- package/dist-esm/src/operationsInterfaces/instructions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/invoiceSections.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/invoiceSections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/invoiceSections.js +9 -0
- package/dist-esm/src/operationsInterfaces/invoiceSections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/invoices.d.ts +124 -0
- package/dist-esm/src/operationsInterfaces/invoices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/invoices.js +9 -0
- package/dist-esm/src/operationsInterfaces/invoices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policies.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policies.js +9 -0
- package/dist-esm/src/operationsInterfaces/policies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.js +9 -0
- package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/reservations.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/reservations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/reservations.js +9 -0
- package/dist-esm/src/operationsInterfaces/reservations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/transactions.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/transactions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/transactions.js +9 -0
- package/dist-esm/src/operationsInterfaces/transactions.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +70 -34
- package/review/arm-billing.api.md +2361 -0
- package/rollup.config.js +184 -27
- package/src/billingManagementClient.ts +157 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3657 -0
- package/src/models/mappers.ts +3839 -0
- package/src/models/parameters.ts +435 -0
- package/src/operations/address.ts +68 -0
- package/src/operations/agreements.ts +203 -0
- package/src/operations/availableBalances.ts +73 -0
- package/src/operations/billingAccounts.ts +433 -0
- package/src/operations/billingPeriods.ts +196 -0
- package/src/operations/billingPermissions.ts +643 -0
- package/src/operations/billingProfiles.ts +334 -0
- package/src/operations/billingPropertyOperations.ts +100 -0
- package/src/operations/billingRoleAssignments.ts +782 -0
- package/src/operations/billingRoleDefinitions.ts +639 -0
- package/src/operations/billingSubscriptions.ts +902 -0
- package/src/operations/customers.ts +377 -0
- package/src/operations/enrollmentAccounts.ts +170 -0
- package/src/operations/index.ts +29 -0
- package/src/operations/instructions.ts +285 -0
- package/src/operations/invoiceSections.ts +373 -0
- package/src/operations/invoices.ts +1176 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/policies.ts +205 -0
- package/src/operations/products.ts +838 -0
- package/src/operations/reservations.ts +344 -0
- package/src/operations/transactions.ts +189 -0
- package/src/operationsInterfaces/address.ts +27 -0
- package/src/operationsInterfaces/agreements.ts +40 -0
- package/src/operationsInterfaces/availableBalances.ts +29 -0
- package/src/operationsInterfaces/billingAccounts.ts +81 -0
- package/src/operationsInterfaces/billingPeriods.ts +40 -0
- package/src/operationsInterfaces/billingPermissions.ts +65 -0
- package/src/operationsInterfaces/billingProfiles.ts +78 -0
- package/src/operationsInterfaces/billingPropertyOperations.ts +37 -0
- package/src/operationsInterfaces/billingRoleAssignments.ts +152 -0
- package/src/operationsInterfaces/billingRoleDefinitions.ts +104 -0
- package/src/operationsInterfaces/billingSubscriptions.ts +144 -0
- package/src/operationsInterfaces/customers.ts +55 -0
- package/src/operationsInterfaces/enrollmentAccounts.ts +36 -0
- package/src/operationsInterfaces/index.ts +29 -0
- package/src/operationsInterfaces/instructions.ts +63 -0
- package/src/operationsInterfaces/invoiceSections.ts +86 -0
- package/src/operationsInterfaces/invoices.ts +233 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/policies.ts +76 -0
- package/src/operationsInterfaces/products.ts +137 -0
- package/src/operationsInterfaces/reservations.ts +41 -0
- package/src/operationsInterfaces/transactions.ts +30 -0
- package/tsconfig.json +4 -4
- package/types/arm-billing.d.ts +4451 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-billing.js +0 -1188
- package/dist/arm-billing.js.map +0 -1
- package/dist/arm-billing.min.js +0 -1
- package/dist/arm-billing.min.js.map +0 -1
- package/esm/billingManagementClient.d.ts +0 -21
- package/esm/billingManagementClient.d.ts.map +0 -1
- package/esm/billingManagementClient.js +0 -36
- package/esm/billingManagementClient.js.map +0 -1
- package/esm/billingManagementClientContext.d.ts +0 -16
- package/esm/billingManagementClientContext.d.ts.map +0 -1
- package/esm/billingManagementClientContext.js +0 -56
- package/esm/billingManagementClientContext.js.map +0 -1
- package/esm/models/billingPeriodsMappers.d.ts +0 -2
- package/esm/models/billingPeriodsMappers.d.ts.map +0 -1
- package/esm/models/billingPeriodsMappers.js +0 -11
- package/esm/models/billingPeriodsMappers.js.map +0 -1
- package/esm/models/enrollmentAccountsMappers.d.ts +0 -2
- package/esm/models/enrollmentAccountsMappers.d.ts.map +0 -1
- package/esm/models/enrollmentAccountsMappers.js +0 -11
- package/esm/models/enrollmentAccountsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -573
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/invoicesMappers.d.ts +0 -2
- package/esm/models/invoicesMappers.d.ts.map +0 -1
- package/esm/models/invoicesMappers.js +0 -11
- package/esm/models/invoicesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -17
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -364
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -13
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -133
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/billingPeriods.d.ts +0 -70
- package/esm/operations/billingPeriods.d.ts.map +0 -1
- package/esm/operations/billingPeriods.js +0 -112
- package/esm/operations/billingPeriods.js.map +0 -1
- package/esm/operations/enrollmentAccounts.d.ts +0 -64
- package/esm/operations/enrollmentAccounts.d.ts.map +0 -1
- package/esm/operations/enrollmentAccounts.js +0 -105
- package/esm/operations/enrollmentAccounts.js.map +0 -1
- package/esm/operations/index.d.ts +0 -5
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -14
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/invoices.d.ts +0 -93
- package/esm/operations/invoices.d.ts.map +0 -1
- package/esm/operations/invoices.js +0 -140
- package/esm/operations/invoices.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/lib/billingManagementClient.ts +0 -48
- package/lib/billingManagementClientContext.ts +0 -62
- package/lib/models/billingPeriodsMappers.ts +0 -22
- package/lib/models/enrollmentAccountsMappers.ts +0 -22
- package/lib/models/index.ts +0 -613
- package/lib/models/invoicesMappers.ts +0 -22
- package/lib/models/mappers.ts +0 -392
- package/lib/models/operationsMappers.ts +0 -18
- package/lib/models/parameters.ts +0 -135
- package/lib/operations/billingPeriods.ts +0 -187
- package/lib/operations/enrollmentAccounts.ts +0 -174
- package/lib/operations/index.ts +0 -14
- package/lib/operations/invoices.ts +0 -243
- package/lib/operations/operations.ts +0 -123
|
@@ -0,0 +1,4451 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Defines values for AcceptanceMode. \
|
|
9
|
+
* {@link KnownAcceptanceMode} can be used interchangeably with AcceptanceMode,
|
|
10
|
+
* this enum contains the known values that the service supports.
|
|
11
|
+
* ### Known values supported by the service
|
|
12
|
+
* **ClickToAccept** \
|
|
13
|
+
* **ESignEmbedded** \
|
|
14
|
+
* **ESignOffline**
|
|
15
|
+
*/
|
|
16
|
+
export declare type AcceptanceMode = string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Defines values for AccountStatus. \
|
|
20
|
+
* {@link KnownAccountStatus} can be used interchangeably with AccountStatus,
|
|
21
|
+
* this enum contains the known values that the service supports.
|
|
22
|
+
* ### Known values supported by the service
|
|
23
|
+
* **Active** \
|
|
24
|
+
* **Deleted** \
|
|
25
|
+
* **Disabled** \
|
|
26
|
+
* **Expired** \
|
|
27
|
+
* **Transferred** \
|
|
28
|
+
* **Extended** \
|
|
29
|
+
* **Terminated**
|
|
30
|
+
*/
|
|
31
|
+
export declare type AccountStatus = string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Defines values for AccountType. \
|
|
35
|
+
* {@link KnownAccountType} can be used interchangeably with AccountType,
|
|
36
|
+
* this enum contains the known values that the service supports.
|
|
37
|
+
* ### Known values supported by the service
|
|
38
|
+
* **Enterprise** \
|
|
39
|
+
* **Individual** \
|
|
40
|
+
* **Partner**
|
|
41
|
+
*/
|
|
42
|
+
export declare type AccountType = string;
|
|
43
|
+
|
|
44
|
+
/** Interface representing a Address. */
|
|
45
|
+
export declare interface Address {
|
|
46
|
+
/**
|
|
47
|
+
* Validates an address. Use the operation to validate an address before using it as soldTo or a billTo
|
|
48
|
+
* address.
|
|
49
|
+
* @param address Address details.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
validate(address: AddressDetails, options?: AddressValidateOptionalParams): Promise<AddressValidateResponse>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** Address details. */
|
|
56
|
+
export declare interface AddressDetails {
|
|
57
|
+
/** First name. */
|
|
58
|
+
firstName?: string;
|
|
59
|
+
/** Middle name. */
|
|
60
|
+
middleName?: string;
|
|
61
|
+
/** Last name. */
|
|
62
|
+
lastName?: string;
|
|
63
|
+
/** Company name. */
|
|
64
|
+
companyName?: string;
|
|
65
|
+
/** Address line 1. */
|
|
66
|
+
addressLine1: string;
|
|
67
|
+
/** Address line 2. */
|
|
68
|
+
addressLine2?: string;
|
|
69
|
+
/** Address line 3. */
|
|
70
|
+
addressLine3?: string;
|
|
71
|
+
/** Address city. */
|
|
72
|
+
city?: string;
|
|
73
|
+
/** Address district. */
|
|
74
|
+
district?: string;
|
|
75
|
+
/** Address region. */
|
|
76
|
+
region?: string;
|
|
77
|
+
/** Country code uses ISO2, 2-digit format. */
|
|
78
|
+
country: string;
|
|
79
|
+
/** Postal code. */
|
|
80
|
+
postalCode?: string;
|
|
81
|
+
/** Email address. */
|
|
82
|
+
email?: string;
|
|
83
|
+
/** Phone number. */
|
|
84
|
+
phoneNumber?: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** Optional parameters. */
|
|
88
|
+
export declare interface AddressValidateOptionalParams extends coreClient.OperationOptions {
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** Contains response data for the validate operation. */
|
|
92
|
+
export declare type AddressValidateResponse = ValidateAddressResponse;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Defines values for AddressValidationStatus. \
|
|
96
|
+
* {@link KnownAddressValidationStatus} can be used interchangeably with AddressValidationStatus,
|
|
97
|
+
* this enum contains the known values that the service supports.
|
|
98
|
+
* ### Known values supported by the service
|
|
99
|
+
* **Valid** \
|
|
100
|
+
* **Invalid**
|
|
101
|
+
*/
|
|
102
|
+
export declare type AddressValidationStatus = string;
|
|
103
|
+
|
|
104
|
+
/** An agreement. */
|
|
105
|
+
export declare type Agreement = Resource & {
|
|
106
|
+
/**
|
|
107
|
+
* The URL to download the agreement.
|
|
108
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
109
|
+
*/
|
|
110
|
+
readonly agreementLink?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The category of the agreement signed by a customer.
|
|
113
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
114
|
+
*/
|
|
115
|
+
readonly category?: Category;
|
|
116
|
+
/**
|
|
117
|
+
* The mode of acceptance for an agreement.
|
|
118
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
119
|
+
*/
|
|
120
|
+
readonly acceptanceMode?: AcceptanceMode;
|
|
121
|
+
/**
|
|
122
|
+
* The date from which the agreement is effective.
|
|
123
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
124
|
+
*/
|
|
125
|
+
readonly effectiveDate?: Date;
|
|
126
|
+
/**
|
|
127
|
+
* The date when the agreement expires.
|
|
128
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
129
|
+
*/
|
|
130
|
+
readonly expirationDate?: Date;
|
|
131
|
+
/** The list of participants that participates in acceptance of an agreement. */
|
|
132
|
+
participants?: Participants[];
|
|
133
|
+
/**
|
|
134
|
+
* The current status of the agreement.
|
|
135
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
136
|
+
*/
|
|
137
|
+
readonly status?: string;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/** Result of listing agreements. */
|
|
141
|
+
export declare interface AgreementListResult {
|
|
142
|
+
/**
|
|
143
|
+
* The list of agreements.
|
|
144
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
145
|
+
*/
|
|
146
|
+
readonly value?: Agreement[];
|
|
147
|
+
/**
|
|
148
|
+
* The link (url) to the next page of results.
|
|
149
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
150
|
+
*/
|
|
151
|
+
readonly nextLink?: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/** Interface representing a Agreements. */
|
|
155
|
+
export declare interface Agreements {
|
|
156
|
+
/**
|
|
157
|
+
* Lists the agreements for a billing account.
|
|
158
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
159
|
+
* @param options The options parameters.
|
|
160
|
+
*/
|
|
161
|
+
listByBillingAccount(billingAccountName: string, options?: AgreementsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Agreement>;
|
|
162
|
+
/**
|
|
163
|
+
* Gets an agreement by ID.
|
|
164
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
165
|
+
* @param agreementName The ID that uniquely identifies an agreement.
|
|
166
|
+
* @param options The options parameters.
|
|
167
|
+
*/
|
|
168
|
+
get(billingAccountName: string, agreementName: string, options?: AgreementsGetOptionalParams): Promise<AgreementsGetResponse>;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/** Optional parameters. */
|
|
172
|
+
export declare interface AgreementsGetOptionalParams extends coreClient.OperationOptions {
|
|
173
|
+
/** May be used to expand the participants. */
|
|
174
|
+
expand?: string;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** Contains response data for the get operation. */
|
|
178
|
+
export declare type AgreementsGetResponse = Agreement;
|
|
179
|
+
|
|
180
|
+
/** Optional parameters. */
|
|
181
|
+
export declare interface AgreementsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
182
|
+
/** May be used to expand the participants. */
|
|
183
|
+
expand?: string;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
187
|
+
export declare type AgreementsListByBillingAccountNextResponse = AgreementListResult;
|
|
188
|
+
|
|
189
|
+
/** Optional parameters. */
|
|
190
|
+
export declare interface AgreementsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
191
|
+
/** May be used to expand the participants. */
|
|
192
|
+
expand?: string;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
196
|
+
export declare type AgreementsListByBillingAccountResponse = AgreementListResult;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Defines values for AgreementType. \
|
|
200
|
+
* {@link KnownAgreementType} can be used interchangeably with AgreementType,
|
|
201
|
+
* this enum contains the known values that the service supports.
|
|
202
|
+
* ### Known values supported by the service
|
|
203
|
+
* **MicrosoftCustomerAgreement** \
|
|
204
|
+
* **EnterpriseAgreement** \
|
|
205
|
+
* **MicrosoftOnlineServicesProgram** \
|
|
206
|
+
* **MicrosoftPartnerAgreement**
|
|
207
|
+
*/
|
|
208
|
+
export declare type AgreementType = string;
|
|
209
|
+
|
|
210
|
+
/** The amount. */
|
|
211
|
+
export declare interface Amount {
|
|
212
|
+
/**
|
|
213
|
+
* The currency for the amount value.
|
|
214
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
215
|
+
*/
|
|
216
|
+
readonly currency?: string;
|
|
217
|
+
/** Amount value. */
|
|
218
|
+
value?: number;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Defines values for AutoRenew. \
|
|
223
|
+
* {@link KnownAutoRenew} can be used interchangeably with AutoRenew,
|
|
224
|
+
* this enum contains the known values that the service supports.
|
|
225
|
+
* ### Known values supported by the service
|
|
226
|
+
* **Off** \
|
|
227
|
+
* **On**
|
|
228
|
+
*/
|
|
229
|
+
export declare type AutoRenew = string;
|
|
230
|
+
|
|
231
|
+
/** The latest Azure credit balance. This is the balance available for pay now. */
|
|
232
|
+
export declare type AvailableBalance = Resource & {
|
|
233
|
+
/**
|
|
234
|
+
* Balance amount.
|
|
235
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
236
|
+
*/
|
|
237
|
+
readonly amount?: Amount;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
/** Interface representing a AvailableBalances. */
|
|
241
|
+
export declare interface AvailableBalances {
|
|
242
|
+
/**
|
|
243
|
+
* The available credit balance for a billing profile. This is the balance that can be used for pay now
|
|
244
|
+
* to settle due or past due invoices. The operation is supported only for billing accounts with
|
|
245
|
+
* agreement type Microsoft Customer Agreement.
|
|
246
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
247
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
248
|
+
* @param options The options parameters.
|
|
249
|
+
*/
|
|
250
|
+
get(billingAccountName: string, billingProfileName: string, options?: AvailableBalancesGetOptionalParams): Promise<AvailableBalancesGetResponse>;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/** Optional parameters. */
|
|
254
|
+
export declare interface AvailableBalancesGetOptionalParams extends coreClient.OperationOptions {
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/** Contains response data for the get operation. */
|
|
258
|
+
export declare type AvailableBalancesGetResponse = AvailableBalance;
|
|
259
|
+
|
|
260
|
+
/** Details of the Azure plan. */
|
|
261
|
+
export declare interface AzurePlan {
|
|
262
|
+
/** The sku id. */
|
|
263
|
+
skuId?: string;
|
|
264
|
+
/**
|
|
265
|
+
* The sku description.
|
|
266
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
267
|
+
*/
|
|
268
|
+
readonly skuDescription?: string;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/** A billing account. */
|
|
272
|
+
export declare type BillingAccount = Resource & {
|
|
273
|
+
/** The billing account name. */
|
|
274
|
+
displayName?: string;
|
|
275
|
+
/** The address of the individual or organization that is responsible for the billing account. */
|
|
276
|
+
soldTo?: AddressDetails;
|
|
277
|
+
/**
|
|
278
|
+
* The type of agreement.
|
|
279
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
280
|
+
*/
|
|
281
|
+
readonly agreementType?: AgreementType;
|
|
282
|
+
/**
|
|
283
|
+
* The type of customer.
|
|
284
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
285
|
+
*/
|
|
286
|
+
readonly accountType?: AccountType;
|
|
287
|
+
/**
|
|
288
|
+
* The current status of the billing account.
|
|
289
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
290
|
+
*/
|
|
291
|
+
readonly accountStatus?: AccountStatus;
|
|
292
|
+
/** The billing profiles associated with the billing account. By default this is not populated, unless it's specified in $expand. */
|
|
293
|
+
billingProfiles?: BillingProfilesOnExpand;
|
|
294
|
+
/**
|
|
295
|
+
* The details about the associated legacy enrollment. By default this is not populated, unless it's specified in $expand.
|
|
296
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
297
|
+
*/
|
|
298
|
+
readonly enrollmentDetails?: Enrollment;
|
|
299
|
+
/** The departments associated to the enrollment. */
|
|
300
|
+
departments?: Department[];
|
|
301
|
+
/** The accounts associated to the enrollment. */
|
|
302
|
+
enrollmentAccounts?: EnrollmentAccount[];
|
|
303
|
+
/**
|
|
304
|
+
* Indicates whether user has read access to the billing account.
|
|
305
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
306
|
+
*/
|
|
307
|
+
readonly hasReadAccess?: boolean;
|
|
308
|
+
/** Notification email address, only for legacy accounts */
|
|
309
|
+
notificationEmailAddress?: string;
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
/** The list of billing accounts. */
|
|
313
|
+
export declare interface BillingAccountListResult {
|
|
314
|
+
/**
|
|
315
|
+
* The list of billing accounts.
|
|
316
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
317
|
+
*/
|
|
318
|
+
readonly value?: BillingAccount[];
|
|
319
|
+
/**
|
|
320
|
+
* The link (url) to the next page of results.
|
|
321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
322
|
+
*/
|
|
323
|
+
readonly nextLink?: string;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/** Interface representing a BillingAccounts. */
|
|
327
|
+
export declare interface BillingAccounts {
|
|
328
|
+
/**
|
|
329
|
+
* Lists the billing accounts that a user has access to.
|
|
330
|
+
* @param options The options parameters.
|
|
331
|
+
*/
|
|
332
|
+
list(options?: BillingAccountsListOptionalParams): PagedAsyncIterableIterator<BillingAccount>;
|
|
333
|
+
/**
|
|
334
|
+
* Lists the invoice sections for which the user has permission to create Azure subscriptions. The
|
|
335
|
+
* operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
336
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
337
|
+
* @param options The options parameters.
|
|
338
|
+
*/
|
|
339
|
+
listInvoiceSectionsByCreateSubscriptionPermission(billingAccountName: string, options?: BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionOptionalParams): PagedAsyncIterableIterator<InvoiceSectionWithCreateSubPermission>;
|
|
340
|
+
/**
|
|
341
|
+
* Gets a billing account by its ID.
|
|
342
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
343
|
+
* @param options The options parameters.
|
|
344
|
+
*/
|
|
345
|
+
get(billingAccountName: string, options?: BillingAccountsGetOptionalParams): Promise<BillingAccountsGetResponse>;
|
|
346
|
+
/**
|
|
347
|
+
* Updates the properties of a billing account. Currently, displayName and address can be updated. The
|
|
348
|
+
* operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
349
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
350
|
+
* @param parameters Request parameters that are provided to the update billing account operation.
|
|
351
|
+
* @param options The options parameters.
|
|
352
|
+
*/
|
|
353
|
+
beginUpdate(billingAccountName: string, parameters: BillingAccountUpdateRequest, options?: BillingAccountsUpdateOptionalParams): Promise<PollerLike<PollOperationState<BillingAccountsUpdateResponse>, BillingAccountsUpdateResponse>>;
|
|
354
|
+
/**
|
|
355
|
+
* Updates the properties of a billing account. Currently, displayName and address can be updated. The
|
|
356
|
+
* operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
357
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
358
|
+
* @param parameters Request parameters that are provided to the update billing account operation.
|
|
359
|
+
* @param options The options parameters.
|
|
360
|
+
*/
|
|
361
|
+
beginUpdateAndWait(billingAccountName: string, parameters: BillingAccountUpdateRequest, options?: BillingAccountsUpdateOptionalParams): Promise<BillingAccountsUpdateResponse>;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/** Optional parameters. */
|
|
365
|
+
export declare interface BillingAccountsGetOptionalParams extends coreClient.OperationOptions {
|
|
366
|
+
/** May be used to expand the soldTo, invoice sections and billing profiles. */
|
|
367
|
+
expand?: string;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/** Contains response data for the get operation. */
|
|
371
|
+
export declare type BillingAccountsGetResponse = BillingAccount;
|
|
372
|
+
|
|
373
|
+
/** Optional parameters. */
|
|
374
|
+
export declare interface BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionNextOptionalParams extends coreClient.OperationOptions {
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/** Contains response data for the listInvoiceSectionsByCreateSubscriptionPermissionNext operation. */
|
|
378
|
+
export declare type BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionNextResponse = InvoiceSectionListWithCreateSubPermissionResult;
|
|
379
|
+
|
|
380
|
+
/** Optional parameters. */
|
|
381
|
+
export declare interface BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionOptionalParams extends coreClient.OperationOptions {
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/** Contains response data for the listInvoiceSectionsByCreateSubscriptionPermission operation. */
|
|
385
|
+
export declare type BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionResponse = InvoiceSectionListWithCreateSubPermissionResult;
|
|
386
|
+
|
|
387
|
+
/** Optional parameters. */
|
|
388
|
+
export declare interface BillingAccountsListNextOptionalParams extends coreClient.OperationOptions {
|
|
389
|
+
/** May be used to expand the soldTo, invoice sections and billing profiles. */
|
|
390
|
+
expand?: string;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/** Contains response data for the listNext operation. */
|
|
394
|
+
export declare type BillingAccountsListNextResponse = BillingAccountListResult;
|
|
395
|
+
|
|
396
|
+
/** Optional parameters. */
|
|
397
|
+
export declare interface BillingAccountsListOptionalParams extends coreClient.OperationOptions {
|
|
398
|
+
/** May be used to expand the soldTo, invoice sections and billing profiles. */
|
|
399
|
+
expand?: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/** Contains response data for the list operation. */
|
|
403
|
+
export declare type BillingAccountsListResponse = BillingAccountListResult;
|
|
404
|
+
|
|
405
|
+
/** Optional parameters. */
|
|
406
|
+
export declare interface BillingAccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
407
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
408
|
+
updateIntervalInMs?: number;
|
|
409
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
410
|
+
resumeFrom?: string;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/** Contains response data for the update operation. */
|
|
414
|
+
export declare type BillingAccountsUpdateResponse = BillingAccount;
|
|
415
|
+
|
|
416
|
+
/** The request properties of the billing account that can be updated. */
|
|
417
|
+
export declare interface BillingAccountUpdateRequest {
|
|
418
|
+
/** The billing account name. */
|
|
419
|
+
displayName?: string;
|
|
420
|
+
/** The address of the individual or organization that is responsible for the billing account. */
|
|
421
|
+
soldTo?: AddressDetails;
|
|
422
|
+
/**
|
|
423
|
+
* The type of agreement.
|
|
424
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
425
|
+
*/
|
|
426
|
+
readonly agreementType?: AgreementType;
|
|
427
|
+
/**
|
|
428
|
+
* The type of customer.
|
|
429
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
430
|
+
*/
|
|
431
|
+
readonly accountType?: AccountType;
|
|
432
|
+
/**
|
|
433
|
+
* The current status of the billing account.
|
|
434
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
435
|
+
*/
|
|
436
|
+
readonly accountStatus?: AccountStatus;
|
|
437
|
+
/** The billing profiles associated with the billing account. By default this is not populated, unless it's specified in $expand. */
|
|
438
|
+
billingProfiles?: BillingProfilesOnExpand;
|
|
439
|
+
/**
|
|
440
|
+
* The details about the associated legacy enrollment. By default this is not populated, unless it's specified in $expand.
|
|
441
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
442
|
+
*/
|
|
443
|
+
readonly enrollmentDetails?: Enrollment;
|
|
444
|
+
/** The departments associated to the enrollment. */
|
|
445
|
+
departments?: Department[];
|
|
446
|
+
/** The accounts associated to the enrollment. */
|
|
447
|
+
enrollmentAccounts?: EnrollmentAccount[];
|
|
448
|
+
/**
|
|
449
|
+
* Indicates whether user has read access to the billing account.
|
|
450
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
451
|
+
*/
|
|
452
|
+
readonly hasReadAccess?: boolean;
|
|
453
|
+
/** Notification email address, only for legacy accounts */
|
|
454
|
+
notificationEmailAddress?: string;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Defines values for BillingFrequency. \
|
|
459
|
+
* {@link KnownBillingFrequency} can be used interchangeably with BillingFrequency,
|
|
460
|
+
* this enum contains the known values that the service supports.
|
|
461
|
+
* ### Known values supported by the service
|
|
462
|
+
* **OneTime** \
|
|
463
|
+
* **Monthly** \
|
|
464
|
+
* **UsageBased**
|
|
465
|
+
*/
|
|
466
|
+
export declare type BillingFrequency = string;
|
|
467
|
+
|
|
468
|
+
export declare class BillingManagementClient extends coreClient.ServiceClient {
|
|
469
|
+
$host: string;
|
|
470
|
+
subscriptionId: string;
|
|
471
|
+
/**
|
|
472
|
+
* Initializes a new instance of the BillingManagementClient class.
|
|
473
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
474
|
+
* @param subscriptionId The ID that uniquely identifies an Azure subscription.
|
|
475
|
+
* @param options The parameter options
|
|
476
|
+
*/
|
|
477
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: BillingManagementClientOptionalParams);
|
|
478
|
+
billingAccounts: BillingAccounts;
|
|
479
|
+
address: Address;
|
|
480
|
+
availableBalances: AvailableBalances;
|
|
481
|
+
instructions: Instructions;
|
|
482
|
+
billingProfiles: BillingProfiles;
|
|
483
|
+
customers: Customers;
|
|
484
|
+
invoiceSections: InvoiceSections;
|
|
485
|
+
billingPermissions: BillingPermissions;
|
|
486
|
+
billingSubscriptions: BillingSubscriptions;
|
|
487
|
+
products: Products;
|
|
488
|
+
invoices: Invoices;
|
|
489
|
+
transactions: Transactions;
|
|
490
|
+
policies: Policies;
|
|
491
|
+
billingPropertyOperations: BillingPropertyOperations;
|
|
492
|
+
operations: Operations;
|
|
493
|
+
billingRoleDefinitions: BillingRoleDefinitions;
|
|
494
|
+
billingRoleAssignments: BillingRoleAssignments;
|
|
495
|
+
agreements: Agreements;
|
|
496
|
+
reservations: Reservations;
|
|
497
|
+
enrollmentAccounts: EnrollmentAccounts;
|
|
498
|
+
billingPeriods: BillingPeriods;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/** Optional parameters. */
|
|
502
|
+
export declare interface BillingManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
503
|
+
/** server parameter */
|
|
504
|
+
$host?: string;
|
|
505
|
+
/** Overrides client endpoint. */
|
|
506
|
+
endpoint?: string;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/** A billing period resource. */
|
|
510
|
+
export declare type BillingPeriod = Resource & {
|
|
511
|
+
/**
|
|
512
|
+
* The start of the date range covered by the billing period.
|
|
513
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
514
|
+
*/
|
|
515
|
+
readonly billingPeriodStartDate?: Date;
|
|
516
|
+
/**
|
|
517
|
+
* The end of the date range covered by the billing period.
|
|
518
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
519
|
+
*/
|
|
520
|
+
readonly billingPeriodEndDate?: Date;
|
|
521
|
+
/**
|
|
522
|
+
* Array of invoice ids that associated with.
|
|
523
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
524
|
+
*/
|
|
525
|
+
readonly invoiceIds?: string[];
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
/** Interface representing a BillingPeriods. */
|
|
529
|
+
export declare interface BillingPeriods {
|
|
530
|
+
/**
|
|
531
|
+
* Lists the available billing periods for a subscription in reverse chronological order. This is only
|
|
532
|
+
* supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased
|
|
533
|
+
* directly through the Azure web portal are not supported through this preview API.
|
|
534
|
+
* @param options The options parameters.
|
|
535
|
+
*/
|
|
536
|
+
list(options?: BillingPeriodsListOptionalParams): PagedAsyncIterableIterator<BillingPeriod>;
|
|
537
|
+
/**
|
|
538
|
+
* Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other
|
|
539
|
+
* subscription types which were not purchased directly through the Azure web portal are not supported
|
|
540
|
+
* through this preview API.
|
|
541
|
+
* @param billingPeriodName The name of a BillingPeriod resource.
|
|
542
|
+
* @param options The options parameters.
|
|
543
|
+
*/
|
|
544
|
+
get(billingPeriodName: string, options?: BillingPeriodsGetOptionalParams): Promise<BillingPeriodsGetResponse>;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
/** Optional parameters. */
|
|
548
|
+
export declare interface BillingPeriodsGetOptionalParams extends coreClient.OperationOptions {
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/** Contains response data for the get operation. */
|
|
552
|
+
export declare type BillingPeriodsGetResponse = BillingPeriod;
|
|
553
|
+
|
|
554
|
+
/** Optional parameters. */
|
|
555
|
+
export declare interface BillingPeriodsListNextOptionalParams extends coreClient.OperationOptions {
|
|
556
|
+
/** May be used to filter billing periods by billingPeriodEndDate. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. */
|
|
557
|
+
filter?: string;
|
|
558
|
+
/** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. */
|
|
559
|
+
skiptoken?: string;
|
|
560
|
+
/** May be used to limit the number of results to the most recent N billing periods. */
|
|
561
|
+
top?: number;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/** Contains response data for the listNext operation. */
|
|
565
|
+
export declare type BillingPeriodsListNextResponse = BillingPeriodsListResult;
|
|
566
|
+
|
|
567
|
+
/** Optional parameters. */
|
|
568
|
+
export declare interface BillingPeriodsListOptionalParams extends coreClient.OperationOptions {
|
|
569
|
+
/** May be used to filter billing periods by billingPeriodEndDate. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. */
|
|
570
|
+
filter?: string;
|
|
571
|
+
/** Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. */
|
|
572
|
+
skiptoken?: string;
|
|
573
|
+
/** May be used to limit the number of results to the most recent N billing periods. */
|
|
574
|
+
top?: number;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/** Contains response data for the list operation. */
|
|
578
|
+
export declare type BillingPeriodsListResponse = BillingPeriodsListResult;
|
|
579
|
+
|
|
580
|
+
/** Result of listing billing periods. It contains a list of available billing periods in reverse chronological order. */
|
|
581
|
+
export declare interface BillingPeriodsListResult {
|
|
582
|
+
/**
|
|
583
|
+
* The list of billing periods.
|
|
584
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
585
|
+
*/
|
|
586
|
+
readonly value?: BillingPeriod[];
|
|
587
|
+
/**
|
|
588
|
+
* The link (url) to the next page of results.
|
|
589
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
590
|
+
*/
|
|
591
|
+
readonly nextLink?: string;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/** Interface representing a BillingPermissions. */
|
|
595
|
+
export declare interface BillingPermissions {
|
|
596
|
+
/**
|
|
597
|
+
* Lists the billing permissions the caller has for a customer.
|
|
598
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
599
|
+
* @param customerName The ID that uniquely identifies a customer.
|
|
600
|
+
* @param options The options parameters.
|
|
601
|
+
*/
|
|
602
|
+
listByCustomer(billingAccountName: string, customerName: string, options?: BillingPermissionsListByCustomerOptionalParams): PagedAsyncIterableIterator<BillingPermissionsProperties>;
|
|
603
|
+
/**
|
|
604
|
+
* Lists the billing permissions the caller has on a billing account.
|
|
605
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
606
|
+
* @param options The options parameters.
|
|
607
|
+
*/
|
|
608
|
+
listByBillingAccount(billingAccountName: string, options?: BillingPermissionsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingPermissionsProperties>;
|
|
609
|
+
/**
|
|
610
|
+
* Lists the billing permissions the caller has on an invoice section.
|
|
611
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
612
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
613
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
614
|
+
* @param options The options parameters.
|
|
615
|
+
*/
|
|
616
|
+
listByInvoiceSections(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingPermissionsListByInvoiceSectionsOptionalParams): PagedAsyncIterableIterator<BillingPermissionsProperties>;
|
|
617
|
+
/**
|
|
618
|
+
* Lists the billing permissions the caller has on a billing profile.
|
|
619
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
620
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
621
|
+
* @param options The options parameters.
|
|
622
|
+
*/
|
|
623
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingPermissionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingPermissionsProperties>;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/** Optional parameters. */
|
|
627
|
+
export declare interface BillingPermissionsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
631
|
+
export declare type BillingPermissionsListByBillingAccountNextResponse = BillingPermissionsListResult;
|
|
632
|
+
|
|
633
|
+
/** Optional parameters. */
|
|
634
|
+
export declare interface BillingPermissionsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
638
|
+
export declare type BillingPermissionsListByBillingAccountResponse = BillingPermissionsListResult;
|
|
639
|
+
|
|
640
|
+
/** Optional parameters. */
|
|
641
|
+
export declare interface BillingPermissionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
645
|
+
export declare type BillingPermissionsListByBillingProfileNextResponse = BillingPermissionsListResult;
|
|
646
|
+
|
|
647
|
+
/** Optional parameters. */
|
|
648
|
+
export declare interface BillingPermissionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
652
|
+
export declare type BillingPermissionsListByBillingProfileResponse = BillingPermissionsListResult;
|
|
653
|
+
|
|
654
|
+
/** Optional parameters. */
|
|
655
|
+
export declare interface BillingPermissionsListByCustomerNextOptionalParams extends coreClient.OperationOptions {
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/** Contains response data for the listByCustomerNext operation. */
|
|
659
|
+
export declare type BillingPermissionsListByCustomerNextResponse = BillingPermissionsListResult;
|
|
660
|
+
|
|
661
|
+
/** Optional parameters. */
|
|
662
|
+
export declare interface BillingPermissionsListByCustomerOptionalParams extends coreClient.OperationOptions {
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/** Contains response data for the listByCustomer operation. */
|
|
666
|
+
export declare type BillingPermissionsListByCustomerResponse = BillingPermissionsListResult;
|
|
667
|
+
|
|
668
|
+
/** Optional parameters. */
|
|
669
|
+
export declare interface BillingPermissionsListByInvoiceSectionsNextOptionalParams extends coreClient.OperationOptions {
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/** Contains response data for the listByInvoiceSectionsNext operation. */
|
|
673
|
+
export declare type BillingPermissionsListByInvoiceSectionsNextResponse = BillingPermissionsListResult;
|
|
674
|
+
|
|
675
|
+
/** Optional parameters. */
|
|
676
|
+
export declare interface BillingPermissionsListByInvoiceSectionsOptionalParams extends coreClient.OperationOptions {
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/** Contains response data for the listByInvoiceSections operation. */
|
|
680
|
+
export declare type BillingPermissionsListByInvoiceSectionsResponse = BillingPermissionsListResult;
|
|
681
|
+
|
|
682
|
+
/** Result of list billingPermissions a caller has on a billing account. */
|
|
683
|
+
export declare interface BillingPermissionsListResult {
|
|
684
|
+
/**
|
|
685
|
+
* The list of billingPermissions a caller has on a billing account.
|
|
686
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
687
|
+
*/
|
|
688
|
+
readonly value?: BillingPermissionsProperties[];
|
|
689
|
+
/**
|
|
690
|
+
* The link (url) to the next page of results.
|
|
691
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
692
|
+
*/
|
|
693
|
+
readonly nextLink?: string;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/** The set of allowed action and not allowed actions a caller has on a billing account */
|
|
697
|
+
export declare interface BillingPermissionsProperties {
|
|
698
|
+
/**
|
|
699
|
+
* The set of actions that the caller is allowed to perform.
|
|
700
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
701
|
+
*/
|
|
702
|
+
readonly actions?: string[];
|
|
703
|
+
/**
|
|
704
|
+
* The set of actions that the caller is not allowed to perform.
|
|
705
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
706
|
+
*/
|
|
707
|
+
readonly notActions?: string[];
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/** A billing profile. */
|
|
711
|
+
export declare type BillingProfile = Resource & {
|
|
712
|
+
/** The name of the billing profile. */
|
|
713
|
+
displayName?: string;
|
|
714
|
+
/** The purchase order name that will appear on the invoices generated for the billing profile. */
|
|
715
|
+
poNumber?: string;
|
|
716
|
+
/**
|
|
717
|
+
* Identifies which services and purchases are paid by a billing profile.
|
|
718
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
719
|
+
*/
|
|
720
|
+
readonly billingRelationshipType?: BillingRelationshipType;
|
|
721
|
+
/** Billing address. */
|
|
722
|
+
billTo?: AddressDetails;
|
|
723
|
+
/**
|
|
724
|
+
* Identifies the billing profile that is linked to another billing profile in indirect purchase motion.
|
|
725
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
726
|
+
*/
|
|
727
|
+
readonly indirectRelationshipInfo?: IndirectRelationshipInfo;
|
|
728
|
+
/** Flag controlling whether the invoices for the billing profile are sent through email. */
|
|
729
|
+
invoiceEmailOptIn?: boolean;
|
|
730
|
+
/**
|
|
731
|
+
* The day of the month when the invoice for the billing profile is generated.
|
|
732
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
733
|
+
*/
|
|
734
|
+
readonly invoiceDay?: number;
|
|
735
|
+
/**
|
|
736
|
+
* The currency in which the charges for the billing profile are billed.
|
|
737
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
738
|
+
*/
|
|
739
|
+
readonly currency?: string;
|
|
740
|
+
/** Information about the enabled azure plans. */
|
|
741
|
+
enabledAzurePlans?: AzurePlan[];
|
|
742
|
+
/** The invoice sections associated to the billing profile. By default this is not populated, unless it's specified in $expand. */
|
|
743
|
+
invoiceSections?: InvoiceSectionsOnExpand;
|
|
744
|
+
/**
|
|
745
|
+
* Indicates whether user has read access to the billing profile.
|
|
746
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
747
|
+
*/
|
|
748
|
+
readonly hasReadAccess?: boolean;
|
|
749
|
+
/**
|
|
750
|
+
* The system generated unique identifier for a billing profile.
|
|
751
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
752
|
+
*/
|
|
753
|
+
readonly systemId?: string;
|
|
754
|
+
/**
|
|
755
|
+
* The status of the billing profile.
|
|
756
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
757
|
+
*/
|
|
758
|
+
readonly status?: BillingProfileStatus;
|
|
759
|
+
/**
|
|
760
|
+
* Reason for the specified billing profile status.
|
|
761
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
762
|
+
*/
|
|
763
|
+
readonly statusReasonCode?: StatusReasonCode;
|
|
764
|
+
/**
|
|
765
|
+
* The billing profile spending limit.
|
|
766
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
767
|
+
*/
|
|
768
|
+
readonly spendingLimit?: SpendingLimit;
|
|
769
|
+
/**
|
|
770
|
+
* Identifies the cloud environments that are associated with a billing profile. This is a system managed optional field and gets updated as the billing profile gets associated with accounts in various clouds.
|
|
771
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
772
|
+
*/
|
|
773
|
+
readonly targetClouds?: TargetCloud[];
|
|
774
|
+
/** Tags of billing profiles. */
|
|
775
|
+
tags?: {
|
|
776
|
+
[propertyName: string]: string;
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
/** The request parameters for creating a new billing profile. */
|
|
781
|
+
export declare interface BillingProfileCreationRequest {
|
|
782
|
+
/** The name of the billing profile. */
|
|
783
|
+
displayName?: string;
|
|
784
|
+
/** The purchase order name that will appear on the invoices generated for the billing profile. */
|
|
785
|
+
poNumber?: string;
|
|
786
|
+
/** The address of the individual or organization that is responsible for the billing profile. */
|
|
787
|
+
billTo?: AddressDetails;
|
|
788
|
+
/** Flag controlling whether the invoices for the billing profile are sent through email. */
|
|
789
|
+
invoiceEmailOptIn?: boolean;
|
|
790
|
+
/** Enabled azure plans for the billing profile. */
|
|
791
|
+
enabledAzurePlans?: AzurePlan[];
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/** The list of billing profiles. */
|
|
795
|
+
export declare interface BillingProfileListResult {
|
|
796
|
+
/**
|
|
797
|
+
* The list of billing profiles.
|
|
798
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
799
|
+
*/
|
|
800
|
+
readonly value?: BillingProfile[];
|
|
801
|
+
/**
|
|
802
|
+
* The link (url) to the next page of results.
|
|
803
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
804
|
+
*/
|
|
805
|
+
readonly nextLink?: string;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/** Interface representing a BillingProfiles. */
|
|
809
|
+
export declare interface BillingProfiles {
|
|
810
|
+
/**
|
|
811
|
+
* Lists the billing profiles that a user has access to. The operation is supported for billing
|
|
812
|
+
* accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
813
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
814
|
+
* @param options The options parameters.
|
|
815
|
+
*/
|
|
816
|
+
listByBillingAccount(billingAccountName: string, options?: BillingProfilesListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingProfile>;
|
|
817
|
+
/**
|
|
818
|
+
* Gets a billing profile by its ID. The operation is supported for billing accounts with agreement
|
|
819
|
+
* type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
820
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
821
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
822
|
+
* @param options The options parameters.
|
|
823
|
+
*/
|
|
824
|
+
get(billingAccountName: string, billingProfileName: string, options?: BillingProfilesGetOptionalParams): Promise<BillingProfilesGetResponse>;
|
|
825
|
+
/**
|
|
826
|
+
* Creates or updates a billing profile. The operation is supported for billing accounts with agreement
|
|
827
|
+
* type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
828
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
829
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
830
|
+
* @param parameters The new or updated billing profile.
|
|
831
|
+
* @param options The options parameters.
|
|
832
|
+
*/
|
|
833
|
+
beginCreateOrUpdate(billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BillingProfilesCreateOrUpdateResponse>, BillingProfilesCreateOrUpdateResponse>>;
|
|
834
|
+
/**
|
|
835
|
+
* Creates or updates a billing profile. The operation is supported for billing accounts with agreement
|
|
836
|
+
* type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
837
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
838
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
839
|
+
* @param parameters The new or updated billing profile.
|
|
840
|
+
* @param options The options parameters.
|
|
841
|
+
*/
|
|
842
|
+
beginCreateOrUpdateAndWait(billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams): Promise<BillingProfilesCreateOrUpdateResponse>;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/** Defines headers for BillingProfiles_createOrUpdate operation. */
|
|
846
|
+
export declare interface BillingProfilesCreateOrUpdateHeaders {
|
|
847
|
+
/** Location URI to poll for result */
|
|
848
|
+
location?: string;
|
|
849
|
+
/** Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds. */
|
|
850
|
+
retryAfter?: number;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/** Optional parameters. */
|
|
854
|
+
export declare interface BillingProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
855
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
856
|
+
updateIntervalInMs?: number;
|
|
857
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
858
|
+
resumeFrom?: string;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
862
|
+
export declare type BillingProfilesCreateOrUpdateResponse = BillingProfile;
|
|
863
|
+
|
|
864
|
+
/** Optional parameters. */
|
|
865
|
+
export declare interface BillingProfilesGetOptionalParams extends coreClient.OperationOptions {
|
|
866
|
+
/** May be used to expand the invoice sections. */
|
|
867
|
+
expand?: string;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
/** Contains response data for the get operation. */
|
|
871
|
+
export declare type BillingProfilesGetResponse = BillingProfile;
|
|
872
|
+
|
|
873
|
+
/** Optional parameters. */
|
|
874
|
+
export declare interface BillingProfilesListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
875
|
+
/** May be used to expand the invoice sections. */
|
|
876
|
+
expand?: string;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
880
|
+
export declare type BillingProfilesListByBillingAccountNextResponse = BillingProfileListResult;
|
|
881
|
+
|
|
882
|
+
/** Optional parameters. */
|
|
883
|
+
export declare interface BillingProfilesListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
884
|
+
/** May be used to expand the invoice sections. */
|
|
885
|
+
expand?: string;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
889
|
+
export declare type BillingProfilesListByBillingAccountResponse = BillingProfileListResult;
|
|
890
|
+
|
|
891
|
+
/** The billing profiles associated with the billing account. By default this is not populated, unless it's specified in $expand. */
|
|
892
|
+
export declare interface BillingProfilesOnExpand {
|
|
893
|
+
/**
|
|
894
|
+
* Indicates whether there are more billing profiles than the ones listed in this collection. The collection lists a maximum of 50 billing profiles. To get all billing profiles, use the list billing profiles API.
|
|
895
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
896
|
+
*/
|
|
897
|
+
readonly hasMoreResults?: boolean;
|
|
898
|
+
/** The billing profiles associated with the billing account. */
|
|
899
|
+
value?: BillingProfile[];
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* Defines values for BillingProfileSpendingLimit. \
|
|
904
|
+
* {@link KnownBillingProfileSpendingLimit} can be used interchangeably with BillingProfileSpendingLimit,
|
|
905
|
+
* this enum contains the known values that the service supports.
|
|
906
|
+
* ### Known values supported by the service
|
|
907
|
+
* **Off** \
|
|
908
|
+
* **On**
|
|
909
|
+
*/
|
|
910
|
+
export declare type BillingProfileSpendingLimit = string;
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Defines values for BillingProfileStatus. \
|
|
914
|
+
* {@link KnownBillingProfileStatus} can be used interchangeably with BillingProfileStatus,
|
|
915
|
+
* this enum contains the known values that the service supports.
|
|
916
|
+
* ### Known values supported by the service
|
|
917
|
+
* **Active** \
|
|
918
|
+
* **Disabled** \
|
|
919
|
+
* **Warned**
|
|
920
|
+
*/
|
|
921
|
+
export declare type BillingProfileStatus = string;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Defines values for BillingProfileStatusReasonCode. \
|
|
925
|
+
* {@link KnownBillingProfileStatusReasonCode} can be used interchangeably with BillingProfileStatusReasonCode,
|
|
926
|
+
* this enum contains the known values that the service supports.
|
|
927
|
+
* ### Known values supported by the service
|
|
928
|
+
* **PastDue** \
|
|
929
|
+
* **SpendingLimitReached** \
|
|
930
|
+
* **SpendingLimitExpired**
|
|
931
|
+
*/
|
|
932
|
+
export declare type BillingProfileStatusReasonCode = string;
|
|
933
|
+
|
|
934
|
+
/** A billing property. */
|
|
935
|
+
export declare type BillingProperty = Resource & {
|
|
936
|
+
/**
|
|
937
|
+
* The email address on which the account admin gets all Azure notifications.
|
|
938
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
939
|
+
*/
|
|
940
|
+
readonly accountAdminNotificationEmailAddress?: string;
|
|
941
|
+
/**
|
|
942
|
+
* The Azure AD tenant ID of the billing account for the subscription.
|
|
943
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
944
|
+
*/
|
|
945
|
+
readonly billingTenantId?: string;
|
|
946
|
+
/**
|
|
947
|
+
* The ID of the billing account to which the subscription is billed.
|
|
948
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
949
|
+
*/
|
|
950
|
+
readonly billingAccountId?: string;
|
|
951
|
+
/**
|
|
952
|
+
* The name of the billing account to which the subscription is billed.
|
|
953
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
954
|
+
*/
|
|
955
|
+
readonly billingAccountDisplayName?: string;
|
|
956
|
+
/**
|
|
957
|
+
* The ID of the billing profile to which the subscription is billed.
|
|
958
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
959
|
+
*/
|
|
960
|
+
readonly billingProfileId?: string;
|
|
961
|
+
/**
|
|
962
|
+
* The name of the billing profile to which the subscription is billed.
|
|
963
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
964
|
+
*/
|
|
965
|
+
readonly billingProfileDisplayName?: string;
|
|
966
|
+
/**
|
|
967
|
+
* The status of the billing profile.
|
|
968
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
969
|
+
*/
|
|
970
|
+
readonly billingProfileStatus?: BillingProfileStatus;
|
|
971
|
+
/**
|
|
972
|
+
* Reason for the specified billing profile status.
|
|
973
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
974
|
+
*/
|
|
975
|
+
readonly billingProfileStatusReasonCode?: BillingProfileStatusReasonCode;
|
|
976
|
+
/**
|
|
977
|
+
* The billing profile spending limit.
|
|
978
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
979
|
+
*/
|
|
980
|
+
readonly billingProfileSpendingLimit?: BillingProfileSpendingLimit;
|
|
981
|
+
/** The cost center applied to the subscription. */
|
|
982
|
+
costCenter?: string;
|
|
983
|
+
/**
|
|
984
|
+
* The ID of the invoice section to which the subscription is billed.
|
|
985
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
986
|
+
*/
|
|
987
|
+
readonly invoiceSectionId?: string;
|
|
988
|
+
/**
|
|
989
|
+
* The name of the invoice section to which the subscription is billed.
|
|
990
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
991
|
+
*/
|
|
992
|
+
readonly invoiceSectionDisplayName?: string;
|
|
993
|
+
/**
|
|
994
|
+
* Indicates whether user is the account admin.
|
|
995
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
996
|
+
*/
|
|
997
|
+
readonly isAccountAdmin?: boolean;
|
|
998
|
+
/**
|
|
999
|
+
* The product ID of the Azure plan.
|
|
1000
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1001
|
+
*/
|
|
1002
|
+
readonly productId?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* The product name of the Azure plan.
|
|
1005
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1006
|
+
*/
|
|
1007
|
+
readonly productName?: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* The sku ID of the Azure plan for the subscription.
|
|
1010
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1011
|
+
*/
|
|
1012
|
+
readonly skuId?: string;
|
|
1013
|
+
/**
|
|
1014
|
+
* The sku description of the Azure plan for the subscription.
|
|
1015
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1016
|
+
*/
|
|
1017
|
+
readonly skuDescription?: string;
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
/** Optional parameters. */
|
|
1021
|
+
export declare interface BillingPropertyGetOptionalParams extends coreClient.OperationOptions {
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
/** Contains response data for the get operation. */
|
|
1025
|
+
export declare type BillingPropertyGetResponse = BillingProperty;
|
|
1026
|
+
|
|
1027
|
+
/** Interface representing a BillingPropertyOperations. */
|
|
1028
|
+
export declare interface BillingPropertyOperations {
|
|
1029
|
+
/**
|
|
1030
|
+
* Get the billing properties for a subscription. This operation is not supported for billing accounts
|
|
1031
|
+
* with agreement type Enterprise Agreement.
|
|
1032
|
+
* @param options The options parameters.
|
|
1033
|
+
*/
|
|
1034
|
+
get(options?: BillingPropertyGetOptionalParams): Promise<BillingPropertyGetResponse>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Updates the billing property of a subscription. Currently, cost center can be updated. The operation
|
|
1037
|
+
* is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
1038
|
+
* @param parameters Request parameters that are provided to the update billing property operation.
|
|
1039
|
+
* @param options The options parameters.
|
|
1040
|
+
*/
|
|
1041
|
+
update(parameters: BillingProperty, options?: BillingPropertyUpdateOptionalParams): Promise<BillingPropertyUpdateResponse>;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/** Optional parameters. */
|
|
1045
|
+
export declare interface BillingPropertyUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
/** Contains response data for the update operation. */
|
|
1049
|
+
export declare type BillingPropertyUpdateResponse = BillingProperty;
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Defines values for BillingRelationshipType. \
|
|
1053
|
+
* {@link KnownBillingRelationshipType} can be used interchangeably with BillingRelationshipType,
|
|
1054
|
+
* this enum contains the known values that the service supports.
|
|
1055
|
+
* ### Known values supported by the service
|
|
1056
|
+
* **Direct** \
|
|
1057
|
+
* **IndirectCustomer** \
|
|
1058
|
+
* **IndirectPartner** \
|
|
1059
|
+
* **CSPPartner**
|
|
1060
|
+
*/
|
|
1061
|
+
export declare type BillingRelationshipType = string;
|
|
1062
|
+
|
|
1063
|
+
/** The role assignment */
|
|
1064
|
+
export declare type BillingRoleAssignment = Resource & {
|
|
1065
|
+
/**
|
|
1066
|
+
* The date the role assignment was created.
|
|
1067
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1068
|
+
*/
|
|
1069
|
+
readonly createdOn?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* The tenant Id of the user who created the role assignment.
|
|
1072
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1073
|
+
*/
|
|
1074
|
+
readonly createdByPrincipalTenantId?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* The principal Id of the user who created the role assignment.
|
|
1077
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1078
|
+
*/
|
|
1079
|
+
readonly createdByPrincipalId?: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* The email address of the user who created the role assignment.
|
|
1082
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1083
|
+
*/
|
|
1084
|
+
readonly createdByUserEmailAddress?: string;
|
|
1085
|
+
/** The principal id of the user to whom the role was assigned. */
|
|
1086
|
+
principalId?: string;
|
|
1087
|
+
/** The principal tenant id of the user to whom the role was assigned. */
|
|
1088
|
+
principalTenantId?: string;
|
|
1089
|
+
/** The ID of the role definition. */
|
|
1090
|
+
roleDefinitionId?: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* The scope at which the role was assigned.
|
|
1093
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1094
|
+
*/
|
|
1095
|
+
readonly scope?: string;
|
|
1096
|
+
/** The authentication type. */
|
|
1097
|
+
userAuthenticationType?: string;
|
|
1098
|
+
/** The email address of the user. */
|
|
1099
|
+
userEmailAddress?: string;
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1102
|
+
/** The list of role assignments. */
|
|
1103
|
+
export declare interface BillingRoleAssignmentListResult {
|
|
1104
|
+
/**
|
|
1105
|
+
* The list of role assignments.
|
|
1106
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1107
|
+
*/
|
|
1108
|
+
readonly value?: BillingRoleAssignment[];
|
|
1109
|
+
/**
|
|
1110
|
+
* The link (url) to the next page of results.
|
|
1111
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1112
|
+
*/
|
|
1113
|
+
readonly nextLink?: string;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
/** Interface representing a BillingRoleAssignments. */
|
|
1117
|
+
export declare interface BillingRoleAssignments {
|
|
1118
|
+
/**
|
|
1119
|
+
* Lists the role assignments for the caller on a billing account. The operation is supported for
|
|
1120
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1121
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1122
|
+
* @param options The options parameters.
|
|
1123
|
+
*/
|
|
1124
|
+
listByBillingAccount(billingAccountName: string, options?: BillingRoleAssignmentsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Lists the role assignments for the caller on an invoice section. The operation is supported for
|
|
1127
|
+
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
1128
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1129
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1130
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
1131
|
+
* @param options The options parameters.
|
|
1132
|
+
*/
|
|
1133
|
+
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRoleAssignmentsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Lists the role assignments for the caller on a billing profile. The operation is supported for
|
|
1136
|
+
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
1137
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1138
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1139
|
+
* @param options The options parameters.
|
|
1140
|
+
*/
|
|
1141
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingRoleAssignmentsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingRoleAssignment>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Gets a role assignment for the caller on a billing account. The operation is supported for billing
|
|
1144
|
+
* accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1145
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1146
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
1147
|
+
* @param options The options parameters.
|
|
1148
|
+
*/
|
|
1149
|
+
getByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByBillingAccountOptionalParams): Promise<BillingRoleAssignmentsGetByBillingAccountResponse>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Deletes a role assignment for the caller on a billing account. The operation is supported for
|
|
1152
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1153
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1154
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
1155
|
+
* @param options The options parameters.
|
|
1156
|
+
*/
|
|
1157
|
+
deleteByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByBillingAccountOptionalParams): Promise<BillingRoleAssignmentsDeleteByBillingAccountResponse>;
|
|
1158
|
+
/**
|
|
1159
|
+
* Gets a role assignment for the caller on an invoice section. The operation is supported for billing
|
|
1160
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
1161
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1162
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1163
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
1164
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
1165
|
+
* @param options The options parameters.
|
|
1166
|
+
*/
|
|
1167
|
+
getByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByInvoiceSectionOptionalParams): Promise<BillingRoleAssignmentsGetByInvoiceSectionResponse>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Deletes a role assignment for the caller on an invoice section. The operation is supported for
|
|
1170
|
+
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
1171
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1172
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1173
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
1174
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
1175
|
+
* @param options The options parameters.
|
|
1176
|
+
*/
|
|
1177
|
+
deleteByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams): Promise<BillingRoleAssignmentsDeleteByInvoiceSectionResponse>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Gets a role assignment for the caller on a billing profile. The operation is supported for billing
|
|
1180
|
+
* accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1181
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1182
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1183
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
1184
|
+
* @param options The options parameters.
|
|
1185
|
+
*/
|
|
1186
|
+
getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsGetByBillingProfileOptionalParams): Promise<BillingRoleAssignmentsGetByBillingProfileResponse>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Deletes a role assignment for the caller on a billing profile. The operation is supported for
|
|
1189
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1190
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1191
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1192
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
1193
|
+
* @param options The options parameters.
|
|
1194
|
+
*/
|
|
1195
|
+
deleteByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: BillingRoleAssignmentsDeleteByBillingProfileOptionalParams): Promise<BillingRoleAssignmentsDeleteByBillingProfileResponse>;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
/** Optional parameters. */
|
|
1199
|
+
export declare interface BillingRoleAssignmentsDeleteByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/** Contains response data for the deleteByBillingAccount operation. */
|
|
1203
|
+
export declare type BillingRoleAssignmentsDeleteByBillingAccountResponse = BillingRoleAssignment;
|
|
1204
|
+
|
|
1205
|
+
/** Optional parameters. */
|
|
1206
|
+
export declare interface BillingRoleAssignmentsDeleteByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/** Contains response data for the deleteByBillingProfile operation. */
|
|
1210
|
+
export declare type BillingRoleAssignmentsDeleteByBillingProfileResponse = BillingRoleAssignment;
|
|
1211
|
+
|
|
1212
|
+
/** Optional parameters. */
|
|
1213
|
+
export declare interface BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
/** Contains response data for the deleteByInvoiceSection operation. */
|
|
1217
|
+
export declare type BillingRoleAssignmentsDeleteByInvoiceSectionResponse = BillingRoleAssignment;
|
|
1218
|
+
|
|
1219
|
+
/** Optional parameters. */
|
|
1220
|
+
export declare interface BillingRoleAssignmentsGetByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
/** Contains response data for the getByBillingAccount operation. */
|
|
1224
|
+
export declare type BillingRoleAssignmentsGetByBillingAccountResponse = BillingRoleAssignment;
|
|
1225
|
+
|
|
1226
|
+
/** Optional parameters. */
|
|
1227
|
+
export declare interface BillingRoleAssignmentsGetByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
/** Contains response data for the getByBillingProfile operation. */
|
|
1231
|
+
export declare type BillingRoleAssignmentsGetByBillingProfileResponse = BillingRoleAssignment;
|
|
1232
|
+
|
|
1233
|
+
/** Optional parameters. */
|
|
1234
|
+
export declare interface BillingRoleAssignmentsGetByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/** Contains response data for the getByInvoiceSection operation. */
|
|
1238
|
+
export declare type BillingRoleAssignmentsGetByInvoiceSectionResponse = BillingRoleAssignment;
|
|
1239
|
+
|
|
1240
|
+
/** Optional parameters. */
|
|
1241
|
+
export declare interface BillingRoleAssignmentsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
1245
|
+
export declare type BillingRoleAssignmentsListByBillingAccountNextResponse = BillingRoleAssignmentListResult;
|
|
1246
|
+
|
|
1247
|
+
/** Optional parameters. */
|
|
1248
|
+
export declare interface BillingRoleAssignmentsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
1252
|
+
export declare type BillingRoleAssignmentsListByBillingAccountResponse = BillingRoleAssignmentListResult;
|
|
1253
|
+
|
|
1254
|
+
/** Optional parameters. */
|
|
1255
|
+
export declare interface BillingRoleAssignmentsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
1259
|
+
export declare type BillingRoleAssignmentsListByBillingProfileNextResponse = BillingRoleAssignmentListResult;
|
|
1260
|
+
|
|
1261
|
+
/** Optional parameters. */
|
|
1262
|
+
export declare interface BillingRoleAssignmentsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
1266
|
+
export declare type BillingRoleAssignmentsListByBillingProfileResponse = BillingRoleAssignmentListResult;
|
|
1267
|
+
|
|
1268
|
+
/** Optional parameters. */
|
|
1269
|
+
export declare interface BillingRoleAssignmentsListByInvoiceSectionNextOptionalParams extends coreClient.OperationOptions {
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/** Contains response data for the listByInvoiceSectionNext operation. */
|
|
1273
|
+
export declare type BillingRoleAssignmentsListByInvoiceSectionNextResponse = BillingRoleAssignmentListResult;
|
|
1274
|
+
|
|
1275
|
+
/** Optional parameters. */
|
|
1276
|
+
export declare interface BillingRoleAssignmentsListByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/** Contains response data for the listByInvoiceSection operation. */
|
|
1280
|
+
export declare type BillingRoleAssignmentsListByInvoiceSectionResponse = BillingRoleAssignmentListResult;
|
|
1281
|
+
|
|
1282
|
+
/** The properties of a role definition. */
|
|
1283
|
+
export declare type BillingRoleDefinition = Resource & {
|
|
1284
|
+
/**
|
|
1285
|
+
* The role description
|
|
1286
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1287
|
+
*/
|
|
1288
|
+
readonly description?: string;
|
|
1289
|
+
/** The billingPermissions the role has */
|
|
1290
|
+
permissions?: BillingPermissionsProperties[];
|
|
1291
|
+
/**
|
|
1292
|
+
* The name of the role
|
|
1293
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1294
|
+
*/
|
|
1295
|
+
readonly roleName?: string;
|
|
1296
|
+
};
|
|
1297
|
+
|
|
1298
|
+
/** The list of role definitions. */
|
|
1299
|
+
export declare interface BillingRoleDefinitionListResult {
|
|
1300
|
+
/**
|
|
1301
|
+
* The role definitions.
|
|
1302
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1303
|
+
*/
|
|
1304
|
+
readonly value?: BillingRoleDefinition[];
|
|
1305
|
+
/**
|
|
1306
|
+
* The link (url) to the next page of results.
|
|
1307
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1308
|
+
*/
|
|
1309
|
+
readonly nextLink?: string;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/** Interface representing a BillingRoleDefinitions. */
|
|
1313
|
+
export declare interface BillingRoleDefinitions {
|
|
1314
|
+
/**
|
|
1315
|
+
* Lists the role definitions for a billing account. The operation is supported for billing accounts
|
|
1316
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1317
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1318
|
+
* @param options The options parameters.
|
|
1319
|
+
*/
|
|
1320
|
+
listByBillingAccount(billingAccountName: string, options?: BillingRoleDefinitionsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition>;
|
|
1321
|
+
/**
|
|
1322
|
+
* Lists the role definitions for an invoice section. The operation is supported for billing accounts
|
|
1323
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1324
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1325
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1326
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
1327
|
+
* @param options The options parameters.
|
|
1328
|
+
*/
|
|
1329
|
+
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingRoleDefinitionsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Lists the role definitions for a billing profile. The operation is supported for billing accounts
|
|
1332
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1333
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1334
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1335
|
+
* @param options The options parameters.
|
|
1336
|
+
*/
|
|
1337
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingRoleDefinitionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingRoleDefinition>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Gets the definition for a role on a billing account. The operation is supported for billing accounts
|
|
1340
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1341
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1342
|
+
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
1343
|
+
* @param options The options parameters.
|
|
1344
|
+
*/
|
|
1345
|
+
getByBillingAccount(billingAccountName: string, billingRoleDefinitionName: string, options?: BillingRoleDefinitionsGetByBillingAccountOptionalParams): Promise<BillingRoleDefinitionsGetByBillingAccountResponse>;
|
|
1346
|
+
/**
|
|
1347
|
+
* Gets the definition for a role on an invoice section. The operation is supported only for billing
|
|
1348
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
1349
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1350
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1351
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
1352
|
+
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
1353
|
+
* @param options The options parameters.
|
|
1354
|
+
*/
|
|
1355
|
+
getByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleDefinitionName: string, options?: BillingRoleDefinitionsGetByInvoiceSectionOptionalParams): Promise<BillingRoleDefinitionsGetByInvoiceSectionResponse>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Gets the definition for a role on a billing profile. The operation is supported for billing accounts
|
|
1358
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
1359
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1360
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1361
|
+
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
1362
|
+
* @param options The options parameters.
|
|
1363
|
+
*/
|
|
1364
|
+
getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleDefinitionName: string, options?: BillingRoleDefinitionsGetByBillingProfileOptionalParams): Promise<BillingRoleDefinitionsGetByBillingProfileResponse>;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
/** Optional parameters. */
|
|
1368
|
+
export declare interface BillingRoleDefinitionsGetByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
/** Contains response data for the getByBillingAccount operation. */
|
|
1372
|
+
export declare type BillingRoleDefinitionsGetByBillingAccountResponse = BillingRoleDefinition;
|
|
1373
|
+
|
|
1374
|
+
/** Optional parameters. */
|
|
1375
|
+
export declare interface BillingRoleDefinitionsGetByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/** Contains response data for the getByBillingProfile operation. */
|
|
1379
|
+
export declare type BillingRoleDefinitionsGetByBillingProfileResponse = BillingRoleDefinition;
|
|
1380
|
+
|
|
1381
|
+
/** Optional parameters. */
|
|
1382
|
+
export declare interface BillingRoleDefinitionsGetByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/** Contains response data for the getByInvoiceSection operation. */
|
|
1386
|
+
export declare type BillingRoleDefinitionsGetByInvoiceSectionResponse = BillingRoleDefinition;
|
|
1387
|
+
|
|
1388
|
+
/** Optional parameters. */
|
|
1389
|
+
export declare interface BillingRoleDefinitionsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
1393
|
+
export declare type BillingRoleDefinitionsListByBillingAccountNextResponse = BillingRoleDefinitionListResult;
|
|
1394
|
+
|
|
1395
|
+
/** Optional parameters. */
|
|
1396
|
+
export declare interface BillingRoleDefinitionsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
1400
|
+
export declare type BillingRoleDefinitionsListByBillingAccountResponse = BillingRoleDefinitionListResult;
|
|
1401
|
+
|
|
1402
|
+
/** Optional parameters. */
|
|
1403
|
+
export declare interface BillingRoleDefinitionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
1407
|
+
export declare type BillingRoleDefinitionsListByBillingProfileNextResponse = BillingRoleDefinitionListResult;
|
|
1408
|
+
|
|
1409
|
+
/** Optional parameters. */
|
|
1410
|
+
export declare interface BillingRoleDefinitionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
1414
|
+
export declare type BillingRoleDefinitionsListByBillingProfileResponse = BillingRoleDefinitionListResult;
|
|
1415
|
+
|
|
1416
|
+
/** Optional parameters. */
|
|
1417
|
+
export declare interface BillingRoleDefinitionsListByInvoiceSectionNextOptionalParams extends coreClient.OperationOptions {
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/** Contains response data for the listByInvoiceSectionNext operation. */
|
|
1421
|
+
export declare type BillingRoleDefinitionsListByInvoiceSectionNextResponse = BillingRoleDefinitionListResult;
|
|
1422
|
+
|
|
1423
|
+
/** Optional parameters. */
|
|
1424
|
+
export declare interface BillingRoleDefinitionsListByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
/** Contains response data for the listByInvoiceSection operation. */
|
|
1428
|
+
export declare type BillingRoleDefinitionsListByInvoiceSectionResponse = BillingRoleDefinitionListResult;
|
|
1429
|
+
|
|
1430
|
+
/** A billing subscription. */
|
|
1431
|
+
export declare type BillingSubscription = Resource & {
|
|
1432
|
+
/**
|
|
1433
|
+
* The name of the subscription.
|
|
1434
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1435
|
+
*/
|
|
1436
|
+
readonly displayName?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* The ID of the subscription.
|
|
1439
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1440
|
+
*/
|
|
1441
|
+
readonly subscriptionId?: string;
|
|
1442
|
+
/** The current billing status of the subscription. */
|
|
1443
|
+
subscriptionBillingStatus?: BillingSubscriptionStatusType;
|
|
1444
|
+
/**
|
|
1445
|
+
* The last month charges.
|
|
1446
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1447
|
+
*/
|
|
1448
|
+
readonly lastMonthCharges?: Amount;
|
|
1449
|
+
/**
|
|
1450
|
+
* The current month to date charges.
|
|
1451
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1452
|
+
*/
|
|
1453
|
+
readonly monthToDateCharges?: Amount;
|
|
1454
|
+
/**
|
|
1455
|
+
* The ID of the billing profile to which the subscription is billed.
|
|
1456
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1457
|
+
*/
|
|
1458
|
+
readonly billingProfileId?: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* The name of the billing profile to which the subscription is billed.
|
|
1461
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1462
|
+
*/
|
|
1463
|
+
readonly billingProfileDisplayName?: string;
|
|
1464
|
+
/** The cost center applied to the subscription. */
|
|
1465
|
+
costCenter?: string;
|
|
1466
|
+
/**
|
|
1467
|
+
* The ID of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing account.
|
|
1468
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1469
|
+
*/
|
|
1470
|
+
readonly customerId?: string;
|
|
1471
|
+
/**
|
|
1472
|
+
* The name of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing account.
|
|
1473
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1474
|
+
*/
|
|
1475
|
+
readonly customerDisplayName?: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* The ID of the invoice section to which the subscription is billed.
|
|
1478
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1479
|
+
*/
|
|
1480
|
+
readonly invoiceSectionId?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* The name of the invoice section to which the subscription is billed.
|
|
1483
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1484
|
+
*/
|
|
1485
|
+
readonly invoiceSectionDisplayName?: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* Reseller for this subscription.
|
|
1488
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1489
|
+
*/
|
|
1490
|
+
readonly reseller?: Reseller;
|
|
1491
|
+
/** The sku ID of the Azure plan for the subscription. */
|
|
1492
|
+
skuId?: string;
|
|
1493
|
+
/**
|
|
1494
|
+
* The sku description of the Azure plan for the subscription.
|
|
1495
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1496
|
+
*/
|
|
1497
|
+
readonly skuDescription?: string;
|
|
1498
|
+
/**
|
|
1499
|
+
* The suspension reason for a subscription. Applies only to subscriptions in Microsoft Online Services Program billing accounts.
|
|
1500
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1501
|
+
*/
|
|
1502
|
+
readonly suspensionReasons?: string[];
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
/** Interface representing a BillingSubscriptions. */
|
|
1506
|
+
export declare interface BillingSubscriptions {
|
|
1507
|
+
/**
|
|
1508
|
+
* Lists the subscriptions for a customer. The operation is supported only for billing accounts with
|
|
1509
|
+
* agreement type Microsoft Partner Agreement.
|
|
1510
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1511
|
+
* @param customerName The ID that uniquely identifies a customer.
|
|
1512
|
+
* @param options The options parameters.
|
|
1513
|
+
*/
|
|
1514
|
+
listByCustomer(billingAccountName: string, customerName: string, options?: BillingSubscriptionsListByCustomerOptionalParams): PagedAsyncIterableIterator<BillingSubscription>;
|
|
1515
|
+
/**
|
|
1516
|
+
* Lists the subscriptions for a billing account. The operation is supported for billing accounts with
|
|
1517
|
+
* agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
1518
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1519
|
+
* @param options The options parameters.
|
|
1520
|
+
*/
|
|
1521
|
+
listByBillingAccount(billingAccountName: string, options?: BillingSubscriptionsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<BillingSubscription>;
|
|
1522
|
+
/**
|
|
1523
|
+
* Lists the subscriptions that are billed to a billing profile. The operation is supported for billing
|
|
1524
|
+
* accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
1525
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1526
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1527
|
+
* @param options The options parameters.
|
|
1528
|
+
*/
|
|
1529
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: BillingSubscriptionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<BillingSubscription>;
|
|
1530
|
+
/**
|
|
1531
|
+
* Lists the subscriptions that are billed to an invoice section. The operation is supported only for
|
|
1532
|
+
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
1533
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1534
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1535
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
1536
|
+
* @param options The options parameters.
|
|
1537
|
+
*/
|
|
1538
|
+
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: BillingSubscriptionsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<BillingSubscription>;
|
|
1539
|
+
/**
|
|
1540
|
+
* Gets a subscription by its ID. The operation is supported for billing accounts with agreement type
|
|
1541
|
+
* Microsoft Customer Agreement and Microsoft Partner Agreement.
|
|
1542
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1543
|
+
* @param options The options parameters.
|
|
1544
|
+
*/
|
|
1545
|
+
get(billingAccountName: string, options?: BillingSubscriptionsGetOptionalParams): Promise<BillingSubscriptionsGetResponse>;
|
|
1546
|
+
/**
|
|
1547
|
+
* Updates the properties of a billing subscription. Currently, cost center can be updated. The
|
|
1548
|
+
* operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
1549
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1550
|
+
* @param parameters Request parameters that are provided to the update billing subscription operation.
|
|
1551
|
+
* @param options The options parameters.
|
|
1552
|
+
*/
|
|
1553
|
+
update(billingAccountName: string, parameters: BillingSubscription, options?: BillingSubscriptionsUpdateOptionalParams): Promise<BillingSubscriptionsUpdateResponse>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Moves a subscription's charges to a new invoice section. The new invoice section must belong to the
|
|
1556
|
+
* same billing profile as the existing invoice section. This operation is supported for billing
|
|
1557
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
1558
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1559
|
+
* @param parameters Request parameters that are provided to the move subscription operation.
|
|
1560
|
+
* @param options The options parameters.
|
|
1561
|
+
*/
|
|
1562
|
+
beginMove(billingAccountName: string, parameters: TransferBillingSubscriptionRequestProperties, options?: BillingSubscriptionsMoveOptionalParams): Promise<PollerLike<PollOperationState<BillingSubscriptionsMoveResponse>, BillingSubscriptionsMoveResponse>>;
|
|
1563
|
+
/**
|
|
1564
|
+
* Moves a subscription's charges to a new invoice section. The new invoice section must belong to the
|
|
1565
|
+
* same billing profile as the existing invoice section. This operation is supported for billing
|
|
1566
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
1567
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1568
|
+
* @param parameters Request parameters that are provided to the move subscription operation.
|
|
1569
|
+
* @param options The options parameters.
|
|
1570
|
+
*/
|
|
1571
|
+
beginMoveAndWait(billingAccountName: string, parameters: TransferBillingSubscriptionRequestProperties, options?: BillingSubscriptionsMoveOptionalParams): Promise<BillingSubscriptionsMoveResponse>;
|
|
1572
|
+
/**
|
|
1573
|
+
* Validates if a subscription's charges can be moved to a new invoice section. This operation is
|
|
1574
|
+
* supported for billing accounts with agreement type Microsoft Customer Agreement.
|
|
1575
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1576
|
+
* @param parameters Request parameters that are provided to the validate move eligibility operation.
|
|
1577
|
+
* @param options The options parameters.
|
|
1578
|
+
*/
|
|
1579
|
+
validateMove(billingAccountName: string, parameters: TransferBillingSubscriptionRequestProperties, options?: BillingSubscriptionsValidateMoveOptionalParams): Promise<BillingSubscriptionsValidateMoveResponse>;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
/** Optional parameters. */
|
|
1583
|
+
export declare interface BillingSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
/** Contains response data for the get operation. */
|
|
1587
|
+
export declare type BillingSubscriptionsGetResponse = BillingSubscription;
|
|
1588
|
+
|
|
1589
|
+
/** Optional parameters. */
|
|
1590
|
+
export declare interface BillingSubscriptionsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
1594
|
+
export declare type BillingSubscriptionsListByBillingAccountNextResponse = BillingSubscriptionsListResult;
|
|
1595
|
+
|
|
1596
|
+
/** Optional parameters. */
|
|
1597
|
+
export declare interface BillingSubscriptionsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
1601
|
+
export declare type BillingSubscriptionsListByBillingAccountResponse = BillingSubscriptionsListResult;
|
|
1602
|
+
|
|
1603
|
+
/** Optional parameters. */
|
|
1604
|
+
export declare interface BillingSubscriptionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
1608
|
+
export declare type BillingSubscriptionsListByBillingProfileNextResponse = BillingSubscriptionsListResult;
|
|
1609
|
+
|
|
1610
|
+
/** Optional parameters. */
|
|
1611
|
+
export declare interface BillingSubscriptionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
1615
|
+
export declare type BillingSubscriptionsListByBillingProfileResponse = BillingSubscriptionsListResult;
|
|
1616
|
+
|
|
1617
|
+
/** Optional parameters. */
|
|
1618
|
+
export declare interface BillingSubscriptionsListByCustomerNextOptionalParams extends coreClient.OperationOptions {
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
/** Contains response data for the listByCustomerNext operation. */
|
|
1622
|
+
export declare type BillingSubscriptionsListByCustomerNextResponse = BillingSubscriptionsListResult;
|
|
1623
|
+
|
|
1624
|
+
/** Optional parameters. */
|
|
1625
|
+
export declare interface BillingSubscriptionsListByCustomerOptionalParams extends coreClient.OperationOptions {
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
/** Contains response data for the listByCustomer operation. */
|
|
1629
|
+
export declare type BillingSubscriptionsListByCustomerResponse = BillingSubscriptionsListResult;
|
|
1630
|
+
|
|
1631
|
+
/** Optional parameters. */
|
|
1632
|
+
export declare interface BillingSubscriptionsListByInvoiceSectionNextOptionalParams extends coreClient.OperationOptions {
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
/** Contains response data for the listByInvoiceSectionNext operation. */
|
|
1636
|
+
export declare type BillingSubscriptionsListByInvoiceSectionNextResponse = BillingSubscriptionsListResult;
|
|
1637
|
+
|
|
1638
|
+
/** Optional parameters. */
|
|
1639
|
+
export declare interface BillingSubscriptionsListByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
/** Contains response data for the listByInvoiceSection operation. */
|
|
1643
|
+
export declare type BillingSubscriptionsListByInvoiceSectionResponse = BillingSubscriptionsListResult;
|
|
1644
|
+
|
|
1645
|
+
/** The list of billing subscriptions. */
|
|
1646
|
+
export declare interface BillingSubscriptionsListResult {
|
|
1647
|
+
/**
|
|
1648
|
+
* The list of billing subscriptions.
|
|
1649
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1650
|
+
*/
|
|
1651
|
+
readonly value?: BillingSubscription[];
|
|
1652
|
+
/**
|
|
1653
|
+
* Total number of records.
|
|
1654
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1655
|
+
*/
|
|
1656
|
+
readonly totalCount?: number;
|
|
1657
|
+
/**
|
|
1658
|
+
* The link (url) to the next page of results.
|
|
1659
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1660
|
+
*/
|
|
1661
|
+
readonly nextLink?: string;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/** Defines headers for BillingSubscriptions_move operation. */
|
|
1665
|
+
export declare interface BillingSubscriptionsMoveHeaders {
|
|
1666
|
+
/** Location URI to poll for result. */
|
|
1667
|
+
location?: string;
|
|
1668
|
+
/** Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds. */
|
|
1669
|
+
retryAfter?: number;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
/** Optional parameters. */
|
|
1673
|
+
export declare interface BillingSubscriptionsMoveOptionalParams extends coreClient.OperationOptions {
|
|
1674
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1675
|
+
updateIntervalInMs?: number;
|
|
1676
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1677
|
+
resumeFrom?: string;
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
/** Contains response data for the move operation. */
|
|
1681
|
+
export declare type BillingSubscriptionsMoveResponse = BillingSubscription;
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* Defines values for BillingSubscriptionStatusType. \
|
|
1685
|
+
* {@link KnownBillingSubscriptionStatusType} can be used interchangeably with BillingSubscriptionStatusType,
|
|
1686
|
+
* this enum contains the known values that the service supports.
|
|
1687
|
+
* ### Known values supported by the service
|
|
1688
|
+
* **Active** \
|
|
1689
|
+
* **Inactive** \
|
|
1690
|
+
* **Abandoned** \
|
|
1691
|
+
* **Deleted** \
|
|
1692
|
+
* **Warning**
|
|
1693
|
+
*/
|
|
1694
|
+
export declare type BillingSubscriptionStatusType = string;
|
|
1695
|
+
|
|
1696
|
+
/** Optional parameters. */
|
|
1697
|
+
export declare interface BillingSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
/** Contains response data for the update operation. */
|
|
1701
|
+
export declare type BillingSubscriptionsUpdateResponse = BillingSubscription;
|
|
1702
|
+
|
|
1703
|
+
/** Optional parameters. */
|
|
1704
|
+
export declare interface BillingSubscriptionsValidateMoveOptionalParams extends coreClient.OperationOptions {
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
/** Contains response data for the validateMove operation. */
|
|
1708
|
+
export declare type BillingSubscriptionsValidateMoveResponse = ValidateSubscriptionTransferEligibilityResult;
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* Defines values for Category. \
|
|
1712
|
+
* {@link KnownCategory} can be used interchangeably with Category,
|
|
1713
|
+
* this enum contains the known values that the service supports.
|
|
1714
|
+
* ### Known values supported by the service
|
|
1715
|
+
* **MicrosoftCustomerAgreement** \
|
|
1716
|
+
* **AffiliatePurchaseTerms** \
|
|
1717
|
+
* **Other**
|
|
1718
|
+
*/
|
|
1719
|
+
export declare type Category = string;
|
|
1720
|
+
|
|
1721
|
+
/** A partner's customer. */
|
|
1722
|
+
export declare type Customer = Resource & {
|
|
1723
|
+
/**
|
|
1724
|
+
* The ID of the billing profile for the invoice section.
|
|
1725
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1726
|
+
*/
|
|
1727
|
+
readonly billingProfileId?: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* The name of the billing profile for the invoice section.
|
|
1730
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1731
|
+
*/
|
|
1732
|
+
readonly billingProfileDisplayName?: string;
|
|
1733
|
+
/** The name of the customer. */
|
|
1734
|
+
displayName?: string;
|
|
1735
|
+
/** Azure plans enabled for the customer. */
|
|
1736
|
+
enabledAzurePlans?: AzurePlan[];
|
|
1737
|
+
/** The list of resellers for which an Azure plan is enabled for the customer. */
|
|
1738
|
+
resellers?: Reseller[];
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1741
|
+
/** The list of customers. */
|
|
1742
|
+
export declare interface CustomerListResult {
|
|
1743
|
+
/**
|
|
1744
|
+
* The list of customers.
|
|
1745
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1746
|
+
*/
|
|
1747
|
+
readonly value?: Customer[];
|
|
1748
|
+
/**
|
|
1749
|
+
* Total number of records.
|
|
1750
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1751
|
+
*/
|
|
1752
|
+
readonly totalCount?: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* The link (url) to the next page of results.
|
|
1755
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1756
|
+
*/
|
|
1757
|
+
readonly nextLink?: string;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
/** The customer's Policy. */
|
|
1761
|
+
export declare type CustomerPolicy = Resource & {
|
|
1762
|
+
/** The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices. */
|
|
1763
|
+
viewCharges?: ViewCharges;
|
|
1764
|
+
};
|
|
1765
|
+
|
|
1766
|
+
/** Interface representing a Customers. */
|
|
1767
|
+
export declare interface Customers {
|
|
1768
|
+
/**
|
|
1769
|
+
* Lists the customers that are billed to a billing profile. The operation is supported only for
|
|
1770
|
+
* billing accounts with agreement type Microsoft Partner Agreement.
|
|
1771
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1772
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
1773
|
+
* @param options The options parameters.
|
|
1774
|
+
*/
|
|
1775
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: CustomersListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Customer>;
|
|
1776
|
+
/**
|
|
1777
|
+
* Lists the customers that are billed to a billing account. The operation is supported only for
|
|
1778
|
+
* billing accounts with agreement type Microsoft Partner Agreement.
|
|
1779
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1780
|
+
* @param options The options parameters.
|
|
1781
|
+
*/
|
|
1782
|
+
listByBillingAccount(billingAccountName: string, options?: CustomersListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Customer>;
|
|
1783
|
+
/**
|
|
1784
|
+
* Gets a customer by its ID. The operation is supported only for billing accounts with agreement type
|
|
1785
|
+
* Microsoft Partner Agreement.
|
|
1786
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
1787
|
+
* @param customerName The ID that uniquely identifies a customer.
|
|
1788
|
+
* @param options The options parameters.
|
|
1789
|
+
*/
|
|
1790
|
+
get(billingAccountName: string, customerName: string, options?: CustomersGetOptionalParams): Promise<CustomersGetResponse>;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/** Optional parameters. */
|
|
1794
|
+
export declare interface CustomersGetOptionalParams extends coreClient.OperationOptions {
|
|
1795
|
+
/** May be used to expand enabledAzurePlans and resellers */
|
|
1796
|
+
expand?: string;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
/** Contains response data for the get operation. */
|
|
1800
|
+
export declare type CustomersGetResponse = Customer;
|
|
1801
|
+
|
|
1802
|
+
/** Optional parameters. */
|
|
1803
|
+
export declare interface CustomersListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
1804
|
+
/** Used for searching customers by their name. Any customer with name containing the search text will be included in the response */
|
|
1805
|
+
search?: string;
|
|
1806
|
+
/** May be used to filter the list of customers. */
|
|
1807
|
+
filter?: string;
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
1811
|
+
export declare type CustomersListByBillingAccountNextResponse = CustomerListResult;
|
|
1812
|
+
|
|
1813
|
+
/** Optional parameters. */
|
|
1814
|
+
export declare interface CustomersListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
1815
|
+
/** Used for searching customers by their name. Any customer with name containing the search text will be included in the response */
|
|
1816
|
+
search?: string;
|
|
1817
|
+
/** May be used to filter the list of customers. */
|
|
1818
|
+
filter?: string;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
1822
|
+
export declare type CustomersListByBillingAccountResponse = CustomerListResult;
|
|
1823
|
+
|
|
1824
|
+
/** Optional parameters. */
|
|
1825
|
+
export declare interface CustomersListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
1826
|
+
/** Used for searching customers by their name. Any customer with name containing the search text will be included in the response */
|
|
1827
|
+
search?: string;
|
|
1828
|
+
/** May be used to filter the list of customers. */
|
|
1829
|
+
filter?: string;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
1833
|
+
export declare type CustomersListByBillingProfileNextResponse = CustomerListResult;
|
|
1834
|
+
|
|
1835
|
+
/** Optional parameters. */
|
|
1836
|
+
export declare interface CustomersListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
1837
|
+
/** Used for searching customers by their name. Any customer with name containing the search text will be included in the response */
|
|
1838
|
+
search?: string;
|
|
1839
|
+
/** May be used to filter the list of customers. */
|
|
1840
|
+
filter?: string;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
1844
|
+
export declare type CustomersListByBillingProfileResponse = CustomerListResult;
|
|
1845
|
+
|
|
1846
|
+
/** A department. */
|
|
1847
|
+
export declare type Department = Resource & {
|
|
1848
|
+
/** The name of the department. */
|
|
1849
|
+
departmentName?: string;
|
|
1850
|
+
/** The cost center associated with the department. */
|
|
1851
|
+
costCenter?: string;
|
|
1852
|
+
/** The status of the department. */
|
|
1853
|
+
status?: string;
|
|
1854
|
+
/** Associated enrollment accounts. By default this is not populated, unless it's specified in $expand. */
|
|
1855
|
+
enrollmentAccounts?: EnrollmentAccount[];
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
/** The properties of a document. */
|
|
1859
|
+
declare interface Document_2 {
|
|
1860
|
+
/**
|
|
1861
|
+
* The type of the document.
|
|
1862
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1863
|
+
*/
|
|
1864
|
+
readonly kind?: DocumentType_2;
|
|
1865
|
+
/**
|
|
1866
|
+
* Document URL.
|
|
1867
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1868
|
+
*/
|
|
1869
|
+
readonly url?: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* The source of the document. ENF for Brazil and DRS for rest of the world.
|
|
1872
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1873
|
+
*/
|
|
1874
|
+
readonly source?: DocumentSource;
|
|
1875
|
+
}
|
|
1876
|
+
export { Document_2 as Document }
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* Defines values for DocumentSource. \
|
|
1880
|
+
* {@link KnownDocumentSource} can be used interchangeably with DocumentSource,
|
|
1881
|
+
* this enum contains the known values that the service supports.
|
|
1882
|
+
* ### Known values supported by the service
|
|
1883
|
+
* **DRS** \
|
|
1884
|
+
* **ENF**
|
|
1885
|
+
*/
|
|
1886
|
+
export declare type DocumentSource = string;
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* Defines values for DocumentType. \
|
|
1890
|
+
* {@link KnownDocumentType} can be used interchangeably with DocumentType,
|
|
1891
|
+
* this enum contains the known values that the service supports.
|
|
1892
|
+
* ### Known values supported by the service
|
|
1893
|
+
* **Invoice** \
|
|
1894
|
+
* **VoidNote** \
|
|
1895
|
+
* **TaxReceipt** \
|
|
1896
|
+
* **CreditNote**
|
|
1897
|
+
*/
|
|
1898
|
+
declare type DocumentType_2 = string;
|
|
1899
|
+
export { DocumentType_2 as DocumentType }
|
|
1900
|
+
|
|
1901
|
+
/** A secure URL that can be used to download a an entity until the URL expires. */
|
|
1902
|
+
export declare interface DownloadUrl {
|
|
1903
|
+
/**
|
|
1904
|
+
* The time in UTC when the download URL will expire.
|
|
1905
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1906
|
+
*/
|
|
1907
|
+
readonly expiryTime?: Date;
|
|
1908
|
+
/**
|
|
1909
|
+
* The URL to the PDF file.
|
|
1910
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1911
|
+
*/
|
|
1912
|
+
readonly url?: string;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
/** The properties of an enrollment. */
|
|
1916
|
+
export declare interface Enrollment {
|
|
1917
|
+
/** The start date of the enrollment. */
|
|
1918
|
+
startDate?: Date;
|
|
1919
|
+
/** The end date of the enrollment. */
|
|
1920
|
+
endDate?: Date;
|
|
1921
|
+
/**
|
|
1922
|
+
* The billing currency for the enrollment.
|
|
1923
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1924
|
+
*/
|
|
1925
|
+
readonly currency?: string;
|
|
1926
|
+
/**
|
|
1927
|
+
* The channel type of the enrollment.
|
|
1928
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1929
|
+
*/
|
|
1930
|
+
readonly channel?: string;
|
|
1931
|
+
/**
|
|
1932
|
+
* The policies for Enterprise Agreement enrollments.
|
|
1933
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1934
|
+
*/
|
|
1935
|
+
readonly policies?: EnrollmentPolicies;
|
|
1936
|
+
/**
|
|
1937
|
+
* The language for the enrollment.
|
|
1938
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1939
|
+
*/
|
|
1940
|
+
readonly language?: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* The country code of the enrollment.
|
|
1943
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1944
|
+
*/
|
|
1945
|
+
readonly countryCode?: string;
|
|
1946
|
+
/**
|
|
1947
|
+
* The current status of the enrollment.
|
|
1948
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1949
|
+
*/
|
|
1950
|
+
readonly status?: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* The billing cycle for the enrollment.
|
|
1953
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1954
|
+
*/
|
|
1955
|
+
readonly billingCycle?: string;
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
/** An enrollment account. */
|
|
1959
|
+
export declare type EnrollmentAccount = Resource & {
|
|
1960
|
+
/** The name of the enrollment account. */
|
|
1961
|
+
accountName?: string;
|
|
1962
|
+
/** The cost center associated with the enrollment account. */
|
|
1963
|
+
costCenter?: string;
|
|
1964
|
+
/** The owner of the enrollment account. */
|
|
1965
|
+
accountOwner?: string;
|
|
1966
|
+
/** The enrollment account owner email address. */
|
|
1967
|
+
accountOwnerEmail?: string;
|
|
1968
|
+
/** The status of the enrollment account. */
|
|
1969
|
+
status?: string;
|
|
1970
|
+
/** The start date of the enrollment account. */
|
|
1971
|
+
startDate?: Date;
|
|
1972
|
+
/** The end date of the enrollment account. */
|
|
1973
|
+
endDate?: Date;
|
|
1974
|
+
/** Associated department. By default this is not populated, unless it's specified in $expand. */
|
|
1975
|
+
department?: Department;
|
|
1976
|
+
};
|
|
1977
|
+
|
|
1978
|
+
/** The enrollment account context */
|
|
1979
|
+
export declare interface EnrollmentAccountContext {
|
|
1980
|
+
/** The cost center associated with the enrollment account. */
|
|
1981
|
+
costCenter?: string;
|
|
1982
|
+
/** The start date of the enrollment account. */
|
|
1983
|
+
startDate?: Date;
|
|
1984
|
+
/** The end date of the enrollment account. */
|
|
1985
|
+
endDate?: Date;
|
|
1986
|
+
/** The ID of the enrollment account. */
|
|
1987
|
+
enrollmentAccountName?: string;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
/** Result of listing enrollment accounts. */
|
|
1991
|
+
export declare interface EnrollmentAccountListResult {
|
|
1992
|
+
/**
|
|
1993
|
+
* The list of enrollment accounts.
|
|
1994
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1995
|
+
*/
|
|
1996
|
+
readonly value?: EnrollmentAccountSummary[];
|
|
1997
|
+
/**
|
|
1998
|
+
* The link (url) to the next page of results.
|
|
1999
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2000
|
+
*/
|
|
2001
|
+
readonly nextLink?: string;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
/** Interface representing a EnrollmentAccounts. */
|
|
2005
|
+
export declare interface EnrollmentAccounts {
|
|
2006
|
+
/**
|
|
2007
|
+
* Lists the enrollment accounts the caller has access to.
|
|
2008
|
+
* @param options The options parameters.
|
|
2009
|
+
*/
|
|
2010
|
+
list(options?: EnrollmentAccountsListOptionalParams): PagedAsyncIterableIterator<EnrollmentAccountSummary>;
|
|
2011
|
+
/**
|
|
2012
|
+
* Gets a enrollment account by name.
|
|
2013
|
+
* @param name Enrollment Account name.
|
|
2014
|
+
* @param options The options parameters.
|
|
2015
|
+
*/
|
|
2016
|
+
get(name: string, options?: EnrollmentAccountsGetOptionalParams): Promise<EnrollmentAccountsGetResponse>;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
/** Optional parameters. */
|
|
2020
|
+
export declare interface EnrollmentAccountsGetOptionalParams extends coreClient.OperationOptions {
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
/** Contains response data for the get operation. */
|
|
2024
|
+
export declare type EnrollmentAccountsGetResponse = EnrollmentAccountSummary;
|
|
2025
|
+
|
|
2026
|
+
/** Optional parameters. */
|
|
2027
|
+
export declare interface EnrollmentAccountsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
/** Contains response data for the listNext operation. */
|
|
2031
|
+
export declare type EnrollmentAccountsListNextResponse = EnrollmentAccountListResult;
|
|
2032
|
+
|
|
2033
|
+
/** Optional parameters. */
|
|
2034
|
+
export declare interface EnrollmentAccountsListOptionalParams extends coreClient.OperationOptions {
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
/** Contains response data for the list operation. */
|
|
2038
|
+
export declare type EnrollmentAccountsListResponse = EnrollmentAccountListResult;
|
|
2039
|
+
|
|
2040
|
+
/** An enrollment account resource. */
|
|
2041
|
+
export declare type EnrollmentAccountSummary = Resource & {
|
|
2042
|
+
/**
|
|
2043
|
+
* The account owner's principal name.
|
|
2044
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2045
|
+
*/
|
|
2046
|
+
readonly principalName?: string;
|
|
2047
|
+
};
|
|
2048
|
+
|
|
2049
|
+
/** The policies for Enterprise Agreement enrollments. */
|
|
2050
|
+
export declare interface EnrollmentPolicies {
|
|
2051
|
+
/**
|
|
2052
|
+
* The policy that controls whether Account Owners can view charges.
|
|
2053
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2054
|
+
*/
|
|
2055
|
+
readonly accountOwnerViewCharges?: boolean;
|
|
2056
|
+
/**
|
|
2057
|
+
* The policy that controls whether Department Administrators can view charges.
|
|
2058
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2059
|
+
*/
|
|
2060
|
+
readonly departmentAdminViewCharges?: boolean;
|
|
2061
|
+
/**
|
|
2062
|
+
* The policy that controls whether Azure marketplace purchases are allowed in the enrollment.
|
|
2063
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2064
|
+
*/
|
|
2065
|
+
readonly marketplaceEnabled?: boolean;
|
|
2066
|
+
/**
|
|
2067
|
+
* The policy that controls whether Azure reservation purchases are allowed in the enrollment.
|
|
2068
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2069
|
+
*/
|
|
2070
|
+
readonly reservedInstancesEnabled?: boolean;
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
/** The details of the error. */
|
|
2074
|
+
export declare interface ErrorDetails {
|
|
2075
|
+
/**
|
|
2076
|
+
* Error code.
|
|
2077
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2078
|
+
*/
|
|
2079
|
+
readonly code?: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* Error message indicating why the operation failed.
|
|
2082
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2083
|
+
*/
|
|
2084
|
+
readonly message?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* The target of the particular error.
|
|
2087
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2088
|
+
*/
|
|
2089
|
+
readonly target?: string;
|
|
2090
|
+
/**
|
|
2091
|
+
* The sub details of the error.
|
|
2092
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2093
|
+
*/
|
|
2094
|
+
readonly details?: ErrorSubDetailsItem[];
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
/** Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. */
|
|
2098
|
+
export declare interface ErrorResponse {
|
|
2099
|
+
/** The details of the error. */
|
|
2100
|
+
error?: ErrorDetails;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
export declare interface ErrorSubDetailsItem {
|
|
2104
|
+
/**
|
|
2105
|
+
* Error code.
|
|
2106
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2107
|
+
*/
|
|
2108
|
+
readonly code?: string;
|
|
2109
|
+
/**
|
|
2110
|
+
* Error message indicating why the operation failed.
|
|
2111
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2112
|
+
*/
|
|
2113
|
+
readonly message?: string;
|
|
2114
|
+
/**
|
|
2115
|
+
* The target of the particular error.
|
|
2116
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2117
|
+
*/
|
|
2118
|
+
readonly target?: string;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
/** The billing profile details of the partner of the customer for an indirect motion. */
|
|
2122
|
+
export declare interface IndirectRelationshipInfo {
|
|
2123
|
+
/** The billing account name of the partner or the customer for an indirect motion. */
|
|
2124
|
+
billingAccountName?: string;
|
|
2125
|
+
/** The billing profile name of the partner or the customer for an indirect motion. */
|
|
2126
|
+
billingProfileName?: string;
|
|
2127
|
+
/** The display name of the partner or customer for an indirect motion. */
|
|
2128
|
+
displayName?: string;
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
/** An instruction. */
|
|
2132
|
+
export declare type Instruction = Resource & {
|
|
2133
|
+
/** The amount budgeted for this billing instruction. */
|
|
2134
|
+
amount?: number;
|
|
2135
|
+
/** The date this billing instruction goes into effect. */
|
|
2136
|
+
startDate?: Date;
|
|
2137
|
+
/** The date this billing instruction is no longer in effect. */
|
|
2138
|
+
endDate?: Date;
|
|
2139
|
+
/** The date this billing instruction was created. */
|
|
2140
|
+
creationDate?: Date;
|
|
2141
|
+
};
|
|
2142
|
+
|
|
2143
|
+
/** The list of billing instructions used during invoice generation. */
|
|
2144
|
+
export declare interface InstructionListResult {
|
|
2145
|
+
/**
|
|
2146
|
+
* The list of billing instructions used during invoice generation.
|
|
2147
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2148
|
+
*/
|
|
2149
|
+
readonly value?: Instruction[];
|
|
2150
|
+
/**
|
|
2151
|
+
* The link (url) to the next page of results.
|
|
2152
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2153
|
+
*/
|
|
2154
|
+
readonly nextLink?: string;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
/** Interface representing a Instructions. */
|
|
2158
|
+
export declare interface Instructions {
|
|
2159
|
+
/**
|
|
2160
|
+
* Lists the instructions by billing profile id.
|
|
2161
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2162
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
2163
|
+
* @param options The options parameters.
|
|
2164
|
+
*/
|
|
2165
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: InstructionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Instruction>;
|
|
2166
|
+
/**
|
|
2167
|
+
* Get the instruction by name. These are custom billing instructions and are only applicable for
|
|
2168
|
+
* certain customers.
|
|
2169
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2170
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
2171
|
+
* @param instructionName Instruction Name.
|
|
2172
|
+
* @param options The options parameters.
|
|
2173
|
+
*/
|
|
2174
|
+
get(billingAccountName: string, billingProfileName: string, instructionName: string, options?: InstructionsGetOptionalParams): Promise<InstructionsGetResponse>;
|
|
2175
|
+
/**
|
|
2176
|
+
* Creates or updates an instruction. These are custom billing instructions and are only applicable for
|
|
2177
|
+
* certain customers.
|
|
2178
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2179
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
2180
|
+
* @param instructionName Instruction Name.
|
|
2181
|
+
* @param parameters The new instruction.
|
|
2182
|
+
* @param options The options parameters.
|
|
2183
|
+
*/
|
|
2184
|
+
put(billingAccountName: string, billingProfileName: string, instructionName: string, parameters: Instruction, options?: InstructionsPutOptionalParams): Promise<InstructionsPutResponse>;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
/** Optional parameters. */
|
|
2188
|
+
export declare interface InstructionsGetOptionalParams extends coreClient.OperationOptions {
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
/** Contains response data for the get operation. */
|
|
2192
|
+
export declare type InstructionsGetResponse = Instruction;
|
|
2193
|
+
|
|
2194
|
+
/** Optional parameters. */
|
|
2195
|
+
export declare interface InstructionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
2199
|
+
export declare type InstructionsListByBillingProfileNextResponse = InstructionListResult;
|
|
2200
|
+
|
|
2201
|
+
/** Optional parameters. */
|
|
2202
|
+
export declare interface InstructionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
2206
|
+
export declare type InstructionsListByBillingProfileResponse = InstructionListResult;
|
|
2207
|
+
|
|
2208
|
+
/** Optional parameters. */
|
|
2209
|
+
export declare interface InstructionsPutOptionalParams extends coreClient.OperationOptions {
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
/** Contains response data for the put operation. */
|
|
2213
|
+
export declare type InstructionsPutResponse = Instruction;
|
|
2214
|
+
|
|
2215
|
+
/** An invoice. */
|
|
2216
|
+
export declare type Invoice = Resource & {
|
|
2217
|
+
/**
|
|
2218
|
+
* The due date for the invoice.
|
|
2219
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2220
|
+
*/
|
|
2221
|
+
readonly dueDate?: Date;
|
|
2222
|
+
/**
|
|
2223
|
+
* The date when the invoice was generated.
|
|
2224
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2225
|
+
*/
|
|
2226
|
+
readonly invoiceDate?: Date;
|
|
2227
|
+
/**
|
|
2228
|
+
* The current status of the invoice.
|
|
2229
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2230
|
+
*/
|
|
2231
|
+
readonly status?: InvoiceStatus;
|
|
2232
|
+
/**
|
|
2233
|
+
* The amount due as of now.
|
|
2234
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2235
|
+
*/
|
|
2236
|
+
readonly amountDue?: Amount;
|
|
2237
|
+
/**
|
|
2238
|
+
* The amount of Azure prepayment applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
|
|
2239
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2240
|
+
*/
|
|
2241
|
+
readonly azurePrepaymentApplied?: Amount;
|
|
2242
|
+
/**
|
|
2243
|
+
* The total charges for the invoice billing period.
|
|
2244
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2245
|
+
*/
|
|
2246
|
+
readonly billedAmount?: Amount;
|
|
2247
|
+
/**
|
|
2248
|
+
* The total refund for returns and cancellations during the invoice billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
|
|
2249
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2250
|
+
*/
|
|
2251
|
+
readonly creditAmount?: Amount;
|
|
2252
|
+
/**
|
|
2253
|
+
* The amount of free Azure credits applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
|
|
2254
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2255
|
+
*/
|
|
2256
|
+
readonly freeAzureCreditApplied?: Amount;
|
|
2257
|
+
/**
|
|
2258
|
+
* The pre-tax amount due. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
|
|
2259
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2260
|
+
*/
|
|
2261
|
+
readonly subTotal?: Amount;
|
|
2262
|
+
/**
|
|
2263
|
+
* The amount of tax charged for the billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
|
|
2264
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2265
|
+
*/
|
|
2266
|
+
readonly taxAmount?: Amount;
|
|
2267
|
+
/**
|
|
2268
|
+
* The amount due when the invoice was generated. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
|
|
2269
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2270
|
+
*/
|
|
2271
|
+
readonly totalAmount?: Amount;
|
|
2272
|
+
/**
|
|
2273
|
+
* The start date of the billing period for which the invoice is generated.
|
|
2274
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2275
|
+
*/
|
|
2276
|
+
readonly invoicePeriodStartDate?: Date;
|
|
2277
|
+
/**
|
|
2278
|
+
* The end date of the billing period for which the invoice is generated.
|
|
2279
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2280
|
+
*/
|
|
2281
|
+
readonly invoicePeriodEndDate?: Date;
|
|
2282
|
+
/**
|
|
2283
|
+
* Invoice type.
|
|
2284
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2285
|
+
*/
|
|
2286
|
+
readonly invoiceType?: InvoiceType;
|
|
2287
|
+
/**
|
|
2288
|
+
* Specifies if the invoice is generated as part of monthly invoicing cycle or not. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
|
|
2289
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2290
|
+
*/
|
|
2291
|
+
readonly isMonthlyInvoice?: boolean;
|
|
2292
|
+
/**
|
|
2293
|
+
* The ID of the billing profile for which the invoice is generated.
|
|
2294
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2295
|
+
*/
|
|
2296
|
+
readonly billingProfileId?: string;
|
|
2297
|
+
/**
|
|
2298
|
+
* The name of the billing profile for which the invoice is generated.
|
|
2299
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2300
|
+
*/
|
|
2301
|
+
readonly billingProfileDisplayName?: string;
|
|
2302
|
+
/**
|
|
2303
|
+
* An optional purchase order number for the invoice.
|
|
2304
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2305
|
+
*/
|
|
2306
|
+
readonly purchaseOrderNumber?: string;
|
|
2307
|
+
/**
|
|
2308
|
+
* List of documents available to download such as invoice and tax receipt.
|
|
2309
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2310
|
+
*/
|
|
2311
|
+
readonly documents?: Document_2[];
|
|
2312
|
+
/**
|
|
2313
|
+
* List of payments.
|
|
2314
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2315
|
+
*/
|
|
2316
|
+
readonly payments?: PaymentProperties[];
|
|
2317
|
+
/**
|
|
2318
|
+
* Rebill details for an invoice.
|
|
2319
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2320
|
+
*/
|
|
2321
|
+
readonly rebillDetails?: {
|
|
2322
|
+
[propertyName: string]: RebillDetails;
|
|
2323
|
+
};
|
|
2324
|
+
/**
|
|
2325
|
+
* The type of the document.
|
|
2326
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2327
|
+
*/
|
|
2328
|
+
readonly documentType?: InvoiceDocumentType;
|
|
2329
|
+
/**
|
|
2330
|
+
* The Id of the active invoice which is originally billed after this invoice was voided. This field is applicable to the void invoices only.
|
|
2331
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2332
|
+
*/
|
|
2333
|
+
readonly billedDocumentId?: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* The Id of the invoice which got voided and this credit note was issued as a result. This field is applicable to the credit notes only.
|
|
2336
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2337
|
+
*/
|
|
2338
|
+
readonly creditForDocumentId?: string;
|
|
2339
|
+
/**
|
|
2340
|
+
* The ID of the subscription for which the invoice is generated.
|
|
2341
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2342
|
+
*/
|
|
2343
|
+
readonly subscriptionId?: string;
|
|
2344
|
+
};
|
|
2345
|
+
|
|
2346
|
+
/**
|
|
2347
|
+
* Defines values for InvoiceDocumentType. \
|
|
2348
|
+
* {@link KnownInvoiceDocumentType} can be used interchangeably with InvoiceDocumentType,
|
|
2349
|
+
* this enum contains the known values that the service supports.
|
|
2350
|
+
* ### Known values supported by the service
|
|
2351
|
+
* **Invoice** \
|
|
2352
|
+
* **CreditNote**
|
|
2353
|
+
*/
|
|
2354
|
+
export declare type InvoiceDocumentType = string;
|
|
2355
|
+
|
|
2356
|
+
/** The list of invoices. */
|
|
2357
|
+
export declare interface InvoiceListResult {
|
|
2358
|
+
/**
|
|
2359
|
+
* The list of invoices.
|
|
2360
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2361
|
+
*/
|
|
2362
|
+
readonly value?: Invoice[];
|
|
2363
|
+
/**
|
|
2364
|
+
* The link (url) to the next page of results.
|
|
2365
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2366
|
+
*/
|
|
2367
|
+
readonly nextLink?: string;
|
|
2368
|
+
/**
|
|
2369
|
+
* Total number of records.
|
|
2370
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2371
|
+
*/
|
|
2372
|
+
readonly totalCount?: number;
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
/** Interface representing a Invoices. */
|
|
2376
|
+
export declare interface Invoices {
|
|
2377
|
+
/**
|
|
2378
|
+
* Lists the invoices for a billing account for a given start date and end date. The operation is
|
|
2379
|
+
* supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
|
|
2380
|
+
* Agreement.
|
|
2381
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2382
|
+
* @param periodStartDate The start date to fetch the invoices. The date should be specified in
|
|
2383
|
+
* MM-DD-YYYY format.
|
|
2384
|
+
* @param periodEndDate The end date to fetch the invoices. The date should be specified in MM-DD-YYYY
|
|
2385
|
+
* format.
|
|
2386
|
+
* @param options The options parameters.
|
|
2387
|
+
*/
|
|
2388
|
+
listByBillingAccount(billingAccountName: string, periodStartDate: string, periodEndDate: string, options?: InvoicesListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Invoice>;
|
|
2389
|
+
/**
|
|
2390
|
+
* Lists the invoices for a billing profile for a given start date and end date. The operation is
|
|
2391
|
+
* supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
|
|
2392
|
+
* Agreement.
|
|
2393
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2394
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
2395
|
+
* @param periodStartDate The start date to fetch the invoices. The date should be specified in
|
|
2396
|
+
* MM-DD-YYYY format.
|
|
2397
|
+
* @param periodEndDate The end date to fetch the invoices. The date should be specified in MM-DD-YYYY
|
|
2398
|
+
* format.
|
|
2399
|
+
* @param options The options parameters.
|
|
2400
|
+
*/
|
|
2401
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, periodStartDate: string, periodEndDate: string, options?: InvoicesListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Invoice>;
|
|
2402
|
+
/**
|
|
2403
|
+
* Lists the invoices for a subscription.
|
|
2404
|
+
* @param periodStartDate Invoice period start date.
|
|
2405
|
+
* @param periodEndDate Invoice period end date.
|
|
2406
|
+
* @param options The options parameters.
|
|
2407
|
+
*/
|
|
2408
|
+
listByBillingSubscription(periodStartDate: string, periodEndDate: string, options?: InvoicesListByBillingSubscriptionOptionalParams): PagedAsyncIterableIterator<Invoice>;
|
|
2409
|
+
/**
|
|
2410
|
+
* Gets an invoice by billing account name and ID. The operation is supported for billing accounts with
|
|
2411
|
+
* agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
2412
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2413
|
+
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
2414
|
+
* @param options The options parameters.
|
|
2415
|
+
*/
|
|
2416
|
+
get(billingAccountName: string, invoiceName: string, options?: InvoicesGetOptionalParams): Promise<InvoicesGetResponse>;
|
|
2417
|
+
/**
|
|
2418
|
+
* Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft
|
|
2419
|
+
* Partner Agreement or Microsoft Customer Agreement.
|
|
2420
|
+
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
2421
|
+
* @param options The options parameters.
|
|
2422
|
+
*/
|
|
2423
|
+
getById(invoiceName: string, options?: InvoicesGetByIdOptionalParams): Promise<InvoicesGetByIdResponse>;
|
|
2424
|
+
/**
|
|
2425
|
+
* Gets a URL to download an invoice. The operation is supported for billing accounts with agreement
|
|
2426
|
+
* type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
2427
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2428
|
+
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
2429
|
+
* @param downloadToken Download token with document source and document ID.
|
|
2430
|
+
* @param options The options parameters.
|
|
2431
|
+
*/
|
|
2432
|
+
beginDownloadInvoice(billingAccountName: string, invoiceName: string, downloadToken: string, options?: InvoicesDownloadInvoiceOptionalParams): Promise<PollerLike<PollOperationState<InvoicesDownloadInvoiceResponse>, InvoicesDownloadInvoiceResponse>>;
|
|
2433
|
+
/**
|
|
2434
|
+
* Gets a URL to download an invoice. The operation is supported for billing accounts with agreement
|
|
2435
|
+
* type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
2436
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2437
|
+
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
2438
|
+
* @param downloadToken Download token with document source and document ID.
|
|
2439
|
+
* @param options The options parameters.
|
|
2440
|
+
*/
|
|
2441
|
+
beginDownloadInvoiceAndWait(billingAccountName: string, invoiceName: string, downloadToken: string, options?: InvoicesDownloadInvoiceOptionalParams): Promise<InvoicesDownloadInvoiceResponse>;
|
|
2442
|
+
/**
|
|
2443
|
+
* Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip
|
|
2444
|
+
* file. The operation is supported for billing accounts with agreement type Microsoft Partner
|
|
2445
|
+
* Agreement or Microsoft Customer Agreement.
|
|
2446
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2447
|
+
* @param downloadUrls An array of download urls for individual documents
|
|
2448
|
+
* @param options The options parameters.
|
|
2449
|
+
*/
|
|
2450
|
+
beginDownloadMultipleBillingProfileInvoices(billingAccountName: string, downloadUrls: string[], options?: InvoicesDownloadMultipleBillingProfileInvoicesOptionalParams): Promise<PollerLike<PollOperationState<InvoicesDownloadMultipleBillingProfileInvoicesResponse>, InvoicesDownloadMultipleBillingProfileInvoicesResponse>>;
|
|
2451
|
+
/**
|
|
2452
|
+
* Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip
|
|
2453
|
+
* file. The operation is supported for billing accounts with agreement type Microsoft Partner
|
|
2454
|
+
* Agreement or Microsoft Customer Agreement.
|
|
2455
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2456
|
+
* @param downloadUrls An array of download urls for individual documents
|
|
2457
|
+
* @param options The options parameters.
|
|
2458
|
+
*/
|
|
2459
|
+
beginDownloadMultipleBillingProfileInvoicesAndWait(billingAccountName: string, downloadUrls: string[], options?: InvoicesDownloadMultipleBillingProfileInvoicesOptionalParams): Promise<InvoicesDownloadMultipleBillingProfileInvoicesResponse>;
|
|
2460
|
+
/**
|
|
2461
|
+
* Gets an invoice by subscription ID and invoice ID.
|
|
2462
|
+
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
2463
|
+
* @param options The options parameters.
|
|
2464
|
+
*/
|
|
2465
|
+
getBySubscriptionAndInvoiceId(invoiceName: string, options?: InvoicesGetBySubscriptionAndInvoiceIdOptionalParams): Promise<InvoicesGetBySubscriptionAndInvoiceIdResponse>;
|
|
2466
|
+
/**
|
|
2467
|
+
* Gets a URL to download an invoice.
|
|
2468
|
+
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
2469
|
+
* @param downloadToken Download token with document source and document ID.
|
|
2470
|
+
* @param options The options parameters.
|
|
2471
|
+
*/
|
|
2472
|
+
beginDownloadBillingSubscriptionInvoice(invoiceName: string, downloadToken: string, options?: InvoicesDownloadBillingSubscriptionInvoiceOptionalParams): Promise<PollerLike<PollOperationState<InvoicesDownloadBillingSubscriptionInvoiceResponse>, InvoicesDownloadBillingSubscriptionInvoiceResponse>>;
|
|
2473
|
+
/**
|
|
2474
|
+
* Gets a URL to download an invoice.
|
|
2475
|
+
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
2476
|
+
* @param downloadToken Download token with document source and document ID.
|
|
2477
|
+
* @param options The options parameters.
|
|
2478
|
+
*/
|
|
2479
|
+
beginDownloadBillingSubscriptionInvoiceAndWait(invoiceName: string, downloadToken: string, options?: InvoicesDownloadBillingSubscriptionInvoiceOptionalParams): Promise<InvoicesDownloadBillingSubscriptionInvoiceResponse>;
|
|
2480
|
+
/**
|
|
2481
|
+
* Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip
|
|
2482
|
+
* file.
|
|
2483
|
+
* @param downloadUrls An array of download urls for individual documents
|
|
2484
|
+
* @param options The options parameters.
|
|
2485
|
+
*/
|
|
2486
|
+
beginDownloadMultipleBillingSubscriptionInvoices(downloadUrls: string[], options?: InvoicesDownloadMultipleBillingSubscriptionInvoicesOptionalParams): Promise<PollerLike<PollOperationState<InvoicesDownloadMultipleBillingSubscriptionInvoicesResponse>, InvoicesDownloadMultipleBillingSubscriptionInvoicesResponse>>;
|
|
2487
|
+
/**
|
|
2488
|
+
* Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip
|
|
2489
|
+
* file.
|
|
2490
|
+
* @param downloadUrls An array of download urls for individual documents
|
|
2491
|
+
* @param options The options parameters.
|
|
2492
|
+
*/
|
|
2493
|
+
beginDownloadMultipleBillingSubscriptionInvoicesAndWait(downloadUrls: string[], options?: InvoicesDownloadMultipleBillingSubscriptionInvoicesOptionalParams): Promise<InvoicesDownloadMultipleBillingSubscriptionInvoicesResponse>;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
/** Defines headers for Invoices_downloadBillingSubscriptionInvoice operation. */
|
|
2497
|
+
export declare interface InvoicesDownloadBillingSubscriptionInvoiceHeaders {
|
|
2498
|
+
/** GET this URL to retrieve the status of the asynchronous operation. */
|
|
2499
|
+
location?: string;
|
|
2500
|
+
/** The amount of delay to use while the status of the operation is checked. The value is expressed in seconds. */
|
|
2501
|
+
retryAfter?: string;
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
/** Optional parameters. */
|
|
2505
|
+
export declare interface InvoicesDownloadBillingSubscriptionInvoiceOptionalParams extends coreClient.OperationOptions {
|
|
2506
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2507
|
+
updateIntervalInMs?: number;
|
|
2508
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2509
|
+
resumeFrom?: string;
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
/** Contains response data for the downloadBillingSubscriptionInvoice operation. */
|
|
2513
|
+
export declare type InvoicesDownloadBillingSubscriptionInvoiceResponse = DownloadUrl;
|
|
2514
|
+
|
|
2515
|
+
/** Defines headers for Invoices_downloadInvoice operation. */
|
|
2516
|
+
export declare interface InvoicesDownloadInvoiceHeaders {
|
|
2517
|
+
/** GET this URL to retrieve the status of the asynchronous operation. */
|
|
2518
|
+
location?: string;
|
|
2519
|
+
/** The amount of delay to use while the status of the operation is checked. The value is expressed in seconds. */
|
|
2520
|
+
retryAfter?: string;
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
/** Optional parameters. */
|
|
2524
|
+
export declare interface InvoicesDownloadInvoiceOptionalParams extends coreClient.OperationOptions {
|
|
2525
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2526
|
+
updateIntervalInMs?: number;
|
|
2527
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2528
|
+
resumeFrom?: string;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
/** Contains response data for the downloadInvoice operation. */
|
|
2532
|
+
export declare type InvoicesDownloadInvoiceResponse = DownloadUrl;
|
|
2533
|
+
|
|
2534
|
+
/** Defines headers for Invoices_downloadMultipleBillingProfileInvoices operation. */
|
|
2535
|
+
export declare interface InvoicesDownloadMultipleBillingProfileInvoicesHeaders {
|
|
2536
|
+
/** GET this URL to retrieve the status of the asynchronous operation. */
|
|
2537
|
+
location?: string;
|
|
2538
|
+
/** The amount of delay to use while the status of the operation is checked. The value is expressed in seconds. */
|
|
2539
|
+
retryAfter?: string;
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
/** Optional parameters. */
|
|
2543
|
+
export declare interface InvoicesDownloadMultipleBillingProfileInvoicesOptionalParams extends coreClient.OperationOptions {
|
|
2544
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2545
|
+
updateIntervalInMs?: number;
|
|
2546
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2547
|
+
resumeFrom?: string;
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
/** Contains response data for the downloadMultipleBillingProfileInvoices operation. */
|
|
2551
|
+
export declare type InvoicesDownloadMultipleBillingProfileInvoicesResponse = DownloadUrl;
|
|
2552
|
+
|
|
2553
|
+
/** Defines headers for Invoices_downloadMultipleBillingSubscriptionInvoices operation. */
|
|
2554
|
+
export declare interface InvoicesDownloadMultipleBillingSubscriptionInvoicesHeaders {
|
|
2555
|
+
/** GET this URL to retrieve the status of the asynchronous operation. */
|
|
2556
|
+
location?: string;
|
|
2557
|
+
/** The amount of delay to use while the status of the operation is checked. The value is expressed in seconds. */
|
|
2558
|
+
retryAfter?: string;
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
/** Optional parameters. */
|
|
2562
|
+
export declare interface InvoicesDownloadMultipleBillingSubscriptionInvoicesOptionalParams extends coreClient.OperationOptions {
|
|
2563
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2564
|
+
updateIntervalInMs?: number;
|
|
2565
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2566
|
+
resumeFrom?: string;
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
/** Contains response data for the downloadMultipleBillingSubscriptionInvoices operation. */
|
|
2570
|
+
export declare type InvoicesDownloadMultipleBillingSubscriptionInvoicesResponse = DownloadUrl;
|
|
2571
|
+
|
|
2572
|
+
/** An invoice section. */
|
|
2573
|
+
export declare type InvoiceSection = Resource & {
|
|
2574
|
+
/** The name of the invoice section. */
|
|
2575
|
+
displayName?: string;
|
|
2576
|
+
/** Dictionary of metadata associated with the invoice section. */
|
|
2577
|
+
labels?: {
|
|
2578
|
+
[propertyName: string]: string;
|
|
2579
|
+
};
|
|
2580
|
+
/**
|
|
2581
|
+
* Identifies the state of an invoice section.
|
|
2582
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2583
|
+
*/
|
|
2584
|
+
readonly state?: InvoiceSectionState;
|
|
2585
|
+
/**
|
|
2586
|
+
* The system generated unique identifier for an invoice section.
|
|
2587
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2588
|
+
*/
|
|
2589
|
+
readonly systemId?: string;
|
|
2590
|
+
/** Dictionary of metadata associated with the invoice section. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / */
|
|
2591
|
+
tags?: {
|
|
2592
|
+
[propertyName: string]: string;
|
|
2593
|
+
};
|
|
2594
|
+
/**
|
|
2595
|
+
* Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
|
|
2596
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2597
|
+
*/
|
|
2598
|
+
readonly targetCloud?: TargetCloud;
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
/** The properties of the invoice section. */
|
|
2602
|
+
export declare interface InvoiceSectionCreationRequest {
|
|
2603
|
+
/** The name of the invoice section. */
|
|
2604
|
+
displayName?: string;
|
|
2605
|
+
}
|
|
2606
|
+
|
|
2607
|
+
/** The list of invoice sections. */
|
|
2608
|
+
export declare interface InvoiceSectionListResult {
|
|
2609
|
+
/**
|
|
2610
|
+
* The list of invoice sections.
|
|
2611
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2612
|
+
*/
|
|
2613
|
+
readonly value?: InvoiceSection[];
|
|
2614
|
+
/**
|
|
2615
|
+
* Total number of records.
|
|
2616
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2617
|
+
*/
|
|
2618
|
+
readonly totalCount?: number;
|
|
2619
|
+
/**
|
|
2620
|
+
* The link (url) to the next page of results.
|
|
2621
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2622
|
+
*/
|
|
2623
|
+
readonly nextLink?: string;
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
/** The list of invoice section properties with create subscription permission. */
|
|
2627
|
+
export declare interface InvoiceSectionListWithCreateSubPermissionResult {
|
|
2628
|
+
/** The list of invoice section properties with create subscription permission. */
|
|
2629
|
+
value?: InvoiceSectionWithCreateSubPermission[];
|
|
2630
|
+
/**
|
|
2631
|
+
* The link (url) to the next page of results.
|
|
2632
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2633
|
+
*/
|
|
2634
|
+
readonly nextLink?: string;
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
/** Interface representing a InvoiceSections. */
|
|
2638
|
+
export declare interface InvoiceSections {
|
|
2639
|
+
/**
|
|
2640
|
+
* Lists the invoice sections that a user has access to. The operation is supported only for billing
|
|
2641
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
2642
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2643
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
2644
|
+
* @param options The options parameters.
|
|
2645
|
+
*/
|
|
2646
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: InvoiceSectionsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<InvoiceSection>;
|
|
2647
|
+
/**
|
|
2648
|
+
* Gets an invoice section by its ID. The operation is supported only for billing accounts with
|
|
2649
|
+
* agreement type Microsoft Customer Agreement.
|
|
2650
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2651
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
2652
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
2653
|
+
* @param options The options parameters.
|
|
2654
|
+
*/
|
|
2655
|
+
get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: InvoiceSectionsGetOptionalParams): Promise<InvoiceSectionsGetResponse>;
|
|
2656
|
+
/**
|
|
2657
|
+
* Creates or updates an invoice section. The operation is supported only for billing accounts with
|
|
2658
|
+
* agreement type Microsoft Customer Agreement.
|
|
2659
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2660
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
2661
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
2662
|
+
* @param parameters The new or updated invoice section.
|
|
2663
|
+
* @param options The options parameters.
|
|
2664
|
+
*/
|
|
2665
|
+
beginCreateOrUpdate(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<InvoiceSectionsCreateOrUpdateResponse>, InvoiceSectionsCreateOrUpdateResponse>>;
|
|
2666
|
+
/**
|
|
2667
|
+
* Creates or updates an invoice section. The operation is supported only for billing accounts with
|
|
2668
|
+
* agreement type Microsoft Customer Agreement.
|
|
2669
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
2670
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
2671
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
2672
|
+
* @param parameters The new or updated invoice section.
|
|
2673
|
+
* @param options The options parameters.
|
|
2674
|
+
*/
|
|
2675
|
+
beginCreateOrUpdateAndWait(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InvoiceSection, options?: InvoiceSectionsCreateOrUpdateOptionalParams): Promise<InvoiceSectionsCreateOrUpdateResponse>;
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
/** Defines headers for InvoiceSections_createOrUpdate operation. */
|
|
2679
|
+
export declare interface InvoiceSectionsCreateOrUpdateHeaders {
|
|
2680
|
+
/** Location URI to poll for result */
|
|
2681
|
+
location?: string;
|
|
2682
|
+
/** Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds. */
|
|
2683
|
+
retryAfter?: number;
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
/** Optional parameters. */
|
|
2687
|
+
export declare interface InvoiceSectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2688
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2689
|
+
updateIntervalInMs?: number;
|
|
2690
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2691
|
+
resumeFrom?: string;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
2695
|
+
export declare type InvoiceSectionsCreateOrUpdateResponse = InvoiceSection;
|
|
2696
|
+
|
|
2697
|
+
/** Optional parameters. */
|
|
2698
|
+
export declare interface InvoiceSectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
/** Contains response data for the get operation. */
|
|
2702
|
+
export declare type InvoiceSectionsGetResponse = InvoiceSection;
|
|
2703
|
+
|
|
2704
|
+
/** Optional parameters. */
|
|
2705
|
+
export declare interface InvoiceSectionsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
2709
|
+
export declare type InvoiceSectionsListByBillingProfileNextResponse = InvoiceSectionListResult;
|
|
2710
|
+
|
|
2711
|
+
/** Optional parameters. */
|
|
2712
|
+
export declare interface InvoiceSectionsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
2716
|
+
export declare type InvoiceSectionsListByBillingProfileResponse = InvoiceSectionListResult;
|
|
2717
|
+
|
|
2718
|
+
/** The invoice sections associated to the billing profile. By default this is not populated, unless it's specified in $expand. */
|
|
2719
|
+
export declare interface InvoiceSectionsOnExpand {
|
|
2720
|
+
/**
|
|
2721
|
+
* Indicates whether there are more invoice sections than the ones listed in this collection. The collection lists a maximum of 50 invoice sections. To get all invoice sections, use the list invoice sections API.
|
|
2722
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2723
|
+
*/
|
|
2724
|
+
readonly hasMoreResults?: boolean;
|
|
2725
|
+
/** The invoice sections associated to the billing profile. */
|
|
2726
|
+
value?: InvoiceSection[];
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* Defines values for InvoiceSectionState. \
|
|
2731
|
+
* {@link KnownInvoiceSectionState} can be used interchangeably with InvoiceSectionState,
|
|
2732
|
+
* this enum contains the known values that the service supports.
|
|
2733
|
+
* ### Known values supported by the service
|
|
2734
|
+
* **Active** \
|
|
2735
|
+
* **Restricted**
|
|
2736
|
+
*/
|
|
2737
|
+
export declare type InvoiceSectionState = string;
|
|
2738
|
+
|
|
2739
|
+
/** Invoice section properties with create subscription permission. */
|
|
2740
|
+
export declare interface InvoiceSectionWithCreateSubPermission {
|
|
2741
|
+
/**
|
|
2742
|
+
* The ID of the invoice section.
|
|
2743
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2744
|
+
*/
|
|
2745
|
+
readonly invoiceSectionId?: string;
|
|
2746
|
+
/**
|
|
2747
|
+
* The name of the invoice section.
|
|
2748
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2749
|
+
*/
|
|
2750
|
+
readonly invoiceSectionDisplayName?: string;
|
|
2751
|
+
/**
|
|
2752
|
+
* The system generated unique identifier for an invoice section.
|
|
2753
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2754
|
+
*/
|
|
2755
|
+
readonly invoiceSectionSystemId?: string;
|
|
2756
|
+
/**
|
|
2757
|
+
* The ID of the billing profile for the invoice section.
|
|
2758
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2759
|
+
*/
|
|
2760
|
+
readonly billingProfileId?: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* The name of the billing profile for the invoice section.
|
|
2763
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2764
|
+
*/
|
|
2765
|
+
readonly billingProfileDisplayName?: string;
|
|
2766
|
+
/**
|
|
2767
|
+
* The status of the billing profile.
|
|
2768
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2769
|
+
*/
|
|
2770
|
+
readonly billingProfileStatus?: BillingProfileStatus;
|
|
2771
|
+
/**
|
|
2772
|
+
* Reason for the specified billing profile status.
|
|
2773
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2774
|
+
*/
|
|
2775
|
+
readonly billingProfileStatusReasonCode?: StatusReasonCodeForBillingProfile;
|
|
2776
|
+
/**
|
|
2777
|
+
* The billing profile spending limit.
|
|
2778
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2779
|
+
*/
|
|
2780
|
+
readonly billingProfileSpendingLimit?: SpendingLimitForBillingProfile;
|
|
2781
|
+
/**
|
|
2782
|
+
* The system generated unique identifier for a billing profile.
|
|
2783
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2784
|
+
*/
|
|
2785
|
+
readonly billingProfileSystemId?: string;
|
|
2786
|
+
/** Enabled azure plans for the associated billing profile. */
|
|
2787
|
+
enabledAzurePlans?: AzurePlan[];
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
/** Optional parameters. */
|
|
2791
|
+
export declare interface InvoicesGetByIdOptionalParams extends coreClient.OperationOptions {
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
/** Contains response data for the getById operation. */
|
|
2795
|
+
export declare type InvoicesGetByIdResponse = Invoice;
|
|
2796
|
+
|
|
2797
|
+
/** Optional parameters. */
|
|
2798
|
+
export declare interface InvoicesGetBySubscriptionAndInvoiceIdOptionalParams extends coreClient.OperationOptions {
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
/** Contains response data for the getBySubscriptionAndInvoiceId operation. */
|
|
2802
|
+
export declare type InvoicesGetBySubscriptionAndInvoiceIdResponse = Invoice;
|
|
2803
|
+
|
|
2804
|
+
/** Optional parameters. */
|
|
2805
|
+
export declare interface InvoicesGetOptionalParams extends coreClient.OperationOptions {
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
/** Contains response data for the get operation. */
|
|
2809
|
+
export declare type InvoicesGetResponse = Invoice;
|
|
2810
|
+
|
|
2811
|
+
/** Optional parameters. */
|
|
2812
|
+
export declare interface InvoicesListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
2816
|
+
export declare type InvoicesListByBillingAccountNextResponse = InvoiceListResult;
|
|
2817
|
+
|
|
2818
|
+
/** Optional parameters. */
|
|
2819
|
+
export declare interface InvoicesListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
2823
|
+
export declare type InvoicesListByBillingAccountResponse = InvoiceListResult;
|
|
2824
|
+
|
|
2825
|
+
/** Optional parameters. */
|
|
2826
|
+
export declare interface InvoicesListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
2830
|
+
export declare type InvoicesListByBillingProfileNextResponse = InvoiceListResult;
|
|
2831
|
+
|
|
2832
|
+
/** Optional parameters. */
|
|
2833
|
+
export declare interface InvoicesListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
2837
|
+
export declare type InvoicesListByBillingProfileResponse = InvoiceListResult;
|
|
2838
|
+
|
|
2839
|
+
/** Optional parameters. */
|
|
2840
|
+
export declare interface InvoicesListByBillingSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
/** Contains response data for the listByBillingSubscriptionNext operation. */
|
|
2844
|
+
export declare type InvoicesListByBillingSubscriptionNextResponse = InvoiceListResult;
|
|
2845
|
+
|
|
2846
|
+
/** Optional parameters. */
|
|
2847
|
+
export declare interface InvoicesListByBillingSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2850
|
+
/** Contains response data for the listByBillingSubscription operation. */
|
|
2851
|
+
export declare type InvoicesListByBillingSubscriptionResponse = InvoiceListResult;
|
|
2852
|
+
|
|
2853
|
+
/**
|
|
2854
|
+
* Defines values for InvoiceStatus. \
|
|
2855
|
+
* {@link KnownInvoiceStatus} can be used interchangeably with InvoiceStatus,
|
|
2856
|
+
* this enum contains the known values that the service supports.
|
|
2857
|
+
* ### Known values supported by the service
|
|
2858
|
+
* **Due** \
|
|
2859
|
+
* **OverDue** \
|
|
2860
|
+
* **Paid** \
|
|
2861
|
+
* **Void**
|
|
2862
|
+
*/
|
|
2863
|
+
export declare type InvoiceStatus = string;
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* Defines values for InvoiceType. \
|
|
2867
|
+
* {@link KnownInvoiceType} can be used interchangeably with InvoiceType,
|
|
2868
|
+
* this enum contains the known values that the service supports.
|
|
2869
|
+
* ### Known values supported by the service
|
|
2870
|
+
* **AzureService** \
|
|
2871
|
+
* **AzureMarketplace** \
|
|
2872
|
+
* **AzureSupport**
|
|
2873
|
+
*/
|
|
2874
|
+
export declare type InvoiceType = string;
|
|
2875
|
+
|
|
2876
|
+
/** Known values of {@link AcceptanceMode} that the service accepts. */
|
|
2877
|
+
export declare enum KnownAcceptanceMode {
|
|
2878
|
+
ClickToAccept = "ClickToAccept",
|
|
2879
|
+
ESignEmbedded = "ESignEmbedded",
|
|
2880
|
+
ESignOffline = "ESignOffline"
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
/** Known values of {@link AccountStatus} that the service accepts. */
|
|
2884
|
+
export declare enum KnownAccountStatus {
|
|
2885
|
+
Active = "Active",
|
|
2886
|
+
Deleted = "Deleted",
|
|
2887
|
+
Disabled = "Disabled",
|
|
2888
|
+
Expired = "Expired",
|
|
2889
|
+
Transferred = "Transferred",
|
|
2890
|
+
Extended = "Extended",
|
|
2891
|
+
Terminated = "Terminated"
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
/** Known values of {@link AccountType} that the service accepts. */
|
|
2895
|
+
export declare enum KnownAccountType {
|
|
2896
|
+
Enterprise = "Enterprise",
|
|
2897
|
+
Individual = "Individual",
|
|
2898
|
+
Partner = "Partner"
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
/** Known values of {@link AddressValidationStatus} that the service accepts. */
|
|
2902
|
+
export declare enum KnownAddressValidationStatus {
|
|
2903
|
+
Valid = "Valid",
|
|
2904
|
+
Invalid = "Invalid"
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
/** Known values of {@link AgreementType} that the service accepts. */
|
|
2908
|
+
export declare enum KnownAgreementType {
|
|
2909
|
+
MicrosoftCustomerAgreement = "MicrosoftCustomerAgreement",
|
|
2910
|
+
EnterpriseAgreement = "EnterpriseAgreement",
|
|
2911
|
+
MicrosoftOnlineServicesProgram = "MicrosoftOnlineServicesProgram",
|
|
2912
|
+
MicrosoftPartnerAgreement = "MicrosoftPartnerAgreement"
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
/** Known values of {@link AutoRenew} that the service accepts. */
|
|
2916
|
+
export declare enum KnownAutoRenew {
|
|
2917
|
+
Off = "Off",
|
|
2918
|
+
On = "On"
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
/** Known values of {@link BillingFrequency} that the service accepts. */
|
|
2922
|
+
export declare enum KnownBillingFrequency {
|
|
2923
|
+
OneTime = "OneTime",
|
|
2924
|
+
Monthly = "Monthly",
|
|
2925
|
+
UsageBased = "UsageBased"
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
/** Known values of {@link BillingProfileSpendingLimit} that the service accepts. */
|
|
2929
|
+
export declare enum KnownBillingProfileSpendingLimit {
|
|
2930
|
+
Off = "Off",
|
|
2931
|
+
On = "On"
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
/** Known values of {@link BillingProfileStatus} that the service accepts. */
|
|
2935
|
+
export declare enum KnownBillingProfileStatus {
|
|
2936
|
+
Active = "Active",
|
|
2937
|
+
Disabled = "Disabled",
|
|
2938
|
+
Warned = "Warned"
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
/** Known values of {@link BillingProfileStatusReasonCode} that the service accepts. */
|
|
2942
|
+
export declare enum KnownBillingProfileStatusReasonCode {
|
|
2943
|
+
PastDue = "PastDue",
|
|
2944
|
+
SpendingLimitReached = "SpendingLimitReached",
|
|
2945
|
+
SpendingLimitExpired = "SpendingLimitExpired"
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
/** Known values of {@link BillingRelationshipType} that the service accepts. */
|
|
2949
|
+
export declare enum KnownBillingRelationshipType {
|
|
2950
|
+
Direct = "Direct",
|
|
2951
|
+
IndirectCustomer = "IndirectCustomer",
|
|
2952
|
+
IndirectPartner = "IndirectPartner",
|
|
2953
|
+
CSPPartner = "CSPPartner"
|
|
2954
|
+
}
|
|
2955
|
+
|
|
2956
|
+
/** Known values of {@link BillingSubscriptionStatusType} that the service accepts. */
|
|
2957
|
+
export declare enum KnownBillingSubscriptionStatusType {
|
|
2958
|
+
Active = "Active",
|
|
2959
|
+
Inactive = "Inactive",
|
|
2960
|
+
Abandoned = "Abandoned",
|
|
2961
|
+
Deleted = "Deleted",
|
|
2962
|
+
Warning = "Warning"
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
/** Known values of {@link Category} that the service accepts. */
|
|
2966
|
+
export declare enum KnownCategory {
|
|
2967
|
+
MicrosoftCustomerAgreement = "MicrosoftCustomerAgreement",
|
|
2968
|
+
AffiliatePurchaseTerms = "AffiliatePurchaseTerms",
|
|
2969
|
+
Other = "Other"
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
/** Known values of {@link DocumentSource} that the service accepts. */
|
|
2973
|
+
export declare enum KnownDocumentSource {
|
|
2974
|
+
DRS = "DRS",
|
|
2975
|
+
ENF = "ENF"
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2978
|
+
/** Known values of {@link DocumentType} that the service accepts. */
|
|
2979
|
+
export declare enum KnownDocumentType {
|
|
2980
|
+
Invoice = "Invoice",
|
|
2981
|
+
VoidNote = "VoidNote",
|
|
2982
|
+
TaxReceipt = "TaxReceipt",
|
|
2983
|
+
CreditNote = "CreditNote"
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
/** Known values of {@link InvoiceDocumentType} that the service accepts. */
|
|
2987
|
+
export declare enum KnownInvoiceDocumentType {
|
|
2988
|
+
Invoice = "Invoice",
|
|
2989
|
+
CreditNote = "CreditNote"
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
/** Known values of {@link InvoiceSectionState} that the service accepts. */
|
|
2993
|
+
export declare enum KnownInvoiceSectionState {
|
|
2994
|
+
Active = "Active",
|
|
2995
|
+
Restricted = "Restricted"
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
/** Known values of {@link InvoiceStatus} that the service accepts. */
|
|
2999
|
+
export declare enum KnownInvoiceStatus {
|
|
3000
|
+
Due = "Due",
|
|
3001
|
+
OverDue = "OverDue",
|
|
3002
|
+
Paid = "Paid",
|
|
3003
|
+
Void = "Void"
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
/** Known values of {@link InvoiceType} that the service accepts. */
|
|
3007
|
+
export declare enum KnownInvoiceType {
|
|
3008
|
+
AzureService = "AzureService",
|
|
3009
|
+
AzureMarketplace = "AzureMarketplace",
|
|
3010
|
+
AzureSupport = "AzureSupport"
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
/** Known values of {@link MarketplacePurchasesPolicy} that the service accepts. */
|
|
3014
|
+
export declare enum KnownMarketplacePurchasesPolicy {
|
|
3015
|
+
AllAllowed = "AllAllowed",
|
|
3016
|
+
OnlyFreeAllowed = "OnlyFreeAllowed",
|
|
3017
|
+
NotAllowed = "NotAllowed"
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
/** Known values of {@link PaymentMethodFamily} that the service accepts. */
|
|
3021
|
+
export declare enum KnownPaymentMethodFamily {
|
|
3022
|
+
Credits = "Credits",
|
|
3023
|
+
CheckWire = "CheckWire",
|
|
3024
|
+
CreditCard = "CreditCard",
|
|
3025
|
+
None = "None"
|
|
3026
|
+
}
|
|
3027
|
+
|
|
3028
|
+
/** Known values of {@link ProductStatusType} that the service accepts. */
|
|
3029
|
+
export declare enum KnownProductStatusType {
|
|
3030
|
+
Active = "Active",
|
|
3031
|
+
Inactive = "Inactive",
|
|
3032
|
+
PastDue = "PastDue",
|
|
3033
|
+
Expiring = "Expiring",
|
|
3034
|
+
Expired = "Expired",
|
|
3035
|
+
Disabled = "Disabled",
|
|
3036
|
+
Cancelled = "Cancelled",
|
|
3037
|
+
AutoRenew = "AutoRenew"
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
/** Known values of {@link ProductTransferValidationErrorCode} that the service accepts. */
|
|
3041
|
+
export declare enum KnownProductTransferValidationErrorCode {
|
|
3042
|
+
InvalidSource = "InvalidSource",
|
|
3043
|
+
ProductNotActive = "ProductNotActive",
|
|
3044
|
+
InsufficientPermissionOnSource = "InsufficientPermissionOnSource",
|
|
3045
|
+
InsufficientPermissionOnDestination = "InsufficientPermissionOnDestination",
|
|
3046
|
+
DestinationBillingProfilePastDue = "DestinationBillingProfilePastDue",
|
|
3047
|
+
ProductTypeNotSupported = "ProductTypeNotSupported",
|
|
3048
|
+
CrossBillingAccountNotAllowed = "CrossBillingAccountNotAllowed",
|
|
3049
|
+
NotAvailableForDestinationMarket = "NotAvailableForDestinationMarket",
|
|
3050
|
+
OneTimePurchaseProductTransferNotAllowed = "OneTimePurchaseProductTransferNotAllowed"
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
/** Known values of {@link ReservationPurchasesPolicy} that the service accepts. */
|
|
3054
|
+
export declare enum KnownReservationPurchasesPolicy {
|
|
3055
|
+
Allowed = "Allowed",
|
|
3056
|
+
NotAllowed = "NotAllowed"
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
/** Known values of {@link ReservationType} that the service accepts. */
|
|
3060
|
+
export declare enum KnownReservationType {
|
|
3061
|
+
Purchase = "Purchase",
|
|
3062
|
+
UsageCharge = "Usage Charge"
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
/** Known values of {@link SpendingLimit} that the service accepts. */
|
|
3066
|
+
export declare enum KnownSpendingLimit {
|
|
3067
|
+
Off = "Off",
|
|
3068
|
+
On = "On"
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
/** Known values of {@link SpendingLimitForBillingProfile} that the service accepts. */
|
|
3072
|
+
export declare enum KnownSpendingLimitForBillingProfile {
|
|
3073
|
+
Off = "Off",
|
|
3074
|
+
On = "On"
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3077
|
+
/** Known values of {@link StatusReasonCode} that the service accepts. */
|
|
3078
|
+
export declare enum KnownStatusReasonCode {
|
|
3079
|
+
PastDue = "PastDue",
|
|
3080
|
+
SpendingLimitReached = "SpendingLimitReached",
|
|
3081
|
+
SpendingLimitExpired = "SpendingLimitExpired"
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
/** Known values of {@link StatusReasonCodeForBillingProfile} that the service accepts. */
|
|
3085
|
+
export declare enum KnownStatusReasonCodeForBillingProfile {
|
|
3086
|
+
PastDue = "PastDue",
|
|
3087
|
+
SpendingLimitReached = "SpendingLimitReached",
|
|
3088
|
+
SpendingLimitExpired = "SpendingLimitExpired"
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
/** Known values of {@link SubscriptionTransferValidationErrorCode} that the service accepts. */
|
|
3092
|
+
export declare enum KnownSubscriptionTransferValidationErrorCode {
|
|
3093
|
+
BillingAccountInactive = "BillingAccountInactive",
|
|
3094
|
+
CrossBillingAccountNotAllowed = "CrossBillingAccountNotAllowed",
|
|
3095
|
+
DestinationBillingProfileInactive = "DestinationBillingProfileInactive",
|
|
3096
|
+
DestinationBillingProfileNotFound = "DestinationBillingProfileNotFound",
|
|
3097
|
+
DestinationBillingProfilePastDue = "DestinationBillingProfilePastDue",
|
|
3098
|
+
DestinationInvoiceSectionInactive = "DestinationInvoiceSectionInactive",
|
|
3099
|
+
DestinationInvoiceSectionNotFound = "DestinationInvoiceSectionNotFound",
|
|
3100
|
+
InsufficientPermissionOnDestination = "InsufficientPermissionOnDestination",
|
|
3101
|
+
InsufficientPermissionOnSource = "InsufficientPermissionOnSource",
|
|
3102
|
+
InvalidDestination = "InvalidDestination",
|
|
3103
|
+
InvalidSource = "InvalidSource",
|
|
3104
|
+
MarketplaceNotEnabledOnDestination = "MarketplaceNotEnabledOnDestination",
|
|
3105
|
+
NotAvailableForDestinationMarket = "NotAvailableForDestinationMarket",
|
|
3106
|
+
ProductInactive = "ProductInactive",
|
|
3107
|
+
ProductNotFound = "ProductNotFound",
|
|
3108
|
+
ProductTypeNotSupported = "ProductTypeNotSupported",
|
|
3109
|
+
SourceBillingProfilePastDue = "SourceBillingProfilePastDue",
|
|
3110
|
+
SourceInvoiceSectionInactive = "SourceInvoiceSectionInactive",
|
|
3111
|
+
SubscriptionNotActive = "SubscriptionNotActive",
|
|
3112
|
+
SubscriptionTypeNotSupported = "SubscriptionTypeNotSupported"
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
/** Known values of {@link TargetCloud} that the service accepts. */
|
|
3116
|
+
export declare enum KnownTargetCloud {
|
|
3117
|
+
USGov = "USGov",
|
|
3118
|
+
USNat = "USNat",
|
|
3119
|
+
USSec = "USSec"
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
/** Known values of {@link TransactionTypeKind} that the service accepts. */
|
|
3123
|
+
export declare enum KnownTransactionTypeKind {
|
|
3124
|
+
All = "all",
|
|
3125
|
+
Reservation = "reservation"
|
|
3126
|
+
}
|
|
3127
|
+
|
|
3128
|
+
/** Known values of {@link ViewCharges} that the service accepts. */
|
|
3129
|
+
export declare enum KnownViewCharges {
|
|
3130
|
+
Allowed = "Allowed",
|
|
3131
|
+
NotAllowed = "NotAllowed"
|
|
3132
|
+
}
|
|
3133
|
+
|
|
3134
|
+
/** Known values of {@link ViewChargesPolicy} that the service accepts. */
|
|
3135
|
+
export declare enum KnownViewChargesPolicy {
|
|
3136
|
+
Allowed = "Allowed",
|
|
3137
|
+
NotAllowed = "NotAllowed"
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
/**
|
|
3141
|
+
* Defines values for MarketplacePurchasesPolicy. \
|
|
3142
|
+
* {@link KnownMarketplacePurchasesPolicy} can be used interchangeably with MarketplacePurchasesPolicy,
|
|
3143
|
+
* this enum contains the known values that the service supports.
|
|
3144
|
+
* ### Known values supported by the service
|
|
3145
|
+
* **AllAllowed** \
|
|
3146
|
+
* **OnlyFreeAllowed** \
|
|
3147
|
+
* **NotAllowed**
|
|
3148
|
+
*/
|
|
3149
|
+
export declare type MarketplacePurchasesPolicy = string;
|
|
3150
|
+
|
|
3151
|
+
/** A Billing REST API operation. */
|
|
3152
|
+
export declare interface Operation {
|
|
3153
|
+
/**
|
|
3154
|
+
* Operation name: {provider}/{resource}/{operation}.
|
|
3155
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3156
|
+
*/
|
|
3157
|
+
readonly name?: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* Identifies if the operation is a data operation.
|
|
3160
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3161
|
+
*/
|
|
3162
|
+
readonly isDataAction?: boolean;
|
|
3163
|
+
/** The object that represents the operation. */
|
|
3164
|
+
display?: OperationDisplay;
|
|
3165
|
+
}
|
|
3166
|
+
|
|
3167
|
+
/** The object that represents the operation. */
|
|
3168
|
+
export declare interface OperationDisplay {
|
|
3169
|
+
/**
|
|
3170
|
+
* Service provider: Microsoft.Billing.
|
|
3171
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3172
|
+
*/
|
|
3173
|
+
readonly provider?: string;
|
|
3174
|
+
/**
|
|
3175
|
+
* Resource on which the operation is performed such as invoice and billing subscription.
|
|
3176
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3177
|
+
*/
|
|
3178
|
+
readonly resource?: string;
|
|
3179
|
+
/**
|
|
3180
|
+
* Operation type such as read, write and delete.
|
|
3181
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3182
|
+
*/
|
|
3183
|
+
readonly operation?: string;
|
|
3184
|
+
/**
|
|
3185
|
+
* Description of operation.
|
|
3186
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3187
|
+
*/
|
|
3188
|
+
readonly description?: string;
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
/** The list of billing operations and a URL link to get the next set of results. */
|
|
3192
|
+
export declare interface OperationListResult {
|
|
3193
|
+
/**
|
|
3194
|
+
* The list of billing operations supported by the Microsoft.Billing resource provider.
|
|
3195
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3196
|
+
*/
|
|
3197
|
+
readonly value?: Operation[];
|
|
3198
|
+
/**
|
|
3199
|
+
* URL to get the next set of operation list results if there are any.
|
|
3200
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3201
|
+
*/
|
|
3202
|
+
readonly nextLink?: string;
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
/** Interface representing a Operations. */
|
|
3206
|
+
export declare interface Operations {
|
|
3207
|
+
/**
|
|
3208
|
+
* Lists the available billing REST API operations.
|
|
3209
|
+
* @param options The options parameters.
|
|
3210
|
+
*/
|
|
3211
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
/** Optional parameters. */
|
|
3215
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
/** Contains response data for the listNext operation. */
|
|
3219
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
3220
|
+
|
|
3221
|
+
/** Optional parameters. */
|
|
3222
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
/** Contains response data for the list operation. */
|
|
3226
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
3227
|
+
|
|
3228
|
+
/** The details about a participant. */
|
|
3229
|
+
export declare interface Participants {
|
|
3230
|
+
/**
|
|
3231
|
+
* The acceptance status of the participant.
|
|
3232
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3233
|
+
*/
|
|
3234
|
+
readonly status?: string;
|
|
3235
|
+
/**
|
|
3236
|
+
* The date when the status got changed.
|
|
3237
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3238
|
+
*/
|
|
3239
|
+
readonly statusDate?: Date;
|
|
3240
|
+
/**
|
|
3241
|
+
* The email address of the participant.
|
|
3242
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3243
|
+
*/
|
|
3244
|
+
readonly email?: string;
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
/**
|
|
3248
|
+
* Defines values for PaymentMethodFamily. \
|
|
3249
|
+
* {@link KnownPaymentMethodFamily} can be used interchangeably with PaymentMethodFamily,
|
|
3250
|
+
* this enum contains the known values that the service supports.
|
|
3251
|
+
* ### Known values supported by the service
|
|
3252
|
+
* **Credits** \
|
|
3253
|
+
* **CheckWire** \
|
|
3254
|
+
* **CreditCard** \
|
|
3255
|
+
* **None**
|
|
3256
|
+
*/
|
|
3257
|
+
export declare type PaymentMethodFamily = string;
|
|
3258
|
+
|
|
3259
|
+
/** The properties of a payment. */
|
|
3260
|
+
export declare interface PaymentProperties {
|
|
3261
|
+
/**
|
|
3262
|
+
* The type of payment.
|
|
3263
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3264
|
+
*/
|
|
3265
|
+
readonly paymentType?: string;
|
|
3266
|
+
/**
|
|
3267
|
+
* The paid amount.
|
|
3268
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3269
|
+
*/
|
|
3270
|
+
readonly amount?: Amount;
|
|
3271
|
+
/**
|
|
3272
|
+
* The date when the payment was made.
|
|
3273
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3274
|
+
*/
|
|
3275
|
+
readonly date?: Date;
|
|
3276
|
+
/** The family of payment method. */
|
|
3277
|
+
paymentMethodFamily?: PaymentMethodFamily;
|
|
3278
|
+
/**
|
|
3279
|
+
* The type of payment method.
|
|
3280
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3281
|
+
*/
|
|
3282
|
+
readonly paymentMethodType?: string;
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3285
|
+
/** Interface representing a Policies. */
|
|
3286
|
+
export declare interface Policies {
|
|
3287
|
+
/**
|
|
3288
|
+
* Lists the policies for a billing profile. This operation is supported only for billing accounts with
|
|
3289
|
+
* agreement type Microsoft Customer Agreement.
|
|
3290
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3291
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
3292
|
+
* @param options The options parameters.
|
|
3293
|
+
*/
|
|
3294
|
+
getByBillingProfile(billingAccountName: string, billingProfileName: string, options?: PoliciesGetByBillingProfileOptionalParams): Promise<PoliciesGetByBillingProfileResponse>;
|
|
3295
|
+
/**
|
|
3296
|
+
* Updates the policies for a billing profile. This operation is supported only for billing accounts
|
|
3297
|
+
* with agreement type Microsoft Customer Agreement.
|
|
3298
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3299
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
3300
|
+
* @param parameters Request parameters that are provided to the update policies operation.
|
|
3301
|
+
* @param options The options parameters.
|
|
3302
|
+
*/
|
|
3303
|
+
update(billingAccountName: string, billingProfileName: string, parameters: Policy, options?: PoliciesUpdateOptionalParams): Promise<PoliciesUpdateResponse>;
|
|
3304
|
+
/**
|
|
3305
|
+
* Lists the policies for a customer. This operation is supported only for billing accounts with
|
|
3306
|
+
* agreement type Microsoft Partner Agreement.
|
|
3307
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3308
|
+
* @param customerName The ID that uniquely identifies a customer.
|
|
3309
|
+
* @param options The options parameters.
|
|
3310
|
+
*/
|
|
3311
|
+
getByCustomer(billingAccountName: string, customerName: string, options?: PoliciesGetByCustomerOptionalParams): Promise<PoliciesGetByCustomerResponse>;
|
|
3312
|
+
/**
|
|
3313
|
+
* Updates the policies for a customer. This operation is supported only for billing accounts with
|
|
3314
|
+
* agreement type Microsoft Partner Agreement.
|
|
3315
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3316
|
+
* @param customerName The ID that uniquely identifies a customer.
|
|
3317
|
+
* @param parameters Request parameters that are provided to the update policies operation.
|
|
3318
|
+
* @param options The options parameters.
|
|
3319
|
+
*/
|
|
3320
|
+
updateCustomer(billingAccountName: string, customerName: string, parameters: CustomerPolicy, options?: PoliciesUpdateCustomerOptionalParams): Promise<PoliciesUpdateCustomerResponse>;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
/** Optional parameters. */
|
|
3324
|
+
export declare interface PoliciesGetByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
/** Contains response data for the getByBillingProfile operation. */
|
|
3328
|
+
export declare type PoliciesGetByBillingProfileResponse = Policy;
|
|
3329
|
+
|
|
3330
|
+
/** Optional parameters. */
|
|
3331
|
+
export declare interface PoliciesGetByCustomerOptionalParams extends coreClient.OperationOptions {
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
/** Contains response data for the getByCustomer operation. */
|
|
3335
|
+
export declare type PoliciesGetByCustomerResponse = CustomerPolicy;
|
|
3336
|
+
|
|
3337
|
+
/** Optional parameters. */
|
|
3338
|
+
export declare interface PoliciesUpdateCustomerOptionalParams extends coreClient.OperationOptions {
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
/** Contains response data for the updateCustomer operation. */
|
|
3342
|
+
export declare type PoliciesUpdateCustomerResponse = CustomerPolicy;
|
|
3343
|
+
|
|
3344
|
+
/** Optional parameters. */
|
|
3345
|
+
export declare interface PoliciesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
/** Contains response data for the update operation. */
|
|
3349
|
+
export declare type PoliciesUpdateResponse = Policy;
|
|
3350
|
+
|
|
3351
|
+
/** A policy. */
|
|
3352
|
+
export declare type Policy = Resource & {
|
|
3353
|
+
/** The policy that controls whether Azure marketplace purchases are allowed for a billing profile. */
|
|
3354
|
+
marketplacePurchases?: MarketplacePurchasesPolicy;
|
|
3355
|
+
/** The policy that controls whether Azure reservation purchases are allowed for a billing profile. */
|
|
3356
|
+
reservationPurchases?: ReservationPurchasesPolicy;
|
|
3357
|
+
/** The policy that controls whether users with Azure RBAC access to a subscription can view its charges. */
|
|
3358
|
+
viewCharges?: ViewChargesPolicy;
|
|
3359
|
+
};
|
|
3360
|
+
|
|
3361
|
+
/** A product. */
|
|
3362
|
+
export declare type Product = Resource & {
|
|
3363
|
+
/** Indicates whether auto renewal is turned on or off for a product. */
|
|
3364
|
+
autoRenew?: AutoRenew;
|
|
3365
|
+
/**
|
|
3366
|
+
* The display name of the product.
|
|
3367
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3368
|
+
*/
|
|
3369
|
+
readonly displayName?: string;
|
|
3370
|
+
/**
|
|
3371
|
+
* The date when the product was purchased.
|
|
3372
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3373
|
+
*/
|
|
3374
|
+
readonly purchaseDate?: Date;
|
|
3375
|
+
/**
|
|
3376
|
+
* The ID of the type of product.
|
|
3377
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3378
|
+
*/
|
|
3379
|
+
readonly productTypeId?: string;
|
|
3380
|
+
/**
|
|
3381
|
+
* The description of the type of product.
|
|
3382
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3383
|
+
*/
|
|
3384
|
+
readonly productType?: string;
|
|
3385
|
+
/** The current status of the product. */
|
|
3386
|
+
status?: ProductStatusType;
|
|
3387
|
+
/**
|
|
3388
|
+
* The date when the product will be renewed or canceled.
|
|
3389
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3390
|
+
*/
|
|
3391
|
+
readonly endDate?: Date;
|
|
3392
|
+
/** The frequency at which the product will be billed. */
|
|
3393
|
+
billingFrequency?: BillingFrequency;
|
|
3394
|
+
/**
|
|
3395
|
+
* The last month charges.
|
|
3396
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3397
|
+
*/
|
|
3398
|
+
readonly lastCharge?: Amount;
|
|
3399
|
+
/**
|
|
3400
|
+
* The date of the last charge.
|
|
3401
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3402
|
+
*/
|
|
3403
|
+
readonly lastChargeDate?: Date;
|
|
3404
|
+
/**
|
|
3405
|
+
* The quantity purchased for the product.
|
|
3406
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3407
|
+
*/
|
|
3408
|
+
readonly quantity?: number;
|
|
3409
|
+
/**
|
|
3410
|
+
* The sku ID of the product.
|
|
3411
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3412
|
+
*/
|
|
3413
|
+
readonly skuId?: string;
|
|
3414
|
+
/**
|
|
3415
|
+
* The sku description of the product.
|
|
3416
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3417
|
+
*/
|
|
3418
|
+
readonly skuDescription?: string;
|
|
3419
|
+
/**
|
|
3420
|
+
* The id of the tenant in which the product is used.
|
|
3421
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3422
|
+
*/
|
|
3423
|
+
readonly tenantId?: string;
|
|
3424
|
+
/**
|
|
3425
|
+
* The availability of the product.
|
|
3426
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3427
|
+
*/
|
|
3428
|
+
readonly availabilityId?: string;
|
|
3429
|
+
/**
|
|
3430
|
+
* The ID of the invoice section to which the product is billed.
|
|
3431
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3432
|
+
*/
|
|
3433
|
+
readonly invoiceSectionId?: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* The name of the invoice section to which the product is billed.
|
|
3436
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3437
|
+
*/
|
|
3438
|
+
readonly invoiceSectionDisplayName?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* The ID of the billing profile to which the product is billed.
|
|
3441
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3442
|
+
*/
|
|
3443
|
+
readonly billingProfileId?: string;
|
|
3444
|
+
/**
|
|
3445
|
+
* The name of the billing profile to which the product is billed.
|
|
3446
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3447
|
+
*/
|
|
3448
|
+
readonly billingProfileDisplayName?: string;
|
|
3449
|
+
/**
|
|
3450
|
+
* The ID of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.
|
|
3451
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3452
|
+
*/
|
|
3453
|
+
readonly customerId?: string;
|
|
3454
|
+
/**
|
|
3455
|
+
* The name of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.
|
|
3456
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3457
|
+
*/
|
|
3458
|
+
readonly customerDisplayName?: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* Reseller for this product.
|
|
3461
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3462
|
+
*/
|
|
3463
|
+
readonly reseller?: Reseller;
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3466
|
+
/** Interface representing a Products. */
|
|
3467
|
+
export declare interface Products {
|
|
3468
|
+
/**
|
|
3469
|
+
* Lists the products for a customer. These don't include products billed based on usage.The operation
|
|
3470
|
+
* is supported only for billing accounts with agreement type Microsoft Partner Agreement.
|
|
3471
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3472
|
+
* @param customerName The ID that uniquely identifies a customer.
|
|
3473
|
+
* @param options The options parameters.
|
|
3474
|
+
*/
|
|
3475
|
+
listByCustomer(billingAccountName: string, customerName: string, options?: ProductsListByCustomerOptionalParams): PagedAsyncIterableIterator<Product>;
|
|
3476
|
+
/**
|
|
3477
|
+
* Lists the products for a billing account. These don't include products billed based on usage. The
|
|
3478
|
+
* operation is supported for billing accounts with agreement type Microsoft Customer Agreement or
|
|
3479
|
+
* Microsoft Partner Agreement.
|
|
3480
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3481
|
+
* @param options The options parameters.
|
|
3482
|
+
*/
|
|
3483
|
+
listByBillingAccount(billingAccountName: string, options?: ProductsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Product>;
|
|
3484
|
+
/**
|
|
3485
|
+
* Lists the products for a billing profile. These don't include products billed based on usage. The
|
|
3486
|
+
* operation is supported for billing accounts with agreement type Microsoft Customer Agreement or
|
|
3487
|
+
* Microsoft Partner Agreement.
|
|
3488
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3489
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
3490
|
+
* @param options The options parameters.
|
|
3491
|
+
*/
|
|
3492
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: ProductsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Product>;
|
|
3493
|
+
/**
|
|
3494
|
+
* Lists the products for an invoice section. These don't include products billed based on usage. The
|
|
3495
|
+
* operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
3496
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3497
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
3498
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
3499
|
+
* @param options The options parameters.
|
|
3500
|
+
*/
|
|
3501
|
+
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: ProductsListByInvoiceSectionOptionalParams): PagedAsyncIterableIterator<Product>;
|
|
3502
|
+
/**
|
|
3503
|
+
* Gets a product by ID. The operation is supported only for billing accounts with agreement type
|
|
3504
|
+
* Microsoft Customer Agreement.
|
|
3505
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3506
|
+
* @param productName The ID that uniquely identifies a product.
|
|
3507
|
+
* @param options The options parameters.
|
|
3508
|
+
*/
|
|
3509
|
+
get(billingAccountName: string, productName: string, options?: ProductsGetOptionalParams): Promise<ProductsGetResponse>;
|
|
3510
|
+
/**
|
|
3511
|
+
* Updates the properties of a Product. Currently, auto renew can be updated. The operation is
|
|
3512
|
+
* supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
3513
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3514
|
+
* @param productName The ID that uniquely identifies a product.
|
|
3515
|
+
* @param parameters Request parameters that are provided to the update product operation.
|
|
3516
|
+
* @param options The options parameters.
|
|
3517
|
+
*/
|
|
3518
|
+
update(billingAccountName: string, productName: string, parameters: Product, options?: ProductsUpdateOptionalParams): Promise<ProductsUpdateResponse>;
|
|
3519
|
+
/**
|
|
3520
|
+
* Moves a product's charges to a new invoice section. The new invoice section must belong to the same
|
|
3521
|
+
* billing profile as the existing invoice section. This operation is supported only for products that
|
|
3522
|
+
* are purchased with a recurring charge and for billing accounts with agreement type Microsoft
|
|
3523
|
+
* Customer Agreement.
|
|
3524
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3525
|
+
* @param productName The ID that uniquely identifies a product.
|
|
3526
|
+
* @param parameters Request parameters that are provided to the move product operation.
|
|
3527
|
+
* @param options The options parameters.
|
|
3528
|
+
*/
|
|
3529
|
+
move(billingAccountName: string, productName: string, parameters: TransferProductRequestProperties, options?: ProductsMoveOptionalParams): Promise<ProductsMoveResponse>;
|
|
3530
|
+
/**
|
|
3531
|
+
* Validates if a product's charges can be moved to a new invoice section. This operation is supported
|
|
3532
|
+
* only for products that are purchased with a recurring charge and for billing accounts with agreement
|
|
3533
|
+
* type Microsoft Customer Agreement.
|
|
3534
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3535
|
+
* @param productName The ID that uniquely identifies a product.
|
|
3536
|
+
* @param parameters Request parameters that are provided to the validate move eligibility operation.
|
|
3537
|
+
* @param options The options parameters.
|
|
3538
|
+
*/
|
|
3539
|
+
validateMove(billingAccountName: string, productName: string, parameters: TransferProductRequestProperties, options?: ProductsValidateMoveOptionalParams): Promise<ProductsValidateMoveResponse>;
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3542
|
+
/** Optional parameters. */
|
|
3543
|
+
export declare interface ProductsGetOptionalParams extends coreClient.OperationOptions {
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
/** Contains response data for the get operation. */
|
|
3547
|
+
export declare type ProductsGetResponse = Product;
|
|
3548
|
+
|
|
3549
|
+
/** Optional parameters. */
|
|
3550
|
+
export declare interface ProductsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
3551
|
+
/** May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value are separated by a colon (:). */
|
|
3552
|
+
filter?: string;
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3555
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
3556
|
+
export declare type ProductsListByBillingAccountNextResponse = ProductsListResult;
|
|
3557
|
+
|
|
3558
|
+
/** Optional parameters. */
|
|
3559
|
+
export declare interface ProductsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
3560
|
+
/** May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value are separated by a colon (:). */
|
|
3561
|
+
filter?: string;
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
3565
|
+
export declare type ProductsListByBillingAccountResponse = ProductsListResult;
|
|
3566
|
+
|
|
3567
|
+
/** Optional parameters. */
|
|
3568
|
+
export declare interface ProductsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
3569
|
+
/** May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value are separated by a colon (:). */
|
|
3570
|
+
filter?: string;
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
3574
|
+
export declare type ProductsListByBillingProfileNextResponse = ProductsListResult;
|
|
3575
|
+
|
|
3576
|
+
/** Optional parameters. */
|
|
3577
|
+
export declare interface ProductsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
3578
|
+
/** May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value are separated by a colon (:). */
|
|
3579
|
+
filter?: string;
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3582
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
3583
|
+
export declare type ProductsListByBillingProfileResponse = ProductsListResult;
|
|
3584
|
+
|
|
3585
|
+
/** Optional parameters. */
|
|
3586
|
+
export declare interface ProductsListByCustomerNextOptionalParams extends coreClient.OperationOptions {
|
|
3587
|
+
}
|
|
3588
|
+
|
|
3589
|
+
/** Contains response data for the listByCustomerNext operation. */
|
|
3590
|
+
export declare type ProductsListByCustomerNextResponse = ProductsListResult;
|
|
3591
|
+
|
|
3592
|
+
/** Optional parameters. */
|
|
3593
|
+
export declare interface ProductsListByCustomerOptionalParams extends coreClient.OperationOptions {
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
/** Contains response data for the listByCustomer operation. */
|
|
3597
|
+
export declare type ProductsListByCustomerResponse = ProductsListResult;
|
|
3598
|
+
|
|
3599
|
+
/** Optional parameters. */
|
|
3600
|
+
export declare interface ProductsListByInvoiceSectionNextOptionalParams extends coreClient.OperationOptions {
|
|
3601
|
+
/** May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value are separated by a colon (:). */
|
|
3602
|
+
filter?: string;
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3605
|
+
/** Contains response data for the listByInvoiceSectionNext operation. */
|
|
3606
|
+
export declare type ProductsListByInvoiceSectionNextResponse = ProductsListResult;
|
|
3607
|
+
|
|
3608
|
+
/** Optional parameters. */
|
|
3609
|
+
export declare interface ProductsListByInvoiceSectionOptionalParams extends coreClient.OperationOptions {
|
|
3610
|
+
/** May be used to filter by product type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value are separated by a colon (:). */
|
|
3611
|
+
filter?: string;
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3614
|
+
/** Contains response data for the listByInvoiceSection operation. */
|
|
3615
|
+
export declare type ProductsListByInvoiceSectionResponse = ProductsListResult;
|
|
3616
|
+
|
|
3617
|
+
/** The list of products. It contains a list of available product summaries in reverse chronological order by purchase date. */
|
|
3618
|
+
export declare interface ProductsListResult {
|
|
3619
|
+
/**
|
|
3620
|
+
* The list of products.
|
|
3621
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3622
|
+
*/
|
|
3623
|
+
readonly value?: Product[];
|
|
3624
|
+
/**
|
|
3625
|
+
* Total number of records.
|
|
3626
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3627
|
+
*/
|
|
3628
|
+
readonly totalCount?: number;
|
|
3629
|
+
/**
|
|
3630
|
+
* The link (url) to the next page of results.
|
|
3631
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3632
|
+
*/
|
|
3633
|
+
readonly nextLink?: string;
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3636
|
+
/** Defines headers for Products_move operation. */
|
|
3637
|
+
export declare interface ProductsMoveHeaders {
|
|
3638
|
+
/** Location URI to poll for result */
|
|
3639
|
+
location?: string;
|
|
3640
|
+
/** Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds. */
|
|
3641
|
+
retryAfter?: number;
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
/** Optional parameters. */
|
|
3645
|
+
export declare interface ProductsMoveOptionalParams extends coreClient.OperationOptions {
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
/** Contains response data for the move operation. */
|
|
3649
|
+
export declare type ProductsMoveResponse = Product;
|
|
3650
|
+
|
|
3651
|
+
/**
|
|
3652
|
+
* Defines values for ProductStatusType. \
|
|
3653
|
+
* {@link KnownProductStatusType} can be used interchangeably with ProductStatusType,
|
|
3654
|
+
* this enum contains the known values that the service supports.
|
|
3655
|
+
* ### Known values supported by the service
|
|
3656
|
+
* **Active** \
|
|
3657
|
+
* **Inactive** \
|
|
3658
|
+
* **PastDue** \
|
|
3659
|
+
* **Expiring** \
|
|
3660
|
+
* **Expired** \
|
|
3661
|
+
* **Disabled** \
|
|
3662
|
+
* **Cancelled** \
|
|
3663
|
+
* **AutoRenew**
|
|
3664
|
+
*/
|
|
3665
|
+
export declare type ProductStatusType = string;
|
|
3666
|
+
|
|
3667
|
+
/** Optional parameters. */
|
|
3668
|
+
export declare interface ProductsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
/** Contains response data for the update operation. */
|
|
3672
|
+
export declare type ProductsUpdateResponse = Product;
|
|
3673
|
+
|
|
3674
|
+
/** Optional parameters. */
|
|
3675
|
+
export declare interface ProductsValidateMoveOptionalParams extends coreClient.OperationOptions {
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3678
|
+
/** Contains response data for the validateMove operation. */
|
|
3679
|
+
export declare type ProductsValidateMoveResponse = ValidateProductTransferEligibilityResult;
|
|
3680
|
+
|
|
3681
|
+
/**
|
|
3682
|
+
* Defines values for ProductTransferValidationErrorCode. \
|
|
3683
|
+
* {@link KnownProductTransferValidationErrorCode} can be used interchangeably with ProductTransferValidationErrorCode,
|
|
3684
|
+
* this enum contains the known values that the service supports.
|
|
3685
|
+
* ### Known values supported by the service
|
|
3686
|
+
* **InvalidSource** \
|
|
3687
|
+
* **ProductNotActive** \
|
|
3688
|
+
* **InsufficientPermissionOnSource** \
|
|
3689
|
+
* **InsufficientPermissionOnDestination** \
|
|
3690
|
+
* **DestinationBillingProfilePastDue** \
|
|
3691
|
+
* **ProductTypeNotSupported** \
|
|
3692
|
+
* **CrossBillingAccountNotAllowed** \
|
|
3693
|
+
* **NotAvailableForDestinationMarket** \
|
|
3694
|
+
* **OneTimePurchaseProductTransferNotAllowed**
|
|
3695
|
+
*/
|
|
3696
|
+
export declare type ProductTransferValidationErrorCode = string;
|
|
3697
|
+
|
|
3698
|
+
/** The rebill details of an invoice. */
|
|
3699
|
+
export declare interface RebillDetails {
|
|
3700
|
+
/**
|
|
3701
|
+
* The ID of credit note.
|
|
3702
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3703
|
+
*/
|
|
3704
|
+
readonly creditNoteDocumentId?: string;
|
|
3705
|
+
/**
|
|
3706
|
+
* The ID of invoice.
|
|
3707
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3708
|
+
*/
|
|
3709
|
+
readonly invoiceDocumentId?: string;
|
|
3710
|
+
/**
|
|
3711
|
+
* Rebill details for an invoice.
|
|
3712
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3713
|
+
*/
|
|
3714
|
+
readonly rebillDetails?: {
|
|
3715
|
+
[propertyName: string]: RebillDetails;
|
|
3716
|
+
};
|
|
3717
|
+
}
|
|
3718
|
+
|
|
3719
|
+
/** Details of the reseller. */
|
|
3720
|
+
export declare interface Reseller {
|
|
3721
|
+
/**
|
|
3722
|
+
* The MPN ID of the reseller.
|
|
3723
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3724
|
+
*/
|
|
3725
|
+
readonly resellerId?: string;
|
|
3726
|
+
/**
|
|
3727
|
+
* The name of the reseller.
|
|
3728
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3729
|
+
*/
|
|
3730
|
+
readonly description?: string;
|
|
3731
|
+
}
|
|
3732
|
+
|
|
3733
|
+
/** The definition of the reservation. */
|
|
3734
|
+
export declare interface Reservation {
|
|
3735
|
+
/**
|
|
3736
|
+
* The id of the reservation.
|
|
3737
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3738
|
+
*/
|
|
3739
|
+
readonly id?: string;
|
|
3740
|
+
/**
|
|
3741
|
+
* The name of the reservation.
|
|
3742
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3743
|
+
*/
|
|
3744
|
+
readonly name?: string;
|
|
3745
|
+
/**
|
|
3746
|
+
* The type of the reservation.
|
|
3747
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3748
|
+
*/
|
|
3749
|
+
readonly type?: string;
|
|
3750
|
+
/**
|
|
3751
|
+
* The location of the reservation.
|
|
3752
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3753
|
+
*/
|
|
3754
|
+
readonly location?: string;
|
|
3755
|
+
/** The sku information associated to this reservation */
|
|
3756
|
+
sku?: ReservationSkuProperty;
|
|
3757
|
+
/** The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope */
|
|
3758
|
+
appliedScopes?: string[];
|
|
3759
|
+
/**
|
|
3760
|
+
* The applied scope type of the reservation.
|
|
3761
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3762
|
+
*/
|
|
3763
|
+
readonly appliedScopeType?: string;
|
|
3764
|
+
/**
|
|
3765
|
+
* The reserved source type of the reservation, e.g. virtual machine.
|
|
3766
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3767
|
+
*/
|
|
3768
|
+
readonly reservedResourceType?: string;
|
|
3769
|
+
/**
|
|
3770
|
+
* The number of the reservation.
|
|
3771
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3772
|
+
*/
|
|
3773
|
+
readonly quantity?: number;
|
|
3774
|
+
/**
|
|
3775
|
+
* The provisioning state of the reservation, e.g. Succeeded
|
|
3776
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3777
|
+
*/
|
|
3778
|
+
readonly provisioningState?: string;
|
|
3779
|
+
/**
|
|
3780
|
+
* The expiry date of the reservation
|
|
3781
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3782
|
+
*/
|
|
3783
|
+
readonly expiryDate?: string;
|
|
3784
|
+
/**
|
|
3785
|
+
* The provisioning state of the reservation, e.g. Succeeded
|
|
3786
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3787
|
+
*/
|
|
3788
|
+
readonly provisioningSubState?: string;
|
|
3789
|
+
/**
|
|
3790
|
+
* The display name of the reservation
|
|
3791
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3792
|
+
*/
|
|
3793
|
+
readonly displayName?: string;
|
|
3794
|
+
/**
|
|
3795
|
+
* The provisioning state of the reservation for display, e.g. Succeeded
|
|
3796
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3797
|
+
*/
|
|
3798
|
+
readonly displayProvisioningState?: string;
|
|
3799
|
+
/**
|
|
3800
|
+
* The renew state of the reservation for display, e.g. On
|
|
3801
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3802
|
+
*/
|
|
3803
|
+
readonly userFriendlyRenewState?: string;
|
|
3804
|
+
/**
|
|
3805
|
+
* The applied scope type of the reservation for display, e.g. Shared
|
|
3806
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3807
|
+
*/
|
|
3808
|
+
readonly userFriendlyAppliedScopeType?: string;
|
|
3809
|
+
/**
|
|
3810
|
+
* The effective date time of the reservation
|
|
3811
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3812
|
+
*/
|
|
3813
|
+
readonly effectiveDateTime?: string;
|
|
3814
|
+
/**
|
|
3815
|
+
* The sku description of the reservation
|
|
3816
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3817
|
+
*/
|
|
3818
|
+
readonly skuDescription?: string;
|
|
3819
|
+
/**
|
|
3820
|
+
* The term of the reservation, e.g. P1Y
|
|
3821
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3822
|
+
*/
|
|
3823
|
+
readonly term?: string;
|
|
3824
|
+
/**
|
|
3825
|
+
* The renew state of the reservation
|
|
3826
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3827
|
+
*/
|
|
3828
|
+
readonly renew?: boolean;
|
|
3829
|
+
/**
|
|
3830
|
+
* The renew source of the reservation
|
|
3831
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3832
|
+
*/
|
|
3833
|
+
readonly renewSource?: string;
|
|
3834
|
+
/**
|
|
3835
|
+
* Reservation utilization
|
|
3836
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3837
|
+
*/
|
|
3838
|
+
readonly utilization?: ReservationPropertyUtilization;
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
/** Reservation utilization */
|
|
3842
|
+
export declare interface ReservationPropertyUtilization {
|
|
3843
|
+
/**
|
|
3844
|
+
* The number of days trend for a reservation
|
|
3845
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3846
|
+
*/
|
|
3847
|
+
readonly trend?: string;
|
|
3848
|
+
/** The array of aggregates of a reservation's utilization */
|
|
3849
|
+
aggregates?: ReservationUtilizationAggregates[];
|
|
3850
|
+
}
|
|
3851
|
+
|
|
3852
|
+
/**
|
|
3853
|
+
* Defines values for ReservationPurchasesPolicy. \
|
|
3854
|
+
* {@link KnownReservationPurchasesPolicy} can be used interchangeably with ReservationPurchasesPolicy,
|
|
3855
|
+
* this enum contains the known values that the service supports.
|
|
3856
|
+
* ### Known values supported by the service
|
|
3857
|
+
* **Allowed** \
|
|
3858
|
+
* **NotAllowed**
|
|
3859
|
+
*/
|
|
3860
|
+
export declare type ReservationPurchasesPolicy = string;
|
|
3861
|
+
|
|
3862
|
+
/** Interface representing a Reservations. */
|
|
3863
|
+
export declare interface Reservations {
|
|
3864
|
+
/**
|
|
3865
|
+
* Lists the reservations for a billing account and the roll up counts of reservations group by
|
|
3866
|
+
* provisioning states.
|
|
3867
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3868
|
+
* @param options The options parameters.
|
|
3869
|
+
*/
|
|
3870
|
+
listByBillingAccount(billingAccountName: string, options?: ReservationsListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Reservation>;
|
|
3871
|
+
/**
|
|
3872
|
+
* Lists the reservations for a billing profile and the roll up counts of reservations group by
|
|
3873
|
+
* provisioning state.
|
|
3874
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
3875
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
3876
|
+
* @param options The options parameters.
|
|
3877
|
+
*/
|
|
3878
|
+
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: ReservationsListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Reservation>;
|
|
3879
|
+
}
|
|
3880
|
+
|
|
3881
|
+
/** The property of reservation sku object. */
|
|
3882
|
+
export declare interface ReservationSkuProperty {
|
|
3883
|
+
/**
|
|
3884
|
+
* The name of the reservation sku.
|
|
3885
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3886
|
+
*/
|
|
3887
|
+
readonly name?: string;
|
|
3888
|
+
}
|
|
3889
|
+
|
|
3890
|
+
/** Optional parameters. */
|
|
3891
|
+
export declare interface ReservationsListByBillingAccountNextOptionalParams extends coreClient.OperationOptions {
|
|
3892
|
+
/** May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'. */
|
|
3893
|
+
filter?: string;
|
|
3894
|
+
/** May be used to sort order by reservation properties. */
|
|
3895
|
+
orderby?: string;
|
|
3896
|
+
/** To indicate whether to refresh the roll up counts of the reservations group by provisioning states */
|
|
3897
|
+
refreshSummary?: string;
|
|
3898
|
+
/** The selected provisioning state */
|
|
3899
|
+
selectedState?: string;
|
|
3900
|
+
}
|
|
3901
|
+
|
|
3902
|
+
/** Contains response data for the listByBillingAccountNext operation. */
|
|
3903
|
+
export declare type ReservationsListByBillingAccountNextResponse = ReservationsListResult;
|
|
3904
|
+
|
|
3905
|
+
/** Optional parameters. */
|
|
3906
|
+
export declare interface ReservationsListByBillingAccountOptionalParams extends coreClient.OperationOptions {
|
|
3907
|
+
/** May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'. */
|
|
3908
|
+
filter?: string;
|
|
3909
|
+
/** May be used to sort order by reservation properties. */
|
|
3910
|
+
orderby?: string;
|
|
3911
|
+
/** To indicate whether to refresh the roll up counts of the reservations group by provisioning states */
|
|
3912
|
+
refreshSummary?: string;
|
|
3913
|
+
/** The selected provisioning state */
|
|
3914
|
+
selectedState?: string;
|
|
3915
|
+
}
|
|
3916
|
+
|
|
3917
|
+
/** Contains response data for the listByBillingAccount operation. */
|
|
3918
|
+
export declare type ReservationsListByBillingAccountResponse = ReservationsListResult;
|
|
3919
|
+
|
|
3920
|
+
/** Optional parameters. */
|
|
3921
|
+
export declare interface ReservationsListByBillingProfileNextOptionalParams extends coreClient.OperationOptions {
|
|
3922
|
+
/** May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'. */
|
|
3923
|
+
filter?: string;
|
|
3924
|
+
/** May be used to sort order by reservation properties. */
|
|
3925
|
+
orderby?: string;
|
|
3926
|
+
/** To indicate whether to refresh the roll up counts of the reservations group by provisioning state */
|
|
3927
|
+
refreshSummary?: string;
|
|
3928
|
+
/** The selected provisioning state */
|
|
3929
|
+
selectedState?: string;
|
|
3930
|
+
}
|
|
3931
|
+
|
|
3932
|
+
/** Contains response data for the listByBillingProfileNext operation. */
|
|
3933
|
+
export declare type ReservationsListByBillingProfileNextResponse = ReservationsListResult;
|
|
3934
|
+
|
|
3935
|
+
/** Optional parameters. */
|
|
3936
|
+
export declare interface ReservationsListByBillingProfileOptionalParams extends coreClient.OperationOptions {
|
|
3937
|
+
/** May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'. */
|
|
3938
|
+
filter?: string;
|
|
3939
|
+
/** May be used to sort order by reservation properties. */
|
|
3940
|
+
orderby?: string;
|
|
3941
|
+
/** To indicate whether to refresh the roll up counts of the reservations group by provisioning state */
|
|
3942
|
+
refreshSummary?: string;
|
|
3943
|
+
/** The selected provisioning state */
|
|
3944
|
+
selectedState?: string;
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3947
|
+
/** Contains response data for the listByBillingProfile operation. */
|
|
3948
|
+
export declare type ReservationsListByBillingProfileResponse = ReservationsListResult;
|
|
3949
|
+
|
|
3950
|
+
/** The list of reservations and summary of roll out count of reservations in each state. */
|
|
3951
|
+
export declare interface ReservationsListResult {
|
|
3952
|
+
/**
|
|
3953
|
+
* The list of reservations.
|
|
3954
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3955
|
+
*/
|
|
3956
|
+
readonly value?: Reservation[];
|
|
3957
|
+
/**
|
|
3958
|
+
* The link (url) to the next page of results.
|
|
3959
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3960
|
+
*/
|
|
3961
|
+
readonly nextLink?: string;
|
|
3962
|
+
/** The roll out count summary of the reservations */
|
|
3963
|
+
summary?: ReservationSummary;
|
|
3964
|
+
}
|
|
3965
|
+
|
|
3966
|
+
/** The roll up count summary of reservations in each state */
|
|
3967
|
+
export declare interface ReservationSummary {
|
|
3968
|
+
/**
|
|
3969
|
+
* The number of reservation in Succeeded state
|
|
3970
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3971
|
+
*/
|
|
3972
|
+
readonly succeededCount?: number;
|
|
3973
|
+
/**
|
|
3974
|
+
* The number of reservation in Failed state
|
|
3975
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3976
|
+
*/
|
|
3977
|
+
readonly failedCount?: number;
|
|
3978
|
+
/**
|
|
3979
|
+
* The number of reservation in Expiring state
|
|
3980
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3981
|
+
*/
|
|
3982
|
+
readonly expiringCount?: number;
|
|
3983
|
+
/**
|
|
3984
|
+
* The number of reservation in Expired state
|
|
3985
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3986
|
+
*/
|
|
3987
|
+
readonly expiredCount?: number;
|
|
3988
|
+
/**
|
|
3989
|
+
* The number of reservation in Pending state
|
|
3990
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3991
|
+
*/
|
|
3992
|
+
readonly pendingCount?: number;
|
|
3993
|
+
/**
|
|
3994
|
+
* The number of reservation in Cancelled state
|
|
3995
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3996
|
+
*/
|
|
3997
|
+
readonly cancelledCount?: number;
|
|
3998
|
+
}
|
|
3999
|
+
|
|
4000
|
+
/**
|
|
4001
|
+
* Defines values for ReservationType. \
|
|
4002
|
+
* {@link KnownReservationType} can be used interchangeably with ReservationType,
|
|
4003
|
+
* this enum contains the known values that the service supports.
|
|
4004
|
+
* ### Known values supported by the service
|
|
4005
|
+
* **Purchase** \
|
|
4006
|
+
* **Usage Charge**
|
|
4007
|
+
*/
|
|
4008
|
+
export declare type ReservationType = string;
|
|
4009
|
+
|
|
4010
|
+
/** The aggregate values of reservation utilization */
|
|
4011
|
+
export declare interface ReservationUtilizationAggregates {
|
|
4012
|
+
/**
|
|
4013
|
+
* The grain of the aggregate
|
|
4014
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4015
|
+
*/
|
|
4016
|
+
readonly grain?: number;
|
|
4017
|
+
/**
|
|
4018
|
+
* The grain unit of the aggregate
|
|
4019
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4020
|
+
*/
|
|
4021
|
+
readonly grainUnit?: string;
|
|
4022
|
+
/**
|
|
4023
|
+
* The aggregate value
|
|
4024
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4025
|
+
*/
|
|
4026
|
+
readonly value?: number;
|
|
4027
|
+
/**
|
|
4028
|
+
* The aggregate value unit
|
|
4029
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4030
|
+
*/
|
|
4031
|
+
readonly valueUnit?: string;
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4034
|
+
/** The Resource model definition. */
|
|
4035
|
+
export declare interface Resource {
|
|
4036
|
+
/**
|
|
4037
|
+
* Resource Id.
|
|
4038
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4039
|
+
*/
|
|
4040
|
+
readonly id?: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* Resource name.
|
|
4043
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4044
|
+
*/
|
|
4045
|
+
readonly name?: string;
|
|
4046
|
+
/**
|
|
4047
|
+
* Resource type.
|
|
4048
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4049
|
+
*/
|
|
4050
|
+
readonly type?: string;
|
|
4051
|
+
}
|
|
4052
|
+
|
|
4053
|
+
/**
|
|
4054
|
+
* Defines values for SpendingLimit. \
|
|
4055
|
+
* {@link KnownSpendingLimit} can be used interchangeably with SpendingLimit,
|
|
4056
|
+
* this enum contains the known values that the service supports.
|
|
4057
|
+
* ### Known values supported by the service
|
|
4058
|
+
* **Off** \
|
|
4059
|
+
* **On**
|
|
4060
|
+
*/
|
|
4061
|
+
export declare type SpendingLimit = string;
|
|
4062
|
+
|
|
4063
|
+
/**
|
|
4064
|
+
* Defines values for SpendingLimitForBillingProfile. \
|
|
4065
|
+
* {@link KnownSpendingLimitForBillingProfile} can be used interchangeably with SpendingLimitForBillingProfile,
|
|
4066
|
+
* this enum contains the known values that the service supports.
|
|
4067
|
+
* ### Known values supported by the service
|
|
4068
|
+
* **Off** \
|
|
4069
|
+
* **On**
|
|
4070
|
+
*/
|
|
4071
|
+
export declare type SpendingLimitForBillingProfile = string;
|
|
4072
|
+
|
|
4073
|
+
/**
|
|
4074
|
+
* Defines values for StatusReasonCode. \
|
|
4075
|
+
* {@link KnownStatusReasonCode} can be used interchangeably with StatusReasonCode,
|
|
4076
|
+
* this enum contains the known values that the service supports.
|
|
4077
|
+
* ### Known values supported by the service
|
|
4078
|
+
* **PastDue** \
|
|
4079
|
+
* **SpendingLimitReached** \
|
|
4080
|
+
* **SpendingLimitExpired**
|
|
4081
|
+
*/
|
|
4082
|
+
export declare type StatusReasonCode = string;
|
|
4083
|
+
|
|
4084
|
+
/**
|
|
4085
|
+
* Defines values for StatusReasonCodeForBillingProfile. \
|
|
4086
|
+
* {@link KnownStatusReasonCodeForBillingProfile} can be used interchangeably with StatusReasonCodeForBillingProfile,
|
|
4087
|
+
* this enum contains the known values that the service supports.
|
|
4088
|
+
* ### Known values supported by the service
|
|
4089
|
+
* **PastDue** \
|
|
4090
|
+
* **SpendingLimitReached** \
|
|
4091
|
+
* **SpendingLimitExpired**
|
|
4092
|
+
*/
|
|
4093
|
+
export declare type StatusReasonCodeForBillingProfile = string;
|
|
4094
|
+
|
|
4095
|
+
/**
|
|
4096
|
+
* Defines values for SubscriptionTransferValidationErrorCode. \
|
|
4097
|
+
* {@link KnownSubscriptionTransferValidationErrorCode} can be used interchangeably with SubscriptionTransferValidationErrorCode,
|
|
4098
|
+
* this enum contains the known values that the service supports.
|
|
4099
|
+
* ### Known values supported by the service
|
|
4100
|
+
* **BillingAccountInactive** \
|
|
4101
|
+
* **CrossBillingAccountNotAllowed** \
|
|
4102
|
+
* **DestinationBillingProfileInactive** \
|
|
4103
|
+
* **DestinationBillingProfileNotFound** \
|
|
4104
|
+
* **DestinationBillingProfilePastDue** \
|
|
4105
|
+
* **DestinationInvoiceSectionInactive** \
|
|
4106
|
+
* **DestinationInvoiceSectionNotFound** \
|
|
4107
|
+
* **InsufficientPermissionOnDestination** \
|
|
4108
|
+
* **InsufficientPermissionOnSource** \
|
|
4109
|
+
* **InvalidDestination** \
|
|
4110
|
+
* **InvalidSource** \
|
|
4111
|
+
* **MarketplaceNotEnabledOnDestination** \
|
|
4112
|
+
* **NotAvailableForDestinationMarket** \
|
|
4113
|
+
* **ProductInactive** \
|
|
4114
|
+
* **ProductNotFound** \
|
|
4115
|
+
* **ProductTypeNotSupported** \
|
|
4116
|
+
* **SourceBillingProfilePastDue** \
|
|
4117
|
+
* **SourceInvoiceSectionInactive** \
|
|
4118
|
+
* **SubscriptionNotActive** \
|
|
4119
|
+
* **SubscriptionTypeNotSupported**
|
|
4120
|
+
*/
|
|
4121
|
+
export declare type SubscriptionTransferValidationErrorCode = string;
|
|
4122
|
+
|
|
4123
|
+
/**
|
|
4124
|
+
* Defines values for TargetCloud. \
|
|
4125
|
+
* {@link KnownTargetCloud} can be used interchangeably with TargetCloud,
|
|
4126
|
+
* this enum contains the known values that the service supports.
|
|
4127
|
+
* ### Known values supported by the service
|
|
4128
|
+
* **USGov** \
|
|
4129
|
+
* **USNat** \
|
|
4130
|
+
* **USSec**
|
|
4131
|
+
*/
|
|
4132
|
+
export declare type TargetCloud = string;
|
|
4133
|
+
|
|
4134
|
+
/** A transaction. */
|
|
4135
|
+
export declare type Transaction = Resource & {
|
|
4136
|
+
/** The kind of transaction. Options are all or reservation. */
|
|
4137
|
+
kind?: TransactionTypeKind;
|
|
4138
|
+
/**
|
|
4139
|
+
* The date of transaction.
|
|
4140
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4141
|
+
*/
|
|
4142
|
+
readonly date?: Date;
|
|
4143
|
+
/**
|
|
4144
|
+
* Invoice on which the transaction was billed or 'pending' if the transaction is not billed.
|
|
4145
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4146
|
+
*/
|
|
4147
|
+
readonly invoice?: string;
|
|
4148
|
+
/**
|
|
4149
|
+
* The ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed.
|
|
4150
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4151
|
+
*/
|
|
4152
|
+
readonly invoiceId?: string;
|
|
4153
|
+
/**
|
|
4154
|
+
* The order ID of the reservation. The field is only applicable for transaction of kind reservation.
|
|
4155
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4156
|
+
*/
|
|
4157
|
+
readonly orderId?: string;
|
|
4158
|
+
/**
|
|
4159
|
+
* The name of the reservation order. The field is only applicable for transactions of kind reservation.
|
|
4160
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4161
|
+
*/
|
|
4162
|
+
readonly orderName?: string;
|
|
4163
|
+
/**
|
|
4164
|
+
* The family of the product for which the transaction took place.
|
|
4165
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4166
|
+
*/
|
|
4167
|
+
readonly productFamily?: string;
|
|
4168
|
+
/**
|
|
4169
|
+
* The ID of the product type for which the transaction took place.
|
|
4170
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4171
|
+
*/
|
|
4172
|
+
readonly productTypeId?: string;
|
|
4173
|
+
/**
|
|
4174
|
+
* The type of the product for which the transaction took place.
|
|
4175
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4176
|
+
*/
|
|
4177
|
+
readonly productType?: string;
|
|
4178
|
+
/**
|
|
4179
|
+
* The description of the product for which the transaction took place.
|
|
4180
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4181
|
+
*/
|
|
4182
|
+
readonly productDescription?: string;
|
|
4183
|
+
/** The type of transaction. */
|
|
4184
|
+
transactionType?: ReservationType;
|
|
4185
|
+
/**
|
|
4186
|
+
* The charge associated with the transaction.
|
|
4187
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4188
|
+
*/
|
|
4189
|
+
readonly transactionAmount?: Amount;
|
|
4190
|
+
/**
|
|
4191
|
+
* The quantity purchased in the transaction.
|
|
4192
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4193
|
+
*/
|
|
4194
|
+
readonly quantity?: number;
|
|
4195
|
+
/**
|
|
4196
|
+
* The ID of the invoice section which will be billed for the transaction.
|
|
4197
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4198
|
+
*/
|
|
4199
|
+
readonly invoiceSectionId?: string;
|
|
4200
|
+
/**
|
|
4201
|
+
* The name of the invoice section which will be billed for the transaction.
|
|
4202
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4203
|
+
*/
|
|
4204
|
+
readonly invoiceSectionDisplayName?: string;
|
|
4205
|
+
/**
|
|
4206
|
+
* The ID of the billing profile which will be billed for the transaction.
|
|
4207
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4208
|
+
*/
|
|
4209
|
+
readonly billingProfileId?: string;
|
|
4210
|
+
/**
|
|
4211
|
+
* The name of the billing profile which will be billed for the transaction.
|
|
4212
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4213
|
+
*/
|
|
4214
|
+
readonly billingProfileDisplayName?: string;
|
|
4215
|
+
/**
|
|
4216
|
+
* The ID of the customer for which the transaction took place. The field is applicable only for Microsoft Partner Agreement billing account.
|
|
4217
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4218
|
+
*/
|
|
4219
|
+
readonly customerId?: string;
|
|
4220
|
+
/**
|
|
4221
|
+
* The name of the customer for which the transaction took place. The field is applicable only for Microsoft Partner Agreement billing account.
|
|
4222
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4223
|
+
*/
|
|
4224
|
+
readonly customerDisplayName?: string;
|
|
4225
|
+
/**
|
|
4226
|
+
* The ID of the subscription that was used for the transaction. The field is only applicable for transaction of kind reservation.
|
|
4227
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4228
|
+
*/
|
|
4229
|
+
readonly subscriptionId?: string;
|
|
4230
|
+
/**
|
|
4231
|
+
* The name of the subscription that was used for the transaction. The field is only applicable for transaction of kind reservation.
|
|
4232
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4233
|
+
*/
|
|
4234
|
+
readonly subscriptionName?: string;
|
|
4235
|
+
/**
|
|
4236
|
+
* The type of azure plan of the subscription that was used for the transaction.
|
|
4237
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4238
|
+
*/
|
|
4239
|
+
readonly azurePlan?: string;
|
|
4240
|
+
/**
|
|
4241
|
+
* The amount of any Azure credits automatically applied to this transaction.
|
|
4242
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4243
|
+
*/
|
|
4244
|
+
readonly azureCreditApplied?: Amount;
|
|
4245
|
+
/**
|
|
4246
|
+
* The ISO 4217 code for the currency in which this transaction is billed.
|
|
4247
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4248
|
+
*/
|
|
4249
|
+
readonly billingCurrency?: string;
|
|
4250
|
+
/**
|
|
4251
|
+
* The percentage discount, if any, applied to this transaction.
|
|
4252
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4253
|
+
*/
|
|
4254
|
+
readonly discount?: number;
|
|
4255
|
+
/**
|
|
4256
|
+
* The price of the product after applying any discounts.
|
|
4257
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4258
|
+
*/
|
|
4259
|
+
readonly effectivePrice?: Amount;
|
|
4260
|
+
/**
|
|
4261
|
+
* The exchange rate used to convert charged amount to billing currency, if applicable.
|
|
4262
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4263
|
+
*/
|
|
4264
|
+
readonly exchangeRate?: number;
|
|
4265
|
+
/**
|
|
4266
|
+
* The retail price of the product.
|
|
4267
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4268
|
+
*/
|
|
4269
|
+
readonly marketPrice?: Amount;
|
|
4270
|
+
/**
|
|
4271
|
+
* The ISO 4217 code for the currency in which the product is priced.
|
|
4272
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4273
|
+
*/
|
|
4274
|
+
readonly pricingCurrency?: string;
|
|
4275
|
+
/**
|
|
4276
|
+
* The date of the purchase of the product, or the start date of the month in which usage started.
|
|
4277
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4278
|
+
*/
|
|
4279
|
+
readonly servicePeriodStartDate?: Date;
|
|
4280
|
+
/**
|
|
4281
|
+
* The end date of the product term, or the end date of the month in which usage ended.
|
|
4282
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4283
|
+
*/
|
|
4284
|
+
readonly servicePeriodEndDate?: Date;
|
|
4285
|
+
/**
|
|
4286
|
+
* The pre-tax charged amount for the transaction.
|
|
4287
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4288
|
+
*/
|
|
4289
|
+
readonly subTotal?: Amount;
|
|
4290
|
+
/**
|
|
4291
|
+
* The tax amount applied to the transaction.
|
|
4292
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4293
|
+
*/
|
|
4294
|
+
readonly tax?: Amount;
|
|
4295
|
+
/**
|
|
4296
|
+
* The unit of measure used to bill for the product. For example, compute services are billed per hour.
|
|
4297
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4298
|
+
*/
|
|
4299
|
+
readonly unitOfMeasure?: string;
|
|
4300
|
+
/**
|
|
4301
|
+
* The number of units used for a given product.
|
|
4302
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4303
|
+
*/
|
|
4304
|
+
readonly units?: number;
|
|
4305
|
+
/**
|
|
4306
|
+
* The description for the unit of measure for a given product.
|
|
4307
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4308
|
+
*/
|
|
4309
|
+
readonly unitType?: string;
|
|
4310
|
+
};
|
|
4311
|
+
|
|
4312
|
+
/** The list of transactions. */
|
|
4313
|
+
export declare interface TransactionListResult {
|
|
4314
|
+
/**
|
|
4315
|
+
* The list of transactions.
|
|
4316
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4317
|
+
*/
|
|
4318
|
+
readonly value?: Transaction[];
|
|
4319
|
+
/**
|
|
4320
|
+
* Total number of records.
|
|
4321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4322
|
+
*/
|
|
4323
|
+
readonly totalCount?: number;
|
|
4324
|
+
/**
|
|
4325
|
+
* The link (url) to the next page of results.
|
|
4326
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4327
|
+
*/
|
|
4328
|
+
readonly nextLink?: string;
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
/** Interface representing a Transactions. */
|
|
4332
|
+
export declare interface Transactions {
|
|
4333
|
+
/**
|
|
4334
|
+
* Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage
|
|
4335
|
+
* charges.
|
|
4336
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
4337
|
+
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
4338
|
+
* @param options The options parameters.
|
|
4339
|
+
*/
|
|
4340
|
+
listByInvoice(billingAccountName: string, invoiceName: string, options?: TransactionsListByInvoiceOptionalParams): PagedAsyncIterableIterator<Transaction>;
|
|
4341
|
+
}
|
|
4342
|
+
|
|
4343
|
+
/** Optional parameters. */
|
|
4344
|
+
export declare interface TransactionsListByInvoiceNextOptionalParams extends coreClient.OperationOptions {
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4347
|
+
/** Contains response data for the listByInvoiceNext operation. */
|
|
4348
|
+
export declare type TransactionsListByInvoiceNextResponse = TransactionListResult;
|
|
4349
|
+
|
|
4350
|
+
/** Optional parameters. */
|
|
4351
|
+
export declare interface TransactionsListByInvoiceOptionalParams extends coreClient.OperationOptions {
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
/** Contains response data for the listByInvoice operation. */
|
|
4355
|
+
export declare type TransactionsListByInvoiceResponse = TransactionListResult;
|
|
4356
|
+
|
|
4357
|
+
/**
|
|
4358
|
+
* Defines values for TransactionTypeKind. \
|
|
4359
|
+
* {@link KnownTransactionTypeKind} can be used interchangeably with TransactionTypeKind,
|
|
4360
|
+
* this enum contains the known values that the service supports.
|
|
4361
|
+
* ### Known values supported by the service
|
|
4362
|
+
* **all** \
|
|
4363
|
+
* **reservation**
|
|
4364
|
+
*/
|
|
4365
|
+
export declare type TransactionTypeKind = string;
|
|
4366
|
+
|
|
4367
|
+
/** Request parameters to transfer billing subscription. */
|
|
4368
|
+
export declare interface TransferBillingSubscriptionRequestProperties {
|
|
4369
|
+
/** The destination invoice section id. */
|
|
4370
|
+
destinationInvoiceSectionId: string;
|
|
4371
|
+
}
|
|
4372
|
+
|
|
4373
|
+
/** The properties of the product to initiate a transfer. */
|
|
4374
|
+
export declare interface TransferProductRequestProperties {
|
|
4375
|
+
/** The destination invoice section id. */
|
|
4376
|
+
destinationInvoiceSectionId?: string;
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4379
|
+
/** Result of the address validation */
|
|
4380
|
+
export declare interface ValidateAddressResponse {
|
|
4381
|
+
/** status of the address validation. */
|
|
4382
|
+
status?: AddressValidationStatus;
|
|
4383
|
+
/** The list of suggested addresses. */
|
|
4384
|
+
suggestedAddresses?: AddressDetails[];
|
|
4385
|
+
/** Validation error message. */
|
|
4386
|
+
validationMessage?: string;
|
|
4387
|
+
}
|
|
4388
|
+
|
|
4389
|
+
/** Error details of the product transfer eligibility validation. */
|
|
4390
|
+
export declare interface ValidateProductTransferEligibilityError {
|
|
4391
|
+
/** Error code for the product transfer validation. */
|
|
4392
|
+
code?: ProductTransferValidationErrorCode;
|
|
4393
|
+
/** The error message. */
|
|
4394
|
+
message?: string;
|
|
4395
|
+
/** Detailed error message explaining the error. */
|
|
4396
|
+
details?: string;
|
|
4397
|
+
}
|
|
4398
|
+
|
|
4399
|
+
/** Result of the product transfer eligibility validation. */
|
|
4400
|
+
export declare interface ValidateProductTransferEligibilityResult {
|
|
4401
|
+
/**
|
|
4402
|
+
* Specifies whether the transfer is eligible or not.
|
|
4403
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4404
|
+
*/
|
|
4405
|
+
readonly isMoveEligible?: boolean;
|
|
4406
|
+
/** Validation error details. */
|
|
4407
|
+
errorDetails?: ValidateProductTransferEligibilityError;
|
|
4408
|
+
}
|
|
4409
|
+
|
|
4410
|
+
/** Error details of the transfer eligibility validation */
|
|
4411
|
+
export declare interface ValidateSubscriptionTransferEligibilityError {
|
|
4412
|
+
/** Error code for the product transfer validation. */
|
|
4413
|
+
code?: SubscriptionTransferValidationErrorCode;
|
|
4414
|
+
/** The error message. */
|
|
4415
|
+
message?: string;
|
|
4416
|
+
/** Detailed error message explaining the error. */
|
|
4417
|
+
details?: string;
|
|
4418
|
+
}
|
|
4419
|
+
|
|
4420
|
+
/** Result of the transfer eligibility validation. */
|
|
4421
|
+
export declare interface ValidateSubscriptionTransferEligibilityResult {
|
|
4422
|
+
/**
|
|
4423
|
+
* Specifies whether the subscription is eligible to be transferred.
|
|
4424
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4425
|
+
*/
|
|
4426
|
+
readonly isMoveEligible?: boolean;
|
|
4427
|
+
/** Validation error details. */
|
|
4428
|
+
errorDetails?: ValidateSubscriptionTransferEligibilityError;
|
|
4429
|
+
}
|
|
4430
|
+
|
|
4431
|
+
/**
|
|
4432
|
+
* Defines values for ViewCharges. \
|
|
4433
|
+
* {@link KnownViewCharges} can be used interchangeably with ViewCharges,
|
|
4434
|
+
* this enum contains the known values that the service supports.
|
|
4435
|
+
* ### Known values supported by the service
|
|
4436
|
+
* **Allowed** \
|
|
4437
|
+
* **NotAllowed**
|
|
4438
|
+
*/
|
|
4439
|
+
export declare type ViewCharges = string;
|
|
4440
|
+
|
|
4441
|
+
/**
|
|
4442
|
+
* Defines values for ViewChargesPolicy. \
|
|
4443
|
+
* {@link KnownViewChargesPolicy} can be used interchangeably with ViewChargesPolicy,
|
|
4444
|
+
* this enum contains the known values that the service supports.
|
|
4445
|
+
* ### Known values supported by the service
|
|
4446
|
+
* **Allowed** \
|
|
4447
|
+
* **NotAllowed**
|
|
4448
|
+
*/
|
|
4449
|
+
export declare type ViewChargesPolicy = string;
|
|
4450
|
+
|
|
4451
|
+
export { }
|