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