@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,39 @@
|
|
|
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 { Instructions } 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
|
+
Instruction,
|
|
17
|
+
InstructionsListByBillingProfileNextOptionalParams,
|
|
18
|
+
InstructionsListByBillingProfileOptionalParams,
|
|
19
|
+
InstructionsListByBillingProfileResponse,
|
|
20
|
+
InstructionsGetOptionalParams,
|
|
21
|
+
InstructionsGetResponse,
|
|
22
|
+
InstructionsPutOptionalParams,
|
|
23
|
+
InstructionsPutResponse,
|
|
24
|
+
InstructionsListByBillingProfileNextResponse
|
|
25
|
+
} from "../models";
|
|
16
26
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
27
|
+
/// <reference lib="esnext.asynciterable" />
|
|
28
|
+
/** Class containing Instructions operations. */
|
|
29
|
+
export class InstructionsImpl implements Instructions {
|
|
30
|
+
private readonly client: BillingManagementClient;
|
|
20
31
|
|
|
21
32
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
33
|
+
* Initialize a new instance of the class Instructions class.
|
|
34
|
+
* @param client Reference to the service client
|
|
24
35
|
*/
|
|
25
|
-
constructor(client:
|
|
36
|
+
constructor(client: BillingManagementClient) {
|
|
26
37
|
this.client = client;
|
|
27
38
|
}
|
|
28
39
|
|
|
@@ -30,100 +41,126 @@ export class Instructions {
|
|
|
30
41
|
* Lists the instructions by billing profile id.
|
|
31
42
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
32
43
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.InstructionsListByBillingProfileResponse>
|
|
44
|
+
* @param options The options parameters.
|
|
35
45
|
*/
|
|
36
|
-
listByBillingProfile(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
{
|
|
53
|
-
billingAccountName,
|
|
54
|
-
billingProfileName,
|
|
55
|
-
options
|
|
46
|
+
public listByBillingProfile(
|
|
47
|
+
billingAccountName: string,
|
|
48
|
+
billingProfileName: string,
|
|
49
|
+
options?: InstructionsListByBillingProfileOptionalParams
|
|
50
|
+
): PagedAsyncIterableIterator<Instruction> {
|
|
51
|
+
const iter = this.listByBillingProfilePagingAll(
|
|
52
|
+
billingAccountName,
|
|
53
|
+
billingProfileName,
|
|
54
|
+
options
|
|
55
|
+
);
|
|
56
|
+
return {
|
|
57
|
+
next() {
|
|
58
|
+
return iter.next();
|
|
59
|
+
},
|
|
60
|
+
[Symbol.asyncIterator]() {
|
|
61
|
+
return this;
|
|
56
62
|
},
|
|
57
|
-
|
|
58
|
-
|
|
63
|
+
byPage: () => {
|
|
64
|
+
return this.listByBillingProfilePagingPage(
|
|
65
|
+
billingAccountName,
|
|
66
|
+
billingProfileName,
|
|
67
|
+
options
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
59
71
|
}
|
|
60
72
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
* @param callback The callback
|
|
76
|
-
*/
|
|
77
|
-
get(billingAccountName: string, billingProfileName: string, instructionName: string, callback: msRest.ServiceCallback<Models.Instruction>): void;
|
|
78
|
-
/**
|
|
79
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
80
|
-
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
81
|
-
* @param instructionName Instruction Name.
|
|
82
|
-
* @param options The optional parameters
|
|
83
|
-
* @param callback The callback
|
|
84
|
-
*/
|
|
85
|
-
get(billingAccountName: string, billingProfileName: string, instructionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Instruction>): void;
|
|
86
|
-
get(billingAccountName: string, billingProfileName: string, instructionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Instruction>, callback?: msRest.ServiceCallback<Models.Instruction>): Promise<Models.InstructionsGetResponse> {
|
|
87
|
-
return this.client.sendOperationRequest(
|
|
88
|
-
{
|
|
73
|
+
private async *listByBillingProfilePagingPage(
|
|
74
|
+
billingAccountName: string,
|
|
75
|
+
billingProfileName: string,
|
|
76
|
+
options?: InstructionsListByBillingProfileOptionalParams
|
|
77
|
+
): AsyncIterableIterator<Instruction[]> {
|
|
78
|
+
let result = await this._listByBillingProfile(
|
|
79
|
+
billingAccountName,
|
|
80
|
+
billingProfileName,
|
|
81
|
+
options
|
|
82
|
+
);
|
|
83
|
+
yield result.value || [];
|
|
84
|
+
let continuationToken = result.nextLink;
|
|
85
|
+
while (continuationToken) {
|
|
86
|
+
result = await this._listByBillingProfileNext(
|
|
89
87
|
billingAccountName,
|
|
90
88
|
billingProfileName,
|
|
91
|
-
|
|
89
|
+
continuationToken,
|
|
92
90
|
options
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
91
|
+
);
|
|
92
|
+
continuationToken = result.nextLink;
|
|
93
|
+
yield result.value || [];
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
private async *listByBillingProfilePagingAll(
|
|
98
|
+
billingAccountName: string,
|
|
99
|
+
billingProfileName: string,
|
|
100
|
+
options?: InstructionsListByBillingProfileOptionalParams
|
|
101
|
+
): AsyncIterableIterator<Instruction> {
|
|
102
|
+
for await (const page of this.listByBillingProfilePagingPage(
|
|
103
|
+
billingAccountName,
|
|
104
|
+
billingProfileName,
|
|
105
|
+
options
|
|
106
|
+
)) {
|
|
107
|
+
yield* page;
|
|
108
|
+
}
|
|
96
109
|
}
|
|
97
110
|
|
|
98
111
|
/**
|
|
99
|
-
*
|
|
100
|
-
* for certain customers.
|
|
112
|
+
* Lists the instructions by billing profile id.
|
|
101
113
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
102
114
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
103
|
-
* @param
|
|
104
|
-
* @param parameters The new instruction.
|
|
105
|
-
* @param [options] The optional parameters
|
|
106
|
-
* @returns Promise<Models.InstructionsPutResponse>
|
|
115
|
+
* @param options The options parameters.
|
|
107
116
|
*/
|
|
108
|
-
|
|
117
|
+
private _listByBillingProfile(
|
|
118
|
+
billingAccountName: string,
|
|
119
|
+
billingProfileName: string,
|
|
120
|
+
options?: InstructionsListByBillingProfileOptionalParams
|
|
121
|
+
): Promise<InstructionsListByBillingProfileResponse> {
|
|
122
|
+
return this.client.sendOperationRequest(
|
|
123
|
+
{ billingAccountName, billingProfileName, options },
|
|
124
|
+
listByBillingProfileOperationSpec
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
109
128
|
/**
|
|
129
|
+
* Get the instruction by name. These are custom billing instructions and are only applicable for
|
|
130
|
+
* certain customers.
|
|
110
131
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
111
132
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
112
133
|
* @param instructionName Instruction Name.
|
|
113
|
-
* @param
|
|
114
|
-
* @param callback The callback
|
|
134
|
+
* @param options The options parameters.
|
|
115
135
|
*/
|
|
116
|
-
|
|
136
|
+
get(
|
|
137
|
+
billingAccountName: string,
|
|
138
|
+
billingProfileName: string,
|
|
139
|
+
instructionName: string,
|
|
140
|
+
options?: InstructionsGetOptionalParams
|
|
141
|
+
): Promise<InstructionsGetResponse> {
|
|
142
|
+
return this.client.sendOperationRequest(
|
|
143
|
+
{ billingAccountName, billingProfileName, instructionName, options },
|
|
144
|
+
getOperationSpec
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
|
|
117
148
|
/**
|
|
149
|
+
* Creates or updates an instruction. These are custom billing instructions and are only applicable for
|
|
150
|
+
* certain customers.
|
|
118
151
|
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
119
152
|
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
120
153
|
* @param instructionName Instruction Name.
|
|
121
154
|
* @param parameters The new instruction.
|
|
122
|
-
* @param options The
|
|
123
|
-
* @param callback The callback
|
|
155
|
+
* @param options The options parameters.
|
|
124
156
|
*/
|
|
125
|
-
put(
|
|
126
|
-
|
|
157
|
+
put(
|
|
158
|
+
billingAccountName: string,
|
|
159
|
+
billingProfileName: string,
|
|
160
|
+
instructionName: string,
|
|
161
|
+
parameters: Instruction,
|
|
162
|
+
options?: InstructionsPutOptionalParams
|
|
163
|
+
): Promise<InstructionsPutResponse> {
|
|
127
164
|
return this.client.sendOperationRequest(
|
|
128
165
|
{
|
|
129
166
|
billingAccountName,
|
|
@@ -132,54 +169,36 @@ export class Instructions {
|
|
|
132
169
|
parameters,
|
|
133
170
|
options
|
|
134
171
|
},
|
|
135
|
-
putOperationSpec
|
|
136
|
-
|
|
172
|
+
putOperationSpec
|
|
173
|
+
);
|
|
137
174
|
}
|
|
138
175
|
|
|
139
176
|
/**
|
|
140
|
-
*
|
|
141
|
-
* @param
|
|
142
|
-
* @param
|
|
143
|
-
* @
|
|
144
|
-
|
|
145
|
-
listByBillingProfileNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.InstructionsListByBillingProfileNextResponse>;
|
|
146
|
-
/**
|
|
147
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
148
|
-
* @param callback The callback
|
|
149
|
-
*/
|
|
150
|
-
listByBillingProfileNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.InstructionListResult>): void;
|
|
151
|
-
/**
|
|
152
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
153
|
-
* @param options The optional parameters
|
|
154
|
-
* @param callback The callback
|
|
177
|
+
* ListByBillingProfileNext
|
|
178
|
+
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
179
|
+
* @param billingProfileName The ID that uniquely identifies a billing profile.
|
|
180
|
+
* @param nextLink The nextLink from the previous successful call to the ListByBillingProfile method.
|
|
181
|
+
* @param options The options parameters.
|
|
155
182
|
*/
|
|
156
|
-
|
|
157
|
-
|
|
183
|
+
private _listByBillingProfileNext(
|
|
184
|
+
billingAccountName: string,
|
|
185
|
+
billingProfileName: string,
|
|
186
|
+
nextLink: string,
|
|
187
|
+
options?: InstructionsListByBillingProfileNextOptionalParams
|
|
188
|
+
): Promise<InstructionsListByBillingProfileNextResponse> {
|
|
158
189
|
return this.client.sendOperationRequest(
|
|
159
|
-
{
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
},
|
|
163
|
-
listByBillingProfileNextOperationSpec,
|
|
164
|
-
callback) as Promise<Models.InstructionsListByBillingProfileNextResponse>;
|
|
190
|
+
{ billingAccountName, billingProfileName, nextLink, options },
|
|
191
|
+
listByBillingProfileNextOperationSpec
|
|
192
|
+
);
|
|
165
193
|
}
|
|
166
194
|
}
|
|
167
|
-
|
|
168
195
|
// Operation Specifications
|
|
169
|
-
const serializer =
|
|
170
|
-
|
|
196
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
197
|
+
|
|
198
|
+
const listByBillingProfileOperationSpec: coreClient.OperationSpec = {
|
|
199
|
+
path:
|
|
200
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions",
|
|
171
201
|
httpMethod: "GET",
|
|
172
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions",
|
|
173
|
-
urlParameters: [
|
|
174
|
-
Parameters.billingAccountName,
|
|
175
|
-
Parameters.billingProfileName
|
|
176
|
-
],
|
|
177
|
-
queryParameters: [
|
|
178
|
-
Parameters.apiVersion0
|
|
179
|
-
],
|
|
180
|
-
headerParameters: [
|
|
181
|
-
Parameters.acceptLanguage
|
|
182
|
-
],
|
|
183
202
|
responses: {
|
|
184
203
|
200: {
|
|
185
204
|
bodyMapper: Mappers.InstructionListResult
|
|
@@ -188,23 +207,19 @@ const listByBillingProfileOperationSpec: msRest.OperationSpec = {
|
|
|
188
207
|
bodyMapper: Mappers.ErrorResponse
|
|
189
208
|
}
|
|
190
209
|
},
|
|
191
|
-
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
195
|
-
httpMethod: "GET",
|
|
196
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}",
|
|
210
|
+
queryParameters: [Parameters.apiVersion],
|
|
197
211
|
urlParameters: [
|
|
212
|
+
Parameters.$host,
|
|
198
213
|
Parameters.billingAccountName,
|
|
199
|
-
Parameters.billingProfileName
|
|
200
|
-
Parameters.instructionName
|
|
201
|
-
],
|
|
202
|
-
queryParameters: [
|
|
203
|
-
Parameters.apiVersion0
|
|
204
|
-
],
|
|
205
|
-
headerParameters: [
|
|
206
|
-
Parameters.acceptLanguage
|
|
214
|
+
Parameters.billingProfileName
|
|
207
215
|
],
|
|
216
|
+
headerParameters: [Parameters.accept],
|
|
217
|
+
serializer
|
|
218
|
+
};
|
|
219
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
220
|
+
path:
|
|
221
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}",
|
|
222
|
+
httpMethod: "GET",
|
|
208
223
|
responses: {
|
|
209
224
|
200: {
|
|
210
225
|
bodyMapper: Mappers.Instruction
|
|
@@ -213,30 +228,20 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
213
228
|
bodyMapper: Mappers.ErrorResponse
|
|
214
229
|
}
|
|
215
230
|
},
|
|
216
|
-
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
const putOperationSpec: msRest.OperationSpec = {
|
|
220
|
-
httpMethod: "PUT",
|
|
221
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}",
|
|
231
|
+
queryParameters: [Parameters.apiVersion],
|
|
222
232
|
urlParameters: [
|
|
233
|
+
Parameters.$host,
|
|
223
234
|
Parameters.billingAccountName,
|
|
224
235
|
Parameters.billingProfileName,
|
|
225
236
|
Parameters.instructionName
|
|
226
237
|
],
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
parameterPath: "parameters",
|
|
235
|
-
mapper: {
|
|
236
|
-
...Mappers.Instruction,
|
|
237
|
-
required: true
|
|
238
|
-
}
|
|
239
|
-
},
|
|
238
|
+
headerParameters: [Parameters.accept],
|
|
239
|
+
serializer
|
|
240
|
+
};
|
|
241
|
+
const putOperationSpec: coreClient.OperationSpec = {
|
|
242
|
+
path:
|
|
243
|
+
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}",
|
|
244
|
+
httpMethod: "PUT",
|
|
240
245
|
responses: {
|
|
241
246
|
200: {
|
|
242
247
|
bodyMapper: Mappers.Instruction
|
|
@@ -245,19 +250,21 @@ const putOperationSpec: msRest.OperationSpec = {
|
|
|
245
250
|
bodyMapper: Mappers.ErrorResponse
|
|
246
251
|
}
|
|
247
252
|
},
|
|
253
|
+
requestBody: Parameters.parameters1,
|
|
254
|
+
queryParameters: [Parameters.apiVersion],
|
|
255
|
+
urlParameters: [
|
|
256
|
+
Parameters.$host,
|
|
257
|
+
Parameters.billingAccountName,
|
|
258
|
+
Parameters.billingProfileName,
|
|
259
|
+
Parameters.instructionName
|
|
260
|
+
],
|
|
261
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
262
|
+
mediaType: "json",
|
|
248
263
|
serializer
|
|
249
264
|
};
|
|
250
|
-
|
|
251
|
-
const listByBillingProfileNextOperationSpec: msRest.OperationSpec = {
|
|
252
|
-
httpMethod: "GET",
|
|
253
|
-
baseUrl: "https://management.azure.com",
|
|
265
|
+
const listByBillingProfileNextOperationSpec: coreClient.OperationSpec = {
|
|
254
266
|
path: "{nextLink}",
|
|
255
|
-
|
|
256
|
-
Parameters.nextPageLink
|
|
257
|
-
],
|
|
258
|
-
headerParameters: [
|
|
259
|
-
Parameters.acceptLanguage
|
|
260
|
-
],
|
|
267
|
+
httpMethod: "GET",
|
|
261
268
|
responses: {
|
|
262
269
|
200: {
|
|
263
270
|
bodyMapper: Mappers.InstructionListResult
|
|
@@ -266,5 +273,13 @@ const listByBillingProfileNextOperationSpec: msRest.OperationSpec = {
|
|
|
266
273
|
bodyMapper: Mappers.ErrorResponse
|
|
267
274
|
}
|
|
268
275
|
},
|
|
276
|
+
queryParameters: [Parameters.apiVersion],
|
|
277
|
+
urlParameters: [
|
|
278
|
+
Parameters.$host,
|
|
279
|
+
Parameters.billingAccountName,
|
|
280
|
+
Parameters.nextLink,
|
|
281
|
+
Parameters.billingProfileName
|
|
282
|
+
],
|
|
283
|
+
headerParameters: [Parameters.accept],
|
|
269
284
|
serializer
|
|
270
285
|
};
|