@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
|
@@ -1,93 +1,296 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { BillingRoleDefinitions } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { BillingManagementClient } from "../billingManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
BillingRoleDefinition,
|
|
17
|
+
BillingRoleDefinitionsListByBillingAccountNextOptionalParams,
|
|
18
|
+
BillingRoleDefinitionsListByBillingAccountOptionalParams,
|
|
19
|
+
BillingRoleDefinitionsListByInvoiceSectionNextOptionalParams,
|
|
20
|
+
BillingRoleDefinitionsListByInvoiceSectionOptionalParams,
|
|
21
|
+
BillingRoleDefinitionsListByBillingProfileNextOptionalParams,
|
|
22
|
+
BillingRoleDefinitionsListByBillingProfileOptionalParams,
|
|
23
|
+
BillingRoleDefinitionsGetByBillingAccountOptionalParams,
|
|
24
|
+
BillingRoleDefinitionsGetByBillingAccountResponse,
|
|
25
|
+
BillingRoleDefinitionsGetByInvoiceSectionOptionalParams,
|
|
26
|
+
BillingRoleDefinitionsGetByInvoiceSectionResponse,
|
|
27
|
+
BillingRoleDefinitionsGetByBillingProfileOptionalParams,
|
|
28
|
+
BillingRoleDefinitionsGetByBillingProfileResponse,
|
|
29
|
+
BillingRoleDefinitionsListByBillingAccountResponse,
|
|
30
|
+
BillingRoleDefinitionsListByInvoiceSectionResponse,
|
|
31
|
+
BillingRoleDefinitionsListByBillingProfileResponse,
|
|
32
|
+
BillingRoleDefinitionsListByBillingAccountNextResponse,
|
|
33
|
+
BillingRoleDefinitionsListByInvoiceSectionNextResponse,
|
|
34
|
+
BillingRoleDefinitionsListByBillingProfileNextResponse
|
|
35
|
+
} from "../models";
|
|
16
36
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
37
|
+
/// <reference lib="esnext.asynciterable" />
|
|
38
|
+
/** Class containing BillingRoleDefinitions operations. */
|
|
39
|
+
export class BillingRoleDefinitionsImpl implements BillingRoleDefinitions {
|
|
40
|
+
private readonly client: BillingManagementClient;
|
|
20
41
|
|
|
21
42
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
43
|
+
* Initialize a new instance of the class BillingRoleDefinitions class.
|
|
44
|
+
* @param client Reference to the service client
|
|
24
45
|
*/
|
|
25
|
-
constructor(client:
|
|
46
|
+
constructor(client: BillingManagementClient) {
|
|
26
47
|
this.client = client;
|
|
27
48
|
}
|
|
28
49
|
|
|
29
50
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
51
|
+
* Lists the role definitions for a billing account. The operation is supported for billing accounts
|
|
52
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
32
53
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
33
|
-
* @param
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.BillingRoleDefinitionsGetByBillingAccountResponse>
|
|
54
|
+
* @param options The options parameters.
|
|
36
55
|
*/
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
56
|
+
public listByBillingAccount(
|
|
57
|
+
billingAccountName: string,
|
|
58
|
+
options?: BillingRoleDefinitionsListByBillingAccountOptionalParams
|
|
59
|
+
): PagedAsyncIterableIterator<BillingRoleDefinition> {
|
|
60
|
+
const iter = this.listByBillingAccountPagingAll(
|
|
61
|
+
billingAccountName,
|
|
62
|
+
options
|
|
63
|
+
);
|
|
64
|
+
return {
|
|
65
|
+
next() {
|
|
66
|
+
return iter.next();
|
|
67
|
+
},
|
|
68
|
+
[Symbol.asyncIterator]() {
|
|
69
|
+
return this;
|
|
70
|
+
},
|
|
71
|
+
byPage: () => {
|
|
72
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private async *listByBillingAccountPagingPage(
|
|
78
|
+
billingAccountName: string,
|
|
79
|
+
options?: BillingRoleDefinitionsListByBillingAccountOptionalParams
|
|
80
|
+
): AsyncIterableIterator<BillingRoleDefinition[]> {
|
|
81
|
+
let result = await this._listByBillingAccount(billingAccountName, options);
|
|
82
|
+
yield result.value || [];
|
|
83
|
+
let continuationToken = result.nextLink;
|
|
84
|
+
while (continuationToken) {
|
|
85
|
+
result = await this._listByBillingAccountNext(
|
|
86
|
+
billingAccountName,
|
|
87
|
+
continuationToken,
|
|
88
|
+
options
|
|
89
|
+
);
|
|
90
|
+
continuationToken = result.nextLink;
|
|
91
|
+
yield result.value || [];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
private async *listByBillingAccountPagingAll(
|
|
96
|
+
billingAccountName: string,
|
|
97
|
+
options?: BillingRoleDefinitionsListByBillingAccountOptionalParams
|
|
98
|
+
): AsyncIterableIterator<BillingRoleDefinition> {
|
|
99
|
+
for await (const page of this.listByBillingAccountPagingPage(
|
|
100
|
+
billingAccountName,
|
|
101
|
+
options
|
|
102
|
+
)) {
|
|
103
|
+
yield* page;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
44
107
|
/**
|
|
108
|
+
* Lists the role definitions for an invoice section. The operation is supported for billing accounts
|
|
109
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
45
110
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
46
|
-
* @param
|
|
47
|
-
* @param
|
|
48
|
-
* @param
|
|
111
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
112
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
113
|
+
* @param options The options parameters.
|
|
49
114
|
*/
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
115
|
+
public listByInvoiceSection(
|
|
116
|
+
billingAccountName: string,
|
|
117
|
+
billingProfileName: string,
|
|
118
|
+
invoiceSectionName: string,
|
|
119
|
+
options?: BillingRoleDefinitionsListByInvoiceSectionOptionalParams
|
|
120
|
+
): PagedAsyncIterableIterator<BillingRoleDefinition> {
|
|
121
|
+
const iter = this.listByInvoiceSectionPagingAll(
|
|
122
|
+
billingAccountName,
|
|
123
|
+
billingProfileName,
|
|
124
|
+
invoiceSectionName,
|
|
125
|
+
options
|
|
126
|
+
);
|
|
127
|
+
return {
|
|
128
|
+
next() {
|
|
129
|
+
return iter.next();
|
|
130
|
+
},
|
|
131
|
+
[Symbol.asyncIterator]() {
|
|
132
|
+
return this;
|
|
133
|
+
},
|
|
134
|
+
byPage: () => {
|
|
135
|
+
return this.listByInvoiceSectionPagingPage(
|
|
136
|
+
billingAccountName,
|
|
137
|
+
billingProfileName,
|
|
138
|
+
invoiceSectionName,
|
|
139
|
+
options
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
private async *listByInvoiceSectionPagingPage(
|
|
146
|
+
billingAccountName: string,
|
|
147
|
+
billingProfileName: string,
|
|
148
|
+
invoiceSectionName: string,
|
|
149
|
+
options?: BillingRoleDefinitionsListByInvoiceSectionOptionalParams
|
|
150
|
+
): AsyncIterableIterator<BillingRoleDefinition[]> {
|
|
151
|
+
let result = await this._listByInvoiceSection(
|
|
152
|
+
billingAccountName,
|
|
153
|
+
billingProfileName,
|
|
154
|
+
invoiceSectionName,
|
|
155
|
+
options
|
|
156
|
+
);
|
|
157
|
+
yield result.value || [];
|
|
158
|
+
let continuationToken = result.nextLink;
|
|
159
|
+
while (continuationToken) {
|
|
160
|
+
result = await this._listByInvoiceSectionNext(
|
|
54
161
|
billingAccountName,
|
|
55
|
-
|
|
162
|
+
billingProfileName,
|
|
163
|
+
invoiceSectionName,
|
|
164
|
+
continuationToken,
|
|
56
165
|
options
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
166
|
+
);
|
|
167
|
+
continuationToken = result.nextLink;
|
|
168
|
+
yield result.value || [];
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
private async *listByInvoiceSectionPagingAll(
|
|
173
|
+
billingAccountName: string,
|
|
174
|
+
billingProfileName: string,
|
|
175
|
+
invoiceSectionName: string,
|
|
176
|
+
options?: BillingRoleDefinitionsListByInvoiceSectionOptionalParams
|
|
177
|
+
): AsyncIterableIterator<BillingRoleDefinition> {
|
|
178
|
+
for await (const page of this.listByInvoiceSectionPagingPage(
|
|
179
|
+
billingAccountName,
|
|
180
|
+
billingProfileName,
|
|
181
|
+
invoiceSectionName,
|
|
182
|
+
options
|
|
183
|
+
)) {
|
|
184
|
+
yield* page;
|
|
185
|
+
}
|
|
60
186
|
}
|
|
61
187
|
|
|
62
188
|
/**
|
|
63
|
-
*
|
|
64
|
-
*
|
|
189
|
+
* Lists the role definitions for a billing profile. The operation is supported for billing accounts
|
|
190
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
65
191
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
66
192
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
67
|
-
* @param
|
|
68
|
-
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
69
|
-
* @param [options] The optional parameters
|
|
70
|
-
* @returns Promise<Models.BillingRoleDefinitionsGetByInvoiceSectionResponse>
|
|
193
|
+
* @param options The options parameters.
|
|
71
194
|
*/
|
|
72
|
-
|
|
195
|
+
public listByBillingProfile(
|
|
196
|
+
billingAccountName: string,
|
|
197
|
+
billingProfileName: string,
|
|
198
|
+
options?: BillingRoleDefinitionsListByBillingProfileOptionalParams
|
|
199
|
+
): PagedAsyncIterableIterator<BillingRoleDefinition> {
|
|
200
|
+
const iter = this.listByBillingProfilePagingAll(
|
|
201
|
+
billingAccountName,
|
|
202
|
+
billingProfileName,
|
|
203
|
+
options
|
|
204
|
+
);
|
|
205
|
+
return {
|
|
206
|
+
next() {
|
|
207
|
+
return iter.next();
|
|
208
|
+
},
|
|
209
|
+
[Symbol.asyncIterator]() {
|
|
210
|
+
return this;
|
|
211
|
+
},
|
|
212
|
+
byPage: () => {
|
|
213
|
+
return this.listByBillingProfilePagingPage(
|
|
214
|
+
billingAccountName,
|
|
215
|
+
billingProfileName,
|
|
216
|
+
options
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
private async *listByBillingProfilePagingPage(
|
|
223
|
+
billingAccountName: string,
|
|
224
|
+
billingProfileName: string,
|
|
225
|
+
options?: BillingRoleDefinitionsListByBillingProfileOptionalParams
|
|
226
|
+
): AsyncIterableIterator<BillingRoleDefinition[]> {
|
|
227
|
+
let result = await this._listByBillingProfile(
|
|
228
|
+
billingAccountName,
|
|
229
|
+
billingProfileName,
|
|
230
|
+
options
|
|
231
|
+
);
|
|
232
|
+
yield result.value || [];
|
|
233
|
+
let continuationToken = result.nextLink;
|
|
234
|
+
while (continuationToken) {
|
|
235
|
+
result = await this._listByBillingProfileNext(
|
|
236
|
+
billingAccountName,
|
|
237
|
+
billingProfileName,
|
|
238
|
+
continuationToken,
|
|
239
|
+
options
|
|
240
|
+
);
|
|
241
|
+
continuationToken = result.nextLink;
|
|
242
|
+
yield result.value || [];
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
private async *listByBillingProfilePagingAll(
|
|
247
|
+
billingAccountName: string,
|
|
248
|
+
billingProfileName: string,
|
|
249
|
+
options?: BillingRoleDefinitionsListByBillingProfileOptionalParams
|
|
250
|
+
): AsyncIterableIterator<BillingRoleDefinition> {
|
|
251
|
+
for await (const page of this.listByBillingProfilePagingPage(
|
|
252
|
+
billingAccountName,
|
|
253
|
+
billingProfileName,
|
|
254
|
+
options
|
|
255
|
+
)) {
|
|
256
|
+
yield* page;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
73
260
|
/**
|
|
261
|
+
* Gets the definition for a role on a billing account. The operation is supported for billing accounts
|
|
262
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
74
263
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
75
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
76
|
-
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
77
264
|
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
78
|
-
* @param
|
|
265
|
+
* @param options The options parameters.
|
|
79
266
|
*/
|
|
80
|
-
|
|
267
|
+
getByBillingAccount(
|
|
268
|
+
billingAccountName: string,
|
|
269
|
+
billingRoleDefinitionName: string,
|
|
270
|
+
options?: BillingRoleDefinitionsGetByBillingAccountOptionalParams
|
|
271
|
+
): Promise<BillingRoleDefinitionsGetByBillingAccountResponse> {
|
|
272
|
+
return this.client.sendOperationRequest(
|
|
273
|
+
{ billingAccountName, billingRoleDefinitionName, options },
|
|
274
|
+
getByBillingAccountOperationSpec
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
|
|
81
278
|
/**
|
|
279
|
+
* Gets the definition for a role on an invoice section. The operation is supported only for billing
|
|
280
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
82
281
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
83
282
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
84
283
|
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
85
284
|
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
86
|
-
* @param options The
|
|
87
|
-
* @param callback The callback
|
|
285
|
+
* @param options The options parameters.
|
|
88
286
|
*/
|
|
89
|
-
getByInvoiceSection(
|
|
90
|
-
|
|
287
|
+
getByInvoiceSection(
|
|
288
|
+
billingAccountName: string,
|
|
289
|
+
billingProfileName: string,
|
|
290
|
+
invoiceSectionName: string,
|
|
291
|
+
billingRoleDefinitionName: string,
|
|
292
|
+
options?: BillingRoleDefinitionsGetByInvoiceSectionOptionalParams
|
|
293
|
+
): Promise<BillingRoleDefinitionsGetByInvoiceSectionResponse> {
|
|
91
294
|
return this.client.sendOperationRequest(
|
|
92
295
|
{
|
|
93
296
|
billingAccountName,
|
|
@@ -96,36 +299,24 @@ export class BillingRoleDefinitions {
|
|
|
96
299
|
billingRoleDefinitionName,
|
|
97
300
|
options
|
|
98
301
|
},
|
|
99
|
-
getByInvoiceSectionOperationSpec
|
|
100
|
-
|
|
302
|
+
getByInvoiceSectionOperationSpec
|
|
303
|
+
);
|
|
101
304
|
}
|
|
102
305
|
|
|
103
306
|
/**
|
|
104
|
-
* Gets the definition for a role on a billing profile. The operation is supported for billing
|
|
105
|
-
*
|
|
106
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
107
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
108
|
-
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
109
|
-
* @param [options] The optional parameters
|
|
110
|
-
* @returns Promise<Models.BillingRoleDefinitionsGetByBillingProfileResponse>
|
|
111
|
-
*/
|
|
112
|
-
getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleDefinitionName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleDefinitionsGetByBillingProfileResponse>;
|
|
113
|
-
/**
|
|
114
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
115
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
116
|
-
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
117
|
-
* @param callback The callback
|
|
118
|
-
*/
|
|
119
|
-
getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleDefinitionName: string, callback: msRest.ServiceCallback<Models.BillingRoleDefinition>): void;
|
|
120
|
-
/**
|
|
307
|
+
* Gets the definition for a role on a billing profile. The operation is supported for billing accounts
|
|
308
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
121
309
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
122
310
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
123
311
|
* @param billingRoleDefinitionName The ID that uniquely identifies a role definition.
|
|
124
|
-
* @param options The
|
|
125
|
-
* @param callback The callback
|
|
312
|
+
* @param options The options parameters.
|
|
126
313
|
*/
|
|
127
|
-
getByBillingProfile(
|
|
128
|
-
|
|
314
|
+
getByBillingProfile(
|
|
315
|
+
billingAccountName: string,
|
|
316
|
+
billingProfileName: string,
|
|
317
|
+
billingRoleDefinitionName: string,
|
|
318
|
+
options?: BillingRoleDefinitionsGetByBillingProfileOptionalParams
|
|
319
|
+
): Promise<BillingRoleDefinitionsGetByBillingProfileResponse> {
|
|
129
320
|
return this.client.sendOperationRequest(
|
|
130
321
|
{
|
|
131
322
|
billingAccountName,
|
|
@@ -133,212 +324,134 @@ export class BillingRoleDefinitions {
|
|
|
133
324
|
billingRoleDefinitionName,
|
|
134
325
|
options
|
|
135
326
|
},
|
|
136
|
-
getByBillingProfileOperationSpec
|
|
137
|
-
|
|
327
|
+
getByBillingProfileOperationSpec
|
|
328
|
+
);
|
|
138
329
|
}
|
|
139
330
|
|
|
140
331
|
/**
|
|
141
|
-
* Lists the role definitions for a billing account. The operation is supported for billing
|
|
142
|
-
*
|
|
143
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
144
|
-
* @param [options] The optional parameters
|
|
145
|
-
* @returns Promise<Models.BillingRoleDefinitionsListByBillingAccountResponse>
|
|
146
|
-
*/
|
|
147
|
-
listByBillingAccount(billingAccountName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleDefinitionsListByBillingAccountResponse>;
|
|
148
|
-
/**
|
|
149
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
150
|
-
* @param callback The callback
|
|
151
|
-
*/
|
|
152
|
-
listByBillingAccount(billingAccountName: string, callback: msRest.ServiceCallback<Models.BillingRoleDefinitionListResult>): void;
|
|
153
|
-
/**
|
|
332
|
+
* Lists the role definitions for a billing account. The operation is supported for billing accounts
|
|
333
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
154
334
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
155
|
-
* @param options The
|
|
156
|
-
* @param callback The callback
|
|
335
|
+
* @param options The options parameters.
|
|
157
336
|
*/
|
|
158
|
-
|
|
159
|
-
|
|
337
|
+
private _listByBillingAccount(
|
|
338
|
+
billingAccountName: string,
|
|
339
|
+
options?: BillingRoleDefinitionsListByBillingAccountOptionalParams
|
|
340
|
+
): Promise<BillingRoleDefinitionsListByBillingAccountResponse> {
|
|
160
341
|
return this.client.sendOperationRequest(
|
|
161
|
-
{
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
},
|
|
165
|
-
listByBillingAccountOperationSpec,
|
|
166
|
-
callback) as Promise<Models.BillingRoleDefinitionsListByBillingAccountResponse>;
|
|
342
|
+
{ billingAccountName, options },
|
|
343
|
+
listByBillingAccountOperationSpec
|
|
344
|
+
);
|
|
167
345
|
}
|
|
168
346
|
|
|
169
347
|
/**
|
|
170
|
-
* Lists the role definitions for an invoice section. The operation is supported for billing
|
|
171
|
-
*
|
|
172
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
173
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
174
|
-
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
175
|
-
* @param [options] The optional parameters
|
|
176
|
-
* @returns Promise<Models.BillingRoleDefinitionsListByInvoiceSectionResponse>
|
|
177
|
-
*/
|
|
178
|
-
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleDefinitionsListByInvoiceSectionResponse>;
|
|
179
|
-
/**
|
|
180
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
181
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
182
|
-
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
183
|
-
* @param callback The callback
|
|
184
|
-
*/
|
|
185
|
-
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, callback: msRest.ServiceCallback<Models.BillingRoleDefinitionListResult>): void;
|
|
186
|
-
/**
|
|
348
|
+
* Lists the role definitions for an invoice section. The operation is supported for billing accounts
|
|
349
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
187
350
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
188
351
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
189
352
|
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
190
|
-
* @param options The
|
|
191
|
-
* @param callback The callback
|
|
353
|
+
* @param options The options parameters.
|
|
192
354
|
*/
|
|
193
|
-
|
|
194
|
-
|
|
355
|
+
private _listByInvoiceSection(
|
|
356
|
+
billingAccountName: string,
|
|
357
|
+
billingProfileName: string,
|
|
358
|
+
invoiceSectionName: string,
|
|
359
|
+
options?: BillingRoleDefinitionsListByInvoiceSectionOptionalParams
|
|
360
|
+
): Promise<BillingRoleDefinitionsListByInvoiceSectionResponse> {
|
|
195
361
|
return this.client.sendOperationRequest(
|
|
196
|
-
{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
invoiceSectionName,
|
|
200
|
-
options
|
|
201
|
-
},
|
|
202
|
-
listByInvoiceSectionOperationSpec,
|
|
203
|
-
callback) as Promise<Models.BillingRoleDefinitionsListByInvoiceSectionResponse>;
|
|
362
|
+
{ billingAccountName, billingProfileName, invoiceSectionName, options },
|
|
363
|
+
listByInvoiceSectionOperationSpec
|
|
364
|
+
);
|
|
204
365
|
}
|
|
205
366
|
|
|
206
367
|
/**
|
|
207
|
-
* Lists the role definitions for a billing profile. The operation is supported for billing
|
|
208
|
-
*
|
|
209
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
210
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
211
|
-
* @param [options] The optional parameters
|
|
212
|
-
* @returns Promise<Models.BillingRoleDefinitionsListByBillingProfileResponse>
|
|
213
|
-
*/
|
|
214
|
-
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleDefinitionsListByBillingProfileResponse>;
|
|
215
|
-
/**
|
|
216
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
217
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
218
|
-
* @param callback The callback
|
|
219
|
-
*/
|
|
220
|
-
listByBillingProfile(billingAccountName: string, billingProfileName: string, callback: msRest.ServiceCallback<Models.BillingRoleDefinitionListResult>): void;
|
|
221
|
-
/**
|
|
368
|
+
* Lists the role definitions for a billing profile. The operation is supported for billing accounts
|
|
369
|
+
* with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
222
370
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
223
371
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
224
|
-
* @param options The
|
|
225
|
-
* @param callback The callback
|
|
372
|
+
* @param options The options parameters.
|
|
226
373
|
*/
|
|
227
|
-
|
|
228
|
-
|
|
374
|
+
private _listByBillingProfile(
|
|
375
|
+
billingAccountName: string,
|
|
376
|
+
billingProfileName: string,
|
|
377
|
+
options?: BillingRoleDefinitionsListByBillingProfileOptionalParams
|
|
378
|
+
): Promise<BillingRoleDefinitionsListByBillingProfileResponse> {
|
|
229
379
|
return this.client.sendOperationRequest(
|
|
230
|
-
{
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
options
|
|
234
|
-
},
|
|
235
|
-
listByBillingProfileOperationSpec,
|
|
236
|
-
callback) as Promise<Models.BillingRoleDefinitionsListByBillingProfileResponse>;
|
|
380
|
+
{ billingAccountName, billingProfileName, options },
|
|
381
|
+
listByBillingProfileOperationSpec
|
|
382
|
+
);
|
|
237
383
|
}
|
|
238
384
|
|
|
239
385
|
/**
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
* @param
|
|
243
|
-
* @param
|
|
244
|
-
* @returns Promise<Models.BillingRoleDefinitionsListByBillingAccountNextResponse>
|
|
245
|
-
*/
|
|
246
|
-
listByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleDefinitionsListByBillingAccountNextResponse>;
|
|
247
|
-
/**
|
|
248
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
249
|
-
* @param callback The callback
|
|
250
|
-
*/
|
|
251
|
-
listByBillingAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BillingRoleDefinitionListResult>): void;
|
|
252
|
-
/**
|
|
253
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
254
|
-
* @param options The optional parameters
|
|
255
|
-
* @param callback The callback
|
|
386
|
+
* ListByBillingAccountNext
|
|
387
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
388
|
+
* @param nextLink The nextLink from the previous successful call to the ListByBillingAccount method.
|
|
389
|
+
* @param options The options parameters.
|
|
256
390
|
*/
|
|
257
|
-
|
|
258
|
-
|
|
391
|
+
private _listByBillingAccountNext(
|
|
392
|
+
billingAccountName: string,
|
|
393
|
+
nextLink: string,
|
|
394
|
+
options?: BillingRoleDefinitionsListByBillingAccountNextOptionalParams
|
|
395
|
+
): Promise<BillingRoleDefinitionsListByBillingAccountNextResponse> {
|
|
259
396
|
return this.client.sendOperationRequest(
|
|
260
|
-
{
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
},
|
|
264
|
-
listByBillingAccountNextOperationSpec,
|
|
265
|
-
callback) as Promise<Models.BillingRoleDefinitionsListByBillingAccountNextResponse>;
|
|
397
|
+
{ billingAccountName, nextLink, options },
|
|
398
|
+
listByBillingAccountNextOperationSpec
|
|
399
|
+
);
|
|
266
400
|
}
|
|
267
401
|
|
|
268
402
|
/**
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* @param
|
|
272
|
-
* @param
|
|
273
|
-
* @
|
|
274
|
-
|
|
275
|
-
listByInvoiceSectionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleDefinitionsListByInvoiceSectionNextResponse>;
|
|
276
|
-
/**
|
|
277
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
278
|
-
* @param callback The callback
|
|
279
|
-
*/
|
|
280
|
-
listByInvoiceSectionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BillingRoleDefinitionListResult>): void;
|
|
281
|
-
/**
|
|
282
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
283
|
-
* @param options The optional parameters
|
|
284
|
-
* @param callback The callback
|
|
403
|
+
* ListByInvoiceSectionNext
|
|
404
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
405
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
406
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
407
|
+
* @param nextLink The nextLink from the previous successful call to the ListByInvoiceSection method.
|
|
408
|
+
* @param options The options parameters.
|
|
285
409
|
*/
|
|
286
|
-
|
|
287
|
-
|
|
410
|
+
private _listByInvoiceSectionNext(
|
|
411
|
+
billingAccountName: string,
|
|
412
|
+
billingProfileName: string,
|
|
413
|
+
invoiceSectionName: string,
|
|
414
|
+
nextLink: string,
|
|
415
|
+
options?: BillingRoleDefinitionsListByInvoiceSectionNextOptionalParams
|
|
416
|
+
): Promise<BillingRoleDefinitionsListByInvoiceSectionNextResponse> {
|
|
288
417
|
return this.client.sendOperationRequest(
|
|
289
418
|
{
|
|
290
|
-
|
|
419
|
+
billingAccountName,
|
|
420
|
+
billingProfileName,
|
|
421
|
+
invoiceSectionName,
|
|
422
|
+
nextLink,
|
|
291
423
|
options
|
|
292
424
|
},
|
|
293
|
-
listByInvoiceSectionNextOperationSpec
|
|
294
|
-
|
|
425
|
+
listByInvoiceSectionNextOperationSpec
|
|
426
|
+
);
|
|
295
427
|
}
|
|
296
428
|
|
|
297
429
|
/**
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
* @param
|
|
301
|
-
* @param
|
|
302
|
-
* @
|
|
303
|
-
*/
|
|
304
|
-
listByBillingProfileNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleDefinitionsListByBillingProfileNextResponse>;
|
|
305
|
-
/**
|
|
306
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
307
|
-
* @param callback The callback
|
|
308
|
-
*/
|
|
309
|
-
listByBillingProfileNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BillingRoleDefinitionListResult>): void;
|
|
310
|
-
/**
|
|
311
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
312
|
-
* @param options The optional parameters
|
|
313
|
-
* @param callback The callback
|
|
430
|
+
* ListByBillingProfileNext
|
|
431
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
432
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
433
|
+
* @param nextLink The nextLink from the previous successful call to the ListByBillingProfile method.
|
|
434
|
+
* @param options The options parameters.
|
|
314
435
|
*/
|
|
315
|
-
|
|
316
|
-
|
|
436
|
+
private _listByBillingProfileNext(
|
|
437
|
+
billingAccountName: string,
|
|
438
|
+
billingProfileName: string,
|
|
439
|
+
nextLink: string,
|
|
440
|
+
options?: BillingRoleDefinitionsListByBillingProfileNextOptionalParams
|
|
441
|
+
): Promise<BillingRoleDefinitionsListByBillingProfileNextResponse> {
|
|
317
442
|
return this.client.sendOperationRequest(
|
|
318
|
-
{
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
},
|
|
322
|
-
listByBillingProfileNextOperationSpec,
|
|
323
|
-
callback) as Promise<Models.BillingRoleDefinitionsListByBillingProfileNextResponse>;
|
|
443
|
+
{ billingAccountName, billingProfileName, nextLink, options },
|
|
444
|
+
listByBillingProfileNextOperationSpec
|
|
445
|
+
);
|
|
324
446
|
}
|
|
325
447
|
}
|
|
326
|
-
|
|
327
448
|
// Operation Specifications
|
|
328
|
-
const serializer =
|
|
329
|
-
|
|
449
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
450
|
+
|
|
451
|
+
const getByBillingAccountOperationSpec: coreClient.OperationSpec = {
|
|
452
|
+
path:
|
|
453
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/{billingRoleDefinitionName}",
|
|
330
454
|
httpMethod: "GET",
|
|
331
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/{billingRoleDefinitionName}",
|
|
332
|
-
urlParameters: [
|
|
333
|
-
Parameters.billingAccountName,
|
|
334
|
-
Parameters.billingRoleDefinitionName
|
|
335
|
-
],
|
|
336
|
-
queryParameters: [
|
|
337
|
-
Parameters.apiVersion0
|
|
338
|
-
],
|
|
339
|
-
headerParameters: [
|
|
340
|
-
Parameters.acceptLanguage
|
|
341
|
-
],
|
|
342
455
|
responses: {
|
|
343
456
|
200: {
|
|
344
457
|
bodyMapper: Mappers.BillingRoleDefinition
|
|
@@ -347,24 +460,19 @@ const getByBillingAccountOperationSpec: msRest.OperationSpec = {
|
|
|
347
460
|
bodyMapper: Mappers.ErrorResponse
|
|
348
461
|
}
|
|
349
462
|
},
|
|
350
|
-
|
|
351
|
-
};
|
|
352
|
-
|
|
353
|
-
const getByInvoiceSectionOperationSpec: msRest.OperationSpec = {
|
|
354
|
-
httpMethod: "GET",
|
|
355
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/{billingRoleDefinitionName}",
|
|
463
|
+
queryParameters: [Parameters.apiVersion],
|
|
356
464
|
urlParameters: [
|
|
465
|
+
Parameters.$host,
|
|
357
466
|
Parameters.billingAccountName,
|
|
358
|
-
Parameters.billingProfileName,
|
|
359
|
-
Parameters.invoiceSectionName,
|
|
360
467
|
Parameters.billingRoleDefinitionName
|
|
361
468
|
],
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
469
|
+
headerParameters: [Parameters.accept],
|
|
470
|
+
serializer
|
|
471
|
+
};
|
|
472
|
+
const getByInvoiceSectionOperationSpec: coreClient.OperationSpec = {
|
|
473
|
+
path:
|
|
474
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/{billingRoleDefinitionName}",
|
|
475
|
+
httpMethod: "GET",
|
|
368
476
|
responses: {
|
|
369
477
|
200: {
|
|
370
478
|
bodyMapper: Mappers.BillingRoleDefinition
|
|
@@ -373,23 +481,21 @@ const getByInvoiceSectionOperationSpec: msRest.OperationSpec = {
|
|
|
373
481
|
bodyMapper: Mappers.ErrorResponse
|
|
374
482
|
}
|
|
375
483
|
},
|
|
376
|
-
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
const getByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
380
|
-
httpMethod: "GET",
|
|
381
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions/{billingRoleDefinitionName}",
|
|
484
|
+
queryParameters: [Parameters.apiVersion],
|
|
382
485
|
urlParameters: [
|
|
486
|
+
Parameters.$host,
|
|
383
487
|
Parameters.billingAccountName,
|
|
384
488
|
Parameters.billingProfileName,
|
|
489
|
+
Parameters.invoiceSectionName,
|
|
385
490
|
Parameters.billingRoleDefinitionName
|
|
386
491
|
],
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
492
|
+
headerParameters: [Parameters.accept],
|
|
493
|
+
serializer
|
|
494
|
+
};
|
|
495
|
+
const getByBillingProfileOperationSpec: coreClient.OperationSpec = {
|
|
496
|
+
path:
|
|
497
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions/{billingRoleDefinitionName}",
|
|
498
|
+
httpMethod: "GET",
|
|
393
499
|
responses: {
|
|
394
500
|
200: {
|
|
395
501
|
bodyMapper: Mappers.BillingRoleDefinition
|
|
@@ -398,21 +504,20 @@ const getByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
|
398
504
|
bodyMapper: Mappers.ErrorResponse
|
|
399
505
|
}
|
|
400
506
|
},
|
|
507
|
+
queryParameters: [Parameters.apiVersion],
|
|
508
|
+
urlParameters: [
|
|
509
|
+
Parameters.$host,
|
|
510
|
+
Parameters.billingAccountName,
|
|
511
|
+
Parameters.billingProfileName,
|
|
512
|
+
Parameters.billingRoleDefinitionName
|
|
513
|
+
],
|
|
514
|
+
headerParameters: [Parameters.accept],
|
|
401
515
|
serializer
|
|
402
516
|
};
|
|
403
|
-
|
|
404
|
-
|
|
517
|
+
const listByBillingAccountOperationSpec: coreClient.OperationSpec = {
|
|
518
|
+
path:
|
|
519
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions",
|
|
405
520
|
httpMethod: "GET",
|
|
406
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions",
|
|
407
|
-
urlParameters: [
|
|
408
|
-
Parameters.billingAccountName
|
|
409
|
-
],
|
|
410
|
-
queryParameters: [
|
|
411
|
-
Parameters.apiVersion0
|
|
412
|
-
],
|
|
413
|
-
headerParameters: [
|
|
414
|
-
Parameters.acceptLanguage
|
|
415
|
-
],
|
|
416
521
|
responses: {
|
|
417
522
|
200: {
|
|
418
523
|
bodyMapper: Mappers.BillingRoleDefinitionListResult
|
|
@@ -421,23 +526,15 @@ const listByBillingAccountOperationSpec: msRest.OperationSpec = {
|
|
|
421
526
|
bodyMapper: Mappers.ErrorResponse
|
|
422
527
|
}
|
|
423
528
|
},
|
|
529
|
+
queryParameters: [Parameters.apiVersion],
|
|
530
|
+
urlParameters: [Parameters.$host, Parameters.billingAccountName],
|
|
531
|
+
headerParameters: [Parameters.accept],
|
|
424
532
|
serializer
|
|
425
533
|
};
|
|
426
|
-
|
|
427
|
-
|
|
534
|
+
const listByInvoiceSectionOperationSpec: coreClient.OperationSpec = {
|
|
535
|
+
path:
|
|
536
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions",
|
|
428
537
|
httpMethod: "GET",
|
|
429
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions",
|
|
430
|
-
urlParameters: [
|
|
431
|
-
Parameters.billingAccountName,
|
|
432
|
-
Parameters.billingProfileName,
|
|
433
|
-
Parameters.invoiceSectionName
|
|
434
|
-
],
|
|
435
|
-
queryParameters: [
|
|
436
|
-
Parameters.apiVersion0
|
|
437
|
-
],
|
|
438
|
-
headerParameters: [
|
|
439
|
-
Parameters.acceptLanguage
|
|
440
|
-
],
|
|
441
538
|
responses: {
|
|
442
539
|
200: {
|
|
443
540
|
bodyMapper: Mappers.BillingRoleDefinitionListResult
|
|
@@ -446,22 +543,20 @@ const listByInvoiceSectionOperationSpec: msRest.OperationSpec = {
|
|
|
446
543
|
bodyMapper: Mappers.ErrorResponse
|
|
447
544
|
}
|
|
448
545
|
},
|
|
449
|
-
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
const listByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
453
|
-
httpMethod: "GET",
|
|
454
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions",
|
|
546
|
+
queryParameters: [Parameters.apiVersion],
|
|
455
547
|
urlParameters: [
|
|
548
|
+
Parameters.$host,
|
|
456
549
|
Parameters.billingAccountName,
|
|
457
|
-
Parameters.billingProfileName
|
|
458
|
-
|
|
459
|
-
queryParameters: [
|
|
460
|
-
Parameters.apiVersion0
|
|
461
|
-
],
|
|
462
|
-
headerParameters: [
|
|
463
|
-
Parameters.acceptLanguage
|
|
550
|
+
Parameters.billingProfileName,
|
|
551
|
+
Parameters.invoiceSectionName
|
|
464
552
|
],
|
|
553
|
+
headerParameters: [Parameters.accept],
|
|
554
|
+
serializer
|
|
555
|
+
};
|
|
556
|
+
const listByBillingProfileOperationSpec: coreClient.OperationSpec = {
|
|
557
|
+
path:
|
|
558
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions",
|
|
559
|
+
httpMethod: "GET",
|
|
465
560
|
responses: {
|
|
466
561
|
200: {
|
|
467
562
|
bodyMapper: Mappers.BillingRoleDefinitionListResult
|
|
@@ -470,19 +565,18 @@ const listByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
|
470
565
|
bodyMapper: Mappers.ErrorResponse
|
|
471
566
|
}
|
|
472
567
|
},
|
|
568
|
+
queryParameters: [Parameters.apiVersion],
|
|
569
|
+
urlParameters: [
|
|
570
|
+
Parameters.$host,
|
|
571
|
+
Parameters.billingAccountName,
|
|
572
|
+
Parameters.billingProfileName
|
|
573
|
+
],
|
|
574
|
+
headerParameters: [Parameters.accept],
|
|
473
575
|
serializer
|
|
474
576
|
};
|
|
475
|
-
|
|
476
|
-
const listByBillingAccountNextOperationSpec: msRest.OperationSpec = {
|
|
477
|
-
httpMethod: "GET",
|
|
478
|
-
baseUrl: "https://management.azure.com",
|
|
577
|
+
const listByBillingAccountNextOperationSpec: coreClient.OperationSpec = {
|
|
479
578
|
path: "{nextLink}",
|
|
480
|
-
|
|
481
|
-
Parameters.nextPageLink
|
|
482
|
-
],
|
|
483
|
-
headerParameters: [
|
|
484
|
-
Parameters.acceptLanguage
|
|
485
|
-
],
|
|
579
|
+
httpMethod: "GET",
|
|
486
580
|
responses: {
|
|
487
581
|
200: {
|
|
488
582
|
bodyMapper: Mappers.BillingRoleDefinitionListResult
|
|
@@ -491,19 +585,18 @@ const listByBillingAccountNextOperationSpec: msRest.OperationSpec = {
|
|
|
491
585
|
bodyMapper: Mappers.ErrorResponse
|
|
492
586
|
}
|
|
493
587
|
},
|
|
588
|
+
queryParameters: [Parameters.apiVersion],
|
|
589
|
+
urlParameters: [
|
|
590
|
+
Parameters.$host,
|
|
591
|
+
Parameters.billingAccountName,
|
|
592
|
+
Parameters.nextLink
|
|
593
|
+
],
|
|
594
|
+
headerParameters: [Parameters.accept],
|
|
494
595
|
serializer
|
|
495
596
|
};
|
|
496
|
-
|
|
497
|
-
const listByInvoiceSectionNextOperationSpec: msRest.OperationSpec = {
|
|
498
|
-
httpMethod: "GET",
|
|
499
|
-
baseUrl: "https://management.azure.com",
|
|
597
|
+
const listByInvoiceSectionNextOperationSpec: coreClient.OperationSpec = {
|
|
500
598
|
path: "{nextLink}",
|
|
501
|
-
|
|
502
|
-
Parameters.nextPageLink
|
|
503
|
-
],
|
|
504
|
-
headerParameters: [
|
|
505
|
-
Parameters.acceptLanguage
|
|
506
|
-
],
|
|
599
|
+
httpMethod: "GET",
|
|
507
600
|
responses: {
|
|
508
601
|
200: {
|
|
509
602
|
bodyMapper: Mappers.BillingRoleDefinitionListResult
|
|
@@ -512,19 +605,20 @@ const listByInvoiceSectionNextOperationSpec: msRest.OperationSpec = {
|
|
|
512
605
|
bodyMapper: Mappers.ErrorResponse
|
|
513
606
|
}
|
|
514
607
|
},
|
|
608
|
+
queryParameters: [Parameters.apiVersion],
|
|
609
|
+
urlParameters: [
|
|
610
|
+
Parameters.$host,
|
|
611
|
+
Parameters.billingAccountName,
|
|
612
|
+
Parameters.nextLink,
|
|
613
|
+
Parameters.billingProfileName,
|
|
614
|
+
Parameters.invoiceSectionName
|
|
615
|
+
],
|
|
616
|
+
headerParameters: [Parameters.accept],
|
|
515
617
|
serializer
|
|
516
618
|
};
|
|
517
|
-
|
|
518
|
-
const listByBillingProfileNextOperationSpec: msRest.OperationSpec = {
|
|
519
|
-
httpMethod: "GET",
|
|
520
|
-
baseUrl: "https://management.azure.com",
|
|
619
|
+
const listByBillingProfileNextOperationSpec: coreClient.OperationSpec = {
|
|
521
620
|
path: "{nextLink}",
|
|
522
|
-
|
|
523
|
-
Parameters.nextPageLink
|
|
524
|
-
],
|
|
525
|
-
headerParameters: [
|
|
526
|
-
Parameters.acceptLanguage
|
|
527
|
-
],
|
|
621
|
+
httpMethod: "GET",
|
|
528
622
|
responses: {
|
|
529
623
|
200: {
|
|
530
624
|
bodyMapper: Mappers.BillingRoleDefinitionListResult
|
|
@@ -533,5 +627,13 @@ const listByBillingProfileNextOperationSpec: msRest.OperationSpec = {
|
|
|
533
627
|
bodyMapper: Mappers.ErrorResponse
|
|
534
628
|
}
|
|
535
629
|
},
|
|
630
|
+
queryParameters: [Parameters.apiVersion],
|
|
631
|
+
urlParameters: [
|
|
632
|
+
Parameters.$host,
|
|
633
|
+
Parameters.billingAccountName,
|
|
634
|
+
Parameters.nextLink,
|
|
635
|
+
Parameters.billingProfileName
|
|
636
|
+
],
|
|
637
|
+
headerParameters: [Parameters.accept],
|
|
536
638
|
serializer
|
|
537
639
|
};
|