@azure/arm-containerinstance 7.1.0 → 8.0.0-alpha.20220104.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +782 -805
- 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 -22
- 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 +728 -1245
- package/src/models/mappers.ts +790 -809
- package/src/models/parameters.ts +90 -38
- package/src/operations/containerGroups.ts +667 -500
- 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 -3094
- 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 -1501
- 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 -270
- package/esm/operations/containerGroups.d.ts.map +0 -1
- package/esm/operations/containerGroups.js +0 -496
- 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,1601 +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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
39
|
+
export interface Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties {
|
|
40
|
+
/**
|
|
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;
|
|
32
45
|
/**
|
|
33
|
-
* The
|
|
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 header.
|
|
233
|
-
*/
|
|
234
|
-
export interface HttpHeader {
|
|
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?: HttpHeader[];
|
|
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
252
|
}
|
|
347
253
|
|
|
348
|
-
/**
|
|
349
|
-
|
|
350
|
-
*/
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
|
|
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
|
-
}
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* The properties of the volume.
|
|
392
|
-
*/
|
|
393
|
-
export interface Volume {
|
|
394
|
-
/**
|
|
395
|
-
* The name of the volume.
|
|
396
|
-
*/
|
|
397
|
-
name: string;
|
|
398
|
-
/**
|
|
399
|
-
* The Azure File volume.
|
|
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;
|
|
479
|
-
/**
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
identity?: string;
|
|
483
|
-
/**
|
|
484
|
-
* The identity URL for the private registry.
|
|
485
|
-
*/
|
|
282
|
+
/** The identity for the private registry. */
|
|
283
|
+
identity?: string;
|
|
284
|
+
/** The identity URL for the private registry. */
|
|
486
285
|
identityUrl?: string;
|
|
487
286
|
}
|
|
488
287
|
|
|
489
|
-
/**
|
|
490
|
-
* The port exposed on the container group.
|
|
491
|
-
*/
|
|
492
|
-
export interface Port {
|
|
493
|
-
/**
|
|
494
|
-
* The protocol associated with the port. Possible values include: 'TCP', 'UDP'
|
|
495
|
-
*/
|
|
496
|
-
protocol?: ContainerGroupNetworkProtocol;
|
|
497
|
-
/**
|
|
498
|
-
* The port number.
|
|
499
|
-
*/
|
|
500
|
-
port: number;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* IP address for the container group.
|
|
505
|
-
*/
|
|
288
|
+
/** IP address for the container group. */
|
|
506
289
|
export interface IpAddress {
|
|
507
|
-
/**
|
|
508
|
-
* The list of ports exposed on the container group.
|
|
509
|
-
*/
|
|
290
|
+
/** The list of ports exposed on the container group. */
|
|
510
291
|
ports: Port[];
|
|
511
|
-
/**
|
|
512
|
-
* Specifies if the IP is exposed to the public internet or private VNET. Possible values
|
|
513
|
-
* include: 'Public', 'Private'
|
|
514
|
-
*/
|
|
292
|
+
/** Specifies if the IP is exposed to the public internet or private VNET. */
|
|
515
293
|
type: ContainerGroupIpAddressType;
|
|
516
|
-
/**
|
|
517
|
-
* The IP exposed to the public internet.
|
|
518
|
-
*/
|
|
294
|
+
/** The IP exposed to the public internet. */
|
|
519
295
|
ip?: string;
|
|
520
|
-
/**
|
|
521
|
-
* The Dns name label for the IP.
|
|
522
|
-
*/
|
|
296
|
+
/** The Dns name label for the IP. */
|
|
523
297
|
dnsNameLabel?: string;
|
|
524
298
|
/**
|
|
525
299
|
* The FQDN for the IP.
|
|
526
|
-
*
|
|
300
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
527
301
|
*/
|
|
528
302
|
readonly fqdn?: string;
|
|
529
303
|
}
|
|
530
304
|
|
|
531
|
-
/**
|
|
532
|
-
|
|
533
|
-
*/
|
|
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. */
|
|
534
350
|
export interface ContainerGroupPropertiesInstanceView {
|
|
535
351
|
/**
|
|
536
352
|
* The events of this container group.
|
|
537
|
-
*
|
|
353
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
538
354
|
*/
|
|
539
355
|
readonly events?: Event[];
|
|
540
356
|
/**
|
|
541
357
|
* The state of the container group. Only valid in response.
|
|
542
|
-
*
|
|
358
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
543
359
|
*/
|
|
544
360
|
readonly state?: string;
|
|
545
361
|
}
|
|
546
362
|
|
|
547
|
-
/**
|
|
548
|
-
|
|
549
|
-
*/
|
|
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. */
|
|
550
370
|
export interface LogAnalytics {
|
|
551
|
-
/**
|
|
552
|
-
* The workspace id for log analytics
|
|
553
|
-
*/
|
|
371
|
+
/** The workspace id for log analytics */
|
|
554
372
|
workspaceId: string;
|
|
555
|
-
/**
|
|
556
|
-
* The workspace key for log analytics
|
|
557
|
-
*/
|
|
373
|
+
/** The workspace key for log analytics */
|
|
558
374
|
workspaceKey: string;
|
|
559
|
-
/**
|
|
560
|
-
* The log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'
|
|
561
|
-
*/
|
|
375
|
+
/** The log type to be used. */
|
|
562
376
|
logType?: LogAnalyticsLogType;
|
|
563
|
-
/**
|
|
564
|
-
* Metadata for log analytics.
|
|
565
|
-
*/
|
|
377
|
+
/** Metadata for log analytics. */
|
|
566
378
|
metadata?: { [propertyName: string]: string };
|
|
567
|
-
/**
|
|
568
|
-
* The workspace resource id for log analytics
|
|
569
|
-
*/
|
|
379
|
+
/** The workspace resource id for log analytics */
|
|
570
380
|
workspaceResourceId?: string;
|
|
571
381
|
}
|
|
572
382
|
|
|
573
|
-
/**
|
|
574
|
-
* Container group diagnostic information.
|
|
575
|
-
*/
|
|
576
|
-
export interface ContainerGroupDiagnostics {
|
|
577
|
-
/**
|
|
578
|
-
* Container group log analytics information.
|
|
579
|
-
*/
|
|
580
|
-
logAnalytics?: LogAnalytics;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* Container group subnet information.
|
|
585
|
-
*/
|
|
383
|
+
/** Container group subnet information. */
|
|
586
384
|
export interface ContainerGroupSubnetId {
|
|
587
|
-
/**
|
|
588
|
-
* Resource ID of virtual network and subnet.
|
|
589
|
-
*/
|
|
385
|
+
/** Resource ID of virtual network and subnet. */
|
|
590
386
|
id: string;
|
|
591
|
-
/**
|
|
592
|
-
* Friendly name for the subnet.
|
|
593
|
-
*/
|
|
387
|
+
/** Friendly name for the subnet. */
|
|
594
388
|
name?: string;
|
|
595
389
|
}
|
|
596
390
|
|
|
597
|
-
/**
|
|
598
|
-
* DNS configuration for the container group.
|
|
599
|
-
*/
|
|
391
|
+
/** DNS configuration for the container group. */
|
|
600
392
|
export interface DnsConfiguration {
|
|
601
|
-
/**
|
|
602
|
-
* The DNS servers for the container group.
|
|
603
|
-
*/
|
|
393
|
+
/** The DNS servers for the container group. */
|
|
604
394
|
nameServers: string[];
|
|
605
|
-
/**
|
|
606
|
-
* The DNS search domains for hostname lookup in the container group.
|
|
607
|
-
*/
|
|
395
|
+
/** The DNS search domains for hostname lookup in the container group. */
|
|
608
396
|
searchDomains?: string;
|
|
609
|
-
/**
|
|
610
|
-
* The DNS options for the container group.
|
|
611
|
-
*/
|
|
397
|
+
/** The DNS options for the container group. */
|
|
612
398
|
options?: string;
|
|
613
399
|
}
|
|
614
400
|
|
|
615
|
-
/**
|
|
616
|
-
* The container group encryption properties.
|
|
617
|
-
*/
|
|
401
|
+
/** The container group encryption properties. */
|
|
618
402
|
export interface EncryptionProperties {
|
|
619
|
-
/**
|
|
620
|
-
* The keyvault base url.
|
|
621
|
-
*/
|
|
403
|
+
/** The keyvault base url. */
|
|
622
404
|
vaultBaseUrl: string;
|
|
623
|
-
/**
|
|
624
|
-
* The encryption key name.
|
|
625
|
-
*/
|
|
405
|
+
/** The encryption key name. */
|
|
626
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[];
|
|
627
421
|
/**
|
|
628
|
-
* 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.
|
|
629
424
|
*/
|
|
630
|
-
|
|
425
|
+
readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
|
|
426
|
+
/** The volume mounts available to the init container. */
|
|
427
|
+
volumeMounts?: VolumeMount[];
|
|
631
428
|
}
|
|
632
429
|
|
|
633
|
-
/**
|
|
634
|
-
* The instance view of the init container. Only valid in response.
|
|
635
|
-
*/
|
|
430
|
+
/** The instance view of the init container. Only valid in response. */
|
|
636
431
|
export interface InitContainerPropertiesDefinitionInstanceView {
|
|
637
432
|
/**
|
|
638
433
|
* The number of times that the init container has been restarted.
|
|
639
|
-
*
|
|
434
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
640
435
|
*/
|
|
641
436
|
readonly restartCount?: number;
|
|
642
437
|
/**
|
|
643
438
|
* The current state of the init container.
|
|
644
|
-
*
|
|
439
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
645
440
|
*/
|
|
646
441
|
readonly currentState?: ContainerState;
|
|
647
442
|
/**
|
|
648
443
|
* The previous state of the init container.
|
|
649
|
-
*
|
|
444
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
650
445
|
*/
|
|
651
446
|
readonly previousState?: ContainerState;
|
|
652
447
|
/**
|
|
653
448
|
* The events of the init container.
|
|
654
|
-
*
|
|
449
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
655
450
|
*/
|
|
656
451
|
readonly events?: Event[];
|
|
657
452
|
}
|
|
658
453
|
|
|
659
|
-
/**
|
|
660
|
-
|
|
661
|
-
*/
|
|
662
|
-
export interface InitContainerDefinition {
|
|
663
|
-
/**
|
|
664
|
-
* The name for the init container.
|
|
665
|
-
*/
|
|
666
|
-
name: string;
|
|
667
|
-
/**
|
|
668
|
-
* The image of the init container.
|
|
669
|
-
*/
|
|
670
|
-
image?: string;
|
|
671
|
-
/**
|
|
672
|
-
* The command to execute within the init container in exec form.
|
|
673
|
-
*/
|
|
674
|
-
command?: string[];
|
|
675
|
-
/**
|
|
676
|
-
* The environment variables to set in the init container.
|
|
677
|
-
*/
|
|
678
|
-
environmentVariables?: EnvironmentVariable[];
|
|
679
|
-
/**
|
|
680
|
-
* The instance view of the init container. Only valid in response.
|
|
681
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
682
|
-
*/
|
|
683
|
-
readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
|
|
684
|
-
/**
|
|
685
|
-
* The volume mounts available to the init container.
|
|
686
|
-
*/
|
|
687
|
-
volumeMounts?: VolumeMount[];
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
* The Resource model definition.
|
|
692
|
-
*/
|
|
693
|
-
export interface Resource extends BaseResource {
|
|
454
|
+
/** The Resource model definition. */
|
|
455
|
+
export interface Resource {
|
|
694
456
|
/**
|
|
695
457
|
* The resource id.
|
|
696
|
-
*
|
|
458
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
697
459
|
*/
|
|
698
460
|
readonly id?: string;
|
|
699
461
|
/**
|
|
700
462
|
* The resource name.
|
|
701
|
-
*
|
|
463
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
702
464
|
*/
|
|
703
465
|
readonly name?: string;
|
|
704
466
|
/**
|
|
705
467
|
* The resource type.
|
|
706
|
-
*
|
|
468
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
707
469
|
*/
|
|
708
470
|
readonly type?: string;
|
|
709
|
-
/**
|
|
710
|
-
* The resource location.
|
|
711
|
-
*/
|
|
471
|
+
/** The resource location. */
|
|
712
472
|
location?: string;
|
|
713
|
-
/**
|
|
714
|
-
* The resource tags.
|
|
715
|
-
*/
|
|
473
|
+
/** The resource tags. */
|
|
716
474
|
tags?: { [propertyName: string]: string };
|
|
717
|
-
/**
|
|
718
|
-
* The zones for the container group.
|
|
719
|
-
*/
|
|
475
|
+
/** The zones for the container group. */
|
|
720
476
|
zones?: string[];
|
|
721
477
|
}
|
|
722
478
|
|
|
723
|
-
/**
|
|
724
|
-
|
|
725
|
-
*/
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* The identity of the container group, if configured.
|
|
729
|
-
*/
|
|
730
|
-
identity?: ContainerGroupIdentity;
|
|
731
|
-
/**
|
|
732
|
-
* The provisioning state of the container group. This only appears in the response.
|
|
733
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
734
|
-
*/
|
|
735
|
-
readonly provisioningState?: string;
|
|
736
|
-
/**
|
|
737
|
-
* The containers within the container group.
|
|
738
|
-
*/
|
|
739
|
-
containers: Container[];
|
|
740
|
-
/**
|
|
741
|
-
* The image registry credentials by which the container group is created from.
|
|
742
|
-
*/
|
|
743
|
-
imageRegistryCredentials?: ImageRegistryCredential[];
|
|
744
|
-
/**
|
|
745
|
-
* Restart policy for all containers within the container group.
|
|
746
|
-
* - `Always` Always restart
|
|
747
|
-
* - `OnFailure` Restart on failure
|
|
748
|
-
* - `Never` Never restart
|
|
749
|
-
* . Possible values include: 'Always', 'OnFailure', 'Never'
|
|
750
|
-
*/
|
|
751
|
-
restartPolicy?: ContainerGroupRestartPolicy;
|
|
752
|
-
/**
|
|
753
|
-
* The IP address type of the container group.
|
|
754
|
-
*/
|
|
755
|
-
ipAddress?: IpAddress;
|
|
756
|
-
/**
|
|
757
|
-
* The operating system type required by the containers in the container group. Possible values
|
|
758
|
-
* include: 'Windows', 'Linux'
|
|
759
|
-
*/
|
|
760
|
-
osType: OperatingSystemTypes;
|
|
761
|
-
/**
|
|
762
|
-
* The list of volumes that can be mounted by containers in this container group.
|
|
763
|
-
*/
|
|
764
|
-
volumes?: Volume[];
|
|
765
|
-
/**
|
|
766
|
-
* The instance view of the container group. Only valid in response.
|
|
767
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
768
|
-
*/
|
|
769
|
-
readonly instanceView?: ContainerGroupPropertiesInstanceView;
|
|
770
|
-
/**
|
|
771
|
-
* The diagnostic information for a container group.
|
|
772
|
-
*/
|
|
773
|
-
diagnostics?: ContainerGroupDiagnostics;
|
|
774
|
-
/**
|
|
775
|
-
* The subnet resource IDs for a container group.
|
|
776
|
-
*/
|
|
777
|
-
subnetIds?: ContainerGroupSubnetId[];
|
|
778
|
-
/**
|
|
779
|
-
* The DNS config information for a container group.
|
|
780
|
-
*/
|
|
781
|
-
dnsConfig?: DnsConfiguration;
|
|
782
|
-
/**
|
|
783
|
-
* The SKU for a container group. Possible values include: 'Standard', 'Dedicated'
|
|
784
|
-
*/
|
|
785
|
-
sku?: ContainerGroupSku;
|
|
786
|
-
/**
|
|
787
|
-
* The encryption properties for a container group.
|
|
788
|
-
*/
|
|
789
|
-
encryptionProperties?: EncryptionProperties;
|
|
790
|
-
/**
|
|
791
|
-
* The init containers for a container group.
|
|
792
|
-
*/
|
|
793
|
-
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;
|
|
794
483
|
}
|
|
795
484
|
|
|
796
|
-
/**
|
|
797
|
-
|
|
798
|
-
*/
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
|
|
806
|
-
*/
|
|
807
|
-
resource?: string;
|
|
808
|
-
/**
|
|
809
|
-
* The friendly name of the operation.
|
|
810
|
-
*/
|
|
811
|
-
operation?: string;
|
|
812
|
-
/**
|
|
813
|
-
* The description of the operation.
|
|
814
|
-
*/
|
|
815
|
-
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[];
|
|
816
495
|
}
|
|
817
496
|
|
|
818
|
-
/**
|
|
819
|
-
|
|
820
|
-
*/
|
|
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. */
|
|
821
506
|
export interface Operation {
|
|
822
|
-
/**
|
|
823
|
-
* The name of the operation.
|
|
824
|
-
*/
|
|
507
|
+
/** The name of the operation. */
|
|
825
508
|
name: string;
|
|
826
|
-
/**
|
|
827
|
-
* The display information of the operation.
|
|
828
|
-
*/
|
|
509
|
+
/** The display information of the operation. */
|
|
829
510
|
display: OperationDisplay;
|
|
830
|
-
/**
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
properties?: any;
|
|
834
|
-
/**
|
|
835
|
-
* The intended executor of the operation. Possible values include: 'User', 'System'
|
|
836
|
-
*/
|
|
511
|
+
/** The additional properties. */
|
|
512
|
+
properties?: Record<string, unknown>;
|
|
513
|
+
/** The intended executor of the operation. */
|
|
837
514
|
origin?: ContainerInstanceOperationsOrigin;
|
|
838
515
|
}
|
|
839
516
|
|
|
840
|
-
/**
|
|
841
|
-
|
|
842
|
-
*/
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
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 {
|
|
849
531
|
/**
|
|
850
|
-
* The
|
|
851
|
-
*
|
|
532
|
+
* The usage data.
|
|
533
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
852
534
|
*/
|
|
853
|
-
readonly
|
|
535
|
+
readonly value?: Usage[];
|
|
854
536
|
}
|
|
855
537
|
|
|
856
|
-
/**
|
|
857
|
-
* A single usage result
|
|
858
|
-
*/
|
|
538
|
+
/** A single usage result */
|
|
859
539
|
export interface Usage {
|
|
860
540
|
/**
|
|
861
541
|
* Unit of the usage result
|
|
862
|
-
*
|
|
542
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
863
543
|
*/
|
|
864
544
|
readonly unit?: string;
|
|
865
545
|
/**
|
|
866
546
|
* The current usage of the resource
|
|
867
|
-
*
|
|
547
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
868
548
|
*/
|
|
869
549
|
readonly currentValue?: number;
|
|
870
550
|
/**
|
|
871
551
|
* The maximum permitted usage of the resource.
|
|
872
|
-
*
|
|
552
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
873
553
|
*/
|
|
874
554
|
readonly limit?: number;
|
|
875
555
|
/**
|
|
876
556
|
* The name object of the resource
|
|
877
|
-
*
|
|
557
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
878
558
|
*/
|
|
879
559
|
readonly name?: UsageName;
|
|
880
560
|
}
|
|
881
561
|
|
|
882
|
-
/**
|
|
883
|
-
|
|
884
|
-
*/
|
|
885
|
-
export interface Logs {
|
|
886
|
-
/**
|
|
887
|
-
* The content of the log.
|
|
888
|
-
*/
|
|
889
|
-
content?: string;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* The size of the terminal.
|
|
894
|
-
*/
|
|
895
|
-
export interface ContainerExecRequestTerminalSize {
|
|
562
|
+
/** The name object of the resource */
|
|
563
|
+
export interface UsageName {
|
|
896
564
|
/**
|
|
897
|
-
* The
|
|
565
|
+
* The name of the resource
|
|
566
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
898
567
|
*/
|
|
899
|
-
|
|
568
|
+
readonly value?: string;
|
|
900
569
|
/**
|
|
901
|
-
* The
|
|
570
|
+
* The localized name of the resource
|
|
571
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
902
572
|
*/
|
|
903
|
-
|
|
573
|
+
readonly localizedValue?: string;
|
|
904
574
|
}
|
|
905
575
|
|
|
906
|
-
/**
|
|
907
|
-
|
|
908
|
-
*/
|
|
576
|
+
/** The logs. */
|
|
577
|
+
export interface Logs {
|
|
578
|
+
/** The content of the log. */
|
|
579
|
+
content?: string;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/** The container exec request. */
|
|
909
583
|
export interface ContainerExecRequest {
|
|
910
|
-
/**
|
|
911
|
-
* The command to be executed.
|
|
912
|
-
*/
|
|
584
|
+
/** The command to be executed. */
|
|
913
585
|
command?: string;
|
|
914
|
-
/**
|
|
915
|
-
* The size of the terminal.
|
|
916
|
-
*/
|
|
586
|
+
/** The size of the terminal. */
|
|
917
587
|
terminalSize?: ContainerExecRequestTerminalSize;
|
|
918
588
|
}
|
|
919
589
|
|
|
920
|
-
/**
|
|
921
|
-
|
|
922
|
-
*/
|
|
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. */
|
|
923
599
|
export interface ContainerExecResponse {
|
|
924
|
-
/**
|
|
925
|
-
* The uri for the exec websocket.
|
|
926
|
-
*/
|
|
600
|
+
/** The uri for the exec websocket. */
|
|
927
601
|
webSocketUri?: string;
|
|
928
|
-
/**
|
|
929
|
-
* The password to start the exec command.
|
|
930
|
-
*/
|
|
602
|
+
/** The password to start the exec command. */
|
|
931
603
|
password?: string;
|
|
932
604
|
}
|
|
933
605
|
|
|
934
|
-
/**
|
|
935
|
-
* The information for the output stream from container attach.
|
|
936
|
-
*/
|
|
606
|
+
/** The information for the output stream from container attach. */
|
|
937
607
|
export interface ContainerAttachResponse {
|
|
938
|
-
/**
|
|
939
|
-
* The uri for the output stream from the attach.
|
|
940
|
-
*/
|
|
608
|
+
/** The uri for the output stream from the attach. */
|
|
941
609
|
webSocketUri?: string;
|
|
942
|
-
/**
|
|
943
|
-
* The password to the output stream from the attach. Send as an Authorization header value when
|
|
944
|
-
* connecting to the websocketUri.
|
|
945
|
-
*/
|
|
610
|
+
/** The password to the output stream from the attach. Send as an Authorization header value when connecting to the websocketUri. */
|
|
946
611
|
password?: string;
|
|
947
612
|
}
|
|
948
613
|
|
|
949
|
-
/**
|
|
950
|
-
|
|
951
|
-
*/
|
|
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. */
|
|
952
623
|
export interface CachedImages {
|
|
953
|
-
/**
|
|
954
|
-
* The OS type of the cached image.
|
|
955
|
-
*/
|
|
624
|
+
/** The OS type of the cached image. */
|
|
956
625
|
osType: string;
|
|
957
|
-
/**
|
|
958
|
-
* The cached image name.
|
|
959
|
-
*/
|
|
626
|
+
/** The cached image name. */
|
|
960
627
|
image: string;
|
|
961
628
|
}
|
|
962
629
|
|
|
963
|
-
/**
|
|
964
|
-
|
|
965
|
-
*/
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
|
|
969
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
970
|
-
*/
|
|
971
|
-
readonly maxMemoryInGB?: number;
|
|
972
|
-
/**
|
|
973
|
-
* The maximum allowed CPU request in cores.
|
|
974
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
975
|
-
*/
|
|
976
|
-
readonly maxCpu?: number;
|
|
977
|
-
/**
|
|
978
|
-
* The maximum allowed GPU count.
|
|
979
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
980
|
-
*/
|
|
981
|
-
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;
|
|
982
636
|
}
|
|
983
637
|
|
|
984
|
-
/**
|
|
985
|
-
* The regional capabilities.
|
|
986
|
-
*/
|
|
638
|
+
/** The regional capabilities. */
|
|
987
639
|
export interface Capabilities {
|
|
988
640
|
/**
|
|
989
641
|
* The resource type that this capability describes.
|
|
990
|
-
*
|
|
642
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
991
643
|
*/
|
|
992
644
|
readonly resourceType?: string;
|
|
993
645
|
/**
|
|
994
646
|
* The OS type that this capability describes.
|
|
995
|
-
*
|
|
647
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
996
648
|
*/
|
|
997
649
|
readonly osType?: string;
|
|
998
650
|
/**
|
|
999
651
|
* The resource location.
|
|
1000
|
-
*
|
|
652
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1001
653
|
*/
|
|
1002
654
|
readonly location?: string;
|
|
1003
655
|
/**
|
|
1004
656
|
* The ip address type that this capability describes.
|
|
1005
|
-
*
|
|
657
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1006
658
|
*/
|
|
1007
659
|
readonly ipAddressType?: string;
|
|
1008
660
|
/**
|
|
1009
661
|
* The GPU sku that this capability describes.
|
|
1010
|
-
*
|
|
662
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1011
663
|
*/
|
|
1012
664
|
readonly gpu?: string;
|
|
1013
665
|
/**
|
|
1014
666
|
* The supported capabilities.
|
|
1015
|
-
*
|
|
667
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1016
668
|
*/
|
|
1017
669
|
readonly capabilities?: CapabilitiesCapabilities;
|
|
1018
670
|
}
|
|
1019
671
|
|
|
1020
|
-
/**
|
|
1021
|
-
|
|
1022
|
-
*/
|
|
1023
|
-
export interface ContainersListLogsOptionalParams extends msRest.RequestOptionsBase {
|
|
672
|
+
/** The supported capabilities. */
|
|
673
|
+
export interface CapabilitiesCapabilities {
|
|
1024
674
|
/**
|
|
1025
|
-
* The
|
|
1026
|
-
*
|
|
675
|
+
* The maximum allowed memory request in GB.
|
|
676
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1027
677
|
*/
|
|
1028
|
-
|
|
678
|
+
readonly maxMemoryInGB?: number;
|
|
1029
679
|
/**
|
|
1030
|
-
*
|
|
1031
|
-
*
|
|
680
|
+
* The maximum allowed CPU request in cores.
|
|
681
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1032
682
|
*/
|
|
1033
|
-
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* An interface representing ContainerInstanceManagementClientOptions.
|
|
1038
|
-
*/
|
|
1039
|
-
export interface ContainerInstanceManagementClientOptions extends AzureServiceClientOptions {
|
|
1040
|
-
baseUri?: string;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* @interface
|
|
1045
|
-
* The container group list response that contains the container group properties.
|
|
1046
|
-
* @extends Array<ContainerGroup>
|
|
1047
|
-
*/
|
|
1048
|
-
export interface ContainerGroupListResult extends Array<ContainerGroup> {
|
|
683
|
+
readonly maxCpu?: number;
|
|
1049
684
|
/**
|
|
1050
|
-
* The
|
|
685
|
+
* The maximum allowed GPU count.
|
|
686
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1051
687
|
*/
|
|
1052
|
-
|
|
688
|
+
readonly maxGpuCount?: number;
|
|
1053
689
|
}
|
|
1054
690
|
|
|
1055
|
-
/**
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
*/
|
|
1060
|
-
export interface OperationListResult extends Array<Operation> {
|
|
691
|
+
/** A container group. */
|
|
692
|
+
export type ContainerGroup = Resource & {
|
|
693
|
+
/** The identity of the container group, if configured. */
|
|
694
|
+
identity?: ContainerGroupIdentity;
|
|
1061
695
|
/**
|
|
1062
|
-
* 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.
|
|
1063
698
|
*/
|
|
1064
|
-
|
|
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[];
|
|
704
|
+
/**
|
|
705
|
+
* Restart policy for all containers within the container group.
|
|
706
|
+
* - `Always` Always restart
|
|
707
|
+
* - `OnFailure` Restart on failure
|
|
708
|
+
* - `Never` Never restart
|
|
709
|
+
*
|
|
710
|
+
*/
|
|
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"
|
|
1065
741
|
}
|
|
1066
742
|
|
|
1067
743
|
/**
|
|
1068
|
-
*
|
|
1069
|
-
*
|
|
1070
|
-
*
|
|
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**
|
|
1071
750
|
*/
|
|
1072
|
-
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"
|
|
1073
758
|
}
|
|
1074
759
|
|
|
1075
760
|
/**
|
|
1076
|
-
*
|
|
1077
|
-
*
|
|
1078
|
-
*
|
|
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**
|
|
1079
768
|
*/
|
|
1080
|
-
export
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
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"
|
|
1085
775
|
}
|
|
1086
776
|
|
|
1087
777
|
/**
|
|
1088
|
-
*
|
|
1089
|
-
*
|
|
1090
|
-
*
|
|
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**
|
|
1091
784
|
*/
|
|
1092
|
-
export
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
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"
|
|
1097
792
|
}
|
|
1098
793
|
|
|
1099
794
|
/**
|
|
1100
|
-
* Defines values for
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
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**
|
|
1104
802
|
*/
|
|
1105
|
-
export type
|
|
803
|
+
export type ContainerGroupRestartPolicy = string;
|
|
1106
804
|
|
|
1107
|
-
/**
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
*/
|
|
1113
|
-
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
|
+
}
|
|
1114
810
|
|
|
1115
811
|
/**
|
|
1116
|
-
* Defines values for
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
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**
|
|
1120
818
|
*/
|
|
1121
|
-
export type
|
|
819
|
+
export type ContainerGroupNetworkProtocol = string;
|
|
1122
820
|
|
|
1123
|
-
/**
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
* @enum {string}
|
|
1129
|
-
*/
|
|
1130
|
-
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
|
+
}
|
|
1131
826
|
|
|
1132
827
|
/**
|
|
1133
|
-
* Defines values for
|
|
1134
|
-
*
|
|
1135
|
-
*
|
|
1136
|
-
*
|
|
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**
|
|
1137
834
|
*/
|
|
1138
|
-
export type
|
|
835
|
+
export type ContainerGroupIpAddressType = string;
|
|
1139
836
|
|
|
1140
|
-
/**
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
*/
|
|
1146
|
-
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
|
+
}
|
|
1147
842
|
|
|
1148
843
|
/**
|
|
1149
|
-
* Defines values for
|
|
1150
|
-
*
|
|
1151
|
-
*
|
|
1152
|
-
*
|
|
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**
|
|
1153
850
|
*/
|
|
1154
|
-
export type
|
|
851
|
+
export type OperatingSystemTypes = string;
|
|
1155
852
|
|
|
1156
|
-
/**
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
*/
|
|
1162
|
-
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
|
+
}
|
|
1163
858
|
|
|
1164
859
|
/**
|
|
1165
|
-
* Defines values for LogAnalyticsLogType.
|
|
1166
|
-
*
|
|
1167
|
-
*
|
|
1168
|
-
*
|
|
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**
|
|
1169
866
|
*/
|
|
1170
|
-
export type LogAnalyticsLogType =
|
|
867
|
+
export type LogAnalyticsLogType = string;
|
|
1171
868
|
|
|
1172
|
-
/**
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
*/
|
|
1178
|
-
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
|
+
}
|
|
1179
874
|
|
|
1180
875
|
/**
|
|
1181
|
-
* Defines values for
|
|
1182
|
-
*
|
|
1183
|
-
*
|
|
1184
|
-
*
|
|
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**
|
|
1185
882
|
*/
|
|
1186
|
-
export type
|
|
883
|
+
export type ContainerGroupSku = string;
|
|
1187
884
|
|
|
1188
|
-
/**
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
* The underlying HTTP response.
|
|
1194
|
-
*/
|
|
1195
|
-
_response: msRest.HttpResponse & {
|
|
1196
|
-
/**
|
|
1197
|
-
* The response body as text (string format)
|
|
1198
|
-
*/
|
|
1199
|
-
bodyAsText: string;
|
|
1200
|
-
|
|
1201
|
-
/**
|
|
1202
|
-
* The response body as parsed JSON or XML
|
|
1203
|
-
*/
|
|
1204
|
-
parsedBody: ContainerGroupListResult;
|
|
1205
|
-
};
|
|
1206
|
-
};
|
|
885
|
+
/** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */
|
|
886
|
+
export enum KnownContainerInstanceOperationsOrigin {
|
|
887
|
+
User = "User",
|
|
888
|
+
System = "System"
|
|
889
|
+
}
|
|
1207
890
|
|
|
1208
891
|
/**
|
|
1209
|
-
*
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
}
|
|
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
|
+
}
|
|
1227
936
|
|
|
1228
|
-
/**
|
|
1229
|
-
|
|
1230
|
-
*/
|
|
1231
|
-
export type ContainerGroupsGetResponse = ContainerGroup & {
|
|
1232
|
-
/**
|
|
1233
|
-
* The underlying HTTP response.
|
|
1234
|
-
*/
|
|
1235
|
-
_response: msRest.HttpResponse & {
|
|
1236
|
-
/**
|
|
1237
|
-
* The response body as text (string format)
|
|
1238
|
-
*/
|
|
1239
|
-
bodyAsText: string;
|
|
1240
|
-
|
|
1241
|
-
/**
|
|
1242
|
-
* The response body as parsed JSON or XML
|
|
1243
|
-
*/
|
|
1244
|
-
parsedBody: ContainerGroup;
|
|
1245
|
-
};
|
|
1246
|
-
};
|
|
937
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
938
|
+
export type ContainerGroupsCreateOrUpdateResponse = ContainerGroup;
|
|
1247
939
|
|
|
1248
|
-
/**
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
export type ContainerGroupsCreateOrUpdateResponse = ContainerGroup & {
|
|
1252
|
-
/**
|
|
1253
|
-
* The underlying HTTP response.
|
|
1254
|
-
*/
|
|
1255
|
-
_response: msRest.HttpResponse & {
|
|
1256
|
-
/**
|
|
1257
|
-
* The response body as text (string format)
|
|
1258
|
-
*/
|
|
1259
|
-
bodyAsText: string;
|
|
1260
|
-
|
|
1261
|
-
/**
|
|
1262
|
-
* The response body as parsed JSON or XML
|
|
1263
|
-
*/
|
|
1264
|
-
parsedBody: ContainerGroup;
|
|
1265
|
-
};
|
|
1266
|
-
};
|
|
940
|
+
/** Optional parameters. */
|
|
941
|
+
export interface ContainerGroupsUpdateOptionalParams
|
|
942
|
+
extends coreClient.OperationOptions {}
|
|
1267
943
|
|
|
1268
|
-
/**
|
|
1269
|
-
|
|
1270
|
-
*/
|
|
1271
|
-
export type ContainerGroupsUpdateResponse = ContainerGroup & {
|
|
1272
|
-
/**
|
|
1273
|
-
* The underlying HTTP response.
|
|
1274
|
-
*/
|
|
1275
|
-
_response: msRest.HttpResponse & {
|
|
1276
|
-
/**
|
|
1277
|
-
* The response body as text (string format)
|
|
1278
|
-
*/
|
|
1279
|
-
bodyAsText: string;
|
|
1280
|
-
|
|
1281
|
-
/**
|
|
1282
|
-
* The response body as parsed JSON or XML
|
|
1283
|
-
*/
|
|
1284
|
-
parsedBody: ContainerGroup;
|
|
1285
|
-
};
|
|
1286
|
-
};
|
|
944
|
+
/** Contains response data for the update operation. */
|
|
945
|
+
export type ContainerGroupsUpdateResponse = ContainerGroup;
|
|
1287
946
|
|
|
1288
|
-
/**
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* The response body as text (string format)
|
|
1298
|
-
*/
|
|
1299
|
-
bodyAsText: string;
|
|
1300
|
-
|
|
1301
|
-
/**
|
|
1302
|
-
* The response body as parsed JSON or XML
|
|
1303
|
-
*/
|
|
1304
|
-
parsedBody: ContainerGroup;
|
|
1305
|
-
};
|
|
1306
|
-
};
|
|
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
|
+
}
|
|
1307
955
|
|
|
1308
|
-
/**
|
|
1309
|
-
|
|
1310
|
-
*/
|
|
1311
|
-
export type ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse = Array<string> & {
|
|
1312
|
-
/**
|
|
1313
|
-
* The underlying HTTP response.
|
|
1314
|
-
*/
|
|
1315
|
-
_response: msRest.HttpResponse & {
|
|
1316
|
-
/**
|
|
1317
|
-
* The response body as text (string format)
|
|
1318
|
-
*/
|
|
1319
|
-
bodyAsText: string;
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* The response body as parsed JSON or XML
|
|
1323
|
-
*/
|
|
1324
|
-
parsedBody: string[];
|
|
1325
|
-
};
|
|
1326
|
-
};
|
|
956
|
+
/** Contains response data for the delete operation. */
|
|
957
|
+
export type ContainerGroupsDeleteResponse = ContainerGroup;
|
|
1327
958
|
|
|
1328
|
-
/**
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
/**
|
|
1337
|
-
* The response body as text (string format)
|
|
1338
|
-
*/
|
|
1339
|
-
bodyAsText: string;
|
|
1340
|
-
|
|
1341
|
-
/**
|
|
1342
|
-
* The response body as parsed JSON or XML
|
|
1343
|
-
*/
|
|
1344
|
-
parsedBody: ContainerGroup;
|
|
1345
|
-
};
|
|
1346
|
-
};
|
|
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
|
+
}
|
|
1347
967
|
|
|
1348
|
-
/**
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
/**
|
|
1362
|
-
* The response body as parsed JSON or XML
|
|
1363
|
-
*/
|
|
1364
|
-
parsedBody: ContainerGroup;
|
|
1365
|
-
};
|
|
1366
|
-
};
|
|
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
|
+
}
|
|
1367
980
|
|
|
1368
|
-
/**
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
export type ContainerGroupsListNextResponse = ContainerGroupListResult & {
|
|
1372
|
-
/**
|
|
1373
|
-
* The underlying HTTP response.
|
|
1374
|
-
*/
|
|
1375
|
-
_response: msRest.HttpResponse & {
|
|
1376
|
-
/**
|
|
1377
|
-
* The response body as text (string format)
|
|
1378
|
-
*/
|
|
1379
|
-
bodyAsText: string;
|
|
1380
|
-
|
|
1381
|
-
/**
|
|
1382
|
-
* The response body as parsed JSON or XML
|
|
1383
|
-
*/
|
|
1384
|
-
parsedBody: ContainerGroupListResult;
|
|
1385
|
-
};
|
|
1386
|
-
};
|
|
981
|
+
/** Optional parameters. */
|
|
982
|
+
export interface ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams
|
|
983
|
+
extends coreClient.OperationOptions {}
|
|
1387
984
|
|
|
1388
|
-
/**
|
|
1389
|
-
|
|
1390
|
-
*/
|
|
1391
|
-
|
|
1392
|
-
/**
|
|
1393
|
-
* The underlying HTTP response.
|
|
1394
|
-
*/
|
|
1395
|
-
_response: msRest.HttpResponse & {
|
|
1396
|
-
/**
|
|
1397
|
-
* The response body as text (string format)
|
|
1398
|
-
*/
|
|
1399
|
-
bodyAsText: string;
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* The response body as parsed JSON or XML
|
|
1403
|
-
*/
|
|
1404
|
-
parsedBody: ContainerGroupListResult;
|
|
1405
|
-
};
|
|
985
|
+
/** Contains response data for the getOutboundNetworkDependenciesEndpoints operation. */
|
|
986
|
+
export type ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse = {
|
|
987
|
+
/** The parsed response body. */
|
|
988
|
+
body: string[];
|
|
1406
989
|
};
|
|
1407
990
|
|
|
1408
|
-
/**
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
export type OperationsListResponse = OperationListResult & {
|
|
1412
|
-
/**
|
|
1413
|
-
* The underlying HTTP response.
|
|
1414
|
-
*/
|
|
1415
|
-
_response: msRest.HttpResponse & {
|
|
1416
|
-
/**
|
|
1417
|
-
* The response body as text (string format)
|
|
1418
|
-
*/
|
|
1419
|
-
bodyAsText: string;
|
|
1420
|
-
|
|
1421
|
-
/**
|
|
1422
|
-
* The response body as parsed JSON or XML
|
|
1423
|
-
*/
|
|
1424
|
-
parsedBody: OperationListResult;
|
|
1425
|
-
};
|
|
1426
|
-
};
|
|
991
|
+
/** Optional parameters. */
|
|
992
|
+
export interface ContainerGroupsListNextOptionalParams
|
|
993
|
+
extends coreClient.OperationOptions {}
|
|
1427
994
|
|
|
1428
|
-
/**
|
|
1429
|
-
|
|
1430
|
-
*/
|
|
1431
|
-
export type OperationsListNextResponse = OperationListResult & {
|
|
1432
|
-
/**
|
|
1433
|
-
* The underlying HTTP response.
|
|
1434
|
-
*/
|
|
1435
|
-
_response: msRest.HttpResponse & {
|
|
1436
|
-
/**
|
|
1437
|
-
* The response body as text (string format)
|
|
1438
|
-
*/
|
|
1439
|
-
bodyAsText: string;
|
|
1440
|
-
|
|
1441
|
-
/**
|
|
1442
|
-
* The response body as parsed JSON or XML
|
|
1443
|
-
*/
|
|
1444
|
-
parsedBody: OperationListResult;
|
|
1445
|
-
};
|
|
1446
|
-
};
|
|
995
|
+
/** Contains response data for the listNext operation. */
|
|
996
|
+
export type ContainerGroupsListNextResponse = ContainerGroupListResult;
|
|
1447
997
|
|
|
1448
|
-
/**
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
export type LocationListUsageResponse = UsageListResult & {
|
|
1452
|
-
/**
|
|
1453
|
-
* The underlying HTTP response.
|
|
1454
|
-
*/
|
|
1455
|
-
_response: msRest.HttpResponse & {
|
|
1456
|
-
/**
|
|
1457
|
-
* The response body as text (string format)
|
|
1458
|
-
*/
|
|
1459
|
-
bodyAsText: string;
|
|
1460
|
-
|
|
1461
|
-
/**
|
|
1462
|
-
* The response body as parsed JSON or XML
|
|
1463
|
-
*/
|
|
1464
|
-
parsedBody: UsageListResult;
|
|
1465
|
-
};
|
|
1466
|
-
};
|
|
998
|
+
/** Optional parameters. */
|
|
999
|
+
export interface ContainerGroupsListByResourceGroupNextOptionalParams
|
|
1000
|
+
extends coreClient.OperationOptions {}
|
|
1467
1001
|
|
|
1468
|
-
/**
|
|
1469
|
-
|
|
1470
|
-
*/
|
|
1471
|
-
export type LocationListCachedImagesResponse = CachedImagesListResult & {
|
|
1472
|
-
/**
|
|
1473
|
-
* The underlying HTTP response.
|
|
1474
|
-
*/
|
|
1475
|
-
_response: msRest.HttpResponse & {
|
|
1476
|
-
/**
|
|
1477
|
-
* The response body as text (string format)
|
|
1478
|
-
*/
|
|
1479
|
-
bodyAsText: string;
|
|
1480
|
-
|
|
1481
|
-
/**
|
|
1482
|
-
* The response body as parsed JSON or XML
|
|
1483
|
-
*/
|
|
1484
|
-
parsedBody: CachedImagesListResult;
|
|
1485
|
-
};
|
|
1486
|
-
};
|
|
1002
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1003
|
+
export type ContainerGroupsListByResourceGroupNextResponse = ContainerGroupListResult;
|
|
1487
1004
|
|
|
1488
|
-
/**
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
export type LocationListCapabilitiesResponse = CapabilitiesListResult & {
|
|
1492
|
-
/**
|
|
1493
|
-
* The underlying HTTP response.
|
|
1494
|
-
*/
|
|
1495
|
-
_response: msRest.HttpResponse & {
|
|
1496
|
-
/**
|
|
1497
|
-
* The response body as text (string format)
|
|
1498
|
-
*/
|
|
1499
|
-
bodyAsText: string;
|
|
1500
|
-
|
|
1501
|
-
/**
|
|
1502
|
-
* The response body as parsed JSON or XML
|
|
1503
|
-
*/
|
|
1504
|
-
parsedBody: CapabilitiesListResult;
|
|
1505
|
-
};
|
|
1506
|
-
};
|
|
1005
|
+
/** Optional parameters. */
|
|
1006
|
+
export interface OperationsListOptionalParams
|
|
1007
|
+
extends coreClient.OperationOptions {}
|
|
1507
1008
|
|
|
1508
|
-
/**
|
|
1509
|
-
|
|
1510
|
-
*/
|
|
1511
|
-
export type LocationListCachedImagesNextResponse = CachedImagesListResult & {
|
|
1512
|
-
/**
|
|
1513
|
-
* The underlying HTTP response.
|
|
1514
|
-
*/
|
|
1515
|
-
_response: msRest.HttpResponse & {
|
|
1516
|
-
/**
|
|
1517
|
-
* The response body as text (string format)
|
|
1518
|
-
*/
|
|
1519
|
-
bodyAsText: string;
|
|
1520
|
-
|
|
1521
|
-
/**
|
|
1522
|
-
* The response body as parsed JSON or XML
|
|
1523
|
-
*/
|
|
1524
|
-
parsedBody: CachedImagesListResult;
|
|
1525
|
-
};
|
|
1526
|
-
};
|
|
1009
|
+
/** Contains response data for the list operation. */
|
|
1010
|
+
export type OperationsListResponse = OperationListResult;
|
|
1527
1011
|
|
|
1528
|
-
/**
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
export type LocationListCapabilitiesNextResponse = CapabilitiesListResult & {
|
|
1532
|
-
/**
|
|
1533
|
-
* The underlying HTTP response.
|
|
1534
|
-
*/
|
|
1535
|
-
_response: msRest.HttpResponse & {
|
|
1536
|
-
/**
|
|
1537
|
-
* The response body as text (string format)
|
|
1538
|
-
*/
|
|
1539
|
-
bodyAsText: string;
|
|
1540
|
-
|
|
1541
|
-
/**
|
|
1542
|
-
* The response body as parsed JSON or XML
|
|
1543
|
-
*/
|
|
1544
|
-
parsedBody: CapabilitiesListResult;
|
|
1545
|
-
};
|
|
1546
|
-
};
|
|
1012
|
+
/** Optional parameters. */
|
|
1013
|
+
export interface OperationsListNextOptionalParams
|
|
1014
|
+
extends coreClient.OperationOptions {}
|
|
1547
1015
|
|
|
1548
|
-
/**
|
|
1549
|
-
|
|
1550
|
-
*/
|
|
1551
|
-
export type ContainersListLogsResponse = Logs & {
|
|
1552
|
-
/**
|
|
1553
|
-
* The underlying HTTP response.
|
|
1554
|
-
*/
|
|
1555
|
-
_response: msRest.HttpResponse & {
|
|
1556
|
-
/**
|
|
1557
|
-
* The response body as text (string format)
|
|
1558
|
-
*/
|
|
1559
|
-
bodyAsText: string;
|
|
1560
|
-
|
|
1561
|
-
/**
|
|
1562
|
-
* The response body as parsed JSON or XML
|
|
1563
|
-
*/
|
|
1564
|
-
parsedBody: Logs;
|
|
1565
|
-
};
|
|
1566
|
-
};
|
|
1016
|
+
/** Contains response data for the listNext operation. */
|
|
1017
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
1567
1018
|
|
|
1568
|
-
/**
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
export type ContainersExecuteCommandResponse = ContainerExecResponse & {
|
|
1572
|
-
/**
|
|
1573
|
-
* The underlying HTTP response.
|
|
1574
|
-
*/
|
|
1575
|
-
_response: msRest.HttpResponse & {
|
|
1576
|
-
/**
|
|
1577
|
-
* The response body as text (string format)
|
|
1578
|
-
*/
|
|
1579
|
-
bodyAsText: string;
|
|
1580
|
-
|
|
1581
|
-
/**
|
|
1582
|
-
* The response body as parsed JSON or XML
|
|
1583
|
-
*/
|
|
1584
|
-
parsedBody: ContainerExecResponse;
|
|
1585
|
-
};
|
|
1586
|
-
};
|
|
1019
|
+
/** Optional parameters. */
|
|
1020
|
+
export interface LocationListUsageOptionalParams
|
|
1021
|
+
extends coreClient.OperationOptions {}
|
|
1587
1022
|
|
|
1588
|
-
/**
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
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
|
+
}
|