@azure/arm-subscriptions 6.0.0 → 7.0.0-beta.1
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/README.md +10 -10
- package/dist/browser/api/alias/index.d.ts +3 -0
- package/dist/browser/api/alias/index.js +4 -0
- package/dist/browser/api/alias/index.js.map +1 -0
- package/dist/browser/api/alias/operations.d.ts +23 -0
- package/dist/browser/api/alias/operations.js +118 -0
- package/dist/browser/api/alias/operations.js.map +1 -0
- package/dist/browser/api/alias/options.d.ts +16 -0
- package/dist/{esm/operationsInterfaces/alias.js → browser/api/alias/options.js} +1 -1
- package/dist/browser/api/alias/options.js.map +1 -0
- package/dist/browser/api/billingAccount/index.d.ts +3 -0
- package/dist/browser/api/billingAccount/index.js +4 -0
- package/dist/browser/api/billingAccount/index.js.map +1 -0
- package/dist/browser/api/billingAccount/operations.d.ts +9 -0
- package/dist/browser/api/billingAccount/operations.js +32 -0
- package/dist/browser/api/billingAccount/operations.js.map +1 -0
- package/dist/browser/api/billingAccount/options.d.ts +5 -0
- package/dist/{esm/operationsInterfaces/operations.js → browser/api/billingAccount/options.js} +1 -1
- package/dist/browser/api/billingAccount/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/{operationsInterfaces/subscription.js → api/operations/index.js} +2 -2
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +35 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/subscription/index.d.ts +3 -0
- package/dist/browser/api/subscription/index.js +4 -0
- package/dist/browser/api/subscription/index.js.map +1 -0
- package/dist/browser/api/subscription/operations.d.ts +26 -0
- package/dist/browser/api/subscription/operations.js +145 -0
- package/dist/browser/api/subscription/operations.js.map +1 -0
- package/dist/browser/api/subscription/options.d.ts +19 -0
- package/dist/browser/api/subscription/options.js +4 -0
- package/dist/browser/api/subscription/options.js.map +1 -0
- package/dist/browser/api/subscriptionContext.d.ts +18 -0
- package/dist/browser/api/subscriptionContext.js +23 -0
- package/dist/browser/api/subscriptionContext.js.map +1 -0
- package/dist/browser/api/subscriptionOperation/index.d.ts +3 -0
- package/dist/browser/{operationsInterfaces/operations.js → api/subscriptionOperation/index.js} +2 -2
- package/dist/browser/api/subscriptionOperation/index.js.map +1 -0
- package/dist/browser/api/subscriptionOperation/operations.d.ts +9 -0
- package/dist/browser/api/subscriptionOperation/operations.js +32 -0
- package/dist/browser/api/subscriptionOperation/operations.js.map +1 -0
- package/dist/browser/api/subscriptionOperation/options.d.ts +5 -0
- package/dist/browser/api/subscriptionOperation/options.js +4 -0
- package/dist/browser/api/subscriptionOperation/options.js.map +1 -0
- package/dist/browser/api/subscriptionPolicy/index.d.ts +3 -0
- package/dist/browser/api/subscriptionPolicy/index.js +4 -0
- package/dist/browser/api/subscriptionPolicy/index.js.map +1 -0
- package/dist/browser/api/subscriptionPolicy/operations.d.ts +18 -0
- package/dist/browser/api/subscriptionPolicy/operations.js +87 -0
- package/dist/browser/api/subscriptionPolicy/operations.js.map +1 -0
- package/dist/browser/api/subscriptionPolicy/options.d.ts +11 -0
- package/dist/browser/api/subscriptionPolicy/options.js +4 -0
- package/dist/browser/api/subscriptionPolicy/options.js.map +1 -0
- package/dist/browser/api/subscriptions/index.d.ts +3 -0
- package/dist/browser/api/subscriptions/index.js +4 -0
- package/dist/browser/api/subscriptions/index.js.map +1 -0
- package/dist/browser/api/subscriptions/operations.d.ts +30 -0
- package/dist/browser/api/subscriptions/operations.js +162 -0
- package/dist/browser/api/subscriptions/operations.js.map +1 -0
- package/dist/browser/api/subscriptions/options.d.ts +20 -0
- package/dist/browser/api/subscriptions/options.js +4 -0
- package/dist/browser/api/subscriptions/options.js.map +1 -0
- package/dist/browser/classic/alias/index.d.ts +23 -0
- package/dist/browser/classic/alias/index.js +26 -0
- package/dist/browser/classic/alias/index.js.map +1 -0
- package/dist/browser/classic/billingAccount/index.d.ts +10 -0
- package/dist/browser/classic/billingAccount/index.js +14 -0
- package/dist/browser/classic/billingAccount/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +8 -0
- package/dist/{react-native/operationsInterfaces/alias.js → browser/classic/index.js} +1 -1
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/subscription/index.d.ts +24 -0
- package/dist/browser/classic/subscription/index.js +27 -0
- package/dist/browser/classic/subscription/index.js.map +1 -0
- package/dist/browser/classic/subscriptionOperation/index.d.ts +10 -0
- package/dist/browser/classic/subscriptionOperation/index.js +14 -0
- package/dist/browser/classic/subscriptionOperation/index.js.map +1 -0
- package/dist/browser/classic/subscriptionPolicy/index.d.ts +15 -0
- package/dist/browser/classic/subscriptionPolicy/index.js +16 -0
- package/dist/browser/classic/subscriptionPolicy/index.js.map +1 -0
- package/dist/browser/classic/subscriptions/index.d.ts +21 -0
- package/dist/browser/classic/subscriptions/index.js +19 -0
- package/dist/browser/classic/subscriptions/index.js.map +1 -0
- package/dist/browser/index.d.ts +19 -3
- package/dist/browser/index.js +4 -6
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -568
- package/dist/browser/models/index.js +1 -50
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +517 -0
- package/dist/browser/models/models.js +428 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +102 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/browser/subscriptionClient.d.ts +30 -21
- package/dist/browser/subscriptionClient.js +40 -96
- package/dist/browser/subscriptionClient.js.map +1 -1
- package/dist/commonjs/api/alias/index.d.ts +3 -0
- package/dist/commonjs/api/alias/index.js +34 -0
- package/dist/commonjs/api/alias/index.js.map +7 -0
- package/dist/commonjs/api/alias/operations.d.ts +23 -0
- package/dist/commonjs/api/alias/operations.js +182 -0
- package/dist/commonjs/api/alias/operations.js.map +7 -0
- package/dist/commonjs/api/alias/options.d.ts +16 -0
- package/dist/commonjs/api/alias/options.js +16 -0
- package/dist/commonjs/api/alias/options.js.map +7 -0
- package/dist/commonjs/api/billingAccount/index.d.ts +3 -0
- package/dist/commonjs/api/billingAccount/index.js +28 -0
- package/dist/commonjs/api/billingAccount/index.js.map +7 -0
- package/dist/commonjs/api/billingAccount/operations.d.ts +9 -0
- package/dist/commonjs/api/billingAccount/operations.js +63 -0
- package/dist/commonjs/api/billingAccount/operations.js.map +7 -0
- package/dist/commonjs/api/billingAccount/options.d.ts +5 -0
- package/dist/commonjs/api/billingAccount/options.js +16 -0
- package/dist/commonjs/api/billingAccount/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +72 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/subscription/index.d.ts +3 -0
- package/dist/commonjs/api/subscription/index.js +36 -0
- package/dist/commonjs/api/subscription/index.js.map +7 -0
- package/dist/commonjs/api/subscription/operations.d.ts +26 -0
- package/dist/commonjs/api/subscription/operations.js +212 -0
- package/dist/commonjs/api/subscription/operations.js.map +7 -0
- package/dist/commonjs/api/subscription/options.d.ts +19 -0
- package/dist/commonjs/api/subscription/options.js +16 -0
- package/dist/commonjs/api/subscription/options.js.map +7 -0
- package/dist/commonjs/api/subscriptionContext.d.ts +18 -0
- package/dist/commonjs/api/subscriptionContext.js +45 -0
- package/dist/commonjs/api/subscriptionContext.js.map +7 -0
- package/dist/commonjs/api/subscriptionOperation/index.d.ts +3 -0
- package/dist/commonjs/api/subscriptionOperation/index.js +28 -0
- package/dist/commonjs/api/subscriptionOperation/index.js.map +7 -0
- package/dist/commonjs/api/subscriptionOperation/operations.d.ts +9 -0
- package/dist/commonjs/api/subscriptionOperation/operations.js +63 -0
- package/dist/commonjs/api/subscriptionOperation/operations.js.map +7 -0
- package/dist/commonjs/api/subscriptionOperation/options.d.ts +5 -0
- package/dist/commonjs/api/subscriptionOperation/options.js +16 -0
- package/dist/commonjs/api/subscriptionOperation/options.js.map +7 -0
- package/dist/commonjs/api/subscriptionPolicy/index.d.ts +3 -0
- package/dist/commonjs/api/subscriptionPolicy/index.js +32 -0
- package/dist/commonjs/api/subscriptionPolicy/index.js.map +7 -0
- package/dist/commonjs/api/subscriptionPolicy/operations.d.ts +18 -0
- package/dist/commonjs/api/subscriptionPolicy/operations.js +142 -0
- package/dist/commonjs/api/subscriptionPolicy/operations.js.map +7 -0
- package/dist/commonjs/api/subscriptionPolicy/options.d.ts +11 -0
- package/dist/commonjs/api/subscriptionPolicy/options.js +16 -0
- package/dist/commonjs/api/subscriptionPolicy/options.js.map +7 -0
- package/dist/commonjs/api/subscriptions/index.d.ts +3 -0
- package/dist/commonjs/api/subscriptions/index.js +38 -0
- package/dist/commonjs/api/subscriptions/index.js.map +7 -0
- package/dist/commonjs/api/subscriptions/operations.d.ts +30 -0
- package/dist/commonjs/api/subscriptions/operations.js +244 -0
- package/dist/commonjs/api/subscriptions/operations.js.map +7 -0
- package/dist/commonjs/api/subscriptions/options.d.ts +20 -0
- package/dist/commonjs/api/subscriptions/options.js +16 -0
- package/dist/commonjs/api/subscriptions/options.js.map +7 -0
- package/dist/commonjs/classic/alias/index.d.ts +23 -0
- package/dist/commonjs/classic/alias/index.js +50 -0
- package/dist/commonjs/classic/alias/index.js.map +7 -0
- package/dist/commonjs/classic/billingAccount/index.d.ts +10 -0
- package/dist/commonjs/classic/billingAccount/index.js +38 -0
- package/dist/commonjs/classic/billingAccount/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +8 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/subscription/index.d.ts +24 -0
- package/dist/commonjs/classic/subscription/index.js +51 -0
- package/dist/commonjs/classic/subscription/index.js.map +7 -0
- package/dist/commonjs/classic/subscriptionOperation/index.d.ts +10 -0
- package/dist/commonjs/classic/subscriptionOperation/index.js +38 -0
- package/dist/commonjs/classic/subscriptionOperation/index.js.map +7 -0
- package/dist/commonjs/classic/subscriptionPolicy/index.d.ts +15 -0
- package/dist/commonjs/classic/subscriptionPolicy/index.js +40 -0
- package/dist/commonjs/classic/subscriptionPolicy/index.js.map +7 -0
- package/dist/commonjs/classic/subscriptions/index.d.ts +21 -0
- package/dist/commonjs/classic/subscriptions/index.js +43 -0
- package/dist/commonjs/classic/subscriptions/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +19 -3
- package/dist/commonjs/index.js +53 -16
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +2 -568
- package/dist/commonjs/models/index.js +44 -56
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +517 -0
- package/dist/commonjs/models/models.js +476 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +115 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/subscriptionClient.d.ts +30 -21
- package/dist/commonjs/subscriptionClient.js +69 -108
- package/dist/commonjs/subscriptionClient.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/alias/index.d.ts +3 -0
- package/dist/esm/api/alias/index.js +4 -0
- package/dist/esm/api/alias/index.js.map +1 -0
- package/dist/esm/api/alias/operations.d.ts +23 -0
- package/dist/esm/api/alias/operations.js +118 -0
- package/dist/esm/api/alias/operations.js.map +1 -0
- package/dist/esm/api/alias/options.d.ts +16 -0
- package/dist/esm/api/alias/options.js +4 -0
- package/dist/esm/api/alias/options.js.map +1 -0
- package/dist/esm/api/billingAccount/index.d.ts +3 -0
- package/dist/esm/api/billingAccount/index.js +4 -0
- package/dist/esm/api/billingAccount/index.js.map +1 -0
- package/dist/esm/api/billingAccount/operations.d.ts +9 -0
- package/dist/esm/api/billingAccount/operations.js +32 -0
- package/dist/esm/api/billingAccount/operations.js.map +1 -0
- package/dist/esm/api/billingAccount/options.d.ts +5 -0
- package/dist/esm/api/billingAccount/options.js +4 -0
- package/dist/esm/api/billingAccount/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +35 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/subscription/index.d.ts +3 -0
- package/dist/esm/api/subscription/index.js +4 -0
- package/dist/esm/api/subscription/index.js.map +1 -0
- package/dist/esm/api/subscription/operations.d.ts +26 -0
- package/dist/esm/api/subscription/operations.js +145 -0
- package/dist/esm/api/subscription/operations.js.map +1 -0
- package/dist/esm/api/subscription/options.d.ts +19 -0
- package/dist/esm/api/subscription/options.js +4 -0
- package/dist/esm/api/subscription/options.js.map +1 -0
- package/dist/esm/api/subscriptionContext.d.ts +18 -0
- package/dist/esm/api/subscriptionContext.js +23 -0
- package/dist/esm/api/subscriptionContext.js.map +1 -0
- package/dist/esm/api/subscriptionOperation/index.d.ts +3 -0
- package/dist/{browser/operationsInterfaces/billingAccount.js → esm/api/subscriptionOperation/index.js} +2 -2
- package/dist/esm/api/subscriptionOperation/index.js.map +1 -0
- package/dist/esm/api/subscriptionOperation/operations.d.ts +9 -0
- package/dist/esm/api/subscriptionOperation/operations.js +32 -0
- package/dist/esm/api/subscriptionOperation/operations.js.map +1 -0
- package/dist/esm/api/subscriptionOperation/options.d.ts +5 -0
- package/dist/esm/api/subscriptionOperation/options.js +4 -0
- package/dist/esm/api/subscriptionOperation/options.js.map +1 -0
- package/dist/esm/api/subscriptionPolicy/index.d.ts +3 -0
- package/dist/esm/api/subscriptionPolicy/index.js +4 -0
- package/dist/esm/api/subscriptionPolicy/index.js.map +1 -0
- package/dist/esm/api/subscriptionPolicy/operations.d.ts +18 -0
- package/dist/esm/api/subscriptionPolicy/operations.js +87 -0
- package/dist/esm/api/subscriptionPolicy/operations.js.map +1 -0
- package/dist/esm/api/subscriptionPolicy/options.d.ts +11 -0
- package/dist/esm/api/subscriptionPolicy/options.js +4 -0
- package/dist/esm/api/subscriptionPolicy/options.js.map +1 -0
- package/dist/esm/api/subscriptions/index.d.ts +3 -0
- package/dist/esm/api/subscriptions/index.js +4 -0
- package/dist/esm/api/subscriptions/index.js.map +1 -0
- package/dist/esm/api/subscriptions/operations.d.ts +30 -0
- package/dist/esm/api/subscriptions/operations.js +162 -0
- package/dist/esm/api/subscriptions/operations.js.map +1 -0
- package/dist/esm/api/subscriptions/options.d.ts +20 -0
- package/dist/esm/api/subscriptions/options.js +4 -0
- package/dist/esm/api/subscriptions/options.js.map +1 -0
- package/dist/esm/classic/alias/index.d.ts +23 -0
- package/dist/esm/classic/alias/index.js +26 -0
- package/dist/esm/classic/alias/index.js.map +1 -0
- package/dist/esm/classic/billingAccount/index.d.ts +10 -0
- package/dist/esm/classic/billingAccount/index.js +14 -0
- package/dist/esm/classic/billingAccount/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +8 -0
- package/dist/{browser/operationsInterfaces/alias.js → esm/classic/index.js} +1 -1
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/subscription/index.d.ts +24 -0
- package/dist/esm/classic/subscription/index.js +27 -0
- package/dist/esm/classic/subscription/index.js.map +1 -0
- package/dist/esm/classic/subscriptionOperation/index.d.ts +10 -0
- package/dist/esm/classic/subscriptionOperation/index.js +14 -0
- package/dist/esm/classic/subscriptionOperation/index.js.map +1 -0
- package/dist/esm/classic/subscriptionPolicy/index.d.ts +15 -0
- package/dist/esm/classic/subscriptionPolicy/index.js +16 -0
- package/dist/esm/classic/subscriptionPolicy/index.js.map +1 -0
- package/dist/esm/classic/subscriptions/index.d.ts +21 -0
- package/dist/esm/classic/subscriptions/index.js +19 -0
- package/dist/esm/classic/subscriptions/index.js.map +1 -0
- package/dist/esm/index.d.ts +19 -3
- package/dist/esm/index.js +4 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -568
- package/dist/esm/models/index.js +1 -50
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +517 -0
- package/dist/esm/models/models.js +428 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +102 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/esm/subscriptionClient.d.ts +30 -21
- package/dist/esm/subscriptionClient.js +40 -96
- package/dist/esm/subscriptionClient.js.map +1 -1
- package/package.json +205 -96
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/lroImpl.d.ts +0 -11
- package/dist/browser/lroImpl.d.ts.map +0 -1
- package/dist/browser/lroImpl.js +0 -20
- package/dist/browser/lroImpl.js.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -31
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -867
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -15
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -115
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/alias.d.ts +0 -53
- package/dist/browser/operations/alias.d.ts.map +0 -1
- package/dist/browser/operations/alias.js +0 -182
- package/dist/browser/operations/alias.js.map +0 -1
- package/dist/browser/operations/billingAccount.d.ts +0 -19
- package/dist/browser/operations/billingAccount.d.ts.map +0 -1
- package/dist/browser/operations/billingAccount.js +0 -43
- package/dist/browser/operations/billingAccount.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -7
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -11
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -32
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -111
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/subscription.d.ts +0 -53
- package/dist/browser/operations/subscription.d.ts.map +0 -1
- package/dist/browser/operations/subscription.js +0 -203
- package/dist/browser/operations/subscription.js.map +0 -1
- package/dist/browser/operations/subscriptionOperation.d.ts +0 -20
- package/dist/browser/operations/subscriptionOperation.d.ts.map +0 -1
- package/dist/browser/operations/subscriptionOperation.js +0 -47
- package/dist/browser/operations/subscriptionOperation.js.map +0 -1
- package/dist/browser/operations/subscriptionPolicy.d.ts +0 -43
- package/dist/browser/operations/subscriptionPolicy.d.ts.map +0 -1
- package/dist/browser/operations/subscriptionPolicy.js +0 -160
- package/dist/browser/operations/subscriptionPolicy.js.map +0 -1
- package/dist/browser/operationsInterfaces/alias.d.ts +0 -45
- package/dist/browser/operationsInterfaces/alias.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/alias.js.map +0 -1
- package/dist/browser/operationsInterfaces/billingAccount.d.ts +0 -11
- package/dist/browser/operationsInterfaces/billingAccount.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/billingAccount.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -7
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -11
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/subscription.d.ts +0 -45
- package/dist/browser/operationsInterfaces/subscription.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/subscription.js.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptionOperation.d.ts +0 -12
- package/dist/browser/operationsInterfaces/subscriptionOperation.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptionOperation.js +0 -4
- package/dist/browser/operationsInterfaces/subscriptionOperation.js.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptionPolicy.d.ts +0 -22
- package/dist/browser/operationsInterfaces/subscriptionPolicy.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptionPolicy.js +0 -4
- package/dist/browser/operationsInterfaces/subscriptionPolicy.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -25
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/browser/subscriptionClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.d.ts +0 -11
- package/dist/commonjs/lroImpl.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.js +0 -23
- package/dist/commonjs/lroImpl.js.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -31
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -870
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -15
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -118
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/alias.d.ts +0 -53
- package/dist/commonjs/operations/alias.d.ts.map +0 -1
- package/dist/commonjs/operations/alias.js +0 -187
- package/dist/commonjs/operations/alias.js.map +0 -1
- package/dist/commonjs/operations/billingAccount.d.ts +0 -19
- package/dist/commonjs/operations/billingAccount.d.ts.map +0 -1
- package/dist/commonjs/operations/billingAccount.js +0 -48
- package/dist/commonjs/operations/billingAccount.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -7
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -14
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -32
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -116
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operations/subscription.d.ts +0 -53
- package/dist/commonjs/operations/subscription.d.ts.map +0 -1
- package/dist/commonjs/operations/subscription.js +0 -208
- package/dist/commonjs/operations/subscription.js.map +0 -1
- package/dist/commonjs/operations/subscriptionOperation.d.ts +0 -20
- package/dist/commonjs/operations/subscriptionOperation.d.ts.map +0 -1
- package/dist/commonjs/operations/subscriptionOperation.js +0 -52
- package/dist/commonjs/operations/subscriptionOperation.js.map +0 -1
- package/dist/commonjs/operations/subscriptionPolicy.d.ts +0 -43
- package/dist/commonjs/operations/subscriptionPolicy.d.ts.map +0 -1
- package/dist/commonjs/operations/subscriptionPolicy.js +0 -165
- package/dist/commonjs/operations/subscriptionPolicy.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/alias.d.ts +0 -45
- package/dist/commonjs/operationsInterfaces/alias.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/alias.js +0 -5
- package/dist/commonjs/operationsInterfaces/alias.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/billingAccount.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/billingAccount.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/billingAccount.js +0 -5
- package/dist/commonjs/operationsInterfaces/billingAccount.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -7
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -14
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -5
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscription.d.ts +0 -45
- package/dist/commonjs/operationsInterfaces/subscription.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscription.js +0 -5
- package/dist/commonjs/operationsInterfaces/subscription.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptionOperation.d.ts +0 -12
- package/dist/commonjs/operationsInterfaces/subscriptionOperation.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptionOperation.js +0 -5
- package/dist/commonjs/operationsInterfaces/subscriptionOperation.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptionPolicy.d.ts +0 -22
- package/dist/commonjs/operationsInterfaces/subscriptionPolicy.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptionPolicy.js +0 -5
- package/dist/commonjs/operationsInterfaces/subscriptionPolicy.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -29
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/commonjs/subscriptionClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/lroImpl.d.ts +0 -11
- package/dist/esm/lroImpl.d.ts.map +0 -1
- package/dist/esm/lroImpl.js +0 -20
- package/dist/esm/lroImpl.js.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -31
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -867
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -15
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -115
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/alias.d.ts +0 -53
- package/dist/esm/operations/alias.d.ts.map +0 -1
- package/dist/esm/operations/alias.js +0 -182
- package/dist/esm/operations/alias.js.map +0 -1
- package/dist/esm/operations/billingAccount.d.ts +0 -19
- package/dist/esm/operations/billingAccount.d.ts.map +0 -1
- package/dist/esm/operations/billingAccount.js +0 -43
- package/dist/esm/operations/billingAccount.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -7
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -11
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -32
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -111
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operations/subscription.d.ts +0 -53
- package/dist/esm/operations/subscription.d.ts.map +0 -1
- package/dist/esm/operations/subscription.js +0 -203
- package/dist/esm/operations/subscription.js.map +0 -1
- package/dist/esm/operations/subscriptionOperation.d.ts +0 -20
- package/dist/esm/operations/subscriptionOperation.d.ts.map +0 -1
- package/dist/esm/operations/subscriptionOperation.js +0 -47
- package/dist/esm/operations/subscriptionOperation.js.map +0 -1
- package/dist/esm/operations/subscriptionPolicy.d.ts +0 -43
- package/dist/esm/operations/subscriptionPolicy.d.ts.map +0 -1
- package/dist/esm/operations/subscriptionPolicy.js +0 -160
- package/dist/esm/operations/subscriptionPolicy.js.map +0 -1
- package/dist/esm/operationsInterfaces/alias.d.ts +0 -45
- package/dist/esm/operationsInterfaces/alias.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/alias.js.map +0 -1
- package/dist/esm/operationsInterfaces/billingAccount.d.ts +0 -11
- package/dist/esm/operationsInterfaces/billingAccount.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/billingAccount.js +0 -4
- package/dist/esm/operationsInterfaces/billingAccount.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -7
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -11
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/subscription.d.ts +0 -45
- package/dist/esm/operationsInterfaces/subscription.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/subscription.js +0 -4
- package/dist/esm/operationsInterfaces/subscription.js.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptionOperation.d.ts +0 -12
- package/dist/esm/operationsInterfaces/subscriptionOperation.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptionOperation.js +0 -4
- package/dist/esm/operationsInterfaces/subscriptionOperation.js.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptionPolicy.d.ts +0 -22
- package/dist/esm/operationsInterfaces/subscriptionPolicy.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptionPolicy.js +0 -4
- package/dist/esm/operationsInterfaces/subscriptionPolicy.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -25
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/esm/subscriptionClient.d.ts.map +0 -1
- package/dist/react-native/index.d.ts +0 -5
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -10
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/lroImpl.d.ts +0 -11
- package/dist/react-native/lroImpl.d.ts.map +0 -1
- package/dist/react-native/lroImpl.js +0 -20
- package/dist/react-native/lroImpl.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -569
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -53
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -31
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -867
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -15
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -115
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/alias.d.ts +0 -53
- package/dist/react-native/operations/alias.d.ts.map +0 -1
- package/dist/react-native/operations/alias.js +0 -182
- package/dist/react-native/operations/alias.js.map +0 -1
- package/dist/react-native/operations/billingAccount.d.ts +0 -19
- package/dist/react-native/operations/billingAccount.d.ts.map +0 -1
- package/dist/react-native/operations/billingAccount.js +0 -43
- package/dist/react-native/operations/billingAccount.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -7
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -11
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -32
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -111
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/subscription.d.ts +0 -53
- package/dist/react-native/operations/subscription.d.ts.map +0 -1
- package/dist/react-native/operations/subscription.js +0 -203
- package/dist/react-native/operations/subscription.js.map +0 -1
- package/dist/react-native/operations/subscriptionOperation.d.ts +0 -20
- package/dist/react-native/operations/subscriptionOperation.d.ts.map +0 -1
- package/dist/react-native/operations/subscriptionOperation.js +0 -47
- package/dist/react-native/operations/subscriptionOperation.js.map +0 -1
- package/dist/react-native/operations/subscriptionPolicy.d.ts +0 -43
- package/dist/react-native/operations/subscriptionPolicy.d.ts.map +0 -1
- package/dist/react-native/operations/subscriptionPolicy.js +0 -160
- package/dist/react-native/operations/subscriptionPolicy.js.map +0 -1
- package/dist/react-native/operationsInterfaces/alias.d.ts +0 -45
- package/dist/react-native/operationsInterfaces/alias.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/alias.js.map +0 -1
- package/dist/react-native/operationsInterfaces/billingAccount.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/billingAccount.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/billingAccount.js +0 -4
- package/dist/react-native/operationsInterfaces/billingAccount.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -7
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -11
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -4
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/subscription.d.ts +0 -45
- package/dist/react-native/operationsInterfaces/subscription.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/subscription.js +0 -4
- package/dist/react-native/operationsInterfaces/subscription.js.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptionOperation.d.ts +0 -12
- package/dist/react-native/operationsInterfaces/subscriptionOperation.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptionOperation.js +0 -4
- package/dist/react-native/operationsInterfaces/subscriptionOperation.js.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptionPolicy.d.ts +0 -22
- package/dist/react-native/operationsInterfaces/subscriptionPolicy.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptionPolicy.js +0 -4
- package/dist/react-native/operationsInterfaces/subscriptionPolicy.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -25
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/dist/react-native/subscriptionClient.d.ts +0 -23
- package/dist/react-native/subscriptionClient.d.ts.map +0 -1
- package/dist/react-native/subscriptionClient.js +0 -104
- package/dist/react-native/subscriptionClient.js.map +0 -1
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
import { setContinuationToken } from "../pagingHelper.js";
|
|
4
|
-
import * as coreClient from "@azure/core-client";
|
|
5
|
-
import * as Mappers from "../models/mappers.js";
|
|
6
|
-
import * as Parameters from "../models/parameters.js";
|
|
7
|
-
/// <reference lib="esnext.asynciterable" />
|
|
8
|
-
/** Class containing SubscriptionPolicy operations. */
|
|
9
|
-
export class SubscriptionPolicyImpl {
|
|
10
|
-
client;
|
|
11
|
-
/**
|
|
12
|
-
* Initialize a new instance of the class SubscriptionPolicy class.
|
|
13
|
-
* @param client Reference to the service client
|
|
14
|
-
*/
|
|
15
|
-
constructor(client) {
|
|
16
|
-
this.client = client;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Get the subscription tenant policy for the user's tenant.
|
|
20
|
-
* @param options The options parameters.
|
|
21
|
-
*/
|
|
22
|
-
listPolicyForTenant(options) {
|
|
23
|
-
const iter = this.listPolicyForTenantPagingAll(options);
|
|
24
|
-
return {
|
|
25
|
-
next() {
|
|
26
|
-
return iter.next();
|
|
27
|
-
},
|
|
28
|
-
[Symbol.asyncIterator]() {
|
|
29
|
-
return this;
|
|
30
|
-
},
|
|
31
|
-
byPage: (settings) => {
|
|
32
|
-
if (settings?.maxPageSize) {
|
|
33
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
34
|
-
}
|
|
35
|
-
return this.listPolicyForTenantPagingPage(options, settings);
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
async *listPolicyForTenantPagingPage(options, settings) {
|
|
40
|
-
let result;
|
|
41
|
-
let continuationToken = settings?.continuationToken;
|
|
42
|
-
if (!continuationToken) {
|
|
43
|
-
result = await this._listPolicyForTenant(options);
|
|
44
|
-
const page = result.value || [];
|
|
45
|
-
continuationToken = result.nextLink;
|
|
46
|
-
setContinuationToken(page, continuationToken);
|
|
47
|
-
yield page;
|
|
48
|
-
}
|
|
49
|
-
while (continuationToken) {
|
|
50
|
-
result = await this._listPolicyForTenantNext(continuationToken, options);
|
|
51
|
-
continuationToken = result.nextLink;
|
|
52
|
-
const page = result.value || [];
|
|
53
|
-
setContinuationToken(page, continuationToken);
|
|
54
|
-
yield page;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
async *listPolicyForTenantPagingAll(options) {
|
|
58
|
-
for await (const page of this.listPolicyForTenantPagingPage(options)) {
|
|
59
|
-
yield* page;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Create or Update Subscription tenant policy for user's tenant.
|
|
64
|
-
* @param body Put tenant policy request properties.
|
|
65
|
-
* @param options The options parameters.
|
|
66
|
-
*/
|
|
67
|
-
addUpdatePolicyForTenant(body, options) {
|
|
68
|
-
return this.client.sendOperationRequest({ body, options }, addUpdatePolicyForTenantOperationSpec);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Get the subscription tenant policy for the user's tenant.
|
|
72
|
-
* @param options The options parameters.
|
|
73
|
-
*/
|
|
74
|
-
getPolicyForTenant(options) {
|
|
75
|
-
return this.client.sendOperationRequest({ options }, getPolicyForTenantOperationSpec);
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Get the subscription tenant policy for the user's tenant.
|
|
79
|
-
* @param options The options parameters.
|
|
80
|
-
*/
|
|
81
|
-
_listPolicyForTenant(options) {
|
|
82
|
-
return this.client.sendOperationRequest({ options }, listPolicyForTenantOperationSpec);
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* ListPolicyForTenantNext
|
|
86
|
-
* @param nextLink The nextLink from the previous successful call to the ListPolicyForTenant method.
|
|
87
|
-
* @param options The options parameters.
|
|
88
|
-
*/
|
|
89
|
-
_listPolicyForTenantNext(nextLink, options) {
|
|
90
|
-
return this.client.sendOperationRequest({ nextLink, options }, listPolicyForTenantNextOperationSpec);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
// Operation Specifications
|
|
94
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
95
|
-
const addUpdatePolicyForTenantOperationSpec = {
|
|
96
|
-
path: "/providers/Microsoft.Subscription/policies/default",
|
|
97
|
-
httpMethod: "PUT",
|
|
98
|
-
responses: {
|
|
99
|
-
200: {
|
|
100
|
-
bodyMapper: Mappers.GetTenantPolicyResponse,
|
|
101
|
-
},
|
|
102
|
-
default: {
|
|
103
|
-
bodyMapper: Mappers.ErrorResponseBody,
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
requestBody: Parameters.body3,
|
|
107
|
-
queryParameters: [Parameters.apiVersion],
|
|
108
|
-
urlParameters: [Parameters.$host],
|
|
109
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
110
|
-
mediaType: "json",
|
|
111
|
-
serializer,
|
|
112
|
-
};
|
|
113
|
-
const getPolicyForTenantOperationSpec = {
|
|
114
|
-
path: "/providers/Microsoft.Subscription/policies/default",
|
|
115
|
-
httpMethod: "GET",
|
|
116
|
-
responses: {
|
|
117
|
-
200: {
|
|
118
|
-
bodyMapper: Mappers.GetTenantPolicyResponse,
|
|
119
|
-
},
|
|
120
|
-
default: {
|
|
121
|
-
bodyMapper: Mappers.ErrorResponseBody,
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
queryParameters: [Parameters.apiVersion],
|
|
125
|
-
urlParameters: [Parameters.$host],
|
|
126
|
-
headerParameters: [Parameters.accept],
|
|
127
|
-
serializer,
|
|
128
|
-
};
|
|
129
|
-
const listPolicyForTenantOperationSpec = {
|
|
130
|
-
path: "/providers/Microsoft.Subscription/policies",
|
|
131
|
-
httpMethod: "GET",
|
|
132
|
-
responses: {
|
|
133
|
-
200: {
|
|
134
|
-
bodyMapper: Mappers.GetTenantPolicyListResponse,
|
|
135
|
-
},
|
|
136
|
-
default: {
|
|
137
|
-
bodyMapper: Mappers.ErrorResponseBody,
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
queryParameters: [Parameters.apiVersion],
|
|
141
|
-
urlParameters: [Parameters.$host],
|
|
142
|
-
headerParameters: [Parameters.accept],
|
|
143
|
-
serializer,
|
|
144
|
-
};
|
|
145
|
-
const listPolicyForTenantNextOperationSpec = {
|
|
146
|
-
path: "{nextLink}",
|
|
147
|
-
httpMethod: "GET",
|
|
148
|
-
responses: {
|
|
149
|
-
200: {
|
|
150
|
-
bodyMapper: Mappers.GetTenantPolicyListResponse,
|
|
151
|
-
},
|
|
152
|
-
default: {
|
|
153
|
-
bodyMapper: Mappers.ErrorResponseBody,
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
157
|
-
headerParameters: [Parameters.accept],
|
|
158
|
-
serializer,
|
|
159
|
-
};
|
|
160
|
-
//# sourceMappingURL=subscriptionPolicy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionPolicy.js","sourceRoot":"","sources":["../../../src/operations/subscriptionPolicy.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,sDAAsD;AACtD,MAAM,OAAO,sBAAsB;IAChB,MAAM,CAAqB;IAE5C;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,mBAAmB,CACxB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC;QACxD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC/D,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,6BAA6B,CAC1C,OAA6D,EAC7D,QAAuB;QAEvB,IAAI,MAAqD,CAAC;QAC1D,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;YAClD,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;YAChC,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACpC,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;YAC9C,MAAM,IAAI,CAAC;QACb,CAAC;QACD,OAAO,iBAAiB,EAAE,CAAC;YACzB,MAAM,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;YACzE,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACpC,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;YAChC,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;YAC9C,MAAM,IAAI,CAAC;QACb,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,CAAC,4BAA4B,CACzC,OAA6D;QAE7D,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,6BAA6B,CAAC,OAAO,CAAC,EAAE,CAAC;YACrE,KAAK,CAAC,CAAC,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,wBAAwB,CACtB,IAAsC,EACtC,OAAkE;QAElE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,IAAI,EAAE,OAAO,EAAE,EACjB,qCAAqC,CACtC,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,kBAAkB,CAChB,OAA4D;QAE5D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,+BAA+B,CAAC,CAAC;IACxF,CAAC;IAED;;;OAGG;IACK,oBAAoB,CAC1B,OAA6D;QAE7D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,gCAAgC,CAAC,CAAC;IACzF,CAAC;IAED;;;;OAIG;IACK,wBAAwB,CAC9B,QAAgB,EAChB,OAAiE;QAEjE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,oCAAoC,CACrC,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,qCAAqC,GAA6B;IACtE,IAAI,EAAE,oDAAoD;IAC1D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,KAAK;IAC7B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,oDAAoD;IAC1D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,4CAA4C;IAClD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { SubscriptionPolicy } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { SubscriptionClient } from \"../subscriptionClient.js\";\nimport type {\n GetTenantPolicyResponse,\n SubscriptionPolicyListPolicyForTenantNextOptionalParams,\n SubscriptionPolicyListPolicyForTenantOptionalParams,\n SubscriptionPolicyListPolicyForTenantResponse,\n PutTenantPolicyRequestProperties,\n SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams,\n SubscriptionPolicyAddUpdatePolicyForTenantResponse,\n SubscriptionPolicyGetPolicyForTenantOptionalParams,\n SubscriptionPolicyGetPolicyForTenantResponse,\n SubscriptionPolicyListPolicyForTenantNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SubscriptionPolicy operations. */\nexport class SubscriptionPolicyImpl implements SubscriptionPolicy {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class SubscriptionPolicy class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Get the subscription tenant policy for the user's tenant.\n * @param options The options parameters.\n */\n public listPolicyForTenant(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams,\n ): PagedAsyncIterableIterator<GetTenantPolicyResponse> {\n const iter = this.listPolicyForTenantPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPolicyForTenantPagingPage(options, settings);\n },\n };\n }\n\n private async *listPolicyForTenantPagingPage(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<GetTenantPolicyResponse[]> {\n let result: SubscriptionPolicyListPolicyForTenantResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listPolicyForTenant(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listPolicyForTenantNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPolicyForTenantPagingAll(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams,\n ): AsyncIterableIterator<GetTenantPolicyResponse> {\n for await (const page of this.listPolicyForTenantPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Create or Update Subscription tenant policy for user's tenant.\n * @param body Put tenant policy request properties.\n * @param options The options parameters.\n */\n addUpdatePolicyForTenant(\n body: PutTenantPolicyRequestProperties,\n options?: SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams,\n ): Promise<SubscriptionPolicyAddUpdatePolicyForTenantResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n addUpdatePolicyForTenantOperationSpec,\n );\n }\n\n /**\n * Get the subscription tenant policy for the user's tenant.\n * @param options The options parameters.\n */\n getPolicyForTenant(\n options?: SubscriptionPolicyGetPolicyForTenantOptionalParams,\n ): Promise<SubscriptionPolicyGetPolicyForTenantResponse> {\n return this.client.sendOperationRequest({ options }, getPolicyForTenantOperationSpec);\n }\n\n /**\n * Get the subscription tenant policy for the user's tenant.\n * @param options The options parameters.\n */\n private _listPolicyForTenant(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams,\n ): Promise<SubscriptionPolicyListPolicyForTenantResponse> {\n return this.client.sendOperationRequest({ options }, listPolicyForTenantOperationSpec);\n }\n\n /**\n * ListPolicyForTenantNext\n * @param nextLink The nextLink from the previous successful call to the ListPolicyForTenant method.\n * @param options The options parameters.\n */\n private _listPolicyForTenantNext(\n nextLink: string,\n options?: SubscriptionPolicyListPolicyForTenantNextOptionalParams,\n ): Promise<SubscriptionPolicyListPolicyForTenantNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listPolicyForTenantNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst addUpdatePolicyForTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/policies/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetTenantPolicyResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n requestBody: Parameters.body3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getPolicyForTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/policies/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetTenantPolicyResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listPolicyForTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/policies\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetTenantPolicyListResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listPolicyForTenantNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetTenantPolicyListResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
2
|
-
import type { PutAliasRequest, AliasCreateOptionalParams, AliasCreateResponse, AliasGetOptionalParams, AliasGetResponse, AliasDeleteOptionalParams, AliasListOptionalParams, AliasListResponse } from "../models/index.js";
|
|
3
|
-
/** Interface representing a Alias. */
|
|
4
|
-
export interface Alias {
|
|
5
|
-
/**
|
|
6
|
-
* Create Alias Subscription.
|
|
7
|
-
* @param aliasName AliasName is the name for the subscription creation request. Note that this is not
|
|
8
|
-
* the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
|
|
9
|
-
* subscription creation.
|
|
10
|
-
* @param body The parameters required to create a new subscription.
|
|
11
|
-
* @param options The options parameters.
|
|
12
|
-
*/
|
|
13
|
-
beginCreate(aliasName: string, body: PutAliasRequest, options?: AliasCreateOptionalParams): Promise<SimplePollerLike<OperationState<AliasCreateResponse>, AliasCreateResponse>>;
|
|
14
|
-
/**
|
|
15
|
-
* Create Alias Subscription.
|
|
16
|
-
* @param aliasName AliasName is the name for the subscription creation request. Note that this is not
|
|
17
|
-
* the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
|
|
18
|
-
* subscription creation.
|
|
19
|
-
* @param body The parameters required to create a new subscription.
|
|
20
|
-
* @param options The options parameters.
|
|
21
|
-
*/
|
|
22
|
-
beginCreateAndWait(aliasName: string, body: PutAliasRequest, options?: AliasCreateOptionalParams): Promise<AliasCreateResponse>;
|
|
23
|
-
/**
|
|
24
|
-
* Get Alias Subscription.
|
|
25
|
-
* @param aliasName AliasName is the name for the subscription creation request. Note that this is not
|
|
26
|
-
* the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
|
|
27
|
-
* subscription creation.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
get(aliasName: string, options?: AliasGetOptionalParams): Promise<AliasGetResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* Delete Alias.
|
|
33
|
-
* @param aliasName AliasName is the name for the subscription creation request. Note that this is not
|
|
34
|
-
* the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
|
|
35
|
-
* subscription creation.
|
|
36
|
-
* @param options The options parameters.
|
|
37
|
-
*/
|
|
38
|
-
delete(aliasName: string, options?: AliasDeleteOptionalParams): Promise<void>;
|
|
39
|
-
/**
|
|
40
|
-
* List Alias Subscription.
|
|
41
|
-
* @param options The options parameters.
|
|
42
|
-
*/
|
|
43
|
-
list(options?: AliasListOptionalParams): Promise<AliasListResponse>;
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=alias.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alias.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/alias.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,eAAe,EACf,yBAAyB,EACzB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAE5B,sCAAsC;AACtC,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,WAAW,CACT,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC;IACvF;;;;;;;OAOG;IACH,kBAAkB,CAChB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACpF;;;;;;OAMG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9E;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alias.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/alias.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n PutAliasRequest,\n AliasCreateOptionalParams,\n AliasCreateResponse,\n AliasGetOptionalParams,\n AliasGetResponse,\n AliasDeleteOptionalParams,\n AliasListOptionalParams,\n AliasListResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Alias. */\nexport interface Alias {\n /**\n * Create Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param body The parameters required to create a new subscription.\n * @param options The options parameters.\n */\n beginCreate(\n aliasName: string,\n body: PutAliasRequest,\n options?: AliasCreateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<AliasCreateResponse>, AliasCreateResponse>>;\n /**\n * Create Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param body The parameters required to create a new subscription.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n aliasName: string,\n body: PutAliasRequest,\n options?: AliasCreateOptionalParams,\n ): Promise<AliasCreateResponse>;\n /**\n * Get Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param options The options parameters.\n */\n get(aliasName: string, options?: AliasGetOptionalParams): Promise<AliasGetResponse>;\n /**\n * Delete Alias.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param options The options parameters.\n */\n delete(aliasName: string, options?: AliasDeleteOptionalParams): Promise<void>;\n /**\n * List Alias Subscription.\n * @param options The options parameters.\n */\n list(options?: AliasListOptionalParams): Promise<AliasListResponse>;\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { BillingAccountGetPolicyOptionalParams, BillingAccountGetPolicyResponse } from "../models/index.js";
|
|
2
|
-
/** Interface representing a BillingAccount. */
|
|
3
|
-
export interface BillingAccount {
|
|
4
|
-
/**
|
|
5
|
-
* Get Billing Account Policy.
|
|
6
|
-
* @param billingAccountId Billing Account Id.
|
|
7
|
-
* @param options The options parameters.
|
|
8
|
-
*/
|
|
9
|
-
getPolicy(billingAccountId: string, options?: BillingAccountGetPolicyOptionalParams): Promise<BillingAccountGetPolicyResponse>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=billingAccount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"billingAccount.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/billingAccount.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAE5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,SAAS,CACP,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;CAC7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"billingAccount.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/billingAccount.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type {\n BillingAccountGetPolicyOptionalParams,\n BillingAccountGetPolicyResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a BillingAccount. */\nexport interface BillingAccount {\n /**\n * Get Billing Account Policy.\n * @param billingAccountId Billing Account Id.\n * @param options The options parameters.\n */\n getPolicy(\n billingAccountId: string,\n options?: BillingAccountGetPolicyOptionalParams,\n ): Promise<BillingAccountGetPolicyResponse>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAMA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
// Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4
|
-
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
-
export * from "./subscription.js";
|
|
6
|
-
export * from "./subscriptionOperation.js";
|
|
7
|
-
export * from "./operations.js";
|
|
8
|
-
export * from "./alias.js";
|
|
9
|
-
export * from "./subscriptionPolicy.js";
|
|
10
|
-
export * from "./billingAccount.js";
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport * from \"./subscription.js\";\nexport * from \"./subscriptionOperation.js\";\nexport * from \"./operations.js\";\nexport * from \"./alias.js\";\nexport * from \"./subscriptionPolicy.js\";\nexport * from \"./billingAccount.js\";\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
3
|
-
/** Interface representing a Operations. */
|
|
4
|
-
export interface Operations {
|
|
5
|
-
/**
|
|
6
|
-
* Lists all of the available Microsoft.Subscription API operations.
|
|
7
|
-
* @param options The options parameters.
|
|
8
|
-
*/
|
|
9
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGlF,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACrF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available Microsoft.Subscription API operations.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
2
|
-
import type { SubscriptionCancelOptionalParams, SubscriptionCancelResponse, SubscriptionName, SubscriptionRenameOptionalParams, SubscriptionRenameResponse, SubscriptionEnableOptionalParams, SubscriptionEnableResponse, AcceptOwnershipRequest, SubscriptionAcceptOwnershipOptionalParams, SubscriptionAcceptOwnershipResponse, SubscriptionAcceptOwnershipStatusOptionalParams, SubscriptionAcceptOwnershipStatusResponse } from "../models/index.js";
|
|
3
|
-
/** Interface representing a Subscription. */
|
|
4
|
-
export interface Subscription {
|
|
5
|
-
/**
|
|
6
|
-
* The operation to cancel a subscription
|
|
7
|
-
* @param subscriptionId Subscription Id.
|
|
8
|
-
* @param options The options parameters.
|
|
9
|
-
*/
|
|
10
|
-
cancel(subscriptionId: string, options?: SubscriptionCancelOptionalParams): Promise<SubscriptionCancelResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* The operation to rename a subscription
|
|
13
|
-
* @param subscriptionId Subscription Id.
|
|
14
|
-
* @param body Subscription Name
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
rename(subscriptionId: string, body: SubscriptionName, options?: SubscriptionRenameOptionalParams): Promise<SubscriptionRenameResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* The operation to enable a subscription
|
|
20
|
-
* @param subscriptionId Subscription Id.
|
|
21
|
-
* @param options The options parameters.
|
|
22
|
-
*/
|
|
23
|
-
enable(subscriptionId: string, options?: SubscriptionEnableOptionalParams): Promise<SubscriptionEnableResponse>;
|
|
24
|
-
/**
|
|
25
|
-
* Accept subscription ownership.
|
|
26
|
-
* @param subscriptionId Subscription Id.
|
|
27
|
-
* @param body The parameters required to accept subscription ownership.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
beginAcceptOwnership(subscriptionId: string, body: AcceptOwnershipRequest, options?: SubscriptionAcceptOwnershipOptionalParams): Promise<SimplePollerLike<OperationState<SubscriptionAcceptOwnershipResponse>, SubscriptionAcceptOwnershipResponse>>;
|
|
31
|
-
/**
|
|
32
|
-
* Accept subscription ownership.
|
|
33
|
-
* @param subscriptionId Subscription Id.
|
|
34
|
-
* @param body The parameters required to accept subscription ownership.
|
|
35
|
-
* @param options The options parameters.
|
|
36
|
-
*/
|
|
37
|
-
beginAcceptOwnershipAndWait(subscriptionId: string, body: AcceptOwnershipRequest, options?: SubscriptionAcceptOwnershipOptionalParams): Promise<SubscriptionAcceptOwnershipResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* Accept subscription ownership status.
|
|
40
|
-
* @param subscriptionId Subscription Id.
|
|
41
|
-
* @param options The options parameters.
|
|
42
|
-
*/
|
|
43
|
-
acceptOwnershipStatus(subscriptionId: string, options?: SubscriptionAcceptOwnershipStatusOptionalParams): Promise<SubscriptionAcceptOwnershipStatusResponse>;
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscription.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,gCAAgC,EAChC,0BAA0B,EAC1B,gBAAgB,EAChB,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC1B,sBAAsB,EACtB,yCAAyC,EACzC,mCAAmC,EACnC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;OAKG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;OAKG;IACH,oBAAoB,CAClB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,mCAAmC,CAAC,EACnD,mCAAmC,CACpC,CACF,CAAC;IACF;;;;;OAKG;IACH,2BAA2B,CACzB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;OAIG;IACH,qBAAqB,CACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACvD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscription.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n SubscriptionCancelOptionalParams,\n SubscriptionCancelResponse,\n SubscriptionName,\n SubscriptionRenameOptionalParams,\n SubscriptionRenameResponse,\n SubscriptionEnableOptionalParams,\n SubscriptionEnableResponse,\n AcceptOwnershipRequest,\n SubscriptionAcceptOwnershipOptionalParams,\n SubscriptionAcceptOwnershipResponse,\n SubscriptionAcceptOwnershipStatusOptionalParams,\n SubscriptionAcceptOwnershipStatusResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Subscription. */\nexport interface Subscription {\n /**\n * The operation to cancel a subscription\n * @param subscriptionId Subscription Id.\n * @param options The options parameters.\n */\n cancel(\n subscriptionId: string,\n options?: SubscriptionCancelOptionalParams,\n ): Promise<SubscriptionCancelResponse>;\n /**\n * The operation to rename a subscription\n * @param subscriptionId Subscription Id.\n * @param body Subscription Name\n * @param options The options parameters.\n */\n rename(\n subscriptionId: string,\n body: SubscriptionName,\n options?: SubscriptionRenameOptionalParams,\n ): Promise<SubscriptionRenameResponse>;\n /**\n * The operation to enable a subscription\n * @param subscriptionId Subscription Id.\n * @param options The options parameters.\n */\n enable(\n subscriptionId: string,\n options?: SubscriptionEnableOptionalParams,\n ): Promise<SubscriptionEnableResponse>;\n /**\n * Accept subscription ownership.\n * @param subscriptionId Subscription Id.\n * @param body The parameters required to accept subscription ownership.\n * @param options The options parameters.\n */\n beginAcceptOwnership(\n subscriptionId: string,\n body: AcceptOwnershipRequest,\n options?: SubscriptionAcceptOwnershipOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SubscriptionAcceptOwnershipResponse>,\n SubscriptionAcceptOwnershipResponse\n >\n >;\n /**\n * Accept subscription ownership.\n * @param subscriptionId Subscription Id.\n * @param body The parameters required to accept subscription ownership.\n * @param options The options parameters.\n */\n beginAcceptOwnershipAndWait(\n subscriptionId: string,\n body: AcceptOwnershipRequest,\n options?: SubscriptionAcceptOwnershipOptionalParams,\n ): Promise<SubscriptionAcceptOwnershipResponse>;\n /**\n * Accept subscription ownership status.\n * @param subscriptionId Subscription Id.\n * @param options The options parameters.\n */\n acceptOwnershipStatus(\n subscriptionId: string,\n options?: SubscriptionAcceptOwnershipStatusOptionalParams,\n ): Promise<SubscriptionAcceptOwnershipStatusResponse>;\n}\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { SubscriptionOperationGetOptionalParams, SubscriptionOperationGetResponse } from "../models/index.js";
|
|
2
|
-
/** Interface representing a SubscriptionOperation. */
|
|
3
|
-
export interface SubscriptionOperation {
|
|
4
|
-
/**
|
|
5
|
-
* Get the status of the pending Microsoft.Subscription API operations.
|
|
6
|
-
* @param operationId The operation ID, which can be found from the Location field in the generate
|
|
7
|
-
* recommendation response header.
|
|
8
|
-
* @param options The options parameters.
|
|
9
|
-
*/
|
|
10
|
-
get(operationId: string, options?: SubscriptionOperationGetOptionalParams): Promise<SubscriptionOperationGetResponse>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=subscriptionOperation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionOperation.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscriptionOperation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,oBAAoB,CAAC;AAE5B,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,GAAG,CACD,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAC9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionOperation.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscriptionOperation.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type {\n SubscriptionOperationGetOptionalParams,\n SubscriptionOperationGetResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a SubscriptionOperation. */\nexport interface SubscriptionOperation {\n /**\n * Get the status of the pending Microsoft.Subscription API operations.\n * @param operationId The operation ID, which can be found from the Location field in the generate\n * recommendation response header.\n * @param options The options parameters.\n */\n get(\n operationId: string,\n options?: SubscriptionOperationGetOptionalParams,\n ): Promise<SubscriptionOperationGetResponse>;\n}\n"]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { GetTenantPolicyResponse, SubscriptionPolicyListPolicyForTenantOptionalParams, PutTenantPolicyRequestProperties, SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams, SubscriptionPolicyAddUpdatePolicyForTenantResponse, SubscriptionPolicyGetPolicyForTenantOptionalParams, SubscriptionPolicyGetPolicyForTenantResponse } from "../models/index.js";
|
|
3
|
-
/** Interface representing a SubscriptionPolicy. */
|
|
4
|
-
export interface SubscriptionPolicy {
|
|
5
|
-
/**
|
|
6
|
-
* Get the subscription tenant policy for the user's tenant.
|
|
7
|
-
* @param options The options parameters.
|
|
8
|
-
*/
|
|
9
|
-
listPolicyForTenant(options?: SubscriptionPolicyListPolicyForTenantOptionalParams): PagedAsyncIterableIterator<GetTenantPolicyResponse>;
|
|
10
|
-
/**
|
|
11
|
-
* Create or Update Subscription tenant policy for user's tenant.
|
|
12
|
-
* @param body Put tenant policy request properties.
|
|
13
|
-
* @param options The options parameters.
|
|
14
|
-
*/
|
|
15
|
-
addUpdatePolicyForTenant(body: PutTenantPolicyRequestProperties, options?: SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams): Promise<SubscriptionPolicyAddUpdatePolicyForTenantResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Get the subscription tenant policy for the user's tenant.
|
|
18
|
-
* @param options The options parameters.
|
|
19
|
-
*/
|
|
20
|
-
getPolicyForTenant(options?: SubscriptionPolicyGetPolicyForTenantOptionalParams): Promise<SubscriptionPolicyGetPolicyForTenantResponse>;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=subscriptionPolicy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionPolicy.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscriptionPolicy.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,uBAAuB,EACvB,mDAAmD,EACnD,gCAAgC,EAChC,wDAAwD,EACxD,kDAAkD,EAClD,kDAAkD,EAClD,4CAA4C,EAC7C,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,mBAAmB,CACjB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvD;;;;OAIG;IACH,wBAAwB,CACtB,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,wDAAwD,GACjE,OAAO,CAAC,kDAAkD,CAAC,CAAC;IAC/D;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;CAC1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionPolicy.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscriptionPolicy.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type {\n GetTenantPolicyResponse,\n SubscriptionPolicyListPolicyForTenantOptionalParams,\n PutTenantPolicyRequestProperties,\n SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams,\n SubscriptionPolicyAddUpdatePolicyForTenantResponse,\n SubscriptionPolicyGetPolicyForTenantOptionalParams,\n SubscriptionPolicyGetPolicyForTenantResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SubscriptionPolicy. */\nexport interface SubscriptionPolicy {\n /**\n * Get the subscription tenant policy for the user's tenant.\n * @param options The options parameters.\n */\n listPolicyForTenant(\n options?: SubscriptionPolicyListPolicyForTenantOptionalParams,\n ): PagedAsyncIterableIterator<GetTenantPolicyResponse>;\n /**\n * Create or Update Subscription tenant policy for user's tenant.\n * @param body Put tenant policy request properties.\n * @param options The options parameters.\n */\n addUpdatePolicyForTenant(\n body: PutTenantPolicyRequestProperties,\n options?: SubscriptionPolicyAddUpdatePolicyForTenantOptionalParams,\n ): Promise<SubscriptionPolicyAddUpdatePolicyForTenantResponse>;\n /**\n * Get the subscription tenant policy for the user's tenant.\n * @param options The options parameters.\n */\n getPolicyForTenant(\n options?: SubscriptionPolicyGetPolicyForTenantOptionalParams,\n ): Promise<SubscriptionPolicyGetPolicyForTenantResponse>;\n}\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface PageInfo {
|
|
2
|
-
continuationToken?: string;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
-
* returns a continuation token that can be used to begin paging from
|
|
7
|
-
* that point later.
|
|
8
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
9
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
10
|
-
*/
|
|
11
|
-
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
-
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
-
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAO/F"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
const pageMap = new WeakMap();
|
|
4
|
-
/**
|
|
5
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
-
* returns a continuation token that can be used to begin paging from
|
|
7
|
-
* that point later.
|
|
8
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
9
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
10
|
-
*/
|
|
11
|
-
export function getContinuationToken(page) {
|
|
12
|
-
if (typeof page !== "object" || page === null) {
|
|
13
|
-
return undefined;
|
|
14
|
-
}
|
|
15
|
-
return pageMap.get(page)?.continuationToken;
|
|
16
|
-
}
|
|
17
|
-
export function setContinuationToken(page, continuationToken) {
|
|
18
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
const pageInfo = pageMap.get(page) ?? {};
|
|
22
|
-
pageInfo.continuationToken = continuationToken;
|
|
23
|
-
pageMap.set(page, pageInfo);
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAa,EAAE,iBAAqC;IACvF,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(page: unknown, continuationToken: string | undefined): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as coreClient from "@azure/core-client";
|
|
2
|
-
import type * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import type { Subscription, SubscriptionOperation, Operations, Alias, SubscriptionPolicy, BillingAccount } from "./operationsInterfaces/index.js";
|
|
4
|
-
import type { SubscriptionClientOptionalParams } from "./models/index.js";
|
|
5
|
-
export declare class SubscriptionClient extends coreClient.ServiceClient {
|
|
6
|
-
$host: string;
|
|
7
|
-
apiVersion: string;
|
|
8
|
-
/**
|
|
9
|
-
* Initializes a new instance of the SubscriptionClient class.
|
|
10
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
11
|
-
* @param options The parameter options
|
|
12
|
-
*/
|
|
13
|
-
constructor(credentials: coreAuth.TokenCredential, options?: SubscriptionClientOptionalParams);
|
|
14
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
15
|
-
private addCustomApiVersionPolicy;
|
|
16
|
-
subscription: Subscription;
|
|
17
|
-
subscriptionOperation: SubscriptionOperation;
|
|
18
|
-
operations: Operations;
|
|
19
|
-
alias: Alias;
|
|
20
|
-
subscriptionPolicy: SubscriptionPolicy;
|
|
21
|
-
billingAccount: BillingAccount;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=subscriptionClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionClient.d.ts","sourceRoot":"","sources":["../../src/subscriptionClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AASlD,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACrB,UAAU,EACV,KAAK,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAC;AAE1E,qBAAa,kBAAmB,SAAQ,UAAU,CAAC,aAAa;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBACS,WAAW,EAAE,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC,EAAE,gCAAgC;IAwE7F,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,YAAY,EAAE,YAAY,CAAC;IAC3B,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,cAAc,EAAE,cAAc,CAAC;CAChC"}
|