@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,128 +1,320 @@
|
|
|
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 { BillingRoleAssignments } 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
|
+
BillingRoleAssignment,
|
|
17
|
+
BillingRoleAssignmentsListByBillingAccountNextOptionalParams,
|
|
18
|
+
BillingRoleAssignmentsListByBillingAccountOptionalParams,
|
|
19
|
+
BillingRoleAssignmentsListByInvoiceSectionNextOptionalParams,
|
|
20
|
+
BillingRoleAssignmentsListByInvoiceSectionOptionalParams,
|
|
21
|
+
BillingRoleAssignmentsListByBillingProfileNextOptionalParams,
|
|
22
|
+
BillingRoleAssignmentsListByBillingProfileOptionalParams,
|
|
23
|
+
BillingRoleAssignmentsGetByBillingAccountOptionalParams,
|
|
24
|
+
BillingRoleAssignmentsGetByBillingAccountResponse,
|
|
25
|
+
BillingRoleAssignmentsDeleteByBillingAccountOptionalParams,
|
|
26
|
+
BillingRoleAssignmentsDeleteByBillingAccountResponse,
|
|
27
|
+
BillingRoleAssignmentsGetByInvoiceSectionOptionalParams,
|
|
28
|
+
BillingRoleAssignmentsGetByInvoiceSectionResponse,
|
|
29
|
+
BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams,
|
|
30
|
+
BillingRoleAssignmentsDeleteByInvoiceSectionResponse,
|
|
31
|
+
BillingRoleAssignmentsGetByBillingProfileOptionalParams,
|
|
32
|
+
BillingRoleAssignmentsGetByBillingProfileResponse,
|
|
33
|
+
BillingRoleAssignmentsDeleteByBillingProfileOptionalParams,
|
|
34
|
+
BillingRoleAssignmentsDeleteByBillingProfileResponse,
|
|
35
|
+
BillingRoleAssignmentsListByBillingAccountResponse,
|
|
36
|
+
BillingRoleAssignmentsListByInvoiceSectionResponse,
|
|
37
|
+
BillingRoleAssignmentsListByBillingProfileResponse,
|
|
38
|
+
BillingRoleAssignmentsListByBillingAccountNextResponse,
|
|
39
|
+
BillingRoleAssignmentsListByInvoiceSectionNextResponse,
|
|
40
|
+
BillingRoleAssignmentsListByBillingProfileNextResponse
|
|
41
|
+
} from "../models";
|
|
16
42
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
43
|
+
/// <reference lib="esnext.asynciterable" />
|
|
44
|
+
/** Class containing BillingRoleAssignments operations. */
|
|
45
|
+
export class BillingRoleAssignmentsImpl implements BillingRoleAssignments {
|
|
46
|
+
private readonly client: BillingManagementClient;
|
|
20
47
|
|
|
21
48
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
49
|
+
* Initialize a new instance of the class BillingRoleAssignments class.
|
|
50
|
+
* @param client Reference to the service client
|
|
24
51
|
*/
|
|
25
|
-
constructor(client:
|
|
52
|
+
constructor(client: BillingManagementClient) {
|
|
26
53
|
this.client = client;
|
|
27
54
|
}
|
|
28
55
|
|
|
29
56
|
/**
|
|
30
|
-
*
|
|
31
|
-
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
|
|
32
|
-
* Agreement.
|
|
33
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
34
|
-
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
35
|
-
* @param [options] The optional parameters
|
|
36
|
-
* @returns Promise<Models.BillingRoleAssignmentsGetByBillingAccountResponse>
|
|
37
|
-
*/
|
|
38
|
-
getByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleAssignmentsGetByBillingAccountResponse>;
|
|
39
|
-
/**
|
|
40
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
41
|
-
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
getByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, callback: msRest.ServiceCallback<Models.BillingRoleAssignment>): void;
|
|
45
|
-
/**
|
|
57
|
+
* Lists the role assignments for the caller on a billing account. The operation is supported for
|
|
58
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
46
59
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
47
|
-
* @param
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
public listByBillingAccount(
|
|
63
|
+
billingAccountName: string,
|
|
64
|
+
options?: BillingRoleAssignmentsListByBillingAccountOptionalParams
|
|
65
|
+
): PagedAsyncIterableIterator<BillingRoleAssignment> {
|
|
66
|
+
const iter = this.listByBillingAccountPagingAll(
|
|
67
|
+
billingAccountName,
|
|
68
|
+
options
|
|
69
|
+
);
|
|
70
|
+
return {
|
|
71
|
+
next() {
|
|
72
|
+
return iter.next();
|
|
73
|
+
},
|
|
74
|
+
[Symbol.asyncIterator]() {
|
|
75
|
+
return this;
|
|
76
|
+
},
|
|
77
|
+
byPage: () => {
|
|
78
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
private async *listByBillingAccountPagingPage(
|
|
84
|
+
billingAccountName: string,
|
|
85
|
+
options?: BillingRoleAssignmentsListByBillingAccountOptionalParams
|
|
86
|
+
): AsyncIterableIterator<BillingRoleAssignment[]> {
|
|
87
|
+
let result = await this._listByBillingAccount(billingAccountName, options);
|
|
88
|
+
yield result.value || [];
|
|
89
|
+
let continuationToken = result.nextLink;
|
|
90
|
+
while (continuationToken) {
|
|
91
|
+
result = await this._listByBillingAccountNext(
|
|
55
92
|
billingAccountName,
|
|
56
|
-
|
|
93
|
+
continuationToken,
|
|
57
94
|
options
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
95
|
+
);
|
|
96
|
+
continuationToken = result.nextLink;
|
|
97
|
+
yield result.value || [];
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
private async *listByBillingAccountPagingAll(
|
|
102
|
+
billingAccountName: string,
|
|
103
|
+
options?: BillingRoleAssignmentsListByBillingAccountOptionalParams
|
|
104
|
+
): AsyncIterableIterator<BillingRoleAssignment> {
|
|
105
|
+
for await (const page of this.listByBillingAccountPagingPage(
|
|
106
|
+
billingAccountName,
|
|
107
|
+
options
|
|
108
|
+
)) {
|
|
109
|
+
yield* page;
|
|
110
|
+
}
|
|
61
111
|
}
|
|
62
112
|
|
|
63
113
|
/**
|
|
64
|
-
*
|
|
65
|
-
* billing accounts with agreement type Microsoft
|
|
66
|
-
* Agreement.
|
|
67
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
68
|
-
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
69
|
-
* @param [options] The optional parameters
|
|
70
|
-
* @returns Promise<Models.BillingRoleAssignmentsDeleteByBillingAccountResponse>
|
|
71
|
-
*/
|
|
72
|
-
deleteByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleAssignmentsDeleteByBillingAccountResponse>;
|
|
73
|
-
/**
|
|
74
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
75
|
-
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
76
|
-
* @param callback The callback
|
|
77
|
-
*/
|
|
78
|
-
deleteByBillingAccount(billingAccountName: string, billingRoleAssignmentName: string, callback: msRest.ServiceCallback<Models.BillingRoleAssignment>): void;
|
|
79
|
-
/**
|
|
114
|
+
* Lists the role assignments for the caller on an invoice section. The operation is supported for
|
|
115
|
+
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
80
116
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
81
|
-
* @param
|
|
82
|
-
* @param
|
|
83
|
-
* @param
|
|
84
|
-
*/
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
117
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
118
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
119
|
+
* @param options The options parameters.
|
|
120
|
+
*/
|
|
121
|
+
public listByInvoiceSection(
|
|
122
|
+
billingAccountName: string,
|
|
123
|
+
billingProfileName: string,
|
|
124
|
+
invoiceSectionName: string,
|
|
125
|
+
options?: BillingRoleAssignmentsListByInvoiceSectionOptionalParams
|
|
126
|
+
): PagedAsyncIterableIterator<BillingRoleAssignment> {
|
|
127
|
+
const iter = this.listByInvoiceSectionPagingAll(
|
|
128
|
+
billingAccountName,
|
|
129
|
+
billingProfileName,
|
|
130
|
+
invoiceSectionName,
|
|
131
|
+
options
|
|
132
|
+
);
|
|
133
|
+
return {
|
|
134
|
+
next() {
|
|
135
|
+
return iter.next();
|
|
136
|
+
},
|
|
137
|
+
[Symbol.asyncIterator]() {
|
|
138
|
+
return this;
|
|
139
|
+
},
|
|
140
|
+
byPage: () => {
|
|
141
|
+
return this.listByInvoiceSectionPagingPage(
|
|
142
|
+
billingAccountName,
|
|
143
|
+
billingProfileName,
|
|
144
|
+
invoiceSectionName,
|
|
145
|
+
options
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
private async *listByInvoiceSectionPagingPage(
|
|
152
|
+
billingAccountName: string,
|
|
153
|
+
billingProfileName: string,
|
|
154
|
+
invoiceSectionName: string,
|
|
155
|
+
options?: BillingRoleAssignmentsListByInvoiceSectionOptionalParams
|
|
156
|
+
): AsyncIterableIterator<BillingRoleAssignment[]> {
|
|
157
|
+
let result = await this._listByInvoiceSection(
|
|
158
|
+
billingAccountName,
|
|
159
|
+
billingProfileName,
|
|
160
|
+
invoiceSectionName,
|
|
161
|
+
options
|
|
162
|
+
);
|
|
163
|
+
yield result.value || [];
|
|
164
|
+
let continuationToken = result.nextLink;
|
|
165
|
+
while (continuationToken) {
|
|
166
|
+
result = await this._listByInvoiceSectionNext(
|
|
89
167
|
billingAccountName,
|
|
90
|
-
|
|
168
|
+
billingProfileName,
|
|
169
|
+
invoiceSectionName,
|
|
170
|
+
continuationToken,
|
|
91
171
|
options
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
172
|
+
);
|
|
173
|
+
continuationToken = result.nextLink;
|
|
174
|
+
yield result.value || [];
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
private async *listByInvoiceSectionPagingAll(
|
|
179
|
+
billingAccountName: string,
|
|
180
|
+
billingProfileName: string,
|
|
181
|
+
invoiceSectionName: string,
|
|
182
|
+
options?: BillingRoleAssignmentsListByInvoiceSectionOptionalParams
|
|
183
|
+
): AsyncIterableIterator<BillingRoleAssignment> {
|
|
184
|
+
for await (const page of this.listByInvoiceSectionPagingPage(
|
|
185
|
+
billingAccountName,
|
|
186
|
+
billingProfileName,
|
|
187
|
+
invoiceSectionName,
|
|
188
|
+
options
|
|
189
|
+
)) {
|
|
190
|
+
yield* page;
|
|
191
|
+
}
|
|
95
192
|
}
|
|
96
193
|
|
|
97
194
|
/**
|
|
98
|
-
*
|
|
195
|
+
* Lists the role assignments for the caller on a billing profile. The operation is supported for
|
|
99
196
|
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
100
197
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
101
198
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
102
|
-
* @param
|
|
199
|
+
* @param options The options parameters.
|
|
200
|
+
*/
|
|
201
|
+
public listByBillingProfile(
|
|
202
|
+
billingAccountName: string,
|
|
203
|
+
billingProfileName: string,
|
|
204
|
+
options?: BillingRoleAssignmentsListByBillingProfileOptionalParams
|
|
205
|
+
): PagedAsyncIterableIterator<BillingRoleAssignment> {
|
|
206
|
+
const iter = this.listByBillingProfilePagingAll(
|
|
207
|
+
billingAccountName,
|
|
208
|
+
billingProfileName,
|
|
209
|
+
options
|
|
210
|
+
);
|
|
211
|
+
return {
|
|
212
|
+
next() {
|
|
213
|
+
return iter.next();
|
|
214
|
+
},
|
|
215
|
+
[Symbol.asyncIterator]() {
|
|
216
|
+
return this;
|
|
217
|
+
},
|
|
218
|
+
byPage: () => {
|
|
219
|
+
return this.listByBillingProfilePagingPage(
|
|
220
|
+
billingAccountName,
|
|
221
|
+
billingProfileName,
|
|
222
|
+
options
|
|
223
|
+
);
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
private async *listByBillingProfilePagingPage(
|
|
229
|
+
billingAccountName: string,
|
|
230
|
+
billingProfileName: string,
|
|
231
|
+
options?: BillingRoleAssignmentsListByBillingProfileOptionalParams
|
|
232
|
+
): AsyncIterableIterator<BillingRoleAssignment[]> {
|
|
233
|
+
let result = await this._listByBillingProfile(
|
|
234
|
+
billingAccountName,
|
|
235
|
+
billingProfileName,
|
|
236
|
+
options
|
|
237
|
+
);
|
|
238
|
+
yield result.value || [];
|
|
239
|
+
let continuationToken = result.nextLink;
|
|
240
|
+
while (continuationToken) {
|
|
241
|
+
result = await this._listByBillingProfileNext(
|
|
242
|
+
billingAccountName,
|
|
243
|
+
billingProfileName,
|
|
244
|
+
continuationToken,
|
|
245
|
+
options
|
|
246
|
+
);
|
|
247
|
+
continuationToken = result.nextLink;
|
|
248
|
+
yield result.value || [];
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
private async *listByBillingProfilePagingAll(
|
|
253
|
+
billingAccountName: string,
|
|
254
|
+
billingProfileName: string,
|
|
255
|
+
options?: BillingRoleAssignmentsListByBillingProfileOptionalParams
|
|
256
|
+
): AsyncIterableIterator<BillingRoleAssignment> {
|
|
257
|
+
for await (const page of this.listByBillingProfilePagingPage(
|
|
258
|
+
billingAccountName,
|
|
259
|
+
billingProfileName,
|
|
260
|
+
options
|
|
261
|
+
)) {
|
|
262
|
+
yield* page;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Gets a role assignment for the caller on a billing account. The operation is supported for billing
|
|
268
|
+
* accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
269
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
103
270
|
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
104
|
-
* @param
|
|
105
|
-
* @returns Promise<Models.BillingRoleAssignmentsGetByInvoiceSectionResponse>
|
|
271
|
+
* @param options The options parameters.
|
|
106
272
|
*/
|
|
107
|
-
|
|
273
|
+
getByBillingAccount(
|
|
274
|
+
billingAccountName: string,
|
|
275
|
+
billingRoleAssignmentName: string,
|
|
276
|
+
options?: BillingRoleAssignmentsGetByBillingAccountOptionalParams
|
|
277
|
+
): Promise<BillingRoleAssignmentsGetByBillingAccountResponse> {
|
|
278
|
+
return this.client.sendOperationRequest(
|
|
279
|
+
{ billingAccountName, billingRoleAssignmentName, options },
|
|
280
|
+
getByBillingAccountOperationSpec
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
|
|
108
284
|
/**
|
|
285
|
+
* Deletes a role assignment for the caller on a billing account. The operation is supported for
|
|
286
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
109
287
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
110
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
111
|
-
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
112
288
|
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
113
|
-
* @param
|
|
289
|
+
* @param options The options parameters.
|
|
114
290
|
*/
|
|
115
|
-
|
|
291
|
+
deleteByBillingAccount(
|
|
292
|
+
billingAccountName: string,
|
|
293
|
+
billingRoleAssignmentName: string,
|
|
294
|
+
options?: BillingRoleAssignmentsDeleteByBillingAccountOptionalParams
|
|
295
|
+
): Promise<BillingRoleAssignmentsDeleteByBillingAccountResponse> {
|
|
296
|
+
return this.client.sendOperationRequest(
|
|
297
|
+
{ billingAccountName, billingRoleAssignmentName, options },
|
|
298
|
+
deleteByBillingAccountOperationSpec
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
|
|
116
302
|
/**
|
|
303
|
+
* Gets a role assignment for the caller on an invoice section. The operation is supported for billing
|
|
304
|
+
* accounts with agreement type Microsoft Customer Agreement.
|
|
117
305
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
118
306
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
119
307
|
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
120
308
|
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
121
|
-
* @param options The
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
309
|
+
* @param options The options parameters.
|
|
310
|
+
*/
|
|
311
|
+
getByInvoiceSection(
|
|
312
|
+
billingAccountName: string,
|
|
313
|
+
billingProfileName: string,
|
|
314
|
+
invoiceSectionName: string,
|
|
315
|
+
billingRoleAssignmentName: string,
|
|
316
|
+
options?: BillingRoleAssignmentsGetByInvoiceSectionOptionalParams
|
|
317
|
+
): Promise<BillingRoleAssignmentsGetByInvoiceSectionResponse> {
|
|
126
318
|
return this.client.sendOperationRequest(
|
|
127
319
|
{
|
|
128
320
|
billingAccountName,
|
|
@@ -131,8 +323,8 @@ export class BillingRoleAssignments {
|
|
|
131
323
|
billingRoleAssignmentName,
|
|
132
324
|
options
|
|
133
325
|
},
|
|
134
|
-
getByInvoiceSectionOperationSpec
|
|
135
|
-
|
|
326
|
+
getByInvoiceSectionOperationSpec
|
|
327
|
+
);
|
|
136
328
|
}
|
|
137
329
|
|
|
138
330
|
/**
|
|
@@ -142,28 +334,15 @@ export class BillingRoleAssignments {
|
|
|
142
334
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
143
335
|
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
144
336
|
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
145
|
-
* @param
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
* @param callback The callback
|
|
155
|
-
*/
|
|
156
|
-
deleteByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, callback: msRest.ServiceCallback<Models.BillingRoleAssignment>): void;
|
|
157
|
-
/**
|
|
158
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
159
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
160
|
-
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
161
|
-
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
162
|
-
* @param options The optional parameters
|
|
163
|
-
* @param callback The callback
|
|
164
|
-
*/
|
|
165
|
-
deleteByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignment>): void;
|
|
166
|
-
deleteByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, billingRoleAssignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignment>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignment>): Promise<Models.BillingRoleAssignmentsDeleteByInvoiceSectionResponse> {
|
|
337
|
+
* @param options The options parameters.
|
|
338
|
+
*/
|
|
339
|
+
deleteByInvoiceSection(
|
|
340
|
+
billingAccountName: string,
|
|
341
|
+
billingProfileName: string,
|
|
342
|
+
invoiceSectionName: string,
|
|
343
|
+
billingRoleAssignmentName: string,
|
|
344
|
+
options?: BillingRoleAssignmentsDeleteByInvoiceSectionOptionalParams
|
|
345
|
+
): Promise<BillingRoleAssignmentsDeleteByInvoiceSectionResponse> {
|
|
167
346
|
return this.client.sendOperationRequest(
|
|
168
347
|
{
|
|
169
348
|
billingAccountName,
|
|
@@ -172,37 +351,24 @@ export class BillingRoleAssignments {
|
|
|
172
351
|
billingRoleAssignmentName,
|
|
173
352
|
options
|
|
174
353
|
},
|
|
175
|
-
deleteByInvoiceSectionOperationSpec
|
|
176
|
-
|
|
354
|
+
deleteByInvoiceSectionOperationSpec
|
|
355
|
+
);
|
|
177
356
|
}
|
|
178
357
|
|
|
179
358
|
/**
|
|
180
|
-
* Gets a role assignment for the caller on a billing profile. The operation is supported for
|
|
181
|
-
*
|
|
182
|
-
* Agreement.
|
|
183
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
184
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
185
|
-
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
186
|
-
* @param [options] The optional parameters
|
|
187
|
-
* @returns Promise<Models.BillingRoleAssignmentsGetByBillingProfileResponse>
|
|
188
|
-
*/
|
|
189
|
-
getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleAssignmentsGetByBillingProfileResponse>;
|
|
190
|
-
/**
|
|
359
|
+
* Gets a role assignment for the caller on a billing profile. The operation is supported for billing
|
|
360
|
+
* accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
191
361
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
192
362
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
193
363
|
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
194
|
-
* @param
|
|
195
|
-
*/
|
|
196
|
-
getByBillingProfile(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
* @param callback The callback
|
|
203
|
-
*/
|
|
204
|
-
getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignment>): void;
|
|
205
|
-
getByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignment>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignment>): Promise<Models.BillingRoleAssignmentsGetByBillingProfileResponse> {
|
|
364
|
+
* @param options The options parameters.
|
|
365
|
+
*/
|
|
366
|
+
getByBillingProfile(
|
|
367
|
+
billingAccountName: string,
|
|
368
|
+
billingProfileName: string,
|
|
369
|
+
billingRoleAssignmentName: string,
|
|
370
|
+
options?: BillingRoleAssignmentsGetByBillingProfileOptionalParams
|
|
371
|
+
): Promise<BillingRoleAssignmentsGetByBillingProfileResponse> {
|
|
206
372
|
return this.client.sendOperationRequest(
|
|
207
373
|
{
|
|
208
374
|
billingAccountName,
|
|
@@ -210,37 +376,24 @@ export class BillingRoleAssignments {
|
|
|
210
376
|
billingRoleAssignmentName,
|
|
211
377
|
options
|
|
212
378
|
},
|
|
213
|
-
getByBillingProfileOperationSpec
|
|
214
|
-
|
|
379
|
+
getByBillingProfileOperationSpec
|
|
380
|
+
);
|
|
215
381
|
}
|
|
216
382
|
|
|
217
383
|
/**
|
|
218
384
|
* Deletes a role assignment for the caller on a billing profile. The operation is supported for
|
|
219
|
-
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
|
|
220
|
-
* Agreement.
|
|
221
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
222
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
223
|
-
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
224
|
-
* @param [options] The optional parameters
|
|
225
|
-
* @returns Promise<Models.BillingRoleAssignmentsDeleteByBillingProfileResponse>
|
|
226
|
-
*/
|
|
227
|
-
deleteByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleAssignmentsDeleteByBillingProfileResponse>;
|
|
228
|
-
/**
|
|
385
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
229
386
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
230
387
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
231
388
|
* @param billingRoleAssignmentName The ID that uniquely identifies a role assignment.
|
|
232
|
-
* @param
|
|
233
|
-
*/
|
|
234
|
-
deleteByBillingProfile(
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
* @param callback The callback
|
|
241
|
-
*/
|
|
242
|
-
deleteByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignment>): void;
|
|
243
|
-
deleteByBillingProfile(billingAccountName: string, billingProfileName: string, billingRoleAssignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignment>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignment>): Promise<Models.BillingRoleAssignmentsDeleteByBillingProfileResponse> {
|
|
389
|
+
* @param options The options parameters.
|
|
390
|
+
*/
|
|
391
|
+
deleteByBillingProfile(
|
|
392
|
+
billingAccountName: string,
|
|
393
|
+
billingProfileName: string,
|
|
394
|
+
billingRoleAssignmentName: string,
|
|
395
|
+
options?: BillingRoleAssignmentsDeleteByBillingProfileOptionalParams
|
|
396
|
+
): Promise<BillingRoleAssignmentsDeleteByBillingProfileResponse> {
|
|
244
397
|
return this.client.sendOperationRequest(
|
|
245
398
|
{
|
|
246
399
|
billingAccountName,
|
|
@@ -248,38 +401,24 @@ export class BillingRoleAssignments {
|
|
|
248
401
|
billingRoleAssignmentName,
|
|
249
402
|
options
|
|
250
403
|
},
|
|
251
|
-
deleteByBillingProfileOperationSpec
|
|
252
|
-
|
|
404
|
+
deleteByBillingProfileOperationSpec
|
|
405
|
+
);
|
|
253
406
|
}
|
|
254
407
|
|
|
255
408
|
/**
|
|
256
409
|
* Lists the role assignments for the caller on a billing account. The operation is supported for
|
|
257
|
-
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
|
|
258
|
-
* Agreement.
|
|
259
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
260
|
-
* @param [options] The optional parameters
|
|
261
|
-
* @returns Promise<Models.BillingRoleAssignmentsListByBillingAccountResponse>
|
|
262
|
-
*/
|
|
263
|
-
listByBillingAccount(billingAccountName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingRoleAssignmentsListByBillingAccountResponse>;
|
|
264
|
-
/**
|
|
410
|
+
* billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
|
|
265
411
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
266
|
-
* @param
|
|
412
|
+
* @param options The options parameters.
|
|
267
413
|
*/
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
* @param callback The callback
|
|
273
|
-
*/
|
|
274
|
-
listByBillingAccount(billingAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
275
|
-
listByBillingAccount(billingAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): Promise<Models.BillingRoleAssignmentsListByBillingAccountResponse> {
|
|
414
|
+
private _listByBillingAccount(
|
|
415
|
+
billingAccountName: string,
|
|
416
|
+
options?: BillingRoleAssignmentsListByBillingAccountOptionalParams
|
|
417
|
+
): Promise<BillingRoleAssignmentsListByBillingAccountResponse> {
|
|
276
418
|
return this.client.sendOperationRequest(
|
|
277
|
-
{
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
},
|
|
281
|
-
listByBillingAccountOperationSpec,
|
|
282
|
-
callback) as Promise<Models.BillingRoleAssignmentsListByBillingAccountResponse>;
|
|
419
|
+
{ billingAccountName, options },
|
|
420
|
+
listByBillingAccountOperationSpec
|
|
421
|
+
);
|
|
283
422
|
}
|
|
284
423
|
|
|
285
424
|
/**
|
|
@@ -288,35 +427,18 @@ export class BillingRoleAssignments {
|
|
|
288
427
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
289
428
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
290
429
|
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
291
|
-
* @param
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
* @param callback The callback
|
|
300
|
-
*/
|
|
301
|
-
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
302
|
-
/**
|
|
303
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
304
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
305
|
-
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
306
|
-
* @param options The optional parameters
|
|
307
|
-
* @param callback The callback
|
|
308
|
-
*/
|
|
309
|
-
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
310
|
-
listByInvoiceSection(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): Promise<Models.BillingRoleAssignmentsListByInvoiceSectionResponse> {
|
|
430
|
+
* @param options The options parameters.
|
|
431
|
+
*/
|
|
432
|
+
private _listByInvoiceSection(
|
|
433
|
+
billingAccountName: string,
|
|
434
|
+
billingProfileName: string,
|
|
435
|
+
invoiceSectionName: string,
|
|
436
|
+
options?: BillingRoleAssignmentsListByInvoiceSectionOptionalParams
|
|
437
|
+
): Promise<BillingRoleAssignmentsListByInvoiceSectionResponse> {
|
|
311
438
|
return this.client.sendOperationRequest(
|
|
312
|
-
{
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
invoiceSectionName,
|
|
316
|
-
options
|
|
317
|
-
},
|
|
318
|
-
listByInvoiceSectionOperationSpec,
|
|
319
|
-
callback) as Promise<Models.BillingRoleAssignmentsListByInvoiceSectionResponse>;
|
|
439
|
+
{ billingAccountName, billingProfileName, invoiceSectionName, options },
|
|
440
|
+
listByInvoiceSectionOperationSpec
|
|
441
|
+
);
|
|
320
442
|
}
|
|
321
443
|
|
|
322
444
|
/**
|
|
@@ -324,138 +446,89 @@ export class BillingRoleAssignments {
|
|
|
324
446
|
* billing accounts with agreement type Microsoft Customer Agreement.
|
|
325
447
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
326
448
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
327
|
-
* @param
|
|
328
|
-
* @returns Promise<Models.BillingRoleAssignmentsListByBillingProfileResponse>
|
|
449
|
+
* @param options The options parameters.
|
|
329
450
|
*/
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
*/
|
|
336
|
-
listByBillingProfile(billingAccountName: string, billingProfileName: string, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
337
|
-
/**
|
|
338
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
339
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
340
|
-
* @param options The optional parameters
|
|
341
|
-
* @param callback The callback
|
|
342
|
-
*/
|
|
343
|
-
listByBillingProfile(billingAccountName: string, billingProfileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
344
|
-
listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): Promise<Models.BillingRoleAssignmentsListByBillingProfileResponse> {
|
|
451
|
+
private _listByBillingProfile(
|
|
452
|
+
billingAccountName: string,
|
|
453
|
+
billingProfileName: string,
|
|
454
|
+
options?: BillingRoleAssignmentsListByBillingProfileOptionalParams
|
|
455
|
+
): Promise<BillingRoleAssignmentsListByBillingProfileResponse> {
|
|
345
456
|
return this.client.sendOperationRequest(
|
|
346
|
-
{
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
options
|
|
350
|
-
},
|
|
351
|
-
listByBillingProfileOperationSpec,
|
|
352
|
-
callback) as Promise<Models.BillingRoleAssignmentsListByBillingProfileResponse>;
|
|
457
|
+
{ billingAccountName, billingProfileName, options },
|
|
458
|
+
listByBillingProfileOperationSpec
|
|
459
|
+
);
|
|
353
460
|
}
|
|
354
461
|
|
|
355
462
|
/**
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
* @param
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
* @param callback The callback
|
|
367
|
-
*/
|
|
368
|
-
listByBillingAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
369
|
-
/**
|
|
370
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
371
|
-
* @param options The optional parameters
|
|
372
|
-
* @param callback The callback
|
|
373
|
-
*/
|
|
374
|
-
listByBillingAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
375
|
-
listByBillingAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): Promise<Models.BillingRoleAssignmentsListByBillingAccountNextResponse> {
|
|
463
|
+
* ListByBillingAccountNext
|
|
464
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
465
|
+
* @param nextLink The nextLink from the previous successful call to the ListByBillingAccount method.
|
|
466
|
+
* @param options The options parameters.
|
|
467
|
+
*/
|
|
468
|
+
private _listByBillingAccountNext(
|
|
469
|
+
billingAccountName: string,
|
|
470
|
+
nextLink: string,
|
|
471
|
+
options?: BillingRoleAssignmentsListByBillingAccountNextOptionalParams
|
|
472
|
+
): Promise<BillingRoleAssignmentsListByBillingAccountNextResponse> {
|
|
376
473
|
return this.client.sendOperationRequest(
|
|
377
|
-
{
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
},
|
|
381
|
-
listByBillingAccountNextOperationSpec,
|
|
382
|
-
callback) as Promise<Models.BillingRoleAssignmentsListByBillingAccountNextResponse>;
|
|
474
|
+
{ billingAccountName, nextLink, options },
|
|
475
|
+
listByBillingAccountNextOperationSpec
|
|
476
|
+
);
|
|
383
477
|
}
|
|
384
478
|
|
|
385
479
|
/**
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
* @param
|
|
389
|
-
* @param
|
|
390
|
-
* @
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
* @param options The optional parameters
|
|
401
|
-
* @param callback The callback
|
|
402
|
-
*/
|
|
403
|
-
listByInvoiceSectionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
404
|
-
listByInvoiceSectionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): Promise<Models.BillingRoleAssignmentsListByInvoiceSectionNextResponse> {
|
|
480
|
+
* ListByInvoiceSectionNext
|
|
481
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
482
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
483
|
+
* @param invoiceSectionName The ID that uniquely identifies an invoice section.
|
|
484
|
+
* @param nextLink The nextLink from the previous successful call to the ListByInvoiceSection method.
|
|
485
|
+
* @param options The options parameters.
|
|
486
|
+
*/
|
|
487
|
+
private _listByInvoiceSectionNext(
|
|
488
|
+
billingAccountName: string,
|
|
489
|
+
billingProfileName: string,
|
|
490
|
+
invoiceSectionName: string,
|
|
491
|
+
nextLink: string,
|
|
492
|
+
options?: BillingRoleAssignmentsListByInvoiceSectionNextOptionalParams
|
|
493
|
+
): Promise<BillingRoleAssignmentsListByInvoiceSectionNextResponse> {
|
|
405
494
|
return this.client.sendOperationRequest(
|
|
406
495
|
{
|
|
407
|
-
|
|
496
|
+
billingAccountName,
|
|
497
|
+
billingProfileName,
|
|
498
|
+
invoiceSectionName,
|
|
499
|
+
nextLink,
|
|
408
500
|
options
|
|
409
501
|
},
|
|
410
|
-
listByInvoiceSectionNextOperationSpec
|
|
411
|
-
|
|
502
|
+
listByInvoiceSectionNextOperationSpec
|
|
503
|
+
);
|
|
412
504
|
}
|
|
413
505
|
|
|
414
506
|
/**
|
|
415
|
-
*
|
|
416
|
-
*
|
|
417
|
-
* @param
|
|
418
|
-
* @param
|
|
419
|
-
* @
|
|
420
|
-
*/
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
429
|
-
* @param options The optional parameters
|
|
430
|
-
* @param callback The callback
|
|
431
|
-
*/
|
|
432
|
-
listByBillingProfileNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): void;
|
|
433
|
-
listByBillingProfileNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>, callback?: msRest.ServiceCallback<Models.BillingRoleAssignmentListResult>): Promise<Models.BillingRoleAssignmentsListByBillingProfileNextResponse> {
|
|
507
|
+
* ListByBillingProfileNext
|
|
508
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
509
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
510
|
+
* @param nextLink The nextLink from the previous successful call to the ListByBillingProfile method.
|
|
511
|
+
* @param options The options parameters.
|
|
512
|
+
*/
|
|
513
|
+
private _listByBillingProfileNext(
|
|
514
|
+
billingAccountName: string,
|
|
515
|
+
billingProfileName: string,
|
|
516
|
+
nextLink: string,
|
|
517
|
+
options?: BillingRoleAssignmentsListByBillingProfileNextOptionalParams
|
|
518
|
+
): Promise<BillingRoleAssignmentsListByBillingProfileNextResponse> {
|
|
434
519
|
return this.client.sendOperationRequest(
|
|
435
|
-
{
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
},
|
|
439
|
-
listByBillingProfileNextOperationSpec,
|
|
440
|
-
callback) as Promise<Models.BillingRoleAssignmentsListByBillingProfileNextResponse>;
|
|
520
|
+
{ billingAccountName, billingProfileName, nextLink, options },
|
|
521
|
+
listByBillingProfileNextOperationSpec
|
|
522
|
+
);
|
|
441
523
|
}
|
|
442
524
|
}
|
|
443
|
-
|
|
444
525
|
// Operation Specifications
|
|
445
|
-
const serializer =
|
|
446
|
-
|
|
526
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
527
|
+
|
|
528
|
+
const getByBillingAccountOperationSpec: coreClient.OperationSpec = {
|
|
529
|
+
path:
|
|
530
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
447
531
|
httpMethod: "GET",
|
|
448
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
449
|
-
urlParameters: [
|
|
450
|
-
Parameters.billingAccountName,
|
|
451
|
-
Parameters.billingRoleAssignmentName
|
|
452
|
-
],
|
|
453
|
-
queryParameters: [
|
|
454
|
-
Parameters.apiVersion0
|
|
455
|
-
],
|
|
456
|
-
headerParameters: [
|
|
457
|
-
Parameters.acceptLanguage
|
|
458
|
-
],
|
|
459
532
|
responses: {
|
|
460
533
|
200: {
|
|
461
534
|
bodyMapper: Mappers.BillingRoleAssignment
|
|
@@ -464,22 +537,19 @@ const getByBillingAccountOperationSpec: msRest.OperationSpec = {
|
|
|
464
537
|
bodyMapper: Mappers.ErrorResponse
|
|
465
538
|
}
|
|
466
539
|
},
|
|
467
|
-
|
|
468
|
-
};
|
|
469
|
-
|
|
470
|
-
const deleteByBillingAccountOperationSpec: msRest.OperationSpec = {
|
|
471
|
-
httpMethod: "DELETE",
|
|
472
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
540
|
+
queryParameters: [Parameters.apiVersion],
|
|
473
541
|
urlParameters: [
|
|
542
|
+
Parameters.$host,
|
|
474
543
|
Parameters.billingAccountName,
|
|
475
544
|
Parameters.billingRoleAssignmentName
|
|
476
545
|
],
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
546
|
+
headerParameters: [Parameters.accept],
|
|
547
|
+
serializer
|
|
548
|
+
};
|
|
549
|
+
const deleteByBillingAccountOperationSpec: coreClient.OperationSpec = {
|
|
550
|
+
path:
|
|
551
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
552
|
+
httpMethod: "DELETE",
|
|
483
553
|
responses: {
|
|
484
554
|
200: {
|
|
485
555
|
bodyMapper: Mappers.BillingRoleAssignment
|
|
@@ -488,24 +558,19 @@ const deleteByBillingAccountOperationSpec: msRest.OperationSpec = {
|
|
|
488
558
|
bodyMapper: Mappers.ErrorResponse
|
|
489
559
|
}
|
|
490
560
|
},
|
|
491
|
-
|
|
492
|
-
};
|
|
493
|
-
|
|
494
|
-
const getByInvoiceSectionOperationSpec: msRest.OperationSpec = {
|
|
495
|
-
httpMethod: "GET",
|
|
496
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
561
|
+
queryParameters: [Parameters.apiVersion],
|
|
497
562
|
urlParameters: [
|
|
563
|
+
Parameters.$host,
|
|
498
564
|
Parameters.billingAccountName,
|
|
499
|
-
Parameters.billingProfileName,
|
|
500
|
-
Parameters.invoiceSectionName,
|
|
501
565
|
Parameters.billingRoleAssignmentName
|
|
502
566
|
],
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
567
|
+
headerParameters: [Parameters.accept],
|
|
568
|
+
serializer
|
|
569
|
+
};
|
|
570
|
+
const getByInvoiceSectionOperationSpec: coreClient.OperationSpec = {
|
|
571
|
+
path:
|
|
572
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
573
|
+
httpMethod: "GET",
|
|
509
574
|
responses: {
|
|
510
575
|
200: {
|
|
511
576
|
bodyMapper: Mappers.BillingRoleAssignment
|
|
@@ -514,24 +579,21 @@ const getByInvoiceSectionOperationSpec: msRest.OperationSpec = {
|
|
|
514
579
|
bodyMapper: Mappers.ErrorResponse
|
|
515
580
|
}
|
|
516
581
|
},
|
|
517
|
-
|
|
518
|
-
};
|
|
519
|
-
|
|
520
|
-
const deleteByInvoiceSectionOperationSpec: msRest.OperationSpec = {
|
|
521
|
-
httpMethod: "DELETE",
|
|
522
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
582
|
+
queryParameters: [Parameters.apiVersion],
|
|
523
583
|
urlParameters: [
|
|
584
|
+
Parameters.$host,
|
|
524
585
|
Parameters.billingAccountName,
|
|
525
586
|
Parameters.billingProfileName,
|
|
526
587
|
Parameters.invoiceSectionName,
|
|
527
588
|
Parameters.billingRoleAssignmentName
|
|
528
589
|
],
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
590
|
+
headerParameters: [Parameters.accept],
|
|
591
|
+
serializer
|
|
592
|
+
};
|
|
593
|
+
const deleteByInvoiceSectionOperationSpec: coreClient.OperationSpec = {
|
|
594
|
+
path:
|
|
595
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
596
|
+
httpMethod: "DELETE",
|
|
535
597
|
responses: {
|
|
536
598
|
200: {
|
|
537
599
|
bodyMapper: Mappers.BillingRoleAssignment
|
|
@@ -540,23 +602,21 @@ const deleteByInvoiceSectionOperationSpec: msRest.OperationSpec = {
|
|
|
540
602
|
bodyMapper: Mappers.ErrorResponse
|
|
541
603
|
}
|
|
542
604
|
},
|
|
543
|
-
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
const getByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
547
|
-
httpMethod: "GET",
|
|
548
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
605
|
+
queryParameters: [Parameters.apiVersion],
|
|
549
606
|
urlParameters: [
|
|
607
|
+
Parameters.$host,
|
|
550
608
|
Parameters.billingAccountName,
|
|
551
609
|
Parameters.billingProfileName,
|
|
610
|
+
Parameters.invoiceSectionName,
|
|
552
611
|
Parameters.billingRoleAssignmentName
|
|
553
612
|
],
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
613
|
+
headerParameters: [Parameters.accept],
|
|
614
|
+
serializer
|
|
615
|
+
};
|
|
616
|
+
const getByBillingProfileOperationSpec: coreClient.OperationSpec = {
|
|
617
|
+
path:
|
|
618
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
619
|
+
httpMethod: "GET",
|
|
560
620
|
responses: {
|
|
561
621
|
200: {
|
|
562
622
|
bodyMapper: Mappers.BillingRoleAssignment
|
|
@@ -565,23 +625,20 @@ const getByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
|
565
625
|
bodyMapper: Mappers.ErrorResponse
|
|
566
626
|
}
|
|
567
627
|
},
|
|
568
|
-
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
const deleteByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
572
|
-
httpMethod: "DELETE",
|
|
573
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
628
|
+
queryParameters: [Parameters.apiVersion],
|
|
574
629
|
urlParameters: [
|
|
630
|
+
Parameters.$host,
|
|
575
631
|
Parameters.billingAccountName,
|
|
576
632
|
Parameters.billingProfileName,
|
|
577
633
|
Parameters.billingRoleAssignmentName
|
|
578
634
|
],
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
635
|
+
headerParameters: [Parameters.accept],
|
|
636
|
+
serializer
|
|
637
|
+
};
|
|
638
|
+
const deleteByBillingProfileOperationSpec: coreClient.OperationSpec = {
|
|
639
|
+
path:
|
|
640
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}",
|
|
641
|
+
httpMethod: "DELETE",
|
|
585
642
|
responses: {
|
|
586
643
|
200: {
|
|
587
644
|
bodyMapper: Mappers.BillingRoleAssignment
|
|
@@ -590,21 +647,20 @@ const deleteByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
|
590
647
|
bodyMapper: Mappers.ErrorResponse
|
|
591
648
|
}
|
|
592
649
|
},
|
|
650
|
+
queryParameters: [Parameters.apiVersion],
|
|
651
|
+
urlParameters: [
|
|
652
|
+
Parameters.$host,
|
|
653
|
+
Parameters.billingAccountName,
|
|
654
|
+
Parameters.billingProfileName,
|
|
655
|
+
Parameters.billingRoleAssignmentName
|
|
656
|
+
],
|
|
657
|
+
headerParameters: [Parameters.accept],
|
|
593
658
|
serializer
|
|
594
659
|
};
|
|
595
|
-
|
|
596
|
-
|
|
660
|
+
const listByBillingAccountOperationSpec: coreClient.OperationSpec = {
|
|
661
|
+
path:
|
|
662
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments",
|
|
597
663
|
httpMethod: "GET",
|
|
598
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments",
|
|
599
|
-
urlParameters: [
|
|
600
|
-
Parameters.billingAccountName
|
|
601
|
-
],
|
|
602
|
-
queryParameters: [
|
|
603
|
-
Parameters.apiVersion0
|
|
604
|
-
],
|
|
605
|
-
headerParameters: [
|
|
606
|
-
Parameters.acceptLanguage
|
|
607
|
-
],
|
|
608
664
|
responses: {
|
|
609
665
|
200: {
|
|
610
666
|
bodyMapper: Mappers.BillingRoleAssignmentListResult
|
|
@@ -613,23 +669,15 @@ const listByBillingAccountOperationSpec: msRest.OperationSpec = {
|
|
|
613
669
|
bodyMapper: Mappers.ErrorResponse
|
|
614
670
|
}
|
|
615
671
|
},
|
|
672
|
+
queryParameters: [Parameters.apiVersion],
|
|
673
|
+
urlParameters: [Parameters.$host, Parameters.billingAccountName],
|
|
674
|
+
headerParameters: [Parameters.accept],
|
|
616
675
|
serializer
|
|
617
676
|
};
|
|
618
|
-
|
|
619
|
-
|
|
677
|
+
const listByInvoiceSectionOperationSpec: coreClient.OperationSpec = {
|
|
678
|
+
path:
|
|
679
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments",
|
|
620
680
|
httpMethod: "GET",
|
|
621
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments",
|
|
622
|
-
urlParameters: [
|
|
623
|
-
Parameters.billingAccountName,
|
|
624
|
-
Parameters.billingProfileName,
|
|
625
|
-
Parameters.invoiceSectionName
|
|
626
|
-
],
|
|
627
|
-
queryParameters: [
|
|
628
|
-
Parameters.apiVersion0
|
|
629
|
-
],
|
|
630
|
-
headerParameters: [
|
|
631
|
-
Parameters.acceptLanguage
|
|
632
|
-
],
|
|
633
681
|
responses: {
|
|
634
682
|
200: {
|
|
635
683
|
bodyMapper: Mappers.BillingRoleAssignmentListResult
|
|
@@ -638,22 +686,20 @@ const listByInvoiceSectionOperationSpec: msRest.OperationSpec = {
|
|
|
638
686
|
bodyMapper: Mappers.ErrorResponse
|
|
639
687
|
}
|
|
640
688
|
},
|
|
641
|
-
|
|
642
|
-
};
|
|
643
|
-
|
|
644
|
-
const listByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
645
|
-
httpMethod: "GET",
|
|
646
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments",
|
|
689
|
+
queryParameters: [Parameters.apiVersion],
|
|
647
690
|
urlParameters: [
|
|
691
|
+
Parameters.$host,
|
|
648
692
|
Parameters.billingAccountName,
|
|
649
|
-
Parameters.billingProfileName
|
|
650
|
-
|
|
651
|
-
queryParameters: [
|
|
652
|
-
Parameters.apiVersion0
|
|
653
|
-
],
|
|
654
|
-
headerParameters: [
|
|
655
|
-
Parameters.acceptLanguage
|
|
693
|
+
Parameters.billingProfileName,
|
|
694
|
+
Parameters.invoiceSectionName
|
|
656
695
|
],
|
|
696
|
+
headerParameters: [Parameters.accept],
|
|
697
|
+
serializer
|
|
698
|
+
};
|
|
699
|
+
const listByBillingProfileOperationSpec: coreClient.OperationSpec = {
|
|
700
|
+
path:
|
|
701
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments",
|
|
702
|
+
httpMethod: "GET",
|
|
657
703
|
responses: {
|
|
658
704
|
200: {
|
|
659
705
|
bodyMapper: Mappers.BillingRoleAssignmentListResult
|
|
@@ -662,19 +708,18 @@ const listByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
|
662
708
|
bodyMapper: Mappers.ErrorResponse
|
|
663
709
|
}
|
|
664
710
|
},
|
|
711
|
+
queryParameters: [Parameters.apiVersion],
|
|
712
|
+
urlParameters: [
|
|
713
|
+
Parameters.$host,
|
|
714
|
+
Parameters.billingAccountName,
|
|
715
|
+
Parameters.billingProfileName
|
|
716
|
+
],
|
|
717
|
+
headerParameters: [Parameters.accept],
|
|
665
718
|
serializer
|
|
666
719
|
};
|
|
667
|
-
|
|
668
|
-
const listByBillingAccountNextOperationSpec: msRest.OperationSpec = {
|
|
669
|
-
httpMethod: "GET",
|
|
670
|
-
baseUrl: "https://management.azure.com",
|
|
720
|
+
const listByBillingAccountNextOperationSpec: coreClient.OperationSpec = {
|
|
671
721
|
path: "{nextLink}",
|
|
672
|
-
|
|
673
|
-
Parameters.nextPageLink
|
|
674
|
-
],
|
|
675
|
-
headerParameters: [
|
|
676
|
-
Parameters.acceptLanguage
|
|
677
|
-
],
|
|
722
|
+
httpMethod: "GET",
|
|
678
723
|
responses: {
|
|
679
724
|
200: {
|
|
680
725
|
bodyMapper: Mappers.BillingRoleAssignmentListResult
|
|
@@ -683,19 +728,18 @@ const listByBillingAccountNextOperationSpec: msRest.OperationSpec = {
|
|
|
683
728
|
bodyMapper: Mappers.ErrorResponse
|
|
684
729
|
}
|
|
685
730
|
},
|
|
731
|
+
queryParameters: [Parameters.apiVersion],
|
|
732
|
+
urlParameters: [
|
|
733
|
+
Parameters.$host,
|
|
734
|
+
Parameters.billingAccountName,
|
|
735
|
+
Parameters.nextLink
|
|
736
|
+
],
|
|
737
|
+
headerParameters: [Parameters.accept],
|
|
686
738
|
serializer
|
|
687
739
|
};
|
|
688
|
-
|
|
689
|
-
const listByInvoiceSectionNextOperationSpec: msRest.OperationSpec = {
|
|
690
|
-
httpMethod: "GET",
|
|
691
|
-
baseUrl: "https://management.azure.com",
|
|
740
|
+
const listByInvoiceSectionNextOperationSpec: coreClient.OperationSpec = {
|
|
692
741
|
path: "{nextLink}",
|
|
693
|
-
|
|
694
|
-
Parameters.nextPageLink
|
|
695
|
-
],
|
|
696
|
-
headerParameters: [
|
|
697
|
-
Parameters.acceptLanguage
|
|
698
|
-
],
|
|
742
|
+
httpMethod: "GET",
|
|
699
743
|
responses: {
|
|
700
744
|
200: {
|
|
701
745
|
bodyMapper: Mappers.BillingRoleAssignmentListResult
|
|
@@ -704,19 +748,20 @@ const listByInvoiceSectionNextOperationSpec: msRest.OperationSpec = {
|
|
|
704
748
|
bodyMapper: Mappers.ErrorResponse
|
|
705
749
|
}
|
|
706
750
|
},
|
|
751
|
+
queryParameters: [Parameters.apiVersion],
|
|
752
|
+
urlParameters: [
|
|
753
|
+
Parameters.$host,
|
|
754
|
+
Parameters.billingAccountName,
|
|
755
|
+
Parameters.nextLink,
|
|
756
|
+
Parameters.billingProfileName,
|
|
757
|
+
Parameters.invoiceSectionName
|
|
758
|
+
],
|
|
759
|
+
headerParameters: [Parameters.accept],
|
|
707
760
|
serializer
|
|
708
761
|
};
|
|
709
|
-
|
|
710
|
-
const listByBillingProfileNextOperationSpec: msRest.OperationSpec = {
|
|
711
|
-
httpMethod: "GET",
|
|
712
|
-
baseUrl: "https://management.azure.com",
|
|
762
|
+
const listByBillingProfileNextOperationSpec: coreClient.OperationSpec = {
|
|
713
763
|
path: "{nextLink}",
|
|
714
|
-
|
|
715
|
-
Parameters.nextPageLink
|
|
716
|
-
],
|
|
717
|
-
headerParameters: [
|
|
718
|
-
Parameters.acceptLanguage
|
|
719
|
-
],
|
|
764
|
+
httpMethod: "GET",
|
|
720
765
|
responses: {
|
|
721
766
|
200: {
|
|
722
767
|
bodyMapper: Mappers.BillingRoleAssignmentListResult
|
|
@@ -725,5 +770,13 @@ const listByBillingProfileNextOperationSpec: msRest.OperationSpec = {
|
|
|
725
770
|
bodyMapper: Mappers.ErrorResponse
|
|
726
771
|
}
|
|
727
772
|
},
|
|
773
|
+
queryParameters: [Parameters.apiVersion],
|
|
774
|
+
urlParameters: [
|
|
775
|
+
Parameters.$host,
|
|
776
|
+
Parameters.billingAccountName,
|
|
777
|
+
Parameters.nextLink,
|
|
778
|
+
Parameters.billingProfileName
|
|
779
|
+
],
|
|
780
|
+
headerParameters: [Parameters.accept],
|
|
728
781
|
serializer
|
|
729
782
|
};
|