@azure/arm-containerinstance 9.1.0-beta.2 → 9.1.0

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +11 -5
  2. package/README.md +1 -1
  3. package/dist/index.js +162 -96
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +78 -4
  8. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/containerGroupsDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/containerGroupsGetSample.js +20 -2
  11. package/dist-esm/samples-dev/containerGroupsGetSample.js.map +1 -1
  12. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +6 -13
  13. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +1 -1
  14. package/dist-esm/samples-dev/containerGroupsListSample.js +6 -13
  15. package/dist-esm/samples-dev/containerGroupsListSample.js.map +1 -1
  16. package/dist-esm/samples-dev/containerGroupsRestartSample.js +1 -1
  17. package/dist-esm/samples-dev/containerGroupsStartSample.js +1 -1
  18. package/dist-esm/samples-dev/containerGroupsStopSample.js +1 -1
  19. package/dist-esm/samples-dev/containerGroupsUpdateSample.js +1 -1
  20. package/dist-esm/samples-dev/containersAttachSample.js +1 -1
  21. package/dist-esm/samples-dev/containersExecuteCommandSample.js +1 -1
  22. package/dist-esm/samples-dev/containersListLogsSample.js +1 -1
  23. package/dist-esm/samples-dev/locationListCachedImagesSample.js +6 -13
  24. package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +1 -1
  25. package/dist-esm/samples-dev/locationListCapabilitiesSample.js +6 -13
  26. package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +1 -1
  27. package/dist-esm/samples-dev/locationListUsageSample.js +6 -13
  28. package/dist-esm/samples-dev/locationListUsageSample.js.map +1 -1
  29. package/dist-esm/samples-dev/operationsListSample.js +6 -13
  30. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  31. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +1 -1
  32. package/dist-esm/src/containerInstanceManagementClient.js +2 -2
  33. package/dist-esm/src/containerInstanceManagementClient.js.map +1 -1
  34. package/dist-esm/src/models/index.d.ts +87 -56
  35. package/dist-esm/src/models/index.d.ts.map +1 -1
  36. package/dist-esm/src/models/index.js +10 -8
  37. package/dist-esm/src/models/index.js.map +1 -1
  38. package/dist-esm/src/models/mappers.d.ts +3 -0
  39. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  40. package/dist-esm/src/models/mappers.js +116 -13
  41. package/dist-esm/src/models/mappers.js.map +1 -1
  42. package/dist-esm/src/models/parameters.js +1 -1
  43. package/dist-esm/src/models/parameters.js.map +1 -1
  44. package/dist-esm/src/operations/containerGroups.js +10 -24
  45. package/dist-esm/src/operations/containerGroups.js.map +1 -1
  46. package/dist-esm/src/operations/location.js +15 -36
  47. package/dist-esm/src/operations/location.js.map +1 -1
  48. package/dist-esm/src/operations/operations.js +5 -12
  49. package/dist-esm/src/operations/operations.js.map +1 -1
  50. package/dist-esm/test/containerinstance_examples.js +10 -24
  51. package/dist-esm/test/containerinstance_examples.js.map +1 -1
  52. package/package.json +2 -2
  53. package/review/arm-containerinstance.api.md +35 -11
  54. package/src/containerInstanceManagementClient.ts +2 -2
  55. package/src/models/index.ts +61 -27
  56. package/src/models/mappers.ts +119 -13
  57. package/src/models/parameters.ts +1 -1
  58. package/types/arm-containerinstance.d.ts +61 -27
package/CHANGELOG.md CHANGED
@@ -1,16 +1,22 @@
1
1
  # Release History
2
2
 
3
- ## 9.1.0-beta.2 (2023-04-10)
3
+ ## 9.1.0 (2023-04-24)
4
4
 
5
5
  **Features**
6
6
 
7
+ - Added Interface ConfidentialComputeProperties
7
8
  - Added Interface DeploymentExtensionSpec
8
- - Added Type Alias IsCustomProvisioningTimeout
9
+ - Added Interface SecurityContextCapabilitiesDefinition
10
+ - Added Interface SecurityContextDefinition
11
+ - Added Type Alias ContainerGroupPriority
12
+ - Interface Container has a new optional parameter securityContext
13
+ - Interface ContainerGroupProperties has a new optional parameter confidentialComputeProperties
9
14
  - Interface ContainerGroupProperties has a new optional parameter extensions
