@azure/arm-locks 2.1.1-alpha.20250211.1 → 2.1.1-alpha.20250212.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -18
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/managementLockClient.d.ts +2 -2
- package/dist/browser/managementLockClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/managementLockClient.js +15 -18
- package/dist/browser/managementLockClient.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/authorizationOperations.d.ts +3 -3
- package/dist/browser/operations/authorizationOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/authorizationOperations.js +3 -3
- package/dist/browser/operations/authorizationOperations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementLocks.d.ts +3 -3
- package/dist/browser/operations/managementLocks.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementLocks.js +3 -3
- package/dist/browser/operations/managementLocks.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/authorizationOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/managementLocks.d.ts +1 -1
- package/dist/browser/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/managementLocks.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/managementLockClient.d.ts +21 -0
- package/dist/commonjs/managementLockClient.d.ts.map +1 -0
- package/dist/commonjs/managementLockClient.js +103 -0
- package/dist/commonjs/managementLockClient.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +295 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +33 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +12 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +322 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +17 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +167 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/authorizationOperations.d.ts +32 -0
- package/dist/commonjs/operations/authorizationOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/authorizationOperations.js +138 -0
- package/dist/commonjs/operations/authorizationOperations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/managementLocks.d.ts +245 -0
- package/dist/commonjs/operations/managementLocks.d.ts.map +1 -0
- package/dist/commonjs/operations/managementLocks.js +977 -0
- package/dist/commonjs/operations/managementLocks.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/authorizationOperations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/authorizationOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementLocks.d.ts +159 -0
- package/dist/commonjs/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementLocks.js +10 -0
- package/dist/commonjs/operationsInterfaces/managementLocks.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/managementLockClient.d.ts +21 -0
- package/dist/esm/managementLockClient.d.ts.map +1 -0
- package/dist/esm/managementLockClient.js +98 -0
- package/dist/esm/managementLockClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +295 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +30 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +12 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +319 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +17 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +164 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/authorizationOperations.d.ts +32 -0
- package/dist/esm/operations/authorizationOperations.d.ts.map +1 -0
- package/dist/esm/operations/authorizationOperations.js +134 -0
- package/dist/esm/operations/authorizationOperations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/managementLocks.d.ts +245 -0
- package/dist/esm/operations/managementLocks.d.ts.map +1 -0
- package/dist/esm/operations/managementLocks.js +973 -0
- package/dist/esm/operations/managementLocks.js.map +1 -0
- package/dist/esm/operationsInterfaces/authorizationOperations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/authorizationOperations.js} +2 -3
- package/dist/esm/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/managementLocks.d.ts +159 -0
- package/dist/esm/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/managementLocks.js} +2 -3
- package/dist/esm/operationsInterfaces/managementLocks.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/managementLockClient.d.ts +21 -0
- package/dist/react-native/managementLockClient.d.ts.map +1 -0
- package/dist/react-native/managementLockClient.js +98 -0
- package/dist/react-native/managementLockClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +295 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +30 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +12 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +319 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +17 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +164 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/authorizationOperations.d.ts +32 -0
- package/dist/react-native/operations/authorizationOperations.d.ts.map +1 -0
- package/dist/react-native/operations/authorizationOperations.js +134 -0
- package/dist/react-native/operations/authorizationOperations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/managementLocks.d.ts +245 -0
- package/dist/react-native/operations/managementLocks.d.ts.map +1 -0
- package/dist/react-native/operations/managementLocks.js +973 -0
- package/dist/react-native/operations/managementLocks.js.map +1 -0
- package/dist/react-native/operationsInterfaces/authorizationOperations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/authorizationOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/managementLocks.d.ts +159 -0
- package/dist/react-native/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/managementLocks.js +9 -0
- package/dist/react-native/operationsInterfaces/managementLocks.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +69 -40
- package/dist/index.js +0 -1783
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/authorizationOperationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/authorizationOperationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/authorizationOperationsListSample.js +0 -43
- package/dist-esm/samples-dev/authorizationOperationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.js +0 -23
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.js +0 -27
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.js +0 -22
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.js +0 -23
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.js +0 -29
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.js +0 -33
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.js +0 -28
- package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.js +0 -29
- package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.js +0 -29
- package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.js +0 -33
- package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.js +0 -28
- package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksGetByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetByScopeSample.js +0 -29
- package/dist-esm/samples-dev/managementLocksGetByScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.js +0 -44
- package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.js +0 -48
- package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.js +0 -43
- package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksListByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksListByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksListByScopeSample.js +0 -44
- package/dist-esm/samples-dev/managementLocksListByScopeSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/managementLockClient.d.ts.map +0 -1
- package/dist-esm/src/managementLockClient.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/authorizationOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/authorizationOperations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -3
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/managementLocks.d.ts.map +0 -1
- package/dist-esm/src/operations/managementLocks.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/authorizationOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/authorizationOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementLocks.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementLocks.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/locks_examples.d.ts +0 -4
- package/dist-esm/test/locks_examples.d.ts.map +0 -1
- package/dist-esm/test/locks_examples.js +0 -93
- package/dist-esm/test/locks_examples.js.map +0 -1
- package/src/managementLockClient.ts +0 -145
- package/src/models/index.ts +0 -366
- package/src/models/mappers.ts +0 -330
- package/src/models/parameters.ts +0 -184
- package/src/operations/authorizationOperations.ts +0 -150
- package/src/operations/managementLocks.ts +0 -1252
- package/src/operationsInterfaces/authorizationOperations.ts +0 -25
- package/src/operationsInterfaces/managementLocks.ts +0 -270
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -35
- package/types/arm-locks.d.ts +0 -545
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/authorizationOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementLocks.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,973 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
10
|
+
import * as coreClient from "@azure/core-client";
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
14
|
+
/** Class containing ManagementLocks operations. */
|
15
|
+
export class ManagementLocksImpl {
|
16
|
+
/**
|
17
|
+
* Initialize a new instance of the class ManagementLocks class.
|
18
|
+
* @param client Reference to the service client
|
19
|
+
*/
|
20
|
+
constructor(client) {
|
21
|
+
this.client = client;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Gets all the management locks for a resource group.
|
25
|
+
* @param resourceGroupName The name of the resource group containing the locks to get.
|
26
|
+
* @param options The options parameters.
|
27
|
+
*/
|
28
|
+
listAtResourceGroupLevel(resourceGroupName, options) {
|
29
|
+
const iter = this.listAtResourceGroupLevelPagingAll(resourceGroupName, options);
|
30
|
+
return {
|
31
|
+
next() {
|
32
|
+
return iter.next();
|
33
|
+
},
|
34
|
+
[Symbol.asyncIterator]() {
|
35
|
+
return this;
|
36
|
+
},
|
37
|
+
byPage: (settings) => {
|
38
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
39
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
40
|
+
}
|
41
|
+
return this.listAtResourceGroupLevelPagingPage(resourceGroupName, options, settings);
|
42
|
+
}
|
43
|
+
};
|
44
|
+
}
|
45
|
+
listAtResourceGroupLevelPagingPage(resourceGroupName, options, settings) {
|
46
|
+
return __asyncGenerator(this, arguments, function* listAtResourceGroupLevelPagingPage_1() {
|
47
|
+
let result;
|
48
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
49
|
+
if (!continuationToken) {
|
50
|
+
result = yield __await(this._listAtResourceGroupLevel(resourceGroupName, options));
|
51
|
+
let page = result.value || [];
|
52
|
+
continuationToken = result.nextLink;
|
53
|
+
setContinuationToken(page, continuationToken);
|
54
|
+
yield yield __await(page);
|
55
|
+
}
|
56
|
+
while (continuationToken) {
|
57
|
+
result = yield __await(this._listAtResourceGroupLevelNext(resourceGroupName, continuationToken, options));
|
58
|
+
continuationToken = result.nextLink;
|
59
|
+
let page = result.value || [];
|
60
|
+
setContinuationToken(page, continuationToken);
|
61
|
+
yield yield __await(page);
|
62
|
+
}
|
63
|
+
});
|
64
|
+
}
|
65
|
+
listAtResourceGroupLevelPagingAll(resourceGroupName, options) {
|
66
|
+
return __asyncGenerator(this, arguments, function* listAtResourceGroupLevelPagingAll_1() {
|
67
|
+
var _a, e_1, _b, _c;
|
68
|
+
try {
|
69
|
+
for (var _d = true, _e = __asyncValues(this.listAtResourceGroupLevelPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
70
|
+
_c = _f.value;
|
71
|
+
_d = false;
|
72
|
+
const page = _c;
|
73
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
74
|
+
}
|
75
|
+
}
|
76
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
77
|
+
finally {
|
78
|
+
try {
|
79
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
80
|
+
}
|
81
|
+
finally { if (e_1) throw e_1.error; }
|
82
|
+
}
|
83
|
+
});
|
84
|
+
}
|
85
|
+
/**
|
86
|
+
* Gets all the management locks for a resource or any level below resource.
|
87
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
88
|
+
* case insensitive.
|
89
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
90
|
+
* @param parentResourcePath The parent resource identity.
|
91
|
+
* @param resourceType The resource type of the locked resource.
|
92
|
+
* @param resourceName The name of the locked resource.
|
93
|
+
* @param options The options parameters.
|
94
|
+
*/
|
95
|
+
listAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options) {
|
96
|
+
const iter = this.listAtResourceLevelPagingAll(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options);
|
97
|
+
return {
|
98
|
+
next() {
|
99
|
+
return iter.next();
|
100
|
+
},
|
101
|
+
[Symbol.asyncIterator]() {
|
102
|
+
return this;
|
103
|
+
},
|
104
|
+
byPage: (settings) => {
|
105
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
106
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
107
|
+
}
|
108
|
+
return this.listAtResourceLevelPagingPage(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options, settings);
|
109
|
+
}
|
110
|
+
};
|
111
|
+
}
|
112
|
+
listAtResourceLevelPagingPage(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options, settings) {
|
113
|
+
return __asyncGenerator(this, arguments, function* listAtResourceLevelPagingPage_1() {
|
114
|
+
let result;
|
115
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
116
|
+
if (!continuationToken) {
|
117
|
+
result = yield __await(this._listAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options));
|
118
|
+
let page = result.value || [];
|
119
|
+
continuationToken = result.nextLink;
|
120
|
+
setContinuationToken(page, continuationToken);
|
121
|
+
yield yield __await(page);
|
122
|
+
}
|
123
|
+
while (continuationToken) {
|
124
|
+
result = yield __await(this._listAtResourceLevelNext(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, continuationToken, options));
|
125
|
+
continuationToken = result.nextLink;
|
126
|
+
let page = result.value || [];
|
127
|
+
setContinuationToken(page, continuationToken);
|
128
|
+
yield yield __await(page);
|
129
|
+
}
|
130
|
+
});
|
131
|
+
}
|
132
|
+
listAtResourceLevelPagingAll(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options) {
|
133
|
+
return __asyncGenerator(this, arguments, function* listAtResourceLevelPagingAll_1() {
|
134
|
+
var _a, e_2, _b, _c;
|
135
|
+
try {
|
136
|
+
for (var _d = true, _e = __asyncValues(this.listAtResourceLevelPagingPage(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
137
|
+
_c = _f.value;
|
138
|
+
_d = false;
|
139
|
+
const page = _c;
|
140
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
141
|
+
}
|
142
|
+
}
|
143
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
144
|
+
finally {
|
145
|
+
try {
|
146
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
147
|
+
}
|
148
|
+
finally { if (e_2) throw e_2.error; }
|
149
|
+
}
|
150
|
+
});
|
151
|
+
}
|
152
|
+
/**
|
153
|
+
* Gets all the management locks for a subscription.
|
154
|
+
* @param options The options parameters.
|
155
|
+
*/
|
156
|
+
listAtSubscriptionLevel(options) {
|
157
|
+
const iter = this.listAtSubscriptionLevelPagingAll(options);
|
158
|
+
return {
|
159
|
+
next() {
|
160
|
+
return iter.next();
|
161
|
+
},
|
162
|
+
[Symbol.asyncIterator]() {
|
163
|
+
return this;
|
164
|
+
},
|
165
|
+
byPage: (settings) => {
|
166
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
167
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
168
|
+
}
|
169
|
+
return this.listAtSubscriptionLevelPagingPage(options, settings);
|
170
|
+
}
|
171
|
+
};
|
172
|
+
}
|
173
|
+
listAtSubscriptionLevelPagingPage(options, settings) {
|
174
|
+
return __asyncGenerator(this, arguments, function* listAtSubscriptionLevelPagingPage_1() {
|
175
|
+
let result;
|
176
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
177
|
+
if (!continuationToken) {
|
178
|
+
result = yield __await(this._listAtSubscriptionLevel(options));
|
179
|
+
let page = result.value || [];
|
180
|
+
continuationToken = result.nextLink;
|
181
|
+
setContinuationToken(page, continuationToken);
|
182
|
+
yield yield __await(page);
|
183
|
+
}
|
184
|
+
while (continuationToken) {
|
185
|
+
result = yield __await(this._listAtSubscriptionLevelNext(continuationToken, options));
|
186
|
+
continuationToken = result.nextLink;
|
187
|
+
let page = result.value || [];
|
188
|
+
setContinuationToken(page, continuationToken);
|
189
|
+
yield yield __await(page);
|
190
|
+
}
|
191
|
+
});
|
192
|
+
}
|
193
|
+
listAtSubscriptionLevelPagingAll(options) {
|
194
|
+
return __asyncGenerator(this, arguments, function* listAtSubscriptionLevelPagingAll_1() {
|
195
|
+
var _a, e_3, _b, _c;
|
196
|
+
try {
|
197
|
+
for (var _d = true, _e = __asyncValues(this.listAtSubscriptionLevelPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
198
|
+
_c = _f.value;
|
199
|
+
_d = false;
|
200
|
+
const page = _c;
|
201
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
202
|
+
}
|
203
|
+
}
|
204
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
205
|
+
finally {
|
206
|
+
try {
|
207
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
208
|
+
}
|
209
|
+
finally { if (e_3) throw e_3.error; }
|
210
|
+
}
|
211
|
+
});
|
212
|
+
}
|
213
|
+
/**
|
214
|
+
* Gets all the management locks for a scope.
|
215
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
216
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
217
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
218
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
219
|
+
* for resources.
|
220
|
+
* @param options The options parameters.
|
221
|
+
*/
|
222
|
+
listByScope(scope, options) {
|
223
|
+
const iter = this.listByScopePagingAll(scope, options);
|
224
|
+
return {
|
225
|
+
next() {
|
226
|
+
return iter.next();
|
227
|
+
},
|
228
|
+
[Symbol.asyncIterator]() {
|
229
|
+
return this;
|
230
|
+
},
|
231
|
+
byPage: (settings) => {
|
232
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
233
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
234
|
+
}
|
235
|
+
return this.listByScopePagingPage(scope, options, settings);
|
236
|
+
}
|
237
|
+
};
|
238
|
+
}
|
239
|
+
listByScopePagingPage(scope, options, settings) {
|
240
|
+
return __asyncGenerator(this, arguments, function* listByScopePagingPage_1() {
|
241
|
+
let result;
|
242
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
243
|
+
if (!continuationToken) {
|
244
|
+
result = yield __await(this._listByScope(scope, options));
|
245
|
+
let page = result.value || [];
|
246
|
+
continuationToken = result.nextLink;
|
247
|
+
setContinuationToken(page, continuationToken);
|
248
|
+
yield yield __await(page);
|
249
|
+
}
|
250
|
+
while (continuationToken) {
|
251
|
+
result = yield __await(this._listByScopeNext(scope, continuationToken, options));
|
252
|
+
continuationToken = result.nextLink;
|
253
|
+
let page = result.value || [];
|
254
|
+
setContinuationToken(page, continuationToken);
|
255
|
+
yield yield __await(page);
|
256
|
+
}
|
257
|
+
});
|
258
|
+
}
|
259
|
+
listByScopePagingAll(scope, options) {
|
260
|
+
return __asyncGenerator(this, arguments, function* listByScopePagingAll_1() {
|
261
|
+
var _a, e_4, _b, _c;
|
262
|
+
try {
|
263
|
+
for (var _d = true, _e = __asyncValues(this.listByScopePagingPage(scope, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
264
|
+
_c = _f.value;
|
265
|
+
_d = false;
|
266
|
+
const page = _c;
|
267
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
268
|
+
}
|
269
|
+
}
|
270
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
271
|
+
finally {
|
272
|
+
try {
|
273
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
274
|
+
}
|
275
|
+
finally { if (e_4) throw e_4.error; }
|
276
|
+
}
|
277
|
+
});
|
278
|
+
}
|
279
|
+
/**
|
280
|
+
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
281
|
+
* management locks, you must have access to Microsoft.Authorization/* or
|
282
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
283
|
+
* Administrator are granted those actions.
|
284
|
+
* @param resourceGroupName The name of the resource group to lock.
|
285
|
+
* @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain
|
286
|
+
* <, > %, &, :, \, ?, /, or any control characters.
|
287
|
+
* @param parameters The management lock parameters.
|
288
|
+
* @param options The options parameters.
|
289
|
+
*/
|
290
|
+
createOrUpdateAtResourceGroupLevel(resourceGroupName, lockName, parameters, options) {
|
291
|
+
return this.client.sendOperationRequest({ resourceGroupName, lockName, parameters, options }, createOrUpdateAtResourceGroupLevelOperationSpec);
|
292
|
+
}
|
293
|
+
/**
|
294
|
+
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
295
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
296
|
+
* Administrator are granted those actions.
|
297
|
+
* @param resourceGroupName The name of the resource group containing the lock.
|
298
|
+
* @param lockName The name of lock to delete.
|
299
|
+
* @param options The options parameters.
|
300
|
+
*/
|
301
|
+
deleteAtResourceGroupLevel(resourceGroupName, lockName, options) {
|
302
|
+
return this.client.sendOperationRequest({ resourceGroupName, lockName, options }, deleteAtResourceGroupLevelOperationSpec);
|
303
|
+
}
|
304
|
+
/**
|
305
|
+
* Gets a management lock at the resource group level.
|
306
|
+
* @param resourceGroupName The name of the locked resource group.
|
307
|
+
* @param lockName The name of the lock to get.
|
308
|
+
* @param options The options parameters.
|
309
|
+
*/
|
310
|
+
getAtResourceGroupLevel(resourceGroupName, lockName, options) {
|
311
|
+
return this.client.sendOperationRequest({ resourceGroupName, lockName, options }, getAtResourceGroupLevelOperationSpec);
|
312
|
+
}
|
313
|
+
/**
|
314
|
+
* Create or update a management lock by scope.
|
315
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
316
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
317
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
318
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
319
|
+
* for resources.
|
320
|
+
* @param lockName The name of lock.
|
321
|
+
* @param parameters Create or update management lock parameters.
|
322
|
+
* @param options The options parameters.
|
323
|
+
*/
|
324
|
+
createOrUpdateByScope(scope, lockName, parameters, options) {
|
325
|
+
return this.client.sendOperationRequest({ scope, lockName, parameters, options }, createOrUpdateByScopeOperationSpec);
|
326
|
+
}
|
327
|
+
/**
|
328
|
+
* Delete a management lock by scope.
|
329
|
+
* @param scope The scope for the lock.
|
330
|
+
* @param lockName The name of lock.
|
331
|
+
* @param options The options parameters.
|
332
|
+
*/
|
333
|
+
deleteByScope(scope, lockName, options) {
|
334
|
+
return this.client.sendOperationRequest({ scope, lockName, options }, deleteByScopeOperationSpec);
|
335
|
+
}
|
336
|
+
/**
|
337
|
+
* Get a management lock by scope.
|
338
|
+
* @param scope The scope for the lock.
|
339
|
+
* @param lockName The name of lock.
|
340
|
+
* @param options The options parameters.
|
341
|
+
*/
|
342
|
+
getByScope(scope, lockName, options) {
|
343
|
+
return this.client.sendOperationRequest({ scope, lockName, options }, getByScopeOperationSpec);
|
344
|
+
}
|
345
|
+
/**
|
346
|
+
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
347
|
+
* management locks, you must have access to Microsoft.Authorization/* or
|
348
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
349
|
+
* Administrator are granted those actions.
|
350
|
+
* @param resourceGroupName The name of the resource group containing the resource to lock.
|
351
|
+
* @param resourceProviderNamespace The resource provider namespace of the resource to lock.
|
352
|
+
* @param parentResourcePath The parent resource identity.
|
353
|
+
* @param resourceType The resource type of the resource to lock.
|
354
|
+
* @param resourceName The name of the resource to lock.
|
355
|
+
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
356
|
+
* contain <, > %, &, :, \, ?, /, or any control characters.
|
357
|
+
* @param parameters Parameters for creating or updating a management lock.
|
358
|
+
* @param options The options parameters.
|
359
|
+
*/
|
360
|
+
createOrUpdateAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, lockName, parameters, options) {
|
361
|
+
return this.client.sendOperationRequest({
|
362
|
+
resourceGroupName,
|
363
|
+
resourceProviderNamespace,
|
364
|
+
parentResourcePath,
|
365
|
+
resourceType,
|
366
|
+
resourceName,
|
367
|
+
lockName,
|
368
|
+
parameters,
|
369
|
+
options
|
370
|
+
}, createOrUpdateAtResourceLevelOperationSpec);
|
371
|
+
}
|
372
|
+
/**
|
373
|
+
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
374
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
375
|
+
* Administrator are granted those actions.
|
376
|
+
* @param resourceGroupName The name of the resource group containing the resource with the lock to
|
377
|
+
* delete.
|
378
|
+
* @param resourceProviderNamespace The resource provider namespace of the resource with the lock to
|
379
|
+
* delete.
|
380
|
+
* @param parentResourcePath The parent resource identity.
|
381
|
+
* @param resourceType The resource type of the resource with the lock to delete.
|
382
|
+
* @param resourceName The name of the resource with the lock to delete.
|
383
|
+
* @param lockName The name of the lock to delete.
|
384
|
+
* @param options The options parameters.
|
385
|
+
*/
|
386
|
+
deleteAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, lockName, options) {
|
387
|
+
return this.client.sendOperationRequest({
|
388
|
+
resourceGroupName,
|
389
|
+
resourceProviderNamespace,
|
390
|
+
parentResourcePath,
|
391
|
+
resourceType,
|
392
|
+
resourceName,
|
393
|
+
lockName,
|
394
|
+
options
|
395
|
+
}, deleteAtResourceLevelOperationSpec);
|
396
|
+
}
|
397
|
+
/**
|
398
|
+
* Get the management lock of a resource or any level below resource.
|
399
|
+
* @param resourceGroupName The name of the resource group.
|
400
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
401
|
+
* @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.
|
402
|
+
* @param resourceType The type of the resource.
|
403
|
+
* @param resourceName The name of the resource.
|
404
|
+
* @param lockName The name of lock.
|
405
|
+
* @param options The options parameters.
|
406
|
+
*/
|
407
|
+
getAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, lockName, options) {
|
408
|
+
return this.client.sendOperationRequest({
|
409
|
+
resourceGroupName,
|
410
|
+
resourceProviderNamespace,
|
411
|
+
parentResourcePath,
|
412
|
+
resourceType,
|
413
|
+
resourceName,
|
414
|
+
lockName,
|
415
|
+
options
|
416
|
+
}, getAtResourceLevelOperationSpec);
|
417
|
+
}
|
418
|
+
/**
|
419
|
+
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
420
|
+
* management locks, you must have access to Microsoft.Authorization/* or
|
421
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
422
|
+
* Administrator are granted those actions.
|
423
|
+
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
424
|
+
* contain <, > %, &, :, \, ?, /, or any control characters.
|
425
|
+
* @param parameters The management lock parameters.
|
426
|
+
* @param options The options parameters.
|
427
|
+
*/
|
428
|
+
createOrUpdateAtSubscriptionLevel(lockName, parameters, options) {
|
429
|
+
return this.client.sendOperationRequest({ lockName, parameters, options }, createOrUpdateAtSubscriptionLevelOperationSpec);
|
430
|
+
}
|
431
|
+
/**
|
432
|
+
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
433
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
434
|
+
* Administrator are granted those actions.
|
435
|
+
* @param lockName The name of lock to delete.
|
436
|
+
* @param options The options parameters.
|
437
|
+
*/
|
438
|
+
deleteAtSubscriptionLevel(lockName, options) {
|
439
|
+
return this.client.sendOperationRequest({ lockName, options }, deleteAtSubscriptionLevelOperationSpec);
|
440
|
+
}
|
441
|
+
/**
|
442
|
+
* Gets a management lock at the subscription level.
|
443
|
+
* @param lockName The name of the lock to get.
|
444
|
+
* @param options The options parameters.
|
445
|
+
*/
|
446
|
+
getAtSubscriptionLevel(lockName, options) {
|
447
|
+
return this.client.sendOperationRequest({ lockName, options }, getAtSubscriptionLevelOperationSpec);
|
448
|
+
}
|
449
|
+
/**
|
450
|
+
* Gets all the management locks for a resource group.
|
451
|
+
* @param resourceGroupName The name of the resource group containing the locks to get.
|
452
|
+
* @param options The options parameters.
|
453
|
+
*/
|
454
|
+
_listAtResourceGroupLevel(resourceGroupName, options) {
|
455
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listAtResourceGroupLevelOperationSpec);
|
456
|
+
}
|
457
|
+
/**
|
458
|
+
* Gets all the management locks for a resource or any level below resource.
|
459
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
460
|
+
* case insensitive.
|
461
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
462
|
+
* @param parentResourcePath The parent resource identity.
|
463
|
+
* @param resourceType The resource type of the locked resource.
|
464
|
+
* @param resourceName The name of the locked resource.
|
465
|
+
* @param options The options parameters.
|
466
|
+
*/
|
467
|
+
_listAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options) {
|
468
|
+
return this.client.sendOperationRequest({
|
469
|
+
resourceGroupName,
|
470
|
+
resourceProviderNamespace,
|
471
|
+
parentResourcePath,
|
472
|
+
resourceType,
|
473
|
+
resourceName,
|
474
|
+
options
|
475
|
+
}, listAtResourceLevelOperationSpec);
|
476
|
+
}
|
477
|
+
/**
|
478
|
+
* Gets all the management locks for a subscription.
|
479
|
+
* @param options The options parameters.
|
480
|
+
*/
|
481
|
+
_listAtSubscriptionLevel(options) {
|
482
|
+
return this.client.sendOperationRequest({ options }, listAtSubscriptionLevelOperationSpec);
|
483
|
+
}
|
484
|
+
/**
|
485
|
+
* Gets all the management locks for a scope.
|
486
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
487
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
488
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
489
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
490
|
+
* for resources.
|
491
|
+
* @param options The options parameters.
|
492
|
+
*/
|
493
|
+
_listByScope(scope, options) {
|
494
|
+
return this.client.sendOperationRequest({ scope, options }, listByScopeOperationSpec);
|
495
|
+
}
|
496
|
+
/**
|
497
|
+
* ListAtResourceGroupLevelNext
|
498
|
+
* @param resourceGroupName The name of the resource group containing the locks to get.
|
499
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel
|
500
|
+
* method.
|
501
|
+
* @param options The options parameters.
|
502
|
+
*/
|
503
|
+
_listAtResourceGroupLevelNext(resourceGroupName, nextLink, options) {
|
504
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listAtResourceGroupLevelNextOperationSpec);
|
505
|
+
}
|
506
|
+
/**
|
507
|
+
* ListAtResourceLevelNext
|
508
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
509
|
+
* case insensitive.
|
510
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
511
|
+
* @param parentResourcePath The parent resource identity.
|
512
|
+
* @param resourceType The resource type of the locked resource.
|
513
|
+
* @param resourceName The name of the locked resource.
|
514
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.
|
515
|
+
* @param options The options parameters.
|
516
|
+
*/
|
517
|
+
_listAtResourceLevelNext(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, nextLink, options) {
|
518
|
+
return this.client.sendOperationRequest({
|
519
|
+
resourceGroupName,
|
520
|
+
resourceProviderNamespace,
|
521
|
+
parentResourcePath,
|
522
|
+
resourceType,
|
523
|
+
resourceName,
|
524
|
+
nextLink,
|
525
|
+
options
|
526
|
+
}, listAtResourceLevelNextOperationSpec);
|
527
|
+
}
|
528
|
+
/**
|
529
|
+
* ListAtSubscriptionLevelNext
|
530
|
+
* @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel
|
531
|
+
* method.
|
532
|
+
* @param options The options parameters.
|
533
|
+
*/
|
534
|
+
_listAtSubscriptionLevelNext(nextLink, options) {
|
535
|
+
return this.client.sendOperationRequest({ nextLink, options }, listAtSubscriptionLevelNextOperationSpec);
|
536
|
+
}
|
537
|
+
/**
|
538
|
+
* ListByScopeNext
|
539
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
540
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
541
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
542
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
543
|
+
* for resources.
|
544
|
+
* @param nextLink The nextLink from the previous successful call to the ListByScope method.
|
545
|
+
* @param options The options parameters.
|
546
|
+
*/
|
547
|
+
_listByScopeNext(scope, nextLink, options) {
|
548
|
+
return this.client.sendOperationRequest({ scope, nextLink, options }, listByScopeNextOperationSpec);
|
549
|
+
}
|
550
|
+
}
|
551
|
+
// Operation Specifications
|
552
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
553
|
+
const createOrUpdateAtResourceGroupLevelOperationSpec = {
|
554
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",
|
555
|
+
httpMethod: "PUT",
|
556
|
+
responses: {
|
557
|
+
200: {
|
558
|
+
bodyMapper: Mappers.ManagementLockObject
|
559
|
+
},
|
560
|
+
201: {
|
561
|
+
bodyMapper: Mappers.ManagementLockObject
|
562
|
+
},
|
563
|
+
default: {
|
564
|
+
bodyMapper: Mappers.ErrorResponse
|
565
|
+
}
|
566
|
+
},
|
567
|
+
requestBody: Parameters.parameters,
|
568
|
+
queryParameters: [Parameters.apiVersion],
|
569
|
+
urlParameters: [
|
570
|
+
Parameters.$host,
|
571
|
+
Parameters.resourceGroupName,
|
572
|
+
Parameters.lockName,
|
573
|
+
Parameters.subscriptionId
|
574
|
+
],
|
575
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
576
|
+
mediaType: "json",
|
577
|
+
serializer
|
578
|
+
};
|
579
|
+
const deleteAtResourceGroupLevelOperationSpec = {
|
580
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",
|
581
|
+
httpMethod: "DELETE",
|
582
|
+
responses: {
|
583
|
+
200: {},
|
584
|
+
204: {},
|
585
|
+
default: {
|
586
|
+
bodyMapper: Mappers.ErrorResponse
|
587
|
+
}
|
588
|
+
},
|
589
|
+
queryParameters: [Parameters.apiVersion],
|
590
|
+
urlParameters: [
|
591
|
+
Parameters.$host,
|
592
|
+
Parameters.resourceGroupName,
|
593
|
+
Parameters.lockName,
|
594
|
+
Parameters.subscriptionId
|
595
|
+
],
|
596
|
+
headerParameters: [Parameters.accept],
|
597
|
+
serializer
|
598
|
+
};
|
599
|
+
const getAtResourceGroupLevelOperationSpec = {
|
600
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",
|
601
|
+
httpMethod: "GET",
|
602
|
+
responses: {
|
603
|
+
200: {
|
604
|
+
bodyMapper: Mappers.ManagementLockObject
|
605
|
+
},
|
606
|
+
default: {
|
607
|
+
bodyMapper: Mappers.ErrorResponse
|
608
|
+
}
|
609
|
+
},
|
610
|
+
queryParameters: [Parameters.apiVersion],
|
611
|
+
urlParameters: [
|
612
|
+
Parameters.$host,
|
613
|
+
Parameters.resourceGroupName,
|
614
|
+
Parameters.lockName,
|
615
|
+
Parameters.subscriptionId
|
616
|
+
],
|
617
|
+
headerParameters: [Parameters.accept],
|
618
|
+
serializer
|
619
|
+
};
|
620
|
+
const createOrUpdateByScopeOperationSpec = {
|
621
|
+
path: "/{scope}/providers/Microsoft.Authorization/locks/{lockName}",
|
622
|
+
httpMethod: "PUT",
|
623
|
+
responses: {
|
624
|
+
200: {
|
625
|
+
bodyMapper: Mappers.ManagementLockObject
|
626
|
+
},
|
627
|
+
201: {
|
628
|
+
bodyMapper: Mappers.ManagementLockObject
|
629
|
+
},
|
630
|
+
default: {
|
631
|
+
bodyMapper: Mappers.ErrorResponse
|
632
|
+
}
|
633
|
+
},
|
634
|
+
requestBody: Parameters.parameters,
|
635
|
+
queryParameters: [Parameters.apiVersion],
|
636
|
+
urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],
|
637
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
638
|
+
mediaType: "json",
|
639
|
+
serializer
|
640
|
+
};
|
641
|
+
const deleteByScopeOperationSpec = {
|
642
|
+
path: "/{scope}/providers/Microsoft.Authorization/locks/{lockName}",
|
643
|
+
httpMethod: "DELETE",
|
644
|
+
responses: {
|
645
|
+
200: {},
|
646
|
+
204: {},
|
647
|
+
default: {
|
648
|
+
bodyMapper: Mappers.ErrorResponse
|
649
|
+
}
|
650
|
+
},
|
651
|
+
queryParameters: [Parameters.apiVersion],
|
652
|
+
urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],
|
653
|
+
headerParameters: [Parameters.accept],
|
654
|
+
serializer
|
655
|
+
};
|
656
|
+
const getByScopeOperationSpec = {
|
657
|
+
path: "/{scope}/providers/Microsoft.Authorization/locks/{lockName}",
|
658
|
+
httpMethod: "GET",
|
659
|
+
responses: {
|
660
|
+
200: {
|
661
|
+
bodyMapper: Mappers.ManagementLockObject
|
662
|
+
},
|
663
|
+
default: {
|
664
|
+
bodyMapper: Mappers.ErrorResponse
|
665
|
+
}
|
666
|
+
},
|
667
|
+
queryParameters: [Parameters.apiVersion],
|
668
|
+
urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],
|
669
|
+
headerParameters: [Parameters.accept],
|
670
|
+
serializer
|
671
|
+
};
|
672
|
+
const createOrUpdateAtResourceLevelOperationSpec = {
|
673
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",
|
674
|
+
httpMethod: "PUT",
|
675
|
+
responses: {
|
676
|
+
200: {
|
677
|
+
bodyMapper: Mappers.ManagementLockObject
|
678
|
+
},
|
679
|
+
201: {
|
680
|
+
bodyMapper: Mappers.ManagementLockObject
|
681
|
+
},
|
682
|
+
default: {
|
683
|
+
bodyMapper: Mappers.ErrorResponse
|
684
|
+
}
|
685
|
+
},
|
686
|
+
requestBody: Parameters.parameters,
|
687
|
+
queryParameters: [Parameters.apiVersion],
|
688
|
+
urlParameters: [
|
689
|
+
Parameters.$host,
|
690
|
+
Parameters.resourceGroupName,
|
691
|
+
Parameters.lockName,
|
692
|
+
Parameters.subscriptionId,
|
693
|
+
Parameters.resourceProviderNamespace,
|
694
|
+
Parameters.parentResourcePath,
|
695
|
+
Parameters.resourceType,
|
696
|
+
Parameters.resourceName
|
697
|
+
],
|
698
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
699
|
+
mediaType: "json",
|
700
|
+
serializer
|
701
|
+
};
|
702
|
+
const deleteAtResourceLevelOperationSpec = {
|
703
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",
|
704
|
+
httpMethod: "DELETE",
|
705
|
+
responses: {
|
706
|
+
200: {},
|
707
|
+
204: {},
|
708
|
+
default: {
|
709
|
+
bodyMapper: Mappers.ErrorResponse
|
710
|
+
}
|
711
|
+
},
|
712
|
+
queryParameters: [Parameters.apiVersion],
|
713
|
+
urlParameters: [
|
714
|
+
Parameters.$host,
|
715
|
+
Parameters.resourceGroupName,
|
716
|
+
Parameters.lockName,
|
717
|
+
Parameters.subscriptionId,
|
718
|
+
Parameters.resourceProviderNamespace,
|
719
|
+
Parameters.parentResourcePath,
|
720
|
+
Parameters.resourceType,
|
721
|
+
Parameters.resourceName
|
722
|
+
],
|
723
|
+
headerParameters: [Parameters.accept],
|
724
|
+
serializer
|
725
|
+
};
|
726
|
+
const getAtResourceLevelOperationSpec = {
|
727
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",
|
728
|
+
httpMethod: "GET",
|
729
|
+
responses: {
|
730
|
+
200: {
|
731
|
+
bodyMapper: Mappers.ManagementLockObject
|
732
|
+
},
|
733
|
+
default: {
|
734
|
+
bodyMapper: Mappers.ErrorResponse
|
735
|
+
}
|
736
|
+
},
|
737
|
+
queryParameters: [Parameters.apiVersion],
|
738
|
+
urlParameters: [
|
739
|
+
Parameters.$host,
|
740
|
+
Parameters.resourceGroupName,
|
741
|
+
Parameters.lockName,
|
742
|
+
Parameters.subscriptionId,
|
743
|
+
Parameters.resourceProviderNamespace,
|
744
|
+
Parameters.parentResourcePath,
|
745
|
+
Parameters.resourceType,
|
746
|
+
Parameters.resourceName
|
747
|
+
],
|
748
|
+
headerParameters: [Parameters.accept],
|
749
|
+
serializer
|
750
|
+
};
|
751
|
+
const createOrUpdateAtSubscriptionLevelOperationSpec = {
|
752
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",
|
753
|
+
httpMethod: "PUT",
|
754
|
+
responses: {
|
755
|
+
200: {
|
756
|
+
bodyMapper: Mappers.ManagementLockObject
|
757
|
+
},
|
758
|
+
201: {
|
759
|
+
bodyMapper: Mappers.ManagementLockObject
|
760
|
+
},
|
761
|
+
default: {
|
762
|
+
bodyMapper: Mappers.ErrorResponse
|
763
|
+
}
|
764
|
+
},
|
765
|
+
requestBody: Parameters.parameters,
|
766
|
+
queryParameters: [Parameters.apiVersion],
|
767
|
+
urlParameters: [
|
768
|
+
Parameters.$host,
|
769
|
+
Parameters.lockName,
|
770
|
+
Parameters.subscriptionId
|
771
|
+
],
|
772
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
773
|
+
mediaType: "json",
|
774
|
+
serializer
|
775
|
+
};
|
776
|
+
const deleteAtSubscriptionLevelOperationSpec = {
|
777
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",
|
778
|
+
httpMethod: "DELETE",
|
779
|
+
responses: {
|
780
|
+
200: {},
|
781
|
+
204: {},
|
782
|
+
default: {
|
783
|
+
bodyMapper: Mappers.ErrorResponse
|
784
|
+
}
|
785
|
+
},
|
786
|
+
queryParameters: [Parameters.apiVersion],
|
787
|
+
urlParameters: [
|
788
|
+
Parameters.$host,
|
789
|
+
Parameters.lockName,
|
790
|
+
Parameters.subscriptionId
|
791
|
+
],
|
792
|
+
headerParameters: [Parameters.accept],
|
793
|
+
serializer
|
794
|
+
};
|
795
|
+
const getAtSubscriptionLevelOperationSpec = {
|
796
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",
|
797
|
+
httpMethod: "GET",
|
798
|
+
responses: {
|
799
|
+
200: {
|
800
|
+
bodyMapper: Mappers.ManagementLockObject
|
801
|
+
},
|
802
|
+
default: {
|
803
|
+
bodyMapper: Mappers.ErrorResponse
|
804
|
+
}
|
805
|
+
},
|
806
|
+
queryParameters: [Parameters.apiVersion],
|
807
|
+
urlParameters: [
|
808
|
+
Parameters.$host,
|
809
|
+
Parameters.lockName,
|
810
|
+
Parameters.subscriptionId
|
811
|
+
],
|
812
|
+
headerParameters: [Parameters.accept],
|
813
|
+
serializer
|
814
|
+
};
|
815
|
+
const listAtResourceGroupLevelOperationSpec = {
|
816
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks",
|
817
|
+
httpMethod: "GET",
|
818
|
+
responses: {
|
819
|
+
200: {
|
820
|
+
bodyMapper: Mappers.ManagementLockListResult
|
821
|
+
},
|
822
|
+
default: {
|
823
|
+
bodyMapper: Mappers.ErrorResponse
|
824
|
+
}
|
825
|
+
},
|
826
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
827
|
+
urlParameters: [
|
828
|
+
Parameters.$host,
|
829
|
+
Parameters.resourceGroupName,
|
830
|
+
Parameters.subscriptionId
|
831
|
+
],
|
832
|
+
headerParameters: [Parameters.accept],
|
833
|
+
serializer
|
834
|
+
};
|
835
|
+
const listAtResourceLevelOperationSpec = {
|
836
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks",
|
837
|
+
httpMethod: "GET",
|
838
|
+
responses: {
|
839
|
+
200: {
|
840
|
+
bodyMapper: Mappers.ManagementLockListResult
|
841
|
+
},
|
842
|
+
default: {
|
843
|
+
bodyMapper: Mappers.ErrorResponse
|
844
|
+
}
|
845
|
+
},
|
846
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
847
|
+
urlParameters: [
|
848
|
+
Parameters.$host,
|
849
|
+
Parameters.resourceGroupName,
|
850
|
+
Parameters.subscriptionId,
|
851
|
+
Parameters.resourceProviderNamespace,
|
852
|
+
Parameters.parentResourcePath,
|
853
|
+
Parameters.resourceType,
|
854
|
+
Parameters.resourceName
|
855
|
+
],
|
856
|
+
headerParameters: [Parameters.accept],
|
857
|
+
serializer
|
858
|
+
};
|
859
|
+
const listAtSubscriptionLevelOperationSpec = {
|
860
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks",
|
861
|
+
httpMethod: "GET",
|
862
|
+
responses: {
|
863
|
+
200: {
|
864
|
+
bodyMapper: Mappers.ManagementLockListResult
|
865
|
+
},
|
866
|
+
default: {
|
867
|
+
bodyMapper: Mappers.ErrorResponse
|
868
|
+
}
|
869
|
+
},
|
870
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
871
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
872
|
+
headerParameters: [Parameters.accept],
|
873
|
+
serializer
|
874
|
+
};
|
875
|
+
const listByScopeOperationSpec = {
|
876
|
+
path: "/{scope}/providers/Microsoft.Authorization/locks",
|
877
|
+
httpMethod: "GET",
|
878
|
+
responses: {
|
879
|
+
200: {
|
880
|
+
bodyMapper: Mappers.ManagementLockListResult
|
881
|
+
},
|
882
|
+
default: {
|
883
|
+
bodyMapper: Mappers.ErrorResponse
|
884
|
+
}
|
885
|
+
},
|
886
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
887
|
+
urlParameters: [Parameters.$host, Parameters.scope],
|
888
|
+
headerParameters: [Parameters.accept],
|
889
|
+
serializer
|
890
|
+
};
|
891
|
+
const listAtResourceGroupLevelNextOperationSpec = {
|
892
|
+
path: "{nextLink}",
|
893
|
+
httpMethod: "GET",
|
894
|
+
responses: {
|
895
|
+
200: {
|
896
|
+
bodyMapper: Mappers.ManagementLockListResult
|
897
|
+
},
|
898
|
+
default: {
|
899
|
+
bodyMapper: Mappers.ErrorResponse
|
900
|
+
}
|
901
|
+
},
|
902
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
903
|
+
urlParameters: [
|
904
|
+
Parameters.$host,
|
905
|
+
Parameters.nextLink,
|
906
|
+
Parameters.resourceGroupName,
|
907
|
+
Parameters.subscriptionId
|
908
|
+
],
|
909
|
+
headerParameters: [Parameters.accept],
|
910
|
+
serializer
|
911
|
+
};
|
912
|
+
const listAtResourceLevelNextOperationSpec = {
|
913
|
+
path: "{nextLink}",
|
914
|
+
httpMethod: "GET",
|
915
|
+
responses: {
|
916
|
+
200: {
|
917
|
+
bodyMapper: Mappers.ManagementLockListResult
|
918
|
+
},
|
919
|
+
default: {
|
920
|
+
bodyMapper: Mappers.ErrorResponse
|
921
|
+
}
|
922
|
+
},
|
923
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
924
|
+
urlParameters: [
|
925
|
+
Parameters.$host,
|
926
|
+
Parameters.nextLink,
|
927
|
+
Parameters.resourceGroupName,
|
928
|
+
Parameters.subscriptionId,
|
929
|
+
Parameters.resourceProviderNamespace,
|
930
|
+
Parameters.parentResourcePath,
|
931
|
+
Parameters.resourceType,
|
932
|
+
Parameters.resourceName
|
933
|
+
],
|
934
|
+
headerParameters: [Parameters.accept],
|
935
|
+
serializer
|
936
|
+
};
|
937
|
+
const listAtSubscriptionLevelNextOperationSpec = {
|
938
|
+
path: "{nextLink}",
|
939
|
+
httpMethod: "GET",
|
940
|
+
responses: {
|
941
|
+
200: {
|
942
|
+
bodyMapper: Mappers.ManagementLockListResult
|
943
|
+
},
|
944
|
+
default: {
|
945
|
+
bodyMapper: Mappers.ErrorResponse
|
946
|
+
}
|
947
|
+
},
|
948
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
949
|
+
urlParameters: [
|
950
|
+
Parameters.$host,
|
951
|
+
Parameters.nextLink,
|
952
|
+
Parameters.subscriptionId
|
953
|
+
],
|
954
|
+
headerParameters: [Parameters.accept],
|
955
|
+
serializer
|
956
|
+
};
|
957
|
+
const listByScopeNextOperationSpec = {
|
958
|
+
path: "{nextLink}",
|
959
|
+
httpMethod: "GET",
|
960
|
+
responses: {
|
961
|
+
200: {
|
962
|
+
bodyMapper: Mappers.ManagementLockListResult
|
963
|
+
},
|
964
|
+
default: {
|
965
|
+
bodyMapper: Mappers.ErrorResponse
|
966
|
+
}
|
967
|
+
},
|
968
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
969
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],
|
970
|
+
headerParameters: [Parameters.accept],
|
971
|
+
serializer
|
972
|
+
};
|
973
|
+
//# sourceMappingURL=managementLocks.js.map
|