@azure/arm-locks 2.1.1-alpha.20250210.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 @@
|
|
1
|
+
{"version":3,"file":"managementLocks.js","sourceRoot":"","sources":["../../../src/operations/managementLocks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA0CtD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,wBAAwB,CAC7B,iBAAyB,EACzB,OAA+D;QAE/D,M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ACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ManagementLocks } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagementLockClient } from \"../managementLockClient.js\";\nimport {\n ManagementLockObject,\n ManagementLocksListAtResourceGroupLevelNextOptionalParams,\n ManagementLocksListAtResourceGroupLevelOptionalParams,\n ManagementLocksListAtResourceGroupLevelResponse,\n ManagementLocksListAtResourceLevelNextOptionalParams,\n ManagementLocksListAtResourceLevelOptionalParams,\n ManagementLocksListAtResourceLevelResponse,\n ManagementLocksListAtSubscriptionLevelNextOptionalParams,\n ManagementLocksListAtSubscriptionLevelOptionalParams,\n ManagementLocksListAtSubscriptionLevelResponse,\n ManagementLocksListByScopeNextOptionalParams,\n ManagementLocksListByScopeOptionalParams,\n ManagementLocksListByScopeResponse,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse,\n ManagementLocksDeleteAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelResponse,\n ManagementLocksCreateOrUpdateByScopeOptionalParams,\n ManagementLocksCreateOrUpdateByScopeResponse,\n ManagementLocksDeleteByScopeOptionalParams,\n ManagementLocksGetByScopeOptionalParams,\n ManagementLocksGetByScopeResponse,\n ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceLevelResponse,\n ManagementLocksDeleteAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelResponse,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse,\n ManagementLocksDeleteAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelResponse,\n ManagementLocksListAtResourceGroupLevelNextResponse,\n ManagementLocksListAtResourceLevelNextResponse,\n ManagementLocksListAtSubscriptionLevelNextResponse,\n ManagementLocksListByScopeNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagementLocks operations. */\nexport class ManagementLocksImpl implements ManagementLocks {\n private readonly client: ManagementLockClient;\n\n /**\n * Initialize a new instance of the class ManagementLocks class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLockClient) {\n this.client = client;\n }\n\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n public listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtResourceGroupLevelPagingAll(\n resourceGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtResourceGroupLevelPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAtResourceGroupLevelPagingPage(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result: ManagementLocksListAtResourceGroupLevelResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtResourceGroupLevel(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtResourceGroupLevelNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtResourceGroupLevelPagingAll(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtResourceGroupLevelPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n public listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtResourceLevelPagingAll(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtResourceLevelPagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAtResourceLevelPagingPage(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result: ManagementLocksListAtResourceLevelResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtResourceLevel(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtResourceLevelNext(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtResourceLevelPagingAll(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtResourceLevelPagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n public listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtSubscriptionLevelPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtSubscriptionLevelPagingPage(options, settings);\n }\n };\n }\n\n private async *listAtSubscriptionLevelPagingPage(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result: ManagementLocksListAtSubscriptionLevelResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtSubscriptionLevel(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtSubscriptionLevelNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtSubscriptionLevelPagingAll(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtSubscriptionLevelPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n public listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listByScopePagingAll(scope, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByScopePagingPage(scope, options, settings);\n }\n };\n }\n\n private async *listByScopePagingPage(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result: ManagementLocksListByScopeResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByScope(scope, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByScopeNext(scope, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByScopePagingAll(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listByScopePagingPage(scope, options)) {\n yield* page;\n }\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group to lock.\n * @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain\n * <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, parameters, options },\n createOrUpdateAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the lock.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, options },\n deleteAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Gets a management lock at the resource group level.\n * @param resourceGroupName The name of the locked resource group.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, options },\n getAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Create or update a management lock by scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param lockName The name of lock.\n * @param parameters Create or update management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateByScope(\n scope: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateByScopeOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, lockName, parameters, options },\n createOrUpdateByScopeOperationSpec\n );\n }\n\n /**\n * Delete a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n deleteByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksDeleteByScopeOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { scope, lockName, options },\n deleteByScopeOperationSpec\n );\n }\n\n /**\n * Get a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksGetByScopeOptionalParams\n ): Promise<ManagementLocksGetByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, lockName, options },\n getByScopeOperationSpec\n );\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource to lock.\n * @param resourceProviderNamespace The resource provider namespace of the resource to lock.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to lock.\n * @param resourceName The name of the resource to lock.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters Parameters for creating or updating a management lock.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n parameters,\n options\n },\n createOrUpdateAtResourceLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource with the lock to\n * delete.\n * @param resourceProviderNamespace The resource provider namespace of the resource with the lock to\n * delete.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource with the lock to delete.\n * @param resourceName The name of the resource with the lock to delete.\n * @param lockName The name of the lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n options\n },\n deleteAtResourceLevelOperationSpec\n );\n }\n\n /**\n * Get the management lock of a resource or any level below resource.\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.\n * @param resourceType The type of the resource.\n * @param resourceName The name of the resource.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n options\n },\n getAtResourceLevelOperationSpec\n );\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtSubscriptionLevel(\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { lockName, parameters, options },\n createOrUpdateAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { lockName, options },\n deleteAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets a management lock at the subscription level.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksGetAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksGetAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { lockName, options },\n getAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n private _listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksListAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n private _listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): Promise<ManagementLocksListAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n },\n listAtResourceLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n private _listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksListAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n private _listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): Promise<ManagementLocksListByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n listByScopeOperationSpec\n );\n }\n\n /**\n * ListAtResourceGroupLevelNext\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel\n * method.\n * @param options The options parameters.\n */\n private _listAtResourceGroupLevelNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ManagementLocksListAtResourceGroupLevelNextOptionalParams\n ): Promise<ManagementLocksListAtResourceGroupLevelNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listAtResourceGroupLevelNextOperationSpec\n );\n }\n\n /**\n * ListAtResourceLevelNext\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.\n * @param options The options parameters.\n */\n private _listAtResourceLevelNext(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n nextLink: string,\n options?: ManagementLocksListAtResourceLevelNextOptionalParams\n ): Promise<ManagementLocksListAtResourceLevelNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n nextLink,\n options\n },\n listAtResourceLevelNextOperationSpec\n );\n }\n\n /**\n * ListAtSubscriptionLevelNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel\n * method.\n * @param options The options parameters.\n */\n private _listAtSubscriptionLevelNext(\n nextLink: string,\n options?: ManagementLocksListAtSubscriptionLevelNextOptionalParams\n ): Promise<ManagementLocksListAtSubscriptionLevelNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtSubscriptionLevelNextOperationSpec\n );\n }\n\n /**\n * ListByScopeNext\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param nextLink The nextLink from the previous successful call to the ListByScope method.\n * @param options The options parameters.\n */\n private _listByScopeNext(\n scope: string,\n nextLink: string,\n options?: ManagementLocksListByScopeNextOptionalParams\n ): Promise<ManagementLocksListByScopeNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listByScopeNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByScopeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Operation, AuthorizationOperationsListOptionalParams } from "../models/index.js";
|
3
|
+
/** Interface representing a AuthorizationOperations. */
|
4
|
+
export interface AuthorizationOperations {
|
5
|
+
/**
|
6
|
+
* Lists all of the available Microsoft.Authorization REST API operations.
|
7
|
+
* @param options The options parameters.
|
8
|
+
*/
|
9
|
+
list(options?: AuthorizationOperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=authorizationOperations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"authorizationOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/authorizationOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=authorizationOperations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"authorizationOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/authorizationOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Operation,\n AuthorizationOperationsListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AuthorizationOperations. */\nexport interface AuthorizationOperations {\n /**\n * Lists all of the available Microsoft.Authorization REST API operations.\n * @param options The options parameters.\n */\n list(\n options?: AuthorizationOperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
const tslib_1 = require("tslib");
|
11
|
+
tslib_1.__exportStar(require("./authorizationOperations.js"), exports);
|
12
|
+
tslib_1.__exportStar(require("./managementLocks.js"), exports);
|
13
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,uEAA6C;AAC7C,+DAAqC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./authorizationOperations.js\";\nexport * from \"./managementLocks.js\";\n"]}
|
@@ -0,0 +1,159 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { ManagementLockObject, ManagementLocksListAtResourceGroupLevelOptionalParams, ManagementLocksListAtResourceLevelOptionalParams, ManagementLocksListAtSubscriptionLevelOptionalParams, ManagementLocksListByScopeOptionalParams, ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams, ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse, ManagementLocksDeleteAtResourceGroupLevelOptionalParams, ManagementLocksGetAtResourceGroupLevelOptionalParams, ManagementLocksGetAtResourceGroupLevelResponse, ManagementLocksCreateOrUpdateByScopeOptionalParams, ManagementLocksCreateOrUpdateByScopeResponse, ManagementLocksDeleteByScopeOptionalParams, ManagementLocksGetByScopeOptionalParams, ManagementLocksGetByScopeResponse, ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams, ManagementLocksCreateOrUpdateAtResourceLevelResponse, ManagementLocksDeleteAtResourceLevelOptionalParams, ManagementLocksGetAtResourceLevelOptionalParams, ManagementLocksGetAtResourceLevelResponse, ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams, ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse, ManagementLocksDeleteAtSubscriptionLevelOptionalParams, ManagementLocksGetAtSubscriptionLevelOptionalParams, ManagementLocksGetAtSubscriptionLevelResponse } from "../models/index.js";
|
3
|
+
/** Interface representing a ManagementLocks. */
|
4
|
+
export interface ManagementLocks {
|
5
|
+
/**
|
6
|
+
* Gets all the management locks for a resource group.
|
7
|
+
* @param resourceGroupName The name of the resource group containing the locks to get.
|
8
|
+
* @param options The options parameters.
|
9
|
+
*/
|
10
|
+
listAtResourceGroupLevel(resourceGroupName: string, options?: ManagementLocksListAtResourceGroupLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
11
|
+
/**
|
12
|
+
* Gets all the management locks for a resource or any level below resource.
|
13
|
+
* @param resourceGroupName The name of the resource group containing the locked resource. The name is
|
14
|
+
* case insensitive.
|
15
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
16
|
+
* @param parentResourcePath The parent resource identity.
|
17
|
+
* @param resourceType The resource type of the locked resource.
|
18
|
+
* @param resourceName The name of the locked resource.
|
19
|
+
* @param options The options parameters.
|
20
|
+
*/
|
21
|
+
listAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: ManagementLocksListAtResourceLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
22
|
+
/**
|
23
|
+
* Gets all the management locks for a subscription.
|
24
|
+
* @param options The options parameters.
|
25
|
+
*/
|
26
|
+
listAtSubscriptionLevel(options?: ManagementLocksListAtSubscriptionLevelOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
27
|
+
/**
|
28
|
+
* Gets all the management locks for a scope.
|
29
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
30
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
31
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
32
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
33
|
+
* for resources.
|
34
|
+
* @param options The options parameters.
|
35
|
+
*/
|
36
|
+
listByScope(scope: string, options?: ManagementLocksListByScopeOptionalParams): PagedAsyncIterableIterator<ManagementLockObject>;
|
37
|
+
/**
|
38
|
+
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
39
|
+
* management locks, you must have access to Microsoft.Authorization/* or
|
40
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
41
|
+
* Administrator are granted those actions.
|
42
|
+
* @param resourceGroupName The name of the resource group to lock.
|
43
|
+
* @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain
|
44
|
+
* <, > %, &, :, \, ?, /, or any control characters.
|
45
|
+
* @param parameters The management lock parameters.
|
46
|
+
* @param options The options parameters.
|
47
|
+
*/
|
48
|
+
createOrUpdateAtResourceGroupLevel(resourceGroupName: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse>;
|
49
|
+
/**
|
50
|
+
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
51
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
52
|
+
* Administrator are granted those actions.
|
53
|
+
* @param resourceGroupName The name of the resource group containing the lock.
|
54
|
+
* @param lockName The name of lock to delete.
|
55
|
+
* @param options The options parameters.
|
56
|
+
*/
|
57
|
+
deleteAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams): Promise<void>;
|
58
|
+
/**
|
59
|
+
* Gets a management lock at the resource group level.
|
60
|
+
* @param resourceGroupName The name of the locked resource group.
|
61
|
+
* @param lockName The name of the lock to get.
|
62
|
+
* @param options The options parameters.
|
63
|
+
*/
|
64
|
+
getAtResourceGroupLevel(resourceGroupName: string, lockName: string, options?: ManagementLocksGetAtResourceGroupLevelOptionalParams): Promise<ManagementLocksGetAtResourceGroupLevelResponse>;
|
65
|
+
/**
|
66
|
+
* Create or update a management lock by scope.
|
67
|
+
* @param scope The scope for the lock. When providing a scope for the assignment, use
|
68
|
+
* '/subscriptions/{subscriptionId}' for subscriptions,
|
69
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
70
|
+
* '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
71
|
+
* for resources.
|
72
|
+
* @param lockName The name of lock.
|
73
|
+
* @param parameters Create or update management lock parameters.
|
74
|
+
* @param options The options parameters.
|
75
|
+
*/
|
76
|
+
createOrUpdateByScope(scope: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateByScopeOptionalParams): Promise<ManagementLocksCreateOrUpdateByScopeResponse>;
|
77
|
+
/**
|
78
|
+
* Delete a management lock by scope.
|
79
|
+
* @param scope The scope for the lock.
|
80
|
+
* @param lockName The name of lock.
|
81
|
+
* @param options The options parameters.
|
82
|
+
*/
|
83
|
+
deleteByScope(scope: string, lockName: string, options?: ManagementLocksDeleteByScopeOptionalParams): Promise<void>;
|
84
|
+
/**
|
85
|
+
* Get a management lock by scope.
|
86
|
+
* @param scope The scope for the lock.
|
87
|
+
* @param lockName The name of lock.
|
88
|
+
* @param options The options parameters.
|
89
|
+
*/
|
90
|
+
getByScope(scope: string, lockName: string, options?: ManagementLocksGetByScopeOptionalParams): Promise<ManagementLocksGetByScopeResponse>;
|
91
|
+
/**
|
92
|
+
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
93
|
+
* management locks, you must have access to Microsoft.Authorization/* or
|
94
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
95
|
+
* Administrator are granted those actions.
|
96
|
+
* @param resourceGroupName The name of the resource group containing the resource to lock.
|
97
|
+
* @param resourceProviderNamespace The resource provider namespace of the resource to lock.
|
98
|
+
* @param parentResourcePath The parent resource identity.
|
99
|
+
* @param resourceType The resource type of the resource to lock.
|
100
|
+
* @param resourceName The name of the resource to lock.
|
101
|
+
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
102
|
+
* contain <, > %, &, :, \, ?, /, or any control characters.
|
103
|
+
* @param parameters Parameters for creating or updating a management lock.
|
104
|
+
* @param options The options parameters.
|
105
|
+
*/
|
106
|
+
createOrUpdateAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse>;
|
107
|
+
/**
|
108
|
+
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
109
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
110
|
+
* Administrator are granted those actions.
|
111
|
+
* @param resourceGroupName The name of the resource group containing the resource with the lock to
|
112
|
+
* delete.
|
113
|
+
* @param resourceProviderNamespace The resource provider namespace of the resource with the lock to
|
114
|
+
* delete.
|
115
|
+
* @param parentResourcePath The parent resource identity.
|
116
|
+
* @param resourceType The resource type of the resource with the lock to delete.
|
117
|
+
* @param resourceName The name of the resource with the lock to delete.
|
118
|
+
* @param lockName The name of the lock to delete.
|
119
|
+
* @param options The options parameters.
|
120
|
+
*/
|
121
|
+
deleteAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: ManagementLocksDeleteAtResourceLevelOptionalParams): Promise<void>;
|
122
|
+
/**
|
123
|
+
* Get the management lock of a resource or any level below resource.
|
124
|
+
* @param resourceGroupName The name of the resource group.
|
125
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
126
|
+
* @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.
|
127
|
+
* @param resourceType The type of the resource.
|
128
|
+
* @param resourceName The name of the resource.
|
129
|
+
* @param lockName The name of lock.
|
130
|
+
* @param options The options parameters.
|
131
|
+
*/
|
132
|
+
getAtResourceLevel(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, lockName: string, options?: ManagementLocksGetAtResourceLevelOptionalParams): Promise<ManagementLocksGetAtResourceLevelResponse>;
|
133
|
+
/**
|
134
|
+
* When you apply a lock at a parent scope, all child resources inherit the same lock. To create
|
135
|
+
* management locks, you must have access to Microsoft.Authorization/* or
|
136
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
137
|
+
* Administrator are granted those actions.
|
138
|
+
* @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot
|
139
|
+
* contain <, > %, &, :, \, ?, /, or any control characters.
|
140
|
+
* @param parameters The management lock parameters.
|
141
|
+
* @param options The options parameters.
|
142
|
+
*/
|
143
|
+
createOrUpdateAtSubscriptionLevel(lockName: string, parameters: ManagementLockObject, options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse>;
|
144
|
+
/**
|
145
|
+
* To delete management locks, you must have access to Microsoft.Authorization/* or
|
146
|
+
* Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access
|
147
|
+
* Administrator are granted those actions.
|
148
|
+
* @param lockName The name of lock to delete.
|
149
|
+
* @param options The options parameters.
|
150
|
+
*/
|
151
|
+
deleteAtSubscriptionLevel(lockName: string, options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams): Promise<void>;
|
152
|
+
/**
|
153
|
+
* Gets a management lock at the subscription level.
|
154
|
+
* @param lockName The name of the lock to get.
|
155
|
+
* @param options The options parameters.
|
156
|
+
*/
|
157
|
+
getAtSubscriptionLevel(lockName: string, options?: ManagementLocksGetAtSubscriptionLevelOptionalParams): Promise<ManagementLocksGetAtSubscriptionLevelResponse>;
|
158
|
+
}
|
159
|
+
//# sourceMappingURL=managementLocks.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"managementLocks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementLocks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAo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AY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;OASG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;;;;;;OASG;IACH,iCAAiC,CAC/B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,oBAAoB,EAChC,OAAO,CAAC,EAAE,8DAA8D,GACvE,OAAO,CAAC,wDAAwD,CAAC,CAAC;IACrE;;;;;;OAMG;IACH,yBAAyB,CACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,sBAAsB,CACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;CAC3D"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=managementLocks.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"managementLocks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementLocks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ManagementLockObject,\n ManagementLocksListAtResourceGroupLevelOptionalParams,\n ManagementLocksListAtResourceLevelOptionalParams,\n ManagementLocksListAtSubscriptionLevelOptionalParams,\n ManagementLocksListByScopeOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse,\n ManagementLocksDeleteAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelResponse,\n ManagementLocksCreateOrUpdateByScopeOptionalParams,\n ManagementLocksCreateOrUpdateByScopeResponse,\n ManagementLocksDeleteByScopeOptionalParams,\n ManagementLocksGetByScopeOptionalParams,\n ManagementLocksGetByScopeResponse,\n ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceLevelResponse,\n ManagementLocksDeleteAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelResponse,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse,\n ManagementLocksDeleteAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ManagementLocks. */\nexport interface ManagementLocks {\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject>;\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject>;\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject>;\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject>;\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group to lock.\n * @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain\n * <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse>;\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the lock.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams\n ): Promise<void>;\n /**\n * Gets a management lock at the resource group level.\n * @param resourceGroupName The name of the locked resource group.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceGroupLevelResponse>;\n /**\n * Create or update a management lock by scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param lockName The name of lock.\n * @param parameters Create or update management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateByScope(\n scope: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateByScopeOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateByScopeResponse>;\n /**\n * Delete a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n deleteByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksDeleteByScopeOptionalParams\n ): Promise<void>;\n /**\n * Get a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksGetByScopeOptionalParams\n ): Promise<ManagementLocksGetByScopeResponse>;\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource to lock.\n * @param resourceProviderNamespace The resource provider namespace of the resource to lock.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to lock.\n * @param resourceName The name of the resource to lock.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters Parameters for creating or updating a management lock.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse>;\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource with the lock to\n * delete.\n * @param resourceProviderNamespace The resource provider namespace of the resource with the lock to\n * delete.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource with the lock to delete.\n * @param resourceName The name of the resource with the lock to delete.\n * @param lockName The name of the lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceLevelOptionalParams\n ): Promise<void>;\n /**\n * Get the management lock of a resource or any level below resource.\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.\n * @param resourceType The type of the resource.\n * @param resourceName The name of the resource.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceLevelResponse>;\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtSubscriptionLevel(\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse>;\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams\n ): Promise<void>;\n /**\n * Gets a management lock at the subscription level.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksGetAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksGetAtSubscriptionLevelResponse>;\n}\n"]}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface PageInfo {
|
2
|
+
continuationToken?: string;
|
3
|
+
}
|
4
|
+
/**
|
5
|
+
* Given a result page from a pageable operation, returns a
|
6
|
+
* continuation token that can be used to begin paging from
|
7
|
+
* that point later.
|
8
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
9
|
+
* @returns The continuation token that can be passed into byPage().
|
10
|
+
*/
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.getContinuationToken = getContinuationToken;
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
12
|
+
const pageMap = new WeakMap();
|
13
|
+
/**
|
14
|
+
* Given a result page from a pageable operation, returns a
|
15
|
+
* continuation token that can be used to begin paging from
|
16
|
+
* that point later.
|
17
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
18
|
+
* @returns The continuation token that can be passed into byPage().
|
19
|
+
*/
|
20
|
+
function getContinuationToken(page) {
|
21
|
+
var _a;
|
22
|
+
if (typeof page !== "object" || page === null) {
|
23
|
+
return undefined;
|
24
|
+
}
|
25
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
26
|
+
}
|
27
|
+
function setContinuationToken(page, continuationToken) {
|
28
|
+
var _a;
|
29
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
30
|
+
return;
|
31
|
+
}
|
32
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
33
|
+
pageInfo.continuationToken = continuationToken;
|
34
|
+
pageMap.set(page, pageInfo);
|
35
|
+
}
|
36
|
+
//# sourceMappingURL=pagingHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,CAAC"}
|
@@ -5,9 +5,9 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
|
9
8
|
/// <reference lib="esnext.asynciterable" />
|
10
|
-
export { getContinuationToken } from "./pagingHelper";
|
11
|
-
export * from "./models";
|
12
|
-
export { ManagementLockClient } from "./managementLockClient";
|
13
|
-
export * from "./operationsInterfaces";
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
10
|
+
export * from "./models/index.js";
|
11
|
+
export { ManagementLockClient } from "./managementLockClient.js";
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
13
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ManagementLockClient } from \"./managementLockClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
3
|
+
import { AuthorizationOperations, ManagementLocks } from "./operationsInterfaces/index.js";
|
4
|
+
import { ManagementLockClientOptionalParams } from "./models/index.js";
|
5
|
+
export declare class ManagementLockClient extends coreClient.ServiceClient {
|
6
|
+
$host: string;
|
7
|
+
apiVersion: string;
|
8
|
+
subscriptionId: string;
|
9
|
+
/**
|
10
|
+
* Initializes a new instance of the ManagementLockClient class.
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
12
|
+
* @param subscriptionId The ID of the target subscription.
|
13
|
+
* @param options The parameter options
|
14
|
+
*/
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ManagementLockClientOptionalParams);
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
17
|
+
private addCustomApiVersionPolicy;
|
18
|
+
authorizationOperations: AuthorizationOperations;
|
19
|
+
managementLocks: ManagementLocks;
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=managementLockClient.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"managementLockClient.d.ts","sourceRoot":"","sources":["../../src/managementLockClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EACL,uBAAuB,EACvB,eAAe,EAChB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,kCAAkC,EAAE,MAAM,mBAAmB,CAAC;AAEvE,qBAAa,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kCAAkC;IA6E9C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,eAAe,EAAE,eAAe,CAAC;CAClC"}
|