10
- - Interface ContainerGroupProperties has a new optional parameter isCustomProvisioningTimeout
11
- - Interface ContainerGroupProperties has a new optional parameter provisioningTimeoutInSeconds
15
+ - Interface ContainerGroupProperties has a new optional parameter priority
12
16
  - Interface EncryptionProperties has a new optional parameter identity
13
- - Added Enum KnownIsCustomProvisioningTimeout
17
+ - Interface InitContainerDefinition has a new optional parameter securityContext
18
+ - Added Enum KnownContainerGroupPriority
19
+ - Enum KnownContainerGroupSku has a new value Confidential
14
20
  - Added function getContinuationToken
15
21
 
16
22
 
package/README.md CHANGED
@@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerinstance) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerinstance?view=azure-node-preview) |
9
+ [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerinstance) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
package/dist/index.js CHANGED
@@ -93,14 +93,6 @@ exports.KnownScheme = void 0;
93
93
  /** Https */
94
94
  KnownScheme["Https"] = "https";
95
95
  })(exports.KnownScheme || (exports.KnownScheme = {}));
96
- /** Known values of {@link IsCustomProvisioningTimeout} that the service accepts. */
97
- exports.KnownIsCustomProvisioningTimeout = void 0;
98
- (function (KnownIsCustomProvisioningTimeout) {
99
- /** True */
100
- KnownIsCustomProvisioningTimeout["True"] = "True";
101
- /** False */
102
- KnownIsCustomProvisioningTimeout["False"] = "False";
103
- })(exports.KnownIsCustomProvisioningTimeout || (exports.KnownIsCustomProvisioningTimeout = {}));
104
96
  /** Known values of {@link ContainerGroupRestartPolicy} that the service accepts. */
105
97
  exports.KnownContainerGroupRestartPolicy = void 0;
106
98
  (function (KnownContainerGroupRestartPolicy) {
@@ -164,7 +156,17 @@ exports.KnownContainerGroupSku = void 0;
164
156
  KnownContainerGroupSku["Standard"] = "Standard";
165
157
  /** Dedicated */
166
158
  KnownContainerGroupSku["Dedicated"] = "Dedicated";
159
+ /** Confidential */
160
+ KnownContainerGroupSku["Confidential"] = "Confidential";
167
161
  })(exports.KnownContainerGroupSku || (exports.KnownContainerGroupSku = {}));
162
+ /** Known values of {@link ContainerGroupPriority} that the service accepts. */
163
+ exports.KnownContainerGroupPriority = void 0;
164
+ (function (KnownContainerGroupPriority) {
165
+ /** Regular */
166
+ KnownContainerGroupPriority["Regular"] = "Regular";
167
+ /** Spot */
168
+ KnownContainerGroupPriority["Spot"] = "Spot";
169
+ })(exports.KnownContainerGroupPriority || (exports.KnownContainerGroupPriority = {}));
168
170
  /** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */
169
171
  exports.KnownContainerInstanceOperationsOrigin = void 0;
170
172
  (function (KnownContainerInstanceOperationsOrigin) {
@@ -304,19 +306,6 @@ const ContainerGroupProperties = {
304
306
  }
305
307
  }
306
308
  },
307
- provisioningTimeoutInSeconds: {
308
- serializedName: "properties.provisioningTimeoutInSeconds",
309
- type: {
310
- name: "Number"
311
- }
312
- },
313
- isCustomProvisioningTimeout: {
314
- serializedName: "properties.isCustomProvisioningTimeout",
315
- readOnly: true,
316
- type: {
317
- name: "String"
318
- }
319
- },
320
309
  restartPolicy: {
321
310
  serializedName: "properties.restartPolicy",
322
311
  type: {
@@ -418,6 +407,19 @@ const ContainerGroupProperties = {
418
407
  }
419
408
  }
420
409
  }
