@azure/arm-containerinstance 6.3.0 → 8.0.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 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +70 -78
- package/dist/index.js +3335 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/containerInstanceManagementClient.d.ts +22 -0
- package/dist-esm/src/containerInstanceManagementClient.d.ts.map +1 -0
- package/dist-esm/src/containerInstanceManagementClient.js +55 -0
- package/dist-esm/src/containerInstanceManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +964 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +70 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +54 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +799 -788
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +67 -37
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/containerGroups.d.ts +159 -0
- package/dist-esm/src/operations/containerGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/containerGroups.js +678 -0
- package/dist-esm/src/operations/containerGroups.js.map +1 -0
- package/dist-esm/src/operations/containers.d.ts +40 -0
- package/dist-esm/src/operations/containers.d.ts.map +1 -0
- package/dist-esm/src/operations/containers.js +134 -0
- package/dist-esm/src/operations/containers.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/location.d.ts +70 -0
- package/dist-esm/src/operations/location.d.ts.map +1 -0
- package/dist-esm/src/operations/location.js +310 -0
- package/dist-esm/src/operations/location.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +119 -0
- package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/containerGroups.js} +2 -7
- package/dist-esm/src/operationsInterfaces/containerGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/containers.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/containers.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/containers.js} +2 -2
- package/dist-esm/src/operationsInterfaces/containers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/location.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/location.js} +2 -1
- package/dist-esm/src/operationsInterfaces/location.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/{src/models/containersMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/containerinstance_examples.d.ts +4 -0
- package/dist-esm/test/containerinstance_examples.d.ts.map +1 -0
- package/dist-esm/test/containerinstance_examples.js +156 -0
- package/dist-esm/test/containerinstance_examples.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-containerinstance.api.md +752 -0
- package/rollup.config.js +181 -30
- package/src/containerInstanceManagementClient.ts +78 -40
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +734 -1215
- package/src/models/mappers.ts +808 -793
- package/src/models/parameters.ts +90 -38
- package/src/operations/containerGroups.ts +660 -424
- package/src/operations/containers.ts +89 -143
- package/src/operations/index.ts +1 -2
- package/src/operations/location.ts +262 -179
- package/src/operations/operations.ts +85 -73
- package/src/operationsInterfaces/containerGroups.ts +212 -0
- package/src/operationsInterfaces/containers.ts +64 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/location.ts +49 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +3 -3
- package/types/arm-containerinstance.d.ts +1282 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-containerinstance.js +0 -3019
- package/dist/arm-containerinstance.js.map +0 -1
- package/dist/arm-containerinstance.min.js +0 -1
- package/dist/arm-containerinstance.min.js.map +0 -1
- package/esm/containerInstanceManagementClient.d.ts +0 -28
- package/esm/containerInstanceManagementClient.d.ts.map +0 -1
- package/esm/containerInstanceManagementClient.js +0 -41
- package/esm/containerInstanceManagementClient.js.map +0 -1
- package/esm/containerInstanceManagementClientContext.d.ts +0 -23
- package/esm/containerInstanceManagementClientContext.d.ts.map +0 -1
- package/esm/containerInstanceManagementClientContext.js +0 -61
- package/esm/containerInstanceManagementClientContext.js.map +0 -1
- package/esm/models/containerGroupsMappers.d.ts +0 -2
- package/esm/models/containerGroupsMappers.d.ts.map +0 -1
- package/esm/models/containerGroupsMappers.js +0 -9
- package/esm/models/containerGroupsMappers.js.map +0 -1
- package/esm/models/containersMappers.d.ts +0 -2
- package/esm/models/containersMappers.d.ts.map +0 -1
- package/esm/models/containersMappers.js +0 -9
- package/esm/models/containersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1469
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationMappers.d.ts +0 -2
- package/esm/models/locationMappers.d.ts.map +0 -1
- package/esm/models/locationMappers.js +0 -9
- package/esm/models/locationMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -54
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/containerGroups.d.ts +0 -247
- package/esm/operations/containerGroups.d.ts.map +0 -1
- package/esm/operations/containerGroups.js +0 -455
- package/esm/operations/containerGroups.js.map +0 -1
- package/esm/operations/containers.d.ts +0 -94
- package/esm/operations/containers.d.ts.map +0 -1
- package/esm/operations/containers.js +0 -133
- package/esm/operations/containers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/location.d.ts +0 -107
- package/esm/operations/location.d.ts.map +0 -1
- package/esm/operations/location.js +0 -171
- package/esm/operations/location.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/src/containerInstanceManagementClientContext.ts +0 -68
- package/src/models/containerGroupsMappers.ts +0 -46
- package/src/models/locationMappers.ts +0 -19
package/src/models/index.ts
CHANGED
|
@@ -6,1565 +6,1084 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
/** The container group list response that contains the container group properties. */
|
|
12
|
+
export interface ContainerGroupListResult {
|
|
13
|
+
/** The list of container groups. */
|
|
14
|
+
value?: ContainerGroup[];
|
|
15
|
+
/** The URI to fetch the next page of container groups. */
|
|
16
|
+
nextLink?: string;
|
|
17
|
+
}
|
|
13
18
|
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
export interface ContainerPort {
|
|
19
|
+
/** Identity for the container group. */
|
|
20
|
+
export interface ContainerGroupIdentity {
|
|
18
21
|
/**
|
|
19
|
-
* The
|
|
22
|
+
* The principal id of the container group identity. This property will only be provided for a system assigned identity.
|
|
23
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
20
24
|
*/
|
|
21
|
-
|
|
25
|
+
readonly principalId?: string;
|
|
22
26
|
/**
|
|
23
|
-
* The
|
|
27
|
+
* The tenant id associated with the container group. This property will only be provided for a system assigned identity.
|
|
28
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
24
29
|
*/
|
|
25
|
-
|
|
30
|
+
readonly tenantId?: string;
|
|
31
|
+
/** The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group. */
|
|
32
|
+
type?: ResourceIdentityType;
|
|
33
|
+
/** The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */
|
|
34
|
+
userAssignedIdentities?: {
|
|
35
|
+
[propertyName: string]: Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties;
|
|
36
|
+
};
|
|
26
37
|
}
|
|
27
38
|
|
|
28
|
-
|
|
29
|
-
* The environment variable to set within the container instance.
|
|
30
|
-
*/
|
|
31
|
-
export interface EnvironmentVariable {
|
|
39
|
+
export interface Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties {
|
|
32
40
|
/**
|
|
33
|
-
* The
|
|
41
|
+
* The principal id of user assigned identity.
|
|
42
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
43
|
+
*/
|
|
44
|
+
readonly principalId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The client id of user assigned identity.
|
|
47
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
34
48
|
*/
|
|
49
|
+
readonly clientId?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/** A container instance. */
|
|
53
|
+
export interface Container {
|
|
54
|
+
/** The user-provided name of the container instance. */
|
|
35
55
|
name: string;
|
|
56
|
+
/** The name of the image used to create the container instance. */
|
|
57
|
+
image: string;
|
|
58
|
+
/** The commands to execute within the container instance in exec form. */
|
|
59
|
+
command?: string[];
|
|
60
|
+
/** The exposed ports on the container instance. */
|
|
61
|
+
ports?: ContainerPort[];
|
|
62
|
+
/** The environment variables to set in the container instance. */
|
|
63
|
+
environmentVariables?: EnvironmentVariable[];
|
|
36
64
|
/**
|
|
37
|
-
* The
|
|
65
|
+
* The instance view of the container instance. Only valid in response.
|
|
66
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
38
67
|
*/
|
|
68
|
+
readonly instanceView?: ContainerPropertiesInstanceView;
|
|
69
|
+
/** The resource requirements of the container instance. */
|
|
70
|
+
resources: ResourceRequirements;
|
|
71
|
+
/** The volume mounts available to the container instance. */
|
|
72
|
+
volumeMounts?: VolumeMount[];
|
|
73
|
+
/** The liveness probe. */
|
|
74
|
+
livenessProbe?: ContainerProbe;
|
|
75
|
+
/** The readiness probe. */
|
|
76
|
+
readinessProbe?: ContainerProbe;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/** The port exposed on the container instance. */
|
|
80
|
+
export interface ContainerPort {
|
|
81
|
+
/** The protocol associated with the port. */
|
|
82
|
+
protocol?: ContainerNetworkProtocol;
|
|
83
|
+
/** The port number exposed within the container group. */
|
|
84
|
+
port: number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** The environment variable to set within the container instance. */
|
|
88
|
+
export interface EnvironmentVariable {
|
|
89
|
+
/** The name of the environment variable. */
|
|
90
|
+
name: string;
|
|
91
|
+
/** The value of the environment variable. */
|
|
39
92
|
value?: string;
|
|
93
|
+
/** The value of the secure environment variable. */
|
|
94
|
+
secureValue?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/** The instance view of the container instance. Only valid in response. */
|
|
98
|
+
export interface ContainerPropertiesInstanceView {
|
|
40
99
|
/**
|
|
41
|
-
* The
|
|
100
|
+
* The number of times that the container instance has been restarted.
|
|
101
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
42
102
|
*/
|
|
43
|
-
|
|
103
|
+
readonly restartCount?: number;
|
|
104
|
+
/**
|
|
105
|
+
* Current container instance state.
|
|
106
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
107
|
+
*/
|
|
108
|
+
readonly currentState?: ContainerState;
|
|
109
|
+
/**
|
|
110
|
+
* Previous container instance state.
|
|
111
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
112
|
+
*/
|
|
113
|
+
readonly previousState?: ContainerState;
|
|
114
|
+
/**
|
|
115
|
+
* The events of the container instance.
|
|
116
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
117
|
+
*/
|
|
118
|
+
readonly events?: Event[];
|
|
44
119
|
}
|
|
45
120
|
|
|
46
|
-
/**
|
|
47
|
-
* The container instance state.
|
|
48
|
-
*/
|
|
121
|
+
/** The container instance state. */
|
|
49
122
|
export interface ContainerState {
|
|
50
123
|
/**
|
|
51
124
|
* The state of the container instance.
|
|
52
|
-
*
|
|
125
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
53
126
|
*/
|
|
54
127
|
readonly state?: string;
|
|
55
128
|
/**
|
|
56
129
|
* The date-time when the container instance state started.
|
|
57
|
-
*
|
|
130
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
58
131
|
*/
|
|
59
132
|
readonly startTime?: Date;
|
|
60
133
|
/**
|
|
61
134
|
* The container instance exit codes correspond to those from the `docker run` command.
|
|
62
|
-
*
|
|
135
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
63
136
|
*/
|
|
64
137
|
readonly exitCode?: number;
|
|
65
138
|
/**
|
|
66
139
|
* The date-time when the container instance state finished.
|
|
67
|
-
*
|
|
140
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
68
141
|
*/
|
|
69
142
|
readonly finishTime?: Date;
|
|
70
143
|
/**
|
|
71
144
|
* The human-readable status of the container instance state.
|
|
72
|
-
*
|
|
145
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
73
146
|
*/
|
|
74
147
|
readonly detailStatus?: string;
|
|
75
148
|
}
|
|
76
149
|
|
|
77
|
-
/**
|
|
78
|
-
* A container group or container instance event.
|
|
79
|
-
*/
|
|
150
|
+
/** A container group or container instance event. */
|
|
80
151
|
export interface Event {
|
|
81
152
|
/**
|
|
82
153
|
* The count of the event.
|
|
83
|
-
*
|
|
154
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
84
155
|
*/
|
|
85
156
|
readonly count?: number;
|
|
86
157
|
/**
|
|
87
158
|
* The date-time of the earliest logged event.
|
|
88
|
-
*
|
|
159
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
89
160
|
*/
|
|
90
161
|
readonly firstTimestamp?: Date;
|
|
91
162
|
/**
|
|
92
163
|
* The date-time of the latest logged event.
|
|
93
|
-
*
|
|
164
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
94
165
|
*/
|
|
95
166
|
readonly lastTimestamp?: Date;
|
|
96
167
|
/**
|
|
97
168
|
* The event name.
|
|
98
|
-
*
|
|
169
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
99
170
|
*/
|
|
100
171
|
readonly name?: string;
|
|
101
172
|
/**
|
|
102
173
|
* The event message.
|
|
103
|
-
*
|
|
174
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
104
175
|
*/
|
|
105
176
|
readonly message?: string;
|
|
106
177
|
/**
|
|
107
178
|
* The event type.
|
|
108
|
-
*
|
|
179
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
109
180
|
*/
|
|
110
181
|
readonly type?: string;
|
|
111
182
|
}
|
|
112
183
|
|
|
113
|
-
/**
|
|
114
|
-
|
|
115
|
-
*/
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
|
|
119
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
120
|
-
*/
|
|
121
|
-
readonly restartCount?: number;
|
|
122
|
-
/**
|
|
123
|
-
* Current container instance state.
|
|
124
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
125
|
-
*/
|
|
126
|
-
readonly currentState?: ContainerState;
|
|
127
|
-
/**
|
|
128
|
-
* Previous container instance state.
|
|
129
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
130
|
-
*/
|
|
131
|
-
readonly previousState?: ContainerState;
|
|
132
|
-
/**
|
|
133
|
-
* The events of the container instance.
|
|
134
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
135
|
-
*/
|
|
136
|
-
readonly events?: Event[];
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* The GPU resource.
|
|
141
|
-
*/
|
|
142
|
-
export interface GpuResource {
|
|
143
|
-
/**
|
|
144
|
-
* The count of the GPU resource.
|
|
145
|
-
*/
|
|
146
|
-
count: number;
|
|
147
|
-
/**
|
|
148
|
-
* The SKU of the GPU resource. Possible values include: 'K80', 'P100', 'V100'
|
|
149
|
-
*/
|
|
150
|
-
sku: GpuSku;
|
|
184
|
+
/** The resource requirements. */
|
|
185
|
+
export interface ResourceRequirements {
|
|
186
|
+
/** The resource requests of this container instance. */
|
|
187
|
+
requests: ResourceRequests;
|
|
188
|
+
/** The resource limits of this container instance. */
|
|
189
|
+
limits?: ResourceLimits;
|
|
151
190
|
}
|
|
152
191
|
|
|
153
|
-
/**
|
|
154
|
-
* The resource requests.
|
|
155
|
-
*/
|
|
192
|
+
/** The resource requests. */
|
|
156
193
|
export interface ResourceRequests {
|
|
157
|
-
/**
|
|
158
|
-
* The memory request in GB of this container instance.
|
|
159
|
-
*/
|
|
194
|
+
/** The memory request in GB of this container instance. */
|
|
160
195
|
memoryInGB: number;
|
|
161
|
-
/**
|
|
162
|
-
* The CPU request of this container instance.
|
|
163
|
-
*/
|
|
196
|
+
/** The CPU request of this container instance. */
|
|
164
197
|
cpu: number;
|
|
165
|
-
/**
|
|
166
|
-
* The GPU request of this container instance.
|
|
167
|
-
*/
|
|
198
|
+
/** The GPU request of this container instance. */
|
|
168
199
|
gpu?: GpuResource;
|
|
169
200
|
}
|
|
170
201
|
|
|
171
|
-
/**
|
|
172
|
-
|
|
173
|
-
*/
|
|
202
|
+
/** The GPU resource. */
|
|
203
|
+
export interface GpuResource {
|
|
204
|
+
/** The count of the GPU resource. */
|
|
205
|
+
count: number;
|
|
206
|
+
/** The SKU of the GPU resource. */
|
|
207
|
+
sku: GpuSku;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/** The resource limits. */
|
|
174
211
|
export interface ResourceLimits {
|
|
175
|
-
/**
|
|
176
|
-
* The memory limit in GB of this container instance.
|
|
177
|
-
*/
|
|
212
|
+
/** The memory limit in GB of this container instance. */
|
|
178
213
|
memoryInGB?: number;
|
|
179
|
-
/**
|
|
180
|
-
* The CPU limit of this container instance.
|
|
181
|
-
*/
|
|
214
|
+
/** The CPU limit of this container instance. */
|
|
182
215
|
cpu?: number;
|
|
183
|
-
/**
|
|
184
|
-
* The GPU limit of this container instance.
|
|
185
|
-
*/
|
|
216
|
+
/** The GPU limit of this container instance. */
|
|
186
217
|
gpu?: GpuResource;
|
|
187
218
|
}
|
|
188
219
|
|
|
189
|
-
/**
|
|
190
|
-
* The resource requirements.
|
|
191
|
-
*/
|
|
192
|
-
export interface ResourceRequirements {
|
|
193
|
-
/**
|
|
194
|
-
* The resource requests of this container instance.
|
|
195
|
-
*/
|
|
196
|
-
requests: ResourceRequests;
|
|
197
|
-
/**
|
|
198
|
-
* The resource limits of this container instance.
|
|
199
|
-
*/
|
|
200
|
-
limits?: ResourceLimits;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* The properties of the volume mount.
|
|
205
|
-
*/
|
|
220
|
+
/** The properties of the volume mount. */
|
|
206
221
|
export interface VolumeMount {
|
|
207
|
-
/**
|
|
208
|
-
* The name of the volume mount.
|
|
209
|
-
*/
|
|
222
|
+
/** The name of the volume mount. */
|
|
210
223
|
name: string;
|
|
211
|
-
/**
|
|
212
|
-
* The path within the container where the volume should be mounted. Must not contain colon (:).
|
|
213
|
-
*/
|
|
224
|
+
/** The path within the container where the volume should be mounted. Must not contain colon (:). */
|
|
214
225
|
mountPath: string;
|
|
215
|
-
/**
|
|
216
|
-
* The flag indicating whether the volume mount is read-only.
|
|
217
|
-
*/
|
|
226
|
+
/** The flag indicating whether the volume mount is read-only. */
|
|
218
227
|
readOnly?: boolean;
|
|
219
228
|
}
|
|
220
229
|
|
|
221
|
-
/**
|
|
222
|
-
* The container execution command, for liveness or readiness probe
|
|
223
|
-
*/
|
|
224
|
-
export interface ContainerExec {
|
|
225
|
-
/**
|
|
226
|
-
* The commands to execute within the container.
|
|
227
|
-
*/
|
|
228
|
-
command?: string[];
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* The HTTP headers.
|
|
233
|
-
*/
|
|
234
|
-
export interface HttpHeaders {
|
|
235
|
-
/**
|
|
236
|
-
* The header name.
|
|
237
|
-
*/
|
|
238
|
-
name?: string;
|
|
239
|
-
/**
|
|
240
|
-
* The header value.
|
|
241
|
-
*/
|
|
242
|
-
value?: string;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* The container Http Get settings, for liveness or readiness probe
|
|
247
|
-
*/
|
|
248
|
-
export interface ContainerHttpGet {
|
|
249
|
-
/**
|
|
250
|
-
* The path to probe.
|
|
251
|
-
*/
|
|
252
|
-
path?: string;
|
|
253
|
-
/**
|
|
254
|
-
* The port number to probe.
|
|
255
|
-
*/
|
|
256
|
-
port: number;
|
|
257
|
-
/**
|
|
258
|
-
* The scheme. Possible values include: 'http', 'https'
|
|
259
|
-
*/
|
|
260
|
-
scheme?: Scheme;
|
|
261
|
-
/**
|
|
262
|
-
* The HTTP headers.
|
|
263
|
-
*/
|
|
264
|
-
httpHeaders?: HttpHeaders;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* The container probe, for liveness or readiness
|
|
269
|
-
*/
|
|
230
|
+
/** The container probe, for liveness or readiness */
|
|
270
231
|
export interface ContainerProbe {
|
|
271
|
-
/**
|
|
272
|
-
* The execution command to probe
|
|
273
|
-
*/
|
|
232
|
+
/** The execution command to probe */
|
|
274
233
|
exec?: ContainerExec;
|
|
275
|
-
/**
|
|
276
|
-
* The Http Get settings to probe
|
|
277
|
-
*/
|
|
234
|
+
/** The Http Get settings to probe */
|
|
278
235
|
httpGet?: ContainerHttpGet;
|
|
279
|
-
/**
|
|
280
|
-
* The initial delay seconds.
|
|
281
|
-
*/
|
|
236
|
+
/** The initial delay seconds. */
|
|
282
237
|
initialDelaySeconds?: number;
|
|
283
|
-
/**
|
|
284
|
-
* The period seconds.
|
|
285
|
-
*/
|
|
238
|
+
/** The period seconds. */
|
|
286
239
|
periodSeconds?: number;
|
|
287
|
-
/**
|
|
288
|
-
* The failure threshold.
|
|
289
|
-
*/
|
|
240
|
+
/** The failure threshold. */
|
|
290
241
|
failureThreshold?: number;
|
|
291
|
-
/**
|
|
292
|
-
* The success threshold.
|
|
293
|
-
*/
|
|
242
|
+
/** The success threshold. */
|
|
294
243
|
successThreshold?: number;
|
|
295
|
-
/**
|
|
296
|
-
* The timeout seconds.
|
|
297
|
-
*/
|
|
244
|
+
/** The timeout seconds. */
|
|
298
245
|
timeoutSeconds?: number;
|
|
299
246
|
}
|
|
300
247
|
|
|
301
|
-
/**
|
|
302
|
-
|
|
303
|
-
*/
|
|
304
|
-
export interface Container {
|
|
305
|
-
/**
|
|
306
|
-
* The user-provided name of the container instance.
|
|
307
|
-
*/
|
|
308
|
-
name: string;
|
|
309
|
-
/**
|
|
310
|
-
* The name of the image used to create the container instance.
|
|
311
|
-
*/
|
|
312
|
-
image: string;
|
|
313
|
-
/**
|
|
314
|
-
* The commands to execute within the container instance in exec form.
|
|
315
|
-
*/
|
|
248
|
+
/** The container execution command, for liveness or readiness probe */
|
|
249
|
+
export interface ContainerExec {
|
|
250
|
+
/** The commands to execute within the container. */
|
|
316
251
|
command?: string[];
|
|
317
|
-
/**
|
|
318
|
-
* The exposed ports on the container instance.
|
|
319
|
-
*/
|
|
320
|
-
ports?: ContainerPort[];
|
|
321
|
-
/**
|
|
322
|
-
* The environment variables to set in the container instance.
|
|
323
|
-
*/
|
|
324
|
-
environmentVariables?: EnvironmentVariable[];
|
|
325
|
-
/**
|
|
326
|
-
* The instance view of the container instance. Only valid in response.
|
|
327
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
328
|
-
*/
|
|
329
|
-
readonly instanceView?: ContainerPropertiesInstanceView;
|
|
330
|
-
/**
|
|
331
|
-
* The resource requirements of the container instance.
|
|
332
|
-
*/
|
|
333
|
-
resources: ResourceRequirements;
|
|
334
|
-
/**
|
|
335
|
-
* The volume mounts available to the container instance.
|
|
336
|
-
*/
|
|
337
|
-
volumeMounts?: VolumeMount[];
|
|
338
|
-
/**
|
|
339
|
-
* The liveness probe.
|
|
340
|
-
*/
|
|
341
|
-
livenessProbe?: ContainerProbe;
|
|
342
|
-
/**
|
|
343
|
-
* The readiness probe.
|
|
344
|
-
*/
|
|
345
|
-
readinessProbe?: ContainerProbe;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* The properties of the Azure File volume. Azure File shares are mounted as volumes.
|
|
350
|
-
*/
|
|
351
|
-
export interface AzureFileVolume {
|
|
352
|
-
/**
|
|
353
|
-
* The name of the Azure File share to be mounted as a volume.
|
|
354
|
-
*/
|
|
355
|
-
shareName: string;
|
|
356
|
-
/**
|
|
357
|
-
* The flag indicating whether the Azure File shared mounted as a volume is read-only.
|
|
358
|
-
*/
|
|
359
|
-
readOnly?: boolean;
|
|
360
|
-
/**
|
|
361
|
-
* The name of the storage account that contains the Azure File share.
|
|
362
|
-
*/
|
|
363
|
-
storageAccountName: string;
|
|
364
|
-
/**
|
|
365
|
-
* The storage account access key used to access the Azure File share.
|
|
366
|
-
*/
|
|
367
|
-
storageAccountKey?: string;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* Represents a volume that is populated with the contents of a git repository
|
|
372
|
-
*/
|
|
373
|
-
export interface GitRepoVolume {
|
|
374
|
-
/**
|
|
375
|
-
* Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume
|
|
376
|
-
* directory will be the git repository. Otherwise, if specified, the volume will contain the
|
|
377
|
-
* git repository in the subdirectory with the given name.
|
|
378
|
-
*/
|
|
379
|
-
directory?: string;
|
|
380
|
-
/**
|
|
381
|
-
* Repository URL
|
|
382
|
-
*/
|
|
383
|
-
repository: string;
|
|
384
|
-
/**
|
|
385
|
-
* Commit hash for the specified revision.
|
|
386
|
-
*/
|
|
387
|
-
revision?: string;
|
|
388
252
|
}
|
|
389
253
|
|
|
390
|
-
/**
|
|
391
|
-
|
|
392
|
-
*/
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
|
|
400
|
-
*/
|
|
401
|
-
azureFile?: AzureFileVolume;
|
|
402
|
-
/**
|
|
403
|
-
* The empty directory volume.
|
|
404
|
-
*/
|
|
405
|
-
emptyDir?: any;
|
|
406
|
-
/**
|
|
407
|
-
* The secret volume.
|
|
408
|
-
*/
|
|
409
|
-
secret?: { [propertyName: string]: string };
|
|
410
|
-
/**
|
|
411
|
-
* The git repo volume.
|
|
412
|
-
*/
|
|
413
|
-
gitRepo?: GitRepoVolume;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* An interface representing ContainerGroupIdentityUserAssignedIdentitiesValue.
|
|
418
|
-
*/
|
|
419
|
-
export interface ContainerGroupIdentityUserAssignedIdentitiesValue {
|
|
420
|
-
/**
|
|
421
|
-
* The principal id of user assigned identity.
|
|
422
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
423
|
-
*/
|
|
424
|
-
readonly principalId?: string;
|
|
425
|
-
/**
|
|
426
|
-
* The client id of user assigned identity.
|
|
427
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
428
|
-
*/
|
|
429
|
-
readonly clientId?: string;
|
|
254
|
+
/** The container Http Get settings, for liveness or readiness probe */
|
|
255
|
+
export interface ContainerHttpGet {
|
|
256
|
+
/** The path to probe. */
|
|
257
|
+
path?: string;
|
|
258
|
+
/** The port number to probe. */
|
|
259
|
+
port: number;
|
|
260
|
+
/** The scheme. */
|
|
261
|
+
scheme?: Scheme;
|
|
262
|
+
/** The HTTP headers. */
|
|
263
|
+
httpHeaders?: HttpHeader[];
|
|
430
264
|
}
|
|
431
265
|
|
|
432
|
-
/**
|
|
433
|
-
|
|
434
|
-
*/
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
|
|
438
|
-
* system assigned identity.
|
|
439
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
440
|
-
*/
|
|
441
|
-
readonly principalId?: string;
|
|
442
|
-
/**
|
|
443
|
-
* The tenant id associated with the container group. This property will only be provided for a
|
|
444
|
-
* system assigned identity.
|
|
445
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
446
|
-
*/
|
|
447
|
-
readonly tenantId?: string;
|
|
448
|
-
/**
|
|
449
|
-
* The type of identity used for the container group. The type 'SystemAssigned, UserAssigned'
|
|
450
|
-
* includes both an implicitly created identity and a set of user assigned identities. The type
|
|
451
|
-
* 'None' will remove any identities from the container group. Possible values include:
|
|
452
|
-
* 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
|
|
453
|
-
*/
|
|
454
|
-
type?: ResourceIdentityType;
|
|
455
|
-
/**
|
|
456
|
-
* The list of user identities associated with the container group. The user identity dictionary
|
|
457
|
-
* key references will be ARM resource ids in the form:
|
|
458
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
|
|
459
|
-
*/
|
|
460
|
-
userAssignedIdentities?: { [propertyName: string]: ContainerGroupIdentityUserAssignedIdentitiesValue };
|
|
266
|
+
/** The HTTP header. */
|
|
267
|
+
export interface HttpHeader {
|
|
268
|
+
/** The header name. */
|
|
269
|
+
name?: string;
|
|
270
|
+
/** The header value. */
|
|
271
|
+
value?: string;
|
|
461
272
|
}
|
|
462
273
|
|
|
463
|
-
/**
|
|
464
|
-
* Image registry credential.
|
|
465
|
-
*/
|
|
274
|
+
/** Image registry credential. */
|
|
466
275
|
export interface ImageRegistryCredential {
|
|
467
|
-
/**
|
|
468
|
-
* The Docker image registry server without a protocol such as "http" and "https".
|
|
469
|
-
*/
|
|
276
|
+
/** The Docker image registry server without a protocol such as "http" and "https". */
|
|
470
277
|
server: string;
|
|
471
|
-
/**
|
|
472
|
-
* The username for the private registry.
|
|
473
|
-
*/
|
|
278
|
+
/** The username for the private registry. */
|
|
474
279
|
username: string;
|
|
475
|
-
/**
|
|
476
|
-
* The password for the private registry.
|
|
477
|
-
*/
|
|
280
|
+
/** The password for the private registry. */
|
|
478
281
|
password?: string;
|
|
282
|
+
/** The identity for the private registry. */
|
|
283
|
+
identity?: string;
|
|
284
|
+
/** The identity URL for the private registry. */
|
|
285
|
+
identityUrl?: string;
|
|
479
286
|
}
|
|
480
287
|
|
|
481
|
-
/**
|
|
482
|
-
* The port exposed on the container group.
|
|
483
|
-
*/
|
|
484
|
-
export interface Port {
|
|
485
|
-
/**
|
|
486
|
-
* The protocol associated with the port. Possible values include: 'TCP', 'UDP'
|
|
487
|
-
*/
|
|
488
|
-
protocol?: ContainerGroupNetworkProtocol;
|
|
489
|
-
/**
|
|
490
|
-
* The port number.
|
|
491
|
-
*/
|
|
492
|
-
port: number;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* IP address for the container group.
|
|
497
|
-
*/
|
|
288
|
+
/** IP address for the container group. */
|
|
498
289
|
export interface IpAddress {
|
|
499
|
-
/**
|
|
500
|
-
* The list of ports exposed on the container group.
|
|
501
|
-
*/
|
|
290
|
+
/** The list of ports exposed on the container group. */
|
|
502
291
|
ports: Port[];
|
|
503
|
-
/**
|
|
504
|
-
* Specifies if the IP is exposed to the public internet or private VNET. Possible values
|
|
505
|
-
* include: 'Public', 'Private'
|
|
506
|
-
*/
|
|
292
|
+
/** Specifies if the IP is exposed to the public internet or private VNET. */
|
|
507
293
|
type: ContainerGroupIpAddressType;
|
|
508
|
-
/**
|
|
509
|
-
* The IP exposed to the public internet.
|
|
510
|
-
*/
|
|
294
|
+
/** The IP exposed to the public internet. */
|
|
511
295
|
ip?: string;
|
|
512
|
-
/**
|
|
513
|
-
* The Dns name label for the IP.
|
|
514
|
-
*/
|
|
296
|
+
/** The Dns name label for the IP. */
|
|
515
297
|
dnsNameLabel?: string;
|
|
516
298
|
/**
|
|
517
299
|
* The FQDN for the IP.
|
|
518
|
-
*
|
|
300
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
519
301
|
*/
|
|
520
302
|
readonly fqdn?: string;
|
|
521
303
|
}
|
|
522
304
|
|
|
523
|
-
/**
|
|
524
|
-
|
|
525
|
-
*/
|
|
305
|
+
/** The port exposed on the container group. */
|
|
306
|
+
export interface Port {
|
|
307
|
+
/** The protocol associated with the port. */
|
|
308
|
+
protocol?: ContainerGroupNetworkProtocol;
|
|
309
|
+
/** The port number. */
|
|
310
|
+
port: number;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/** The properties of the volume. */
|
|
314
|
+
export interface Volume {
|
|
315
|
+
/** The name of the volume. */
|
|
316
|
+
name: string;
|
|
317
|
+
/** The Azure File volume. */
|
|
318
|
+
azureFile?: AzureFileVolume;
|
|
319
|
+
/** The empty directory volume. */
|
|
320
|
+
emptyDir?: Record<string, unknown>;
|
|
321
|
+
/** The secret volume. */
|
|
322
|
+
secret?: { [propertyName: string]: string };
|
|
323
|
+
/** The git repo volume. */
|
|
324
|
+
gitRepo?: GitRepoVolume;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/** The properties of the Azure File volume. Azure File shares are mounted as volumes. */
|
|
328
|
+
export interface AzureFileVolume {
|
|
329
|
+
/** The name of the Azure File share to be mounted as a volume. */
|
|
330
|
+
shareName: string;
|
|
331
|
+
/** The flag indicating whether the Azure File shared mounted as a volume is read-only. */
|
|
332
|
+
readOnly?: boolean;
|
|
333
|
+
/** The name of the storage account that contains the Azure File share. */
|
|
334
|
+
storageAccountName: string;
|
|
335
|
+
/** The storage account access key used to access the Azure File share. */
|
|
336
|
+
storageAccountKey?: string;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/** Represents a volume that is populated with the contents of a git repository */
|
|
340
|
+
export interface GitRepoVolume {
|
|
341
|
+
/** Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. */
|
|
342
|
+
directory?: string;
|
|
343
|
+
/** Repository URL */
|
|
344
|
+
repository: string;
|
|
345
|
+
/** Commit hash for the specified revision. */
|
|
346
|
+
revision?: string;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/** The instance view of the container group. Only valid in response. */
|
|
526
350
|
export interface ContainerGroupPropertiesInstanceView {
|
|
527
351
|
/**
|
|
528
352
|
* The events of this container group.
|
|
529
|
-
*
|
|
353
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
530
354
|
*/
|
|
531
355
|
readonly events?: Event[];
|
|
532
356
|
/**
|
|
533
357
|
* The state of the container group. Only valid in response.
|
|
534
|
-
*
|
|
358
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
535
359
|
*/
|
|
536
360
|
readonly state?: string;
|
|
537
361
|
}
|
|
538
362
|
|
|
539
|
-
/**
|
|
540
|
-
|
|
541
|
-
*/
|
|
363
|
+
/** Container group diagnostic information. */
|
|
364
|
+
export interface ContainerGroupDiagnostics {
|
|
365
|
+
/** Container group log analytics information. */
|
|
366
|
+
logAnalytics?: LogAnalytics;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/** Container group log analytics information. */
|
|
542
370
|
export interface LogAnalytics {
|
|
543
|
-
/**
|
|
544
|
-
* The workspace id for log analytics
|
|
545
|
-
*/
|
|
371
|
+
/** The workspace id for log analytics */
|
|
546
372
|
workspaceId: string;
|
|
547
|
-
/**
|
|
548
|
-
* The workspace key for log analytics
|
|
549
|
-
*/
|
|
373
|
+
/** The workspace key for log analytics */
|
|
550
374
|
workspaceKey: string;
|
|
551
|
-
/**
|
|
552
|
-
* The log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'
|
|
553
|
-
*/
|
|
375
|
+
/** The log type to be used. */
|
|
554
376
|
logType?: LogAnalyticsLogType;
|
|
555
|
-
/**
|
|
556
|
-
* Metadata for log analytics.
|
|
557
|
-
*/
|
|
377
|
+
/** Metadata for log analytics. */
|
|
558
378
|
metadata?: { [propertyName: string]: string };
|
|
559
|
-
/**
|
|
560
|
-
|
|
561
|
-
*/
|
|
562
|
-
workspaceResourceId?: { [propertyName: string]: string };
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* Container group diagnostic information.
|
|
567
|
-
*/
|
|
568
|
-
export interface ContainerGroupDiagnostics {
|
|
569
|
-
/**
|
|
570
|
-
* Container group log analytics information.
|
|
571
|
-
*/
|
|
572
|
-
logAnalytics?: LogAnalytics;
|
|
379
|
+
/** The workspace resource id for log analytics */
|
|
380
|
+
workspaceResourceId?: string;
|
|
573
381
|
}
|
|
574
382
|
|
|
575
|
-
/**
|
|
576
|
-
|
|
577
|
-
*/
|
|
578
|
-
export interface ContainerGroupNetworkProfile {
|
|
579
|
-
/**
|
|
580
|
-
* The identifier for a network profile.
|
|
581
|
-
*/
|
|
383
|
+
/** Container group subnet information. */
|
|
384
|
+
export interface ContainerGroupSubnetId {
|
|
385
|
+
/** Resource ID of virtual network and subnet. */
|
|
582
386
|
id: string;
|
|
387
|
+
/** Friendly name for the subnet. */
|
|
388
|
+
name?: string;
|
|
583
389
|
}
|
|
584
390
|
|
|
585
|
-
/**
|
|
586
|
-
* DNS configuration for the container group.
|
|
587
|
-
*/
|
|
391
|
+
/** DNS configuration for the container group. */
|
|
588
392
|
export interface DnsConfiguration {
|
|
589
|
-
/**
|
|
590
|
-
* The DNS servers for the container group.
|
|
591
|
-
*/
|
|
393
|
+
/** The DNS servers for the container group. */
|
|
592
394
|
nameServers: string[];
|
|
593
|
-
/**
|
|
594
|
-
* The DNS search domains for hostname lookup in the container group.
|
|
595
|
-
*/
|
|
395
|
+
/** The DNS search domains for hostname lookup in the container group. */
|
|
596
396
|
searchDomains?: string;
|
|
597
|
-
/**
|
|
598
|
-
* The DNS options for the container group.
|
|
599
|
-
*/
|
|
397
|
+
/** The DNS options for the container group. */
|
|
600
398
|
options?: string;
|
|
601
399
|
}
|
|
602
400
|
|
|
603
|
-
/**
|
|
604
|
-
* The container group encryption properties.
|
|
605
|
-
*/
|
|
401
|
+
/** The container group encryption properties. */
|
|
606
402
|
export interface EncryptionProperties {
|
|
607
|
-
/**
|
|
608
|
-
* The keyvault base url.
|
|
609
|
-
*/
|
|
403
|
+
/** The keyvault base url. */
|
|
610
404
|
vaultBaseUrl: string;
|
|
611
|
-
/**
|
|
612
|
-
* The encryption key name.
|
|
613
|
-
*/
|
|
405
|
+
/** The encryption key name. */
|
|
614
406
|
keyName: string;
|
|
407
|
+
/** The encryption key version. */
|
|
408
|
+
keyVersion: string;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/** The init container definition. */
|
|
412
|
+
export interface InitContainerDefinition {
|
|
413
|
+
/** The name for the init container. */
|
|
414
|
+
name: string;
|
|
415
|
+
/** The image of the init container. */
|
|
416
|
+
image?: string;
|
|
417
|
+
/** The command to execute within the init container in exec form. */
|
|
418
|
+
command?: string[];
|
|
419
|
+
/** The environment variables to set in the init container. */
|
|
420
|
+
environmentVariables?: EnvironmentVariable[];
|
|
615
421
|
/**
|
|
616
|
-
* The
|
|
422
|
+
* The instance view of the init container. Only valid in response.
|
|
423
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
617
424
|
*/
|
|
618
|
-
|
|
425
|
+
readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
|
|
426
|
+
/** The volume mounts available to the init container. */
|
|
427
|
+
volumeMounts?: VolumeMount[];
|
|
619
428
|
}
|
|
620
429
|
|
|
621
|
-
/**
|
|
622
|
-
* The instance view of the init container. Only valid in response.
|
|
623
|
-
*/
|
|
430
|
+
/** The instance view of the init container. Only valid in response. */
|
|
624
431
|
export interface InitContainerPropertiesDefinitionInstanceView {
|
|
625
432
|
/**
|
|
626
433
|
* The number of times that the init container has been restarted.
|
|
627
|
-
*
|
|
434
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
628
435
|
*/
|
|
629
436
|
readonly restartCount?: number;
|
|
630
437
|
/**
|
|
631
438
|
* The current state of the init container.
|
|
632
|
-
*
|
|
439
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
633
440
|
*/
|
|
634
441
|
readonly currentState?: ContainerState;
|
|
635
442
|
/**
|
|
636
443
|
* The previous state of the init container.
|
|
637
|
-
*
|
|
444
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
638
445
|
*/
|
|
639
446
|
readonly previousState?: ContainerState;
|
|
640
447
|
/**
|
|
641
448
|
* The events of the init container.
|
|
642
|
-
*
|
|
449
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
643
450
|
*/
|
|
644
451
|
readonly events?: Event[];
|
|
645
452
|
}
|
|
646
453
|
|
|
647
|
-
/**
|
|
648
|
-
|
|
649
|
-
*/
|
|
650
|
-
export interface InitContainerDefinition {
|
|
651
|
-
/**
|
|
652
|
-
* The name for the init container.
|
|
653
|
-
*/
|
|
654
|
-
name: string;
|
|
655
|
-
/**
|
|
656
|
-
* The image of the init container.
|
|
657
|
-
*/
|
|
658
|
-
image?: string;
|
|
659
|
-
/**
|
|
660
|
-
* The command to execute within the init container in exec form.
|
|
661
|
-
*/
|
|
662
|
-
command?: string[];
|
|
663
|
-
/**
|
|
664
|
-
* The environment variables to set in the init container.
|
|
665
|
-
*/
|
|
666
|
-
environmentVariables?: EnvironmentVariable[];
|
|
667
|
-
/**
|
|
668
|
-
* The instance view of the init container. Only valid in response.
|
|
669
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
670
|
-
*/
|
|
671
|
-
readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
|
|
672
|
-
/**
|
|
673
|
-
* The volume mounts available to the init container.
|
|
674
|
-
*/
|
|
675
|
-
volumeMounts?: VolumeMount[];
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* The Resource model definition.
|
|
680
|
-
*/
|
|
681
|
-
export interface Resource extends BaseResource {
|
|
454
|
+
/** The Resource model definition. */
|
|
455
|
+
export interface Resource {
|
|
682
456
|
/**
|
|
683
457
|
* The resource id.
|
|
684
|
-
*
|
|
458
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
685
459
|
*/
|
|
686
460
|
readonly id?: string;
|
|
687
461
|
/**
|
|
688
462
|
* The resource name.
|
|
689
|
-
*
|
|
463
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
690
464
|
*/
|
|
691
465
|
readonly name?: string;
|
|
692
466
|
/**
|
|
693
467
|
* The resource type.
|
|
694
|
-
*
|
|
468
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
695
469
|
*/
|
|
696
470
|
readonly type?: string;
|
|
697
|
-
/**
|
|
698
|
-
* The resource location.
|
|
699
|
-
*/
|
|
471
|
+
/** The resource location. */
|
|
700
472
|
location?: string;
|
|
701
|
-
/**
|
|
702
|
-
* The resource tags.
|
|
703
|
-
*/
|
|
473
|
+
/** The resource tags. */
|
|
704
474
|
tags?: { [propertyName: string]: string };
|
|
475
|
+
/** The zones for the container group. */
|
|
476
|
+
zones?: string[];
|
|
705
477
|
}
|
|
706
478
|
|
|
707
|
-
/**
|
|
708
|
-
|
|
709
|
-
*/
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* The identity of the container group, if configured.
|
|
713
|
-
*/
|
|
714
|
-
identity?: ContainerGroupIdentity;
|
|
715
|
-
/**
|
|
716
|
-
* The provisioning state of the container group. This only appears in the response.
|
|
717
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
718
|
-
*/
|
|
719
|
-
readonly provisioningState?: string;
|
|
720
|
-
/**
|
|
721
|
-
* The containers within the container group.
|
|
722
|
-
*/
|
|
723
|
-
containers: Container[];
|
|
724
|
-
/**
|
|
725
|
-
* The image registry credentials by which the container group is created from.
|
|
726
|
-
*/
|
|
727
|
-
imageRegistryCredentials?: ImageRegistryCredential[];
|
|
728
|
-
/**
|
|
729
|
-
* Restart policy for all containers within the container group.
|
|
730
|
-
* - `Always` Always restart
|
|
731
|
-
* - `OnFailure` Restart on failure
|
|
732
|
-
* - `Never` Never restart
|
|
733
|
-
* . Possible values include: 'Always', 'OnFailure', 'Never'
|
|
734
|
-
*/
|
|
735
|
-
restartPolicy?: ContainerGroupRestartPolicy;
|
|
736
|
-
/**
|
|
737
|
-
* The IP address type of the container group.
|
|
738
|
-
*/
|
|
739
|
-
ipAddress?: IpAddress;
|
|
740
|
-
/**
|
|
741
|
-
* The operating system type required by the containers in the container group. Possible values
|
|
742
|
-
* include: 'Windows', 'Linux'
|
|
743
|
-
*/
|
|
744
|
-
osType: OperatingSystemTypes;
|
|
745
|
-
/**
|
|
746
|
-
* The list of volumes that can be mounted by containers in this container group.
|
|
747
|
-
*/
|
|
748
|
-
volumes?: Volume[];
|
|
749
|
-
/**
|
|
750
|
-
* The instance view of the container group. Only valid in response.
|
|
751
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
752
|
-
*/
|
|
753
|
-
readonly instanceView?: ContainerGroupPropertiesInstanceView;
|
|
754
|
-
/**
|
|
755
|
-
* The diagnostic information for a container group.
|
|
756
|
-
*/
|
|
757
|
-
diagnostics?: ContainerGroupDiagnostics;
|
|
758
|
-
/**
|
|
759
|
-
* The network profile information for a container group.
|
|
760
|
-
*/
|
|
761
|
-
networkProfile?: ContainerGroupNetworkProfile;
|
|
762
|
-
/**
|
|
763
|
-
* The DNS config information for a container group.
|
|
764
|
-
*/
|
|
765
|
-
dnsConfig?: DnsConfiguration;
|
|
766
|
-
/**
|
|
767
|
-
* The SKU for a container group. Possible values include: 'Standard', 'Dedicated'
|
|
768
|
-
*/
|
|
769
|
-
sku?: ContainerGroupSku;
|
|
770
|
-
/**
|
|
771
|
-
* The encryption properties for a container group.
|
|
772
|
-
*/
|
|
773
|
-
encryptionProperties?: EncryptionProperties;
|
|
774
|
-
/**
|
|
775
|
-
* The init containers for a container group.
|
|
776
|
-
*/
|
|
777
|
-
initContainers?: InitContainerDefinition[];
|
|
479
|
+
/** An error response from the Container Instance service. */
|
|
480
|
+
export interface CloudError {
|
|
481
|
+
/** An error response from the Container Instance service. */
|
|
482
|
+
error?: CloudErrorBody;
|
|
778
483
|
}
|
|
779
484
|
|
|
780
|
-
/**
|
|
781
|
-
|
|
782
|
-
*/
|
|
783
|
-
|
|
784
|
-
/**
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
|
|
790
|
-
*/
|
|
791
|
-
resource?: string;
|
|
792
|
-
/**
|
|
793
|
-
* The friendly name of the operation.
|
|
794
|
-
*/
|
|
795
|
-
operation?: string;
|
|
796
|
-
/**
|
|
797
|
-
* The description of the operation.
|
|
798
|
-
*/
|
|
799
|
-
description?: string;
|
|
485
|
+
/** An error response from the Container Instance service. */
|
|
486
|
+
export interface CloudErrorBody {
|
|
487
|
+
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
|
|
488
|
+
code?: string;
|
|
489
|
+
/** A message describing the error, intended to be suitable for display in a user interface. */
|
|
490
|
+
message?: string;
|
|
491
|
+
/** The target of the particular error. For example, the name of the property in error. */
|
|
492
|
+
target?: string;
|
|
493
|
+
/** A list of additional details about the error. */
|
|
494
|
+
details?: CloudErrorBody[];
|
|
800
495
|
}
|
|
801
496
|
|
|
802
|
-
/**
|
|
803
|
-
|
|
804
|
-
*/
|
|
497
|
+
/** The operation list response that contains all operations for Azure Container Instance service. */
|
|
498
|
+
export interface OperationListResult {
|
|
499
|
+
/** The list of operations. */
|
|
500
|
+
value?: Operation[];
|
|
501
|
+
/** The URI to fetch the next page of operations. */
|
|
502
|
+
nextLink?: string;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/** An operation for Azure Container Instance service. */
|
|
805
506
|
export interface Operation {
|
|
806
|
-
/**
|
|
807
|
-
* The name of the operation.
|
|
808
|
-
*/
|
|
507
|
+
/** The name of the operation. */
|
|
809
508
|
name: string;
|
|
810
|
-
/**
|
|
811
|
-
* The display information of the operation.
|
|
812
|
-
*/
|
|
509
|
+
/** The display information of the operation. */
|
|
813
510
|
display: OperationDisplay;
|
|
814
|
-
/**
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
properties?: any;
|
|
818
|
-
/**
|
|
819
|
-
* The intended executor of the operation. Possible values include: 'User', 'System'
|
|
820
|
-
*/
|
|
511
|
+
/** The additional properties. */
|
|
512
|
+
properties?: Record<string, unknown>;
|
|
513
|
+
/** The intended executor of the operation. */
|
|
821
514
|
origin?: ContainerInstanceOperationsOrigin;
|
|
822
515
|
}
|
|
823
516
|
|
|
824
|
-
/**
|
|
825
|
-
|
|
826
|
-
*/
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
517
|
+
/** The display information of the operation. */
|
|
518
|
+
export interface OperationDisplay {
|
|
519
|
+
/** The name of the provider of the operation. */
|
|
520
|
+
provider?: string;
|
|
521
|
+
/** The name of the resource type of the operation. */
|
|
522
|
+
resource?: string;
|
|
523
|
+
/** The friendly name of the operation. */
|
|
524
|
+
operation?: string;
|
|
525
|
+
/** The description of the operation. */
|
|
526
|
+
description?: string;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/** The response containing the usage data */
|
|
530
|
+
export interface UsageListResult {
|
|
833
531
|
/**
|
|
834
|
-
* The
|
|
835
|
-
*
|
|
532
|
+
* The usage data.
|
|
533
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
836
534
|
*/
|
|
837
|
-
readonly
|
|
535
|
+
readonly value?: Usage[];
|
|
838
536
|
}
|
|
839
537
|
|
|
840
|
-
/**
|
|
841
|
-
* A single usage result
|
|
842
|
-
*/
|
|
538
|
+
/** A single usage result */
|
|
843
539
|
export interface Usage {
|
|
844
540
|
/**
|
|
845
541
|
* Unit of the usage result
|
|
846
|
-
*
|
|
542
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
847
543
|
*/
|
|
848
544
|
readonly unit?: string;
|
|
849
545
|
/**
|
|
850
546
|
* The current usage of the resource
|
|
851
|
-
*
|
|
547
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
852
548
|
*/
|
|
853
549
|
readonly currentValue?: number;
|
|
854
550
|
/**
|
|
855
551
|
* The maximum permitted usage of the resource.
|
|
856
|
-
*
|
|
552
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
857
553
|
*/
|
|
858
554
|
readonly limit?: number;
|
|
859
555
|
/**
|
|
860
556
|
* The name object of the resource
|
|
861
|
-
*
|
|
557
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
862
558
|
*/
|
|
863
559
|
readonly name?: UsageName;
|
|
864
560
|
}
|
|
865
561
|
|
|
866
|
-
/**
|
|
867
|
-
|
|
868
|
-
*/
|
|
869
|
-
export interface Logs {
|
|
870
|
-
/**
|
|
871
|
-
* The content of the log.
|
|
872
|
-
*/
|
|
873
|
-
content?: string;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* The size of the terminal.
|
|
878
|
-
*/
|
|
879
|
-
export interface ContainerExecRequestTerminalSize {
|
|
562
|
+
/** The name object of the resource */
|
|
563
|
+
export interface UsageName {
|
|
880
564
|
/**
|
|
881
|
-
* The
|
|
565
|
+
* The name of the resource
|
|
566
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
882
567
|
*/
|
|
883
|
-
|
|
568
|
+
readonly value?: string;
|
|
884
569
|
/**
|
|
885
|
-
* The
|
|
570
|
+
* The localized name of the resource
|
|
571
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
886
572
|
*/
|
|
887
|
-
|
|
573
|
+
readonly localizedValue?: string;
|
|
888
574
|
}
|
|
889
575
|
|
|
890
|
-
/**
|
|
891
|
-
|
|
892
|
-
*/
|
|
576
|
+
/** The logs. */
|
|
577
|
+
export interface Logs {
|
|
578
|
+
/** The content of the log. */
|
|
579
|
+
content?: string;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/** The container exec request. */
|
|
893
583
|
export interface ContainerExecRequest {
|
|
894
|
-
/**
|
|
895
|
-
* The command to be executed.
|
|
896
|
-
*/
|
|
584
|
+
/** The command to be executed. */
|
|
897
585
|
command?: string;
|
|
898
|
-
/**
|
|
899
|
-
* The size of the terminal.
|
|
900
|
-
*/
|
|
586
|
+
/** The size of the terminal. */
|
|
901
587
|
terminalSize?: ContainerExecRequestTerminalSize;
|
|
902
588
|
}
|
|
903
589
|
|
|
904
|
-
/**
|
|
905
|
-
|
|
906
|
-
*/
|
|
590
|
+
/** The size of the terminal. */
|
|
591
|
+
export interface ContainerExecRequestTerminalSize {
|
|
592
|
+
/** The row size of the terminal */
|
|
593
|
+
rows?: number;
|
|
594
|
+
/** The column size of the terminal */
|
|
595
|
+
cols?: number;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/** The information for the container exec command. */
|
|
907
599
|
export interface ContainerExecResponse {
|
|
908
|
-
/**
|
|
909
|
-
* The uri for the exec websocket.
|
|
910
|
-
*/
|
|
600
|
+
/** The uri for the exec websocket. */
|
|
911
601
|
webSocketUri?: string;
|
|
912
|
-
/**
|
|
913
|
-
* The password to start the exec command.
|
|
914
|
-
*/
|
|
602
|
+
/** The password to start the exec command. */
|
|
915
603
|
password?: string;
|
|
916
604
|
}
|
|
917
605
|
|
|
918
|
-
/**
|
|
919
|
-
* The information for the output stream from container attach.
|
|
920
|
-
*/
|
|
606
|
+
/** The information for the output stream from container attach. */
|
|
921
607
|
export interface ContainerAttachResponse {
|
|
922
|
-
/**
|
|
923
|
-
* The uri for the output stream from the attach.
|
|
924
|
-
*/
|
|
608
|
+
/** The uri for the output stream from the attach. */
|
|
925
609
|
webSocketUri?: string;
|
|
926
|
-
/**
|
|
927
|
-
* The password to the output stream from the attach. Send as an Authorization header value when
|
|
928
|
-
* connecting to the websocketUri.
|
|
929
|
-
*/
|
|
610
|
+
/** The password to the output stream from the attach. Send as an Authorization header value when connecting to the websocketUri. */
|
|
930
611
|
password?: string;
|
|
931
612
|
}
|
|
932
613
|
|
|
933
|
-
/**
|
|
934
|
-
|
|
935
|
-
*/
|
|
614
|
+
/** The response containing cached images. */
|
|
615
|
+
export interface CachedImagesListResult {
|
|
616
|
+
/** The list of cached images. */
|
|
617
|
+
value?: CachedImages[];
|
|
618
|
+
/** The URI to fetch the next page of cached images. */
|
|
619
|
+
nextLink?: string;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/** The cached image and OS type. */
|
|
936
623
|
export interface CachedImages {
|
|
937
|
-
/**
|
|
938
|
-
* The OS type of the cached image.
|
|
939
|
-
*/
|
|
624
|
+
/** The OS type of the cached image. */
|
|
940
625
|
osType: string;
|
|
941
|
-
/**
|
|
942
|
-
* The cached image name.
|
|
943
|
-
*/
|
|
626
|
+
/** The cached image name. */
|
|
944
627
|
image: string;
|
|
945
628
|
}
|
|
946
629
|
|
|
947
|
-
/**
|
|
948
|
-
|
|
949
|
-
*/
|
|
950
|
-
|
|
951
|
-
/**
|
|
952
|
-
|
|
953
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
954
|
-
*/
|
|
955
|
-
readonly maxMemoryInGB?: number;
|
|
956
|
-
/**
|
|
957
|
-
* The maximum allowed CPU request in cores.
|
|
958
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
959
|
-
*/
|
|
960
|
-
readonly maxCpu?: number;
|
|
961
|
-
/**
|
|
962
|
-
* The maximum allowed GPU count.
|
|
963
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
964
|
-
*/
|
|
965
|
-
readonly maxGpuCount?: number;
|
|
630
|
+
/** The response containing list of capabilities. */
|
|
631
|
+
export interface CapabilitiesListResult {
|
|
632
|
+
/** The list of capabilities. */
|
|
633
|
+
value?: Capabilities[];
|
|
634
|
+
/** The URI to fetch the next page of capabilities. */
|
|
635
|
+
nextLink?: string;
|
|
966
636
|
}
|
|
967
637
|
|
|
968
|
-
/**
|
|
969
|
-
* The regional capabilities.
|
|
970
|
-
*/
|
|
638
|
+
/** The regional capabilities. */
|
|
971
639
|
export interface Capabilities {
|
|
972
640
|
/**
|
|
973
641
|
* The resource type that this capability describes.
|
|
974
|
-
*
|
|
642
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
975
643
|
*/
|
|
976
644
|
readonly resourceType?: string;
|
|
977
645
|
/**
|
|
978
646
|
* The OS type that this capability describes.
|
|
979
|
-
*
|
|
647
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
980
648
|
*/
|
|
981
649
|
readonly osType?: string;
|
|
982
650
|
/**
|
|
983
651
|
* The resource location.
|
|
984
|
-
*
|
|
652
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
985
653
|
*/
|
|
986
654
|
readonly location?: string;
|
|
987
655
|
/**
|
|
988
656
|
* The ip address type that this capability describes.
|
|
989
|
-
*
|
|
657
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
990
658
|
*/
|
|
991
659
|
readonly ipAddressType?: string;
|
|
992
660
|
/**
|
|
993
661
|
* The GPU sku that this capability describes.
|
|
994
|
-
*
|
|
662
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
995
663
|
*/
|
|
996
664
|
readonly gpu?: string;
|
|
997
665
|
/**
|
|
998
666
|
* The supported capabilities.
|
|
999
|
-
*
|
|
667
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1000
668
|
*/
|
|
1001
669
|
readonly capabilities?: CapabilitiesCapabilities;
|
|
1002
670
|
}
|
|
1003
671
|
|
|
1004
|
-
/**
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
672
|
+
/** The supported capabilities. */
|
|
673
|
+
export interface CapabilitiesCapabilities {
|
|
674
|
+
/**
|
|
675
|
+
* The maximum allowed memory request in GB.
|
|
676
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
677
|
+
*/
|
|
678
|
+
readonly maxMemoryInGB?: number;
|
|
1008
679
|
/**
|
|
1009
|
-
* The
|
|
1010
|
-
*
|
|
680
|
+
* The maximum allowed CPU request in cores.
|
|
681
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1011
682
|
*/
|
|
1012
|
-
|
|
683
|
+
readonly maxCpu?: number;
|
|
1013
684
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
*
|
|
685
|
+
* The maximum allowed GPU count.
|
|
686
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1016
687
|
*/
|
|
1017
|
-
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
/**
|
|
1021
|
-
* An interface representing ContainerInstanceManagementClientOptions.
|
|
1022
|
-
*/
|
|
1023
|
-
export interface ContainerInstanceManagementClientOptions extends AzureServiceClientOptions {
|
|
1024
|
-
baseUri?: string;
|
|
688
|
+
readonly maxGpuCount?: number;
|
|
1025
689
|
}
|
|
1026
690
|
|
|
1027
|
-
/**
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
*/
|
|
1032
|
-
export interface ContainerGroupListResult extends Array<ContainerGroup> {
|
|
691
|
+
/** A container group. */
|
|
692
|
+
export type ContainerGroup = Resource & {
|
|
693
|
+
/** The identity of the container group, if configured. */
|
|
694
|
+
identity?: ContainerGroupIdentity;
|
|
1033
695
|
/**
|
|
1034
|
-
* The
|
|
696
|
+
* The provisioning state of the container group. This only appears in the response.
|
|
697
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1035
698
|
*/
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
|
|
1041
|
-
* The operation list response that contains all operations for Azure Container Instance service.
|
|
1042
|
-
* @extends Array<Operation>
|
|
1043
|
-
*/
|
|
1044
|
-
export interface OperationListResult extends Array<Operation> {
|
|
699
|
+
readonly provisioningState?: string;
|
|
700
|
+
/** The containers within the container group. */
|
|
701
|
+
containers: Container[];
|
|
702
|
+
/** The image registry credentials by which the container group is created from. */
|
|
703
|
+
imageRegistryCredentials?: ImageRegistryCredential[];
|
|
1045
704
|
/**
|
|
1046
|
-
*
|
|
705
|
+
* Restart policy for all containers within the container group.
|
|
706
|
+
* - `Always` Always restart
|
|
707
|
+
* - `OnFailure` Restart on failure
|
|
708
|
+
* - `Never` Never restart
|
|
709
|
+
*
|
|
1047
710
|
*/
|
|
1048
|
-
|
|
711
|
+
restartPolicy?: ContainerGroupRestartPolicy;
|
|
712
|
+
/** The IP address type of the container group. */
|
|
713
|
+
ipAddress?: IpAddress;
|
|
714
|
+
/** The operating system type required by the containers in the container group. */
|
|
715
|
+
osType: OperatingSystemTypes;
|
|
716
|
+
/** The list of volumes that can be mounted by containers in this container group. */
|
|
717
|
+
volumes?: Volume[];
|
|
718
|
+
/**
|
|
719
|
+
* The instance view of the container group. Only valid in response.
|
|
720
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
721
|
+
*/
|
|
722
|
+
readonly instanceView?: ContainerGroupPropertiesInstanceView;
|
|
723
|
+
/** The diagnostic information for a container group. */
|
|
724
|
+
diagnostics?: ContainerGroupDiagnostics;
|
|
725
|
+
/** The subnet resource IDs for a container group. */
|
|
726
|
+
subnetIds?: ContainerGroupSubnetId[];
|
|
727
|
+
/** The DNS config information for a container group. */
|
|
728
|
+
dnsConfig?: DnsConfiguration;
|
|
729
|
+
/** The SKU for a container group. */
|
|
730
|
+
sku?: ContainerGroupSku;
|
|
731
|
+
/** The encryption properties for a container group. */
|
|
732
|
+
encryptionProperties?: EncryptionProperties;
|
|
733
|
+
/** The init containers for a container group. */
|
|
734
|
+
initContainers?: InitContainerDefinition[];
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
/** Known values of {@link ContainerNetworkProtocol} that the service accepts. */
|
|
738
|
+
export enum KnownContainerNetworkProtocol {
|
|
739
|
+
TCP = "TCP",
|
|
740
|
+
UDP = "UDP"
|
|
1049
741
|
}
|
|
1050
742
|
|
|
1051
743
|
/**
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1054
|
-
*
|
|
744
|
+
* Defines values for ContainerNetworkProtocol. \
|
|
745
|
+
* {@link KnownContainerNetworkProtocol} can be used interchangeably with ContainerNetworkProtocol,
|
|
746
|
+
* this enum contains the known values that the service supports.
|
|
747
|
+
* ### Known values supported by the service
|
|
748
|
+
* **TCP** \
|
|
749
|
+
* **UDP**
|
|
1055
750
|
*/
|
|
1056
|
-
export
|
|
751
|
+
export type ContainerNetworkProtocol = string;
|
|
752
|
+
|
|
753
|
+
/** Known values of {@link GpuSku} that the service accepts. */
|
|
754
|
+
export enum KnownGpuSku {
|
|
755
|
+
K80 = "K80",
|
|
756
|
+
P100 = "P100",
|
|
757
|
+
V100 = "V100"
|
|
1057
758
|
}
|
|
1058
759
|
|
|
1059
760
|
/**
|
|
1060
|
-
*
|
|
1061
|
-
*
|
|
1062
|
-
*
|
|
761
|
+
* Defines values for GpuSku. \
|
|
762
|
+
* {@link KnownGpuSku} can be used interchangeably with GpuSku,
|
|
763
|
+
* this enum contains the known values that the service supports.
|
|
764
|
+
* ### Known values supported by the service
|
|
765
|
+
* **K80** \
|
|
766
|
+
* **P100** \
|
|
767
|
+
* **V100**
|
|
1063
768
|
*/
|
|
1064
|
-
export
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
769
|
+
export type GpuSku = string;
|
|
770
|
+
|
|
771
|
+
/** Known values of {@link Scheme} that the service accepts. */
|
|
772
|
+
export enum KnownScheme {
|
|
773
|
+
Http = "http",
|
|
774
|
+
Https = "https"
|
|
1069
775
|
}
|
|
1070
776
|
|
|
1071
777
|
/**
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1074
|
-
*
|
|
778
|
+
* Defines values for Scheme. \
|
|
779
|
+
* {@link KnownScheme} can be used interchangeably with Scheme,
|
|
780
|
+
* this enum contains the known values that the service supports.
|
|
781
|
+
* ### Known values supported by the service
|
|
782
|
+
* **http** \
|
|
783
|
+
* **https**
|
|
1075
784
|
*/
|
|
1076
|
-
export
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
785
|
+
export type Scheme = string;
|
|
786
|
+
|
|
787
|
+
/** Known values of {@link ContainerGroupRestartPolicy} that the service accepts. */
|
|
788
|
+
export enum KnownContainerGroupRestartPolicy {
|
|
789
|
+
Always = "Always",
|
|
790
|
+
OnFailure = "OnFailure",
|
|
791
|
+
Never = "Never"
|
|
1081
792
|
}
|
|
1082
793
|
|
|
1083
794
|
/**
|
|
1084
|
-
* Defines values for
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
1087
|
-
*
|
|
795
|
+
* Defines values for ContainerGroupRestartPolicy. \
|
|
796
|
+
* {@link KnownContainerGroupRestartPolicy} can be used interchangeably with ContainerGroupRestartPolicy,
|
|
797
|
+
* this enum contains the known values that the service supports.
|
|
798
|
+
* ### Known values supported by the service
|
|
799
|
+
* **Always** \
|
|
800
|
+
* **OnFailure** \
|
|
801
|
+
* **Never**
|
|
1088
802
|
*/
|
|
1089
|
-
export type
|
|
803
|
+
export type ContainerGroupRestartPolicy = string;
|
|
1090
804
|
|
|
1091
|
-
/**
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
*/
|
|
1097
|
-
export type GpuSku = 'K80' | 'P100' | 'V100';
|
|
805
|
+
/** Known values of {@link ContainerGroupNetworkProtocol} that the service accepts. */
|
|
806
|
+
export enum KnownContainerGroupNetworkProtocol {
|
|
807
|
+
TCP = "TCP",
|
|
808
|
+
UDP = "UDP"
|
|
809
|
+
}
|
|
1098
810
|
|
|
1099
811
|
/**
|
|
1100
|
-
* Defines values for
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
812
|
+
* Defines values for ContainerGroupNetworkProtocol. \
|
|
813
|
+
* {@link KnownContainerGroupNetworkProtocol} can be used interchangeably with ContainerGroupNetworkProtocol,
|
|
814
|
+
* this enum contains the known values that the service supports.
|
|
815
|
+
* ### Known values supported by the service
|
|
816
|
+
* **TCP** \
|
|
817
|
+
* **UDP**
|
|
1104
818
|
*/
|
|
1105
|
-
export type
|
|
819
|
+
export type ContainerGroupNetworkProtocol = string;
|
|
1106
820
|
|
|
1107
|
-
/**
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
* @enum {string}
|
|
1113
|
-
*/
|
|
1114
|
-
export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None';
|
|
821
|
+
/** Known values of {@link ContainerGroupIpAddressType} that the service accepts. */
|
|
822
|
+
export enum KnownContainerGroupIpAddressType {
|
|
823
|
+
Public = "Public",
|
|
824
|
+
Private = "Private"
|
|
825
|
+
}
|
|
1115
826
|
|
|
1116
827
|
/**
|
|
1117
|
-
* Defines values for
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
828
|
+
* Defines values for ContainerGroupIpAddressType. \
|
|
829
|
+
* {@link KnownContainerGroupIpAddressType} can be used interchangeably with ContainerGroupIpAddressType,
|
|
830
|
+
* this enum contains the known values that the service supports.
|
|
831
|
+
* ### Known values supported by the service
|
|
832
|
+
* **Public** \
|
|
833
|
+
* **Private**
|
|
1121
834
|
*/
|
|
1122
|
-
export type
|
|
835
|
+
export type ContainerGroupIpAddressType = string;
|
|
1123
836
|
|
|
1124
|
-
/**
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
*/
|
|
1130
|
-
export type ContainerGroupNetworkProtocol = 'TCP' | 'UDP';
|
|
837
|
+
/** Known values of {@link OperatingSystemTypes} that the service accepts. */
|
|
838
|
+
export enum KnownOperatingSystemTypes {
|
|
839
|
+
Windows = "Windows",
|
|
840
|
+
Linux = "Linux"
|
|
841
|
+
}
|
|
1131
842
|
|
|
1132
843
|
/**
|
|
1133
|
-
* Defines values for
|
|
1134
|
-
*
|
|
1135
|
-
*
|
|
1136
|
-
*
|
|
844
|
+
* Defines values for OperatingSystemTypes. \
|
|
845
|
+
* {@link KnownOperatingSystemTypes} can be used interchangeably with OperatingSystemTypes,
|
|
846
|
+
* this enum contains the known values that the service supports.
|
|
847
|
+
* ### Known values supported by the service
|
|
848
|
+
* **Windows** \
|
|
849
|
+
* **Linux**
|
|
1137
850
|
*/
|
|
1138
|
-
export type
|
|
851
|
+
export type OperatingSystemTypes = string;
|
|
1139
852
|
|
|
1140
|
-
/**
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
*/
|
|
1146
|
-
export type OperatingSystemTypes = 'Windows' | 'Linux';
|
|
853
|
+
/** Known values of {@link LogAnalyticsLogType} that the service accepts. */
|
|
854
|
+
export enum KnownLogAnalyticsLogType {
|
|
855
|
+
ContainerInsights = "ContainerInsights",
|
|
856
|
+
ContainerInstanceLogs = "ContainerInstanceLogs"
|
|
857
|
+
}
|
|
1147
858
|
|
|
1148
859
|
/**
|
|
1149
|
-
* Defines values for LogAnalyticsLogType.
|
|
1150
|
-
*
|
|
1151
|
-
*
|
|
1152
|
-
*
|
|
860
|
+
* Defines values for LogAnalyticsLogType. \
|
|
861
|
+
* {@link KnownLogAnalyticsLogType} can be used interchangeably with LogAnalyticsLogType,
|
|
862
|
+
* this enum contains the known values that the service supports.
|
|
863
|
+
* ### Known values supported by the service
|
|
864
|
+
* **ContainerInsights** \
|
|
865
|
+
* **ContainerInstanceLogs**
|
|
1153
866
|
*/
|
|
1154
|
-
export type LogAnalyticsLogType =
|
|
867
|
+
export type LogAnalyticsLogType = string;
|
|
1155
868
|
|
|
1156
|
-
/**
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
*/
|
|
1162
|
-
export type ContainerGroupSku = 'Standard' | 'Dedicated';
|
|
869
|
+
/** Known values of {@link ContainerGroupSku} that the service accepts. */
|
|
870
|
+
export enum KnownContainerGroupSku {
|
|
871
|
+
Standard = "Standard",
|
|
872
|
+
Dedicated = "Dedicated"
|
|
873
|
+
}
|
|
1163
874
|
|
|
1164
875
|
/**
|
|
1165
|
-
* Defines values for
|
|
1166
|
-
*
|
|
1167
|
-
*
|
|
1168
|
-
*
|
|
876
|
+
* Defines values for ContainerGroupSku. \
|
|
877
|
+
* {@link KnownContainerGroupSku} can be used interchangeably with ContainerGroupSku,
|
|
878
|
+
* this enum contains the known values that the service supports.
|
|
879
|
+
* ### Known values supported by the service
|
|
880
|
+
* **Standard** \
|
|
881
|
+
* **Dedicated**
|
|
1169
882
|
*/
|
|
1170
|
-
export type
|
|
883
|
+
export type ContainerGroupSku = string;
|
|
1171
884
|
|
|
1172
|
-
/**
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
* The underlying HTTP response.
|
|
1178
|
-
*/
|
|
1179
|
-
_response: msRest.HttpResponse & {
|
|
1180
|
-
/**
|
|
1181
|
-
* The response body as text (string format)
|
|
1182
|
-
*/
|
|
1183
|
-
bodyAsText: string;
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* The response body as parsed JSON or XML
|
|
1187
|
-
*/
|
|
1188
|
-
parsedBody: ContainerGroupListResult;
|
|
1189
|
-
};
|
|
1190
|
-
};
|
|
885
|
+
/** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */
|
|
886
|
+
export enum KnownContainerInstanceOperationsOrigin {
|
|
887
|
+
User = "User",
|
|
888
|
+
System = "System"
|
|
889
|
+
}
|
|
1191
890
|
|
|
1192
891
|
/**
|
|
1193
|
-
*
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
}
|
|
892
|
+
* Defines values for ContainerInstanceOperationsOrigin. \
|
|
893
|
+
* {@link KnownContainerInstanceOperationsOrigin} can be used interchangeably with ContainerInstanceOperationsOrigin,
|
|
894
|
+
* this enum contains the known values that the service supports.
|
|
895
|
+
* ### Known values supported by the service
|
|
896
|
+
* **User** \
|
|
897
|
+
* **System**
|
|
898
|
+
*/
|
|
899
|
+
export type ContainerInstanceOperationsOrigin = string;
|
|
900
|
+
/** Defines values for ResourceIdentityType. */
|
|
901
|
+
export type ResourceIdentityType =
|
|
902
|
+
| "SystemAssigned"
|
|
903
|
+
| "UserAssigned"
|
|
904
|
+
| "SystemAssigned, UserAssigned"
|
|
905
|
+
| "None";
|
|
906
|
+
|
|
907
|
+
/** Optional parameters. */
|
|
908
|
+
export interface ContainerGroupsListOptionalParams
|
|
909
|
+
extends coreClient.OperationOptions {}
|
|
910
|
+
|
|
911
|
+
/** Contains response data for the list operation. */
|
|
912
|
+
export type ContainerGroupsListResponse = ContainerGroupListResult;
|
|
913
|
+
|
|
914
|
+
/** Optional parameters. */
|
|
915
|
+
export interface ContainerGroupsListByResourceGroupOptionalParams
|
|
916
|
+
extends coreClient.OperationOptions {}
|
|
917
|
+
|
|
918
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
919
|
+
export type ContainerGroupsListByResourceGroupResponse = ContainerGroupListResult;
|
|
920
|
+
|
|
921
|
+
/** Optional parameters. */
|
|
922
|
+
export interface ContainerGroupsGetOptionalParams
|
|
923
|
+
extends coreClient.OperationOptions {}
|
|
924
|
+
|
|
925
|
+
/** Contains response data for the get operation. */
|
|
926
|
+
export type ContainerGroupsGetResponse = ContainerGroup;
|
|
927
|
+
|
|
928
|
+
/** Optional parameters. */
|
|
929
|
+
export interface ContainerGroupsCreateOrUpdateOptionalParams
|
|
930
|
+
extends coreClient.OperationOptions {
|
|
931
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
932
|
+
updateIntervalInMs?: number;
|
|
933
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
934
|
+
resumeFrom?: string;
|
|
935
|
+
}
|
|
1211
936
|
|
|
1212
|
-
/**
|
|
1213
|
-
|
|
1214
|
-
*/
|
|
1215
|
-
export type ContainerGroupsGetResponse = ContainerGroup & {
|
|
1216
|
-
/**
|
|
1217
|
-
* The underlying HTTP response.
|
|
1218
|
-
*/
|
|
1219
|
-
_response: msRest.HttpResponse & {
|
|
1220
|
-
/**
|
|
1221
|
-
* The response body as text (string format)
|
|
1222
|
-
*/
|
|
1223
|
-
bodyAsText: string;
|
|
1224
|
-
|
|
1225
|
-
/**
|
|
1226
|
-
* The response body as parsed JSON or XML
|
|
1227
|
-
*/
|
|
1228
|
-
parsedBody: ContainerGroup;
|
|
1229
|
-
};
|
|
1230
|
-
};
|
|
937
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
938
|
+
export type ContainerGroupsCreateOrUpdateResponse = ContainerGroup;
|
|
1231
939
|
|
|
1232
|
-
/**
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
export type ContainerGroupsCreateOrUpdateResponse = ContainerGroup & {
|
|
1236
|
-
/**
|
|
1237
|
-
* The underlying HTTP response.
|
|
1238
|
-
*/
|
|
1239
|
-
_response: msRest.HttpResponse & {
|
|
1240
|
-
/**
|
|
1241
|
-
* The response body as text (string format)
|
|
1242
|
-
*/
|
|
1243
|
-
bodyAsText: string;
|
|
1244
|
-
|
|
1245
|
-
/**
|
|
1246
|
-
* The response body as parsed JSON or XML
|
|
1247
|
-
*/
|
|
1248
|
-
parsedBody: ContainerGroup;
|
|
1249
|
-
};
|
|
1250
|
-
};
|
|
940
|
+
/** Optional parameters. */
|
|
941
|
+
export interface ContainerGroupsUpdateOptionalParams
|
|
942
|
+
extends coreClient.OperationOptions {}
|
|
1251
943
|
|
|
1252
|
-
/**
|
|
1253
|
-
|
|
1254
|
-
*/
|
|
1255
|
-
export type ContainerGroupsUpdateResponse = ContainerGroup & {
|
|
1256
|
-
/**
|
|
1257
|
-
* The underlying HTTP response.
|
|
1258
|
-
*/
|
|
1259
|
-
_response: msRest.HttpResponse & {
|
|
1260
|
-
/**
|
|
1261
|
-
* The response body as text (string format)
|
|
1262
|
-
*/
|
|
1263
|
-
bodyAsText: string;
|
|
1264
|
-
|
|
1265
|
-
/**
|
|
1266
|
-
* The response body as parsed JSON or XML
|
|
1267
|
-
*/
|
|
1268
|
-
parsedBody: ContainerGroup;
|
|
1269
|
-
};
|
|
1270
|
-
};
|
|
944
|
+
/** Contains response data for the update operation. */
|
|
945
|
+
export type ContainerGroupsUpdateResponse = ContainerGroup;
|
|
1271
946
|
|
|
1272
|
-
/**
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
/**
|
|
1281
|
-
* The response body as text (string format)
|
|
1282
|
-
*/
|
|
1283
|
-
bodyAsText: string;
|
|
1284
|
-
|
|
1285
|
-
/**
|
|
1286
|
-
* The response body as parsed JSON or XML
|
|
1287
|
-
*/
|
|
1288
|
-
parsedBody: ContainerGroup;
|
|
1289
|
-
};
|
|
1290
|
-
};
|
|
947
|
+
/** Optional parameters. */
|
|
948
|
+
export interface ContainerGroupsDeleteOptionalParams
|
|
949
|
+
extends coreClient.OperationOptions {
|
|
950
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
951
|
+
updateIntervalInMs?: number;
|
|
952
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
953
|
+
resumeFrom?: string;
|
|
954
|
+
}
|
|
1291
955
|
|
|
1292
|
-
/**
|
|
1293
|
-
|
|
1294
|
-
*/
|
|
1295
|
-
export type ContainerGroupsBeginCreateOrUpdateResponse = ContainerGroup & {
|
|
1296
|
-
/**
|
|
1297
|
-
* The underlying HTTP response.
|
|
1298
|
-
*/
|
|
1299
|
-
_response: msRest.HttpResponse & {
|
|
1300
|
-
/**
|
|
1301
|
-
* The response body as text (string format)
|
|
1302
|
-
*/
|
|
1303
|
-
bodyAsText: string;
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* The response body as parsed JSON or XML
|
|
1307
|
-
*/
|
|
1308
|
-
parsedBody: ContainerGroup;
|
|
1309
|
-
};
|
|
1310
|
-
};
|
|
956
|
+
/** Contains response data for the delete operation. */
|
|
957
|
+
export type ContainerGroupsDeleteResponse = ContainerGroup;
|
|
1311
958
|
|
|
1312
|
-
/**
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
/**
|
|
1321
|
-
* The response body as text (string format)
|
|
1322
|
-
*/
|
|
1323
|
-
bodyAsText: string;
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* The response body as parsed JSON or XML
|
|
1327
|
-
*/
|
|
1328
|
-
parsedBody: ContainerGroup;
|
|
1329
|
-
};
|
|
1330
|
-
};
|
|
959
|
+
/** Optional parameters. */
|
|
960
|
+
export interface ContainerGroupsRestartOptionalParams
|
|
961
|
+
extends coreClient.OperationOptions {
|
|
962
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
963
|
+
updateIntervalInMs?: number;
|
|
964
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
965
|
+
resumeFrom?: string;
|
|
966
|
+
}
|
|
1331
967
|
|
|
1332
|
-
/**
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* The response body as parsed JSON or XML
|
|
1347
|
-
*/
|
|
1348
|
-
parsedBody: ContainerGroupListResult;
|
|
1349
|
-
};
|
|
1350
|
-
};
|
|
968
|
+
/** Optional parameters. */
|
|
969
|
+
export interface ContainerGroupsStopOptionalParams
|
|
970
|
+
extends coreClient.OperationOptions {}
|
|
971
|
+
|
|
972
|
+
/** Optional parameters. */
|
|
973
|
+
export interface ContainerGroupsStartOptionalParams
|
|
974
|
+
extends coreClient.OperationOptions {
|
|
975
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
976
|
+
updateIntervalInMs?: number;
|
|
977
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
978
|
+
resumeFrom?: string;
|
|
979
|
+
}
|
|
1351
980
|
|
|
1352
|
-
/**
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
export type ContainerGroupsListByResourceGroupNextResponse = ContainerGroupListResult & {
|
|
1356
|
-
/**
|
|
1357
|
-
* The underlying HTTP response.
|
|
1358
|
-
*/
|
|
1359
|
-
_response: msRest.HttpResponse & {
|
|
1360
|
-
/**
|
|
1361
|
-
* The response body as text (string format)
|
|
1362
|
-
*/
|
|
1363
|
-
bodyAsText: string;
|
|
1364
|
-
|
|
1365
|
-
/**
|
|
1366
|
-
* The response body as parsed JSON or XML
|
|
1367
|
-
*/
|
|
1368
|
-
parsedBody: ContainerGroupListResult;
|
|
1369
|
-
};
|
|
1370
|
-
};
|
|
981
|
+
/** Optional parameters. */
|
|
982
|
+
export interface ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams
|
|
983
|
+
extends coreClient.OperationOptions {}
|
|
1371
984
|
|
|
1372
|
-
/**
|
|
1373
|
-
|
|
1374
|
-
*/
|
|
1375
|
-
|
|
1376
|
-
/**
|
|
1377
|
-
* The underlying HTTP response.
|
|
1378
|
-
*/
|
|
1379
|
-
_response: msRest.HttpResponse & {
|
|
1380
|
-
/**
|
|
1381
|
-
* The response body as text (string format)
|
|
1382
|
-
*/
|
|
1383
|
-
bodyAsText: string;
|
|
1384
|
-
|
|
1385
|
-
/**
|
|
1386
|
-
* The response body as parsed JSON or XML
|
|
1387
|
-
*/
|
|
1388
|
-
parsedBody: OperationListResult;
|
|
1389
|
-
};
|
|
985
|
+
/** Contains response data for the getOutboundNetworkDependenciesEndpoints operation. */
|
|
986
|
+
export type ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse = {
|
|
987
|
+
/** The parsed response body. */
|
|
988
|
+
body: string[];
|
|
1390
989
|
};
|
|
1391
990
|
|
|
1392
|
-
/**
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
export type OperationsListNextResponse = OperationListResult & {
|
|
1396
|
-
/**
|
|
1397
|
-
* The underlying HTTP response.
|
|
1398
|
-
*/
|
|
1399
|
-
_response: msRest.HttpResponse & {
|
|
1400
|
-
/**
|
|
1401
|
-
* The response body as text (string format)
|
|
1402
|
-
*/
|
|
1403
|
-
bodyAsText: string;
|
|
1404
|
-
|
|
1405
|
-
/**
|
|
1406
|
-
* The response body as parsed JSON or XML
|
|
1407
|
-
*/
|
|
1408
|
-
parsedBody: OperationListResult;
|
|
1409
|
-
};
|
|
1410
|
-
};
|
|
991
|
+
/** Optional parameters. */
|
|
992
|
+
export interface ContainerGroupsListNextOptionalParams
|
|
993
|
+
extends coreClient.OperationOptions {}
|
|
1411
994
|
|
|
1412
|
-
/**
|
|
1413
|
-
|
|
1414
|
-
*/
|
|
1415
|
-
export type LocationListUsageResponse = UsageListResult & {
|
|
1416
|
-
/**
|
|
1417
|
-
* The underlying HTTP response.
|
|
1418
|
-
*/
|
|
1419
|
-
_response: msRest.HttpResponse & {
|
|
1420
|
-
/**
|
|
1421
|
-
* The response body as text (string format)
|
|
1422
|
-
*/
|
|
1423
|
-
bodyAsText: string;
|
|
1424
|
-
|
|
1425
|
-
/**
|
|
1426
|
-
* The response body as parsed JSON or XML
|
|
1427
|
-
*/
|
|
1428
|
-
parsedBody: UsageListResult;
|
|
1429
|
-
};
|
|
1430
|
-
};
|
|
995
|
+
/** Contains response data for the listNext operation. */
|
|
996
|
+
export type ContainerGroupsListNextResponse = ContainerGroupListResult;
|
|
1431
997
|
|
|
1432
|
-
/**
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
export type LocationListCachedImagesResponse = CachedImagesListResult & {
|
|
1436
|
-
/**
|
|
1437
|
-
* The underlying HTTP response.
|
|
1438
|
-
*/
|
|
1439
|
-
_response: msRest.HttpResponse & {
|
|
1440
|
-
/**
|
|
1441
|
-
* The response body as text (string format)
|
|
1442
|
-
*/
|
|
1443
|
-
bodyAsText: string;
|
|
1444
|
-
|
|
1445
|
-
/**
|
|
1446
|
-
* The response body as parsed JSON or XML
|
|
1447
|
-
*/
|
|
1448
|
-
parsedBody: CachedImagesListResult;
|
|
1449
|
-
};
|
|
1450
|
-
};
|
|
998
|
+
/** Optional parameters. */
|
|
999
|
+
export interface ContainerGroupsListByResourceGroupNextOptionalParams
|
|
1000
|
+
extends coreClient.OperationOptions {}
|
|
1451
1001
|
|
|
1452
|
-
/**
|
|
1453
|
-
|
|
1454
|
-
*/
|
|
1455
|
-
export type LocationListCapabilitiesResponse = CapabilitiesListResult & {
|
|
1456
|
-
/**
|
|
1457
|
-
* The underlying HTTP response.
|
|
1458
|
-
*/
|
|
1459
|
-
_response: msRest.HttpResponse & {
|
|
1460
|
-
/**
|
|
1461
|
-
* The response body as text (string format)
|
|
1462
|
-
*/
|
|
1463
|
-
bodyAsText: string;
|
|
1464
|
-
|
|
1465
|
-
/**
|
|
1466
|
-
* The response body as parsed JSON or XML
|
|
1467
|
-
*/
|
|
1468
|
-
parsedBody: CapabilitiesListResult;
|
|
1469
|
-
};
|
|
1470
|
-
};
|
|
1002
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1003
|
+
export type ContainerGroupsListByResourceGroupNextResponse = ContainerGroupListResult;
|
|
1471
1004
|
|
|
1472
|
-
/**
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
export type LocationListCachedImagesNextResponse = CachedImagesListResult & {
|
|
1476
|
-
/**
|
|
1477
|
-
* The underlying HTTP response.
|
|
1478
|
-
*/
|
|
1479
|
-
_response: msRest.HttpResponse & {
|
|
1480
|
-
/**
|
|
1481
|
-
* The response body as text (string format)
|
|
1482
|
-
*/
|
|
1483
|
-
bodyAsText: string;
|
|
1484
|
-
|
|
1485
|
-
/**
|
|
1486
|
-
* The response body as parsed JSON or XML
|
|
1487
|
-
*/
|
|
1488
|
-
parsedBody: CachedImagesListResult;
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1005
|
+
/** Optional parameters. */
|
|
1006
|
+
export interface OperationsListOptionalParams
|
|
1007
|
+
extends coreClient.OperationOptions {}
|
|
1491
1008
|
|
|
1492
|
-
/**
|
|
1493
|
-
|
|
1494
|
-
*/
|
|
1495
|
-
export type LocationListCapabilitiesNextResponse = CapabilitiesListResult & {
|
|
1496
|
-
/**
|
|
1497
|
-
* The underlying HTTP response.
|
|
1498
|
-
*/
|
|
1499
|
-
_response: msRest.HttpResponse & {
|
|
1500
|
-
/**
|
|
1501
|
-
* The response body as text (string format)
|
|
1502
|
-
*/
|
|
1503
|
-
bodyAsText: string;
|
|
1504
|
-
|
|
1505
|
-
/**
|
|
1506
|
-
* The response body as parsed JSON or XML
|
|
1507
|
-
*/
|
|
1508
|
-
parsedBody: CapabilitiesListResult;
|
|
1509
|
-
};
|
|
1510
|
-
};
|
|
1009
|
+
/** Contains response data for the list operation. */
|
|
1010
|
+
export type OperationsListResponse = OperationListResult;
|
|
1511
1011
|
|
|
1512
|
-
/**
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
export type ContainersListLogsResponse = Logs & {
|
|
1516
|
-
/**
|
|
1517
|
-
* The underlying HTTP response.
|
|
1518
|
-
*/
|
|
1519
|
-
_response: msRest.HttpResponse & {
|
|
1520
|
-
/**
|
|
1521
|
-
* The response body as text (string format)
|
|
1522
|
-
*/
|
|
1523
|
-
bodyAsText: string;
|
|
1524
|
-
|
|
1525
|
-
/**
|
|
1526
|
-
* The response body as parsed JSON or XML
|
|
1527
|
-
*/
|
|
1528
|
-
parsedBody: Logs;
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1012
|
+
/** Optional parameters. */
|
|
1013
|
+
export interface OperationsListNextOptionalParams
|
|
1014
|
+
extends coreClient.OperationOptions {}
|
|
1531
1015
|
|
|
1532
|
-
/**
|
|
1533
|
-
|
|
1534
|
-
*/
|
|
1535
|
-
export type ContainersExecuteCommandResponse = ContainerExecResponse & {
|
|
1536
|
-
/**
|
|
1537
|
-
* The underlying HTTP response.
|
|
1538
|
-
*/
|
|
1539
|
-
_response: msRest.HttpResponse & {
|
|
1540
|
-
/**
|
|
1541
|
-
* The response body as text (string format)
|
|
1542
|
-
*/
|
|
1543
|
-
bodyAsText: string;
|
|
1544
|
-
|
|
1545
|
-
/**
|
|
1546
|
-
* The response body as parsed JSON or XML
|
|
1547
|
-
*/
|
|
1548
|
-
parsedBody: ContainerExecResponse;
|
|
1549
|
-
};
|
|
1550
|
-
};
|
|
1016
|
+
/** Contains response data for the listNext operation. */
|
|
1017
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
1551
1018
|
|
|
1552
|
-
/**
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1019
|
+
/** Optional parameters. */
|
|
1020
|
+
export interface LocationListUsageOptionalParams
|
|
1021
|
+
extends coreClient.OperationOptions {}
|
|
1022
|
+
|
|
1023
|
+
/** Contains response data for the listUsage operation. */
|
|
1024
|
+
export type LocationListUsageResponse = UsageListResult;
|
|
1025
|
+
|
|
1026
|
+
/** Optional parameters. */
|
|
1027
|
+
export interface LocationListCachedImagesOptionalParams
|
|
1028
|
+
extends coreClient.OperationOptions {}
|
|
1029
|
+
|
|
1030
|
+
/** Contains response data for the listCachedImages operation. */
|
|
1031
|
+
export type LocationListCachedImagesResponse = CachedImagesListResult;
|
|
1032
|
+
|
|
1033
|
+
/** Optional parameters. */
|
|
1034
|
+
export interface LocationListCapabilitiesOptionalParams
|
|
1035
|
+
extends coreClient.OperationOptions {}
|
|
1036
|
+
|
|
1037
|
+
/** Contains response data for the listCapabilities operation. */
|
|
1038
|
+
export type LocationListCapabilitiesResponse = CapabilitiesListResult;
|
|
1039
|
+
|
|
1040
|
+
/** Optional parameters. */
|
|
1041
|
+
export interface LocationListCachedImagesNextOptionalParams
|
|
1042
|
+
extends coreClient.OperationOptions {}
|
|
1043
|
+
|
|
1044
|
+
/** Contains response data for the listCachedImagesNext operation. */
|
|
1045
|
+
export type LocationListCachedImagesNextResponse = CachedImagesListResult;
|
|
1046
|
+
|
|
1047
|
+
/** Optional parameters. */
|
|
1048
|
+
export interface LocationListCapabilitiesNextOptionalParams
|
|
1049
|
+
extends coreClient.OperationOptions {}
|
|
1050
|
+
|
|
1051
|
+
/** Contains response data for the listCapabilitiesNext operation. */
|
|
1052
|
+
export type LocationListCapabilitiesNextResponse = CapabilitiesListResult;
|
|
1053
|
+
|
|
1054
|
+
/** Optional parameters. */
|
|
1055
|
+
export interface ContainersListLogsOptionalParams
|
|
1056
|
+
extends coreClient.OperationOptions {
|
|
1057
|
+
/** The number of lines to show from the tail of the container instance log. If not provided, all available logs are shown up to 4mb. */
|
|
1058
|
+
tail?: number;
|
|
1059
|
+
/** If true, adds a timestamp at the beginning of every line of log output. If not provided, defaults to false. */
|
|
1060
|
+
timestamps?: boolean;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
/** Contains response data for the listLogs operation. */
|
|
1064
|
+
export type ContainersListLogsResponse = Logs;
|
|
1065
|
+
|
|
1066
|
+
/** Optional parameters. */
|
|
1067
|
+
export interface ContainersExecuteCommandOptionalParams
|
|
1068
|
+
extends coreClient.OperationOptions {}
|
|
1069
|
+
|
|
1070
|
+
/** Contains response data for the executeCommand operation. */
|
|
1071
|
+
export type ContainersExecuteCommandResponse = ContainerExecResponse;
|
|
1072
|
+
|
|
1073
|
+
/** Optional parameters. */
|
|
1074
|
+
export interface ContainersAttachOptionalParams
|
|
1075
|
+
extends coreClient.OperationOptions {}
|
|
1076
|
+
|
|
1077
|
+
/** Contains response data for the attach operation. */
|
|
1078
|
+
export type ContainersAttachResponse = ContainerAttachResponse;
|
|
1079
|
+
|
|
1080
|
+
/** Optional parameters. */
|
|
1081
|
+
export interface ContainerInstanceManagementClientOptionalParams
|
|
1082
|
+
extends coreClient.ServiceClientOptions {
|
|
1083
|
+
/** server parameter */
|
|
1084
|
+
$host?: string;
|
|
1085
|
+
/** Api Version */
|
|
1086
|
+
apiVersion?: string;
|
|
1087
|
+
/** Overrides client endpoint. */
|
|
1088
|
+
endpoint?: string;
|
|
1089
|
+
}
|