@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.
- package/CHANGELOG.md +11 -5
- package/README.md +1 -1
- package/dist/index.js +162 -96
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +78 -4
- package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/containerGroupsGetSample.js +20 -2
- package/dist-esm/samples-dev/containerGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +6 -13
- package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsListSample.js +6 -13
- package/dist-esm/samples-dev/containerGroupsListSample.js.map +1 -1
- package/dist-esm/samples-dev/containerGroupsRestartSample.js +1 -1
- package/dist-esm/samples-dev/containerGroupsStartSample.js +1 -1
- package/dist-esm/samples-dev/containerGroupsStopSample.js +1 -1
- package/dist-esm/samples-dev/containerGroupsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/containersAttachSample.js +1 -1
- package/dist-esm/samples-dev/containersExecuteCommandSample.js +1 -1
- package/dist-esm/samples-dev/containersListLogsSample.js +1 -1
- package/dist-esm/samples-dev/locationListCachedImagesSample.js +6 -13
- package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +1 -1
- package/dist-esm/samples-dev/locationListCapabilitiesSample.js +6 -13
- package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +1 -1
- package/dist-esm/samples-dev/locationListUsageSample.js +6 -13
- package/dist-esm/samples-dev/locationListUsageSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +6 -13
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +1 -1
- package/dist-esm/src/containerInstanceManagementClient.js +2 -2
- package/dist-esm/src/containerInstanceManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +87 -56
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -8
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +116 -13
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/containerGroups.js +10 -24
- package/dist-esm/src/operations/containerGroups.js.map +1 -1
- package/dist-esm/src/operations/location.js +15 -36
- package/dist-esm/src/operations/location.js.map +1 -1
- package/dist-esm/src/operations/operations.js +5 -12
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/test/containerinstance_examples.js +10 -24
- package/dist-esm/test/containerinstance_examples.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-containerinstance.api.md +35 -11
- package/src/containerInstanceManagementClient.ts +2 -2
- package/src/models/index.ts +61 -27
- package/src/models/mappers.ts +119 -13
- package/src/models/parameters.ts +1 -1
- package/types/arm-containerinstance.d.ts +61 -27
|
@@ -111,6 +111,12 @@ export declare interface CloudErrorBody {
|
|
|
111
111
|
details?: CloudErrorBody[];
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
/** The properties for confidential container group */
|
|
115
|
+
export declare interface ConfidentialComputeProperties {
|
|
116
|
+
/** The base64 encoded confidential compute enforcement policy */
|
|
117
|
+
ccePolicy?: string;
|
|
118
|
+
}
|
|
119
|
+
|
|
114
120
|
/** A container instance. */
|
|
115
121
|
export declare interface Container {
|
|
116
122
|
/** The user-provided name of the container instance. */
|
|
@@ -136,6 +142,8 @@ export declare interface Container {
|
|
|
136
142
|
livenessProbe?: ContainerProbe;
|
|
137
143
|
/** The readiness probe. */
|
|
138
144
|
readinessProbe?: ContainerProbe;
|
|
145
|
+
/** The container security properties. */
|
|
146
|
+
securityContext?: SecurityContextDefinition;
|
|
139
147
|
}
|
|
140
148
|
|
|
141
149
|
/** The information for the output stream from container attach. */
|
|
@@ -234,6 +242,16 @@ export declare interface ContainerGroupListResult {
|
|
|
234
242
|
*/
|
|
235
243
|
export declare type ContainerGroupNetworkProtocol = string;
|
|
236
244
|
|
|
245
|
+
/**
|
|
246
|
+
* Defines values for ContainerGroupPriority. \
|
|
247
|
+
* {@link KnownContainerGroupPriority} can be used interchangeably with ContainerGroupPriority,
|
|
248
|
+
* this enum contains the known values that the service supports.
|
|
249
|
+
* ### Known values supported by the service
|
|
250
|
+
* **Regular** \
|
|
251
|
+
* **Spot**
|
|
252
|
+
*/
|
|
253
|
+
export declare type ContainerGroupPriority = string;
|
|
254
|
+
|
|
237
255
|
/** The container group properties */
|
|
238
256
|
export declare interface ContainerGroupProperties {
|
|
239
257
|
/** The identity of the container group, if configured. */
|
|
@@ -247,13 +265,6 @@ export declare interface ContainerGroupProperties {
|
|
|
247
265
|
containers: Container[];
|
|
248
266
|
/** The image registry credentials by which the container group is created from. */
|
|
249
267
|
imageRegistryCredentials?: ImageRegistryCredential[];
|
|
250
|
-
/** 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. */
|
|
251
|
-
provisioningTimeoutInSeconds?: number;
|
|
252
|
-
/**
|
|
253
|
-
* Flag indicating whether a custom value was provided for the provisioningTimeoutInSeconds property
|
|
254
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
255
|
-
*/
|
|
256
|
-
readonly isCustomProvisioningTimeout?: IsCustomProvisioningTimeout;
|
|
257
268
|
/**
|
|
258
269
|
* Restart policy for all containers within the container group.
|
|
259
270
|
* - `Always` Always restart
|
|
@@ -287,6 +298,10 @@ export declare interface ContainerGroupProperties {
|
|
|
287
298
|
initContainers?: InitContainerDefinition[];
|
|
288
299
|
/** extensions used by virtual kubelet */
|
|
289
300
|
extensions?: DeploymentExtensionSpec[];
|
|
301
|
+
/** The properties for confidential container group */
|
|
302
|
+
confidentialComputeProperties?: ConfidentialComputeProperties;
|
|
303
|
+
/** The priority of the container group. */
|
|
304
|
+
priority?: ContainerGroupPriority;
|
|
290
305
|
}
|
|
291
306
|
|
|
292
307
|
/** The instance view of the container group. Only valid in response. */
|
|
@@ -475,7 +490,8 @@ export declare type ContainerGroupsGetResponse = ContainerGroup;
|
|
|
475
490
|
* this enum contains the known values that the service supports.
|
|
476
491
|
* ### Known values supported by the service
|
|
477
492
|
* **Standard** \
|
|
478
|
-
* **Dedicated**
|
|
493
|
+
* **Dedicated** \
|
|
494
|
+
* **Confidential**
|
|
479
495
|
*/
|
|
480
496
|
export declare type ContainerGroupSku = string;
|
|
481
497
|
|
|
@@ -911,6 +927,8 @@ export declare interface InitContainerDefinition {
|
|
|
911
927
|
readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
|
|
912
928
|
/** The volume mounts available to the init container. */
|
|
913
929
|
volumeMounts?: VolumeMount[];
|
|
930
|
+
/** The container security properties. */
|
|
931
|
+
securityContext?: SecurityContextDefinition;
|
|
914
932
|
}
|
|
915
933
|
|
|
916
934
|
/** The instance view of the init container. Only valid in response. */
|
|
@@ -956,16 +974,6 @@ export declare interface IpAddress {
|
|
|
956
974
|
readonly fqdn?: string;
|
|
957
975
|
}
|
|
958
976
|
|
|
959
|
-
/**
|
|
960
|
-
* Defines values for IsCustomProvisioningTimeout. \
|
|
961
|
-
* {@link KnownIsCustomProvisioningTimeout} can be used interchangeably with IsCustomProvisioningTimeout,
|
|
962
|
-
* this enum contains the known values that the service supports.
|
|
963
|
-
* ### Known values supported by the service
|
|
964
|
-
* **True** \
|
|
965
|
-
* **False**
|
|
966
|
-
*/
|
|
967
|
-
export declare type IsCustomProvisioningTimeout = string;
|
|
968
|
-
|
|
969
977
|
/** Known values of {@link ContainerGroupIpAddressType} that the service accepts. */
|
|
970
978
|
export declare enum KnownContainerGroupIpAddressType {
|
|
971
979
|
/** Public */
|
|
@@ -982,6 +990,14 @@ export declare enum KnownContainerGroupNetworkProtocol {
|
|
|
982
990
|
UDP = "UDP"
|
|
983
991
|
}
|
|
984
992
|
|
|
993
|
+
/** Known values of {@link ContainerGroupPriority} that the service accepts. */
|
|
994
|
+
export declare enum KnownContainerGroupPriority {
|
|
995
|
+
/** Regular */
|
|
996
|
+
Regular = "Regular",
|
|
997
|
+
/** Spot */
|
|
998
|
+
Spot = "Spot"
|
|
999
|
+
}
|
|
1000
|
+
|
|
985
1001
|
/** Known values of {@link ContainerGroupRestartPolicy} that the service accepts. */
|
|
986
1002
|
export declare enum KnownContainerGroupRestartPolicy {
|
|
987
1003
|
/** Always */
|
|
@@ -997,7 +1013,9 @@ export declare enum KnownContainerGroupSku {
|
|
|
997
1013
|
/** Standard */
|
|
998
1014
|
Standard = "Standard",
|
|
999
1015
|
/** Dedicated */
|
|
1000
|
-
Dedicated = "Dedicated"
|
|
1016
|
+
Dedicated = "Dedicated",
|
|
1017
|
+
/** Confidential */
|
|
1018
|
+
Confidential = "Confidential"
|
|
1001
1019
|
}
|
|
1002
1020
|
|
|
1003
1021
|
/** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */
|
|
@@ -1040,14 +1058,6 @@ export declare enum KnownGpuSku {
|
|
|
1040
1058
|
V100 = "V100"
|
|
1041
1059
|
}
|
|
1042
1060
|
|
|
1043
|
-
/** Known values of {@link IsCustomProvisioningTimeout} that the service accepts. */
|
|
1044
|
-
export declare enum KnownIsCustomProvisioningTimeout {
|
|
1045
|
-
/** True */
|
|
1046
|
-
True = "True",
|
|
1047
|
-
/** False */
|
|
1048
|
-
False = "False"
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
1061
|
/** Known values of {@link LogAnalyticsLogType} that the service accepts. */
|
|
1052
1062
|
export declare enum KnownLogAnalyticsLogType {
|
|
1053
1063
|
/** ContainerInsights */
|
|
@@ -1303,6 +1313,30 @@ export declare interface ResourceRequirements {
|
|
|
1303
1313
|
*/
|
|
1304
1314
|
export declare type Scheme = string;
|
|
1305
1315
|
|
|
1316
|
+
/** The capabilities to add or drop from a container. */
|
|
1317
|
+
export declare interface SecurityContextCapabilitiesDefinition {
|
|
1318
|
+
/** The capabilities to add to the container. */
|
|
1319
|
+
add?: string[];
|
|
1320
|
+
/** The capabilities to drop from the container. */
|
|
1321
|
+
drop?: string[];
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
/** The security context for the container. */
|
|
1325
|
+
export declare interface SecurityContextDefinition {
|
|
1326
|
+
/** The flag to determine if the container permissions is elevated to Privileged. */
|
|
1327
|
+
privileged?: boolean;
|
|
1328
|
+
/** A boolean value indicating whether the init process can elevate its privileges */
|
|
1329
|
+
allowPrivilegeEscalation?: boolean;
|
|
1330
|
+
/** The capabilities to add or drop from a container. */
|
|
1331
|
+
capabilities?: SecurityContextCapabilitiesDefinition;
|
|
1332
|
+
/** Sets the User GID for the container. */
|
|
1333
|
+
runAsGroup?: number;
|
|
1334
|
+
/** Sets the User UID for the container. */
|
|
1335
|
+
runAsUser?: number;
|
|
1336
|
+
/** a base64 encoded string containing the contents of the JSON in the seccomp profile */
|
|
1337
|
+
seccompProfile?: string;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1306
1340
|
/** Interface representing a SubnetServiceAssociationLink. */
|
|
1307
1341
|
export declare interface SubnetServiceAssociationLink {
|
|
1308
1342
|
/**
|