@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
@@ -1,5 +1,5 @@
|
|
1
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";
|
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
3
|
/** Interface representing a ManagementLocks. */
|
4
4
|
export interface ManagementLocks {
|
5
5
|
/**
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"managementLocks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/managementLocks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,qDAAqD,EACrD,gDAAgD,EAChD,oDAAoD,EACpD,wCAAwC,EACxC,+DAA+D,EAC/D,yDAAyD,EACzD,uDAAuD,EACvD,oDAAoD,EACpD,8CAA8C,EAC9C,kDAAkD,EAClD,4CAA4C,EAC5C,0CAA0C,EAC1C,uCAAuC,EACvC,iCAAiC,EACjC,0DAA0D,EAC1D,oDAAoD,EACpD,kDAAkD,EAClD,+CAA+C,EAC/C,yCAAyC,EACzC,8DAA8D,EAC9D,wDAAwD,EACxD,sDAAsD,EACtD,mDAAmD,EACnD,6CAA6C,EAC9C,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;;;;;;;OASG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;OAGG;IACH,uBAAuB,CACrB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;;;;;;OAQG;IACH,WAAW,CACT,KAAK,EAAE,MAAM,EACb,OAAO,CA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,EAAE,oBAAoB,EAChC,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CAAC,oDAAoD,CAAC,CAAC;IACjE;;;;;;;;;;;;;OAaG;IACH,qBAAqB,CACnB,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,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 @@
|
|
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 @@
|
|
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","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"}
|
@@ -0,0 +1,19 @@
|
|
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.ManagementLockClient = exports.getContinuationToken = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
13
|
+
var pagingHelper_js_1 = require("./pagingHelper.js");
|
14
|
+
Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
|
15
|
+
tslib_1.__exportStar(require("./models/index.js"), exports);
|
16
|
+
var managementLockClient_js_1 = require("./managementLockClient.js");
|
17
|
+
Object.defineProperty(exports, "ManagementLockClient", { enumerable: true, get: function () { return managementLockClient_js_1.ManagementLockClient; } });
|
18
|
+
tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
|
19
|
+
//# 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,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA;AAC7B,0EAAgD","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"}
|
@@ -0,0 +1,103 @@
|
|
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.ManagementLockClient = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
13
|
+
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
14
|
+
const index_js_1 = require("./operations/index.js");
|
15
|
+
class ManagementLockClient extends coreClient.ServiceClient {
|
16
|
+
/**
|
17
|
+
* Initializes a new instance of the ManagementLockClient class.
|
18
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
19
|
+
* @param subscriptionId The ID of the target subscription.
|
20
|
+
* @param options The parameter options
|
21
|
+
*/
|
22
|
+
constructor(credentials, subscriptionId, options) {
|
23
|
+
var _a, _b, _c;
|
24
|
+
if (credentials === undefined) {
|
25
|
+
throw new Error("'credentials' cannot be null");
|
26
|
+
}
|
27
|
+
if (subscriptionId === undefined) {
|
28
|
+
throw new Error("'subscriptionId' cannot be null");
|
29
|
+
}
|
30
|
+
// Initializing default values for options
|
31
|
+
if (!options) {
|
32
|
+
options = {};
|
33
|
+
}
|
34
|
+
const defaults = {
|
35
|
+
requestContentType: "application/json; charset=utf-8",
|
36
|
+
credential: credentials
|
37
|
+
};
|
38
|
+
const packageDetails = `azsdk-js-arm-locks/2.1.1`;
|
39
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
40
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
41
|
+
: `${packageDetails}`;
|
42
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
43
|
+
userAgentPrefix
|
44
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
45
|
+
super(optionsWithDefaults);
|
46
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
47
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
48
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
50
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
51
|
+
}
|
52
|
+
if (!options ||
|
53
|
+
!options.pipeline ||
|
54
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
55
|
+
!bearerTokenAuthenticationPolicyFound) {
|
56
|
+
this.pipeline.removePolicy({
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
58
|
+
});
|
59
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
60
|
+
credential: credentials,
|
61
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
62
|
+
challengeCallbacks: {
|
63
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
64
|
+
}
|
65
|
+
}));
|
66
|
+
}
|
67
|
+
// Parameter assignments
|
68
|
+
this.subscriptionId = subscriptionId;
|
69
|
+
// Assigning values to Constant parameters
|
70
|
+
this.$host = options.$host || "https://management.azure.com";
|
71
|
+
this.apiVersion = options.apiVersion || "2020-05-01";
|
72
|
+
this.authorizationOperations = new index_js_1.AuthorizationOperationsImpl(this);
|
73
|
+
this.managementLocks = new index_js_1.ManagementLocksImpl(this);
|
74
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
75
|
+
}
|
76
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
77
|
+
addCustomApiVersionPolicy(apiVersion) {
|
78
|
+
if (!apiVersion) {
|
79
|
+
return;
|
80
|
+
}
|
81
|
+
const apiVersionPolicy = {
|
82
|
+
name: "CustomApiVersionPolicy",
|
83
|
+
async sendRequest(request, next) {
|
84
|
+
const param = request.url.split("?");
|
85
|
+
if (param.length > 1) {
|
86
|
+
const newParams = param[1].split("&").map((item) => {
|
87
|
+
if (item.indexOf("api-version") > -1) {
|
88
|
+
return "api-version=" + apiVersion;
|
89
|
+
}
|
90
|
+
else {
|
91
|
+
return item;
|
92
|
+
}
|
93
|
+
});
|
94
|
+
request.url = param[0] + "?" + newParams.join("&");
|
95
|
+
}
|
96
|
+
return next(request);
|
97
|
+
}
|
98
|
+
};
|
99
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
exports.ManagementLockClient = ManagementLockClient;
|
103
|
+
//# sourceMappingURL=managementLockClient.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"managementLockClient.js","sourceRoot":"","sources":["../../src/managementLockClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAAyF;AAOzF,MAAa,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAKhE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA4C;;QAE5C,IAAI,WAAW,KAAK,SAAS,EAA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,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAIF;AAzHD,oDAyHC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { AuthorizationOperationsImpl, ManagementLocksImpl } from \"./operations/index.js\";\nimport {\n AuthorizationOperations,\n ManagementLocks\n} from \"./operationsInterfaces/index.js\";\nimport { ManagementLockClientOptionalParams } from \"./models/index.js\";\n\nexport class ManagementLockClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ManagementLockClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ManagementLockClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ManagementLockClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-locks/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2020-05-01\";\n this.authorizationOperations = new AuthorizationOperationsImpl(this);\n this.managementLocks = new ManagementLocksImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n authorizationOperations: AuthorizationOperations;\n managementLocks: ManagementLocks;\n}\n"]}
|
@@ -0,0 +1,295 @@
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
2
|
+
/** 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. */
|
3
|
+
export interface OperationListResult {
|
4
|
+
/** List of Microsoft.Authorization operations. */
|
5
|
+
value?: Operation[];
|
6
|
+
/** URL to get the next set of operation list results if there are any. */
|
7
|
+
nextLink?: string;
|
8
|
+
}
|
9
|
+
/** Microsoft.Authorization operation */
|
10
|
+
export interface Operation {
|
11
|
+
/** Operation name: {provider}/{resource}/{operation} */
|
12
|
+
name?: string;
|
13
|
+
/** The object that represents the operation. */
|
14
|
+
display?: OperationDisplay;
|
15
|
+
}
|
16
|
+
/** The object that represents the operation. */
|
17
|
+
export interface OperationDisplay {
|
18
|
+
/** Service provider: Microsoft.Authorization */
|
19
|
+
provider?: string;
|
20
|
+
/** Resource on which the operation is performed: Profile, endpoint, etc. */
|
21
|
+
resource?: string;
|
22
|
+
/** Operation type: Read, write, delete, etc. */
|
23
|
+
operation?: string;
|
24
|
+
}
|
25
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
26
|
+
export interface ErrorResponse {
|
27
|
+
/** The error object. */
|
28
|
+
error?: ErrorDetail;
|
29
|
+
}
|
30
|
+
/** The error detail. */
|
31
|
+
export interface ErrorDetail {
|
32
|
+
/**
|
33
|
+
* The error code.
|
34
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
35
|
+
*/
|
36
|
+
readonly code?: string;
|
37
|
+
/**
|
38
|
+
* The error message.
|
39
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
40
|
+
*/
|
41
|
+
readonly message?: string;
|
42
|
+
/**
|
43
|
+
* The error target.
|
44
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
45
|
+
*/
|
46
|
+
readonly target?: string;
|
47
|
+
/**
|
48
|
+
* The error details.
|
49
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
50
|
+
*/
|
51
|
+
readonly details?: ErrorDetail[];
|
52
|
+
/**
|
53
|
+
* The error additional info.
|
54
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
55
|
+
*/
|
56
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
57
|
+
}
|
58
|
+
/** The resource management error additional info. */
|
59
|
+
export interface ErrorAdditionalInfo {
|
60
|
+
/**
|
61
|
+
* The additional info type.
|
62
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
63
|
+
*/
|
64
|
+
readonly type?: string;
|
65
|
+
/**
|
66
|
+
* The additional info.
|
67
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
68
|
+
*/
|
69
|
+
readonly info?: Record<string, unknown>;
|
70
|
+
}
|
71
|
+
/** The lock information. */
|
72
|
+
export interface ManagementLockObject {
|
73
|
+
/**
|
74
|
+
* The resource ID of the lock.
|
75
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
76
|
+
*/
|
77
|
+
readonly id?: string;
|
78
|
+
/**
|
79
|
+
* The resource type of the lock - Microsoft.Authorization/locks.
|
80
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
81
|
+
*/
|
82
|
+
readonly type?: string;
|
83
|
+
/**
|
84
|
+
* The name of the lock.
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
86
|
+
*/
|
87
|
+
readonly name?: string;
|
88
|
+
/**
|
89
|
+
* Metadata pertaining to creation and last modification of the resource.
|
90
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
91
|
+
*/
|
92
|
+
readonly systemData?: SystemData;
|
93
|
+
/** 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. */
|
94
|
+
level: LockLevel;
|
95
|
+
/** Notes about the lock. Maximum of 512 characters. */
|
96
|
+
notes?: string;
|
97
|
+
/** The owners of the lock. */
|
98
|
+
owners?: ManagementLockOwner[];
|
99
|
+
}
|
100
|
+
/** Lock owner properties. */
|
101
|
+
export interface ManagementLockOwner {
|
102
|
+
/** The application ID of the lock owner. */
|
103
|
+
applicationId?: string;
|
104
|
+
}
|
105
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
106
|
+
export interface SystemData {
|
107
|
+
/** The identity that created the resource. */
|
108
|
+
createdBy?: string;
|
109
|
+
/** The type of identity that created the resource. */
|
110
|
+
createdByType?: CreatedByType;
|
111
|
+
/** The timestamp of resource creation (UTC). */
|
112
|
+
createdAt?: Date;
|
113
|
+
/** The identity that last modified the resource. */
|
114
|
+
lastModifiedBy?: string;
|
115
|
+
/** The type of identity that last modified the resource. */
|
116
|
+
lastModifiedByType?: CreatedByType;
|
117
|
+
/** The timestamp of resource last modification (UTC) */
|
118
|
+
lastModifiedAt?: Date;
|
119
|
+
}
|
120
|
+
/** The list of locks. */
|
121
|
+
export interface ManagementLockListResult {
|
122
|
+
/** The list of locks. */
|
123
|
+
value?: ManagementLockObject[];
|
124
|
+
/** The URL to use for getting the next set of results. */
|
125
|
+
nextLink?: string;
|
126
|
+
}
|
127
|
+
/** Known values of {@link LockLevel} that the service accepts. */
|
128
|
+
export declare enum KnownLockLevel {
|
129
|
+
/** NotSpecified */
|
130
|
+
NotSpecified = "NotSpecified",
|
131
|
+
/** CanNotDelete */
|
132
|
+
CanNotDelete = "CanNotDelete",
|
133
|
+
/** ReadOnly */
|
134
|
+
ReadOnly = "ReadOnly"
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* Defines values for LockLevel. \
|
138
|
+
* {@link KnownLockLevel} can be used interchangeably with LockLevel,
|
139
|
+
* this enum contains the known values that the service supports.
|
140
|
+
* ### Known values supported by the service
|
141
|
+
* **NotSpecified** \
|
142
|
+
* **CanNotDelete** \
|
143
|
+
* **ReadOnly**
|
144
|
+
*/
|
145
|
+
export type LockLevel = string;
|
146
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
147
|
+
export declare enum KnownCreatedByType {
|
148
|
+
/** User */
|
149
|
+
User = "User",
|
150
|
+
/** Application */
|
151
|
+
Application = "Application",
|
152
|
+
/** ManagedIdentity */
|
153
|
+
ManagedIdentity = "ManagedIdentity",
|
154
|
+
/** Key */
|
155
|
+
Key = "Key"
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* Defines values for CreatedByType. \
|
159
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
160
|
+
* this enum contains the known values that the service supports.
|
161
|
+
* ### Known values supported by the service
|
162
|
+
* **User** \
|
163
|
+
* **Application** \
|
164
|
+
* **ManagedIdentity** \
|
165
|
+
* **Key**
|
166
|
+
*/
|
167
|
+
export type CreatedByType = string;
|
168
|
+
/** Optional parameters. */
|
169
|
+
export interface AuthorizationOperationsListOptionalParams extends coreClient.OperationOptions {
|
170
|
+
}
|
171
|
+
/** Contains response data for the list operation. */
|
172
|
+
export type AuthorizationOperationsListResponse = OperationListResult;
|
173
|
+
/** Optional parameters. */
|
174
|
+
export interface AuthorizationOperationsListNextOptionalParams extends coreClient.OperationOptions {
|
175
|
+
}
|
176
|
+
/** Contains response data for the listNext operation. */
|
177
|
+
export type AuthorizationOperationsListNextResponse = OperationListResult;
|
178
|
+
/** Optional parameters. */
|
179
|
+
export interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
|
180
|
+
}
|
181
|
+
/** Contains response data for the createOrUpdateAtResourceGroupLevel operation. */
|
182
|
+
export type ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse = ManagementLockObject;
|
183
|
+
/** Optional parameters. */
|
184
|
+
export interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
|
185
|
+
}
|
186
|
+
/** Optional parameters. */
|
187
|
+
export interface ManagementLocksGetAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
|
188
|
+
}
|
189
|
+
/** Contains response data for the getAtResourceGroupLevel operation. */
|
190
|
+
export type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject;
|
191
|
+
/** Optional parameters. */
|
192
|
+
export interface ManagementLocksCreateOrUpdateByScopeOptionalParams extends coreClient.OperationOptions {
|
193
|
+
}
|
194
|
+
/** Contains response data for the createOrUpdateByScope operation. */
|
195
|
+
export type ManagementLocksCreateOrUpdateByScopeResponse = ManagementLockObject;
|
196
|
+
/** Optional parameters. */
|
197
|
+
export interface ManagementLocksDeleteByScopeOptionalParams extends coreClient.OperationOptions {
|
198
|
+
}
|
199
|
+
/** Optional parameters. */
|
200
|
+
export interface ManagementLocksGetByScopeOptionalParams extends coreClient.OperationOptions {
|
201
|
+
}
|
202
|
+
/** Contains response data for the getByScope operation. */
|
203
|
+
export type ManagementLocksGetByScopeResponse = ManagementLockObject;
|
204
|
+
/** Optional parameters. */
|
205
|
+
export interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams extends coreClient.OperationOptions {
|
206
|
+
}
|
207
|
+
/** Contains response data for the createOrUpdateAtResourceLevel operation. */
|
208
|
+
export type ManagementLocksCreateOrUpdateAtResourceLevelResponse = ManagementLockObject;
|
209
|
+
/** Optional parameters. */
|
210
|
+
export interface ManagementLocksDeleteAtResourceLevelOptionalParams extends coreClient.OperationOptions {
|
211
|
+
}
|
212
|
+
/** Optional parameters. */
|
213
|
+
export interface ManagementLocksGetAtResourceLevelOptionalParams extends coreClient.OperationOptions {
|
214
|
+
}
|
215
|
+
/** Contains response data for the getAtResourceLevel operation. */
|
216
|
+
export type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject;
|
217
|
+
/** Optional parameters. */
|
218
|
+
export interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
|
219
|
+
}
|
220
|
+
/** Contains response data for the createOrUpdateAtSubscriptionLevel operation. */
|
221
|
+
export type ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse = ManagementLockObject;
|
222
|
+
/** Optional parameters. */
|
223
|
+
export interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
|
224
|
+
}
|
225
|
+
/** Optional parameters. */
|
226
|
+
export interface ManagementLocksGetAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
|
227
|
+
}
|
228
|
+
/** Contains response data for the getAtSubscriptionLevel operation. */
|
229
|
+
export type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject;
|
230
|
+
/** Optional parameters. */
|
231
|
+
export interface ManagementLocksListAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
|
232
|
+
/** The filter to apply on the operation. */
|
233
|
+
filter?: string;
|
234
|
+
}
|
235
|
+
/** Contains response data for the listAtResourceGroupLevel operation. */
|
236
|
+
export type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockListResult;
|
237
|
+
/** Optional parameters. */
|
238
|
+
export interface ManagementLocksListAtResourceLevelOptionalParams extends coreClient.OperationOptions {
|
239
|
+
/** The filter to apply on the operation. */
|
240
|
+
filter?: string;
|
241
|
+
}
|
242
|
+
/** Contains response data for the listAtResourceLevel operation. */
|
243
|
+
export type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult;
|
244
|
+
/** Optional parameters. */
|
245
|
+
export interface ManagementLocksListAtSubscriptionLevelOptionalParams extends coreClient.OperationOptions {
|
246
|
+
/** The filter to apply on the operation. */
|
247
|
+
filter?: string;
|
248
|
+
}
|
249
|
+
/** Contains response data for the listAtSubscriptionLevel operation. */
|
250
|
+
export type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListResult;
|
251
|
+
/** Optional parameters. */
|
252
|
+
export interface ManagementLocksListByScopeOptionalParams extends coreClient.OperationOptions {
|
253
|
+
/** The filter to apply on the operation. */
|
254
|
+
filter?: string;
|
255
|
+
}
|
256
|
+
/** Contains response data for the listByScope operation. */
|
257
|
+
export type ManagementLocksListByScopeResponse = ManagementLockListResult;
|
258
|
+
/** Optional parameters. */
|
259
|
+
export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams extends coreClient.OperationOptions {
|
260
|
+
/** The filter to apply on the operation. */
|
261
|
+
filter?: string;
|
262
|
+
}
|
263
|
+
/** Contains response data for the listAtResourceGroupLevelNext operation. */
|
264
|
+
export type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;
|
265
|
+
/** Optional parameters. */
|
266
|
+
export interface ManagementLocksListAtResourceLevelNextOptionalParams extends coreClient.OperationOptions {
|
267
|
+
/** The filter to apply on the operation. */
|
268
|
+
filter?: string;
|
269
|
+
}
|
270
|
+
/** Contains response data for the listAtResourceLevelNext operation. */
|
271
|
+
export type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;
|
272
|
+
/** Optional parameters. */
|
273
|
+
export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams extends coreClient.OperationOptions {
|
274
|
+
/** The filter to apply on the operation. */
|
275
|
+
filter?: string;
|
276
|
+
}
|
277
|
+
/** Contains response data for the listAtSubscriptionLevelNext operation. */
|
278
|
+
export type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;
|
279
|
+
/** Optional parameters. */
|
280
|
+
export interface ManagementLocksListByScopeNextOptionalParams extends coreClient.OperationOptions {
|
281
|
+
/** The filter to apply on the operation. */
|
282
|
+
filter?: string;
|
283
|
+
}
|
284
|
+
/** Contains response data for the listByScopeNext operation. */
|
285
|
+
export type ManagementLocksListByScopeNextResponse = ManagementLockListResult;
|
286
|
+
/** Optional parameters. */
|
287
|
+
export interface ManagementLockClientOptionalParams extends coreClient.ServiceClientOptions {
|
288
|
+
/** server parameter */
|
289
|
+
$host?: string;
|
290
|
+
/** Api Version */
|
291
|
+
apiVersion?: string;
|
292
|
+
/** Overrides client endpoint. */
|
293
|
+
endpoint?: string;
|
294
|
+
}
|
295
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,wJAAwJ;AACxJ,MAAM,WAAW,mBAAmB;IAClC,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wCAAwC;AACxC,MAAM,WAAW,SAAS;IACxB,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B;AAED,gDAAgD;AAChD,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qKAAqK;AACrK,MAAM,WAAW,aAAa;IAC5B,wBAAwB;IACxB,KAAK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,CAAC,gBAAgB;IACnC,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,4EAA4E;AAC5E,MAAM,MAAM,kDAAkD,GAAG,wBAAwB,CAAC;AAE1F,2BAA2B;AAC3B,MAAM,WAAW,4CACf,SAAQ,UAAU,CAAC,gBAAgB;IACnC,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,gEAAgE;AAChE,MAAM,MAAM,sCAAsC,GAAG,wBAAwB,CAAC;AAE9E,2BAA2B;AAC3B,MAAM,WAAW,kCACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
@@ -0,0 +1,33 @@
|
|
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.KnownCreatedByType = exports.KnownLockLevel = void 0;
|
11
|
+
/** Known values of {@link LockLevel} that the service accepts. */
|
12
|
+
var KnownLockLevel;
|
13
|
+
(function (KnownLockLevel) {
|
14
|
+
/** NotSpecified */
|
15
|
+
KnownLockLevel["NotSpecified"] = "NotSpecified";
|
16
|
+
/** CanNotDelete */
|
17
|
+
KnownLockLevel["CanNotDelete"] = "CanNotDelete";
|
18
|
+
/** ReadOnly */
|
19
|
+
KnownLockLevel["ReadOnly"] = "ReadOnly";
|
20
|
+
})(KnownLockLevel || (exports.KnownLockLevel = KnownLockLevel = {}));
|
21
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
22
|
+
var KnownCreatedByType;
|
23
|
+
(function (KnownCreatedByType) {
|
24
|
+
/** User */
|
25
|
+
KnownCreatedByType["User"] = "User";
|
26
|
+
/** Application */
|
27
|
+
KnownCreatedByType["Application"] = "Application";
|
28
|
+
/** ManagedIdentity */
|
29
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
30
|
+
/** Key */
|
31
|
+
KnownCreatedByType["Key"] = "Key";
|
32
|
+
})(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
|
33
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA2IH,kEAAkE;AAClE,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,mBAAmB;IACnB,+CAA6B,CAAA;IAC7B,mBAAmB;IACnB,+CAA6B,CAAA;IAC7B,eAAe;IACf,uCAAqB,CAAA;AACvB,CAAC,EAPW,cAAc,8BAAd,cAAc,QAOzB;AAaD,sEAAsE;AACtE,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,kCAAlB,kBAAkB,QAS7B","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 * as coreClient from \"@azure/core-client\";\n\n/** 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. */\nexport interface OperationListResult {\n /** List of Microsoft.Authorization operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Microsoft.Authorization operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Authorization */\n provider?: string;\n /** Resource on which the operation is performed: Profile, endpoint, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The lock information. */\nexport interface ManagementLockObject {\n /**\n * The resource ID of the lock.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The resource type of the lock - Microsoft.Authorization/locks.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The name of the lock.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Metadata pertaining to creation and last modification of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** 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. */\n level: LockLevel;\n /** Notes about the lock. Maximum of 512 characters. */\n notes?: string;\n /** The owners of the lock. */\n owners?: ManagementLockOwner[];\n}\n\n/** Lock owner properties. */\nexport interface ManagementLockOwner {\n /** The application ID of the lock owner. */\n applicationId?: string;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** The list of locks. */\nexport interface ManagementLockListResult {\n /** The list of locks. */\n value?: ManagementLockObject[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Known values of {@link LockLevel} that the service accepts. */\nexport enum KnownLockLevel {\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n /** CanNotDelete */\n CanNotDelete = \"CanNotDelete\",\n /** ReadOnly */\n ReadOnly = \"ReadOnly\"\n}\n\n/**\n * Defines values for LockLevel. \\\n * {@link KnownLockLevel} can be used interchangeably with LockLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSpecified** \\\n * **CanNotDelete** \\\n * **ReadOnly**\n */\nexport type LockLevel = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Optional parameters. */\nexport interface AuthorizationOperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type AuthorizationOperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface AuthorizationOperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type AuthorizationOperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtResourceGroupLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtResourceGroupLevel operation. */\nexport type ManagementLocksGetAtResourceGroupLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateByScope operation. */\nexport type ManagementLocksCreateOrUpdateByScopeResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetByScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getByScope operation. */\nexport type ManagementLocksGetByScopeResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtResourceLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtResourceLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtResourceLevel operation. */\nexport type ManagementLocksGetAtResourceLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateAtSubscriptionLevel operation. */\nexport type ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksDeleteAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ManagementLocksGetAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAtSubscriptionLevel operation. */\nexport type ManagementLocksGetAtSubscriptionLevelResponse = ManagementLockObject;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceGroupLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceGroupLevel operation. */\nexport type ManagementLocksListAtResourceGroupLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceLevel operation. */\nexport type ManagementLocksListAtResourceLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtSubscriptionLevelOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtSubscriptionLevel operation. */\nexport type ManagementLocksListAtSubscriptionLevelResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listByScope operation. */\nexport type ManagementLocksListByScopeResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceGroupLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceGroupLevelNext operation. */\nexport type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceLevelNext operation. */\nexport type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtSubscriptionLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtSubscriptionLevelNext operation. */\nexport type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listByScopeNext operation. */\nexport type ManagementLocksListByScopeNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLockClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|