410
+ },
411
+ confidentialComputeProperties: {
412
+ serializedName: "properties.confidentialComputeProperties",
413
+ type: {
414
+ name: "Composite",
415
+ className: "ConfidentialComputeProperties"
416
+ }
417
+ },
418
+ priority: {
419
+ serializedName: "properties.priority",
420
+ type: {
421
+ name: "String"
422
+ }
421
423
  }
422
424
  }
423
425
  }
@@ -580,6 +582,13 @@ const Container = {
580
582
  name: "Composite",
581
583
  className: "ContainerProbe"
582
584
  }
585
+ },
586
+ securityContext: {
587
+ serializedName: "properties.securityContext",
588
+ type: {
589
+ name: "Composite",
590
+ className: "SecurityContextDefinition"
591
+ }
583
592
  }
584
593
  }
585
594
  }
@@ -1025,6 +1034,81 @@ const HttpHeader = {
1025
1034
  }
1026
1035
  }
1027
1036
  };
1037
+ const SecurityContextDefinition = {
1038
+ type: {
1039
+ name: "Composite",
1040
+ className: "SecurityContextDefinition",
1041
+ modelProperties: {
1042
+ privileged: {
1043
+ serializedName: "privileged",
1044
+ type: {
1045
+ name: "Boolean"
1046
+ }
1047
+ },
1048
+ allowPrivilegeEscalation: {
1049
+ serializedName: "allowPrivilegeEscalation",
1050
+ type: {
1051
+ name: "Boolean"
1052
+ }
1053
+ },
1054
+ capabilities: {
1055
+ serializedName: "capabilities",
1056
+ type: {
1057
+ name: "Composite",
1058
+ className: "SecurityContextCapabilitiesDefinition"
1059
+ }
1060
+ },
1061
+ runAsGroup: {
1062
+ serializedName: "runAsGroup",
1063
+ type: {
1064
+ name: "Number"
1065
+ }
1066
+ },
1067
+ runAsUser: {
1068
+ serializedName: "runAsUser",
1069
+ type: {
1070
+ name: "Number"
1071
+ }
1072
+ },
1073
+ seccompProfile: {
1074
+ serializedName: "seccompProfile",
1075
+ type: {
1076
+ name: "String"
1077
+ }
1078
+ }
1079
+ }
1080
+ }
1081
+ };
1082
+ const SecurityContextCapabilitiesDefinition = {
1083
+ type: {
1084
+ name: "Composite",
1085
+ className: "SecurityContextCapabilitiesDefinition",
1086
+ modelProperties: {
1087
+ add: {
1088
+ serializedName: "add",
1089
+ type: {
1090
+ name: "Sequence",
1091
+ element: {
1092
+ type: {
1093
+ name: "String"
1094
+ }
1095
+ }
1096
+ }
1097
+ },
1098
+ drop: {
1099
+ serializedName: "drop",
1100
+ type: {
1101
+ name: "Sequence",
1102
+ element: {
1103
+ type: {
1104
+ name: "String"
1105
+ }
1106
+ }
1107
+ }
1108
+ }
1109
+ }
1110
+ }
1111
+ };
1028
1112
  const ImageRegistryCredential = {
1029
1113
  type: {
1030
1114
  name: "Composite",
@@ -1474,6 +1558,13 @@ const InitContainerDefinition = {
1474
1558
  }
1475
1559
  }
1476
1560
  }
1561
+ },
1562
+ securityContext: {
1563
+ serializedName: "properties.securityContext",
1564
+ type: {
1565
+ name: "Composite",
1566
+ className: "SecurityContextDefinition"
1567
+ }
1477
1568
  }
1478
1569
  }
1479
1570
  }
@@ -1561,6 +1652,20 @@ const DeploymentExtensionSpec = {
1561
1652
  }
1562
1653
  }
1563
1654
  };
