@azure/arm-resourcesdeployments 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -11
- package/dist/browser/api/deploymentOperations/index.d.ts +3 -0
- package/dist/browser/api/deploymentOperations/index.js +4 -0
- package/dist/browser/api/deploymentOperations/index.js.map +1 -0
- package/dist/browser/api/deploymentOperations/operations.d.ts +46 -0
- package/dist/browser/api/deploymentOperations/operations.js +282 -0
- package/dist/browser/api/deploymentOperations/operations.js.map +1 -0
- package/dist/browser/api/deploymentOperations/options.d.ts +42 -0
- package/dist/browser/api/deploymentOperations/options.js +4 -0
- package/dist/browser/api/deploymentOperations/options.js.map +1 -0
- package/dist/browser/api/deployments/index.d.ts +3 -0
- package/dist/browser/api/deployments/index.js +4 -0
- package/dist/browser/api/deployments/index.js.map +1 -0
- package/dist/browser/api/deployments/operations.d.ts +187 -0
- package/dist/browser/api/deployments/operations.js +1301 -0
- package/dist/browser/api/deployments/operations.js.map +1 -0
- package/dist/browser/api/deployments/options.d.ts +195 -0
- package/dist/browser/api/deployments/options.js +4 -0
- package/dist/browser/api/deployments/options.js.map +1 -0
- package/dist/browser/api/deploymentsContext.d.ts +22 -0
- package/dist/browser/api/deploymentsContext.js +26 -0
- package/dist/browser/api/deploymentsContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/classic/deploymentOperations/index.d.ts +29 -0
- package/dist/browser/classic/deploymentOperations/index.js +23 -0
- package/dist/browser/classic/deploymentOperations/index.js.map +1 -0
- package/dist/browser/classic/deployments/index.d.ts +177 -0
- package/dist/browser/classic/deployments/index.js +211 -0
- package/dist/browser/classic/deployments/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +3 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/deploymentsClient.d.ts +16 -20
- package/dist/browser/deploymentsClient.js +27 -86
- package/dist/browser/deploymentsClient.js.map +1 -1
- package/dist/browser/index.d.ts +16 -3
- package/dist/browser/index.js +7 -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 -1540
- package/dist/browser/models/index.js +3 -131
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +966 -0
- package/dist/browser/models/models.js +925 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +157 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/deploymentOperations/index.d.ts +3 -0
- package/dist/commonjs/api/deploymentOperations/index.js +46 -0
- package/dist/commonjs/api/deploymentOperations/index.js.map +7 -0
- package/dist/commonjs/api/deploymentOperations/operations.d.ts +46 -0
- package/dist/commonjs/api/deploymentOperations/operations.js +430 -0
- package/dist/commonjs/api/deploymentOperations/operations.js.map +7 -0
- package/dist/commonjs/api/deploymentOperations/options.d.ts +42 -0
- package/dist/commonjs/api/deploymentOperations/options.js +16 -0
- package/dist/commonjs/api/deploymentOperations/options.js.map +7 -0
- package/dist/commonjs/api/deployments/index.d.ts +3 -0
- package/dist/commonjs/api/deployments/index.js +116 -0
- package/dist/commonjs/api/deployments/index.js.map +7 -0
- package/dist/commonjs/api/deployments/operations.d.ts +187 -0
- package/dist/commonjs/api/deployments/operations.js +1824 -0
- package/dist/commonjs/api/deployments/operations.js.map +7 -0
- package/dist/commonjs/api/deployments/options.d.ts +195 -0
- package/dist/commonjs/api/deployments/options.js +16 -0
- package/dist/commonjs/api/deployments/options.js.map +7 -0
- package/dist/commonjs/api/deploymentsContext.d.ts +22 -0
- package/dist/commonjs/api/deploymentsContext.js +47 -0
- package/dist/commonjs/api/deploymentsContext.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/classic/deploymentOperations/index.d.ts +29 -0
- package/dist/commonjs/classic/deploymentOperations/index.js +47 -0
- package/dist/commonjs/classic/deploymentOperations/index.js.map +7 -0
- package/dist/commonjs/classic/deployments/index.d.ts +177 -0
- package/dist/commonjs/classic/deployments/index.js +282 -0
- package/dist/commonjs/classic/deployments/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +3 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/deploymentsClient.d.ts +16 -20
- package/dist/commonjs/deploymentsClient.js +56 -99
- package/dist/commonjs/deploymentsClient.js.map +7 -1
- package/dist/commonjs/index.d.ts +16 -3
- package/dist/commonjs/index.js +62 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +2 -1540
- package/dist/commonjs/models/index.js +48 -135
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +966 -0
- package/dist/commonjs/models/models.js +951 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +170 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/api/deploymentOperations/index.d.ts +3 -0
- package/dist/esm/api/deploymentOperations/index.js +4 -0
- package/dist/esm/api/deploymentOperations/index.js.map +1 -0
- package/dist/esm/api/deploymentOperations/operations.d.ts +46 -0
- package/dist/esm/api/deploymentOperations/operations.js +282 -0
- package/dist/esm/api/deploymentOperations/operations.js.map +1 -0
- package/dist/esm/api/deploymentOperations/options.d.ts +42 -0
- package/dist/esm/api/deploymentOperations/options.js +4 -0
- package/dist/esm/api/deploymentOperations/options.js.map +1 -0
- package/dist/esm/api/deployments/index.d.ts +3 -0
- package/dist/esm/api/deployments/index.js +4 -0
- package/dist/esm/api/deployments/index.js.map +1 -0
- package/dist/esm/api/deployments/operations.d.ts +187 -0
- package/dist/esm/api/deployments/operations.js +1301 -0
- package/dist/esm/api/deployments/operations.js.map +1 -0
- package/dist/esm/api/deployments/options.d.ts +195 -0
- package/dist/esm/api/deployments/options.js +4 -0
- package/dist/esm/api/deployments/options.js.map +1 -0
- package/dist/esm/api/deploymentsContext.d.ts +22 -0
- package/dist/esm/api/deploymentsContext.js +26 -0
- package/dist/esm/api/deploymentsContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/classic/deploymentOperations/index.d.ts +29 -0
- package/dist/esm/classic/deploymentOperations/index.js +23 -0
- package/dist/esm/classic/deploymentOperations/index.js.map +1 -0
- package/dist/esm/classic/deployments/index.d.ts +177 -0
- package/dist/esm/classic/deployments/index.js +211 -0
- package/dist/esm/classic/deployments/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +3 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/deploymentsClient.d.ts +16 -20
- package/dist/esm/deploymentsClient.js +27 -86
- package/dist/esm/deploymentsClient.js.map +1 -1
- package/dist/esm/index.d.ts +16 -3
- package/dist/esm/index.js +7 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -1540
- package/dist/esm/models/index.js +3 -131
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +966 -0
- package/dist/esm/models/models.js +925 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +157 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +150 -99
- package/CHANGELOG.md +0 -7
- package/dist/browser/deploymentsClient.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/lroImpl.d.ts +0 -11
- package/dist/browser/lroImpl.d.ts.map +0 -1
- package/dist/browser/lroImpl.js +0 -21
- package/dist/browser/lroImpl.js.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -62
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -2165
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -20
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -184
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/deploymentOperations.d.ts +0 -168
- package/dist/browser/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/browser/operations/deploymentOperations.js +0 -782
- package/dist/browser/operations/deploymentOperations.js.map +0 -1
- package/dist/browser/operations/deployments.d.ts +0 -628
- package/dist/browser/operations/deployments.d.ts.map +0 -1
- package/dist/browser/operations/deployments.js +0 -2766
- package/dist/browser/operations/deployments.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -3
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -10
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/browser/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/browser/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/deployments.js +0 -9
- package/dist/browser/operationsInterfaces/deployments.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -3
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -10
- package/dist/browser/operationsInterfaces/index.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 -32
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/commonjs/deploymentsClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.d.ts +0 -11
- package/dist/commonjs/lroImpl.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.js +0 -24
- package/dist/commonjs/lroImpl.js.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -62
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -2169
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -20
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -187
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/deploymentOperations.d.ts +0 -168
- package/dist/commonjs/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/deploymentOperations.js +0 -786
- package/dist/commonjs/operations/deploymentOperations.js.map +0 -1
- package/dist/commonjs/operations/deployments.d.ts +0 -628
- package/dist/commonjs/operations/deployments.d.ts.map +0 -1
- package/dist/commonjs/operations/deployments.js +0 -2770
- package/dist/commonjs/operations/deployments.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -3
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -13
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js +0 -10
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/deployments.js +0 -10
- package/dist/commonjs/operationsInterfaces/deployments.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -3
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -13
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -36
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/esm/deploymentsClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/lroImpl.d.ts +0 -11
- package/dist/esm/lroImpl.d.ts.map +0 -1
- package/dist/esm/lroImpl.js +0 -21
- package/dist/esm/lroImpl.js.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -62
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -2165
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -20
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -184
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/deploymentOperations.d.ts +0 -168
- package/dist/esm/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/esm/operations/deploymentOperations.js +0 -782
- package/dist/esm/operations/deploymentOperations.js.map +0 -1
- package/dist/esm/operations/deployments.d.ts +0 -628
- package/dist/esm/operations/deployments.d.ts.map +0 -1
- package/dist/esm/operations/deployments.js +0 -2766
- package/dist/esm/operations/deployments.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -3
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -10
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/esm/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/esm/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/deployments.js +0 -9
- package/dist/esm/operationsInterfaces/deployments.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -3
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -10
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -32
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/react-native/deploymentsClient.d.ts +0 -22
- package/dist/react-native/deploymentsClient.d.ts.map +0 -1
- package/dist/react-native/deploymentsClient.js +0 -96
- package/dist/react-native/deploymentsClient.js.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/lroImpl.d.ts +0 -11
- package/dist/react-native/lroImpl.d.ts.map +0 -1
- package/dist/react-native/lroImpl.js +0 -21
- package/dist/react-native/lroImpl.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -1541
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -132
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -62
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -2165
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -20
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -184
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/deploymentOperations.d.ts +0 -168
- package/dist/react-native/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/react-native/operations/deploymentOperations.js +0 -782
- package/dist/react-native/operations/deploymentOperations.js.map +0 -1
- package/dist/react-native/operations/deployments.d.ts +0 -628
- package/dist/react-native/operations/deployments.d.ts.map +0 -1
- package/dist/react-native/operations/deployments.js +0 -2766
- package/dist/react-native/operations/deployments.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -3
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -10
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/react-native/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/deployments.js +0 -9
- package/dist/react-native/operationsInterfaces/deployments.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -3
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -10
- package/dist/react-native/operationsInterfaces/index.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 -32
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/review/arm-resourcesdeployments-node.api.md +0 -1226
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { logger } from "../logger.js";
|
|
4
|
+
import { getArmEndpoint } from "../static-helpers/cloudSettingHelpers.js";
|
|
5
|
+
import { getClient } from "@azure-rest/core-client";
|
|
6
|
+
/** Provides operations for working with deployments. */
|
|
7
|
+
export function createDeployments(credential, subscriptionId, options = {}) {
|
|
8
|
+
const endpointUrl = options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? "https://management.azure.com";
|
|
9
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
10
|
+
const userAgentInfo = `azsdk-js-arm-resourcesdeployments/1.0.0-beta.2`;
|
|
11
|
+
const userAgentPrefix = prefixFromOptions
|
|
12
|
+
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
13
|
+
: `azsdk-js-api ${userAgentInfo}`;
|
|
14
|
+
const { apiVersion: _, ...updatedOptions } = {
|
|
15
|
+
...options,
|
|
16
|
+
userAgentOptions: { userAgentPrefix },
|
|
17
|
+
loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },
|
|
18
|
+
credentials: {
|
|
19
|
+
scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"],
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
const clientContext = getClient(endpointUrl, credential, updatedOptions);
|
|
23
|
+
const apiVersion = options.apiVersion;
|
|
24
|
+
return { ...clientContext, apiVersion, subscriptionId };
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=deploymentsContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploymentsContext.js","sourceRoot":"","sources":["../../../src/api/deploymentsContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAwB,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAqB3E,wDAAwD;AACxD,MAAM,UAAU,iBAAiB,CAC/B,UAA2B,EAC3B,cAAsB,EACtB,UAA2C,EAAE;IAE7C,MAAM,WAAW,GACf,OAAO,CAAC,QAAQ,IAAI,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,8BAA8B,CAAC;IAC7F,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,gDAAgD,CAAC;IACvE,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,GAAG;QAC3C,GAAG,OAAO;QACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;QACrC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE;QACzE,WAAW,EAAE;YACX,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,uCAAuC,CAAC;SACjF;KACF,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACtC,OAAO,EAAE,GAAG,aAAa,EAAE,UAAU,EAAE,cAAc,EAAwB,CAAC;AAChF,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { AzureSupportedClouds, getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Provides operations for working with deployments. */\nexport interface DeploymentsContext extends Client {\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface DeploymentsClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** Provides operations for working with deployments. */\nexport function createDeployments(\n credential: TokenCredential,\n subscriptionId: string,\n options: DeploymentsClientOptionalParams = {},\n): DeploymentsContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-resourcesdeployments/1.0.0-beta.2`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://management.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion, subscriptionId } as DeploymentsContext;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { DeploymentsContext, DeploymentsClientOptionalParams } from \"./deploymentsContext.js\";\nexport { createDeployments } from \"./deploymentsContext.js\";\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DeploymentsContext } from "../../api/deploymentsContext.js";
|
|
2
|
+
import { DeploymentOperationsListOptionalParams, DeploymentOperationsGetOptionalParams, DeploymentOperationsListAtSubscriptionScopeOptionalParams, DeploymentOperationsGetAtSubscriptionScopeOptionalParams, DeploymentOperationsListAtManagementGroupScopeOptionalParams, DeploymentOperationsGetAtManagementGroupScopeOptionalParams, DeploymentOperationsListAtTenantScopeOptionalParams, DeploymentOperationsGetAtTenantScopeOptionalParams, DeploymentOperationsListAtScopeOptionalParams, DeploymentOperationsGetAtScopeOptionalParams } from "../../api/deploymentOperations/options.js";
|
|
3
|
+
import { DeploymentOperation } from "../../models/models.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a DeploymentOperations operations. */
|
|
6
|
+
export interface DeploymentOperationsOperations {
|
|
7
|
+
/** Gets all deployments operations for a deployment. */
|
|
8
|
+
list: (resourceGroupName: string, deploymentName: string, options?: DeploymentOperationsListOptionalParams) => PagedAsyncIterableIterator<DeploymentOperation>;
|
|
9
|
+
/** Gets a deployments operation. */
|
|
10
|
+
get: (resourceGroupName: string, deploymentName: string, operationId: string, options?: DeploymentOperationsGetOptionalParams) => Promise<DeploymentOperation>;
|
|
11
|
+
/** Gets all deployments operations for a deployment. */
|
|
12
|
+
listAtSubscriptionScope: (deploymentName: string, options?: DeploymentOperationsListAtSubscriptionScopeOptionalParams) => PagedAsyncIterableIterator<DeploymentOperation>;
|
|
13
|
+
/** Gets a deployments operation. */
|
|
14
|
+
getAtSubscriptionScope: (deploymentName: string, operationId: string, options?: DeploymentOperationsGetAtSubscriptionScopeOptionalParams) => Promise<DeploymentOperation>;
|
|
15
|
+
/** Gets all deployments operations for a deployment. */
|
|
16
|
+
listAtManagementGroupScope: (groupId: string, deploymentName: string, options?: DeploymentOperationsListAtManagementGroupScopeOptionalParams) => PagedAsyncIterableIterator<DeploymentOperation>;
|
|
17
|
+
/** Gets a deployments operation. */
|
|
18
|
+
getAtManagementGroupScope: (groupId: string, deploymentName: string, operationId: string, options?: DeploymentOperationsGetAtManagementGroupScopeOptionalParams) => Promise<DeploymentOperation>;
|
|
19
|
+
/** Gets all deployments operations for a deployment. */
|
|
20
|
+
listAtTenantScope: (deploymentName: string, options?: DeploymentOperationsListAtTenantScopeOptionalParams) => PagedAsyncIterableIterator<DeploymentOperation>;
|
|
21
|
+
/** Gets a deployments operation. */
|
|
22
|
+
getAtTenantScope: (deploymentName: string, operationId: string, options?: DeploymentOperationsGetAtTenantScopeOptionalParams) => Promise<DeploymentOperation>;
|
|
23
|
+
/** Gets all deployments operations for a deployment. */
|
|
24
|
+
listAtScope: (scope: string, deploymentName: string, options?: DeploymentOperationsListAtScopeOptionalParams) => PagedAsyncIterableIterator<DeploymentOperation>;
|
|
25
|
+
/** Gets a deployments operation. */
|
|
26
|
+
getAtScope: (scope: string, deploymentName: string, operationId: string, options?: DeploymentOperationsGetAtScopeOptionalParams) => Promise<DeploymentOperation>;
|
|
27
|
+
}
|
|
28
|
+
export declare function _getDeploymentOperationsOperations(context: DeploymentsContext): DeploymentOperationsOperations;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { list, get, listAtSubscriptionScope, getAtSubscriptionScope, listAtManagementGroupScope, getAtManagementGroupScope, listAtTenantScope, getAtTenantScope, listAtScope, getAtScope, } from "../../api/deploymentOperations/operations.js";
|
|
4
|
+
function _getDeploymentOperations(context) {
|
|
5
|
+
return {
|
|
6
|
+
list: (resourceGroupName, deploymentName, options) => list(context, resourceGroupName, deploymentName, options),
|
|
7
|
+
get: (resourceGroupName, deploymentName, operationId, options) => get(context, resourceGroupName, deploymentName, operationId, options),
|
|
8
|
+
listAtSubscriptionScope: (deploymentName, options) => listAtSubscriptionScope(context, deploymentName, options),
|
|
9
|
+
getAtSubscriptionScope: (deploymentName, operationId, options) => getAtSubscriptionScope(context, deploymentName, operationId, options),
|
|
10
|
+
listAtManagementGroupScope: (groupId, deploymentName, options) => listAtManagementGroupScope(context, groupId, deploymentName, options),
|
|
11
|
+
getAtManagementGroupScope: (groupId, deploymentName, operationId, options) => getAtManagementGroupScope(context, groupId, deploymentName, operationId, options),
|
|
12
|
+
listAtTenantScope: (deploymentName, options) => listAtTenantScope(context, deploymentName, options),
|
|
13
|
+
getAtTenantScope: (deploymentName, operationId, options) => getAtTenantScope(context, deploymentName, operationId, options),
|
|
14
|
+
listAtScope: (scope, deploymentName, options) => listAtScope(context, scope, deploymentName, options),
|
|
15
|
+
getAtScope: (scope, deploymentName, operationId, options) => getAtScope(context, scope, deploymentName, operationId, options),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export function _getDeploymentOperationsOperations(context) {
|
|
19
|
+
return {
|
|
20
|
+
..._getDeploymentOperations(context),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/deploymentOperations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,IAAI,EACJ,GAAG,EACH,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,EACzB,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,UAAU,GACX,MAAM,8CAA8C,CAAC;AAiFtD,SAAS,wBAAwB,CAAC,OAA2B;IAC3D,OAAO;QACL,IAAI,EAAE,CACJ,iBAAyB,EACzB,cAAsB,EACtB,OAAgD,EAChD,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,CAAC;QAC9D,GAAG,EAAE,CACH,iBAAyB,EACzB,cAAsB,EACtB,WAAmB,EACnB,OAA+C,EAC/C,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,OAAO,CAAC;QAC1E,uBAAuB,EAAE,CACvB,cAAsB,EACtB,OAAmE,EACnE,EAAE,CAAC,uBAAuB,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QAC9D,sBAAsB,EAAE,CACtB,cAAsB,EACtB,WAAmB,EACnB,OAAkE,EAClE,EAAE,CAAC,sBAAsB,CAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,OAAO,CAAC;QAC1E,0BAA0B,EAAE,CAC1B,OAAe,EACf,cAAsB,EACtB,OAAsE,EACtE,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QAC1E,yBAAyB,EAAE,CACzB,OAAe,EACf,cAAsB,EACtB,WAAmB,EACnB,OAAqE,EACrE,EAAE,CAAC,yBAAyB,CAAC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,OAAO,CAAC;QACtF,iBAAiB,EAAE,CACjB,cAAsB,EACtB,OAA6D,EAC7D,EAAE,CAAC,iBAAiB,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QACxD,gBAAgB,EAAE,CAChB,cAAsB,EACtB,WAAmB,EACnB,OAA4D,EAC5D,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,OAAO,CAAC;QACpE,WAAW,EAAE,CACX,KAAa,EACb,cAAsB,EACtB,OAAuD,EACvD,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC;QACzD,UAAU,EAAE,CACV,KAAa,EACb,cAAsB,EACtB,WAAmB,EACnB,OAAsD,EACtD,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,OAAO,CAAC;KACtE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,OAA2B;IAE3B,OAAO;QACL,GAAG,wBAAwB,CAAC,OAAO,CAAC;KACrC,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DeploymentsContext } from \"../../api/deploymentsContext.js\";\nimport {\n list,\n get,\n listAtSubscriptionScope,\n getAtSubscriptionScope,\n listAtManagementGroupScope,\n getAtManagementGroupScope,\n listAtTenantScope,\n getAtTenantScope,\n listAtScope,\n getAtScope,\n} from \"../../api/deploymentOperations/operations.js\";\nimport {\n DeploymentOperationsListOptionalParams,\n DeploymentOperationsGetOptionalParams,\n DeploymentOperationsListAtSubscriptionScopeOptionalParams,\n DeploymentOperationsGetAtSubscriptionScopeOptionalParams,\n DeploymentOperationsListAtManagementGroupScopeOptionalParams,\n DeploymentOperationsGetAtManagementGroupScopeOptionalParams,\n DeploymentOperationsListAtTenantScopeOptionalParams,\n DeploymentOperationsGetAtTenantScopeOptionalParams,\n DeploymentOperationsListAtScopeOptionalParams,\n DeploymentOperationsGetAtScopeOptionalParams,\n} from \"../../api/deploymentOperations/options.js\";\nimport { DeploymentOperation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a DeploymentOperations operations. */\nexport interface DeploymentOperationsOperations {\n /** Gets all deployments operations for a deployment. */\n list: (\n resourceGroupName: string,\n deploymentName: string,\n options?: DeploymentOperationsListOptionalParams,\n ) => PagedAsyncIterableIterator<DeploymentOperation>;\n /** Gets a deployments operation. */\n get: (\n resourceGroupName: string,\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetOptionalParams,\n ) => Promise<DeploymentOperation>;\n /** Gets all deployments operations for a deployment. */\n listAtSubscriptionScope: (\n deploymentName: string,\n options?: DeploymentOperationsListAtSubscriptionScopeOptionalParams,\n ) => PagedAsyncIterableIterator<DeploymentOperation>;\n /** Gets a deployments operation. */\n getAtSubscriptionScope: (\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetAtSubscriptionScopeOptionalParams,\n ) => Promise<DeploymentOperation>;\n /** Gets all deployments operations for a deployment. */\n listAtManagementGroupScope: (\n groupId: string,\n deploymentName: string,\n options?: DeploymentOperationsListAtManagementGroupScopeOptionalParams,\n ) => PagedAsyncIterableIterator<DeploymentOperation>;\n /** Gets a deployments operation. */\n getAtManagementGroupScope: (\n groupId: string,\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetAtManagementGroupScopeOptionalParams,\n ) => Promise<DeploymentOperation>;\n /** Gets all deployments operations for a deployment. */\n listAtTenantScope: (\n deploymentName: string,\n options?: DeploymentOperationsListAtTenantScopeOptionalParams,\n ) => PagedAsyncIterableIterator<DeploymentOperation>;\n /** Gets a deployments operation. */\n getAtTenantScope: (\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetAtTenantScopeOptionalParams,\n ) => Promise<DeploymentOperation>;\n /** Gets all deployments operations for a deployment. */\n listAtScope: (\n scope: string,\n deploymentName: string,\n options?: DeploymentOperationsListAtScopeOptionalParams,\n ) => PagedAsyncIterableIterator<DeploymentOperation>;\n /** Gets a deployments operation. */\n getAtScope: (\n scope: string,\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetAtScopeOptionalParams,\n ) => Promise<DeploymentOperation>;\n}\n\nfunction _getDeploymentOperations(context: DeploymentsContext) {\n return {\n list: (\n resourceGroupName: string,\n deploymentName: string,\n options?: DeploymentOperationsListOptionalParams,\n ) => list(context, resourceGroupName, deploymentName, options),\n get: (\n resourceGroupName: string,\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetOptionalParams,\n ) => get(context, resourceGroupName, deploymentName, operationId, options),\n listAtSubscriptionScope: (\n deploymentName: string,\n options?: DeploymentOperationsListAtSubscriptionScopeOptionalParams,\n ) => listAtSubscriptionScope(context, deploymentName, options),\n getAtSubscriptionScope: (\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetAtSubscriptionScopeOptionalParams,\n ) => getAtSubscriptionScope(context, deploymentName, operationId, options),\n listAtManagementGroupScope: (\n groupId: string,\n deploymentName: string,\n options?: DeploymentOperationsListAtManagementGroupScopeOptionalParams,\n ) => listAtManagementGroupScope(context, groupId, deploymentName, options),\n getAtManagementGroupScope: (\n groupId: string,\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetAtManagementGroupScopeOptionalParams,\n ) => getAtManagementGroupScope(context, groupId, deploymentName, operationId, options),\n listAtTenantScope: (\n deploymentName: string,\n options?: DeploymentOperationsListAtTenantScopeOptionalParams,\n ) => listAtTenantScope(context, deploymentName, options),\n getAtTenantScope: (\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetAtTenantScopeOptionalParams,\n ) => getAtTenantScope(context, deploymentName, operationId, options),\n listAtScope: (\n scope: string,\n deploymentName: string,\n options?: DeploymentOperationsListAtScopeOptionalParams,\n ) => listAtScope(context, scope, deploymentName, options),\n getAtScope: (\n scope: string,\n deploymentName: string,\n operationId: string,\n options?: DeploymentOperationsGetAtScopeOptionalParams,\n ) => getAtScope(context, scope, deploymentName, operationId, options),\n };\n}\n\nexport function _getDeploymentOperationsOperations(\n context: DeploymentsContext,\n): DeploymentOperationsOperations {\n return {\n ..._getDeploymentOperations(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { DeploymentsContext } from "../../api/deploymentsContext.js";
|
|
2
|
+
import { DeploymentsCalculateTemplateHashOptionalParams, DeploymentsExportTemplateOptionalParams, DeploymentsWhatIfOptionalParams, DeploymentsValidateOptionalParams, DeploymentsCancelOptionalParams, DeploymentsListByResourceGroupOptionalParams, DeploymentsDeleteOptionalParams, DeploymentsCreateOrUpdateOptionalParams, DeploymentsCheckExistenceOptionalParams, DeploymentsGetOptionalParams, DeploymentsExportTemplateAtSubscriptionScopeOptionalParams, DeploymentsWhatIfAtSubscriptionScopeOptionalParams, DeploymentsValidateAtSubscriptionScopeOptionalParams, DeploymentsCancelAtSubscriptionScopeOptionalParams, DeploymentsListAtSubscriptionScopeOptionalParams, DeploymentsDeleteAtSubscriptionScopeOptionalParams, DeploymentsCreateOrUpdateAtSubscriptionScopeOptionalParams, DeploymentsCheckExistenceAtSubscriptionScopeOptionalParams, DeploymentsGetAtSubscriptionScopeOptionalParams, DeploymentsExportTemplateAtManagementGroupScopeOptionalParams, DeploymentsWhatIfAtManagementGroupScopeOptionalParams, DeploymentsValidateAtManagementGroupScopeOptionalParams, DeploymentsCancelAtManagementGroupScopeOptionalParams, DeploymentsListAtManagementGroupScopeOptionalParams, DeploymentsDeleteAtManagementGroupScopeOptionalParams, DeploymentsCreateOrUpdateAtManagementGroupScopeOptionalParams, DeploymentsCheckExistenceAtManagementGroupScopeOptionalParams, DeploymentsGetAtManagementGroupScopeOptionalParams, DeploymentsListAtTenantScopeOptionalParams, DeploymentsExportTemplateAtTenantScopeOptionalParams, DeploymentsWhatIfAtTenantScopeOptionalParams, DeploymentsValidateAtTenantScopeOptionalParams, DeploymentsCancelAtTenantScopeOptionalParams, DeploymentsDeleteAtTenantScopeOptionalParams, DeploymentsCreateOrUpdateAtTenantScopeOptionalParams, DeploymentsCheckExistenceAtTenantScopeOptionalParams, DeploymentsGetAtTenantScopeOptionalParams, DeploymentsExportTemplateAtScopeOptionalParams, DeploymentsValidateAtScopeOptionalParams, DeploymentsCancelAtScopeOptionalParams, DeploymentsListAtScopeOptionalParams, DeploymentsDeleteAtScopeOptionalParams, DeploymentsCreateOrUpdateAtScopeOptionalParams, DeploymentsCheckExistenceAtScopeOptionalParams, DeploymentsGetAtScopeOptionalParams } from "../../api/deployments/options.js";
|
|
3
|
+
import { DeploymentExtended, Deployment, DeploymentValidateResult, DeploymentExportResult, ScopedDeployment, ScopedDeploymentWhatIf, WhatIfOperationResult, DeploymentWhatIf, TemplateHashResult, DeploymentsCheckExistenceResponse, DeploymentsCheckExistenceAtSubscriptionScopeResponse, DeploymentsCheckExistenceAtManagementGroupScopeResponse, DeploymentsCheckExistenceAtTenantScopeResponse, DeploymentsCheckExistenceAtScopeResponse } from "../../models/models.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js";
|
|
6
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
/** Interface representing a Deployments operations. */
|
|
8
|
+
export interface DeploymentsOperations {
|
|
9
|
+
/** Calculate the hash of the given template. */
|
|
10
|
+
calculateTemplateHash: (template: any, options?: DeploymentsCalculateTemplateHashOptionalParams) => Promise<TemplateHashResult>;
|
|
11
|
+
/** Exports the template used for specified deployment. */
|
|
12
|
+
exportTemplate: (resourceGroupName: string, deploymentName: string, options?: DeploymentsExportTemplateOptionalParams) => Promise<DeploymentExportResult>;
|
|
13
|
+
/** Returns changes that will be made by the deployment if executed at the scope of the resource group. */
|
|
14
|
+
whatIf: (resourceGroupName: string, deploymentName: string, parameters: DeploymentWhatIf, options?: DeploymentsWhatIfOptionalParams) => PollerLike<OperationState<WhatIfOperationResult>, WhatIfOperationResult>;
|
|
15
|
+
/** @deprecated use whatIf instead */
|
|
16
|
+
beginWhatIf: (resourceGroupName: string, deploymentName: string, parameters: DeploymentWhatIf, options?: DeploymentsWhatIfOptionalParams) => Promise<SimplePollerLike<OperationState<WhatIfOperationResult>, WhatIfOperationResult>>;
|
|
17
|
+
/** @deprecated use whatIf instead */
|
|
18
|
+
beginWhatIfAndWait: (resourceGroupName: string, deploymentName: string, parameters: DeploymentWhatIf, options?: DeploymentsWhatIfOptionalParams) => Promise<WhatIfOperationResult>;
|
|
19
|
+
/** Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. */
|
|
20
|
+
validate: (resourceGroupName: string, deploymentName: string, parameters: Deployment, options?: DeploymentsValidateOptionalParams) => PollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>;
|
|
21
|
+
/** @deprecated use validate instead */
|
|
22
|
+
beginValidate: (resourceGroupName: string, deploymentName: string, parameters: Deployment, options?: DeploymentsValidateOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>>;
|
|
23
|
+
/** @deprecated use validate instead */
|
|
24
|
+
beginValidateAndWait: (resourceGroupName: string, deploymentName: string, parameters: Deployment, options?: DeploymentsValidateOptionalParams) => Promise<DeploymentValidateResult>;
|
|
25
|
+
/** You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed. */
|
|
26
|
+
cancel: (resourceGroupName: string, deploymentName: string, options?: DeploymentsCancelOptionalParams) => Promise<void>;
|
|
27
|
+
/** Get all the deployments for a resource group. */
|
|
28
|
+
listByResourceGroup: (resourceGroupName: string, options?: DeploymentsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DeploymentExtended>;
|
|
29
|
+
/** A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. */
|
|
30
|
+
delete: (resourceGroupName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
31
|
+
/** @deprecated use delete instead */
|
|
32
|
+
beginDelete: (resourceGroupName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
33
|
+
/** @deprecated use delete instead */
|
|
34
|
+
beginDeleteAndWait: (resourceGroupName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => Promise<void>;
|
|
35
|
+
/** You can provide the template and parameters directly in the request or link to JSON files. */
|
|
36
|
+
createOrUpdate: (resourceGroupName: string, deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => PollerLike<OperationState<DeploymentExtended>, DeploymentExtended>;
|
|
37
|
+
/** @deprecated use createOrUpdate instead */
|
|
38
|
+
beginCreateOrUpdate: (resourceGroupName: string, deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentExtended>, DeploymentExtended>>;
|
|
39
|
+
/** @deprecated use createOrUpdate instead */
|
|
40
|
+
beginCreateOrUpdateAndWait: (resourceGroupName: string, deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => Promise<DeploymentExtended>;
|
|
41
|
+
/** Checks whether the deployment exists. */
|
|
42
|
+
checkExistence: (resourceGroupName: string, deploymentName: string, options?: DeploymentsCheckExistenceOptionalParams) => Promise<DeploymentsCheckExistenceResponse>;
|
|
43
|
+
/** Gets a deployment. */
|
|
44
|
+
get: (resourceGroupName: string, deploymentName: string, options?: DeploymentsGetOptionalParams) => Promise<DeploymentExtended>;
|
|
45
|
+
/** Exports the template used for specified deployment. */
|
|
46
|
+
exportTemplateAtSubscriptionScope: (deploymentName: string, options?: DeploymentsExportTemplateAtSubscriptionScopeOptionalParams) => Promise<DeploymentExportResult>;
|
|
47
|
+
/** Returns changes that will be made by the deployment if executed at the scope of the subscription. */
|
|
48
|
+
whatIfAtSubscriptionScope: (deploymentName: string, parameters: DeploymentWhatIf, options?: DeploymentsWhatIfAtSubscriptionScopeOptionalParams) => PollerLike<OperationState<WhatIfOperationResult>, WhatIfOperationResult>;
|
|
49
|
+
/** @deprecated use whatIfAtSubscriptionScope instead */
|
|
50
|
+
beginWhatIfAtSubscriptionScope: (deploymentName: string, parameters: DeploymentWhatIf, options?: DeploymentsWhatIfAtSubscriptionScopeOptionalParams) => Promise<SimplePollerLike<OperationState<WhatIfOperationResult>, WhatIfOperationResult>>;
|
|
51
|
+
/** @deprecated use whatIfAtSubscriptionScope instead */
|
|
52
|
+
beginWhatIfAtSubscriptionScopeAndWait: (deploymentName: string, parameters: DeploymentWhatIf, options?: DeploymentsWhatIfAtSubscriptionScopeOptionalParams) => Promise<WhatIfOperationResult>;
|
|
53
|
+
/** Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. */
|
|
54
|
+
validateAtSubscriptionScope: (deploymentName: string, parameters: Deployment, options?: DeploymentsValidateAtSubscriptionScopeOptionalParams) => PollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>;
|
|
55
|
+
/** @deprecated use validateAtSubscriptionScope instead */
|
|
56
|
+
beginValidateAtSubscriptionScope: (deploymentName: string, parameters: Deployment, options?: DeploymentsValidateAtSubscriptionScopeOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>>;
|
|
57
|
+
/** @deprecated use validateAtSubscriptionScope instead */
|
|
58
|
+
beginValidateAtSubscriptionScopeAndWait: (deploymentName: string, parameters: Deployment, options?: DeploymentsValidateAtSubscriptionScopeOptionalParams) => Promise<DeploymentValidateResult>;
|
|
59
|
+
/** You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. */
|
|
60
|
+
cancelAtSubscriptionScope: (deploymentName: string, options?: DeploymentsCancelAtSubscriptionScopeOptionalParams) => Promise<void>;
|
|
61
|
+
/** Get all the deployments for a subscription. */
|
|
62
|
+
listAtSubscriptionScope: (options?: DeploymentsListAtSubscriptionScopeOptionalParams) => PagedAsyncIterableIterator<DeploymentExtended>;
|
|
63
|
+
/** A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. */
|
|
64
|
+
deleteAtSubscriptionScope: (deploymentName: string, options?: DeploymentsDeleteAtSubscriptionScopeOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
65
|
+
/** @deprecated use deleteAtSubscriptionScope instead */
|
|
66
|
+
beginDeleteAtSubscriptionScope: (deploymentName: string, options?: DeploymentsDeleteAtSubscriptionScopeOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
67
|
+
/** @deprecated use deleteAtSubscriptionScope instead */
|
|
68
|
+
beginDeleteAtSubscriptionScopeAndWait: (deploymentName: string, options?: DeploymentsDeleteAtSubscriptionScopeOptionalParams) => Promise<void>;
|
|
69
|
+
/** You can provide the template and parameters directly in the request or link to JSON files. */
|
|
70
|
+
createOrUpdateAtSubscriptionScope: (deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateAtSubscriptionScopeOptionalParams) => PollerLike<OperationState<DeploymentExtended>, DeploymentExtended>;
|
|
71
|
+
/** @deprecated use createOrUpdateAtSubscriptionScope instead */
|
|
72
|
+
beginCreateOrUpdateAtSubscriptionScope: (deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateAtSubscriptionScopeOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentExtended>, DeploymentExtended>>;
|
|
73
|
+
/** @deprecated use createOrUpdateAtSubscriptionScope instead */
|
|
74
|
+
beginCreateOrUpdateAtSubscriptionScopeAndWait: (deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateAtSubscriptionScopeOptionalParams) => Promise<DeploymentExtended>;
|
|
75
|
+
/** Checks whether the deployment exists. */
|
|
76
|
+
checkExistenceAtSubscriptionScope: (deploymentName: string, options?: DeploymentsCheckExistenceAtSubscriptionScopeOptionalParams) => Promise<DeploymentsCheckExistenceAtSubscriptionScopeResponse>;
|
|
77
|
+
/** Gets a deployment. */
|
|
78
|
+
getAtSubscriptionScope: (deploymentName: string, options?: DeploymentsGetAtSubscriptionScopeOptionalParams) => Promise<DeploymentExtended>;
|
|
79
|
+
/** Exports the template used for specified deployment. */
|
|
80
|
+
exportTemplateAtManagementGroupScope: (groupId: string, deploymentName: string, options?: DeploymentsExportTemplateAtManagementGroupScopeOptionalParams) => Promise<DeploymentExportResult>;
|
|
81
|
+
/** Returns changes that will be made by the deployment if executed at the scope of the management group. */
|
|
82
|
+
whatIfAtManagementGroupScope: (groupId: string, deploymentName: string, parameters: ScopedDeploymentWhatIf, options?: DeploymentsWhatIfAtManagementGroupScopeOptionalParams) => PollerLike<OperationState<WhatIfOperationResult>, WhatIfOperationResult>;
|
|
83
|
+
/** @deprecated use whatIfAtManagementGroupScope instead */
|
|
84
|
+
beginWhatIfAtManagementGroupScope: (groupId: string, deploymentName: string, parameters: ScopedDeploymentWhatIf, options?: DeploymentsWhatIfAtManagementGroupScopeOptionalParams) => Promise<SimplePollerLike<OperationState<WhatIfOperationResult>, WhatIfOperationResult>>;
|
|
85
|
+
/** @deprecated use whatIfAtManagementGroupScope instead */
|
|
86
|
+
beginWhatIfAtManagementGroupScopeAndWait: (groupId: string, deploymentName: string, parameters: ScopedDeploymentWhatIf, options?: DeploymentsWhatIfAtManagementGroupScopeOptionalParams) => Promise<WhatIfOperationResult>;
|
|
87
|
+
/** Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. */
|
|
88
|
+
validateAtManagementGroupScope: (groupId: string, deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsValidateAtManagementGroupScopeOptionalParams) => PollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>;
|
|
89
|
+
/** @deprecated use validateAtManagementGroupScope instead */
|
|
90
|
+
beginValidateAtManagementGroupScope: (groupId: string, deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsValidateAtManagementGroupScopeOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>>;
|
|
91
|
+
/** @deprecated use validateAtManagementGroupScope instead */
|
|
92
|
+
beginValidateAtManagementGroupScopeAndWait: (groupId: string, deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsValidateAtManagementGroupScopeOptionalParams) => Promise<DeploymentValidateResult>;
|
|
93
|
+
/** You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. */
|
|
94
|
+
cancelAtManagementGroupScope: (groupId: string, deploymentName: string, options?: DeploymentsCancelAtManagementGroupScopeOptionalParams) => Promise<void>;
|
|
95
|
+
/** Get all the deployments for a management group. */
|
|
96
|
+
listAtManagementGroupScope: (groupId: string, options?: DeploymentsListAtManagementGroupScopeOptionalParams) => PagedAsyncIterableIterator<DeploymentExtended>;
|
|
97
|
+
/** A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. */
|
|
98
|
+
deleteAtManagementGroupScope: (groupId: string, deploymentName: string, options?: DeploymentsDeleteAtManagementGroupScopeOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
99
|
+
/** @deprecated use deleteAtManagementGroupScope instead */
|
|
100
|
+
beginDeleteAtManagementGroupScope: (groupId: string, deploymentName: string, options?: DeploymentsDeleteAtManagementGroupScopeOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
101
|
+
/** @deprecated use deleteAtManagementGroupScope instead */
|
|
102
|
+
beginDeleteAtManagementGroupScopeAndWait: (groupId: string, deploymentName: string, options?: DeploymentsDeleteAtManagementGroupScopeOptionalParams) => Promise<void>;
|
|
103
|
+
/** You can provide the template and parameters directly in the request or link to JSON files. */
|
|
104
|
+
createOrUpdateAtManagementGroupScope: (groupId: string, deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsCreateOrUpdateAtManagementGroupScopeOptionalParams) => PollerLike<OperationState<DeploymentExtended>, DeploymentExtended>;
|
|
105
|
+
/** @deprecated use createOrUpdateAtManagementGroupScope instead */
|
|
106
|
+
beginCreateOrUpdateAtManagementGroupScope: (groupId: string, deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsCreateOrUpdateAtManagementGroupScopeOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentExtended>, DeploymentExtended>>;
|
|
107
|
+
/** @deprecated use createOrUpdateAtManagementGroupScope instead */
|
|
108
|
+
beginCreateOrUpdateAtManagementGroupScopeAndWait: (groupId: string, deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsCreateOrUpdateAtManagementGroupScopeOptionalParams) => Promise<DeploymentExtended>;
|
|
109
|
+
/** Checks whether the deployment exists. */
|
|
110
|
+
checkExistenceAtManagementGroupScope: (groupId: string, deploymentName: string, options?: DeploymentsCheckExistenceAtManagementGroupScopeOptionalParams) => Promise<DeploymentsCheckExistenceAtManagementGroupScopeResponse>;
|
|
111
|
+
/** Gets a deployment. */
|
|
112
|
+
getAtManagementGroupScope: (groupId: string, deploymentName: string, options?: DeploymentsGetAtManagementGroupScopeOptionalParams) => Promise<DeploymentExtended>;
|
|
113
|
+
/** Get all the deployments at the tenant scope. */
|
|
114
|
+
listAtTenantScope: (options?: DeploymentsListAtTenantScopeOptionalParams) => PagedAsyncIterableIterator<DeploymentExtended>;
|
|
115
|
+
/** Exports the template used for specified deployment. */
|
|
116
|
+
exportTemplateAtTenantScope: (deploymentName: string, options?: DeploymentsExportTemplateAtTenantScopeOptionalParams) => Promise<DeploymentExportResult>;
|
|
117
|
+
/** Returns changes that will be made by the deployment if executed at the scope of the tenant group. */
|
|
118
|
+
whatIfAtTenantScope: (deploymentName: string, parameters: ScopedDeploymentWhatIf, options?: DeploymentsWhatIfAtTenantScopeOptionalParams) => PollerLike<OperationState<WhatIfOperationResult>, WhatIfOperationResult>;
|
|
119
|
+
/** @deprecated use whatIfAtTenantScope instead */
|
|
120
|
+
beginWhatIfAtTenantScope: (deploymentName: string, parameters: ScopedDeploymentWhatIf, options?: DeploymentsWhatIfAtTenantScopeOptionalParams) => Promise<SimplePollerLike<OperationState<WhatIfOperationResult>, WhatIfOperationResult>>;
|
|
121
|
+
/** @deprecated use whatIfAtTenantScope instead */
|
|
122
|
+
beginWhatIfAtTenantScopeAndWait: (deploymentName: string, parameters: ScopedDeploymentWhatIf, options?: DeploymentsWhatIfAtTenantScopeOptionalParams) => Promise<WhatIfOperationResult>;
|
|
123
|
+
/** Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. */
|
|
124
|
+
validateAtTenantScope: (deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsValidateAtTenantScopeOptionalParams) => PollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>;
|
|
125
|
+
/** @deprecated use validateAtTenantScope instead */
|
|
126
|
+
beginValidateAtTenantScope: (deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsValidateAtTenantScopeOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>>;
|
|
127
|
+
/** @deprecated use validateAtTenantScope instead */
|
|
128
|
+
beginValidateAtTenantScopeAndWait: (deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsValidateAtTenantScopeOptionalParams) => Promise<DeploymentValidateResult>;
|
|
129
|
+
/** You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. */
|
|
130
|
+
cancelAtTenantScope: (deploymentName: string, options?: DeploymentsCancelAtTenantScopeOptionalParams) => Promise<void>;
|
|
131
|
+
/** A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. */
|
|
132
|
+
deleteAtTenantScope: (deploymentName: string, options?: DeploymentsDeleteAtTenantScopeOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
133
|
+
/** @deprecated use deleteAtTenantScope instead */
|
|
134
|
+
beginDeleteAtTenantScope: (deploymentName: string, options?: DeploymentsDeleteAtTenantScopeOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
135
|
+
/** @deprecated use deleteAtTenantScope instead */
|
|
136
|
+
beginDeleteAtTenantScopeAndWait: (deploymentName: string, options?: DeploymentsDeleteAtTenantScopeOptionalParams) => Promise<void>;
|
|
137
|
+
/** You can provide the template and parameters directly in the request or link to JSON files. */
|
|
138
|
+
createOrUpdateAtTenantScope: (deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsCreateOrUpdateAtTenantScopeOptionalParams) => PollerLike<OperationState<DeploymentExtended>, DeploymentExtended>;
|
|
139
|
+
/** @deprecated use createOrUpdateAtTenantScope instead */
|
|
140
|
+
beginCreateOrUpdateAtTenantScope: (deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsCreateOrUpdateAtTenantScopeOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentExtended>, DeploymentExtended>>;
|
|
141
|
+
/** @deprecated use createOrUpdateAtTenantScope instead */
|
|
142
|
+
beginCreateOrUpdateAtTenantScopeAndWait: (deploymentName: string, parameters: ScopedDeployment, options?: DeploymentsCreateOrUpdateAtTenantScopeOptionalParams) => Promise<DeploymentExtended>;
|
|
143
|
+
/** Checks whether the deployment exists. */
|
|
144
|
+
checkExistenceAtTenantScope: (deploymentName: string, options?: DeploymentsCheckExistenceAtTenantScopeOptionalParams) => Promise<DeploymentsCheckExistenceAtTenantScopeResponse>;
|
|
145
|
+
/** Gets a deployment. */
|
|
146
|
+
getAtTenantScope: (deploymentName: string, options?: DeploymentsGetAtTenantScopeOptionalParams) => Promise<DeploymentExtended>;
|
|
147
|
+
/** Exports the template used for specified deployment. */
|
|
148
|
+
exportTemplateAtScope: (scope: string, deploymentName: string, options?: DeploymentsExportTemplateAtScopeOptionalParams) => Promise<DeploymentExportResult>;
|
|
149
|
+
/** Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. */
|
|
150
|
+
validateAtScope: (scope: string, deploymentName: string, parameters: Deployment, options?: DeploymentsValidateAtScopeOptionalParams) => PollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>;
|
|
151
|
+
/** @deprecated use validateAtScope instead */
|
|
152
|
+
beginValidateAtScope: (scope: string, deploymentName: string, parameters: Deployment, options?: DeploymentsValidateAtScopeOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentValidateResult>, DeploymentValidateResult>>;
|
|
153
|
+
/** @deprecated use validateAtScope instead */
|
|
154
|
+
beginValidateAtScopeAndWait: (scope: string, deploymentName: string, parameters: Deployment, options?: DeploymentsValidateAtScopeOptionalParams) => Promise<DeploymentValidateResult>;
|
|
155
|
+
/** You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. */
|
|
156
|
+
cancelAtScope: (scope: string, deploymentName: string, options?: DeploymentsCancelAtScopeOptionalParams) => Promise<void>;
|
|
157
|
+
/** Get all the deployments at the given scope. */
|
|
158
|
+
listAtScope: (scope: string, options?: DeploymentsListAtScopeOptionalParams) => PagedAsyncIterableIterator<DeploymentExtended>;
|
|
159
|
+
/** A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. */
|
|
160
|
+
deleteAtScope: (scope: string, deploymentName: string, options?: DeploymentsDeleteAtScopeOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
161
|
+
/** @deprecated use deleteAtScope instead */
|
|
162
|
+
beginDeleteAtScope: (scope: string, deploymentName: string, options?: DeploymentsDeleteAtScopeOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
163
|
+
/** @deprecated use deleteAtScope instead */
|
|
164
|
+
beginDeleteAtScopeAndWait: (scope: string, deploymentName: string, options?: DeploymentsDeleteAtScopeOptionalParams) => Promise<void>;
|
|
165
|
+
/** You can provide the template and parameters directly in the request or link to JSON files. */
|
|
166
|
+
createOrUpdateAtScope: (scope: string, deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateAtScopeOptionalParams) => PollerLike<OperationState<DeploymentExtended>, DeploymentExtended>;
|
|
167
|
+
/** @deprecated use createOrUpdateAtScope instead */
|
|
168
|
+
beginCreateOrUpdateAtScope: (scope: string, deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateAtScopeOptionalParams) => Promise<SimplePollerLike<OperationState<DeploymentExtended>, DeploymentExtended>>;
|
|
169
|
+
/** @deprecated use createOrUpdateAtScope instead */
|
|
170
|
+
beginCreateOrUpdateAtScopeAndWait: (scope: string, deploymentName: string, parameters: Deployment, options?: DeploymentsCreateOrUpdateAtScopeOptionalParams) => Promise<DeploymentExtended>;
|
|
171
|
+
/** Checks whether the deployment exists. */
|
|
172
|
+
checkExistenceAtScope: (scope: string, deploymentName: string, options?: DeploymentsCheckExistenceAtScopeOptionalParams) => Promise<DeploymentsCheckExistenceAtScopeResponse>;
|
|
173
|
+
/** Gets a deployment. */
|
|
174
|
+
getAtScope: (scope: string, deploymentName: string, options?: DeploymentsGetAtScopeOptionalParams) => Promise<DeploymentExtended>;
|
|
175
|
+
}
|
|
176
|
+
export declare function _getDeploymentsOperations(context: DeploymentsContext): DeploymentsOperations;
|
|
177
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { calculateTemplateHash, exportTemplate, whatIf, validate, cancel, listByResourceGroup, $delete, createOrUpdate, checkExistence, get, exportTemplateAtSubscriptionScope, whatIfAtSubscriptionScope, validateAtSubscriptionScope, cancelAtSubscriptionScope, listAtSubscriptionScope, deleteAtSubscriptionScope, createOrUpdateAtSubscriptionScope, checkExistenceAtSubscriptionScope, getAtSubscriptionScope, exportTemplateAtManagementGroupScope, whatIfAtManagementGroupScope, validateAtManagementGroupScope, cancelAtManagementGroupScope, listAtManagementGroupScope, deleteAtManagementGroupScope, createOrUpdateAtManagementGroupScope, checkExistenceAtManagementGroupScope, getAtManagementGroupScope, listAtTenantScope, exportTemplateAtTenantScope, whatIfAtTenantScope, validateAtTenantScope, cancelAtTenantScope, deleteAtTenantScope, createOrUpdateAtTenantScope, checkExistenceAtTenantScope, getAtTenantScope, exportTemplateAtScope, validateAtScope, cancelAtScope, listAtScope, deleteAtScope, createOrUpdateAtScope, checkExistenceAtScope, getAtScope, } from "../../api/deployments/operations.js";
|
|
4
|
+
import { getSimplePoller } from "../../static-helpers/simplePollerHelpers.js";
|
|
5
|
+
function _getDeployments(context) {
|
|
6
|
+
return {
|
|
7
|
+
calculateTemplateHash: (template, options) => calculateTemplateHash(context, template, options),
|
|
8
|
+
exportTemplate: (resourceGroupName, deploymentName, options) => exportTemplate(context, resourceGroupName, deploymentName, options),
|
|
9
|
+
whatIf: (resourceGroupName, deploymentName, parameters, options) => whatIf(context, resourceGroupName, deploymentName, parameters, options),
|
|
10
|
+
beginWhatIf: async (resourceGroupName, deploymentName, parameters, options) => {
|
|
11
|
+
const poller = whatIf(context, resourceGroupName, deploymentName, parameters, options);
|
|
12
|
+
await poller.submitted();
|
|
13
|
+
return getSimplePoller(poller);
|
|
14
|
+
},
|
|
15
|
+
beginWhatIfAndWait: async (resourceGroupName, deploymentName, parameters, options) => {
|
|
16
|
+
return await whatIf(context, resourceGroupName, deploymentName, parameters, options);
|
|
17
|
+
},
|
|
18
|
+
validate: (resourceGroupName, deploymentName, parameters, options) => validate(context, resourceGroupName, deploymentName, parameters, options),
|
|
19
|
+
beginValidate: async (resourceGroupName, deploymentName, parameters, options) => {
|
|
20
|
+
const poller = validate(context, resourceGroupName, deploymentName, parameters, options);
|
|
21
|
+
await poller.submitted();
|
|
22
|
+
return getSimplePoller(poller);
|
|
23
|
+
},
|
|
24
|
+
beginValidateAndWait: async (resourceGroupName, deploymentName, parameters, options) => {
|
|
25
|
+
return await validate(context, resourceGroupName, deploymentName, parameters, options);
|
|
26
|
+
},
|
|
27
|
+
cancel: (resourceGroupName, deploymentName, options) => cancel(context, resourceGroupName, deploymentName, options),
|
|
28
|
+
listByResourceGroup: (resourceGroupName, options) => listByResourceGroup(context, resourceGroupName, options),
|
|
29
|
+
delete: (resourceGroupName, deploymentName, options) => $delete(context, resourceGroupName, deploymentName, options),
|
|
30
|
+
beginDelete: async (resourceGroupName, deploymentName, options) => {
|
|
31
|
+
const poller = $delete(context, resourceGroupName, deploymentName, options);
|
|
32
|
+
await poller.submitted();
|
|
33
|
+
return getSimplePoller(poller);
|
|
34
|
+
},
|
|
35
|
+
beginDeleteAndWait: async (resourceGroupName, deploymentName, options) => {
|
|
36
|
+
return await $delete(context, resourceGroupName, deploymentName, options);
|
|
37
|
+
},
|
|
38
|
+
createOrUpdate: (resourceGroupName, deploymentName, parameters, options) => createOrUpdate(context, resourceGroupName, deploymentName, parameters, options),
|
|
39
|
+
beginCreateOrUpdate: async (resourceGroupName, deploymentName, parameters, options) => {
|
|
40
|
+
const poller = createOrUpdate(context, resourceGroupName, deploymentName, parameters, options);
|
|
41
|
+
await poller.submitted();
|
|
42
|
+
return getSimplePoller(poller);
|
|
43
|
+
},
|
|
44
|
+
beginCreateOrUpdateAndWait: async (resourceGroupName, deploymentName, parameters, options) => {
|
|
45
|
+
return await createOrUpdate(context, resourceGroupName, deploymentName, parameters, options);
|
|
46
|
+
},
|
|
47
|
+
checkExistence: (resourceGroupName, deploymentName, options) => checkExistence(context, resourceGroupName, deploymentName, options),
|
|
48
|
+
get: (resourceGroupName, deploymentName, options) => get(context, resourceGroupName, deploymentName, options),
|
|
49
|
+
exportTemplateAtSubscriptionScope: (deploymentName, options) => exportTemplateAtSubscriptionScope(context, deploymentName, options),
|
|
50
|
+
whatIfAtSubscriptionScope: (deploymentName, parameters, options) => whatIfAtSubscriptionScope(context, deploymentName, parameters, options),
|
|
51
|
+
beginWhatIfAtSubscriptionScope: async (deploymentName, parameters, options) => {
|
|
52
|
+
const poller = whatIfAtSubscriptionScope(context, deploymentName, parameters, options);
|
|
53
|
+
await poller.submitted();
|
|
54
|
+
return getSimplePoller(poller);
|
|
55
|
+
},
|
|
56
|
+
beginWhatIfAtSubscriptionScopeAndWait: async (deploymentName, parameters, options) => {
|
|
57
|
+
return await whatIfAtSubscriptionScope(context, deploymentName, parameters, options);
|
|
58
|
+
},
|
|
59
|
+
validateAtSubscriptionScope: (deploymentName, parameters, options) => validateAtSubscriptionScope(context, deploymentName, parameters, options),
|
|
60
|
+
beginValidateAtSubscriptionScope: async (deploymentName, parameters, options) => {
|
|
61
|
+
const poller = validateAtSubscriptionScope(context, deploymentName, parameters, options);
|
|
62
|
+
await poller.submitted();
|
|
63
|
+
return getSimplePoller(poller);
|
|
64
|
+
},
|
|
65
|
+
beginValidateAtSubscriptionScopeAndWait: async (deploymentName, parameters, options) => {
|
|
66
|
+
return await validateAtSubscriptionScope(context, deploymentName, parameters, options);
|
|
67
|
+
},
|
|
68
|
+
cancelAtSubscriptionScope: (deploymentName, options) => cancelAtSubscriptionScope(context, deploymentName, options),
|
|
69
|
+
listAtSubscriptionScope: (options) => listAtSubscriptionScope(context, options),
|
|
70
|
+
deleteAtSubscriptionScope: (deploymentName, options) => deleteAtSubscriptionScope(context, deploymentName, options),
|
|
71
|
+
beginDeleteAtSubscriptionScope: async (deploymentName, options) => {
|
|
72
|
+
const poller = deleteAtSubscriptionScope(context, deploymentName, options);
|
|
73
|
+
await poller.submitted();
|
|
74
|
+
return getSimplePoller(poller);
|
|
75
|
+
},
|
|
76
|
+
beginDeleteAtSubscriptionScopeAndWait: async (deploymentName, options) => {
|
|
77
|
+
return await deleteAtSubscriptionScope(context, deploymentName, options);
|
|
78
|
+
},
|
|
79
|
+
createOrUpdateAtSubscriptionScope: (deploymentName, parameters, options) => createOrUpdateAtSubscriptionScope(context, deploymentName, parameters, options),
|
|
80
|
+
beginCreateOrUpdateAtSubscriptionScope: async (deploymentName, parameters, options) => {
|
|
81
|
+
const poller = createOrUpdateAtSubscriptionScope(context, deploymentName, parameters, options);
|
|
82
|
+
await poller.submitted();
|
|
83
|
+
return getSimplePoller(poller);
|
|
84
|
+
},
|
|
85
|
+
beginCreateOrUpdateAtSubscriptionScopeAndWait: async (deploymentName, parameters, options) => {
|
|
86
|
+
return await createOrUpdateAtSubscriptionScope(context, deploymentName, parameters, options);
|
|
87
|
+
},
|
|
88
|
+
checkExistenceAtSubscriptionScope: (deploymentName, options) => checkExistenceAtSubscriptionScope(context, deploymentName, options),
|
|
89
|
+
getAtSubscriptionScope: (deploymentName, options) => getAtSubscriptionScope(context, deploymentName, options),
|
|
90
|
+
exportTemplateAtManagementGroupScope: (groupId, deploymentName, options) => exportTemplateAtManagementGroupScope(context, groupId, deploymentName, options),
|
|
91
|
+
whatIfAtManagementGroupScope: (groupId, deploymentName, parameters, options) => whatIfAtManagementGroupScope(context, groupId, deploymentName, parameters, options),
|
|
92
|
+
beginWhatIfAtManagementGroupScope: async (groupId, deploymentName, parameters, options) => {
|
|
93
|
+
const poller = whatIfAtManagementGroupScope(context, groupId, deploymentName, parameters, options);
|
|
94
|
+
await poller.submitted();
|
|
95
|
+
return getSimplePoller(poller);
|
|
96
|
+
},
|
|
97
|
+
beginWhatIfAtManagementGroupScopeAndWait: async (groupId, deploymentName, parameters, options) => {
|
|
98
|
+
return await whatIfAtManagementGroupScope(context, groupId, deploymentName, parameters, options);
|
|
99
|
+
},
|
|
100
|
+
validateAtManagementGroupScope: (groupId, deploymentName, parameters, options) => validateAtManagementGroupScope(context, groupId, deploymentName, parameters, options),
|
|
101
|
+
beginValidateAtManagementGroupScope: async (groupId, deploymentName, parameters, options) => {
|
|
102
|
+
const poller = validateAtManagementGroupScope(context, groupId, deploymentName, parameters, options);
|
|
103
|
+
await poller.submitted();
|
|
104
|
+
return getSimplePoller(poller);
|
|
105
|
+
},
|
|
106
|
+
beginValidateAtManagementGroupScopeAndWait: async (groupId, deploymentName, parameters, options) => {
|
|
107
|
+
return await validateAtManagementGroupScope(context, groupId, deploymentName, parameters, options);
|
|
108
|
+
},
|
|
109
|
+
cancelAtManagementGroupScope: (groupId, deploymentName, options) => cancelAtManagementGroupScope(context, groupId, deploymentName, options),
|
|
110
|
+
listAtManagementGroupScope: (groupId, options) => listAtManagementGroupScope(context, groupId, options),
|
|
111
|
+
deleteAtManagementGroupScope: (groupId, deploymentName, options) => deleteAtManagementGroupScope(context, groupId, deploymentName, options),
|
|
112
|
+
beginDeleteAtManagementGroupScope: async (groupId, deploymentName, options) => {
|
|
113
|
+
const poller = deleteAtManagementGroupScope(context, groupId, deploymentName, options);
|
|
114
|
+
await poller.submitted();
|
|
115
|
+
return getSimplePoller(poller);
|
|
116
|
+
},
|
|
117
|
+
beginDeleteAtManagementGroupScopeAndWait: async (groupId, deploymentName, options) => {
|
|
118
|
+
return await deleteAtManagementGroupScope(context, groupId, deploymentName, options);
|
|
119
|
+
},
|
|
120
|
+
createOrUpdateAtManagementGroupScope: (groupId, deploymentName, parameters, options) => createOrUpdateAtManagementGroupScope(context, groupId, deploymentName, parameters, options),
|
|
121
|
+
beginCreateOrUpdateAtManagementGroupScope: async (groupId, deploymentName, parameters, options) => {
|
|
122
|
+
const poller = createOrUpdateAtManagementGroupScope(context, groupId, deploymentName, parameters, options);
|
|
123
|
+
await poller.submitted();
|
|
124
|
+
return getSimplePoller(poller);
|
|
125
|
+
},
|
|
126
|
+
beginCreateOrUpdateAtManagementGroupScopeAndWait: async (groupId, deploymentName, parameters, options) => {
|
|
127
|
+
return await createOrUpdateAtManagementGroupScope(context, groupId, deploymentName, parameters, options);
|
|
128
|
+
},
|
|
129
|
+
checkExistenceAtManagementGroupScope: (groupId, deploymentName, options) => checkExistenceAtManagementGroupScope(context, groupId, deploymentName, options),
|
|
130
|
+
getAtManagementGroupScope: (groupId, deploymentName, options) => getAtManagementGroupScope(context, groupId, deploymentName, options),
|
|
131
|
+
listAtTenantScope: (options) => listAtTenantScope(context, options),
|
|
132
|
+
exportTemplateAtTenantScope: (deploymentName, options) => exportTemplateAtTenantScope(context, deploymentName, options),
|
|
133
|
+
whatIfAtTenantScope: (deploymentName, parameters, options) => whatIfAtTenantScope(context, deploymentName, parameters, options),
|
|
134
|
+
beginWhatIfAtTenantScope: async (deploymentName, parameters, options) => {
|
|
135
|
+
const poller = whatIfAtTenantScope(context, deploymentName, parameters, options);
|
|
136
|
+
await poller.submitted();
|
|
137
|
+
return getSimplePoller(poller);
|
|
138
|
+
},
|
|
139
|
+
beginWhatIfAtTenantScopeAndWait: async (deploymentName, parameters, options) => {
|
|
140
|
+
return await whatIfAtTenantScope(context, deploymentName, parameters, options);
|
|
141
|
+
},
|
|
142
|
+
validateAtTenantScope: (deploymentName, parameters, options) => validateAtTenantScope(context, deploymentName, parameters, options),
|
|
143
|
+
beginValidateAtTenantScope: async (deploymentName, parameters, options) => {
|
|
144
|
+
const poller = validateAtTenantScope(context, deploymentName, parameters, options);
|
|
145
|
+
await poller.submitted();
|
|
146
|
+
return getSimplePoller(poller);
|
|
147
|
+
},
|
|
148
|
+
beginValidateAtTenantScopeAndWait: async (deploymentName, parameters, options) => {
|
|
149
|
+
return await validateAtTenantScope(context, deploymentName, parameters, options);
|
|
150
|
+
},
|
|
151
|
+
cancelAtTenantScope: (deploymentName, options) => cancelAtTenantScope(context, deploymentName, options),
|
|
152
|
+
deleteAtTenantScope: (deploymentName, options) => deleteAtTenantScope(context, deploymentName, options),
|
|
153
|
+
beginDeleteAtTenantScope: async (deploymentName, options) => {
|
|
154
|
+
const poller = deleteAtTenantScope(context, deploymentName, options);
|
|
155
|
+
await poller.submitted();
|
|
156
|
+
return getSimplePoller(poller);
|
|
157
|
+
},
|
|
158
|
+
beginDeleteAtTenantScopeAndWait: async (deploymentName, options) => {
|
|
159
|
+
return await deleteAtTenantScope(context, deploymentName, options);
|
|
160
|
+
},
|
|
161
|
+
createOrUpdateAtTenantScope: (deploymentName, parameters, options) => createOrUpdateAtTenantScope(context, deploymentName, parameters, options),
|
|
162
|
+
beginCreateOrUpdateAtTenantScope: async (deploymentName, parameters, options) => {
|
|
163
|
+
const poller = createOrUpdateAtTenantScope(context, deploymentName, parameters, options);
|
|
164
|
+
await poller.submitted();
|
|
165
|
+
return getSimplePoller(poller);
|
|
166
|
+
},
|
|
167
|
+
beginCreateOrUpdateAtTenantScopeAndWait: async (deploymentName, parameters, options) => {
|
|
168
|
+
return await createOrUpdateAtTenantScope(context, deploymentName, parameters, options);
|
|
169
|
+
},
|
|
170
|
+
checkExistenceAtTenantScope: (deploymentName, options) => checkExistenceAtTenantScope(context, deploymentName, options),
|
|
171
|
+
getAtTenantScope: (deploymentName, options) => getAtTenantScope(context, deploymentName, options),
|
|
172
|
+
exportTemplateAtScope: (scope, deploymentName, options) => exportTemplateAtScope(context, scope, deploymentName, options),
|
|
173
|
+
validateAtScope: (scope, deploymentName, parameters, options) => validateAtScope(context, scope, deploymentName, parameters, options),
|
|
174
|
+
beginValidateAtScope: async (scope, deploymentName, parameters, options) => {
|
|
175
|
+
const poller = validateAtScope(context, scope, deploymentName, parameters, options);
|
|
176
|
+
await poller.submitted();
|
|
177
|
+
return getSimplePoller(poller);
|
|
178
|
+
},
|
|
179
|
+
beginValidateAtScopeAndWait: async (scope, deploymentName, parameters, options) => {
|
|
180
|
+
return await validateAtScope(context, scope, deploymentName, parameters, options);
|
|
181
|
+
},
|
|
182
|
+
cancelAtScope: (scope, deploymentName, options) => cancelAtScope(context, scope, deploymentName, options),
|
|
183
|
+
listAtScope: (scope, options) => listAtScope(context, scope, options),
|
|
184
|
+
deleteAtScope: (scope, deploymentName, options) => deleteAtScope(context, scope, deploymentName, options),
|
|
185
|
+
beginDeleteAtScope: async (scope, deploymentName, options) => {
|
|
186
|
+
const poller = deleteAtScope(context, scope, deploymentName, options);
|
|
187
|
+
await poller.submitted();
|
|
188
|
+
return getSimplePoller(poller);
|
|
189
|
+
},
|
|
190
|
+
beginDeleteAtScopeAndWait: async (scope, deploymentName, options) => {
|
|
191
|
+
return await deleteAtScope(context, scope, deploymentName, options);
|
|
192
|
+
},
|
|
193
|
+
createOrUpdateAtScope: (scope, deploymentName, parameters, options) => createOrUpdateAtScope(context, scope, deploymentName, parameters, options),
|
|
194
|
+
beginCreateOrUpdateAtScope: async (scope, deploymentName, parameters, options) => {
|
|
195
|
+
const poller = createOrUpdateAtScope(context, scope, deploymentName, parameters, options);
|
|
196
|
+
await poller.submitted();
|
|
197
|
+
return getSimplePoller(poller);
|
|
198
|
+
},
|
|
199
|
+
beginCreateOrUpdateAtScopeAndWait: async (scope, deploymentName, parameters, options) => {
|
|
200
|
+
return await createOrUpdateAtScope(context, scope, deploymentName, parameters, options);
|
|
201
|
+
},
|
|
202
|
+
checkExistenceAtScope: (scope, deploymentName, options) => checkExistenceAtScope(context, scope, deploymentName, options),
|
|
203
|
+
getAtScope: (scope, deploymentName, options) => getAtScope(context, scope, deploymentName, options),
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
export function _getDeploymentsOperations(context) {
|
|
207
|
+
return {
|
|
208
|
+
..._getDeployments(context),
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
//# sourceMappingURL=index.js.map
|