@azure/arm-locks 2.0.1-alpha.20211215.1 → 2.0.1-alpha.20220128.2

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/dist/index.js CHANGED
@@ -5,6 +5,26 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var coreClient = require('@azure/core-client');
6
6
  var tslib = require('tslib');
7
7
 
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
27
+
8
28
  /*
9
29
  * Copyright (c) Microsoft Corporation.
10
30
  * Licensed under the MIT License.
@@ -12,6 +32,8 @@ var tslib = require('tslib');
12
32
  * Code generated by Microsoft (R) AutoRest Code Generator.
13
33
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
14
34
  */
35
+ /** Known values of {@link LockLevel} that the service accepts. */
36
+ exports.KnownLockLevel = void 0;
15
37
  (function (KnownLockLevel) {
16
38
  KnownLockLevel["NotSpecified"] = "NotSpecified";
17
39
  KnownLockLevel["CanNotDelete"] = "CanNotDelete";
@@ -448,7 +470,7 @@ class AuthorizationOperationsImpl {
448
470
  }
449
471
  }
450
472
  // Operation Specifications
451
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
473
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
452
474
  const listOperationSpec = {
453
475
  path: "/providers/Microsoft.Authorization/operations",
454
476
  httpMethod: "GET",
@@ -460,7 +482,7 @@ const listOperationSpec = {
460
482
  queryParameters: [apiVersion],
461
483
  urlParameters: [$host],
462
484
  headerParameters: [accept],
463
- serializer
485
+ serializer: serializer$1
464
486
  };
465
487
  const listNextOperationSpec = {
466
488
  path: "{nextLink}",
@@ -473,7 +495,7 @@ const listNextOperationSpec = {
473
495
  queryParameters: [apiVersion],
474
496
  urlParameters: [$host, nextLink],
475
497
  headerParameters: [accept],
476
- serializer
498
+ serializer: serializer$1
477
499
  };
478
500
 
479
501
  /*
@@ -970,7 +992,7 @@ class ManagementLocksImpl {
970
992
  }
971
993
  }
972
994
  // Operation Specifications
973
- const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
995
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
974
996
  const createOrUpdateAtResourceGroupLevelOperationSpec = {
975
997
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",
976
998
  httpMethod: "PUT",
@@ -992,7 +1014,7 @@ const createOrUpdateAtResourceGroupLevelOperationSpec = {
992
1014
  ],
993
1015
  headerParameters: [accept, contentType],
994
1016
  mediaType: "json",
995
- serializer: serializer$1
1017
+ serializer
996
1018
  };
997
1019
  const deleteAtResourceGroupLevelOperationSpec = {
998
1020
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1005,7 +1027,7 @@ const deleteAtResourceGroupLevelOperationSpec = {
1005
1027
  lockName,
1006
1028
  subscriptionId
1007
1029
  ],
1008
- serializer: serializer$1
1030
+ serializer
1009
1031
  };
1010
1032
  const getAtResourceGroupLevelOperationSpec = {
1011
1033
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1023,7 +1045,7 @@ const getAtResourceGroupLevelOperationSpec = {
1023
1045
  subscriptionId
1024
1046
  ],
1025
1047
  headerParameters: [accept],
1026
- serializer: serializer$1
1048
+ serializer
1027
1049
  };
1028
1050
  const createOrUpdateByScopeOperationSpec = {
1029
1051
  path: "/{scope}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1041,7 +1063,7 @@ const createOrUpdateByScopeOperationSpec = {
1041
1063
  urlParameters: [$host, lockName, scope],
1042
1064
  headerParameters: [accept, contentType],
1043
1065
  mediaType: "json",
1044
- serializer: serializer$1
1066
+ serializer
1045
1067
  };
1046
1068
  const deleteByScopeOperationSpec = {
1047
1069
  path: "/{scope}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1049,7 +1071,7 @@ const deleteByScopeOperationSpec = {
1049
1071
  responses: { 200: {}, 204: {} },
1050
1072
  queryParameters: [apiVersion],
1051
1073
  urlParameters: [$host, lockName, scope],
1052
- serializer: serializer$1
1074
+ serializer
1053
1075
  };
1054
1076
  const getByScopeOperationSpec = {
1055
1077
  path: "/{scope}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1062,7 +1084,7 @@ const getByScopeOperationSpec = {
1062
1084
  queryParameters: [apiVersion],
1063
1085
  urlParameters: [$host, lockName, scope],
1064
1086
  headerParameters: [accept],
1065
- serializer: serializer$1
1087
+ serializer
1066
1088
  };
1067
1089
  const createOrUpdateAtResourceLevelOperationSpec = {
1068
1090
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1089,7 +1111,7 @@ const createOrUpdateAtResourceLevelOperationSpec = {
1089
1111
  ],
1090
1112
  headerParameters: [accept, contentType],
1091
1113
  mediaType: "json",
1092
- serializer: serializer$1
1114
+ serializer
1093
1115
  };
1094
1116
  const deleteAtResourceLevelOperationSpec = {
1095
1117
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1106,7 +1128,7 @@ const deleteAtResourceLevelOperationSpec = {
1106
1128
  resourceType,
1107
1129
  resourceName
1108
1130
  ],
1109
- serializer: serializer$1
1131
+ serializer
1110
1132
  };
1111
1133
  const getAtResourceLevelOperationSpec = {
1112
1134
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1128,7 +1150,7 @@ const getAtResourceLevelOperationSpec = {
1128
1150
  resourceName
1129
1151
  ],
1130
1152
  headerParameters: [accept],
1131
- serializer: serializer$1
1153
+ serializer
1132
1154
  };
1133
1155
  const createOrUpdateAtSubscriptionLevelOperationSpec = {
1134
1156
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1150,7 +1172,7 @@ const createOrUpdateAtSubscriptionLevelOperationSpec = {
1150
1172
  ],
1151
1173
  headerParameters: [accept, contentType],
1152
1174
  mediaType: "json",
1153
- serializer: serializer$1
1175
+ serializer
1154
1176
  };
1155
1177
  const deleteAtSubscriptionLevelOperationSpec = {
1156
1178
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1162,7 +1184,7 @@ const deleteAtSubscriptionLevelOperationSpec = {
1162
1184
  lockName,
1163
1185
  subscriptionId
1164
1186
  ],
1165
- serializer: serializer$1
1187
+ serializer
1166
1188
  };
1167
1189
  const getAtSubscriptionLevelOperationSpec = {
1168
1190
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",
@@ -1179,7 +1201,7 @@ const getAtSubscriptionLevelOperationSpec = {
1179
1201
  subscriptionId
1180
1202
  ],
1181
1203
  headerParameters: [accept],
1182
- serializer: serializer$1
1204
+ serializer
1183
1205
  };
1184
1206
  const listAtResourceGroupLevelOperationSpec = {
1185
1207
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks",
@@ -1196,7 +1218,7 @@ const listAtResourceGroupLevelOperationSpec = {
1196
1218
  subscriptionId
1197
1219
  ],
1198
1220
  headerParameters: [accept],
1199
- serializer: serializer$1
1221
+ serializer
1200
1222
  };
1201
1223
  const listAtResourceLevelOperationSpec = {
1202
1224
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks",
@@ -1217,7 +1239,7 @@ const listAtResourceLevelOperationSpec = {
1217
1239
  resourceName
1218
1240
  ],
1219
1241
  headerParameters: [accept],
1220
- serializer: serializer$1
1242
+ serializer
1221
1243
  };
1222
1244
  const listAtSubscriptionLevelOperationSpec = {
1223
1245
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks",
@@ -1230,7 +1252,7 @@ const listAtSubscriptionLevelOperationSpec = {
1230
1252
  queryParameters: [apiVersion, filter],
1231
1253
  urlParameters: [$host, subscriptionId],
1232
1254
  headerParameters: [accept],
1233
- serializer: serializer$1
1255
+ serializer
1234
1256
  };
1235
1257
  const listByScopeOperationSpec = {
1236
1258
  path: "/{scope}/providers/Microsoft.Authorization/locks",
@@ -1243,7 +1265,7 @@ const listByScopeOperationSpec = {
1243
1265
  queryParameters: [apiVersion, filter],
1244
1266
  urlParameters: [$host, scope],
1245
1267
  headerParameters: [accept],
1246
- serializer: serializer$1
1268
+ serializer
1247
1269
  };
1248
1270
  const listAtResourceGroupLevelNextOperationSpec = {
1249
1271
  path: "{nextLink}",
@@ -1261,7 +1283,7 @@ const listAtResourceGroupLevelNextOperationSpec = {
1261
1283
  subscriptionId
1262
1284
  ],
1263
1285
  headerParameters: [accept],
1264
- serializer: serializer$1
1286
+ serializer
1265
1287
  };
1266
1288
  const listAtResourceLevelNextOperationSpec = {
1267
1289
  path: "{nextLink}",
@@ -1283,7 +1305,7 @@ const listAtResourceLevelNextOperationSpec = {
1283
1305
  resourceName
1284
1306
  ],
1285
1307
  headerParameters: [accept],
1286
- serializer: serializer$1
1308
+ serializer
1287
1309
  };
1288
1310
  const listAtSubscriptionLevelNextOperationSpec = {
1289
1311
  path: "{nextLink}",
@@ -1300,7 +1322,7 @@ const listAtSubscriptionLevelNextOperationSpec = {
1300
1322
  subscriptionId
1301
1323
  ],
1302
1324
  headerParameters: [accept],
1303
- serializer: serializer$1
1325
+ serializer
1304
1326
  };
1305
1327
  const listByScopeNextOperationSpec = {
1306
1328
  path: "{nextLink}",
@@ -1313,7 +1335,7 @@ const listByScopeNextOperationSpec = {
1313
1335
  queryParameters: [apiVersion, filter],
1314
1336
  urlParameters: [$host, nextLink, scope],
1315
1337
  headerParameters: [accept],
1316
- serializer: serializer$1
1338
+ serializer
1317
1339
  };
1318
1340
 
1319
1341
  /*
@@ -1323,7 +1345,7 @@ const listByScopeNextOperationSpec = {
1323
1345
  * Code generated by Microsoft (R) AutoRest Code Generator.
1324
1346
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1325
1347
  */
1326
- class ManagementLockClient extends coreClient.ServiceClient {
1348
+ class ManagementLockClient extends coreClient__namespace.ServiceClient {
1327
1349
  /**
1328
1350
  * Initializes a new instance of the ManagementLockClient class.
1329
1351
  * @param credentials Subscription credentials which uniquely identify client subscription.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/authorizationOperations.ts","../src/operations/managementLocks.ts","../src/managementLockClient.ts"],"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 = \"NotSpecified\",\n CanNotDelete = \"CanNotDelete\",\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 /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceGroupLevelNext operation. */\nexport type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceLevelNext operation. */\nexport type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtSubscriptionLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtSubscriptionLevelNext operation. */\nexport type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listByScopeNext operation. */\nexport type ManagementLocksListByScopeNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLockClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\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","/*\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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { ManagementLockObject as ManagementLockObjectMapper } from \"../models/mappers\";\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","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { AuthorizationOperations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ManagementLockClient } from \"../managementLockClient\";\nimport {\n Operation,\n AuthorizationOperationsListNextOptionalParams,\n AuthorizationOperationsListOptionalParams,\n AuthorizationOperationsListResponse,\n AuthorizationOperationsListNextResponse\n} from \"../models\";\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: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: AuthorizationOperationsListOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\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 queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ManagementLocks } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ManagementLockClient } from \"../managementLockClient\";\nimport {\n ManagementLockObject,\n ManagementLocksListAtResourceGroupLevelNextOptionalParams,\n ManagementLocksListAtResourceGroupLevelOptionalParams,\n ManagementLocksListAtResourceLevelNextOptionalParams,\n ManagementLocksListAtResourceLevelOptionalParams,\n ManagementLocksListAtSubscriptionLevelNextOptionalParams,\n ManagementLocksListAtSubscriptionLevelOptionalParams,\n ManagementLocksListByScopeNextOptionalParams,\n ManagementLocksListByScopeOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse,\n ManagementLocksDeleteAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelResponse,\n ManagementLocksCreateOrUpdateByScopeOptionalParams,\n ManagementLocksCreateOrUpdateByScopeResponse,\n ManagementLocksDeleteByScopeOptionalParams,\n ManagementLocksGetByScopeOptionalParams,\n ManagementLocksGetByScopeResponse,\n ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceLevelResponse,\n ManagementLocksDeleteAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelResponse,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse,\n ManagementLocksDeleteAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelResponse,\n ManagementLocksListAtResourceGroupLevelResponse,\n ManagementLocksListAtResourceLevelResponse,\n ManagementLocksListAtSubscriptionLevelResponse,\n ManagementLocksListByScopeResponse,\n ManagementLocksListAtResourceGroupLevelNextResponse,\n ManagementLocksListAtResourceLevelNextResponse,\n ManagementLocksListAtSubscriptionLevelNextResponse,\n ManagementLocksListByScopeNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagementLocks operations. */\nexport class ManagementLocksImpl implements ManagementLocks {\n private readonly client: ManagementLockClient;\n\n /**\n * Initialize a new instance of the class ManagementLocks class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLockClient) {\n this.client = client;\n }\n\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n public listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtResourceGroupLevelPagingAll(\n resourceGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtResourceGroupLevelPagingPage(\n resourceGroupName,\n options\n );\n }\n };\n }\n\n private async *listAtResourceGroupLevelPagingPage(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result = await this._listAtResourceGroupLevel(\n resourceGroupName,\n options\n );\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtResourceGroupLevelNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtResourceGroupLevelPagingAll(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtResourceGroupLevelPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n public listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtResourceLevelPagingAll(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtResourceLevelPagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n }\n };\n }\n\n private async *listAtResourceLevelPagingPage(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result = await this._listAtResourceLevel(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtResourceLevelNext(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtResourceLevelPagingAll(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtResourceLevelPagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n public listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtSubscriptionLevelPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtSubscriptionLevelPagingPage(options);\n }\n };\n }\n\n private async *listAtSubscriptionLevelPagingPage(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result = await this._listAtSubscriptionLevel(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtSubscriptionLevelNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtSubscriptionLevelPagingAll(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtSubscriptionLevelPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n public listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listByScopePagingAll(scope, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listByScopePagingPage(scope, options);\n }\n };\n }\n\n private async *listByScopePagingPage(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result = await this._listByScope(scope, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listByScopeNext(scope, continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listByScopePagingAll(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listByScopePagingPage(scope, options)) {\n yield* page;\n }\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group to lock.\n * @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain\n * <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, parameters, options },\n createOrUpdateAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the lock.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, options },\n deleteAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Gets a management lock at the resource group level.\n * @param resourceGroupName The name of the locked resource group.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, options },\n getAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Create or update a management lock by scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param lockName The name of lock.\n * @param parameters Create or update management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateByScope(\n scope: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateByScopeOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, lockName, parameters, options },\n createOrUpdateByScopeOperationSpec\n );\n }\n\n /**\n * Delete a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n deleteByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksDeleteByScopeOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { scope, lockName, options },\n deleteByScopeOperationSpec\n );\n }\n\n /**\n * Get a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksGetByScopeOptionalParams\n ): Promise<ManagementLocksGetByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, lockName, options },\n getByScopeOperationSpec\n );\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource to lock.\n * @param resourceProviderNamespace The resource provider namespace of the resource to lock.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to lock.\n * @param resourceName The name of the resource to lock.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters Parameters for creating or updating a management lock.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n parameters,\n options\n },\n createOrUpdateAtResourceLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource with the lock to\n * delete.\n * @param resourceProviderNamespace The resource provider namespace of the resource with the lock to\n * delete.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource with the lock to delete.\n * @param resourceName The name of the resource with the lock to delete.\n * @param lockName The name of the lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n options\n },\n deleteAtResourceLevelOperationSpec\n );\n }\n\n /**\n * Get the management lock of a resource or any level below resource.\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.\n * @param resourceType The type of the resource.\n * @param resourceName The name of the resource.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n options\n },\n getAtResourceLevelOperationSpec\n );\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtSubscriptionLevel(\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { lockName, parameters, options },\n createOrUpdateAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { lockName, options },\n deleteAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets a management lock at the subscription level.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksGetAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksGetAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { lockName, options },\n getAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n private _listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksListAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n private _listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): Promise<ManagementLocksListAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n },\n listAtResourceLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n private _listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksListAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n private _listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): Promise<ManagementLocksListByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n listByScopeOperationSpec\n );\n }\n\n /**\n * ListAtResourceGroupLevelNext\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel\n * method.\n * @param options The options parameters.\n */\n private _listAtResourceGroupLevelNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ManagementLocksListAtResourceGroupLevelNextOptionalParams\n ): Promise<ManagementLocksListAtResourceGroupLevelNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listAtResourceGroupLevelNextOperationSpec\n );\n }\n\n /**\n * ListAtResourceLevelNext\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.\n * @param options The options parameters.\n */\n private _listAtResourceLevelNext(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n nextLink: string,\n options?: ManagementLocksListAtResourceLevelNextOptionalParams\n ): Promise<ManagementLocksListAtResourceLevelNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n nextLink,\n options\n },\n listAtResourceLevelNextOperationSpec\n );\n }\n\n /**\n * ListAtSubscriptionLevelNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel\n * method.\n * @param options The options parameters.\n */\n private _listAtSubscriptionLevelNext(\n nextLink: string,\n options?: ManagementLocksListAtSubscriptionLevelNextOptionalParams\n ): Promise<ManagementLocksListAtSubscriptionLevelNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtSubscriptionLevelNextOperationSpec\n );\n }\n\n /**\n * ListByScopeNext\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param nextLink The nextLink from the previous successful call to the ListByScope method.\n * @param options The options parameters.\n */\n private _listByScopeNext(\n scope: string,\n nextLink: string,\n options?: ManagementLocksListByScopeNextOptionalParams\n ): Promise<ManagementLocksListByScopeNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listByScopeNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n serializer\n};\nconst getAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n serializer\n};\nconst getByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n serializer\n};\nconst getAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n serializer\n};\nconst getAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByScopeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { AuthorizationOperationsImpl, ManagementLocksImpl } from \"./operations\";\nimport {\n AuthorizationOperations,\n ManagementLocks\n} from \"./operationsInterfaces\";\nimport { ManagementLockClientOptionalParams } from \"./models\";\n\nexport class ManagementLockClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ManagementLockClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ManagementLockClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ManagementLockClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-locks/2.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2016-09-01\";\n this.authorizationOperations = new AuthorizationOperationsImpl(this);\n this.managementLocks = new ManagementLocksImpl(this);\n }\n\n authorizationOperations: AuthorizationOperations;\n managementLocks: ManagementLocks;\n}\n"],"names":["KnownLockLevel","ManagementLockObjectMapper","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.OperationListResult","Parameters.apiVersion","Parameters.$host","Parameters.accept","Parameters.nextLink","serializer","Mappers.ManagementLockObject","Parameters.parameters","Parameters.resourceGroupName","Parameters.lockName","Parameters.subscriptionId","Parameters.contentType","Parameters.scope","Parameters.resourceProviderNamespace","Parameters.parentResourcePath","Parameters.resourceType","Parameters.resourceName","Mappers.ManagementLockListResult","Parameters.filter","coreClient.ServiceClient"],"mappings":";;;;;;;AAAA;;;;;;;AA4EA,WAAY,cAAc;IACxB,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,uCAAqB,CAAA;AACvB,CAAC,EAJWA,sBAAc,KAAdA,sBAAc;;AC5E1B;;;;;;;AAUA,AAAO,MAAM,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;AAEF,AAAO,MAAM,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;Q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C,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;cAC/D,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;;QAE3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;QAGrC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,uBAAuB,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,CAAC;QACrE,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;KACtD;CAIF;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/authorizationOperations.ts","../src/operations/managementLocks.ts","../src/managementLockClient.ts"],"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 = \"NotSpecified\",\n CanNotDelete = \"CanNotDelete\",\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 /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceGroupLevelNext operation. */\nexport type ManagementLocksListAtResourceGroupLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtResourceLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtResourceLevelNext operation. */\nexport type ManagementLocksListAtResourceLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListAtSubscriptionLevelNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listAtSubscriptionLevelNext operation. */\nexport type ManagementLocksListAtSubscriptionLevelNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLocksListByScopeNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. */\n filter?: string;\n}\n\n/** Contains response data for the listByScopeNext operation. */\nexport type ManagementLocksListByScopeNextResponse = ManagementLockListResult;\n\n/** Optional parameters. */\nexport interface ManagementLockClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\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","/*\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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport { ManagementLockObject as ManagementLockObjectMapper } from \"../models/mappers\";\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","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { AuthorizationOperations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ManagementLockClient } from \"../managementLockClient\";\nimport {\n Operation,\n AuthorizationOperationsListNextOptionalParams,\n AuthorizationOperationsListOptionalParams,\n AuthorizationOperationsListResponse,\n AuthorizationOperationsListNextResponse\n} from \"../models\";\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: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: AuthorizationOperationsListOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\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 queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ManagementLocks } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ManagementLockClient } from \"../managementLockClient\";\nimport {\n ManagementLockObject,\n ManagementLocksListAtResourceGroupLevelNextOptionalParams,\n ManagementLocksListAtResourceGroupLevelOptionalParams,\n ManagementLocksListAtResourceLevelNextOptionalParams,\n ManagementLocksListAtResourceLevelOptionalParams,\n ManagementLocksListAtSubscriptionLevelNextOptionalParams,\n ManagementLocksListAtSubscriptionLevelOptionalParams,\n ManagementLocksListByScopeNextOptionalParams,\n ManagementLocksListByScopeOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse,\n ManagementLocksDeleteAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelOptionalParams,\n ManagementLocksGetAtResourceGroupLevelResponse,\n ManagementLocksCreateOrUpdateByScopeOptionalParams,\n ManagementLocksCreateOrUpdateByScopeResponse,\n ManagementLocksDeleteByScopeOptionalParams,\n ManagementLocksGetByScopeOptionalParams,\n ManagementLocksGetByScopeResponse,\n ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtResourceLevelResponse,\n ManagementLocksDeleteAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelOptionalParams,\n ManagementLocksGetAtResourceLevelResponse,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams,\n ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse,\n ManagementLocksDeleteAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelOptionalParams,\n ManagementLocksGetAtSubscriptionLevelResponse,\n ManagementLocksListAtResourceGroupLevelResponse,\n ManagementLocksListAtResourceLevelResponse,\n ManagementLocksListAtSubscriptionLevelResponse,\n ManagementLocksListByScopeResponse,\n ManagementLocksListAtResourceGroupLevelNextResponse,\n ManagementLocksListAtResourceLevelNextResponse,\n ManagementLocksListAtSubscriptionLevelNextResponse,\n ManagementLocksListByScopeNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagementLocks operations. */\nexport class ManagementLocksImpl implements ManagementLocks {\n private readonly client: ManagementLockClient;\n\n /**\n * Initialize a new instance of the class ManagementLocks class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLockClient) {\n this.client = client;\n }\n\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n public listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtResourceGroupLevelPagingAll(\n resourceGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtResourceGroupLevelPagingPage(\n resourceGroupName,\n options\n );\n }\n };\n }\n\n private async *listAtResourceGroupLevelPagingPage(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result = await this._listAtResourceGroupLevel(\n resourceGroupName,\n options\n );\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtResourceGroupLevelNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtResourceGroupLevelPagingAll(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtResourceGroupLevelPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n public listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtResourceLevelPagingAll(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtResourceLevelPagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n }\n };\n }\n\n private async *listAtResourceLevelPagingPage(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result = await this._listAtResourceLevel(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n );\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtResourceLevelNext(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtResourceLevelPagingAll(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtResourceLevelPagingPage(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n public listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listAtSubscriptionLevelPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtSubscriptionLevelPagingPage(options);\n }\n };\n }\n\n private async *listAtSubscriptionLevelPagingPage(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result = await this._listAtSubscriptionLevel(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtSubscriptionLevelNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtSubscriptionLevelPagingAll(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listAtSubscriptionLevelPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n public listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): PagedAsyncIterableIterator<ManagementLockObject> {\n const iter = this.listByScopePagingAll(scope, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listByScopePagingPage(scope, options);\n }\n };\n }\n\n private async *listByScopePagingPage(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): AsyncIterableIterator<ManagementLockObject[]> {\n let result = await this._listByScope(scope, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listByScopeNext(scope, continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listByScopePagingAll(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): AsyncIterableIterator<ManagementLockObject> {\n for await (const page of this.listByScopePagingPage(scope, options)) {\n yield* page;\n }\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group to lock.\n * @param lockName The lock name. The lock name can be a maximum of 260 characters. It cannot contain\n * <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, parameters, options },\n createOrUpdateAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the lock.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceGroupLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, options },\n deleteAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Gets a management lock at the resource group level.\n * @param resourceGroupName The name of the locked resource group.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtResourceGroupLevel(\n resourceGroupName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, lockName, options },\n getAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Create or update a management lock by scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param lockName The name of lock.\n * @param parameters Create or update management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateByScope(\n scope: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateByScopeOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, lockName, parameters, options },\n createOrUpdateByScopeOperationSpec\n );\n }\n\n /**\n * Delete a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n deleteByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksDeleteByScopeOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { scope, lockName, options },\n deleteByScopeOperationSpec\n );\n }\n\n /**\n * Get a management lock by scope.\n * @param scope The scope for the lock.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n lockName: string,\n options?: ManagementLocksGetByScopeOptionalParams\n ): Promise<ManagementLocksGetByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, lockName, options },\n getByScopeOperationSpec\n );\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource to lock.\n * @param resourceProviderNamespace The resource provider namespace of the resource to lock.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to lock.\n * @param resourceName The name of the resource to lock.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters Parameters for creating or updating a management lock.\n * @param options The options parameters.\n */\n createOrUpdateAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtResourceLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n parameters,\n options\n },\n createOrUpdateAtResourceLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param resourceGroupName The name of the resource group containing the resource with the lock to\n * delete.\n * @param resourceProviderNamespace The resource provider namespace of the resource with the lock to\n * delete.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource with the lock to delete.\n * @param resourceName The name of the resource with the lock to delete.\n * @param lockName The name of the lock to delete.\n * @param options The options parameters.\n */\n deleteAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksDeleteAtResourceLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n options\n },\n deleteAtResourceLevelOperationSpec\n );\n }\n\n /**\n * Get the management lock of a resource or any level below resource.\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath An extra path parameter needed in some services, like SQL Databases.\n * @param resourceType The type of the resource.\n * @param resourceName The name of the resource.\n * @param lockName The name of lock.\n * @param options The options parameters.\n */\n getAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n lockName: string,\n options?: ManagementLocksGetAtResourceLevelOptionalParams\n ): Promise<ManagementLocksGetAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n lockName,\n options\n },\n getAtResourceLevelOperationSpec\n );\n }\n\n /**\n * When you apply a lock at a parent scope, all child resources inherit the same lock. To create\n * management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock. The lock name can be a maximum of 260 characters. It cannot\n * contain <, > %, &, :, \\, ?, /, or any control characters.\n * @param parameters The management lock parameters.\n * @param options The options parameters.\n */\n createOrUpdateAtSubscriptionLevel(\n lockName: string,\n parameters: ManagementLockObject,\n options?: ManagementLocksCreateOrUpdateAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksCreateOrUpdateAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { lockName, parameters, options },\n createOrUpdateAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * To delete management locks, you must have access to Microsoft.Authorization/* or\n * Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access\n * Administrator are granted those actions.\n * @param lockName The name of lock to delete.\n * @param options The options parameters.\n */\n deleteAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksDeleteAtSubscriptionLevelOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { lockName, options },\n deleteAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets a management lock at the subscription level.\n * @param lockName The name of the lock to get.\n * @param options The options parameters.\n */\n getAtSubscriptionLevel(\n lockName: string,\n options?: ManagementLocksGetAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksGetAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { lockName, options },\n getAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a resource group.\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param options The options parameters.\n */\n private _listAtResourceGroupLevel(\n resourceGroupName: string,\n options?: ManagementLocksListAtResourceGroupLevelOptionalParams\n ): Promise<ManagementLocksListAtResourceGroupLevelResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listAtResourceGroupLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a resource or any level below resource.\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param options The options parameters.\n */\n private _listAtResourceLevel(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n options?: ManagementLocksListAtResourceLevelOptionalParams\n ): Promise<ManagementLocksListAtResourceLevelResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n options\n },\n listAtResourceLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a subscription.\n * @param options The options parameters.\n */\n private _listAtSubscriptionLevel(\n options?: ManagementLocksListAtSubscriptionLevelOptionalParams\n ): Promise<ManagementLocksListAtSubscriptionLevelResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtSubscriptionLevelOperationSpec\n );\n }\n\n /**\n * Gets all the management locks for a scope.\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param options The options parameters.\n */\n private _listByScope(\n scope: string,\n options?: ManagementLocksListByScopeOptionalParams\n ): Promise<ManagementLocksListByScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n listByScopeOperationSpec\n );\n }\n\n /**\n * ListAtResourceGroupLevelNext\n * @param resourceGroupName The name of the resource group containing the locks to get.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceGroupLevel\n * method.\n * @param options The options parameters.\n */\n private _listAtResourceGroupLevelNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ManagementLocksListAtResourceGroupLevelNextOptionalParams\n ): Promise<ManagementLocksListAtResourceGroupLevelNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listAtResourceGroupLevelNextOperationSpec\n );\n }\n\n /**\n * ListAtResourceLevelNext\n * @param resourceGroupName The name of the resource group containing the locked resource. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the locked resource.\n * @param resourceName The name of the locked resource.\n * @param nextLink The nextLink from the previous successful call to the ListAtResourceLevel method.\n * @param options The options parameters.\n */\n private _listAtResourceLevelNext(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n nextLink: string,\n options?: ManagementLocksListAtResourceLevelNextOptionalParams\n ): Promise<ManagementLocksListAtResourceLevelNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n nextLink,\n options\n },\n listAtResourceLevelNextOperationSpec\n );\n }\n\n /**\n * ListAtSubscriptionLevelNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionLevel\n * method.\n * @param options The options parameters.\n */\n private _listAtSubscriptionLevelNext(\n nextLink: string,\n options?: ManagementLocksListAtSubscriptionLevelNextOptionalParams\n ): Promise<ManagementLocksListAtSubscriptionLevelNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtSubscriptionLevelNextOperationSpec\n );\n }\n\n /**\n * ListByScopeNext\n * @param scope The scope for the lock. When providing a scope for the assignment, use\n * '/subscriptions/{subscriptionId}' for subscriptions,\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and\n * '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'\n * for resources.\n * @param nextLink The nextLink from the previous successful call to the ListByScope method.\n * @param options The options parameters.\n */\n private _listByScopeNext(\n scope: string,\n nextLink: string,\n options?: ManagementLocksListByScopeNextOptionalParams\n ): Promise<ManagementLocksListByScopeNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listByScopeNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n serializer\n};\nconst getAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n serializer\n};\nconst getByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.lockName, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n serializer\n};\nconst getAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.lockName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n },\n 201: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n serializer\n};\nconst getAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockObject\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.lockName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionLevelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Authorization/locks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceGroupLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtResourceLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionLevelNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByScopeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementLockListResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { AuthorizationOperationsImpl, ManagementLocksImpl } from \"./operations\";\nimport {\n AuthorizationOperations,\n ManagementLocks\n} from \"./operationsInterfaces\";\nimport { ManagementLockClientOptionalParams } from \"./models\";\n\nexport class ManagementLockClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ManagementLockClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ManagementLockClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ManagementLockClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-locks/2.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2016-09-01\";\n this.authorizationOperations = new AuthorizationOperationsImpl(this);\n this.managementLocks = new ManagementLocksImpl(this);\n }\n\n authorizationOperations: AuthorizationOperations;\n managementLocks: ManagementLocks;\n}\n"],"names":["KnownLockLevel","ManagementLockObjectMapper","__asyncValues","__asyncDelegator","serializer","coreClient","Mappers.OperationListResult","Parameters.apiVersion","Parameters.$host","Parameters.accept","Parameters.nextLink","Mappers.ManagementLockObject","Parameters.parameters","Parameters.resourceGroupName","Parameters.lockName","Parameters.subscriptionId","Parameters.contentType","Parameters.scope","Parameters.resourceProviderNamespace","Parameters.parentResourcePath","Parameters.resourceType","Parameters.resourceName","Mappers.ManagementLockListResult","Parameters.filter"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AA2EA;AACYA;AAAZ,WAAY,cAAc;IACxB,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,uCAAqB,CAAA;AACvB,CAAC,EAJWA,sBAAc,KAAdA,sBAAc;;AC5E1B;;;;;;;AAUO,MAAM,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;AAEK,MAAM,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,E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V,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;;QAE3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;QAGrC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,uBAAuB,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,CAAC;QACrE,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;KACtD;;;;;"}
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib");!function(e){e.NotSpecified="NotSpecified",e.CanNotDelete="CanNotDelete",e.ReadOnly="ReadOnly"}(exports.KnownLockLevel||(exports.KnownLockLevel={}));const OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}}}}},ManagementLockObject={type:{name:"Composite",className:"ManagementLockObject",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},level:{serializedName:"properties.level",required:!0,type:{name:"String"}},notes:{serializedName:"properties.notes",type:{name:"String"}},owners:{serializedName:"properties.owners",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagementLockOwner"}}}}}}},ManagementLockOwner={type:{name:"Composite",className:"ManagementLockOwner",modelProperties:{applicationId:{serializedName:"applicationId",type:{name:"String"}}}}},ManagementLockListResult={type:{name:"Composite",className:"ManagementLockListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagementLockObject"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,ManagementLockObject:ManagementLockObject,ManagementLockOwner:ManagementLockOwner,ManagementLockListResult:ManagementLockListResult});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2016-09-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:ManagementLockObject},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},lockName={parameterPath:"lockName",mapper:{serializedName:"lockName",required:!0,type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},scope={parameterPath:"scope",mapper:{serializedName:"scope",required:!0,type:{name:"String"}}},resourceProviderNamespace={parameterPath:"resourceProviderNamespace",mapper:{serializedName:"resourceProviderNamespace",required:!0,type:{name:"String"}}},parentResourcePath={parameterPath:"parentResourcePath",mapper:{serializedName:"parentResourcePath",required:!0,type:{name:"String"}},skipEncoding:!0},resourceType={parameterPath:"resourceType",mapper:{serializedName:"resourceType",required:!0,type:{name:"String"}},skipEncoding:!0},resourceName={parameterPath:"resourceName",mapper:{serializedName:"resourceName",required:!0,type:{name:"String"}}},filter={parameterPath:["options","filter"],mapper:{serializedName:"$filter",type:{name:"String"}}};class AuthorizationOperationsImpl{constructor(e){this.client=e}list(e){const r=this.listPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(i){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listPagingPage(i));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listNextOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.Authorization/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer};class ManagementLocksImpl{constructor(e){this.client=e}listAtResourceGroupLevel(e,r){const t=this.listAtResourceGroupLevelPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtResourceGroupLevelPagingPage(e,r)}}listAtResourceGroupLevelPagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtResourceGroupLevel(t,a));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listAtResourceGroupLevelNext(t,r,a)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtResourceGroupLevelPagingAll(i,o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listAtResourceGroupLevelPagingPage(i,o));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listAtResourceLevel(e,r,t,a,s,i){const o=this.listAtResourceLevelPagingAll(e,r,t,a,s,i);return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtResourceLevelPagingPage(e,r,t,a,s,i)}}listAtResourceLevelPagingPage(t,a,s,i,o,n){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtResourceLevel(t,a,s,i,o,n));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listAtResourceLevelNext(t,a,s,i,o,r,n)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtResourceLevelPagingAll(i,o,n,p,c,l){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listAtResourceLevelPagingPage(i,o,n,p,c,l));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listAtSubscriptionLevel(e){const r=this.listAtSubscriptionLevelPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtSubscriptionLevelPagingPage(e)}}listAtSubscriptionLevelPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtSubscriptionLevel(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listAtSubscriptionLevelNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtSubscriptionLevelPagingAll(i){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listAtSubscriptionLevelPagingPage(i));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listByScope(e,r){const t=this.listByScopePagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByScopePagingPage(e,r)}}listByScopePagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByScope(t,a));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listByScopeNext(t,r,a)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listByScopePagingAll(i,o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listByScopePagingPage(i,o));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}createOrUpdateAtResourceGroupLevel(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,lockName:r,parameters:t,options:a},createOrUpdateAtResourceGroupLevelOperationSpec)}deleteAtResourceGroupLevel(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,lockName:r,options:t},deleteAtResourceGroupLevelOperationSpec)}getAtResourceGroupLevel(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,lockName:r,options:t},getAtResourceGroupLevelOperationSpec)}createOrUpdateByScope(e,r,t,a){return this.client.sendOperationRequest({scope:e,lockName:r,parameters:t,options:a},createOrUpdateByScopeOperationSpec)}deleteByScope(e,r,t){return this.client.sendOperationRequest({scope:e,lockName:r,options:t},deleteByScopeOperationSpec)}getByScope(e,r,t){return this.client.sendOperationRequest({scope:e,lockName:r,options:t},getByScopeOperationSpec)}createOrUpdateAtResourceLevel(e,r,t,a,s,i,o,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,lockName:i,parameters:o,options:n},createOrUpdateAtResourceLevelOperationSpec)}deleteAtResourceLevel(e,r,t,a,s,i,o){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,lockName:i,options:o},deleteAtResourceLevelOperationSpec)}getAtResourceLevel(e,r,t,a,s,i,o){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,lockName:i,options:o},getAtResourceLevelOperationSpec)}createOrUpdateAtSubscriptionLevel(e,r,t){return this.client.sendOperationRequest({lockName:e,parameters:r,options:t},createOrUpdateAtSubscriptionLevelOperationSpec)}deleteAtSubscriptionLevel(e,r){return this.client.sendOperationRequest({lockName:e,options:r},deleteAtSubscriptionLevelOperationSpec)}getAtSubscriptionLevel(e,r){return this.client.sendOperationRequest({lockName:e,options:r},getAtSubscriptionLevelOperationSpec)}_listAtResourceGroupLevel(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listAtResourceGroupLevelOperationSpec)}_listAtResourceLevel(e,r,t,a,s,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,options:i},listAtResourceLevelOperationSpec)}_listAtSubscriptionLevel(e){return this.client.sendOperationRequest({options:e},listAtSubscriptionLevelOperationSpec)}_listByScope(e,r){return this.client.sendOperationRequest({scope:e,options:r},listByScopeOperationSpec)}_listAtResourceGroupLevelNext(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:r,options:t},listAtResourceGroupLevelNextOperationSpec)}_listAtResourceLevelNext(e,r,t,a,s,i,o){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,nextLink:i,options:o},listAtResourceLevelNextOperationSpec)}_listAtSubscriptionLevelNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listAtSubscriptionLevelNextOperationSpec)}_listByScopeNext(e,r,t){return this.client.sendOperationRequest({scope:e,nextLink:r,options:t},listByScopeNextOperationSpec)}}const serializer$1=coreClient.createSerializer(Mappers,!1),createOrUpdateAtResourceGroupLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementLockObject},201:{bodyMapper:ManagementLockObject}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},deleteAtResourceGroupLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId],serializer:serializer$1},getAtResourceGroupLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockObject}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId],headerParameters:[accept],serializer:serializer$1},createOrUpdateByScopeOperationSpec={path:"/{scope}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementLockObject},201:{bodyMapper:ManagementLockObject}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,lockName,scope],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},deleteByScopeOperationSpec={path:"/{scope}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,lockName,scope],serializer:serializer$1},getByScopeOperationSpec={path:"/{scope}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockObject}},queryParameters:[apiVersion],urlParameters:[$host,lockName,scope],headerParameters:[accept],serializer:serializer$1},createOrUpdateAtResourceLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementLockObject},201:{bodyMapper:ManagementLockObject}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},deleteAtResourceLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],serializer:serializer$1},getAtResourceLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockObject}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],headerParameters:[accept],serializer:serializer$1},createOrUpdateAtSubscriptionLevelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementLockObject},201:{bodyMapper:ManagementLockObject}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,lockName,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},deleteAtSubscriptionLevelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,lockName,subscriptionId],serializer:serializer$1},getAtSubscriptionLevelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockObject}},queryParameters:[apiVersion],urlParameters:[$host,lockName,subscriptionId],headerParameters:[accept],serializer:serializer$1},listAtResourceGroupLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer$1},listAtResourceLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,resourceGroupName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],headerParameters:[accept],serializer:serializer$1},listAtSubscriptionLevelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},listByScopeOperationSpec={path:"/{scope}/providers/Microsoft.Authorization/locks",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,scope],headerParameters:[accept],serializer:serializer$1},listAtResourceGroupLevelNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer$1},listAtResourceLevelNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,resourceGroupName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],headerParameters:[accept],serializer:serializer$1},listAtSubscriptionLevelNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer$1},listByScopeNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,scope],headerParameters:[accept],serializer:serializer$1};class ManagementLockClient extends coreClient.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var a={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-locks/2.0.0",e=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+e:e;t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},a),t),{userAgentOptions:{userAgentPrefix:e},baseUri:t.endpoint||"https://management.azure.com"})),this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2016-09-01",this.authorizationOperations=new AuthorizationOperationsImpl(this),this.managementLocks=new ManagementLocksImpl(this)}}exports.ManagementLockClient=ManagementLockClient;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib");function _interopNamespace(t){if(t&&t.__esModule)return t;var a=Object.create(null);return t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(a,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),a.default=t,Object.freeze(a)}var coreClient__namespace=_interopNamespace(coreClient);exports.KnownLockLevel=void 0,function(e){e.NotSpecified="NotSpecified",e.CanNotDelete="CanNotDelete",e.ReadOnly="ReadOnly"}(exports.KnownLockLevel||(exports.KnownLockLevel={}));const OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}}}}},ManagementLockObject={type:{name:"Composite",className:"ManagementLockObject",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},level:{serializedName:"properties.level",required:!0,type:{name:"String"}},notes:{serializedName:"properties.notes",type:{name:"String"}},owners:{serializedName:"properties.owners",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagementLockOwner"}}}}}}},ManagementLockOwner={type:{name:"Composite",className:"ManagementLockOwner",modelProperties:{applicationId:{serializedName:"applicationId",type:{name:"String"}}}}},ManagementLockListResult={type:{name:"Composite",className:"ManagementLockListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagementLockObject"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,ManagementLockObject:ManagementLockObject,ManagementLockOwner:ManagementLockOwner,ManagementLockListResult:ManagementLockListResult});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2016-09-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:ManagementLockObject},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},lockName={parameterPath:"lockName",mapper:{serializedName:"lockName",required:!0,type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},scope={parameterPath:"scope",mapper:{serializedName:"scope",required:!0,type:{name:"String"}}},resourceProviderNamespace={parameterPath:"resourceProviderNamespace",mapper:{serializedName:"resourceProviderNamespace",required:!0,type:{name:"String"}}},parentResourcePath={parameterPath:"parentResourcePath",mapper:{serializedName:"parentResourcePath",required:!0,type:{name:"String"}},skipEncoding:!0},resourceType={parameterPath:"resourceType",mapper:{serializedName:"resourceType",required:!0,type:{name:"String"}},skipEncoding:!0},resourceName={parameterPath:"resourceName",mapper:{serializedName:"resourceName",required:!0,type:{name:"String"}}},filter={parameterPath:["options","filter"],mapper:{serializedName:"$filter",type:{name:"String"}}};class AuthorizationOperationsImpl{constructor(e){this.client=e}list(e){const r=this.listPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(i){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listPagingPage(i));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listNextOperationSpec)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.Authorization/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$1};class ManagementLocksImpl{constructor(e){this.client=e}listAtResourceGroupLevel(e,r){const t=this.listAtResourceGroupLevelPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtResourceGroupLevelPagingPage(e,r)}}listAtResourceGroupLevelPagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtResourceGroupLevel(t,a));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listAtResourceGroupLevelNext(t,r,a)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtResourceGroupLevelPagingAll(i,o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listAtResourceGroupLevelPagingPage(i,o));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listAtResourceLevel(e,r,t,a,s,i){const o=this.listAtResourceLevelPagingAll(e,r,t,a,s,i);return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtResourceLevelPagingPage(e,r,t,a,s,i)}}listAtResourceLevelPagingPage(t,a,s,i,o,n){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtResourceLevel(t,a,s,i,o,n));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listAtResourceLevelNext(t,a,s,i,o,r,n)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtResourceLevelPagingAll(i,o,n,p,c,l){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listAtResourceLevelPagingPage(i,o,n,p,c,l));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listAtSubscriptionLevel(e){const r=this.listAtSubscriptionLevelPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtSubscriptionLevelPagingPage(e)}}listAtSubscriptionLevelPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtSubscriptionLevel(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listAtSubscriptionLevelNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtSubscriptionLevelPagingAll(i){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listAtSubscriptionLevelPagingPage(i));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listByScope(e,r){const t=this.listByScopePagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByScopePagingPage(e,r)}}listByScopePagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByScope(t,a));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listByScopeNext(t,r,a)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listByScopePagingAll(i,o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listByScopePagingPage(i,o));!(t=yield tslib.__await(a.next())).done;){var s=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}createOrUpdateAtResourceGroupLevel(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,lockName:r,parameters:t,options:a},createOrUpdateAtResourceGroupLevelOperationSpec)}deleteAtResourceGroupLevel(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,lockName:r,options:t},deleteAtResourceGroupLevelOperationSpec)}getAtResourceGroupLevel(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,lockName:r,options:t},getAtResourceGroupLevelOperationSpec)}createOrUpdateByScope(e,r,t,a){return this.client.sendOperationRequest({scope:e,lockName:r,parameters:t,options:a},createOrUpdateByScopeOperationSpec)}deleteByScope(e,r,t){return this.client.sendOperationRequest({scope:e,lockName:r,options:t},deleteByScopeOperationSpec)}getByScope(e,r,t){return this.client.sendOperationRequest({scope:e,lockName:r,options:t},getByScopeOperationSpec)}createOrUpdateAtResourceLevel(e,r,t,a,s,i,o,n){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,lockName:i,parameters:o,options:n},createOrUpdateAtResourceLevelOperationSpec)}deleteAtResourceLevel(e,r,t,a,s,i,o){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,lockName:i,options:o},deleteAtResourceLevelOperationSpec)}getAtResourceLevel(e,r,t,a,s,i,o){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,lockName:i,options:o},getAtResourceLevelOperationSpec)}createOrUpdateAtSubscriptionLevel(e,r,t){return this.client.sendOperationRequest({lockName:e,parameters:r,options:t},createOrUpdateAtSubscriptionLevelOperationSpec)}deleteAtSubscriptionLevel(e,r){return this.client.sendOperationRequest({lockName:e,options:r},deleteAtSubscriptionLevelOperationSpec)}getAtSubscriptionLevel(e,r){return this.client.sendOperationRequest({lockName:e,options:r},getAtSubscriptionLevelOperationSpec)}_listAtResourceGroupLevel(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listAtResourceGroupLevelOperationSpec)}_listAtResourceLevel(e,r,t,a,s,i){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,options:i},listAtResourceLevelOperationSpec)}_listAtSubscriptionLevel(e){return this.client.sendOperationRequest({options:e},listAtSubscriptionLevelOperationSpec)}_listByScope(e,r){return this.client.sendOperationRequest({scope:e,options:r},listByScopeOperationSpec)}_listAtResourceGroupLevelNext(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:r,options:t},listAtResourceGroupLevelNextOperationSpec)}_listAtResourceLevelNext(e,r,t,a,s,i,o){return this.client.sendOperationRequest({resourceGroupName:e,resourceProviderNamespace:r,parentResourcePath:t,resourceType:a,resourceName:s,nextLink:i,options:o},listAtResourceLevelNextOperationSpec)}_listAtSubscriptionLevelNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listAtSubscriptionLevelNextOperationSpec)}_listByScopeNext(e,r,t){return this.client.sendOperationRequest({scope:e,nextLink:r,options:t},listByScopeNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),createOrUpdateAtResourceGroupLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementLockObject},201:{bodyMapper:ManagementLockObject}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteAtResourceGroupLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId],serializer:serializer},getAtResourceGroupLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockObject}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId],headerParameters:[accept],serializer:serializer},createOrUpdateByScopeOperationSpec={path:"/{scope}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementLockObject},201:{bodyMapper:ManagementLockObject}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,lockName,scope],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteByScopeOperationSpec={path:"/{scope}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,lockName,scope],serializer:serializer},getByScopeOperationSpec={path:"/{scope}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockObject}},queryParameters:[apiVersion],urlParameters:[$host,lockName,scope],headerParameters:[accept],serializer:serializer},createOrUpdateAtResourceLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementLockObject},201:{bodyMapper:ManagementLockObject}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteAtResourceLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],serializer:serializer},getAtResourceLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockObject}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,lockName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],headerParameters:[accept],serializer:serializer},createOrUpdateAtSubscriptionLevelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementLockObject},201:{bodyMapper:ManagementLockObject}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,lockName,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteAtSubscriptionLevelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,lockName,subscriptionId],serializer:serializer},getAtSubscriptionLevelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockObject}},queryParameters:[apiVersion],urlParameters:[$host,lockName,subscriptionId],headerParameters:[accept],serializer:serializer},listAtResourceGroupLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer},listAtResourceLevelOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,resourceGroupName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],headerParameters:[accept],serializer:serializer},listAtSubscriptionLevelOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},listByScopeOperationSpec={path:"/{scope}/providers/Microsoft.Authorization/locks",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,scope],headerParameters:[accept],serializer:serializer},listAtResourceGroupLevelNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer},listAtResourceLevelNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,resourceGroupName,subscriptionId,resourceProviderNamespace,parentResourcePath,resourceType,resourceName],headerParameters:[accept],serializer:serializer},listAtSubscriptionLevelNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer},listByScopeNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementLockListResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,scope],headerParameters:[accept],serializer:serializer};class ManagementLockClient extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var a={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-locks/2.0.0",e=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+e:e;t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},a),t),{userAgentOptions:{userAgentPrefix:e},baseUri:t.endpoint||"https://management.azure.com"})),this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2016-09-01",this.authorizationOperations=new AuthorizationOperationsImpl(this),this.managementLocks=new ManagementLocksImpl(this)}}exports.ManagementLockClient=ManagementLockClient;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/authorizationOperations.ts","../src/operations/managementLocks.ts","../src/managementLockClient.ts"],"names":["KnownLockLevel","OperationListResult","type","name","className","modelProperties","value","serializedName","element","nextLink","Operation","display","OperationDisplay","provider","resource","operation","ManagementLockObject","id","readOnly","level","required","notes","owners","ManagementLockOwner","applicationId","ManagementLockListResult","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","contentType","parameters","ManagementLockObjectMapper","resourceGroupName","constraints","Pattern","RegExp","MaxLength","MinLength","lockName","subscriptionId","scope","resourceProviderNamespace","parentResourcePath","resourceType","resourceName","filter","AuthorizationOperationsImpl","constructor","client","this","list","options","iter","listPagingAll","next","Symbol","asyncIterator","byPage","listPagingPage","let","result","tslib","__await","_list","continuationToken","_listNext","_c","_b","__asyncValues","done","page","__asyncDelegator","sendOperationRequest","listOperationSpec","listNextOperationSpec","serializer","coreClient.createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.OperationListResult","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","headerParameters","Parameters.accept","Parameters.nextLink","ManagementLocksImpl","listAtResourceGroupLevel","listAtResourceGroupLevelPagingAll","listAtResourceGroupLevelPagingPage","_listAtResourceGroupLevel","_listAtResourceGroupLevelNext","listAtResourceLevel","listAtResourceLevelPagingAll","listAtResourceLevelPagingPage","_listAtResourceLevel","_listAtResourceLevelNext","listAtSubscriptionLevel","listAtSubscriptionLevelPagingAll","listAtSubscriptionLevelPagingPage","_listAtSubscriptionLevel","_listAtSubscriptionLevelNext","listByScope","listByScopePagingAll","listByScopePagingPage","_listByScope","_listByScopeNext","createOrUpdateAtResourceGroupLevel","createOrUpdateAtResourceGroupLevelOperationSpec","deleteAtResourceGroupLevel","deleteAtResourceGroupLevelOperationSpec","getAtResourceGroupLevel","getAtResourceGroupLevelOperationSpec","createOrUpdateByScope","createOrUpdateByScopeOperationSpec","deleteByScope","deleteByScopeOperationSpec","getByScope","getByScopeOperationSpec","createOrUpdateAtResourceLevel","createOrUpdateAtResourceLevelOperationSpec","deleteAtResourceLevel","deleteAtResourceLevelOperationSpec","getAtResourceLevel","getAtResourceLevelOperationSpec","createOrUpdateAtSubscriptionLevel","createOrUpdateAtSubscriptionLevelOperationSpec","deleteAtSubscriptionLevel","deleteAtSubscriptionLevelOperationSpec","getAtSubscriptionLevel","getAtSubscriptionLevelOperationSpec","listAtResourceGroupLevelOperationSpec","listAtResourceLevelOperationSpec","listAtSubscriptionLevelOperationSpec","listByScopeOperationSpec","listAtResourceGroupLevelNextOperationSpec","listAtResourceLevelNextOperationSpec","listAtSubscriptionLevelNextOperationSpec","listByScopeNextOperationSpec","Mappers.ManagementLockObject","201","requestBody","Parameters.parameters","Parameters.resourceGroupName","Parameters.lockName","Parameters.subscriptionId","Parameters.contentType","mediaType","204","Parameters.scope","Parameters.resourceProviderNamespace","Parameters.parentResourcePath","Parameters.resourceType","Parameters.resourceName","Mappers.ManagementLockListResult","Parameters.filter","ManagementLockClient","coreClient.ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","Object","assign","baseUri","endpoint","authorizationOperations","managementLocks"],"mappings":"yIA4EA,SAAYA,GACVA,EAAA,aAAA,eACAA,EAAA,aAAA,eACAA,EAAA,SAAA,WAHF,CAAYA,QAAAA,iBAAAA,QAAAA,eAAc,KClE1B,MAAaC,oBAAkD,CAC7DC,KAAM,CACJC,KAAM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kBACAE,eACAK,0BACAC,mBACAC,aACAC,cAEFtE,iBAAkB,CAACC,Q,WACnBd,cAEImE,yCAAqE,CACzEhE,KAAM,aACNC,WAAY,MACZC,UAAW,CACTC,IAAK,CACHC,WAAY6E,2BAGhB3E,gBAAiB,CAACC,WAAuB2E,QACzC1E,cAAe,CACbC,MACAG,SACA4D,gBAEF9D,iBAAkB,CAACC,Q,WACnBd,cAEIoE,6BAAyD,CAC7DjE,KAAM,aACNC,WAAY,MACZC,UAAW,CACTC,IAAK,CACHC,WAAY6E,2BAGhB3E,gBAAiB,CAACC,WAAuB2E,QACzC1E,cAAe,CAACC,MAAkBG,SAAqBgE,OACvDlE,iBAAkB,CAACC,Q,WACnBd,oBCrlCWsF,6BAA6BC,WAAAA,cAWxCnH,YACEoH,EACA5H,EACAY,GAEA,QAAoBiH,IAAhBD,EACF,MAAM,IAAIE,MAAM,gCAElB,QAAuBD,IAAnB7H,EACF,MAAM,IAAI8H,MAAM,mCAOlB,IAAMC,EAA+C,CACnDC,mBAAoB,kCACpBC,WAAYL,GAGRM,EAAiB,2BACjBC,GARJvH,EADGA,GACO,IASFwH,kBAAoBxH,EAAQwH,iBAAiBD,gBAC9CvH,EAAQwH,iBAAiBD,gBAA5B,IAA+CD,EAC5CA,EAEJtH,EAAQyH,mBACXzH,EAAQyH,iBAAmB,CAAC,0CAU9BC,MARyBC,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACpBT,GACAnH,GAAO,CACVwH,iBAAkB,CAChBD,gBAAAA,GAEFM,QAAS7H,EAAQ8H,UAAY,kCAI/BhI,KAAKV,eAAiBA,EAGtBU,KAAKvB,MAAQyB,EAAQzB,OAAS,+BAC9BuB,KAAKrB,WAAauB,EAAQvB,YAAc,aACxCqB,KAAKiI,wBAA0B,IAAIpI,4BAA4BG,MAC/DA,KAAKkI,gBAAkB,IAAIxF,oBAAoB1C,O"}
1
+ {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/authorizationOperations.ts","../src/operations/managementLocks.ts","../src/managementLockClient.ts"],"names":["KnownLockLevel","OperationListResult","type","name","className","modelProperties","value","serializedName","element","nextLink","Operation","display","OperationDisplay","provider","resource","operation","ManagementLockObject","id","readOnly","level","required","notes","owners","ManagementLockOwner","applicationId","ManagementLockListResult","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","contentType","parameters","ManagementLockObjectMapper","resourceGroupName","constraints","Pattern","RegExp","MaxLength","MinLength","lockName","subscriptionId","scope","resourceProviderNamespace","parentResourcePath","resourceType","resourceName","filter","AuthorizationOperationsImpl","constructor","client","this","list","options","iter","listPagingAll","next","Symbol","asyncIterator","byPage","listPagingPage","let","result","tslib","__await","_list","continuationToken","_listNext","_c","_b","__asyncValues","done","page","__asyncDelegator","sendOperationRequest","listOperationSpec","listNextOperationSpec","serializer","coreClient","createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.OperationListResult","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","headerParameters","Parameters.accept","Parameters.nextLink","ManagementLocksImpl","listAtResourceGroupLevel","listAtResourceGroupLevelPagingAll","listAtResourceGroupLevelPagingPage","_listAtResourceGroupLevel","_listAtResourceGroupLevelNext","listAtResourceLevel","listAtResourceLevelPagingAll","listAtResourceLevelPagingPage","_listAtResourceLevel","_listAtResourceLevelNext","listAtSubscriptionLevel","listAtSubscriptionLevelPagingAll","listAtSubscriptionLevelPagingPage","_listAtSubscriptionLevel","_listAtSubscriptionLevelNext","listByScope","listByScopePagingAll","listByScopePagingPage","_listByScope","_listByScopeNext","createOrUpdateAtResourceGroupLevel","createOrUpdateAtResourceGroupLevelOperationSpec","deleteAtResourceGroupLevel","deleteAtResourceGroupLevelOperationSpec","getAtResourceGroupLevel","getAtResourceGroupLevelOperationSpec","createOrUpdateByScope","createOrUpdateByScopeOperationSpec","deleteByScope","deleteByScopeOperationSpec","getByScope","getByScopeOperationSpec","createOrUpdateAtResourceLevel","createOrUpdateAtResourceLevelOperationSpec","deleteAtResourceLevel","deleteAtResourceLevelOperationSpec","getAtResourceLevel","getAtResourceLevelOperationSpec","createOrUpdateAtSubscriptionLevel","createOrUpdateAtSubscriptionLevelOperationSpec","deleteAtSubscriptionLevel","deleteAtSubscriptionLevelOperationSpec","getAtSubscriptionLevel","getAtSubscriptionLevelOperationSpec","listAtResourceGroupLevelOperationSpec","listAtResourceLevelOperationSpec","listAtSubscriptionLevelOperationSpec","listByScopeOperationSpec","listAtResourceGroupLevelNextOperationSpec","listAtResourceLevelNextOperationSpec","listAtSubscriptionLevelNextOperationSpec","listByScopeNextOperationSpec","Mappers.ManagementLockObject","201","requestBody","Parameters.parameters","Parameters.resourceGroupName","Parameters.lockName","Parameters.subscriptionId","Parameters.contentType","mediaType","204","Parameters.scope","Parameters.resourceProviderNamespace","Parameters.parentResourcePath","Parameters.resourceType","Parameters.resourceName","Mappers.ManagementLockListResult","Parameters.filter","ManagementLockClient","ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","Object","assign","baseUri","endpoint","authorizationOperations","managementLocks"],"mappings":"6eA4EYA,QAAAA,oBAAAA,EAAZ,SAAYA,GACVA,EAAA,aAAA,eACAA,EAAA,aAAA,eACAA,EAAA,SAAA,WAHF,CAAYA,QAAAA,iBAAAA,QAAAA,eAAc,KClEnB,MAAMC,oBAAkD,CAC7DC,KAAM,CACJC,KAAM,YACNC,UAAW,sBACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBL,KAAM,CACJC,KAAM,WACNK,QAAS,CACPN,KAAM,CACJC,KAAM,YACNC,UAAW,gBAKnBK,SAAU,CACRF,eAAgB,WAChBL,KAAM,CACJC,KAAM,cAOHO,UAAwC,CACnDR,KAAM,CACJC,KAAM,YACNC,UAAW,YACXC,gBAAiB,CACfF,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,WAGVQ,QAAS,CACPJ,eAAgB,UACh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,6BAAyD,CAC7DjE,KAAM,aACNC,WAAY,MACZC,UAAW,CACTC,IAAK,CACHC,WAAY6E,2BAGhB3E,gBAAiB,CAACC,WAAuB2E,QACzC1E,cAAe,CAACC,MAAkBG,SAAqBgE,OACvDlE,iBAAkB,CAACC,QACnBf,WAAAA,kBCrlCWuF,6BAA6BtF,sBAAWuF,cAWnDpH,YACEqH,EACA7H,EACAY,GAEA,QAAoBkH,IAAhBD,EACF,MAAM,IAAIE,MAAM,gCAElB,QAAuBD,IAAnB9H,EACF,MAAM,IAAI+H,MAAM,mCAOlB,IAAMC,EAA+C,CACnDC,mBAAoB,kCACpBC,WAAYL,GAGRM,EAAiB,2BACjBC,GARJxH,EADGA,GACO,IASFyH,kBAAoBzH,EAAQyH,iBAAiBD,gBAC9CxH,EAAQyH,iBAAiBD,gBAA5B,IAA+CD,EAC5CA,EAEJvH,EAAQ0H,mBACX1H,EAAQ0H,iBAAmB,CAAC,0CAU9BC,MARyBC,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACpBT,GACApH,GAAO,CACVyH,iBAAkB,CAChBD,gBAAAA,GAEFM,QAAS9H,EAAQ+H,UAAY,kCAI/BjI,KAAKV,eAAiBA,EAGtBU,KAAKvB,MAAQyB,EAAQzB,OAAS,+BAC9BuB,KAAKrB,WAAauB,EAAQvB,YAAc,aACxCqB,KAAKkI,wBAA0B,IAAIrI,4BAA4BG,MAC/DA,KAAKmI,gBAAkB,IAAIxF,oBAAoB3C,O"}
package/package.json CHANGED
@@ -3,12 +3,12 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for ManagementLockClient.",
6
- "version": "2.0.1-alpha.20211215.1",
6
+ "version": "2.0.1-alpha.20220128.2",
7
7
  "engines": {
8
8
  "node": ">=12.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "@azure/core-paging": ">=1.2.0-alpha <1.2.0-alphb",
11
+ "@azure/core-paging": "^1.2.0",
12
12
  "@azure/core-client": "^1.0.0",
13
13
  "@azure/core-auth": "^1.3.0",
14
14
  "@azure/core-rest-pipeline": "^1.1.0",
@@ -27,12 +27,12 @@
27
27
  "types": "./types/arm-locks.d.ts",
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.18.11",
30
- "@rollup/plugin-commonjs": "11.0.2",
30
+ "@rollup/plugin-commonjs": "^21.0.1",
31
31
  "@rollup/plugin-json": "^4.0.0",
32
32
  "@rollup/plugin-multi-entry": "^3.0.0",
33
33
  "@rollup/plugin-node-resolve": "^8.0.0",
34
34
  "mkdirp": "^1.0.4",
35
- "rollup": "^1.16.3",
35
+ "rollup": "^2.0.0",
36
36
  "rollup-plugin-sourcemaps": "^0.4.2",
37
37
  "typescript": "~4.2.0",
38
38
  "uglify-js": "^3.4.9",
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.18.19"
8
+ "packageVersion": "7.19.4"
9
9
  }
10
10
  ]
11
11
  }