@azure/arm-locks 2.1.1-alpha.20250211.1 → 2.1.1-alpha.20250213.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
package/src/models/mappers.ts
DELETED
@@ -1,330 +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
|
-
export const OperationListResult: coreClient.CompositeMapper = {
|
12
|
-
type: {
|
13
|
-
name: "Composite",
|
14
|
-
className: "OperationListResult",
|
15
|
-
modelProperties: {
|
16
|
-
value: {
|
17
|
-
serializedName: "value",
|
18
|
-
type: {
|
19
|
-
name: "Sequence",
|
20
|
-
element: {
|
21
|
-
type: {
|
22
|
-
name: "Composite",
|
23
|
-
className: "Operation"
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
},
|
28
|
-
nextLink: {
|
29
|
-
serializedName: "nextLink",
|
30
|
-
type: {
|
31
|
-
name: "String"
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
};
|
37
|
-
|
38
|
-
export const Operation: coreClient.CompositeMapper = {
|
39
|
-
type: {
|
40
|
-
name: "Composite",
|
41
|
-
className: "Operation",
|
42
|
-
modelProperties: {
|
43
|
-
name: {
|
44
|
-
serializedName: "name",
|
45
|
-
type: {
|
46
|
-
name: "String"
|
47
|
-
}
|
48
|
-
},
|
49
|
-
display: {
|
50
|
-
serializedName: "display",
|
51
|
-
type: {
|
52
|
-
name: "Composite",
|
53
|
-
className: "OperationDisplay"
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
};
|
59
|
-
|
60
|
-
export const OperationDisplay: coreClient.CompositeMapper = {
|
61
|
-
type: {
|
62
|
-
name: "Composite",
|
63
|
-
className: "OperationDisplay",
|
64
|
-
modelProperties: {
|
65
|
-
provider: {
|
66
|
-
serializedName: "provider",
|
67
|
-
type: {
|
68
|
-
name: "String"
|
69
|
-
}
|
70
|
-
},
|
71
|
-
resource: {
|
72
|
-
serializedName: "resource",
|
73
|
-
type: {
|
74
|
-
name: "String"
|
75
|
-
}
|
76
|
-
},
|
77
|
-
operation: {
|
78
|
-
serializedName: "operation",
|
79
|
-
type: {
|
80
|
-
name: "String"
|
81
|
-
}
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
};
|
86
|
-
|
87
|
-
export const ErrorResponse: coreClient.CompositeMapper = {
|
88
|
-
type: {
|
89
|
-
name: "Composite",
|
90
|
-
className: "ErrorResponse",
|
91
|
-
modelProperties: {
|
92
|
-
error: {
|
93
|
-
serializedName: "error",
|
94
|
-
type: {
|
95
|
-
name: "Composite",
|
96
|
-
className: "ErrorDetail"
|
97
|
-
}
|
98
|
-
}
|
99
|
-
}
|
100
|
-
}
|
101
|
-
};
|
102
|
-
|
103
|
-
export const ErrorDetail: coreClient.CompositeMapper = {
|
104
|
-
type: {
|
105
|
-
name: "Composite",
|
106
|
-
className: "ErrorDetail",
|
107
|
-
modelProperties: {
|
108
|
-
code: {
|
109
|
-
serializedName: "code",
|
110
|
-
readOnly: true,
|
111
|
-
type: {
|
112
|
-
name: "String"
|
113
|
-
}
|
114
|
-
},
|
115
|
-
message: {
|
116
|
-
serializedName: "message",
|
117
|
-
readOnly: true,
|
118
|
-
type: {
|
119
|
-
name: "String"
|
120
|
-
}
|
121
|
-
},
|
122
|
-
target: {
|
123
|
-
serializedName: "target",
|
124
|
-
readOnly: true,
|
125
|
-
type: {
|
126
|
-
name: "String"
|
127
|
-
}
|
128
|
-
},
|
129
|
-
details: {
|
130
|
-
serializedName: "details",
|
131
|
-
readOnly: true,
|
132
|
-
type: {
|
133
|
-
name: "Sequence",
|
134
|
-
element: {
|
135
|
-
type: {
|
136
|
-
name: "Composite",
|
137
|
-
className: "ErrorDetail"
|
138
|
-
}
|
139
|
-
}
|
140
|
-
}
|
141
|
-
},
|
142
|
-
additionalInfo: {
|
143
|
-
serializedName: "additionalInfo",
|
144
|
-
readOnly: true,
|
145
|
-
type: {
|
146
|
-
name: "Sequence",
|
147
|
-
element: {
|
148
|
-
type: {
|
149
|
-
name: "Composite",
|
150
|
-
className: "ErrorAdditionalInfo"
|
151
|
-
}
|
152
|
-
}
|
153
|
-
}
|
154
|
-
}
|
155
|
-
}
|
156
|
-
}
|
157
|
-
};
|
158
|
-
|
159
|
-
export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
|
160
|
-
type: {
|
161
|
-
name: "Composite",
|
162
|
-
className: "ErrorAdditionalInfo",
|
163
|
-
modelProperties: {
|
164
|
-
type: {
|
165
|
-
serializedName: "type",
|
166
|
-
readOnly: true,
|
167
|
-
type: {
|
168
|
-
name: "String"
|
169
|
-
}
|
170
|
-
},
|
171
|
-
info: {
|
172
|
-
serializedName: "info",
|
173
|
-
readOnly: true,
|
174
|
-
type: {
|
175
|
-
name: "Dictionary",
|
176
|
-
value: { type: { name: "any" } }
|
177
|
-
}
|
178
|
-
}
|
179
|
-
}
|
180
|
-
}
|
181
|
-
};
|
182
|
-
|
183
|
-
export const ManagementLockObject: coreClient.CompositeMapper = {
|
184
|
-
type: {
|
185
|
-
name: "Composite",
|
186
|
-
className: "ManagementLockObject",
|
187
|
-
modelProperties: {
|
188
|
-
id: {
|
189
|
-
serializedName: "id",
|
190
|
-
readOnly: true,
|
191
|
-
type: {
|
192
|
-
name: "String"
|
193
|
-
}
|
194
|
-
},
|
195
|
-
type: {
|
196
|
-
serializedName: "type",
|
197
|
-
readOnly: true,
|
198
|
-
type: {
|
199
|
-
name: "String"
|
200
|
-
}
|
201
|
-
},
|
202
|
-
name: {
|
203
|
-
serializedName: "name",
|
204
|
-
readOnly: true,
|
205
|
-
type: {
|
206
|
-
name: "String"
|
207
|
-
}
|
208
|
-
},
|
209
|
-
systemData: {
|
210
|
-
serializedName: "systemData",
|
211
|
-
type: {
|
212
|
-
name: "Composite",
|
213
|
-
className: "SystemData"
|
214
|
-
}
|
215
|
-
},
|
216
|
-
level: {
|
217
|
-
serializedName: "properties.level",
|
218
|
-
required: true,
|
219
|
-
type: {
|
220
|
-
name: "String"
|
221
|
-
}
|
222
|
-
},
|
223
|
-
notes: {
|
224
|
-
serializedName: "properties.notes",
|
225
|
-
type: {
|
226
|
-
name: "String"
|
227
|
-
}
|
228
|
-
},
|
229
|
-
owners: {
|
230
|
-
serializedName: "properties.owners",
|
231
|
-
type: {
|
232
|
-
name: "Sequence",
|
233
|
-
element: {
|
234
|
-
type: {
|
235
|
-
name: "Composite",
|
236
|
-
className: "ManagementLockOwner"
|
237
|
-
}
|
238
|
-
}
|
239
|
-
}
|
240
|
-
}
|
241
|
-
}
|
242
|
-
}
|
243
|
-
};
|
244
|
-
|
245
|
-
export const ManagementLockOwner: coreClient.CompositeMapper = {
|
246
|
-
type: {
|
247
|
-
name: "Composite",
|
248
|
-
className: "ManagementLockOwner",
|
249
|
-
modelProperties: {
|
250
|
-
applicationId: {
|
251
|
-
serializedName: "applicationId",
|
252
|
-
type: {
|
253
|
-
name: "String"
|
254
|
-
}
|
255
|
-
}
|
256
|
-
}
|
257
|
-
}
|
258
|
-
};
|
259
|
-
|
260
|
-
export const SystemData: coreClient.CompositeMapper = {
|
261
|
-
type: {
|
262
|
-
name: "Composite",
|
263
|
-
className: "SystemData",
|
264
|
-
modelProperties: {
|
265
|
-
createdBy: {
|
266
|
-
serializedName: "createdBy",
|
267
|
-
type: {
|
268
|
-
name: "String"
|
269
|
-
}
|
270
|
-
},
|
271
|
-
createdByType: {
|
272
|
-
serializedName: "createdByType",
|
273
|
-
type: {
|
274
|
-
name: "String"
|
275
|
-
}
|
276
|
-
},
|
277
|
-
createdAt: {
|
278
|
-
serializedName: "createdAt",
|
279
|
-
type: {
|
280
|
-
name: "DateTime"
|
281
|
-
}
|
282
|
-
},
|
283
|
-
lastModifiedBy: {
|
284
|
-
serializedName: "lastModifiedBy",
|
285
|
-
type: {
|
286
|
-
name: "String"
|
287
|
-
}
|
288
|
-
},
|
289
|
-
lastModifiedByType: {
|
290
|
-
serializedName: "lastModifiedByType",
|
291
|
-
type: {
|
292
|
-
name: "String"
|
293
|
-
}
|
294
|
-
},
|
295
|
-
lastModifiedAt: {
|
296
|
-
serializedName: "lastModifiedAt",
|
297
|
-
type: {
|
298
|
-
name: "DateTime"
|
299
|
-
}
|
300
|
-
}
|
301
|
-
}
|
302
|
-
}
|
303
|
-
};
|
304
|
-
|
305
|
-
export const ManagementLockListResult: coreClient.CompositeMapper = {
|
306
|
-
type: {
|
307
|
-
name: "Composite",
|
308
|
-
className: "ManagementLockListResult",
|
309
|
-
modelProperties: {
|
310
|
-
value: {
|
311
|
-
serializedName: "value",
|
312
|
-
type: {
|
313
|
-
name: "Sequence",
|
314
|
-
element: {
|
315
|
-
type: {
|
316
|
-
name: "Composite",
|
317
|
-
className: "ManagementLockObject"
|
318
|
-
}
|
319
|
-
}
|
320
|
-
}
|
321
|
-
},
|
322
|
-
nextLink: {
|
323
|
-
serializedName: "nextLink",
|
324
|
-
type: {
|
325
|
-
name: "String"
|
326
|
-
}
|
327
|
-
}
|
328
|
-
}
|
329
|
-
}
|
330
|
-
};
|
package/src/models/parameters.ts
DELETED
@@ -1,184 +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 {
|
10
|
-
OperationParameter,
|
11
|
-
OperationURLParameter,
|
12
|
-
OperationQueryParameter
|
13
|
-
} from "@azure/core-client";
|
14
|
-
import { ManagementLockObject as ManagementLockObjectMapper } from "../models/mappers";
|
15
|
-
|
16
|
-
export const accept: OperationParameter = {
|
17
|
-
parameterPath: "accept",
|
18
|
-
mapper: {
|
19
|
-
defaultValue: "application/json",
|
20
|
-
isConstant: true,
|
21
|
-
serializedName: "Accept",
|
22
|
-
type: {
|
23
|
-
name: "String"
|
24
|
-
}
|
25
|
-
}
|
26
|
-
};
|
27
|
-
|
28
|
-
export const $host: OperationURLParameter = {
|
29
|
-
parameterPath: "$host",
|
30
|
-
mapper: {
|
31
|
-
serializedName: "$host",
|
32
|
-
required: true,
|
33
|
-
type: {
|
34
|
-
name: "String"
|
35
|
-
}
|
36
|
-
},
|
37
|
-
skipEncoding: true
|
38
|
-
};
|
39
|
-
|
40
|
-
export const apiVersion: OperationQueryParameter = {
|
41
|
-
parameterPath: "apiVersion",
|
42
|
-
mapper: {
|
43
|
-
defaultValue: "2020-05-01",
|
44
|
-
isConstant: true,
|
45
|
-
serializedName: "api-version",
|
46
|
-
type: {
|
47
|
-
name: "String"
|
48
|
-
}
|
49
|
-
}
|
50
|
-
};
|
51
|
-
|
52
|
-
export const nextLink: OperationURLParameter = {
|
53
|
-
parameterPath: "nextLink",
|
54
|
-
mapper: {
|
55
|
-
serializedName: "nextLink",
|
56
|
-
required: true,
|
57
|
-
type: {
|
58
|
-
name: "String"
|
59
|
-
}
|
60
|
-
},
|
61
|
-
skipEncoding: true
|
62
|
-
};
|
63
|
-
|
64
|
-
export const contentType: OperationParameter = {
|
65
|
-
parameterPath: ["options", "contentType"],
|
66
|
-
mapper: {
|
67
|
-
defaultValue: "application/json",
|
68
|
-
isConstant: true,
|
69
|
-
serializedName: "Content-Type",
|
70
|
-
type: {
|
71
|
-
name: "String"
|
72
|
-
}
|
73
|
-
}
|
74
|
-
};
|
75
|
-
|
76
|
-
export const parameters: OperationParameter = {
|
77
|
-
parameterPath: "parameters",
|
78
|
-
mapper: ManagementLockObjectMapper
|
79
|
-
};
|
80
|
-
|
81
|
-
export const resourceGroupName: OperationURLParameter = {
|
82
|
-
parameterPath: "resourceGroupName",
|
83
|
-
mapper: {
|
84
|
-
constraints: {
|
85
|
-
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
86
|
-
MaxLength: 90,
|
87
|
-
MinLength: 1
|
88
|
-
},
|
89
|
-
serializedName: "resourceGroupName",
|
90
|
-
required: true,
|
91
|
-
type: {
|
92
|
-
name: "String"
|
93
|
-
}
|
94
|
-
}
|
95
|
-
};
|
96
|
-
|
97
|
-
export const lockName: OperationURLParameter = {
|
98
|
-
parameterPath: "lockName",
|
99
|
-
mapper: {
|
100
|
-
serializedName: "lockName",
|
101
|
-
required: true,
|
102
|
-
type: {
|
103
|
-
name: "String"
|
104
|
-
}
|
105
|
-
}
|
106
|
-
};
|
107
|
-
|
108
|
-
export const subscriptionId: OperationURLParameter = {
|
109
|
-
parameterPath: "subscriptionId",
|
110
|
-
mapper: {
|
111
|
-
serializedName: "subscriptionId",
|
112
|
-
required: true,
|
113
|
-
type: {
|
114
|
-
name: "String"
|
115
|
-
}
|
116
|
-
}
|
117
|
-
};
|
118
|
-
|
119
|
-
export const scope: OperationURLParameter = {
|
120
|
-
parameterPath: "scope",
|
121
|
-
mapper: {
|
122
|
-
serializedName: "scope",
|
123
|
-
required: true,
|
124
|
-
type: {
|
125
|
-
name: "String"
|
126
|
-
}
|
127
|
-
}
|
128
|
-
};
|
129
|
-
|
130
|
-
export const resourceProviderNamespace: OperationURLParameter = {
|
131
|
-
parameterPath: "resourceProviderNamespace",
|
132
|
-
mapper: {
|
133
|
-
serializedName: "resourceProviderNamespace",
|
134
|
-
required: true,
|
135
|
-
type: {
|
136
|
-
name: "String"
|
137
|
-
}
|
138
|
-
}
|
139
|
-
};
|
140
|
-
|
141
|
-
export const parentResourcePath: OperationURLParameter = {
|
142
|
-
parameterPath: "parentResourcePath",
|
143
|
-
mapper: {
|
144
|
-
serializedName: "parentResourcePath",
|
145
|
-
required: true,
|
146
|
-
type: {
|
147
|
-
name: "String"
|
148
|
-
}
|
149
|
-
},
|
150
|
-
skipEncoding: true
|
151
|
-
};
|
152
|
-
|
153
|
-
export const resourceType: OperationURLParameter = {
|
154
|
-
parameterPath: "resourceType",
|
155
|
-
mapper: {
|
156
|
-
serializedName: "resourceType",
|
157
|
-
required: true,
|
158
|
-
type: {
|
159
|
-
name: "String"
|
160
|
-
}
|
161
|
-
},
|
162
|
-
skipEncoding: true
|
163
|
-
};
|
164
|
-
|
165
|
-
export const resourceName: OperationURLParameter = {
|
166
|
-
parameterPath: "resourceName",
|
167
|
-
mapper: {
|
168
|
-
serializedName: "resourceName",
|
169
|
-
required: true,
|
170
|
-
type: {
|
171
|
-
name: "String"
|
172
|
-
}
|
173
|
-
}
|
174
|
-
};
|
175
|
-
|
176
|
-
export const filter: OperationQueryParameter = {
|
177
|
-
parameterPath: ["options", "filter"],
|
178
|
-
mapper: {
|
179
|
-
serializedName: "$filter",
|
180
|
-
type: {
|
181
|
-
name: "String"
|
182
|
-
}
|
183
|
-
}
|
184
|
-
};
|
@@ -1,150 +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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
11
|
-
import { AuthorizationOperations } from "../operationsInterfaces";
|
12
|
-
import * as coreClient from "@azure/core-client";
|
13
|
-
import * as Mappers from "../models/mappers";
|
14
|
-
import * as Parameters from "../models/parameters";
|
15
|
-
import { ManagementLockClient } from "../managementLockClient";
|
16
|
-
import {
|
17
|
-
Operation,
|
18
|
-
AuthorizationOperationsListNextOptionalParams,
|
19
|
-
AuthorizationOperationsListOptionalParams,
|
20
|
-
AuthorizationOperationsListResponse,
|
21
|
-
AuthorizationOperationsListNextResponse
|
22
|
-
} from "../models";
|
23
|
-
|
24
|
-
/// <reference lib="esnext.asynciterable" />
|
25
|
-
/** Class containing AuthorizationOperations operations. */
|
26
|
-
export class AuthorizationOperationsImpl implements AuthorizationOperations {
|
27
|
-
private readonly client: ManagementLockClient;
|
28
|
-
|
29
|
-
/**
|
30
|
-
* Initialize a new instance of the class AuthorizationOperations class.
|
31
|
-
* @param client Reference to the service client
|
32
|
-
*/
|
33
|
-
constructor(client: ManagementLockClient) {
|
34
|
-
this.client = client;
|
35
|
-
}
|
36
|
-
|
37
|
-
/**
|
38
|
-
* Lists all of the available Microsoft.Authorization REST API operations.
|
39
|
-
* @param options The options parameters.
|
40
|
-
*/
|
41
|
-
public list(
|
42
|
-
options?: AuthorizationOperationsListOptionalParams
|
43
|
-
): PagedAsyncIterableIterator<Operation> {
|
44
|
-
const iter = this.listPagingAll(options);
|
45
|
-
return {
|
46
|
-
next() {
|
47
|
-
return iter.next();
|
48
|
-
},
|
49
|
-
[Symbol.asyncIterator]() {
|
50
|
-
return this;
|
51
|
-
},
|
52
|
-
byPage: (settings?: PageSettings) => {
|
53
|
-
if (settings?.maxPageSize) {
|
54
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
55
|
-
}
|
56
|
-
return this.listPagingPage(options, settings);
|
57
|
-
}
|
58
|
-
};
|
59
|
-
}
|
60
|
-
|
61
|
-
private async *listPagingPage(
|
62
|
-
options?: AuthorizationOperationsListOptionalParams,
|
63
|
-
settings?: PageSettings
|
64
|
-
): AsyncIterableIterator<Operation[]> {
|
65
|
-
let result: AuthorizationOperationsListResponse;
|
66
|
-
let continuationToken = settings?.continuationToken;
|
67
|
-
if (!continuationToken) {
|
68
|
-
result = await this._list(options);
|
69
|
-
let page = result.value || [];
|
70
|
-
continuationToken = result.nextLink;
|
71
|
-
setContinuationToken(page, continuationToken);
|
72
|
-
yield page;
|
73
|
-
}
|
74
|
-
while (continuationToken) {
|
75
|
-
result = await this._listNext(continuationToken, options);
|
76
|
-
continuationToken = result.nextLink;
|
77
|
-
let page = result.value || [];
|
78
|
-
setContinuationToken(page, continuationToken);
|
79
|
-
yield page;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
private async *listPagingAll(
|
84
|
-
options?: AuthorizationOperationsListOptionalParams
|
85
|
-
): AsyncIterableIterator<Operation> {
|
86
|
-
for await (const page of this.listPagingPage(options)) {
|
87
|
-
yield* page;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
/**
|
92
|
-
* Lists all of the available Microsoft.Authorization REST API operations.
|
93
|
-
* @param options The options parameters.
|
94
|
-
*/
|
95
|
-
private _list(
|
96
|
-
options?: AuthorizationOperationsListOptionalParams
|
97
|
-
): Promise<AuthorizationOperationsListResponse> {
|
98
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
99
|
-
}
|
100
|
-
|
101
|
-
/**
|
102
|
-
* ListNext
|
103
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
104
|
-
* @param options The options parameters.
|
105
|
-
*/
|
106
|
-
private _listNext(
|
107
|
-
nextLink: string,
|
108
|
-
options?: AuthorizationOperationsListNextOptionalParams
|
109
|
-
): Promise<AuthorizationOperationsListNextResponse> {
|
110
|
-
return this.client.sendOperationRequest(
|
111
|
-
{ nextLink, options },
|
112
|
-
listNextOperationSpec
|
113
|
-
);
|
114
|
-
}
|
115
|
-
}
|
116
|
-
// Operation Specifications
|
117
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
118
|
-
|
119
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
120
|
-
path: "/providers/Microsoft.Authorization/operations",
|
121
|
-
httpMethod: "GET",
|
122
|
-
responses: {
|
123
|
-
200: {
|
124
|
-
bodyMapper: Mappers.OperationListResult
|
125
|
-
},
|
126
|
-
default: {
|
127
|
-
bodyMapper: Mappers.ErrorResponse
|
128
|
-
}
|
129
|
-
},
|
130
|
-
queryParameters: [Parameters.apiVersion],
|
131
|
-
urlParameters: [Parameters.$host],
|
132
|
-
headerParameters: [Parameters.accept],
|
133
|
-
serializer
|
134
|
-
};
|
135
|
-
const listNextOperationSpec: coreClient.OperationSpec = {
|
136
|
-
path: "{nextLink}",
|
137
|
-
httpMethod: "GET",
|
138
|
-
responses: {
|
139
|
-
200: {
|
140
|
-
bodyMapper: Mappers.OperationListResult
|
141
|
-
},
|
142
|
-
default: {
|
143
|
-
bodyMapper: Mappers.ErrorResponse
|
144
|
-
}
|
145
|
-
},
|
146
|
-
queryParameters: [Parameters.apiVersion],
|
147
|
-
urlParameters: [Parameters.$host, Parameters.nextLink],
|
148
|
-
headerParameters: [Parameters.accept],
|
149
|
-
serializer
|
150
|
-
};
|