@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
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,M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ACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAA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AAC"}
@@ -110,26 +110,19 @@ describe("ContainerInstance test", () => {
110
110
  });
111
111
  });
112
112
  it("containerGroups list test", function () {
113
- var _a, e_1, _b, _c;
113
+ var e_1, _a;
114
114
  return __awaiter(this, void 0, void 0, function* () {
115
115
  const resArray = new Array();
116
116
  try {
117
- for (var _d = true, _e = __asyncValues(client.containerGroups.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
118
- _c = _f.value;
119
- _d = false;
120
- try {
121
- let item = _c;
122
- resArray.push(item);
123
- }
124
- finally {
125
- _d = true;
126
- }
117
+ for (var _b = __asyncValues(client.containerGroups.listByResourceGroup(resourceGroup)), _c; _c = yield _b.next(), !_c.done;) {
118
+ let item = _c.value;
119
+ resArray.push(item);
127
120
  }
128
121
  }
129
122
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
130
123
  finally {
131
124
  try {
132
- if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
125
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
133
126
  }
134
127
  finally { if (e_1) throw e_1.error; }
135
128
  }
@@ -137,27 +130,20 @@ describe("ContainerInstance test", () => {
137
130
  });
138
131
  });
139
132
  it("containerGroups delete test", function () {
140
- var _a, e_2, _b, _c;
133
+ var e_2, _a;
141
134
  return __awaiter(this, void 0, void 0, function* () {
142
135
  const res = yield client.containerGroups.beginDeleteAndWait(resourceGroup, containerGroupName);
143
136
  const resArray = new Array();
144
137
  try {
145
- for (var _d = true, _e = __asyncValues(client.containerGroups.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
146
- _c = _f.value;
147
- _d = false;
148
- try {
149
- let item = _c;
150
- resArray.push(item);
151
- }
152
- finally {
153
- _d = true;
154
- }
138
+ for (var _b = __asyncValues(client.containerGroups.listByResourceGroup(resourceGroup)), _c; _c = yield _b.next(), !_c.done;) {
139
+ let item = _c.value;
140
+ resArray.push(item);
155
141
  }
156
142
  }
157
143
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
158
144
  finally {
159
145
  try {
160
- if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
146
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
161
147
  }
162
148
  finally { if (e_2) throw e_2.error; }
163
149
  }
@@ -1 +1 @@
1
- {"version":3,"file":"containerinstance_examples.js","sourceRoot":"","sources":["../../test/containerinstance_examples.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,0CAA0C,CAAC;AAE7F,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACrD,CAAC;AAGF,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACtC,IAAI,QAAkB,CAAC;IACvB,IAAI,cAAsB,CAAC;IAC3B,IAAI,MAAyC,CAAC;IAC9C,IAAI,QAAgB,CAAC;IACrB,IAAI,aAAqB,CAAC;IAC1B,IAAI,kBAA0B,CAAC;IAC/B,IAAI,qBAA6B,CAAC;IAElC,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,C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CAAC,eAAe,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA,IAAA;oBAArE,IAAI,IAAI,WAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;iBACrB;;;;;;;;;YACD,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for ContainerInstanceManagementClient.",
6
- "version": "9.1.0-beta.2",
6
+ "version": "9.1.0",
7
7
  "engines": {
8
8
  "node": ">=14.0.0"
9
9
  },
@@ -36,7 +36,7 @@
36
36
  "mkdirp": "^2.1.2",
37
37
  "rollup": "^2.66.1",
38
38
  "rollup-plugin-sourcemaps": "^0.6.3",
39
- "typescript": "~5.0.0",
39
+ "typescript": "~4.8.0",
40
40
  "uglify-js": "^3.4.9",
41
41
  "rimraf": "^3.0.0",
42
42
  "dotenv": "^16.0.0",
@@ -66,6 +66,11 @@ export interface CloudErrorBody {
66
66
  target?: string;
67
67
  }
68
68
 
69
+ // @public
70
+ export interface ConfidentialComputeProperties {
71
+ ccePolicy?: string;
72
+ }
73
+
69
74
  // @public
70
75
  export interface Container {
71
76
  command?: string[];
@@ -77,6 +82,7 @@ export interface Container {
77
82
  ports?: ContainerPort[];
78
83
  readinessProbe?: ContainerProbe;
79
84
  resources: ResourceRequirements;
85
+ securityContext?: SecurityContextDefinition;
80
86
  volumeMounts?: VolumeMount[];
81
87
  }
82
88
 
@@ -140,8 +146,12 @@ export interface ContainerGroupListResult {
140
146
  // @public
141
147
  export type ContainerGroupNetworkProtocol = string;
142
148
 
149
+ // @public
150
+ export type ContainerGroupPriority = string;
151
+
143
152
  // @public
144
153
  export interface ContainerGroupProperties {
154
+ confidentialComputeProperties?: ConfidentialComputeProperties;
145
155
  containers: Container[];
146
156
  diagnostics?: ContainerGroupDiagnostics;
147
157
  dnsConfig?: DnsConfiguration;
@@ -152,10 +162,9 @@ export interface ContainerGroupProperties {
152
162
  initContainers?: InitContainerDefinition[];
153
163
  readonly instanceView?: ContainerGroupPropertiesInstanceView;
154
164
  ipAddress?: IpAddress;
155
- readonly isCustomProvisioningTimeout?: IsCustomProvisioningTimeout;
156
165
  osType: OperatingSystemTypes;
166
+ priority?: ContainerGroupPriority;
157
167
  readonly provisioningState?: string;
158
- provisioningTimeoutInSeconds?: number;
159
168
  restartPolicy?: ContainerGroupRestartPolicy;
160
169
  sku?: ContainerGroupSku;
161
170
  subnetIds?: ContainerGroupSubnetId[];
@@ -475,6 +484,7 @@ export interface InitContainerDefinition {
475
484
  image?: string;
476
485
  readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
477
486
  name: string;
487
+ securityContext?: SecurityContextDefinition;
478
488
  volumeMounts?: VolumeMount[];
479
489
  }
480
490
 
@@ -496,9 +506,6 @@ export interface IpAddress {
496
506
  type: ContainerGroupIpAddressType;
497
507
  }
498
508
 
499
- // @public
500
- export type IsCustomProvisioningTimeout = string;
501
-
502
509
  // @public
503
510
  export enum KnownContainerGroupIpAddressType {
504
511
  Private = "Private",
@@ -511,6 +518,12 @@ export enum KnownContainerGroupNetworkProtocol {
511
518
  UDP = "UDP"
512
519
  }
513
520
 
521
+ // @public
522
+ export enum KnownContainerGroupPriority {
523
+ Regular = "Regular",
524
+ Spot = "Spot"
525
+ }
526
+
514
527
  // @public
515
528
  export enum KnownContainerGroupRestartPolicy {
516
529
  Always = "Always",
@@ -520,6 +533,7 @@ export enum KnownContainerGroupRestartPolicy {
520
533
 
521
534
  // @public
522
535
  export enum KnownContainerGroupSku {
536
+ Confidential = "Confidential",
523
537
  Dedicated = "Dedicated",
524
538
  Standard = "Standard"
525
539
  }
@@ -552,12 +566,6 @@ export enum KnownGpuSku {
552
566
  V100 = "V100"
553
567
  }
554
568
 
555
- // @public
556
- export enum KnownIsCustomProvisioningTimeout {
557
- False = "False",
558
- True = "True"
559
- }
560
-
561
569
  // @public
562
570
  export enum KnownLogAnalyticsLogType {
563
571
  ContainerInsights = "ContainerInsights",
@@ -726,6 +734,22 @@ export interface ResourceRequirements {
726
734
  // @public
727
735
  export type Scheme = string;
728
736
 
737
+ // @public
738
+ export interface SecurityContextCapabilitiesDefinition {
739
+ add?: string[];
740
+ drop?: string[];
741
+ }
742
+
743
+ // @public
744
+ export interface SecurityContextDefinition {
745
+ allowPrivilegeEscalation?: boolean;
746
+ capabilities?: SecurityContextCapabilitiesDefinition;
747
+ privileged?: boolean;
748
+ runAsGroup?: number;
749
+ runAsUser?: number;
750
+ seccompProfile?: string;
751
+ }
752
+
729
753
  // @public
730
754
  export interface SubnetServiceAssociationLink {
731
755
  beginDelete(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options?: SubnetServiceAssociationLinkDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
@@ -63,7 +63,7 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
63
63
  credential: credentials
64
64
  };
65
65
 
66
- const packageDetails = `azsdk-js-arm-containerinstance/9.1.0-beta.2`;
66
+ const packageDetails = `azsdk-js-arm-containerinstance/9.1.0`;
67
67
  const userAgentPrefix =
68
68
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
69
69
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -116,7 +116,7 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
116
116
 
117
117
  // Assigning values to Constant parameters
118
118
  this.$host = options.$host || "https://management.azure.com";
119
- this.apiVersion = options.apiVersion || "2023-02-01-preview";
119
+ this.apiVersion = options.apiVersion || "2023-05-01";
120
120
  this.containerGroups = new ContainerGroupsImpl(this);
121
121
  this.operations = new OperationsImpl(this);
122
122
  this.location = new LocationImpl(this);
@@ -54,13 +54,6 @@ export interface ContainerGroupProperties {
54
54
  containers: Container[];
55
55
  /** The image registry credentials by which the container group is created from. */
56
56
  imageRegistryCredentials?: ImageRegistryCredential[];
57
- /** Time in seconds in which a container group deployment would timeout and fail. The allowed maximum value is 1800 seconds. If value is not provided, property is given maximum value by default. */
58
- provisioningTimeoutInSeconds?: number;
59
- /**
60
- * Flag indicating whether a custom value was provided for the provisioningTimeoutInSeconds property
61
- * NOTE: This property will not be serialized. It can only be populated by the server.
62
- */
63
- readonly isCustomProvisioningTimeout?: IsCustomProvisioningTimeout;
64
57
  /**
65
58
  * Restart policy for all containers within the container group.
66
59
  * - `Always` Always restart
@@ -94,6 +87,10 @@ export interface ContainerGroupProperties {
94
87
  initContainers?: InitContainerDefinition[];
95
88
  /** extensions used by virtual kubelet */
96
89
  extensions?: DeploymentExtensionSpec[];
90
+ /** The properties for confidential container group */
91
+ confidentialComputeProperties?: ConfidentialComputeProperties;
92
+ /** The priority of the container group. */
93
+ priority?: ContainerGroupPriority;
97
94
  }
98
95
 
99
96
  /** Identity for the container group. */
@@ -153,6 +150,8 @@ export interface Container {
153
150
  livenessProbe?: ContainerProbe;
154
151
  /** The readiness probe. */
155
152
  readinessProbe?: ContainerProbe;
153
+ /** The container security properties. */
154
+ securityContext?: SecurityContextDefinition;
156
155
  }
157
156
 
158
157
  /** The port exposed on the container instance. */
@@ -350,6 +349,30 @@ export interface HttpHeader {
350
349
  value?: string;
351
350
  }
352
351
 
352
+ /** The security context for the container. */
353
+ export interface SecurityContextDefinition {
354
+ /** The flag to determine if the container permissions is elevated to Privileged. */
355
+ privileged?: boolean;
356
+ /** A boolean value indicating whether the init process can elevate its privileges */
357
+ allowPrivilegeEscalation?: boolean;
358
+ /** The capabilities to add or drop from a container. */
359
+ capabilities?: SecurityContextCapabilitiesDefinition;
360
+ /** Sets the User GID for the container. */
361
+ runAsGroup?: number;
362
+ /** Sets the User UID for the container. */
363
+ runAsUser?: number;
364
+ /** a base64 encoded string containing the contents of the JSON in the seccomp profile */
365
+ seccompProfile?: string;
366
+ }
367
+
368
+ /** The capabilities to add or drop from a container. */
369
+ export interface SecurityContextCapabilitiesDefinition {
370
+ /** The capabilities to add to the container. */
371
+ add?: string[];
372
+ /** The capabilities to drop from the container. */
373
+ drop?: string[];
374
+ }
375
+
353
376
  /** Image registry credential. */
354
377
  export interface ImageRegistryCredential {
355
378
  /** The Docker image registry server without a protocol such as "http" and "https". */
@@ -508,6 +531,8 @@ export interface InitContainerDefinition {
508
531
  readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
509
532
  /** The volume mounts available to the init container. */
510
533
  volumeMounts?: VolumeMount[];
534
+ /** The container security properties. */
535
+ securityContext?: SecurityContextDefinition;
511
536
  }
512
537
 
513
538
  /** The instance view of the init container. Only valid in response. */
@@ -548,6 +573,12 @@ export interface DeploymentExtensionSpec {
548
573
  protectedSettings?: Record<string, unknown>;
549
574
  }
550
575
 
576
+ /** The properties for confidential container group */
577
+ export interface ConfidentialComputeProperties {
578
+ /** The base64 encoded confidential compute enforcement policy */
579
+ ccePolicy?: string;
580
+ }
581
+
551
582
  /** An error response from the Container Instance service. */
552
583
  export interface CloudError {
553
584
  /** An error response from the Container Instance service. */
@@ -825,24 +856,6 @@ export enum KnownScheme {
825
856
  */
826
857
  export type Scheme = string;
827
858
 
828
- /** Known values of {@link IsCustomProvisioningTimeout} that the service accepts. */
829
- export enum KnownIsCustomProvisioningTimeout {
830
- /** True */
831
- True = "True",
832
- /** False */
833
- False = "False"
834
- }
835
-
836
- /**
837
- * Defines values for IsCustomProvisioningTimeout. \
838
- * {@link KnownIsCustomProvisioningTimeout} can be used interchangeably with IsCustomProvisioningTimeout,
839
- * this enum contains the known values that the service supports.
840
- * ### Known values supported by the service
841
- * **True** \
842
- * **False**
843
- */
844
- export type IsCustomProvisioningTimeout = string;
845
-
846
859
  /** Known values of {@link ContainerGroupRestartPolicy} that the service accepts. */
847
860
  export enum KnownContainerGroupRestartPolicy {
848
861
  /** Always */
@@ -968,7 +981,9 @@ export enum KnownContainerGroupSku {
968
981
  /** Standard */
969
982
  Standard = "Standard",
970
983
  /** Dedicated */
971
- Dedicated = "Dedicated"
984
+ Dedicated = "Dedicated",
985
+ /** Confidential */
986
+ Confidential = "Confidential"
972
987
  }
973
988
 
974
989
  /**
@@ -977,10 +992,29 @@ export enum KnownContainerGroupSku {
977
992
  * this enum contains the known values that the service supports.
978
993
  * ### Known values supported by the service
979
994
  * **Standard** \
980
- * **Dedicated**
995
+ * **Dedicated** \
996
+ * **Confidential**
981
997
  */
982
998
  export type ContainerGroupSku = string;
983
999
 
1000
+ /** Known values of {@link ContainerGroupPriority} that the service accepts. */
1001
+ export enum KnownContainerGroupPriority {
1002
+ /** Regular */
1003
+ Regular = "Regular",
1004
+ /** Spot */
1005
+ Spot = "Spot"
1006
+ }
1007
+
1008
+ /**
1009
+ * Defines values for ContainerGroupPriority. \
1010
+ * {@link KnownContainerGroupPriority} can be used interchangeably with ContainerGroupPriority,
1011
+ * this enum contains the known values that the service supports.
1012
+ * ### Known values supported by the service
1013
+ * **Regular** \
1014
+ * **Spot**
1015
+ */
1016
+ export type ContainerGroupPriority = string;
1017
+
984
1018
  /** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */
985
1019
  export enum KnownContainerInstanceOperationsOrigin {
986
1020
  /** User */
@@ -133,19 +133,6 @@ export const ContainerGroupProperties: coreClient.CompositeMapper = {
133
133
  }
134
134
  }
135
135
  },
136
- provisioningTimeoutInSeconds: {
137
- serializedName: "properties.provisioningTimeoutInSeconds",
138
- type: {
139
- name: "Number"
140
- }
141
- },
142
- isCustomProvisioningTimeout: {
143
- serializedName: "properties.isCustomProvisioningTimeout",
144
- readOnly: true,
145
- type: {
146
- name: "String"
147
- }
148
- },
149
136
  restartPolicy: {
150
137
  serializedName: "properties.restartPolicy",
151
138
  type: {
@@ -247,6 +234,19 @@ export const ContainerGroupProperties: coreClient.CompositeMapper = {
247
234
  }
248
235
  }
249
236
  }
237
+ },
238
+ confidentialComputeProperties: {
239
+ serializedName: "properties.confidentialComputeProperties",
240
+ type: {
241
+ name: "Composite",
242
+ className: "ConfidentialComputeProperties"
243
+ }
244
+ },
245
+ priority: {
246
+ serializedName: "properties.priority",
247
+ type: {
248
+ name: "String"
249
+ }
250
250
  }
251
251
  }
252
252
  }
@@ -412,6 +412,13 @@ export const Container: coreClient.CompositeMapper = {
412
412
  name: "Composite",
413
413
  className: "ContainerProbe"
414
414
  }
415
+ },
416
+ securityContext: {
417
+ serializedName: "properties.securityContext",
418
+ type: {
419
+ name: "Composite",
420
+ className: "SecurityContextDefinition"
421
+ }
415
422
  }
416
423
  }
417
424
  }
@@ -872,6 +879,83 @@ export const HttpHeader: coreClient.CompositeMapper = {
872
879
  }
873
880
  };
874
881
 
882
+ export const SecurityContextDefinition: coreClient.CompositeMapper = {
883
+ type: {
884
+ name: "Composite",
885
+ className: "SecurityContextDefinition",
886
+ modelProperties: {
887
+ privileged: {
888
+ serializedName: "privileged",
889
+ type: {
890
+ name: "Boolean"
891
+ }
892
+ },
893
+ allowPrivilegeEscalation: {
894
+ serializedName: "allowPrivilegeEscalation",
895
+ type: {
896
+ name: "Boolean"
897
+ }
898
+ },
899
+ capabilities: {
900
+ serializedName: "capabilities",
901
+ type: {
902
+ name: "Composite",
903
+ className: "SecurityContextCapabilitiesDefinition"
904
+ }
905
+ },
906
+ runAsGroup: {
907
+ serializedName: "runAsGroup",
908
+ type: {
909
+ name: "Number"
910
+ }
911
+ },
912
+ runAsUser: {
913
+ serializedName: "runAsUser",
914
+ type: {
915
+ name: "Number"
916
+ }
917
+ },
918
+ seccompProfile: {
919
+ serializedName: "seccompProfile",
920
+ type: {
921
+ name: "String"
922
+ }
923
+ }
924
+ }
925
+ }
926
+ };
927
+
928
+ export const SecurityContextCapabilitiesDefinition: coreClient.CompositeMapper = {
929
+ type: {
930
+ name: "Composite",
931
+ className: "SecurityContextCapabilitiesDefinition",
932
+ modelProperties: {
933
+ add: {
934
+ serializedName: "add",
935
+ type: {
936
+ name: "Sequence",
937
+ element: {
938
+ type: {
939
+ name: "String"
940
+ }
941
+ }
942
+ }
943
+ },
944
+ drop: {
945
+ serializedName: "drop",
946
+ type: {
947
+ name: "Sequence",
948
+ element: {
949
+ type: {
950
+ name: "String"
951
+ }
952
+ }
953
+ }
954
+ }
955
+ }
956
+ }
957
+ };
958
+
875
959
  export const ImageRegistryCredential: coreClient.CompositeMapper = {
876
960
  type: {
877
961
  name: "Composite",
@@ -1333,6 +1417,13 @@ export const InitContainerDefinition: coreClient.CompositeMapper = {
1333
1417
  }
1334
1418
  }
1335
1419
  }
1420
+ },
1421
+ securityContext: {
1422
+ serializedName: "properties.securityContext",
1423
+ type: {
1424
+ name: "Composite",
1425
+ className: "SecurityContextDefinition"
1426
+ }
1336
1427
  }
1337
1428
  }
1338
1429
  }
@@ -1423,6 +1514,21 @@ export const DeploymentExtensionSpec: coreClient.CompositeMapper = {
1423
1514
  }
1424
1515
  };
1425
1516
 
1517
+ export const ConfidentialComputeProperties: coreClient.CompositeMapper = {
1518
+ type: {
1519
+ name: "Composite",
1520
+ className: "ConfidentialComputeProperties",
1521
+ modelProperties: {
1522
+ ccePolicy: {
1523
+ serializedName: "ccePolicy",
1524
+ type: {
1525
+ name: "String"
1526
+ }
1527
+ }
1528
+ }
1529
+ }
1530
+ };
1531
+
1426
1532
  export const CloudError: coreClient.CompositeMapper = {
1427
1533
  type: {
1428
1534
  name: "Composite",
@@ -55,7 +55,7 @@ export const subscriptionId: OperationURLParameter = {
55
55
  export const apiVersion: OperationQueryParameter = {
56
56
  parameterPath: "apiVersion",
57
57
  mapper: {
58
- defaultValue: "2023-02-01-preview",
58
+ defaultValue: "2023-05-01",
59
59
  isConstant: true,
60
60
  serializedName: "api-version",
61
61
  type: {