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