@azure/arm-subscriptions 5.1.2-alpha.20251027.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +6 -11
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +4 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +7 -12
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +18 -31
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +20 -189
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +2 -7
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +3 -8
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +309 -568
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +3 -3
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +49 -55
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/alias.d.ts +5 -5
- package/dist/browser/operations/alias.d.ts.map +1 -1
- package/dist/browser/operations/alias.js +39 -40
- package/dist/browser/operations/alias.js.map +1 -1
- package/dist/browser/operations/billingAccount.d.ts +3 -3
- package/dist/browser/operations/billingAccount.d.ts.map +1 -1
- package/dist/browser/operations/billingAccount.js +7 -12
- package/dist/browser/operations/billingAccount.js.map +1 -1
- package/dist/browser/operations/index.d.ts +2 -3
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +6 -10
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +4 -4
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +14 -20
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/{esm/operations/subscriptionOperations.d.ts → browser/operations/subscription.d.ts} +9 -9
- package/dist/browser/operations/subscription.d.ts.map +1 -0
- package/dist/{esm/operations/subscriptionOperations.js → browser/operations/subscription.js} +49 -50
- package/dist/browser/operations/subscription.js.map +1 -0
- package/dist/browser/operations/subscriptionOperation.d.ts +20 -0
- package/dist/browser/operations/subscriptionOperation.d.ts.map +1 -0
- package/dist/browser/operations/subscriptionOperation.js +47 -0
- package/dist/browser/operations/subscriptionOperation.js.map +1 -0
- package/dist/browser/operations/subscriptionPolicy.d.ts +4 -4
- package/dist/browser/operations/subscriptionPolicy.d.ts.map +1 -1
- package/dist/browser/operations/subscriptionPolicy.js +24 -30
- package/dist/browser/operations/subscriptionPolicy.js.map +1 -1
- package/dist/browser/operationsInterfaces/alias.d.ts +3 -3
- package/dist/browser/operationsInterfaces/alias.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/alias.js +2 -7
- package/dist/browser/operationsInterfaces/alias.js.map +1 -1
- package/dist/browser/operationsInterfaces/billingAccount.d.ts +1 -1
- package/dist/browser/operationsInterfaces/billingAccount.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/billingAccount.js +2 -7
- package/dist/browser/operationsInterfaces/billingAccount.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +2 -3
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +6 -10
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js +2 -7
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/{commonjs/operationsInterfaces/subscriptionOperations.d.ts → browser/operationsInterfaces/subscription.d.ts} +6 -6
- package/dist/browser/operationsInterfaces/subscription.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/subscription.js +4 -0
- package/dist/browser/operationsInterfaces/subscription.js.map +1 -0
- package/dist/browser/operationsInterfaces/subscriptionOperation.d.ts +12 -0
- package/dist/browser/operationsInterfaces/subscriptionOperation.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/subscriptionOperation.js +4 -0
- package/dist/browser/operationsInterfaces/subscriptionOperation.js.map +1 -0
- package/dist/browser/operationsInterfaces/subscriptionPolicy.d.ts +2 -2
- package/dist/browser/operationsInterfaces/subscriptionPolicy.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/subscriptionPolicy.js +2 -7
- package/dist/browser/operationsInterfaces/subscriptionPolicy.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts +4 -4
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +6 -11
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/subscriptionClient.d.ts +8 -6
- package/dist/browser/subscriptionClient.d.ts.map +1 -1
- package/dist/browser/subscriptionClient.js +46 -25
- package/dist/browser/subscriptionClient.js.map +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +4 -7
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +7 -12
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +19 -33
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +20 -189
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -7
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +3 -8
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +310 -569
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +3 -3
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +49 -55
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/alias.d.ts +5 -5
- package/dist/commonjs/operations/alias.d.ts.map +1 -1
- package/dist/commonjs/operations/alias.js +37 -38
- package/dist/commonjs/operations/alias.js.map +1 -1
- package/dist/commonjs/operations/billingAccount.d.ts +3 -3
- package/dist/commonjs/operations/billingAccount.d.ts.map +1 -1
- package/dist/commonjs/operations/billingAccount.js +7 -12
- package/dist/commonjs/operations/billingAccount.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +2 -3
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +6 -10
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +4 -4
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +14 -20
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/{browser/operations/subscriptionOperations.d.ts → commonjs/operations/subscription.d.ts} +9 -9
- package/dist/commonjs/operations/subscription.d.ts.map +1 -0
- package/dist/commonjs/operations/{subscriptionOperations.js → subscription.js} +49 -50
- package/dist/commonjs/operations/subscription.js.map +1 -0
- package/dist/commonjs/operations/subscriptionOperation.d.ts +20 -0
- package/dist/commonjs/operations/subscriptionOperation.d.ts.map +1 -0
- package/dist/commonjs/operations/subscriptionOperation.js +52 -0
- package/dist/commonjs/operations/subscriptionOperation.js.map +1 -0
- package/dist/commonjs/operations/subscriptionPolicy.d.ts +4 -4
- package/dist/commonjs/operations/subscriptionPolicy.d.ts.map +1 -1
- package/dist/commonjs/operations/subscriptionPolicy.js +24 -30
- package/dist/commonjs/operations/subscriptionPolicy.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/alias.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/alias.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/alias.js +2 -7
- package/dist/commonjs/operationsInterfaces/alias.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/billingAccount.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/billingAccount.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/billingAccount.js +2 -7
- package/dist/commonjs/operationsInterfaces/billingAccount.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -3
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +6 -10
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +2 -7
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/{esm/operationsInterfaces/subscriptionOperations.d.ts → commonjs/operationsInterfaces/subscription.d.ts} +6 -6
- package/dist/commonjs/operationsInterfaces/subscription.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/subscription.js +5 -0
- package/dist/commonjs/operationsInterfaces/subscription.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/subscriptionOperation.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/subscriptionOperation.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/subscriptionOperation.js +5 -0
- package/dist/commonjs/operationsInterfaces/subscriptionOperation.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/subscriptionPolicy.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/subscriptionPolicy.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/subscriptionPolicy.js +2 -7
- package/dist/commonjs/operationsInterfaces/subscriptionPolicy.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts +4 -4
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +6 -11
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/subscriptionClient.d.ts +8 -6
- package/dist/commonjs/subscriptionClient.d.ts.map +1 -1
- package/dist/commonjs/subscriptionClient.js +45 -24
- package/dist/commonjs/subscriptionClient.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +7 -12
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +18 -31
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +20 -189
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -7
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +3 -8
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +309 -568
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +3 -3
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +49 -55
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/alias.d.ts +5 -5
- package/dist/esm/operations/alias.d.ts.map +1 -1
- package/dist/esm/operations/alias.js +39 -40
- package/dist/esm/operations/alias.js.map +1 -1
- package/dist/esm/operations/billingAccount.d.ts +3 -3
- package/dist/esm/operations/billingAccount.d.ts.map +1 -1
- package/dist/esm/operations/billingAccount.js +7 -12
- package/dist/esm/operations/billingAccount.js.map +1 -1
- package/dist/esm/operations/index.d.ts +2 -3
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +6 -10
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +4 -4
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +14 -20
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/{commonjs/operations/subscriptionOperations.d.ts → esm/operations/subscription.d.ts} +9 -9
- package/dist/esm/operations/subscription.d.ts.map +1 -0
- package/dist/{react-native/operations/subscriptionOperations.js → esm/operations/subscription.js} +49 -50
- package/dist/esm/operations/subscription.js.map +1 -0
- package/dist/esm/operations/subscriptionOperation.d.ts +20 -0
- package/dist/esm/operations/subscriptionOperation.d.ts.map +1 -0
- package/dist/esm/operations/subscriptionOperation.js +47 -0
- package/dist/esm/operations/subscriptionOperation.js.map +1 -0
- package/dist/esm/operations/subscriptionPolicy.d.ts +4 -4
- package/dist/esm/operations/subscriptionPolicy.d.ts.map +1 -1
- package/dist/esm/operations/subscriptionPolicy.js +24 -30
- package/dist/esm/operations/subscriptionPolicy.js.map +1 -1
- package/dist/esm/operationsInterfaces/alias.d.ts +3 -3
- package/dist/esm/operationsInterfaces/alias.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/alias.js +2 -7
- package/dist/esm/operationsInterfaces/alias.js.map +1 -1
- package/dist/esm/operationsInterfaces/billingAccount.d.ts +1 -1
- package/dist/esm/operationsInterfaces/billingAccount.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/billingAccount.js +2 -7
- package/dist/esm/operationsInterfaces/billingAccount.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +2 -3
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +6 -10
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js +2 -7
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/{react-native/operationsInterfaces/subscriptionOperations.d.ts → esm/operationsInterfaces/subscription.d.ts} +6 -6
- package/dist/esm/operationsInterfaces/subscription.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/subscription.js +4 -0
- package/dist/esm/operationsInterfaces/subscription.js.map +1 -0
- package/dist/esm/operationsInterfaces/subscriptionOperation.d.ts +12 -0
- package/dist/esm/operationsInterfaces/subscriptionOperation.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/subscriptionOperation.js +4 -0
- package/dist/esm/operationsInterfaces/subscriptionOperation.js.map +1 -0
- package/dist/esm/operationsInterfaces/subscriptionPolicy.d.ts +2 -2
- package/dist/esm/operationsInterfaces/subscriptionPolicy.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/subscriptionPolicy.js +2 -7
- package/dist/esm/operationsInterfaces/subscriptionPolicy.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts +4 -4
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +6 -11
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/subscriptionClient.d.ts +8 -6
- package/dist/esm/subscriptionClient.d.ts.map +1 -1
- package/dist/esm/subscriptionClient.js +46 -25
- package/dist/esm/subscriptionClient.js.map +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +4 -7
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +7 -12
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +18 -31
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +20 -189
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +2 -7
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +3 -8
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +309 -568
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +3 -3
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +49 -55
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/alias.d.ts +5 -5
- package/dist/react-native/operations/alias.d.ts.map +1 -1
- package/dist/react-native/operations/alias.js +39 -40
- package/dist/react-native/operations/alias.js.map +1 -1
- package/dist/react-native/operations/billingAccount.d.ts +3 -3
- package/dist/react-native/operations/billingAccount.d.ts.map +1 -1
- package/dist/react-native/operations/billingAccount.js +7 -12
- package/dist/react-native/operations/billingAccount.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +2 -3
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +6 -10
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +4 -4
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +14 -20
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/{subscriptionOperations.d.ts → subscription.d.ts} +9 -9
- package/dist/react-native/operations/subscription.d.ts.map +1 -0
- package/dist/{browser/operations/subscriptionOperations.js → react-native/operations/subscription.js} +49 -50
- package/dist/react-native/operations/subscription.js.map +1 -0
- package/dist/react-native/operations/subscriptionOperation.d.ts +20 -0
- package/dist/react-native/operations/subscriptionOperation.d.ts.map +1 -0
- package/dist/react-native/operations/subscriptionOperation.js +47 -0
- package/dist/react-native/operations/subscriptionOperation.js.map +1 -0
- package/dist/react-native/operations/subscriptionPolicy.d.ts +4 -4
- package/dist/react-native/operations/subscriptionPolicy.d.ts.map +1 -1
- package/dist/react-native/operations/subscriptionPolicy.js +24 -30
- package/dist/react-native/operations/subscriptionPolicy.js.map +1 -1
- package/dist/react-native/operationsInterfaces/alias.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/alias.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/alias.js +2 -7
- package/dist/react-native/operationsInterfaces/alias.js.map +1 -1
- package/dist/react-native/operationsInterfaces/billingAccount.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/billingAccount.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/billingAccount.js +2 -7
- package/dist/react-native/operationsInterfaces/billingAccount.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -3
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +6 -10
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js +2 -7
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/{browser/operationsInterfaces/subscriptionOperations.d.ts → react-native/operationsInterfaces/subscription.d.ts} +6 -6
- package/dist/react-native/operationsInterfaces/subscription.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/subscription.js +4 -0
- package/dist/react-native/operationsInterfaces/subscription.js.map +1 -0
- package/dist/react-native/operationsInterfaces/subscriptionOperation.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/subscriptionOperation.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/subscriptionOperation.js +4 -0
- package/dist/react-native/operationsInterfaces/subscriptionOperation.js.map +1 -0
- package/dist/react-native/operationsInterfaces/subscriptionPolicy.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/subscriptionPolicy.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/subscriptionPolicy.js +2 -7
- package/dist/react-native/operationsInterfaces/subscriptionPolicy.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts +4 -4
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +6 -11
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/subscriptionClient.d.ts +8 -6
- package/dist/react-native/subscriptionClient.d.ts.map +1 -1
- package/dist/react-native/subscriptionClient.js +46 -25
- package/dist/react-native/subscriptionClient.js.map +1 -1
- package/package.json +44 -44
- package/CHANGELOG.md +0 -97
- package/dist/browser/operations/subscriptionOperations.d.ts.map +0 -1
- package/dist/browser/operations/subscriptionOperations.js.map +0 -1
- package/dist/browser/operations/subscriptions.d.ts +0 -54
- package/dist/browser/operations/subscriptions.d.ts.map +0 -1
- package/dist/browser/operations/subscriptions.js +0 -187
- 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 -111
- package/dist/browser/operations/tenants.js.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptionOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptionOperations.js +0 -9
- package/dist/browser/operationsInterfaces/subscriptionOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/subscriptions.d.ts +0 -24
- 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/commonjs/operations/subscriptionOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/subscriptionOperations.js.map +0 -1
- package/dist/commonjs/operations/subscriptions.d.ts +0 -54
- package/dist/commonjs/operations/subscriptions.d.ts.map +0 -1
- package/dist/commonjs/operations/subscriptions.js +0 -192
- package/dist/commonjs/operations/subscriptions.js.map +0 -1
- 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 -116
- package/dist/commonjs/operations/tenants.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptionOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptionOperations.js +0 -10
- package/dist/commonjs/operationsInterfaces/subscriptionOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptions.d.ts +0 -24
- package/dist/commonjs/operationsInterfaces/subscriptions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/subscriptions.js +0 -10
- package/dist/commonjs/operationsInterfaces/subscriptions.js.map +0 -1
- 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 +0 -10
- package/dist/commonjs/operationsInterfaces/tenants.js.map +0 -1
- package/dist/esm/operations/subscriptionOperations.d.ts.map +0 -1
- package/dist/esm/operations/subscriptionOperations.js.map +0 -1
- package/dist/esm/operations/subscriptions.d.ts +0 -54
- package/dist/esm/operations/subscriptions.d.ts.map +0 -1
- package/dist/esm/operations/subscriptions.js +0 -187
- package/dist/esm/operations/subscriptions.js.map +0 -1
- 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 -111
- package/dist/esm/operations/tenants.js.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptionOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptionOperations.js +0 -9
- package/dist/esm/operationsInterfaces/subscriptionOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptions.d.ts +0 -24
- package/dist/esm/operationsInterfaces/subscriptions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/subscriptions.js +0 -9
- package/dist/esm/operationsInterfaces/subscriptions.js.map +0 -1
- 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 -9
- package/dist/esm/operationsInterfaces/tenants.js.map +0 -1
- package/dist/react-native/operations/subscriptionOperations.d.ts.map +0 -1
- package/dist/react-native/operations/subscriptionOperations.js.map +0 -1
- package/dist/react-native/operations/subscriptions.d.ts +0 -54
- package/dist/react-native/operations/subscriptions.d.ts.map +0 -1
- package/dist/react-native/operations/subscriptions.js +0 -187
- 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 -111
- package/dist/react-native/operations/tenants.js.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptionOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptionOperations.js +0 -9
- package/dist/react-native/operationsInterfaces/subscriptionOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/subscriptions.d.ts +0 -24
- 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/review/arm-subscriptions-node.api.md +0 -571
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
8
3
|
const pageMap = new WeakMap();
|
|
9
4
|
/**
|
|
10
|
-
* Given
|
|
11
|
-
* continuation token that can be used to begin paging from
|
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
|
12
7
|
* that point later.
|
|
13
|
-
* @param page
|
|
14
|
-
* @returns The continuation token that can be passed into byPage().
|
|
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.
|
|
15
10
|
*/
|
|
16
11
|
export function getContinuationToken(page) {
|
|
17
12
|
if (typeof page !== "object" || page === null) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA
|
|
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,18 +1,20 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import {
|
|
4
|
-
import { SubscriptionClientOptionalParams } from "./models/index.js";
|
|
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
5
|
export declare class SubscriptionClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
|
+
apiVersion: string;
|
|
7
8
|
/**
|
|
8
9
|
* Initializes a new instance of the SubscriptionClient class.
|
|
9
10
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
10
11
|
* @param options The parameter options
|
|
11
12
|
*/
|
|
12
13
|
constructor(credentials: coreAuth.TokenCredential, options?: SubscriptionClientOptionalParams);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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;
|
|
16
18
|
operations: Operations;
|
|
17
19
|
alias: Alias;
|
|
18
20
|
subscriptionPolicy: SubscriptionPolicy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionClient.d.ts","sourceRoot":"","sources":["../../src/subscriptionClient.ts"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
*/
|
|
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.
|
|
8
5
|
import * as coreClient from "@azure/core-client";
|
|
9
6
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import {
|
|
7
|
+
import { SubscriptionImpl, SubscriptionOperationImpl, OperationsImpl, AliasImpl, SubscriptionPolicyImpl, BillingAccountImpl, } from "./operations/index.js";
|
|
11
8
|
export class SubscriptionClient extends coreClient.ServiceClient {
|
|
12
9
|
$host;
|
|
10
|
+
apiVersion;
|
|
13
11
|
/**
|
|
14
12
|
* Initializes a new instance of the SubscriptionClient class.
|
|
15
13
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -25,9 +23,9 @@ export class SubscriptionClient extends coreClient.ServiceClient {
|
|
|
25
23
|
}
|
|
26
24
|
const defaults = {
|
|
27
25
|
requestContentType: "application/json; charset=utf-8",
|
|
28
|
-
credential: credentials
|
|
26
|
+
credential: credentials,
|
|
29
27
|
};
|
|
30
|
-
const packageDetails = `azsdk-js-arm-subscriptions/
|
|
28
|
+
const packageDetails = `azsdk-js-arm-subscriptions/6.0.0`;
|
|
31
29
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
32
30
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
33
31
|
: `${packageDetails}`;
|
|
@@ -35,46 +33,69 @@ export class SubscriptionClient extends coreClient.ServiceClient {
|
|
|
35
33
|
...defaults,
|
|
36
34
|
...options,
|
|
37
35
|
userAgentOptions: {
|
|
38
|
-
userAgentPrefix
|
|
36
|
+
userAgentPrefix,
|
|
39
37
|
},
|
|
40
|
-
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
38
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
41
39
|
};
|
|
42
40
|
super(optionsWithDefaults);
|
|
43
41
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
44
42
|
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
45
43
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
46
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
47
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
44
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
48
45
|
}
|
|
49
46
|
if (!options ||
|
|
50
47
|
!options.pipeline ||
|
|
51
48
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
52
49
|
!bearerTokenAuthenticationPolicyFound) {
|
|
53
50
|
this.pipeline.removePolicy({
|
|
54
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
51
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
55
52
|
});
|
|
56
53
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
54
|
credential: credentials,
|
|
58
|
-
scopes: optionsWithDefaults.credentialScopes ??
|
|
59
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
|
55
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
|
60
56
|
challengeCallbacks: {
|
|
61
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
62
|
-
}
|
|
57
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
58
|
+
},
|
|
63
59
|
}));
|
|
64
60
|
}
|
|
65
61
|
// Assigning values to Constant parameters
|
|
66
62
|
this.$host = options.$host || "https://management.azure.com";
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
63
|
+
this.apiVersion = options.apiVersion || "2021-10-01";
|
|
64
|
+
this.subscription = new SubscriptionImpl(this);
|
|
65
|
+
this.subscriptionOperation = new SubscriptionOperationImpl(this);
|
|
70
66
|
this.operations = new OperationsImpl(this);
|
|
71
67
|
this.alias = new AliasImpl(this);
|
|
72
68
|
this.subscriptionPolicy = new SubscriptionPolicyImpl(this);
|
|
73
69
|
this.billingAccount = new BillingAccountImpl(this);
|
|
70
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
71
|
+
}
|
|
72
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
73
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
74
|
+
if (!apiVersion) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const apiVersionPolicy = {
|
|
78
|
+
name: "CustomApiVersionPolicy",
|
|
79
|
+
async sendRequest(request, next) {
|
|
80
|
+
const param = request.url.split("?");
|
|
81
|
+
if (param.length > 1) {
|
|
82
|
+
const newParams = param[1].split("&").map((item) => {
|
|
83
|
+
if (item.indexOf("api-version") > -1) {
|
|
84
|
+
return "api-version=" + apiVersion;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
return item;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
91
|
+
}
|
|
92
|
+
return next(request);
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
74
96
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
subscriptionOperations;
|
|
97
|
+
subscription;
|
|
98
|
+
subscriptionOperation;
|
|
78
99
|
operations;
|
|
79
100
|
alias;
|
|
80
101
|
subscriptionPolicy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionClient.js","sourceRoot":"","sources":["../../src/subscriptionClient.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"subscriptionClient.js","sourceRoot":"","sources":["../../src/subscriptionClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EACzB,cAAc,EACd,SAAS,EACT,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAW/B,MAAM,OAAO,kBAAmB,SAAQ,UAAU,CAAC,aAAa;IAC9D,KAAK,CAAS;IACd,UAAU,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AAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CAAC,OAAwB,EAAE,IAAiB;gBAC3D,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,YAAY,CAAe;IAC3B,qBAAqB,CAAwB;IAC7C,UAAU,CAAa;IACvB,KAAK,CAAQ;IACb,kBAAkB,CAAqB;IACvC,cAAc,CAAiB;CAChC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n SubscriptionImpl,\n SubscriptionOperationImpl,\n OperationsImpl,\n AliasImpl,\n SubscriptionPolicyImpl,\n BillingAccountImpl,\n} from \"./operations/index.js\";\nimport type {\n Subscription,\n SubscriptionOperation,\n Operations,\n Alias,\n SubscriptionPolicy,\n BillingAccount,\n} from \"./operationsInterfaces/index.js\";\nimport type { SubscriptionClientOptionalParams } 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(credentials: coreAuth.TokenCredential, options?: SubscriptionClientOptionalParams) {\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-subscriptions/6.0.0`;\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: 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[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === 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 ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: 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 || \"2021-10-01\";\n this.subscription = new SubscriptionImpl(this);\n this.subscriptionOperation = new SubscriptionOperationImpl(this);\n this.operations = new OperationsImpl(this);\n this.alias = new AliasImpl(this);\n this.subscriptionPolicy = new SubscriptionPolicyImpl(this);\n this.billingAccount = new BillingAccountImpl(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(request: PipelineRequest, next: SendRequest): 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 subscription: Subscription;\n subscriptionOperation: SubscriptionOperation;\n operations: Operations;\n alias: Alias;\n subscriptionPolicy: SubscriptionPolicy;\n billingAccount: BillingAccount;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for SubscriptionClient.",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "6.0.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@azure/
|
|
12
|
-
"@azure/
|
|
13
|
-
"@azure/core-
|
|
14
|
-
"@azure/core-
|
|
15
|
-
"@azure/core-
|
|
16
|
-
"@azure/core-rest-pipeline": "
|
|
11
|
+
"@azure/core-lro": "^2.5.4",
|
|
12
|
+
"@azure/abort-controller": "^2.1.2",
|
|
13
|
+
"@azure/core-paging": "^1.6.2",
|
|
14
|
+
"@azure/core-client": "^1.9.3",
|
|
15
|
+
"@azure/core-auth": "^1.9.0",
|
|
16
|
+
"@azure/core-rest-pipeline": "^1.19.1",
|
|
17
17
|
"tslib": "^2.8.1"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
@@ -21,43 +21,42 @@
|
|
|
21
21
|
"azure",
|
|
22
22
|
"typescript",
|
|
23
23
|
"browser",
|
|
24
|
-
"isomorphic"
|
|
24
|
+
"isomorphic",
|
|
25
|
+
"cloud"
|
|
25
26
|
],
|
|
26
27
|
"license": "MIT",
|
|
27
28
|
"main": "./dist/commonjs/index.js",
|
|
28
29
|
"module": "./dist/esm/index.js",
|
|
29
30
|
"types": "./dist/commonjs/index.d.ts",
|
|
31
|
+
"type": "module",
|
|
30
32
|
"devDependencies": {
|
|
33
|
+
"typescript": "~5.9.3",
|
|
34
|
+
"rimraf": "^6.0.1",
|
|
35
|
+
"dotenv": "^16.0.0",
|
|
36
|
+
"cross-env": "^7.0.3",
|
|
37
|
+
"eslint": "^9.33.0",
|
|
38
|
+
"prettier": "^3.6.2",
|
|
39
|
+
"tshy": "^3.0.0",
|
|
31
40
|
"@azure/identity": "4.11.1",
|
|
32
|
-
"@azure/logger": ">=1.3.1-alpha <1.3.1-alphb",
|
|
33
41
|
"@types/node": "^20.19.0",
|
|
34
42
|
"@vitest/browser": "^3.2.3",
|
|
35
43
|
"@vitest/coverage-istanbul": "^3.2.3",
|
|
36
|
-
"cross-env": "^7.0.3",
|
|
37
44
|
"playwright": "^1.50.1",
|
|
38
|
-
"rimraf": "^6.0.1",
|
|
39
|
-
"tshy": "^3.0.0",
|
|
40
|
-
"typescript": "~5.9.3",
|
|
41
45
|
"vitest": "^3.2.3",
|
|
42
|
-
"@azure
|
|
43
|
-
"@azure
|
|
44
|
-
"@azure/
|
|
45
|
-
"@azure-tools/test-
|
|
46
|
-
|
|
47
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/subscription/arm-subscriptions",
|
|
48
|
-
"repository": {
|
|
49
|
-
"type": "git",
|
|
50
|
-
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
46
|
+
"@azure/dev-tool": "1.0.0",
|
|
47
|
+
"@azure/logger": "1.3.1",
|
|
48
|
+
"@azure-tools/test-recorder": "4.1.1",
|
|
49
|
+
"@azure-tools/test-credential": "2.1.2",
|
|
50
|
+
"@azure-tools/test-utils-vitest": "2.0.1"
|
|
51
51
|
},
|
|
52
|
+
"repository": "github:Azure/azure-sdk-for-js",
|
|
52
53
|
"bugs": {
|
|
53
54
|
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
54
55
|
},
|
|
55
56
|
"files": [
|
|
56
57
|
"dist/",
|
|
57
58
|
"README.md",
|
|
58
|
-
"LICENSE"
|
|
59
|
-
"review/",
|
|
60
|
-
"CHANGELOG.md"
|
|
59
|
+
"LICENSE"
|
|
61
60
|
],
|
|
62
61
|
"sideEffects": false,
|
|
63
62
|
"//metadata": {
|
|
@@ -69,15 +68,8 @@
|
|
|
69
68
|
]
|
|
70
69
|
},
|
|
71
70
|
"autoPublish": true,
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
"productSlugs": [
|
|
75
|
-
"azure"
|
|
76
|
-
],
|
|
77
|
-
"disableDocsMs": true,
|
|
78
|
-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-subscriptions?view=azure-node-preview"
|
|
79
|
-
},
|
|
80
|
-
"type": "module",
|
|
71
|
+
"browser": "./dist/browser/index.js",
|
|
72
|
+
"react-native": "./dist/react-native/index.js",
|
|
81
73
|
"tshy": {
|
|
82
74
|
"project": "../../../tsconfig.src.build.json",
|
|
83
75
|
"exports": {
|
|
@@ -94,8 +86,15 @@
|
|
|
94
86
|
],
|
|
95
87
|
"selfLink": false
|
|
96
88
|
},
|
|
97
|
-
"
|
|
98
|
-
"
|
|
89
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/subscription/arm-subscriptions",
|
|
90
|
+
"//sampleConfiguration": {
|
|
91
|
+
"productName": "",
|
|
92
|
+
"productSlugs": [
|
|
93
|
+
"azure"
|
|
94
|
+
],
|
|
95
|
+
"disableDocsMs": true,
|
|
96
|
+
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-subscriptions?view=azure-node-preview"
|
|
97
|
+
},
|
|
99
98
|
"exports": {
|
|
100
99
|
"./package.json": "./package.json",
|
|
101
100
|
".": {
|
|
@@ -119,17 +118,18 @@
|
|
|
119
118
|
},
|
|
120
119
|
"scripts": {
|
|
121
120
|
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
122
|
-
"
|
|
123
|
-
"check-format": "echo skipped",
|
|
124
|
-
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
125
|
-
"execute:samples": "echo skipped",
|
|
121
|
+
"pack": "pnpm pack 2>&1",
|
|
126
122
|
"extract-api": "dev-tool run extract-api",
|
|
127
|
-
"format": "echo skipped",
|
|
128
123
|
"lint": "echo skipped",
|
|
129
|
-
"
|
|
124
|
+
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
125
|
+
"build:samples": "echo skipped.",
|
|
126
|
+
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
|
|
127
|
+
"execute:samples": "echo skipped",
|
|
128
|
+
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
|
|
130
129
|
"test": "npm run test:node && npm run test:browser",
|
|
130
|
+
"test:node": "dev-tool run test:vitest",
|
|
131
131
|
"test:browser": "echo skipped",
|
|
132
|
-
"
|
|
133
|
-
"
|
|
132
|
+
"update-snippets": "dev-tool run update-snippets",
|
|
133
|
+
"test:node:esm": "dev-tool run test:vitest --esm"
|
|
134
134
|
}
|
|
135
135
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# Release History
|
|
2
|
-
|
|
3
|
-
## 5.1.2 (Unreleased)
|
|
4
|
-
|
|
5
|
-
### Features Added
|
|
6
|
-
|
|
7
|
-
### Breaking Changes
|
|
8
|
-
|
|
9
|
-
### Bugs Fixed
|
|
10
|
-
|
|
11
|
-
### Other Changes
|
|
12
|
-
|
|
13
|
-
## 5.1.1 (2025-08-22)
|
|
14
|
-
|
|
15
|
-
### Other Changes
|
|
16
|
-
|
|
17
|
-
- Other fixes
|
|
18
|
-
|
|
19
|
-
## 5.1.0 (2022-11-11)
|
|
20
|
-
|
|
21
|
-
### Features Added
|
|
22
|
-
|
|
23
|
-
- Added Type Alias Provisioning
|
|
24
|
-
- Interface AcceptOwnershipStatusResponse has a new optional parameter provisioningState
|
|
25
|
-
- Interface Subscription has a new optional parameter tags
|
|
26
|
-
- Interface Subscription has a new optional parameter tenantId
|
|
27
|
-
- Interface TenantIdDescription has a new optional parameter country
|
|
28
|
-
- Interface TenantIdDescription has a new optional parameter countryCode
|
|
29
|
-
- Interface TenantIdDescription has a new optional parameter defaultDomain
|
|
30
|
-
- Interface TenantIdDescription has a new optional parameter displayName
|
|
31
|
-
- Interface TenantIdDescription has a new optional parameter domains
|
|
32
|
-
- Interface TenantIdDescription has a new optional parameter tenantCategory
|
|
33
|
-
- Interface TenantIdDescription has a new optional parameter tenantType
|
|
34
|
-
- Added Enum KnownProvisioning
|
|
35
|
-
|
|
36
|
-
## 5.0.1 (2022-05-05)
|
|
37
|
-
|
|
38
|
-
### Features Added
|
|
39
|
-
|
|
40
|
-
- Bug fix
|
|
41
|
-
|
|
42
|
-
## 5.0.0 (2022-01-17)
|
|
43
|
-
|
|
44
|
-
### Features Added
|
|
45
|
-
|
|
46
|
-
- Added operation group SubscriptionOperations
|
|
47
|
-
- Added operation group Subscriptions
|
|
48
|
-
- Added operation group Tenants
|
|
49
|
-
- Added Interface Location_2
|
|
50
|
-
- Added Interface LocationListResult
|
|
51
|
-
- Added Interface Subscription
|
|
52
|
-
- Added Interface SubscriptionListResult
|
|
53
|
-
- Added Interface SubscriptionPolicies
|
|
54
|
-
- Added Interface SubscriptionsGetOptionalParams
|
|
55
|
-
- Added Interface SubscriptionsListLocationsOptionalParams
|
|
56
|
-
- Added Interface SubscriptionsListNextOptionalParams
|
|
57
|
-
- Added Interface SubscriptionsListOptionalParams
|
|
58
|
-
- Added Interface TenantIdDescription
|
|
59
|
-
- Added Interface TenantListResult
|
|
60
|
-
- Added Interface TenantsListNextOptionalParams
|
|
61
|
-
- Added Interface TenantsListOptionalParams
|
|
62
|
-
- Added Type Alias SpendingLimit
|
|
63
|
-
- Added Type Alias SubscriptionsGetResponse
|
|
64
|
-
- Added Type Alias SubscriptionsListLocationsResponse
|
|
65
|
-
- Added Type Alias SubscriptionsListNextResponse
|
|
66
|
-
- Added Type Alias SubscriptionsListResponse
|
|
67
|
-
- Added Type Alias SubscriptionState
|
|
68
|
-
- Added Type Alias TenantsListNextResponse
|
|
69
|
-
- Added Type Alias TenantsListResponse
|
|
70
|
-
- Interface CanceledSubscriptionId has a new optional parameter subscriptionId
|
|
71
|
-
- Interface EnabledSubscriptionId has a new optional parameter subscriptionId
|
|
72
|
-
- Interface RenamedSubscriptionId has a new optional parameter subscriptionId
|
|
73
|
-
- Interface SubscriptionAliasResponseProperties has a new optional parameter createdTime
|
|
74
|
-
- Class SubscriptionClient has a new parameter subscriptionOperations
|
|
75
|
-
- Class SubscriptionClient has a new parameter subscriptions
|
|
76
|
-
- Class SubscriptionClient has a new parameter tenants
|
|
77
|
-
|
|
78
|
-
### Breaking Changes
|
|
79
|
-
|
|
80
|
-
- Removed operation group Subscription
|
|
81
|
-
- Interface CanceledSubscriptionId no longer has parameter value
|
|
82
|
-
- Interface EnabledSubscriptionId no longer has parameter value
|
|
83
|
-
- Interface RenamedSubscriptionId no longer has parameter value
|
|
84
|
-
- Interface SubscriptionClientOptionalParams no longer has parameter apiVersion
|
|
85
|
-
- Class SubscriptionClient no longer has parameter apiVersion
|
|
86
|
-
- Class SubscriptionClient no longer has parameter subscription
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
## 4.0.0 (2021-12-22)
|
|
90
|
-
|
|
91
|
-
The package of @azure/arm-subscriptions is using our next generation design principles since version 4.0.0, which contains breaking changes.
|
|
92
|
-
|
|
93
|
-
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
94
|
-
|
|
95
|
-
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
|
|
96
|
-
|
|
97
|
-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/subscriptionOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,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,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACG,oBAAoB,CACxB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,mCAAmC,CAAC,EACvD,mCAAmC,CACpC,CACF;IAqDD;;;;;OAKG;IACG,2BAA2B,CAC/B,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAS/C;;;;OAIG;IACH,qBAAqB,CACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;CAMtD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionOperations.js","sourceRoot":"","sources":["../../../src/operations/subscriptionOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OA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AE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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 { SubscriptionOperations } 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 { SubscriptionClient } from \"../subscriptionClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\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/** Class containing SubscriptionOperations operations. */\nexport class SubscriptionOperationsImpl implements SubscriptionOperations {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class SubscriptionOperations class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\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 return this.client.sendOperationRequest(\n { subscriptionId, options },\n cancelOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { subscriptionId, body, options },\n renameOperationSpec\n );\n }\n\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 return this.client.sendOperationRequest(\n { subscriptionId, options },\n enableOperationSpec\n );\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 async beginAcceptOwnership(\n subscriptionId: string,\n body: AcceptOwnershipRequest,\n options?: SubscriptionAcceptOwnershipOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SubscriptionAcceptOwnershipResponse>,\n SubscriptionAcceptOwnershipResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SubscriptionAcceptOwnershipResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { subscriptionId, body, options },\n acceptOwnershipOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginAcceptOwnershipAndWait(\n subscriptionId: string,\n body: AcceptOwnershipRequest,\n options?: SubscriptionAcceptOwnershipOptionalParams\n ): Promise<SubscriptionAcceptOwnershipResponse> {\n const poller = await this.beginAcceptOwnership(\n subscriptionId,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\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 return this.client.sendOperationRequest(\n { subscriptionId, options },\n acceptOwnershipStatusOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CanceledSubscriptionId\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst renameOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RenamedSubscriptionId\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst enableOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnabledSubscriptionId\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst acceptOwnershipOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnership\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.SubscriptionAcceptOwnershipHeaders\n },\n 201: {\n headersMapper: Mappers.SubscriptionAcceptOwnershipHeaders\n },\n 202: {\n headersMapper: Mappers.SubscriptionAcceptOwnershipHeaders\n },\n 204: {\n headersMapper: Mappers.SubscriptionAcceptOwnershipHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst acceptOwnershipStatusOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnershipStatus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AcceptOwnershipStatusResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Subscriptions } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { SubscriptionClient } from "../subscriptionClient.js";
|
|
4
|
-
import { Location, SubscriptionsListLocationsOptionalParams, Subscription, SubscriptionsListOptionalParams, SubscriptionsGetOptionalParams, SubscriptionsGetResponse } from "../models/index.js";
|
|
5
|
-
/** Class containing Subscriptions operations. */
|
|
6
|
-
export declare class SubscriptionsImpl implements Subscriptions {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class Subscriptions class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: SubscriptionClient);
|
|
13
|
-
/**
|
|
14
|
-
* This operation provides all the locations that are available for resource providers; however, each
|
|
15
|
-
* resource provider may support a subset of this list.
|
|
16
|
-
* @param subscriptionId The ID of the target subscription.
|
|
17
|
-
* @param options The options parameters.
|
|
18
|
-
*/
|
|
19
|
-
listLocations(subscriptionId: string, options?: SubscriptionsListLocationsOptionalParams): PagedAsyncIterableIterator<Location>;
|
|
20
|
-
private listLocationsPagingPage;
|
|
21
|
-
private listLocationsPagingAll;
|
|
22
|
-
/**
|
|
23
|
-
* Gets all subscriptions for a tenant.
|
|
24
|
-
* @param options The options parameters.
|
|
25
|
-
*/
|
|
26
|
-
list(options?: SubscriptionsListOptionalParams): PagedAsyncIterableIterator<Subscription>;
|
|
27
|
-
private listPagingPage;
|
|
28
|
-
private listPagingAll;
|
|
29
|
-
/**
|
|
30
|
-
* This operation provides all the locations that are available for resource providers; however, each
|
|
31
|
-
* resource provider may support a subset of this list.
|
|
32
|
-
* @param subscriptionId The ID of the target subscription.
|
|
33
|
-
* @param options The options parameters.
|
|
34
|
-
*/
|
|
35
|
-
private _listLocations;
|
|
36
|
-
/**
|
|
37
|
-
* Gets details about a specified subscription.
|
|
38
|
-
* @param subscriptionId The ID of the target subscription.
|
|
39
|
-
* @param options The options parameters.
|
|
40
|
-
*/
|
|
41
|
-
get(subscriptionId: string, options?: SubscriptionsGetOptionalParams): Promise<SubscriptionsGetResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* Gets all subscriptions for a tenant.
|
|
44
|
-
* @param options The options parameters.
|
|
45
|
-
*/
|
|
46
|
-
private _list;
|
|
47
|
-
/**
|
|
48
|
-
* ListNext
|
|
49
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
50
|
-
* @param options The options parameters.
|
|
51
|
-
*/
|
|
52
|
-
private _listNext;
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=subscriptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../src/operations/subscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EACL,QAAQ,EACR,wCAAwC,EAExC,YAAY,EAEZ,+BAA+B,EAE/B,8BAA8B,EAC9B,wBAAwB,EAEzB,MAAM,oBAAoB,CAAC;AAG5B,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;;;OAKG;IACI,aAAa,CAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,QAAQ,CAAC;YAkBxB,uBAAuB;YAUvB,sBAAsB;IAYrC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,YAAY,CAAC;YAkB5B,cAAc;YAsBd,aAAa;IAQ5B;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAUtB;;;;OAIG;IACH,GAAG,CACD,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|