1655
+ const ConfidentialComputeProperties = {
1656
+ type: {
1657
+ name: "Composite",
1658
+ className: "ConfidentialComputeProperties",
1659
+ modelProperties: {
1660
+ ccePolicy: {
1661
+ serializedName: "ccePolicy",
1662
+ type: {
1663
+ name: "String"
1664
+ }
1665
+ }
1666
+ }
1667
+ }
1668
+ };
1564
1669
  const CloudError = {
1565
1670
  type: {
1566
1671
  name: "Composite",
@@ -2071,6 +2176,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
2071
2176
  ContainerExec: ContainerExec,
2072
2177
  ContainerHttpGet: ContainerHttpGet,
2073
2178
  HttpHeader: HttpHeader,
2179
+ SecurityContextDefinition: SecurityContextDefinition,
2180
+ SecurityContextCapabilitiesDefinition: SecurityContextCapabilitiesDefinition,
2074
2181
  ImageRegistryCredential: ImageRegistryCredential,
2075
2182
  IpAddress: IpAddress,
2076
2183
  Port: Port,
@@ -2086,6 +2193,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
2086
2193
  InitContainerDefinition: InitContainerDefinition,
2087
2194
  InitContainerPropertiesDefinitionInstanceView: InitContainerPropertiesDefinitionInstanceView,
2088
2195
  DeploymentExtensionSpec: DeploymentExtensionSpec,
2196
+ ConfidentialComputeProperties: ConfidentialComputeProperties,
2089
2197
  CloudError: CloudError,
2090
2198
  CloudErrorBody: CloudErrorBody,
2091
2199
  OperationListResult: OperationListResult,
@@ -2149,7 +2257,7 @@ const subscriptionId = {
2149
2257
  const apiVersion = {
2150
2258
  parameterPath: "apiVersion",
2151
2259
  mapper: {
2152
- defaultValue: "2023-02-01-preview",
2260
+ defaultValue: "2023-05-01",
2153
2261
  isConstant: true,
2154
2262
  serializedName: "api-version",
2155
2263
  type: {
@@ -2352,24 +2460,17 @@ class ContainerGroupsImpl {
2352
2460
  }
2353
2461
  listPagingAll(options) {
2354
2462
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2355
- var _a, e_1, _b, _c;
2463
+ var e_1, _a;
2356
2464
  try {
2357
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2358
- _c = _f.value;
2359
- _d = false;
2360
- try {
2361
- const page = _c;
2362
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2363
- }
2364
- finally {
2365
- _d = true;
2366
- }
2465
+ for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2466
+ const page = _c.value;
2467
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2367
2468
  }
2368
2469
  }
2369
2470
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
2370
2471
  finally {
2371
2472
  try {
2372
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2473
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2373
2474
  }
2374
2475
  finally { if (e_1) throw e_1.error; }
2375
2476
  }
@@ -2421,24 +2522,17 @@ class ContainerGroupsImpl {
2421
2522
  }
2422
2523
  listByResourceGroupPagingAll(resourceGroupName, options) {
2423
2524
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2424
- var _a, e_2, _b, _c;
2525
+ var e_2, _a;
2425
2526
  try {
2426
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2427
- _c = _f.value;
2428
- _d = false;
2429
- try {
2430
- const page = _c;
2431
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2432
- }
2433
- finally {
2434
- _d = true;
2435
- }
2527
+ for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2528
+ const page = _c.value;
2529
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2436
2530
  }
2437
2531
  }
2438
2532
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
2439
2533
  finally {
2440
2534
  try {
2441
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2535
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2442
2536
  }
2443
2537
  finally { if (e_2) throw e_2.error; }
2444
2538
  }
@@ -3080,24 +3174,17 @@ class OperationsImpl {
3080
3174
  }
3081
3175
  listPagingAll(options) {
3082
3176
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
3083
- var _a, e_1, _b, _c;
3177
+ var e_1, _a;
3084
3178
  try {
3085
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3086
- _c = _f.value;
3087
- _d = false;
3088
- try {
3089
- const page = _c;
3090
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3091
- }
3092
- finally {
3093
- _d = true;
3094
- }
3179
+ for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3180
+ const page = _c.value;
3181
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3095
3182
  }
3096
3183
  }
3097
3184
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
3098
3185
  finally {
3099
3186
  try {
3100
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3187
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3101
3188
  }
3102
3189
  finally { if (e_1) throw e_1.error; }
3103
3190
  }
@@ -3201,24 +3288,17 @@ class LocationImpl {
3201
3288
  }
3202
3289
  listUsagePagingAll(location, options) {
3203
3290
  return tslib.__asyncGenerator(this, arguments, function* listUsagePagingAll_1() {
3204
- var _a, e_1, _b, _c;
3291
+ var e_1, _a;
3205
3292
  try {
3206
- for (var _d = true, _e = tslib.__asyncValues(this.listUsagePagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3207
- _c = _f.value;
3208
- _d = false;
3209
- try {
3210
- const page = _c;
3211
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3212
- }
3213
- finally {
3214
- _d = true;
3215
- }
3293
+ for (var _b = tslib.__asyncValues(this.listUsagePagingPage(location, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3294
+ const page = _c.value;
3295
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3216
3296
  }
3217
3297
  }
3218
3298
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
3219
3299
  finally {
3220
3300
  try {
3221
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3301
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3222
3302
  }
3223
3303
  finally { if (e_1) throw e_1.error; }
3224
3304
  }
@@ -3268,24 +3348,17 @@ class LocationImpl {
3268
3348
  }
3269
3349
  listCachedImagesPagingAll(location, options) {
3270
3350
  return tslib.__asyncGenerator(this, arguments, function* listCachedImagesPagingAll_1() {
3271
- var _a, e_2, _b, _c;
3351
+ var e_2, _a;
3272
3352
  try {
3273
- for (var _d = true, _e = tslib.__asyncValues(this.listCachedImagesPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3274
- _c = _f.value;
3275
- _d = false;
3276
- try {
3277
- const page = _c;
3278
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3279
- }
3280
- finally {
3281
- _d = true;
3282
- }
3353
+ for (var _b = tslib.__asyncValues(this.listCachedImagesPagingPage(location, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3354
+ const page = _c.value;
3355
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3283
3356
  }
3284
3357
  }
3285
3358
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
3286
3359
  finally {
3287
3360
  try {
3288
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3361
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3289
3362
  }
3290
3363
  finally { if (e_2) throw e_2.error; }
3291
3364
  }
@@ -3335,24 +3408,17 @@ class LocationImpl {
3335
3408
  }
3336
3409
  listCapabilitiesPagingAll(location, options) {
3337
3410
  return tslib.__asyncGenerator(this, arguments, function* listCapabilitiesPagingAll_1() {
3338
- var _a, e_3, _b, _c;
3411
+ var e_3, _a;
3339
3412
  try {
3340
- for (var _d = true, _e = tslib.__asyncValues(this.listCapabilitiesPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3341
- _c = _f.value;
3342
- _d = false;
3343
- try {
3344
- const page = _c;
3345
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3346
- }
3347
- finally {
3348
- _d = true;
3349
- }
3413
+ for (var _b = tslib.__asyncValues(this.listCapabilitiesPagingPage(location, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3414
+ const page = _c.value;
3415
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3350
3416
  }
3351
3417
  }
3352
3418
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
3353
3419
  finally {
3354
3420
  try {
3355
- if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3421
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3356
3422
  }
3357
3423
  finally { if (e_3) throw e_3.error; }
3358
3424
  }
@@ -3768,7 +3834,7 @@ class ContainerInstanceManagementClient extends coreClient__namespace.ServiceCli
3768
3834
  requestContentType: "application/json; charset=utf-8",
3769
3835
  credential: credentials
3770
3836
  };
3771
- const packageDetails = `azsdk-js-arm-containerinstance/9.1.0-beta.2`;
3837
+ const packageDetails = `azsdk-js-arm-containerinstance/9.1.0`;
3772
3838
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
3773
3839
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
3774
3840
  : `${packageDetails}`;
@@ -3801,7 +3867,7 @@ class ContainerInstanceManagementClient extends coreClient__namespace.ServiceCli
3801
3867
  this.subscriptionId = subscriptionId;
3802
3868
  // Assigning values to Constant parameters
3803
3869
  this.$host = options.$host || "https://management.azure.com";
3804
- this.apiVersion = options.apiVersion || "2023-02-01-preview";
3870
+ this.apiVersion = options.apiVersion || "2023-05-01";
3805
3871
  this.containerGroups = new ContainerGroupsImpl(this);
3806
3872
  this.operations = new OperationsImpl(this);
3807
3873
  this.location = new LocationImpl(this);