@azure/arm-billing 3.1.1 → 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 +69 -81
- 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/{esm → dist-esm/src}/models/mappers.js +2114 -1808
- 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/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- 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 +65 -32
- package/review/arm-billing.api.md +2361 -0
- package/rollup.config.js +181 -30
- package/src/billingManagementClient.ts +144 -73
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2567 -3859
- package/src/models/mappers.ts +2120 -1803
- package/src/models/parameters.ts +257 -103
- package/src/operations/address.ts +38 -56
- package/src/operations/agreements.ts +133 -118
- package/src/operations/availableBalances.ts +41 -56
- package/src/operations/billingAccounts.ts +314 -229
- package/src/operations/billingPeriods.ts +131 -122
- package/src/operations/billingPermissions.ts +468 -275
- package/src/operations/billingProfiles.ts +236 -165
- package/src/operations/billingPropertyOperations.ts +55 -94
- package/src/operations/billingRoleAssignments.ts +506 -453
- package/src/operations/billingRoleDefinitions.ts +436 -334
- package/src/operations/billingSubscriptions.ts +669 -487
- package/src/operations/customers.ts +263 -187
- package/src/operations/enrollmentAccounts.ts +104 -108
- package/src/operations/index.ts +4 -5
- package/src/operations/instructions.ts +182 -167
- package/src/operations/invoiceSections.ts +265 -167
- package/src/operations/invoices.ts +903 -544
- package/src/operations/operations.ts +87 -73
- package/src/operations/policies.ts +112 -188
- package/src/operations/products.ts +599 -501
- package/src/operations/reservations.ts +344 -0
- package/src/operations/transactions.ts +133 -81
- 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 +3 -3
- package/types/arm-billing.d.ts +4451 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-billing.js +0 -8674
- 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 -43
- package/esm/billingManagementClient.d.ts.map +0 -1
- package/esm/billingManagementClient.js +0 -57
- package/esm/billingManagementClient.js.map +0 -1
- package/esm/billingManagementClientContext.d.ts +0 -21
- package/esm/billingManagementClientContext.d.ts.map +0 -1
- package/esm/billingManagementClientContext.js +0 -60
- package/esm/billingManagementClientContext.js.map +0 -1
- package/esm/models/addressMappers.d.ts +0 -2
- package/esm/models/addressMappers.d.ts.map +0 -1
- package/esm/models/addressMappers.js +0 -9
- package/esm/models/addressMappers.js.map +0 -1
- package/esm/models/agreementsMappers.d.ts +0 -2
- package/esm/models/agreementsMappers.d.ts.map +0 -1
- package/esm/models/agreementsMappers.js +0 -9
- package/esm/models/agreementsMappers.js.map +0 -1
- package/esm/models/availableBalancesMappers.d.ts +0 -2
- package/esm/models/availableBalancesMappers.d.ts.map +0 -1
- package/esm/models/availableBalancesMappers.js +0 -9
- package/esm/models/availableBalancesMappers.js.map +0 -1
- package/esm/models/billingAccountsMappers.d.ts +0 -2
- package/esm/models/billingAccountsMappers.d.ts.map +0 -1
- package/esm/models/billingAccountsMappers.js +0 -9
- package/esm/models/billingAccountsMappers.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 -9
- package/esm/models/billingPeriodsMappers.js.map +0 -1
- package/esm/models/billingPermissionsMappers.d.ts +0 -2
- package/esm/models/billingPermissionsMappers.d.ts.map +0 -1
- package/esm/models/billingPermissionsMappers.js +0 -9
- package/esm/models/billingPermissionsMappers.js.map +0 -1
- package/esm/models/billingProfilesMappers.d.ts +0 -2
- package/esm/models/billingProfilesMappers.d.ts.map +0 -1
- package/esm/models/billingProfilesMappers.js +0 -9
- package/esm/models/billingProfilesMappers.js.map +0 -1
- package/esm/models/billingPropertyOperationsMappers.d.ts +0 -2
- package/esm/models/billingPropertyOperationsMappers.d.ts.map +0 -1
- package/esm/models/billingPropertyOperationsMappers.js +0 -9
- package/esm/models/billingPropertyOperationsMappers.js.map +0 -1
- package/esm/models/billingRoleAssignmentsMappers.d.ts +0 -2
- package/esm/models/billingRoleAssignmentsMappers.d.ts.map +0 -1
- package/esm/models/billingRoleAssignmentsMappers.js +0 -9
- package/esm/models/billingRoleAssignmentsMappers.js.map +0 -1
- package/esm/models/billingRoleDefinitionsMappers.d.ts +0 -2
- package/esm/models/billingRoleDefinitionsMappers.d.ts.map +0 -1
- package/esm/models/billingRoleDefinitionsMappers.js +0 -9
- package/esm/models/billingRoleDefinitionsMappers.js.map +0 -1
- package/esm/models/billingSubscriptionsMappers.d.ts +0 -2
- package/esm/models/billingSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/billingSubscriptionsMappers.js +0 -9
- package/esm/models/billingSubscriptionsMappers.js.map +0 -1
- package/esm/models/customersMappers.d.ts +0 -2
- package/esm/models/customersMappers.d.ts.map +0 -1
- package/esm/models/customersMappers.js +0 -9
- package/esm/models/customersMappers.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 -9
- package/esm/models/enrollmentAccountsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4587
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/instructionsMappers.d.ts +0 -2
- package/esm/models/instructionsMappers.d.ts.map +0 -1
- package/esm/models/instructionsMappers.js +0 -9
- package/esm/models/instructionsMappers.js.map +0 -1
- package/esm/models/invoiceSectionsMappers.d.ts +0 -2
- package/esm/models/invoiceSectionsMappers.d.ts.map +0 -1
- package/esm/models/invoiceSectionsMappers.js +0 -9
- package/esm/models/invoiceSectionsMappers.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 -9
- package/esm/models/invoicesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -82
- package/esm/models/mappers.d.ts.map +0 -1
- 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 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -27
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -279
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/policiesMappers.d.ts +0 -2
- package/esm/models/policiesMappers.d.ts.map +0 -1
- package/esm/models/policiesMappers.js +0 -9
- package/esm/models/policiesMappers.js.map +0 -1
- package/esm/models/productsMappers.d.ts +0 -2
- package/esm/models/productsMappers.d.ts.map +0 -1
- package/esm/models/productsMappers.js +0 -9
- package/esm/models/productsMappers.js.map +0 -1
- package/esm/models/transactionsMappers.d.ts +0 -2
- package/esm/models/transactionsMappers.d.ts.map +0 -1
- package/esm/models/transactionsMappers.js +0 -9
- package/esm/models/transactionsMappers.js.map +0 -1
- package/esm/operations/address.d.ts +0 -32
- package/esm/operations/address.d.ts.map +0 -1
- package/esm/operations/address.js +0 -57
- package/esm/operations/address.js.map +0 -1
- package/esm/operations/agreements.d.ts +0 -70
- package/esm/operations/agreements.d.ts.map +0 -1
- package/esm/operations/agreements.js +0 -113
- package/esm/operations/agreements.js.map +0 -1
- package/esm/operations/availableBalances.d.ts +0 -36
- package/esm/operations/availableBalances.d.ts.map +0 -1
- package/esm/operations/availableBalances.js +0 -57
- package/esm/operations/availableBalances.js.map +0 -1
- package/esm/operations/billingAccounts.d.ts +0 -127
- package/esm/operations/billingAccounts.d.ts.map +0 -1
- package/esm/operations/billingAccounts.js +0 -218
- package/esm/operations/billingAccounts.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/billingPermissions.d.ts +0 -169
- package/esm/operations/billingPermissions.d.ts.map +0 -1
- package/esm/operations/billingPermissions.js +0 -251
- package/esm/operations/billingPermissions.js.map +0 -1
- package/esm/operations/billingProfiles.d.ts +0 -94
- package/esm/operations/billingProfiles.d.ts.map +0 -1
- package/esm/operations/billingProfiles.js +0 -176
- package/esm/operations/billingProfiles.js.map +0 -1
- package/esm/operations/billingPropertyOperations.d.ts +0 -46
- package/esm/operations/billingPropertyOperations.d.ts.map +0 -1
- package/esm/operations/billingPropertyOperations.js +0 -91
- package/esm/operations/billingPropertyOperations.js.map +0 -1
- package/esm/operations/billingRoleAssignments.d.ts +0 -292
- package/esm/operations/billingRoleAssignments.d.ts.map +0 -1
- package/esm/operations/billingRoleAssignments.js +0 -387
- package/esm/operations/billingRoleAssignments.js.map +0 -1
- package/esm/operations/billingRoleDefinitions.d.ts +0 -211
- package/esm/operations/billingRoleDefinitions.d.ts.map +0 -1
- package/esm/operations/billingRoleDefinitions.js +0 -291
- package/esm/operations/billingRoleDefinitions.js.map +0 -1
- package/esm/operations/billingSubscriptions.d.ts +0 -267
- package/esm/operations/billingSubscriptions.d.ts.map +0 -1
- package/esm/operations/billingSubscriptions.js +0 -414
- package/esm/operations/billingSubscriptions.js.map +0 -1
- package/esm/operations/customers.d.ts +0 -114
- package/esm/operations/customers.d.ts.map +0 -1
- package/esm/operations/customers.js +0 -172
- package/esm/operations/customers.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.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/instructions.d.ts +0 -105
- package/esm/operations/instructions.d.ts.map +0 -1
- package/esm/operations/instructions.js +0 -153
- package/esm/operations/instructions.js.map +0 -1
- package/esm/operations/invoiceSections.d.ts +0 -102
- package/esm/operations/invoiceSections.d.ts.map +0 -1
- package/esm/operations/invoiceSections.js +0 -182
- package/esm/operations/invoiceSections.js.map +0 -1
- package/esm/operations/invoices.d.ts +0 -291
- package/esm/operations/invoices.d.ts.map +0 -1
- package/esm/operations/invoices.js +0 -539
- 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/esm/operations/policies.d.ts +0 -104
- package/esm/operations/policies.d.ts.map +0 -1
- package/esm/operations/policies.js +0 -162
- package/esm/operations/policies.js.map +0 -1
- package/esm/operations/products.d.ts +0 -279
- package/esm/operations/products.d.ts.map +0 -1
- package/esm/operations/products.js +0 -403
- package/esm/operations/products.js.map +0 -1
- package/esm/operations/transactions.d.ts +0 -54
- package/esm/operations/transactions.d.ts.map +0 -1
- package/esm/operations/transactions.js +0 -83
- package/esm/operations/transactions.js.map +0 -1
- package/src/billingManagementClientContext.ts +0 -66
- package/src/models/addressMappers.ts +0 -15
- package/src/models/agreementsMappers.ts +0 -50
- package/src/models/availableBalancesMappers.ts +0 -49
- package/src/models/billingAccountsMappers.ts +0 -53
- package/src/models/billingPeriodsMappers.ts +0 -50
- package/src/models/billingPermissionsMappers.ts +0 -15
- package/src/models/billingProfilesMappers.ts +0 -51
- package/src/models/billingPropertyOperationsMappers.ts +0 -49
- package/src/models/billingRoleAssignmentsMappers.ts +0 -50
- package/src/models/billingRoleDefinitionsMappers.ts +0 -50
- package/src/models/billingSubscriptionsMappers.ts +0 -54
- package/src/models/customersMappers.ts +0 -50
- package/src/models/enrollmentAccountsMappers.ts +0 -50
- package/src/models/instructionsMappers.ts +0 -50
- package/src/models/invoiceSectionsMappers.ts +0 -51
- package/src/models/invoicesMappers.ts +0 -55
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/policiesMappers.ts +0 -49
- package/src/models/productsMappers.ts +0 -54
- package/src/models/transactionsMappers.ts +0 -50
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
AvailableBalancesGetOptionalParams,
|
|
11
|
+
AvailableBalancesGetResponse
|
|
12
|
+
} from "../models";
|
|
13
|
+
|
|
14
|
+
/** Interface representing a AvailableBalances. */
|
|
15
|
+
export interface AvailableBalances {
|
|
16
|
+
/**
|
|
17
|
+
* The available credit balance for a billing profile. This is the balance that can be used for pay now
|
|
18
|
+
* to settle due or past due invoices. The operation is supported only for billing accounts with
|
|
19
|
+
* agreement type Microsoft Customer Agreement.
|
|
20
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
21
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
get(
|
|
25
|
+
billingAccountName: string,
|
|
26
|
+
billingProfileName: string,
|
|
27
|
+
options?: AvailableBalancesGetOptionalParams
|
|
28
|
+
): Promise<AvailableBalancesGetResponse>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
BillingAccount,
|
|
13
|
+
BillingAccountsListOptionalParams,
|
|
14
|
+
InvoiceSectionWithCreateSubPermission,
|
|
15
|
+
BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionOptionalParams,
|
|
16
|
+
BillingAccountsGetOptionalParams,
|
|
17
|
+
BillingAccountsGetResponse,
|
|
18
|
+
BillingAccountUpdateRequest,
|
|
19
|
+
BillingAccountsUpdateOptionalParams,
|
|
20
|
+
BillingAccountsUpdateResponse
|
|
21
|
+
} from "../models";
|
|
22
|
+
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Interface representing a BillingAccounts. */
|
|
25
|
+
export interface BillingAccounts {
|
|
26
|
+
/**
|
|
27
|
+
* Lists the billing accounts that a user has access to.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(
|
|
31
|
+
options?: BillingAccountsListOptionalParams
|
|
32
|
+
): PagedAsyncIterableIterator<BillingAccount>;
|
|
33
|
+
/**
|
|
34
|
+
* Lists the invoice sections for which the user has permission to create Azure subscriptions. The
|
|
35
|
+
* operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
36
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
listInvoiceSectionsByCreateSubscriptionPermission(
|
|
40
|
+
billingAccountName: string,
|
|
41
|
+
options?: BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionOptionalParams
|
|
42
|
+
): PagedAsyncIterableIterator<InvoiceSectionWithCreateSubPermission>;
|
|
43
|
+
/**
|
|
44
|
+
* Gets a billing account by its ID.
|
|
45
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
get(
|
|
49
|
+
billingAccountName: string,
|
|
50
|
+
options?: BillingAccountsGetOptionalParams
|
|
51
|
+
): Promise<BillingAccountsGetResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Updates the properties of a billing account. Currently, displayName and address can be updated. The
|
|
54
|
+
* operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
55
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
56
|
+
* @param parameters Request parameters that are provided to the update billing account operation.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
beginUpdate(
|
|
60
|
+
billingAccountName: string,
|
|
61
|
+
parameters: BillingAccountUpdateRequest,
|
|
62
|
+
options?: BillingAccountsUpdateOptionalParams
|
|
63
|
+
): Promise<
|
|
64
|
+
PollerLike<
|
|
65
|
+
PollOperationState<BillingAccountsUpdateResponse>,
|
|
66
|
+
BillingAccountsUpdateResponse
|
|
67
|
+
>
|
|
68
|
+
>;
|
|
69
|
+
/**
|
|
70
|
+
* Updates the properties of a billing account. Currently, displayName and address can be updated. The
|
|
71
|
+
* operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
72
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
73
|
+
* @param parameters Request parameters that are provided to the update billing account operation.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
beginUpdateAndWait(
|
|
77
|
+
billingAccountName: string,
|
|
78
|
+
parameters: BillingAccountUpdateRequest,
|
|
79
|
+
options?: BillingAccountsUpdateOptionalParams
|
|
80
|
+
): Promise<BillingAccountsUpdateResponse>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
BillingPeriod,
|
|
12
|
+
BillingPeriodsListOptionalParams,
|
|
13
|
+
BillingPeriodsGetOptionalParams,
|
|
14
|
+
BillingPeriodsGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a BillingPeriods. */
|
|
19
|
+
export interface BillingPeriods {
|
|
20
|
+
/**
|
|
21
|
+
* Lists the available billing periods for a subscription in reverse chronological order. This is only
|
|
22
|
+
* supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased
|
|
23
|
+
* directly through the Azure web portal are not supported through this preview API.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(
|
|
27
|
+
options?: BillingPeriodsListOptionalParams
|
|
28
|
+
): PagedAsyncIterableIterator<BillingPeriod>;
|
|
29
|
+
/**
|
|
30
|
+
* Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other
|
|
31
|
+
* subscription types which were not purchased directly through the Azure web portal are not supported
|
|
32
|
+
* through this preview API.
|
|
33
|
+
* @param billingPeriodName The name of a BillingPeriod resource.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(
|
|
37
|
+
billingPeriodName: string,
|
|
38
|
+
options?: BillingPeriodsGetOptionalParams
|
|
39
|
+
): Promise<BillingPeriodsGetResponse>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
BillingPermissionsProperties,
|
|
12
|
+
BillingPermissionsListByCustomerOptionalParams,
|
|
13
|
+
BillingPermissionsListByBillingAccountOptionalParams,
|
|
14
|
+
BillingPermissionsListByInvoiceSectionsOptionalParams,
|
|
15
|
+
BillingPermissionsListByBillingProfileOptionalParams
|
|
16
|
+
} from "../models";
|
|
17
|
+
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Interface representing a BillingPermissions. */
|
|
20
|
+
export interface BillingPermissions {
|
|
21
|
+
/**
|
|
22
|
+
* Lists the billing permissions the caller has for a customer.
|
|
23
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
24
|
+
* @param customerName The ID that uniquely identifies a customer.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
listByCustomer(
|
|
28
|
+
billingAccountName: string,
|
|
29
|
+
customerName: string,
|
|
30
|
+
options?: BillingPermissionsListByCustomerOptionalParams
|
|
31
|
+
): PagedAsyncIterableIterator<BillingPermissionsProperties>;
|
|
32
|
+
/**
|
|
33
|
+
* Lists the billing permissions the caller has on a billing account.
|
|
34
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
listByBillingAccount(
|
|
38
|
+
billingAccountName: string,
|
|
39
|
+
options?: BillingPermissionsListByBillingAccountOptionalParams
|
|
40
|
+
): PagedAsyncIterableIterator<BillingPermissionsProperties>;
|
|
41
|
+
/**
|
|
42
|
+
* Lists the billing permissions the caller has on an invoice section.
|
|
43
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
44
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
45
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
listByInvoiceSections(
|
|
49
|
+
billingAccountName: string,
|
|
50
|
+
billingProfileName: string,
|
|
51
|
+
invoiceSectionName: string,
|
|
52
|
+
options?: BillingPermissionsListByInvoiceSectionsOptionalParams
|
|
53
|
+
): PagedAsyncIterableIterator<BillingPermissionsProperties>;
|
|
54
|
+
/**
|
|
55
|
+
* Lists the billing permissions the caller has on a billing profile.
|
|
56
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
57
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
listByBillingProfile(
|
|
61
|
+
billingAccountName: string,
|
|
62
|
+
billingProfileName: string,
|
|
63
|
+
options?: BillingPermissionsListByBillingProfileOptionalParams
|
|
64
|
+
): PagedAsyncIterableIterator<BillingPermissionsProperties>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
BillingProfile,
|
|
13
|
+
BillingProfilesListByBillingAccountOptionalParams,
|
|
14
|
+
BillingProfilesGetOptionalParams,
|
|
15
|
+
BillingProfilesGetResponse,
|
|
16
|
+
BillingProfilesCreateOrUpdateOptionalParams,
|
|
17
|
+
BillingProfilesCreateOrUpdateResponse
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
21
|
+
/** Interface representing a BillingProfiles. */
|
|
22
|
+
export interface BillingProfiles {
|
|
23
|
+
/**
|
|
24
|
+
* Lists the billing profiles that a user has access to. The operation is supported for billing
|
|
25
|
+
* accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
26
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listByBillingAccount(
|
|
30
|
+
billingAccountName: string,
|
|
31
|
+
options?: BillingProfilesListByBillingAccountOptionalParams
|
|
32
|
+
): PagedAsyncIterableIterator<BillingProfile>;
|
|
33
|
+
/**
|
|
34
|
+
* Gets a billing profile by its ID. The operation is supported for billing accounts with agreement
|
|
35
|
+
* type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
36
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
37
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
get(
|
|
41
|
+
billingAccountName: string,
|
|
42
|
+
billingProfileName: string,
|
|
43
|
+
options?: BillingProfilesGetOptionalParams
|
|
44
|
+
): Promise<BillingProfilesGetResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Creates or updates a billing profile. The operation is supported for billing accounts with agreement
|
|
47
|
+
* type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
48
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
49
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
50
|
+
* @param parameters The new or updated billing profile.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
beginCreateOrUpdate(
|
|
54
|
+
billingAccountName: string,
|
|
55
|
+
billingProfileName: string,
|
|
56
|
+
parameters: BillingProfile,
|
|
57
|
+
options?: BillingProfilesCreateOrUpdateOptionalParams
|
|
58
|
+
): Promise<
|
|
59
|
+
PollerLike<
|
|
60
|
+
PollOperationState<BillingProfilesCreateOrUpdateResponse>,
|
|
61
|
+
BillingProfilesCreateOrUpdateResponse
|
|
62
|
+
>
|
|
63
|
+
>;
|
|
64
|
+
/**
|
|
65
|
+
* Creates or updates a billing profile. The operation is supported for billing accounts with agreement
|
|
66
|
+
* type Microsoft Customer Agreement or Microsoft Partner Agreement.
|
|
67
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
68
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
69
|
+
* @param parameters The new or updated billing profile.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
beginCreateOrUpdateAndWait(
|
|
73
|
+
billingAccountName: string,
|
|
74
|
+
billingProfileName: string,
|
|
75
|
+
parameters: BillingProfile,
|
|
76
|
+
options?: BillingProfilesCreateOrUpdateOptionalParams
|
|
77
|
+
): Promise<BillingProfilesCreateOrUpdateResponse>;
|
|
78
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
BillingPropertyGetOptionalParams,
|
|
11
|
+
BillingPropertyGetResponse,
|
|
12
|
+
BillingProperty,
|
|
13
|
+
BillingPropertyUpdateOptionalParams,
|
|
14
|
+
BillingPropertyUpdateResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/** Interface representing a BillingPropertyOperations. */
|
|
18
|
+
export interface BillingPropertyOperations {
|
|
19
|
+
/**
|
|
20
|
+
* Get the billing properties for a subscription. This operation is not supported for billing accounts
|
|
21
|
+
* with agreement type Enterprise Agreement.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
get(
|
|
25
|
+
options?: BillingPropertyGetOptionalParams
|
|
26
|
+
): Promise<BillingPropertyGetResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Updates the billing property of a subscription. Currently, cost center can be updated. The operation
|
|
29
|
+
* is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
|
30
|
+
* @param parameters Request parameters that are provided to the update billing property operation.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
update(
|
|
34
|
+
parameters: BillingProperty,
|
|
35
|
+
options?: BillingPropertyUpdateOptionalParams
|
|
36
|
+
): Promise<BillingPropertyUpdateResponse>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
BillingRoleAssignment,
|
|
12
|
+
BillingRoleAssignmentsListByBillingAccountOptionalParams,
|
|
13
|
+
BillingRoleAssignmentsListByInvoiceSectionOptionalParams,
|
|
14
|
+
BillingRoleAssignmentsListByBillingProfileOptionalParams,
|
|
15
|
+
BillingRoleAssignmentsGetByBillingAccountOptionalParams,
|
|
16
|
+
BillingRoleAssignmentsGetByBillingAccountResponse,
|
|
17
|
+
BillingRoleAssignmentsDeleteByBillingAccountOptionalParams,
|
|
18
|
+
BillingRoleAssignmentsDeleteByBillingAccountResponse,
|
|
19
|
+
BillingRoleAssignmentsGetByInvoiceSectionOptionalParams,
|
|
20
|
+
BillingRoleAssignmentsGetByInvoiceSectionResponse,
|
|
21
|
+
BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams,
|
|
22
|
+
BillingRoleAssignmentsDeleteByInvoiceSectionResponse,
|
|
23
|
+
BillingRoleAssignmentsGetByBillingProfileOptionalParams,
|
|
24
|
+
BillingRoleAssignmentsGetByBillingProfileResponse,
|
|
25
|
+
BillingRoleAssignmentsDeleteByBillingProfileOptionalParams,
|
|
26
|
+
BillingRoleAssignmentsDeleteByBillingProfileResponse
|
|
27
|
+
} from "../models";
|
|
28
|
+
|
|
29
|
+
/// <reference lib="esnext.asynciterable" />
|
|
30
|
+
/** Interface representing a BillingRoleAssignments. */
|
|
31
|
+
export interface BillingRoleAssignments {
|
|
32
|
+
/**
|
|
33
|
+
* Lists the role assignments for the caller on a billing account. The operation is supported for
|
|
34
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
35
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
listByBillingAccount(
|
|
39
|
+
billingAccountName: string,
|
|
40
|
+
options?: BillingRoleAssignmentsListByBillingAccountOptionalParams
|
|
41
|
+
): PagedAsyncIterableIterator<BillingRoleAssignment>;
|
|
42
|
+
/**
|
|
43
|
+
* Lists the role assignments for the caller on an invoice section. The operation is supported for
|
|
44
|
+
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
45
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
46
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
47
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
listByInvoiceSection(
|
|
51
|
+
billingAccountName: string,
|
|
52
|
+
billingProfileName: string,
|
|
53
|
+
invoiceSectionName: string,
|
|
54
|
+
options?: BillingRoleAssignmentsListByInvoiceSectionOptionalParams
|
|
55
|
+
): PagedAsyncIterableIterator<BillingRoleAssignment>;
|
|
56
|
+
/**
|
|
57
|
+
* Lists the role assignments for the caller on a billing profile. The operation is supported for
|
|
58
|
+
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
59
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
60
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
listByBillingProfile(
|
|
64
|
+
billingAccountName: string,
|
|
65
|
+
billingProfileName: string,
|
|
66
|
+
options?: BillingRoleAssignmentsListByBillingProfileOptionalParams
|
|
67
|
+
): PagedAsyncIterableIterator<BillingRoleAssignment>;
|
|
68
|
+
/**
|
|
69
|
+
* Gets a role assignment for the caller on a billing account. The operation is supported for billing
|
|
70
|
+
* accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
71
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
72
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
getByBillingAccount(
|
|
76
|
+
billingAccountName: string,
|
|
77
|
+
billingRoleAssignmentName: string,
|
|
78
|
+
options?: BillingRoleAssignmentsGetByBillingAccountOptionalParams
|
|
79
|
+
): Promise<BillingRoleAssignmentsGetByBillingAccountResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* Deletes a role assignment for the caller on a billing account. The operation is supported for
|
|
82
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
83
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
84
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
85
|
+
* @param options The options parameters.
|
|
86
|
+
*/
|
|
87
|
+
deleteByBillingAccount(
|
|
88
|
+
billingAccountName: string,
|
|
89
|
+
billingRoleAssignmentName: string,
|
|
90
|
+
options?: BillingRoleAssignmentsDeleteByBillingAccountOptionalParams
|
|
91
|
+
): Promise<BillingRoleAssignmentsDeleteByBillingAccountResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Gets a role assignment for the caller on an invoice section. The operation is supported for billing
|
|
94
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
95
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
96
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
97
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
98
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
getByInvoiceSection(
|
|
102
|
+
billingAccountName: string,
|
|
103
|
+
billingProfileName: string,
|
|
104
|
+
invoiceSectionName: string,
|
|
105
|
+
billingRoleAssignmentName: string,
|
|
106
|
+
options?: BillingRoleAssignmentsGetByInvoiceSectionOptionalParams
|
|
107
|
+
): Promise<BillingRoleAssignmentsGetByInvoiceSectionResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Deletes a role assignment for the caller on an invoice section. The operation is supported for
|
|
110
|
+
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
111
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
112
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
113
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
114
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
115
|
+
* @param options The options parameters.
|
|
116
|
+
*/
|
|
117
|
+
deleteByInvoiceSection(
|
|
118
|
+
billingAccountName: string,
|
|
119
|
+
billingProfileName: string,
|
|
120
|
+
invoiceSectionName: string,
|
|
121
|
+
billingRoleAssignmentName: string,
|
|
122
|
+
options?: BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams
|
|
123
|
+
): Promise<BillingRoleAssignmentsDeleteByInvoiceSectionResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* Gets a role assignment for the caller on a billing profile. The operation is supported for billing
|
|
126
|
+
* accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
127
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
128
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
129
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
130
|
+
* @param options The options parameters.
|
|
131
|
+
*/
|
|
132
|
+
getByBillingProfile(
|
|
133
|
+
billingAccountName: string,
|
|
134
|
+
billingProfileName: string,
|
|
135
|
+
billingRoleAssignmentName: string,
|
|
136
|
+
options?: BillingRoleAssignmentsGetByBillingProfileOptionalParams
|
|
137
|
+
): Promise<BillingRoleAssignmentsGetByBillingProfileResponse>;
|
|
138
|
+
/**
|
|
139
|
+
* Deletes a role assignment for the caller on a billing profile. The operation is supported for
|
|
140
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
141
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
142
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
143
|
+
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
deleteByBillingProfile(
|
|
147
|
+
billingAccountName: string,
|
|
148
|
+
billingProfileName: string,
|
|
149
|
+
billingRoleAssignmentName: string,
|
|
150
|
+
options?: BillingRoleAssignmentsDeleteByBillingProfileOptionalParams
|
|
151
|
+
): Promise<BillingRoleAssignmentsDeleteByBillingProfileResponse>;
|
|
152
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
BillingRoleDefinition,
|
|
12
|
+
BillingRoleDefinitionsListByBillingAccountOptionalParams,
|
|
13
|
+
BillingRoleDefinitionsListByInvoiceSectionOptionalParams,
|
|
14
|
+
BillingRoleDefinitionsListByBillingProfileOptionalParams,
|
|
15
|
+
BillingRoleDefinitionsGetByBillingAccountOptionalParams,
|
|
16
|
+
BillingRoleDefinitionsGetByBillingAccountResponse,
|
|
17
|
+
BillingRoleDefinitionsGetByInvoiceSectionOptionalParams,
|
|
18
|
+
BillingRoleDefinitionsGetByInvoiceSectionResponse,
|
|
19
|
+
BillingRoleDefinitionsGetByBillingProfileOptionalParams,
|
|
20
|
+
BillingRoleDefinitionsGetByBillingProfileResponse
|
|
21
|
+
} from "../models";
|
|
22
|
+
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Interface representing a BillingRoleDefinitions. */
|
|
25
|
+
export interface BillingRoleDefinitions {
|
|
26
|
+
/**
|
|
27
|
+
* Lists the role definitions for a billing account. The operation is supported for billing accounts
|
|
28
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
29
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listByBillingAccount(
|
|
33
|
+
billingAccountName: string,
|
|
34
|
+
options?: BillingRoleDefinitionsListByBillingAccountOptionalParams
|
|
35
|
+
): PagedAsyncIterableIterator<BillingRoleDefinition>;
|
|
36
|
+
/**
|
|
37
|
+
* Lists the role definitions for an invoice section. The operation is supported for billing accounts
|
|
38
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
39
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
40
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
41
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
listByInvoiceSection(
|
|
45
|
+
billingAccountName: string,
|
|
46
|
+
billingProfileName: string,
|
|
47
|
+
invoiceSectionName: string,
|
|
48
|
+
options?: BillingRoleDefinitionsListByInvoiceSectionOptionalParams
|
|
49
|
+
): PagedAsyncIterableIterator<BillingRoleDefinition>;
|
|
50
|
+
/**
|
|
51
|
+
* Lists the role definitions for a billing profile. The operation is supported for billing accounts
|
|
52
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
53
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
54
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
listByBillingProfile(
|
|
58
|
+
billingAccountName: string,
|
|
59
|
+
billingProfileName: string,
|
|
60
|
+
options?: BillingRoleDefinitionsListByBillingProfileOptionalParams
|
|
61
|
+
): PagedAsyncIterableIterator<BillingRoleDefinition>;
|
|
62
|
+
/**
|
|
63
|
+
* Gets the definition for a role on a billing account. The operation is supported for billing accounts
|
|
64
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
65
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
66
|
+
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
getByBillingAccount(
|
|
70
|
+
billingAccountName: string,
|
|
71
|
+
billingRoleDefinitionName: string,
|
|
72
|
+
options?: BillingRoleDefinitionsGetByBillingAccountOptionalParams
|
|
73
|
+
): Promise<BillingRoleDefinitionsGetByBillingAccountResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Gets the definition for a role on an invoice section. The operation is supported only for billing
|
|
76
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
77
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
78
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
79
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
80
|
+
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
getByInvoiceSection(
|
|
84
|
+
billingAccountName: string,
|
|
85
|
+
billingProfileName: string,
|
|
86
|
+
invoiceSectionName: string,
|
|
87
|
+
billingRoleDefinitionName: string,
|
|
88
|
+
options?: BillingRoleDefinitionsGetByInvoiceSectionOptionalParams
|
|
89
|
+
): Promise<BillingRoleDefinitionsGetByInvoiceSectionResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* Gets the definition for a role on a billing profile. The operation is supported for billing accounts
|
|
92
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
93
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
94
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
95
|
+
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
getByBillingProfile(
|
|
99
|
+
billingAccountName: string,
|
|
100
|
+
billingProfileName: string,
|
|
101
|
+
billingRoleDefinitionName: string,
|
|
102
|
+
options?: BillingRoleDefinitionsGetByBillingProfileOptionalParams
|
|
103
|
+
): Promise<BillingRoleDefinitionsGetByBillingProfileResponse>;
|
|
104
|
+
}
|