@azure/arm-locks-profile-2020-09-01-hybrid 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 +21 -14
- 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/{src/models/index.ts → dist/commonjs/models/index.d.ts} +104 -165
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +21 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +8 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +178 -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 +131 -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 +897 -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 +199 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +8 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +175 -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 +127 -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 +893 -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 +199 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +18 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +8 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +175 -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 +127 -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 +893 -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 -1536
- 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 -50
- 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 -30
- 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 -34
- 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 -29
- 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 -30
- 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 -36
- 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 -40
- 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 -35
- 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 -36
- 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 -36
- 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 -40
- 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 -35
- 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 -36
- 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 -51
- 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 -55
- 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 -50
- 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 -51
- 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/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/managementLockClient.ts +0 -145
- package/src/models/mappers.ts +0 -182
- package/src/models/parameters.ts +0 -184
- package/src/operations/authorizationOperations.ts +0 -143
- package/src/operations/managementLocks.ts +0 -1172
- package/src/operationsInterfaces/authorizationOperations.ts +0 -25
- package/src/operationsInterfaces/managementLocks.ts +0 -270
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-locks-profile-2020-09-01-hybrid.d.ts +0 -443
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/authorizationOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementLocks.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAqEH,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","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/** 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 /** 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/** 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/** 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\n/** Contains response data for the listAtResourceGroupLevelNext operation. */\nexport type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelNextOptionalParams\n extends coreClient.OperationOptions {}\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\n/** Contains response data for the listAtSubscriptionLevelNext operation. */\nexport type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeNextOptionalParams\n extends coreClient.OperationOptions {}\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"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
export declare const OperationListResult: coreClient.CompositeMapper;
|
|
3
|
+
export declare const Operation: coreClient.CompositeMapper;
|
|
4
|
+
export declare const OperationDisplay: coreClient.CompositeMapper;
|
|
5
|
+
export declare const ManagementLockObject: coreClient.CompositeMapper;
|
|
6
|
+
export declare const ManagementLockOwner: coreClient.CompositeMapper;
|
|
7
|
+
export declare const ManagementLockListResult: coreClient.CompositeMapper;
|
|
8
|
+
//# sourceMappingURL=mappers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAyB5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eAoBlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eAyBzC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,eAqD7C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAa5C,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,eAyBjD,CAAC"}
|
|
@@ -0,0 +1,178 @@
|
|
|
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.ManagementLockListResult = exports.ManagementLockOwner = exports.ManagementLockObject = exports.OperationDisplay = exports.Operation = exports.OperationListResult = void 0;
|
|
11
|
+
exports.OperationListResult = {
|
|
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
|
+
exports.Operation = {
|
|
38
|
+
type: {
|
|
39
|
+
name: "Composite",
|
|
40
|
+
className: "Operation",
|
|
41
|
+
modelProperties: {
|
|
42
|
+
name: {
|
|
43
|
+
serializedName: "name",
|
|
44
|
+
type: {
|
|
45
|
+
name: "String"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
display: {
|
|
49
|
+
serializedName: "display",
|
|
50
|
+
type: {
|
|
51
|
+
name: "Composite",
|
|
52
|
+
className: "OperationDisplay"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.OperationDisplay = {
|
|
59
|
+
type: {
|
|
60
|
+
name: "Composite",
|
|
61
|
+
className: "OperationDisplay",
|
|
62
|
+
modelProperties: {
|
|
63
|
+
provider: {
|
|
64
|
+
serializedName: "provider",
|
|
65
|
+
type: {
|
|
66
|
+
name: "String"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
resource: {
|
|
70
|
+
serializedName: "resource",
|
|
71
|
+
type: {
|
|
72
|
+
name: "String"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
operation: {
|
|
76
|
+
serializedName: "operation",
|
|
77
|
+
type: {
|
|
78
|
+
name: "String"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
exports.ManagementLockObject = {
|
|
85
|
+
type: {
|
|
86
|
+
name: "Composite",
|
|
87
|
+
className: "ManagementLockObject",
|
|
88
|
+
modelProperties: {
|
|
89
|
+
id: {
|
|
90
|
+
serializedName: "id",
|
|
91
|
+
readOnly: true,
|
|
92
|
+
type: {
|
|
93
|
+
name: "String"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
type: {
|
|
97
|
+
serializedName: "type",
|
|
98
|
+
readOnly: true,
|
|
99
|
+
type: {
|
|
100
|
+
name: "String"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
name: {
|
|
104
|
+
serializedName: "name",
|
|
105
|
+
readOnly: true,
|
|
106
|
+
type: {
|
|
107
|
+
name: "String"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
level: {
|
|
111
|
+
serializedName: "properties.level",
|
|
112
|
+
required: true,
|
|
113
|
+
type: {
|
|
114
|
+
name: "String"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
notes: {
|
|
118
|
+
serializedName: "properties.notes",
|
|
119
|
+
type: {
|
|
120
|
+
name: "String"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
owners: {
|
|
124
|
+
serializedName: "properties.owners",
|
|
125
|
+
type: {
|
|
126
|
+
name: "Sequence",
|
|
127
|
+
element: {
|
|
128
|
+
type: {
|
|
129
|
+
name: "Composite",
|
|
130
|
+
className: "ManagementLockOwner"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
exports.ManagementLockOwner = {
|
|
139
|
+
type: {
|
|
140
|
+
name: "Composite",
|
|
141
|
+
className: "ManagementLockOwner",
|
|
142
|
+
modelProperties: {
|
|
143
|
+
applicationId: {
|
|
144
|
+
serializedName: "applicationId",
|
|
145
|
+
type: {
|
|
146
|
+
name: "String"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
exports.ManagementLockListResult = {
|
|
153
|
+
type: {
|
|
154
|
+
name: "Composite",
|
|
155
|
+
className: "ManagementLockListResult",
|
|
156
|
+
modelProperties: {
|
|
157
|
+
value: {
|
|
158
|
+
serializedName: "value",
|
|
159
|
+
type: {
|
|
160
|
+
name: "Sequence",
|
|
161
|
+
element: {
|
|
162
|
+
type: {
|
|
163
|
+
name: "Composite",
|
|
164
|
+
className: "ManagementLockObject"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
nextLink: {
|
|
170
|
+
serializedName: "nextLink",
|
|
171
|
+
type: {
|
|
172
|
+
name: "String"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,IAAI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,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,qBAAqB;yBACjC;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,aAAa,EAAE;gBACb,cAAc,EAAE,eAAe;gBAC/B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,wBAAwB,GAA+B;IAClE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,0BAA0B;QACrC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,sBAAsB;yBAClC;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ManagementLockObject: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockObject\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n level: {\n serializedName: \"properties.level\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n notes: {\n serializedName: \"properties.notes\",\n type: {\n name: \"String\"\n }\n },\n owners: {\n serializedName: \"properties.owners\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementLockOwner\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementLockOwner: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockOwner\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ManagementLockListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementLockListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementLockObject\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const $host: OperationURLParameter;
|
|
4
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
5
|
+
export declare const nextLink: OperationURLParameter;
|
|
6
|
+
export declare const contentType: OperationParameter;
|
|
7
|
+
export declare const parameters: OperationParameter;
|
|
8
|
+
export declare const resourceGroupName: OperationURLParameter;
|
|
9
|
+
export declare const lockName: OperationURLParameter;
|
|
10
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
11
|
+
export declare const scope: OperationURLParameter;
|
|
12
|
+
export declare const resourceProviderNamespace: OperationURLParameter;
|
|
13
|
+
export declare const parentResourcePath: OperationURLParameter;
|
|
14
|
+
export declare const resourceType: OperationURLParameter;
|
|
15
|
+
export declare const resourceName: OperationURLParameter;
|
|
16
|
+
export declare const filter: OperationQueryParameter;
|
|
17
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAc/B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAStB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBASnB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,qBASvC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,qBAUhC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAU1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBAQpB,CAAC"}
|
|
@@ -0,0 +1,167 @@
|
|
|
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.filter = exports.resourceName = exports.resourceType = exports.parentResourcePath = exports.resourceProviderNamespace = exports.scope = exports.subscriptionId = exports.lockName = exports.resourceGroupName = exports.parameters = exports.contentType = exports.nextLink = exports.apiVersion = exports.$host = exports.accept = void 0;
|
|
11
|
+
const mappers_js_1 = require("../models/mappers.js");
|
|
12
|
+
exports.accept = {
|
|
13
|
+
parameterPath: "accept",
|
|
14
|
+
mapper: {
|
|
15
|
+
defaultValue: "application/json",
|
|
16
|
+
isConstant: true,
|
|
17
|
+
serializedName: "Accept",
|
|
18
|
+
type: {
|
|
19
|
+
name: "String"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
exports.$host = {
|
|
24
|
+
parameterPath: "$host",
|
|
25
|
+
mapper: {
|
|
26
|
+
serializedName: "$host",
|
|
27
|
+
required: true,
|
|
28
|
+
type: {
|
|
29
|
+
name: "String"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
skipEncoding: true
|
|
33
|
+
};
|
|
34
|
+
exports.apiVersion = {
|
|
35
|
+
parameterPath: "apiVersion",
|
|
36
|
+
mapper: {
|
|
37
|
+
defaultValue: "2016-09-01",
|
|
38
|
+
isConstant: true,
|
|
39
|
+
serializedName: "api-version",
|
|
40
|
+
type: {
|
|
41
|
+
name: "String"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.nextLink = {
|
|
46
|
+
parameterPath: "nextLink",
|
|
47
|
+
mapper: {
|
|
48
|
+
serializedName: "nextLink",
|
|
49
|
+
required: true,
|
|
50
|
+
type: {
|
|
51
|
+
name: "String"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
skipEncoding: true
|
|
55
|
+
};
|
|
56
|
+
exports.contentType = {
|
|
57
|
+
parameterPath: ["options", "contentType"],
|
|
58
|
+
mapper: {
|
|
59
|
+
defaultValue: "application/json",
|
|
60
|
+
isConstant: true,
|
|
61
|
+
serializedName: "Content-Type",
|
|
62
|
+
type: {
|
|
63
|
+
name: "String"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
exports.parameters = {
|
|
68
|
+
parameterPath: "parameters",
|
|
69
|
+
mapper: mappers_js_1.ManagementLockObject
|
|
70
|
+
};
|
|
71
|
+
exports.resourceGroupName = {
|
|
72
|
+
parameterPath: "resourceGroupName",
|
|
73
|
+
mapper: {
|
|
74
|
+
constraints: {
|
|
75
|
+
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
|
76
|
+
MaxLength: 90,
|
|
77
|
+
MinLength: 1
|
|
78
|
+
},
|
|
79
|
+
serializedName: "resourceGroupName",
|
|
80
|
+
required: true,
|
|
81
|
+
type: {
|
|
82
|
+
name: "String"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
exports.lockName = {
|
|
87
|
+
parameterPath: "lockName",
|
|
88
|
+
mapper: {
|
|
89
|
+
serializedName: "lockName",
|
|
90
|
+
required: true,
|
|
91
|
+
type: {
|
|
92
|
+
name: "String"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
exports.subscriptionId = {
|
|
97
|
+
parameterPath: "subscriptionId",
|
|
98
|
+
mapper: {
|
|
99
|
+
serializedName: "subscriptionId",
|
|
100
|
+
required: true,
|
|
101
|
+
type: {
|
|
102
|
+
name: "String"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
exports.scope = {
|
|
107
|
+
parameterPath: "scope",
|
|
108
|
+
mapper: {
|
|
109
|
+
serializedName: "scope",
|
|
110
|
+
required: true,
|
|
111
|
+
type: {
|
|
112
|
+
name: "String"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
exports.resourceProviderNamespace = {
|
|
117
|
+
parameterPath: "resourceProviderNamespace",
|
|
118
|
+
mapper: {
|
|
119
|
+
serializedName: "resourceProviderNamespace",
|
|
120
|
+
required: true,
|
|
121
|
+
type: {
|
|
122
|
+
name: "String"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
exports.parentResourcePath = {
|
|
127
|
+
parameterPath: "parentResourcePath",
|
|
128
|
+
mapper: {
|
|
129
|
+
serializedName: "parentResourcePath",
|
|
130
|
+
required: true,
|
|
131
|
+
type: {
|
|
132
|
+
name: "String"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
skipEncoding: true
|
|
136
|
+
};
|
|
137
|
+
exports.resourceType = {
|
|
138
|
+
parameterPath: "resourceType",
|
|
139
|
+
mapper: {
|
|
140
|
+
serializedName: "resourceType",
|
|
141
|
+
required: true,
|
|
142
|
+
type: {
|
|
143
|
+
name: "String"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
skipEncoding: true
|
|
147
|
+
};
|
|
148
|
+
exports.resourceName = {
|
|
149
|
+
parameterPath: "resourceName",
|
|
150
|
+
mapper: {
|
|
151
|
+
serializedName: "resourceName",
|
|
152
|
+
required: true,
|
|
153
|
+
type: {
|
|
154
|
+
name: "String"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
exports.filter = {
|
|
159
|
+
parameterPath: ["options", "filter"],
|
|
160
|
+
mapper: {
|
|
161
|
+
serializedName: "$filter",
|
|
162
|
+
type: {
|
|
163
|
+
name: "String"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAA0F;AAE7E,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EA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T 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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { ManagementLockObject as ManagementLockObjectMapper } from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2016-09-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagementLockObjectMapper\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const lockName: OperationURLParameter = {\n parameterPath: \"lockName\",\n mapper: {\n serializedName: \"lockName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parentResourcePath: OperationURLParameter = {\n parameterPath: \"parentResourcePath\",\n mapper: {\n serializedName: \"parentResourcePath\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { AuthorizationOperations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ManagementLockClient } from "../managementLockClient.js";
|
|
4
|
+
import { Operation, AuthorizationOperationsListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing AuthorizationOperations operations. */
|
|
6
|
+
export declare class AuthorizationOperationsImpl implements AuthorizationOperations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class AuthorizationOperations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: ManagementLockClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists all of the available Microsoft.Authorization REST API operations.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: AuthorizationOperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Lists all of the available Microsoft.Authorization REST API operations.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
/**
|
|
26
|
+
* ListNext
|
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _listNext;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=authorizationOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizationOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/authorizationOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,SAAS,EAET,yCAAyC,EAG1C,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,qBAAa,2BAA4B,YAAW,uBAAuB;IACzE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -0,0 +1,131 @@
|
|
|
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.AuthorizationOperationsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing AuthorizationOperations operations. */
|
|
18
|
+
class AuthorizationOperationsImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class AuthorizationOperations class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Lists all of the available Microsoft.Authorization REST API operations.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(options) {
|
|
31
|
+
const iter = this.listPagingAll(options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listPagingPage(options, settings);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
listPagingPage(options, settings) {
|
|
48
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = yield tslib_1.__await(this._list(options));
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
56
|
+
yield yield tslib_1.__await(page);
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
63
|
+
yield yield tslib_1.__await(page);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
listPagingAll(options) {
|
|
68
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
69
|
+
var _a, e_1, _b, _c;
|
|
70
|
+
try {
|
|
71
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
+
_c = _f.value;
|
|
73
|
+
_d = false;
|
|
74
|
+
const page = _c;
|
|
75
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
+
finally {
|
|
80
|
+
try {
|
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
82
|
+
}
|
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Lists all of the available Microsoft.Authorization REST API operations.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
_list(options) {
|
|
92
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* ListNext
|
|
96
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
_listNext(nextLink, options) {
|
|
100
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.AuthorizationOperationsImpl = AuthorizationOperationsImpl;
|
|
104
|
+
// Operation Specifications
|
|
105
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
106
|
+
const listOperationSpec = {
|
|
107
|
+
path: "/providers/Microsoft.Authorization/operations",
|
|
108
|
+
httpMethod: "GET",
|
|
109
|
+
responses: {
|
|
110
|
+
200: {
|
|
111
|
+
bodyMapper: Mappers.OperationListResult
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
queryParameters: [Parameters.apiVersion],
|
|
115
|
+
urlParameters: [Parameters.$host],
|
|
116
|
+
headerParameters: [Parameters.accept],
|
|
117
|
+
serializer
|
|
118
|
+
};
|
|
119
|
+
const listNextOperationSpec = {
|
|
120
|
+
path: "{nextLink}",
|
|
121
|
+
httpMethod: "GET",
|
|
122
|
+
responses: {
|
|
123
|
+
200: {
|
|
124
|
+
bodyMapper: Mappers.OperationListResult
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
128
|
+
headerParameters: [Parameters.accept],
|
|
129
|
+
serializer
|
|
130
|
+
};
|
|
131
|
+
//# sourceMappingURL=authorizationOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorization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AAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AuthorizationOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagementLockClient } from \"../managementLockClient.js\";\nimport {\n Operation,\n AuthorizationOperationsListNextOptionalParams,\n AuthorizationOperationsListOptionalParams,\n AuthorizationOperationsListResponse,\n AuthorizationOperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AuthorizationOperations operations. */\nexport class AuthorizationOperationsImpl implements AuthorizationOperations {\n private readonly client: ManagementLockClient;\n\n /**\n * Initialize a new instance of the class AuthorizationOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLockClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Microsoft.Authorization REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: AuthorizationOperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: AuthorizationOperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: AuthorizationOperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: AuthorizationOperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Authorization REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: AuthorizationOperationsListOptionalParams\n ): Promise<AuthorizationOperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AuthorizationOperationsListNextOptionalParams\n ): Promise<AuthorizationOperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Authorization/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./authorizationOperations.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./managementLocks.js"), exports);
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,uEAA6C;AAC7C,+DAAqC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./authorizationOperations.js\";\nexport * from \"./managementLocks.js\";\n"]}
|