@azure/arm-locks 2.1.1-alpha.20250211.1 → 2.1.1-alpha.20250212.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -18
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/managementLockClient.d.ts +2 -2
- package/dist/browser/managementLockClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/managementLockClient.js +15 -18
- package/dist/browser/managementLockClient.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/authorizationOperations.d.ts +3 -3
- package/dist/browser/operations/authorizationOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/authorizationOperations.js +3 -3
- package/dist/browser/operations/authorizationOperations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementLocks.d.ts +3 -3
- package/dist/browser/operations/managementLocks.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementLocks.js +3 -3
- package/dist/browser/operations/managementLocks.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/authorizationOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/managementLocks.d.ts +1 -1
- package/dist/browser/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/managementLocks.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/managementLockClient.d.ts +21 -0
- package/dist/commonjs/managementLockClient.d.ts.map +1 -0
- package/dist/commonjs/managementLockClient.js +103 -0
- package/dist/commonjs/managementLockClient.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +295 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +33 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +12 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +322 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +17 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +167 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/authorizationOperations.d.ts +32 -0
- package/dist/commonjs/operations/authorizationOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/authorizationOperations.js +138 -0
- package/dist/commonjs/operations/authorizationOperations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/managementLocks.d.ts +245 -0
- package/dist/commonjs/operations/managementLocks.d.ts.map +1 -0
- package/dist/commonjs/operations/managementLocks.js +977 -0
- package/dist/commonjs/operations/managementLocks.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/authorizationOperations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/authorizationOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementLocks.d.ts +159 -0
- package/dist/commonjs/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementLocks.js +10 -0
- package/dist/commonjs/operationsInterfaces/managementLocks.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/managementLockClient.d.ts +21 -0
- package/dist/esm/managementLockClient.d.ts.map +1 -0
- package/dist/esm/managementLockClient.js +98 -0
- package/dist/esm/managementLockClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +295 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +30 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +12 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +319 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +17 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +164 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/authorizationOperations.d.ts +32 -0
- package/dist/esm/operations/authorizationOperations.d.ts.map +1 -0
- package/dist/esm/operations/authorizationOperations.js +134 -0
- package/dist/esm/operations/authorizationOperations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/managementLocks.d.ts +245 -0
- package/dist/esm/operations/managementLocks.d.ts.map +1 -0
- package/dist/esm/operations/managementLocks.js +973 -0
- package/dist/esm/operations/managementLocks.js.map +1 -0
- package/dist/esm/operationsInterfaces/authorizationOperations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/authorizationOperations.js} +2 -3
- package/dist/esm/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/managementLocks.d.ts +159 -0
- package/dist/esm/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/managementLocks.js} +2 -3
- package/dist/esm/operationsInterfaces/managementLocks.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/managementLockClient.d.ts +21 -0
- package/dist/react-native/managementLockClient.d.ts.map +1 -0
- package/dist/react-native/managementLockClient.js +98 -0
- package/dist/react-native/managementLockClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +295 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +30 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +12 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +319 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +17 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +164 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/authorizationOperations.d.ts +32 -0
- package/dist/react-native/operations/authorizationOperations.d.ts.map +1 -0
- package/dist/react-native/operations/authorizationOperations.js +134 -0
- package/dist/react-native/operations/authorizationOperations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/managementLocks.d.ts +245 -0
- package/dist/react-native/operations/managementLocks.d.ts.map +1 -0
- package/dist/react-native/operations/managementLocks.js +973 -0
- package/dist/react-native/operations/managementLocks.js.map +1 -0
- package/dist/react-native/operationsInterfaces/authorizationOperations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/authorizationOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/authorizationOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/authorizationOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/managementLocks.d.ts +159 -0
- package/dist/react-native/operationsInterfaces/managementLocks.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/managementLocks.js +9 -0
- package/dist/react-native/operationsInterfaces/managementLocks.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +69 -40
- package/dist/index.js +0 -1783
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/authorizationOperationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/authorizationOperationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/authorizationOperationsListSample.js +0 -43
- package/dist-esm/samples-dev/authorizationOperationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.js +0 -23
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.js +0 -27
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtResourceLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.js +0 -22
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateAtSubscriptionLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.js +0 -23
- package/dist-esm/samples-dev/managementLocksCreateOrUpdateByScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.js +0 -29
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.js +0 -33
- package/dist-esm/samples-dev/managementLocksDeleteAtResourceLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.js +0 -28
- package/dist-esm/samples-dev/managementLocksDeleteAtSubscriptionLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.js +0 -29
- package/dist-esm/samples-dev/managementLocksDeleteByScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.js +0 -29
- package/dist-esm/samples-dev/managementLocksGetAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.js +0 -33
- package/dist-esm/samples-dev/managementLocksGetAtResourceLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.js +0 -28
- package/dist-esm/samples-dev/managementLocksGetAtSubscriptionLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksGetByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksGetByScopeSample.js +0 -29
- package/dist-esm/samples-dev/managementLocksGetByScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.js +0 -44
- package/dist-esm/samples-dev/managementLocksListAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.js +0 -48
- package/dist-esm/samples-dev/managementLocksListAtResourceLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.js +0 -43
- package/dist-esm/samples-dev/managementLocksListAtSubscriptionLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/managementLocksListByScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementLocksListByScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementLocksListByScopeSample.js +0 -44
- package/dist-esm/samples-dev/managementLocksListByScopeSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/managementLockClient.d.ts.map +0 -1
- package/dist-esm/src/managementLockClient.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/authorizationOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/authorizationOperations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -3
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/managementLocks.d.ts.map +0 -1
- package/dist-esm/src/operations/managementLocks.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/authorizationOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/authorizationOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementLocks.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementLocks.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/locks_examples.d.ts +0 -4
- package/dist-esm/test/locks_examples.d.ts.map +0 -1
- package/dist-esm/test/locks_examples.js +0 -93
- package/dist-esm/test/locks_examples.js.map +0 -1
- package/src/managementLockClient.ts +0 -145
- package/src/models/index.ts +0 -366
- package/src/models/mappers.ts +0 -330
- package/src/models/parameters.ts +0 -184
- package/src/operations/authorizationOperations.ts +0 -150
- package/src/operations/managementLocks.ts +0 -1252
- package/src/operationsInterfaces/authorizationOperations.ts +0 -25
- package/src/operationsInterfaces/managementLocks.ts +0 -270
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -35
- package/types/arm-locks.d.ts +0 -545
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/authorizationOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementLocks.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"locks_examples.d.ts","sourceRoot":"","sources":["../../test/locks_examples.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
|
@@ -1,93 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
import { env, Recorder, isPlaybackMode, } from "@azure-tools/test-recorder";
|
10
|
-
import { createTestCredential } from "@azure-tools/test-credential";
|
11
|
-
import { assert } from "chai";
|
12
|
-
import { ManagementLockClient } from "../src/managementLockClient";
|
13
|
-
const replaceableVariables = {
|
14
|
-
AZURE_CLIENT_ID: "azure_client_id",
|
15
|
-
AZURE_CLIENT_SECRET: "azure_client_secret",
|
16
|
-
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
17
|
-
SUBSCRIPTION_ID: "azure_subscription_id"
|
18
|
-
};
|
19
|
-
const recorderOptions = {
|
20
|
-
envSetupForPlayback: replaceableVariables,
|
21
|
-
removeCentralSanitizers: [
|
22
|
-
"AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section
|
23
|
-
"AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section
|
24
|
-
],
|
25
|
-
};
|
26
|
-
export const testPollingOptions = {
|
27
|
-
updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
|
28
|
-
};
|
29
|
-
describe("Locks test", () => {
|
30
|
-
let recorder;
|
31
|
-
let subscriptionId;
|
32
|
-
let client;
|
33
|
-
let location;
|
34
|
-
let resourceGroup;
|
35
|
-
let lockName;
|
36
|
-
beforeEach(function () {
|
37
|
-
return __awaiter(this, void 0, void 0, function* () {
|
38
|
-
recorder = new Recorder(this.currentTest);
|
39
|
-
yield recorder.start(recorderOptions);
|
40
|
-
subscriptionId = env.SUBSCRIPTION_ID || '';
|
41
|
-
// This is an example of how the environment variables are used
|
42
|
-
const credential = createTestCredential();
|
43
|
-
client = new ManagementLockClient(credential, subscriptionId, recorder.configureClientOptions({}));
|
44
|
-
location = "eastus";
|
45
|
-
resourceGroup = "myjstest";
|
46
|
-
lockName = "jslockrg";
|
47
|
-
});
|
48
|
-
});
|
49
|
-
afterEach(function () {
|
50
|
-
return __awaiter(this, void 0, void 0, function* () {
|
51
|
-
yield recorder.stop();
|
52
|
-
});
|
53
|
-
});
|
54
|
-
// it("managementLocks create test", async function () {
|
55
|
-
// const res = await client.managementLocks.createOrUpdateAtSubscriptionLevel(lockName, { level: "CanNotDelete" });
|
56
|
-
// assert.equal(res.name, lockName);
|
57
|
-
// });
|
58
|
-
// it("managementLocks get test", async function () {
|
59
|
-
// const res = await client.managementLocks.getAtSubscriptionLevel(lockName);
|
60
|
-
// assert.equal(res.name, lockName);
|
61
|
-
// });
|
62
|
-
it("managementLocks list test", function () {
|
63
|
-
return __awaiter(this, void 0, void 0, function* () {
|
64
|
-
var _a, e_1, _b, _c;
|
65
|
-
const resArray = new Array();
|
66
|
-
try {
|
67
|
-
for (var _d = true, _e = __asyncValues(client.managementLocks.listAtSubscriptionLevel()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
68
|
-
_c = _f.value;
|
69
|
-
_d = false;
|
70
|
-
const item = _c;
|
71
|
-
resArray.push(item);
|
72
|
-
}
|
73
|
-
}
|
74
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
75
|
-
finally {
|
76
|
-
try {
|
77
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
78
|
-
}
|
79
|
-
finally { if (e_1) throw e_1.error; }
|
80
|
-
}
|
81
|
-
assert.notEqual(resArray.length, 0);
|
82
|
-
});
|
83
|
-
});
|
84
|
-
// it("managementLocks delete test", async function () {
|
85
|
-
// const res = await client.managementLocks.deleteAtSubscriptionLevel(lockName);
|
86
|
-
// const resArray = new Array();
|
87
|
-
// for await (const item of client.managementLocks.listAtSubscriptionLevel()) {
|
88
|
-
// resArray.push(item);
|
89
|
-
// }
|
90
|
-
// assert.notEqual(resArray.length, 0);
|
91
|
-
// });
|
92
|
-
});
|
93
|
-
//# sourceMappingURL=locks_examples.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"locks_examples.js","sourceRoot":"","sources":["../../test/locks_examples.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;IACzC,uBAAuB,EAAE;QACvB,WAAW,EAAE,kFAAkF;QAC/F,WAAW,EAAE,gFAAgF;KAC9F;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACrD,CAAC;AAEF,QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE;IAC1B,IAAI,QAAkB,CAAC;IACvB,IAAI,cAAsB,CAAC;IAC3B,IAAI,MAA4B,CAAC;IACjC,IAAI,QAAgB,CAAC;IACrB,IAAI,aAAqB,CAAC;IAC1B,IAAI,QAAgB,CAAC;IAErB,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YACtC,cAAc,GAAG,GAAG,CAAC,eAAe,IAAI,EAAE,CAAC;YAC3C,+DAA+D;YAC/D,MAAM,UAAU,GAAG,oBAAoB,EAAE,CAAC;YAC1C,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,EAAE,QAAQ,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC,CAAC;YACnG,QAAQ,GAAG,QAAQ,CAAC;YACpB,aAAa,GAAG,UAAU,CAAC;YAC3B,QAAQ,GAAG,UAAU,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,wDAAwD;IACxD,qHAAqH;IACrH,sCAAsC;IACtC,MAAM;IAEN,qDAAqD;IACrD,+EAA+E;IAC/E,sCAAsC;IACtC,MAAM;IAEN,EAAE,CAAC,2BAA2B,EAAE;;;YAC9B,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;gBAC7B,KAAyB,eAAA,KAAA,cAAA,MAAM,CAAC,eAAe,CAAC,uBAAuB,EAAE,CAAA,IAAA,sDAAE,CAAC;oBAAnD,cAAgD;oBAAhD,WAAgD;oBAA9D,MAAM,IAAI,KAAA,CAAA;oBACnB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACtB,CAAC;;;;;;;;;YACD,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QACtC,CAAC;KAAA,CAAC,CAAC;IAEH,wDAAwD;IACxD,kFAAkF;IAClF,kCAAkC;IAClC,iFAAiF;IACjF,2BAA2B;IAC3B,MAAM;IACN,yCAAyC;IACzC,MAAM;AACR,CAAC,CAAC,CAAC"}
|
@@ -1,145 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
|
9
|
-
import * as coreClient from "@azure/core-client";
|
10
|
-
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
11
|
-
import {
|
12
|
-
PipelineRequest,
|
13
|
-
PipelineResponse,
|
14
|
-
SendRequest
|
15
|
-
} from "@azure/core-rest-pipeline";
|
16
|
-
import * as coreAuth from "@azure/core-auth";
|
17
|
-
import { AuthorizationOperationsImpl, ManagementLocksImpl } from "./operations";
|
18
|
-
import {
|
19
|
-
AuthorizationOperations,
|
20
|
-
ManagementLocks
|
21
|
-
} from "./operationsInterfaces";
|
22
|
-
import { ManagementLockClientOptionalParams } from "./models";
|
23
|
-
|
24
|
-
export class ManagementLockClient extends coreClient.ServiceClient {
|
25
|
-
$host: string;
|
26
|
-
apiVersion: string;
|
27
|
-
subscriptionId: string;
|
28
|
-
|
29
|
-
/**
|
30
|
-
* Initializes a new instance of the ManagementLockClient class.
|
31
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
32
|
-
* @param subscriptionId The ID of the target subscription.
|
33
|
-
* @param options The parameter options
|
34
|
-
*/
|
35
|
-
constructor(
|
36
|
-
credentials: coreAuth.TokenCredential,
|
37
|
-
subscriptionId: string,
|
38
|
-
options?: ManagementLockClientOptionalParams
|
39
|
-
) {
|
40
|
-
if (credentials === undefined) {
|
41
|
-
throw new Error("'credentials' cannot be null");
|
42
|
-
}
|
43
|
-
if (subscriptionId === undefined) {
|
44
|
-
throw new Error("'subscriptionId' cannot be null");
|
45
|
-
}
|
46
|
-
|
47
|
-
// Initializing default values for options
|
48
|
-
if (!options) {
|
49
|
-
options = {};
|
50
|
-
}
|
51
|
-
const defaults: ManagementLockClientOptionalParams = {
|
52
|
-
requestContentType: "application/json; charset=utf-8",
|
53
|
-
credential: credentials
|
54
|
-
};
|
55
|
-
|
56
|
-
const packageDetails = `azsdk-js-arm-locks/2.1.1`;
|
57
|
-
const userAgentPrefix =
|
58
|
-
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
59
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
60
|
-
: `${packageDetails}`;
|
61
|
-
|
62
|
-
const optionsWithDefaults = {
|
63
|
-
...defaults,
|
64
|
-
...options,
|
65
|
-
userAgentOptions: {
|
66
|
-
userAgentPrefix
|
67
|
-
},
|
68
|
-
endpoint:
|
69
|
-
options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
70
|
-
};
|
71
|
-
super(optionsWithDefaults);
|
72
|
-
|
73
|
-
let bearerTokenAuthenticationPolicyFound: boolean = false;
|
74
|
-
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
75
|
-
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
|
76
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
77
|
-
(pipelinePolicy) =>
|
78
|
-
pipelinePolicy.name ===
|
79
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName
|
80
|
-
);
|
81
|
-
}
|
82
|
-
if (
|
83
|
-
!options ||
|
84
|
-
!options.pipeline ||
|
85
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
86
|
-
!bearerTokenAuthenticationPolicyFound
|
87
|
-
) {
|
88
|
-
this.pipeline.removePolicy({
|
89
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
90
|
-
});
|
91
|
-
this.pipeline.addPolicy(
|
92
|
-
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
93
|
-
credential: credentials,
|
94
|
-
scopes:
|
95
|
-
optionsWithDefaults.credentialScopes ??
|
96
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
97
|
-
challengeCallbacks: {
|
98
|
-
authorizeRequestOnChallenge:
|
99
|
-
coreClient.authorizeRequestOnClaimChallenge
|
100
|
-
}
|
101
|
-
})
|
102
|
-
);
|
103
|
-
}
|
104
|
-
// Parameter assignments
|
105
|
-
this.subscriptionId = subscriptionId;
|
106
|
-
|
107
|
-
// Assigning values to Constant parameters
|
108
|
-
this.$host = options.$host || "https://management.azure.com";
|
109
|
-
this.apiVersion = options.apiVersion || "2020-05-01";
|
110
|
-
this.authorizationOperations = new AuthorizationOperationsImpl(this);
|
111
|
-
this.managementLocks = new ManagementLocksImpl(this);
|
112
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
113
|
-
}
|
114
|
-
|
115
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
116
|
-
private addCustomApiVersionPolicy(apiVersion?: string) {
|
117
|
-
if (!apiVersion) {
|
118
|
-
return;
|
119
|
-
}
|
120
|
-
const apiVersionPolicy = {
|
121
|
-
name: "CustomApiVersionPolicy",
|
122
|
-
async sendRequest(
|
123
|
-
request: PipelineRequest,
|
124
|
-
next: SendRequest
|
125
|
-
): Promise<PipelineResponse> {
|
126
|
-
const param = request.url.split("?");
|
127
|
-
if (param.length > 1) {
|
128
|
-
const newParams = param[1].split("&").map((item) => {
|
129
|
-
if (item.indexOf("api-version") > -1) {
|
130
|
-
return "api-version=" + apiVersion;
|
131
|
-
} else {
|
132
|
-
return item;
|
133
|
-
}
|
134
|
-
});
|
135
|
-
request.url = param[0] + "?" + newParams.join("&");
|
136
|
-
}
|
137
|
-
return next(request);
|
138
|
-
}
|
139
|
-
};
|
140
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
141
|
-
}
|
142
|
-
|
143
|
-
authorizationOperations: AuthorizationOperations;
|
144
|
-
managementLocks: ManagementLocks;
|
145
|
-
}
|
package/src/models/index.ts
DELETED
@@ -1,366 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
|
9
|
-
import * as coreClient from "@azure/core-client";
|
10
|
-
|
11
|
-
/** Result of the request to list Microsoft.Authorization operations. It contains a list of operations and a URL link to get the next set of results. */
|
12
|
-
export interface OperationListResult {
|
13
|
-
/** List of Microsoft.Authorization operations. */
|
14
|
-
value?: Operation[];
|
15
|
-
/** URL to get the next set of operation list results if there are any. */
|
16
|
-
nextLink?: string;
|
17
|
-
}
|
18
|
-
|
19
|
-
/** Microsoft.Authorization operation */
|
20
|
-
export interface Operation {
|
21
|
-
/** Operation name: {provider}/{resource}/{operation} */
|
22
|
-
name?: string;
|
23
|
-
/** The object that represents the operation. */
|
24
|
-
display?: OperationDisplay;
|
25
|
-
}
|
26
|
-
|
27
|
-
/** The object that represents the operation. */
|
28
|
-
export interface OperationDisplay {
|
29
|
-
/** Service provider: Microsoft.Authorization */
|
30
|
-
provider?: string;
|
31
|
-
/** Resource on which the operation is performed: Profile, endpoint, etc. */
|
32
|
-
resource?: string;
|
33
|
-
/** Operation type: Read, write, delete, etc. */
|
34
|
-
operation?: string;
|
35
|
-
}
|
36
|
-
|
37
|
-
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
38
|
-
export interface ErrorResponse {
|
39
|
-
/** The error object. */
|
40
|
-
error?: ErrorDetail;
|
41
|
-
}
|
42
|
-
|
43
|
-
/** The error detail. */
|
44
|
-
export interface ErrorDetail {
|
45
|
-
/**
|
46
|
-
* The error code.
|
47
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
48
|
-
*/
|
49
|
-
readonly code?: string;
|
50
|
-
/**
|
51
|
-
* The error message.
|
52
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
53
|
-
*/
|
54
|
-
readonly message?: string;
|
55
|
-
/**
|
56
|
-
* The error target.
|
57
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
58
|
-
*/
|
59
|
-
readonly target?: string;
|
60
|
-
/**
|
61
|
-
* The error details.
|
62
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
63
|
-
*/
|
64
|
-
readonly details?: ErrorDetail[];
|
65
|
-
/**
|
66
|
-
* The error additional info.
|
67
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
68
|
-
*/
|
69
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
70
|
-
}
|
71
|
-
|
72
|
-
/** The resource management error additional info. */
|
73
|
-
export interface ErrorAdditionalInfo {
|
74
|
-
/**
|
75
|
-
* The additional info type.
|
76
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
77
|
-
*/
|
78
|
-
readonly type?: string;
|
79
|
-
/**
|
80
|
-
* The additional info.
|
81
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
82
|
-
*/
|
83
|
-
readonly info?: Record<string, unknown>;
|
84
|
-
}
|
85
|
-
|
86
|
-
/** The lock information. */
|
87
|
-
export interface ManagementLockObject {
|
88
|
-
/**
|
89
|
-
* The resource ID of the lock.
|
90
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
91
|
-
*/
|
92
|
-
readonly id?: string;
|
93
|
-
/**
|
94
|
-
* The resource type of the lock - Microsoft.Authorization/locks.
|
95
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
96
|
-
*/
|
97
|
-
readonly type?: string;
|
98
|
-
/**
|
99
|
-
* The name of the lock.
|
100
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
101
|
-
*/
|
102
|
-
readonly name?: string;
|
103
|
-
/**
|
104
|
-
* Metadata pertaining to creation and last modification of the resource.
|
105
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
106
|
-
*/
|
107
|
-
readonly systemData?: SystemData;
|
108
|
-
/** The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. */
|
109
|
-
level: LockLevel;
|
110
|
-
/** Notes about the lock. Maximum of 512 characters. */
|
111
|
-
notes?: string;
|
112
|
-
/** The owners of the lock. */
|
113
|
-
owners?: ManagementLockOwner[];
|
114
|
-
}
|
115
|
-
|
116
|
-
/** Lock owner properties. */
|
117
|
-
export interface ManagementLockOwner {
|
118
|
-
/** The application ID of the lock owner. */
|
119
|
-
applicationId?: string;
|
120
|
-
}
|
121
|
-
|
122
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
123
|
-
export interface SystemData {
|
124
|
-
/** The identity that created the resource. */
|
125
|
-
createdBy?: string;
|
126
|
-
/** The type of identity that created the resource. */
|
127
|
-
createdByType?: CreatedByType;
|
128
|
-
/** The timestamp of resource creation (UTC). */
|
129
|
-
createdAt?: Date;
|
130
|
-
/** The identity that last modified the resource. */
|
131
|
-
lastModifiedBy?: string;
|
132
|
-
/** The type of identity that last modified the resource. */
|
133
|
-
lastModifiedByType?: CreatedByType;
|
134
|
-
/** The timestamp of resource last modification (UTC) */
|
135
|
-
lastModifiedAt?: Date;
|
136
|
-
}
|
137
|
-
|
138
|
-
/** The list of locks. */
|
139
|
-
export interface ManagementLockListResult {
|
140
|
-
/** The list of locks. */
|
141
|
-
value?: ManagementLockObject[];
|
142
|
-
/** The URL to use for getting the next set of results. */
|
143
|
-
nextLink?: string;
|
144
|
-
}
|
145
|
-
|
146
|
-
/** Known values of {@link LockLevel} that the service accepts. */
|
147
|
-
export enum KnownLockLevel {
|
148
|
-
/** NotSpecified */
|
149
|
-
NotSpecified = "NotSpecified",
|
150
|
-
/** CanNotDelete */
|
151
|
-
CanNotDelete = "CanNotDelete",
|
152
|
-
/** ReadOnly */
|
153
|
-
ReadOnly = "ReadOnly"
|
154
|
-
}
|
155
|
-
|
156
|
-
/**
|
157
|
-
* Defines values for LockLevel. \
|
158
|
-
* {@link KnownLockLevel} can be used interchangeably with LockLevel,
|
159
|
-
* this enum contains the known values that the service supports.
|
160
|
-
* ### Known values supported by the service
|
161
|
-
* **NotSpecified** \
|
162
|
-
* **CanNotDelete** \
|
163
|
-
* **ReadOnly**
|
164
|
-
*/
|
165
|
-
export type LockLevel = string;
|
166
|
-
|
167
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
168
|
-
export enum KnownCreatedByType {
|
169
|
-
/** User */
|
170
|
-
User = "User",
|
171
|
-
/** Application */
|
172
|
-
Application = "Application",
|
173
|
-
/** ManagedIdentity */
|
174
|
-
ManagedIdentity = "ManagedIdentity",
|
175
|
-
/** Key */
|
176
|
-
Key = "Key"
|
177
|
-
}
|
178
|
-
|
179
|
-
/**
|
180
|
-
* Defines values for CreatedByType. \
|
181
|
-
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
182
|
-
* this enum contains the known values that the service supports.
|
183
|
-
* ### Known values supported by the service
|
184
|
-
* **User** \
|
185
|
-
* **Application** \
|
186
|
-
* **ManagedIdentity** \
|
187
|
-
* **Key**
|
188
|
-
*/
|
189
|
-
export type CreatedByType = string;
|
190
|
-
|
191
|
-
/** Optional parameters. */
|
192
|
-
export interface AuthorizationOperationsListOptionalParams
|
193
|
-
extends coreClient.OperationOptions {}
|
194
|
-
|
195
|
-
/** Contains response data for the list operation. */
|
196
|
-
export type AuthorizationOperationsListResponse = OperationListResult;
|
197
|
-
|
198
|
-
/** Optional parameters. */
|
199
|
-
export interface AuthorizationOperationsListNextOptionalParams
|
200
|
-
extends coreClient.OperationOptions {}
|
201
|
-
|
202
|
-
/** Contains response data for the listNext operation. */
|
203
|
-
export type AuthorizationOperationsListNextResponse = OperationListResult;
|
204
|
-
|
205
|
-
/** Optional parameters. */
|
206
|
-
export interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams
|
207
|
-
extends coreClient.OperationOptions {}
|
208
|
-
|
209
|
-
/** Contains response data for the createOrUpdateAtResourceGroupLevel operation. */
|
210
|
-
export type ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse = ManagementLockObject;
|
211
|
-
|
212
|
-
/** Optional parameters. */
|
213
|
-
export interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams
|
214
|
-
extends coreClient.OperationOptions {}
|
215
|
-
|
216
|
-
/** Optional parameters. */
|
217
|
-
export interface ManagementLocksGetAtResourceGroupLevelOptionalParams
|
218
|
-
extends coreClient.OperationOptions {}
|
219
|
-
|
220
|
-
/** Contains response data for the getAtResourceGroupLevel operation. */
|
221
|
-
export type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject;
|
222
|
-
|
223
|
-
/** Optional parameters. */
|
224
|
-
export interface ManagementLocksCreateOrUpdateByScopeOptionalParams
|
225
|
-
extends coreClient.OperationOptions {}
|
226
|
-
|
227
|
-
/** Contains response data for the createOrUpdateByScope operation. */
|
228
|
-
export type ManagementLocksCreateOrUpdateByScopeResponse = ManagementLockObject;
|
229
|
-
|
230
|
-
/** Optional parameters. */
|
231
|
-
export interface ManagementLocksDeleteByScopeOptionalParams
|
232
|
-
extends coreClient.OperationOptions {}
|
233
|
-
|
234
|
-
/** Optional parameters. */
|
235
|
-
export interface ManagementLocksGetByScopeOptionalParams
|
236
|
-
extends coreClient.OperationOptions {}
|
237
|
-
|
238
|
-
/** Contains response data for the getByScope operation. */
|
239
|
-
export type ManagementLocksGetByScopeResponse = ManagementLockObject;
|
240
|
-
|
241
|
-
/** Optional parameters. */
|
242
|
-
export interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams
|
243
|
-
extends coreClient.OperationOptions {}
|
244
|
-
|
245
|
-
/** Contains response data for the createOrUpdateAtResourceLevel operation. */
|
246
|
-
export type ManagementLocksCreateOrUpdateAtResourceLevelResponse = ManagementLockObject;
|
247
|
-
|
248
|
-
/** Optional parameters. */
|
249
|
-
export interface ManagementLocksDeleteAtResourceLevelOptionalParams
|
250
|
-
extends coreClient.OperationOptions {}
|
251
|
-
|
252
|
-
/** Optional parameters. */
|
253
|
-
export interface ManagementLocksGetAtResourceLevelOptionalParams
|
254
|
-
extends coreClient.OperationOptions {}
|
255
|
-
|
256
|
-
/** Contains response data for the getAtResourceLevel operation. */
|
257
|
-
export type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject;
|
258
|
-
|
259
|
-
/** Optional parameters. */
|
260
|
-
export interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams
|
261
|
-
extends coreClient.OperationOptions {}
|
262
|
-
|
263
|
-
/** Contains response data for the createOrUpdateAtSubscriptionLevel operation. */
|
264
|
-
export type ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse = ManagementLockObject;
|
265
|
-
|
266
|
-
/** Optional parameters. */
|
267
|
-
export interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams
|
268
|
-
extends coreClient.OperationOptions {}
|
269
|
-
|
270
|
-
/** Optional parameters. */
|
271
|
-
export interface ManagementLocksGetAtSubscriptionLevelOptionalParams
|
272
|
-
extends coreClient.OperationOptions {}
|
273
|
-
|
274
|
-
/** Contains response data for the getAtSubscriptionLevel operation. */
|
275
|
-
export type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject;
|
276
|
-
|
277
|
-
/** Optional parameters. */
|
278
|
-
export interface ManagementLocksListAtResourceGroupLevelOptionalParams
|
279
|
-
extends coreClient.OperationOptions {
|
280
|
-
/** The filter to apply on the operation. */
|
281
|
-
filter?: string;
|
282
|
-
}
|
283
|
-
|
284
|
-
/** Contains response data for the listAtResourceGroupLevel operation. */
|
285
|
-
export type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockListResult;
|
286
|
-
|
287
|
-
/** Optional parameters. */
|
288
|
-
export interface ManagementLocksListAtResourceLevelOptionalParams
|
289
|
-
extends coreClient.OperationOptions {
|
290
|
-
/** The filter to apply on the operation. */
|
291
|
-
filter?: string;
|
292
|
-
}
|
293
|
-
|
294
|
-
/** Contains response data for the listAtResourceLevel operation. */
|
295
|
-
export type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult;
|
296
|
-
|
297
|
-
/** Optional parameters. */
|
298
|
-
export interface ManagementLocksListAtSubscriptionLevelOptionalParams
|
299
|
-
extends coreClient.OperationOptions {
|
300
|
-
/** The filter to apply on the operation. */
|
301
|
-
filter?: string;
|
302
|
-
}
|
303
|
-
|
304
|
-
/** Contains response data for the listAtSubscriptionLevel operation. */
|
305
|
-
export type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListResult;
|
306
|
-
|
307
|
-
/** Optional parameters. */
|
308
|
-
export interface ManagementLocksListByScopeOptionalParams
|
309
|
-
extends coreClient.OperationOptions {
|
310
|
-
/** The filter to apply on the operation. */
|
311
|
-
filter?: string;
|
312
|
-
}
|
313
|
-
|
314
|
-
/** Contains response data for the listByScope operation. */
|
315
|
-
export type ManagementLocksListByScopeResponse = ManagementLockListResult;
|
316
|
-
|
317
|
-
/** Optional parameters. */
|
318
|
-
export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams
|
319
|
-
extends coreClient.OperationOptions {
|
320
|
-
/** The filter to apply on the operation. */
|
321
|
-
filter?: string;
|
322
|
-
}
|
323
|
-
|
324
|
-
/** Contains response data for the listAtResourceGroupLevelNext operation. */
|
325
|
-
export type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;
|
326
|
-
|
327
|
-
/** Optional parameters. */
|
328
|
-
export interface ManagementLocksListAtResourceLevelNextOptionalParams
|
329
|
-
extends coreClient.OperationOptions {
|
330
|
-
/** The filter to apply on the operation. */
|
331
|
-
filter?: string;
|
332
|
-
}
|
333
|
-
|
334
|
-
/** Contains response data for the listAtResourceLevelNext operation. */
|
335
|
-
export type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;
|
336
|
-
|
337
|
-
/** Optional parameters. */
|
338
|
-
export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams
|
339
|
-
extends coreClient.OperationOptions {
|
340
|
-
/** The filter to apply on the operation. */
|
341
|
-
filter?: string;
|
342
|
-
}
|
343
|
-
|
344
|
-
/** Contains response data for the listAtSubscriptionLevelNext operation. */
|
345
|
-
export type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;
|
346
|
-
|
347
|
-
/** Optional parameters. */
|
348
|
-
export interface ManagementLocksListByScopeNextOptionalParams
|
349
|
-
extends coreClient.OperationOptions {
|
350
|
-
/** The filter to apply on the operation. */
|
351
|
-
filter?: string;
|
352
|
-
}
|
353
|
-
|
354
|
-
/** Contains response data for the listByScopeNext operation. */
|
355
|
-
export type ManagementLocksListByScopeNextResponse = ManagementLockListResult;
|
356
|
-
|
357
|
-
/** Optional parameters. */
|
358
|
-
export interface ManagementLockClientOptionalParams
|
359
|
-
extends coreClient.ServiceClientOptions {
|
360
|
-
/** server parameter */
|
361
|
-
$host?: string;
|
362
|
-
/** Api Version */
|
363
|
-
apiVersion?: string;
|
364
|
-
/** Overrides client endpoint. */
|
365
|
-
endpoint?: string;
|
366
|
-
}
|