@azure/arm-resources-subscriptions 2.1.2-alpha.20260310.1 → 3.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/LICENSE +1 -1
- package/README.md +12 -17
- package/dist/browser/api/index.d.ts +5 -0
- package/dist/browser/api/index.js +5 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- 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 +31 -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/operations.d.ts +9 -0
- package/dist/browser/api/operations.js +35 -0
- package/dist/browser/api/operations.js.map +1 -0
- package/dist/browser/api/options.d.ts +8 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/api/subscriptionContext.d.ts +18 -0
- package/dist/browser/api/subscriptionContext.js +25 -0
- package/dist/browser/api/subscriptionContext.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 +22 -0
- package/dist/browser/api/subscriptions/operations.js +111 -0
- package/dist/browser/api/subscriptions/operations.js.map +1 -0
- package/dist/browser/api/subscriptions/options.d.ts +16 -0
- package/dist/browser/api/subscriptions/options.js +4 -0
- package/dist/browser/api/subscriptions/options.js.map +1 -0
- package/dist/browser/api/tenants/index.d.ts +3 -0
- package/dist/browser/api/tenants/index.js +4 -0
- package/dist/browser/api/tenants/index.js.map +1 -0
- package/dist/browser/api/tenants/operations.d.ts +10 -0
- package/dist/browser/api/tenants/operations.js +31 -0
- package/dist/browser/api/tenants/operations.js.map +1 -0
- package/dist/browser/api/tenants/options.d.ts +5 -0
- package/dist/browser/api/tenants/options.js +4 -0
- package/dist/browser/api/tenants/options.js.map +1 -0
- package/dist/browser/classic/index.d.ts +4 -0
- package/dist/browser/classic/index.js +4 -0
- 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/subscriptions/index.d.ts +17 -0
- package/dist/browser/classic/subscriptions/index.js +17 -0
- package/dist/browser/classic/subscriptions/index.js.map +1 -0
- package/dist/browser/classic/tenants/index.d.ts +11 -0
- package/dist/browser/classic/tenants/index.js +14 -0
- package/dist/browser/classic/tenants/index.js.map +1 -0
- package/dist/browser/index.d.ts +13 -3
- package/dist/browser/index.js +6 -11
- 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 -642
- package/dist/browser/models/index.js +3 -49
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +378 -0
- package/dist/browser/models/models.js +306 -0
- package/dist/browser/models/models.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/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 +22 -24
- package/dist/browser/subscriptionClient.js +31 -127
- package/dist/browser/subscriptionClient.js.map +1 -1
- package/dist/commonjs/api/index.d.ts +5 -0
- package/dist/commonjs/{operationsInterfaces → api}/index.js +15 -9
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/{operations → api/operations}/index.js +10 -7
- 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 +68 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/{operationsInterfaces/operations.js → api/operations/options.js} +3 -2
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/operations.d.ts +9 -0
- package/dist/commonjs/api/operations.js +64 -0
- package/dist/commonjs/api/operations.js.map +7 -0
- package/dist/commonjs/api/options.d.ts +8 -0
- package/dist/commonjs/{operationsInterfaces/subscriptions.js → api/options.js} +3 -2
- package/dist/commonjs/api/options.js.map +7 -0
- package/dist/commonjs/api/subscriptionContext.d.ts +18 -0
- package/dist/commonjs/api/subscriptionContext.js +47 -0
- package/dist/commonjs/api/subscriptionContext.js.map +7 -0
- package/dist/commonjs/api/subscriptions/index.d.ts +3 -0
- package/dist/commonjs/api/subscriptions/index.js +34 -0
- package/dist/commonjs/api/subscriptions/index.js.map +7 -0
- package/dist/commonjs/api/subscriptions/operations.d.ts +22 -0
- package/dist/commonjs/api/subscriptions/operations.js +181 -0
- package/dist/commonjs/api/subscriptions/operations.js.map +7 -0
- package/dist/commonjs/api/subscriptions/options.d.ts +16 -0
- package/dist/commonjs/api/subscriptions/options.js +16 -0
- package/dist/commonjs/api/subscriptions/options.js.map +7 -0
- package/dist/commonjs/api/tenants/index.d.ts +3 -0
- package/dist/commonjs/api/tenants/index.js +28 -0
- package/dist/commonjs/api/tenants/index.js.map +7 -0
- package/dist/commonjs/api/tenants/operations.d.ts +10 -0
- package/dist/commonjs/api/tenants/operations.js +68 -0
- package/dist/commonjs/api/tenants/operations.js.map +7 -0
- package/dist/commonjs/api/tenants/options.d.ts +5 -0
- package/dist/commonjs/api/tenants/options.js +16 -0
- package/dist/commonjs/api/tenants/options.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +4 -0
- package/dist/commonjs/{operationsInterfaces/tenants.js → classic/index.js} +3 -2
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/{pagingHelper.js → classic/operations/index.js} +15 -20
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/subscriptions/index.d.ts +17 -0
- package/dist/commonjs/classic/subscriptions/index.js +41 -0
- package/dist/commonjs/classic/subscriptions/index.js.map +7 -0
- package/dist/commonjs/classic/tenants/index.d.ts +11 -0
- package/dist/commonjs/classic/tenants/index.js +38 -0
- package/dist/commonjs/classic/tenants/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +13 -3
- package/dist/commonjs/index.js +22 -8
- package/dist/commonjs/index.js.map +3 -3
- 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 -642
- package/dist/commonjs/models/index.js +10 -32
- package/dist/commonjs/models/index.js.map +4 -4
- package/dist/commonjs/models/models.d.ts +378 -0
- package/dist/commonjs/models/models.js +374 -0
- package/dist/commonjs/models/models.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/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 +22 -24
- package/dist/commonjs/subscriptionClient.js +28 -130
- package/dist/commonjs/subscriptionClient.js.map +4 -4
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/index.d.ts +5 -0
- package/dist/esm/api/index.js +5 -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 +31 -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/operations.d.ts +9 -0
- package/dist/esm/api/operations.js +35 -0
- package/dist/esm/api/operations.js.map +1 -0
- package/dist/esm/api/options.d.ts +8 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/api/subscriptionContext.d.ts +18 -0
- package/dist/esm/api/subscriptionContext.js +25 -0
- package/dist/esm/api/subscriptionContext.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 +22 -0
- package/dist/esm/api/subscriptions/operations.js +111 -0
- package/dist/esm/api/subscriptions/operations.js.map +1 -0
- package/dist/esm/api/subscriptions/options.d.ts +16 -0
- package/dist/esm/api/subscriptions/options.js +4 -0
- package/dist/esm/api/subscriptions/options.js.map +1 -0
- package/dist/esm/api/tenants/index.d.ts +3 -0
- package/dist/esm/api/tenants/index.js +4 -0
- package/dist/esm/api/tenants/index.js.map +1 -0
- package/dist/esm/api/tenants/operations.d.ts +10 -0
- package/dist/esm/api/tenants/operations.js +31 -0
- package/dist/esm/api/tenants/operations.js.map +1 -0
- package/dist/esm/api/tenants/options.d.ts +5 -0
- package/dist/esm/api/tenants/options.js +4 -0
- package/dist/esm/api/tenants/options.js.map +1 -0
- package/dist/esm/classic/index.d.ts +4 -0
- package/dist/esm/classic/index.js +4 -0
- 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/subscriptions/index.d.ts +17 -0
- package/dist/esm/classic/subscriptions/index.js +17 -0
- package/dist/esm/classic/subscriptions/index.js.map +1 -0
- package/dist/esm/classic/tenants/index.d.ts +11 -0
- package/dist/esm/classic/tenants/index.js +14 -0
- package/dist/esm/classic/tenants/index.js.map +1 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -7
- 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 -642
- package/dist/esm/models/index.js +4 -33
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +378 -0
- package/dist/esm/models/models.js +306 -0
- package/dist/esm/models/models.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/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 +22 -24
- package/dist/esm/subscriptionClient.js +34 -125
- package/dist/esm/subscriptionClient.js.map +1 -7
- package/package.json +156 -77
- package/CHANGELOG.md +0 -75
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -30
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -1009
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -11
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -91
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -4
- 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 -116
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/subscriptions.d.ts +0 -61
- package/dist/browser/operations/subscriptions.d.ts.map +0 -1
- package/dist/browser/operations/subscriptions.js +0 -225
- package/dist/browser/operations/subscriptions.js.map +0 -1
- package/dist/browser/operations/tenants.d.ts +0 -32
- package/dist/browser/operations/tenants.d.ts.map +0 -1
- package/dist/browser/operations/tenants.js +0 -116
- package/dist/browser/operations/tenants.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -4
- 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 +0 -9
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptions.d.ts +0 -31
- package/dist/browser/operationsInterfaces/subscriptions.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptions.js +0 -9
- package/dist/browser/operationsInterfaces/subscriptions.js.map +0 -1
- package/dist/browser/operationsInterfaces/tenants.d.ts +0 -11
- package/dist/browser/operationsInterfaces/tenants.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/tenants.js +0 -9
- package/dist/browser/operationsInterfaces/tenants.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 -30
- 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/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -30
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -1081
- package/dist/commonjs/models/mappers.js.map +0 -7
- package/dist/commonjs/models/parameters.d.ts +0 -11
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -125
- package/dist/commonjs/models/parameters.js.map +0 -7
- package/dist/commonjs/operations/index.d.ts +0 -4
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js.map +0 -7
- 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 -148
- package/dist/commonjs/operations/operations.js.map +0 -7
- package/dist/commonjs/operations/subscriptions.d.ts +0 -61
- package/dist/commonjs/operations/subscriptions.d.ts.map +0 -1
- package/dist/commonjs/operations/subscriptions.js +0 -269
- package/dist/commonjs/operations/subscriptions.js.map +0 -7
- package/dist/commonjs/operations/tenants.d.ts +0 -32
- package/dist/commonjs/operations/tenants.d.ts.map +0 -1
- package/dist/commonjs/operations/tenants.js +0 -148
- package/dist/commonjs/operations/tenants.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -4
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -7
- 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.map +0 -7
- package/dist/commonjs/operationsInterfaces/subscriptions.d.ts +0 -31
- package/dist/commonjs/operationsInterfaces/subscriptions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptions.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/tenants.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/tenants.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/tenants.js.map +0 -7
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js.map +0 -7
- package/dist/commonjs/subscriptionClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -30
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -1031
- package/dist/esm/models/mappers.js.map +0 -7
- package/dist/esm/models/parameters.d.ts +0 -11
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -97
- package/dist/esm/models/parameters.js.map +0 -7
- package/dist/esm/operations/index.d.ts +0 -4
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -3
- package/dist/esm/operations/index.js.map +0 -7
- 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 -115
- package/dist/esm/operations/operations.js.map +0 -7
- package/dist/esm/operations/subscriptions.d.ts +0 -61
- package/dist/esm/operations/subscriptions.d.ts.map +0 -1
- package/dist/esm/operations/subscriptions.js +0 -236
- package/dist/esm/operations/subscriptions.js.map +0 -7
- package/dist/esm/operations/tenants.d.ts +0 -32
- package/dist/esm/operations/tenants.d.ts.map +0 -1
- package/dist/esm/operations/tenants.js +0 -115
- package/dist/esm/operations/tenants.js.map +0 -7
- package/dist/esm/operationsInterfaces/index.d.ts +0 -4
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -3
- package/dist/esm/operationsInterfaces/index.js.map +0 -7
- 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 +0 -0
- package/dist/esm/operationsInterfaces/operations.js.map +0 -7
- package/dist/esm/operationsInterfaces/subscriptions.d.ts +0 -31
- package/dist/esm/operationsInterfaces/subscriptions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptions.js +0 -0
- package/dist/esm/operationsInterfaces/subscriptions.js.map +0 -7
- package/dist/esm/operationsInterfaces/tenants.d.ts +0 -11
- package/dist/esm/operationsInterfaces/tenants.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/tenants.js +0 -0
- package/dist/esm/operationsInterfaces/tenants.js.map +0 -7
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -19
- package/dist/esm/pagingHelper.js.map +0 -7
- 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 -13
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -643
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -50
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -30
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -1009
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -11
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -91
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -4
- 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 -116
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/subscriptions.d.ts +0 -61
- package/dist/react-native/operations/subscriptions.d.ts.map +0 -1
- package/dist/react-native/operations/subscriptions.js +0 -225
- package/dist/react-native/operations/subscriptions.js.map +0 -1
- package/dist/react-native/operations/tenants.d.ts +0 -32
- package/dist/react-native/operations/tenants.d.ts.map +0 -1
- package/dist/react-native/operations/tenants.js +0 -116
- package/dist/react-native/operations/tenants.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -4
- 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 -9
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptions.d.ts +0 -31
- package/dist/react-native/operationsInterfaces/subscriptions.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptions.js +0 -9
- package/dist/react-native/operationsInterfaces/subscriptions.js.map +0 -1
- package/dist/react-native/operationsInterfaces/tenants.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/tenants.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/tenants.js +0 -9
- package/dist/react-native/operationsInterfaces/tenants.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 -30
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/dist/react-native/subscriptionClient.d.ts +0 -26
- package/dist/react-native/subscriptionClient.d.ts.map +0 -1
- package/dist/react-native/subscriptionClient.js +0 -133
- package/dist/react-native/subscriptionClient.js.map +0 -1
- package/review/arm-resources-subscriptions-node.api.md +0 -401
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as coreClient from "@azure/core-client";
|
|
2
|
-
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Operations, Subscriptions, Tenants } from "./operationsInterfaces/index.js";
|
|
4
|
-
import { SubscriptionClientOptionalParams, CheckResourceNameOptionalParams, CheckResourceNameResponse } 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
|
-
/**
|
|
17
|
-
* A resource name is valid if it is not a reserved word, does not contains a reserved word and does
|
|
18
|
-
* not start with a reserved word
|
|
19
|
-
* @param options The options parameters.
|
|
20
|
-
*/
|
|
21
|
-
checkResourceName(options?: CheckResourceNameOptionalParams): Promise<CheckResourceNameResponse>;
|
|
22
|
-
operations: Operations;
|
|
23
|
-
subscriptions: Subscriptions;
|
|
24
|
-
tenants: Tenants;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=subscriptionClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionClient.d.ts","sourceRoot":"","sources":["../../src/subscriptionClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAGrF,OAAO,EACL,gCAAgC,EAChC,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,kBAAmB,SAAQ,UAAU,CAAC,aAAa;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,OAAO,CAAC,EAAE,gCAAgC;IAyE5C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;OAIG;IACH,iBAAiB,CACf,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import * as coreClient from "@azure/core-client";
|
|
9
|
-
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import { OperationsImpl, SubscriptionsImpl, TenantsImpl } from "./operations/index.js";
|
|
11
|
-
import * as Parameters from "./models/parameters.js";
|
|
12
|
-
import * as Mappers from "./models/mappers.js";
|
|
13
|
-
export class SubscriptionClient extends coreClient.ServiceClient {
|
|
14
|
-
$host;
|
|
15
|
-
apiVersion;
|
|
16
|
-
/**
|
|
17
|
-
* Initializes a new instance of the SubscriptionClient class.
|
|
18
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
19
|
-
* @param options The parameter options
|
|
20
|
-
*/
|
|
21
|
-
constructor(credentials, options) {
|
|
22
|
-
if (credentials === undefined) {
|
|
23
|
-
throw new Error("'credentials' cannot be null");
|
|
24
|
-
}
|
|
25
|
-
// Initializing default values for options
|
|
26
|
-
if (!options) {
|
|
27
|
-
options = {};
|
|
28
|
-
}
|
|
29
|
-
const defaults = {
|
|
30
|
-
requestContentType: "application/json; charset=utf-8",
|
|
31
|
-
credential: credentials
|
|
32
|
-
};
|
|
33
|
-
const packageDetails = `azsdk-js-arm-resources-subscriptions/2.1.2`;
|
|
34
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
35
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
36
|
-
: `${packageDetails}`;
|
|
37
|
-
const optionsWithDefaults = {
|
|
38
|
-
...defaults,
|
|
39
|
-
...options,
|
|
40
|
-
userAgentOptions: {
|
|
41
|
-
userAgentPrefix
|
|
42
|
-
},
|
|
43
|
-
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
44
|
-
};
|
|
45
|
-
super(optionsWithDefaults);
|
|
46
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
47
|
-
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
48
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
49
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
50
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
51
|
-
}
|
|
52
|
-
if (!options ||
|
|
53
|
-
!options.pipeline ||
|
|
54
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
55
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
56
|
-
this.pipeline.removePolicy({
|
|
57
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
58
|
-
});
|
|
59
|
-
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
60
|
-
credential: credentials,
|
|
61
|
-
scopes: optionsWithDefaults.credentialScopes ??
|
|
62
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
|
63
|
-
challengeCallbacks: {
|
|
64
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
65
|
-
}
|
|
66
|
-
}));
|
|
67
|
-
}
|
|
68
|
-
// Assigning values to Constant parameters
|
|
69
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
70
|
-
this.apiVersion = options.apiVersion || "2022-12-01";
|
|
71
|
-
this.operations = new OperationsImpl(this);
|
|
72
|
-
this.subscriptions = new SubscriptionsImpl(this);
|
|
73
|
-
this.tenants = new TenantsImpl(this);
|
|
74
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
75
|
-
}
|
|
76
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
77
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
78
|
-
if (!apiVersion) {
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
const apiVersionPolicy = {
|
|
82
|
-
name: "CustomApiVersionPolicy",
|
|
83
|
-
async sendRequest(request, next) {
|
|
84
|
-
const param = request.url.split("?");
|
|
85
|
-
if (param.length > 1) {
|
|
86
|
-
const newParams = param[1].split("&").map((item) => {
|
|
87
|
-
if (item.indexOf("api-version") > -1) {
|
|
88
|
-
return "api-version=" + apiVersion;
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
return item;
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
95
|
-
}
|
|
96
|
-
return next(request);
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* A resource name is valid if it is not a reserved word, does not contains a reserved word and does
|
|
103
|
-
* not start with a reserved word
|
|
104
|
-
* @param options The options parameters.
|
|
105
|
-
*/
|
|
106
|
-
checkResourceName(options) {
|
|
107
|
-
return this.sendOperationRequest({ options }, checkResourceNameOperationSpec);
|
|
108
|
-
}
|
|
109
|
-
operations;
|
|
110
|
-
subscriptions;
|
|
111
|
-
tenants;
|
|
112
|
-
}
|
|
113
|
-
// Operation Specifications
|
|
114
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
115
|
-
const checkResourceNameOperationSpec = {
|
|
116
|
-
path: "/providers/Microsoft.Resources/checkResourceName",
|
|
117
|
-
httpMethod: "POST",
|
|
118
|
-
responses: {
|
|
119
|
-
200: {
|
|
120
|
-
bodyMapper: Mappers.CheckResourceNameResult
|
|
121
|
-
},
|
|
122
|
-
default: {
|
|
123
|
-
bodyMapper: Mappers.CloudError
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
requestBody: Parameters.resourceNameDefinition,
|
|
127
|
-
queryParameters: [Parameters.apiVersion],
|
|
128
|
-
urlParameters: [Parameters.$host],
|
|
129
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
130
|
-
mediaType: "json",
|
|
131
|
-
serializer
|
|
132
|
-
};
|
|
133
|
-
//# sourceMappingURL=subscriptionClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionClient.js","sourceRoot":"","sources":["../../src/subscriptionClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,cAAc,EAAE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IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,sBAAsB;IAC9C,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","sourcesContent":["/*\n * 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 */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { OperationsImpl, SubscriptionsImpl, TenantsImpl } from \"./operations/index.js\";\nimport { Operations, Subscriptions, Tenants } from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SubscriptionClientOptionalParams,\n CheckResourceNameOptionalParams,\n CheckResourceNameResponse\n} from \"./models/index.js\";\n\nexport class SubscriptionClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SubscriptionClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SubscriptionClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SubscriptionClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-resources-subscriptions/2.1.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2022-12-01\";\n this.operations = new OperationsImpl(this);\n this.subscriptions = new SubscriptionsImpl(this);\n this.tenants = new TenantsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * A resource name is valid if it is not a reserved word, does not contains a reserved word and does\n * not start with a reserved word\n * @param options The options parameters.\n */\n checkResourceName(\n options?: CheckResourceNameOptionalParams\n ): Promise<CheckResourceNameResponse> {\n return this.sendOperationRequest(\n { options },\n checkResourceNameOperationSpec\n );\n }\n\n operations: Operations;\n subscriptions: Subscriptions;\n tenants: Tenants;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkResourceNameOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Resources/checkResourceName\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckResourceNameResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.resourceNameDefinition,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -1,401 +0,0 @@
|
|
|
1
|
-
## API Report File for "@azure/arm-resources-subscriptions"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import * as coreAuth from '@azure/core-auth';
|
|
8
|
-
import * as coreClient from '@azure/core-client';
|
|
9
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
|
|
11
|
-
// @public
|
|
12
|
-
export type ActionType = string;
|
|
13
|
-
|
|
14
|
-
// @public
|
|
15
|
-
export interface AvailabilityZoneMappings {
|
|
16
|
-
readonly logicalZone?: string;
|
|
17
|
-
readonly physicalZone?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// @public
|
|
21
|
-
export interface AvailabilityZonePeers {
|
|
22
|
-
readonly availabilityZone?: string;
|
|
23
|
-
peers?: Peers[];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// @public
|
|
27
|
-
export interface CheckResourceNameOptionalParams extends coreClient.OperationOptions {
|
|
28
|
-
resourceNameDefinition?: ResourceName;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// @public
|
|
32
|
-
export type CheckResourceNameResponse = CheckResourceNameResult;
|
|
33
|
-
|
|
34
|
-
// @public
|
|
35
|
-
export interface CheckResourceNameResult {
|
|
36
|
-
name?: string;
|
|
37
|
-
status?: ResourceNameStatus;
|
|
38
|
-
type?: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// @public
|
|
42
|
-
export interface CheckZonePeersRequest {
|
|
43
|
-
location?: string;
|
|
44
|
-
subscriptionIds?: string[];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// @public
|
|
48
|
-
export interface CheckZonePeersResult {
|
|
49
|
-
availabilityZonePeers?: AvailabilityZonePeers[];
|
|
50
|
-
location?: string;
|
|
51
|
-
readonly subscriptionId?: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// @public
|
|
55
|
-
export interface CloudError {
|
|
56
|
-
error?: ErrorResponse;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// @public
|
|
60
|
-
export interface ErrorAdditionalInfo {
|
|
61
|
-
readonly info?: Record<string, unknown>;
|
|
62
|
-
readonly type?: string;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// @public
|
|
66
|
-
export interface ErrorDetail {
|
|
67
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
68
|
-
readonly code?: string;
|
|
69
|
-
readonly details?: ErrorDetail[];
|
|
70
|
-
readonly message?: string;
|
|
71
|
-
readonly target?: string;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// @public
|
|
75
|
-
export interface ErrorResponse {
|
|
76
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
77
|
-
readonly code?: string;
|
|
78
|
-
readonly details?: ErrorResponse[];
|
|
79
|
-
readonly message?: string;
|
|
80
|
-
readonly target?: string;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// @public
|
|
84
|
-
export interface ErrorResponseAutoGenerated {
|
|
85
|
-
error?: ErrorDetail;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// @public
|
|
89
|
-
export function getContinuationToken(page: unknown): string | undefined;
|
|
90
|
-
|
|
91
|
-
// @public
|
|
92
|
-
export enum KnownActionType {
|
|
93
|
-
Internal = "Internal"
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// @public
|
|
97
|
-
export enum KnownOrigin {
|
|
98
|
-
System = "system",
|
|
99
|
-
User = "user",
|
|
100
|
-
UserSystem = "user,system"
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// @public
|
|
104
|
-
export enum KnownRegionCategory {
|
|
105
|
-
Extended = "Extended",
|
|
106
|
-
Other = "Other",
|
|
107
|
-
Recommended = "Recommended"
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// @public
|
|
111
|
-
export enum KnownRegionType {
|
|
112
|
-
Logical = "Logical",
|
|
113
|
-
Physical = "Physical"
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// @public
|
|
117
|
-
export enum KnownResourceNameStatus {
|
|
118
|
-
Allowed = "Allowed",
|
|
119
|
-
Reserved = "Reserved"
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// @public
|
|
123
|
-
export interface Location {
|
|
124
|
-
availabilityZoneMappings?: AvailabilityZoneMappings[];
|
|
125
|
-
readonly displayName?: string;
|
|
126
|
-
readonly id?: string;
|
|
127
|
-
metadata?: LocationMetadata;
|
|
128
|
-
readonly name?: string;
|
|
129
|
-
readonly regionalDisplayName?: string;
|
|
130
|
-
readonly subscriptionId?: string;
|
|
131
|
-
readonly type?: LocationType;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// @public
|
|
135
|
-
export interface LocationListResult {
|
|
136
|
-
value?: Location[];
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// @public
|
|
140
|
-
export interface LocationMetadata {
|
|
141
|
-
readonly geography?: string;
|
|
142
|
-
readonly geographyGroup?: string;
|
|
143
|
-
readonly homeLocation?: string;
|
|
144
|
-
readonly latitude?: string;
|
|
145
|
-
readonly longitude?: string;
|
|
146
|
-
pairedRegion?: PairedRegion[];
|
|
147
|
-
readonly physicalLocation?: string;
|
|
148
|
-
readonly regionCategory?: RegionCategory;
|
|
149
|
-
readonly regionType?: RegionType;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
// @public
|
|
153
|
-
export type LocationType = "Region" | "EdgeZone";
|
|
154
|
-
|
|
155
|
-
// @public
|
|
156
|
-
export interface ManagedByTenant {
|
|
157
|
-
readonly tenantId?: string;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// @public
|
|
161
|
-
export interface Operation {
|
|
162
|
-
readonly actionType?: ActionType;
|
|
163
|
-
display?: OperationDisplay;
|
|
164
|
-
readonly isDataAction?: boolean;
|
|
165
|
-
readonly name?: string;
|
|
166
|
-
readonly origin?: Origin;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
// @public
|
|
170
|
-
export interface OperationAutoGenerated {
|
|
171
|
-
readonly actionType?: ActionType;
|
|
172
|
-
display?: OperationDisplayAutoGenerated;
|
|
173
|
-
readonly isDataAction?: boolean;
|
|
174
|
-
name?: string;
|
|
175
|
-
readonly origin?: Origin;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// @public
|
|
179
|
-
export interface OperationDisplay {
|
|
180
|
-
readonly description?: string;
|
|
181
|
-
readonly operation?: string;
|
|
182
|
-
readonly provider?: string;
|
|
183
|
-
readonly resource?: string;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
// @public
|
|
187
|
-
export interface OperationDisplayAutoGenerated {
|
|
188
|
-
description?: string;
|
|
189
|
-
operation?: string;
|
|
190
|
-
provider?: string;
|
|
191
|
-
resource?: string;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
// @public
|
|
195
|
-
export interface OperationListResult {
|
|
196
|
-
readonly nextLink?: string;
|
|
197
|
-
readonly value?: Operation[];
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
// @public
|
|
201
|
-
export interface OperationListResultAutoGenerated {
|
|
202
|
-
nextLink?: string;
|
|
203
|
-
value?: OperationAutoGenerated[];
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
// @public
|
|
207
|
-
export interface Operations {
|
|
208
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// @public
|
|
212
|
-
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
// @public
|
|
216
|
-
export type OperationsListNextResponse = OperationListResult;
|
|
217
|
-
|
|
218
|
-
// @public
|
|
219
|
-
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
// @public
|
|
223
|
-
export type OperationsListResponse = OperationListResult;
|
|
224
|
-
|
|
225
|
-
// @public
|
|
226
|
-
export type Origin = string;
|
|
227
|
-
|
|
228
|
-
// @public
|
|
229
|
-
export interface PairedRegion {
|
|
230
|
-
readonly id?: string;
|
|
231
|
-
readonly name?: string;
|
|
232
|
-
readonly subscriptionId?: string;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// @public
|
|
236
|
-
export interface Peers {
|
|
237
|
-
readonly availabilityZone?: string;
|
|
238
|
-
readonly subscriptionId?: string;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// @public
|
|
242
|
-
export type RegionCategory = string;
|
|
243
|
-
|
|
244
|
-
// @public
|
|
245
|
-
export type RegionType = string;
|
|
246
|
-
|
|
247
|
-
// @public
|
|
248
|
-
export interface ResourceName {
|
|
249
|
-
name: string;
|
|
250
|
-
type: string;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
// @public
|
|
254
|
-
export type ResourceNameStatus = string;
|
|
255
|
-
|
|
256
|
-
// @public
|
|
257
|
-
export type SpendingLimit = "On" | "Off" | "CurrentPeriodOff";
|
|
258
|
-
|
|
259
|
-
// @public
|
|
260
|
-
export interface Subscription {
|
|
261
|
-
authorizationSource?: string;
|
|
262
|
-
readonly displayName?: string;
|
|
263
|
-
readonly id?: string;
|
|
264
|
-
managedByTenants?: ManagedByTenant[];
|
|
265
|
-
readonly state?: SubscriptionState;
|
|
266
|
-
readonly subscriptionId?: string;
|
|
267
|
-
subscriptionPolicies?: SubscriptionPolicies;
|
|
268
|
-
tags?: {
|
|
269
|
-
[propertyName: string]: string;
|
|
270
|
-
};
|
|
271
|
-
readonly tenantId?: string;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// @public (undocumented)
|
|
275
|
-
export class SubscriptionClient extends coreClient.ServiceClient {
|
|
276
|
-
// (undocumented)
|
|
277
|
-
$host: string;
|
|
278
|
-
constructor(credentials: coreAuth.TokenCredential, options?: SubscriptionClientOptionalParams);
|
|
279
|
-
// (undocumented)
|
|
280
|
-
apiVersion: string;
|
|
281
|
-
checkResourceName(options?: CheckResourceNameOptionalParams): Promise<CheckResourceNameResponse>;
|
|
282
|
-
// (undocumented)
|
|
283
|
-
operations: Operations;
|
|
284
|
-
// (undocumented)
|
|
285
|
-
subscriptions: Subscriptions;
|
|
286
|
-
// (undocumented)
|
|
287
|
-
tenants: Tenants;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
// @public
|
|
291
|
-
export interface SubscriptionClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
292
|
-
$host?: string;
|
|
293
|
-
apiVersion?: string;
|
|
294
|
-
endpoint?: string;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
// @public
|
|
298
|
-
export interface SubscriptionListResult {
|
|
299
|
-
nextLink: string;
|
|
300
|
-
value?: Subscription[];
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
// @public
|
|
304
|
-
export interface SubscriptionPolicies {
|
|
305
|
-
readonly locationPlacementId?: string;
|
|
306
|
-
readonly quotaId?: string;
|
|
307
|
-
readonly spendingLimit?: SpendingLimit;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
// @public
|
|
311
|
-
export interface Subscriptions {
|
|
312
|
-
checkZonePeers(subscriptionId: string, parameters: CheckZonePeersRequest, options?: SubscriptionsCheckZonePeersOptionalParams): Promise<SubscriptionsCheckZonePeersResponse>;
|
|
313
|
-
get(subscriptionId: string, options?: SubscriptionsGetOptionalParams): Promise<SubscriptionsGetResponse>;
|
|
314
|
-
list(options?: SubscriptionsListOptionalParams): PagedAsyncIterableIterator<Subscription>;
|
|
315
|
-
listLocations(subscriptionId: string, options?: SubscriptionsListLocationsOptionalParams): PagedAsyncIterableIterator<Location>;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
// @public
|
|
319
|
-
export interface SubscriptionsCheckZonePeersOptionalParams extends coreClient.OperationOptions {
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
// @public
|
|
323
|
-
export type SubscriptionsCheckZonePeersResponse = CheckZonePeersResult;
|
|
324
|
-
|
|
325
|
-
// @public
|
|
326
|
-
export interface SubscriptionsGetOptionalParams extends coreClient.OperationOptions {
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
// @public
|
|
330
|
-
export type SubscriptionsGetResponse = Subscription;
|
|
331
|
-
|
|
332
|
-
// @public
|
|
333
|
-
export interface SubscriptionsListLocationsOptionalParams extends coreClient.OperationOptions {
|
|
334
|
-
includeExtendedLocations?: boolean;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
// @public
|
|
338
|
-
export type SubscriptionsListLocationsResponse = LocationListResult;
|
|
339
|
-
|
|
340
|
-
// @public
|
|
341
|
-
export interface SubscriptionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
// @public
|
|
345
|
-
export type SubscriptionsListNextResponse = SubscriptionListResult;
|
|
346
|
-
|
|
347
|
-
// @public
|
|
348
|
-
export interface SubscriptionsListOptionalParams extends coreClient.OperationOptions {
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
// @public
|
|
352
|
-
export type SubscriptionsListResponse = SubscriptionListResult;
|
|
353
|
-
|
|
354
|
-
// @public
|
|
355
|
-
export type SubscriptionState = "Enabled" | "Warned" | "PastDue" | "Disabled" | "Deleted";
|
|
356
|
-
|
|
357
|
-
// @public
|
|
358
|
-
export type TenantCategory = "Home" | "ProjectedBy" | "ManagedBy";
|
|
359
|
-
|
|
360
|
-
// @public
|
|
361
|
-
export interface TenantIdDescription {
|
|
362
|
-
readonly country?: string;
|
|
363
|
-
readonly countryCode?: string;
|
|
364
|
-
readonly defaultDomain?: string;
|
|
365
|
-
readonly displayName?: string;
|
|
366
|
-
readonly domains?: string[];
|
|
367
|
-
readonly id?: string;
|
|
368
|
-
readonly tenantBrandingLogoUrl?: string;
|
|
369
|
-
readonly tenantCategory?: TenantCategory;
|
|
370
|
-
readonly tenantId?: string;
|
|
371
|
-
readonly tenantType?: string;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
// @public
|
|
375
|
-
export interface TenantListResult {
|
|
376
|
-
nextLink: string;
|
|
377
|
-
value?: TenantIdDescription[];
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
// @public
|
|
381
|
-
export interface Tenants {
|
|
382
|
-
list(options?: TenantsListOptionalParams): PagedAsyncIterableIterator<TenantIdDescription>;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
// @public
|
|
386
|
-
export interface TenantsListNextOptionalParams extends coreClient.OperationOptions {
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
// @public
|
|
390
|
-
export type TenantsListNextResponse = TenantListResult;
|
|
391
|
-
|
|
392
|
-
// @public
|
|
393
|
-
export interface TenantsListOptionalParams extends coreClient.OperationOptions {
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
// @public
|
|
397
|
-
export type TenantsListResponse = TenantListResult;
|
|
398
|
-
|
|
399
|
-
// (No @packageDocumentation comment for this package)
|
|
400
|
-
|
|
401
|
-
```
|