@azure/arm-containerinstance 6.3.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +70 -78
- package/dist/index.js +3335 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/containerInstanceManagementClient.d.ts +22 -0
- package/dist-esm/src/containerInstanceManagementClient.d.ts.map +1 -0
- package/dist-esm/src/containerInstanceManagementClient.js +55 -0
- package/dist-esm/src/containerInstanceManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +964 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +70 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +54 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +799 -788
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +67 -37
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/containerGroups.d.ts +159 -0
- package/dist-esm/src/operations/containerGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/containerGroups.js +678 -0
- package/dist-esm/src/operations/containerGroups.js.map +1 -0
- package/dist-esm/src/operations/containers.d.ts +40 -0
- package/dist-esm/src/operations/containers.d.ts.map +1 -0
- package/dist-esm/src/operations/containers.js +134 -0
- package/dist-esm/src/operations/containers.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/location.d.ts +70 -0
- package/dist-esm/src/operations/location.d.ts.map +1 -0
- package/dist-esm/src/operations/location.js +310 -0
- package/dist-esm/src/operations/location.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +119 -0
- package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/containerGroups.js} +2 -7
- package/dist-esm/src/operationsInterfaces/containerGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/containers.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/containers.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/containers.js} +2 -2
- package/dist-esm/src/operationsInterfaces/containers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/location.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/location.js} +2 -1
- package/dist-esm/src/operationsInterfaces/location.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/{src/models/containersMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/containerinstance_examples.d.ts +4 -0
- package/dist-esm/test/containerinstance_examples.d.ts.map +1 -0
- package/dist-esm/test/containerinstance_examples.js +156 -0
- package/dist-esm/test/containerinstance_examples.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-containerinstance.api.md +752 -0
- package/rollup.config.js +181 -30
- package/src/containerInstanceManagementClient.ts +78 -40
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +734 -1215
- package/src/models/mappers.ts +808 -793
- package/src/models/parameters.ts +90 -38
- package/src/operations/containerGroups.ts +660 -424
- package/src/operations/containers.ts +89 -143
- package/src/operations/index.ts +1 -2
- package/src/operations/location.ts +262 -179
- package/src/operations/operations.ts +85 -73
- package/src/operationsInterfaces/containerGroups.ts +212 -0
- package/src/operationsInterfaces/containers.ts +64 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/location.ts +49 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +3 -3
- package/types/arm-containerinstance.d.ts +1282 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-containerinstance.js +0 -3019
- package/dist/arm-containerinstance.js.map +0 -1
- package/dist/arm-containerinstance.min.js +0 -1
- package/dist/arm-containerinstance.min.js.map +0 -1
- package/esm/containerInstanceManagementClient.d.ts +0 -28
- package/esm/containerInstanceManagementClient.d.ts.map +0 -1
- package/esm/containerInstanceManagementClient.js +0 -41
- package/esm/containerInstanceManagementClient.js.map +0 -1
- package/esm/containerInstanceManagementClientContext.d.ts +0 -23
- package/esm/containerInstanceManagementClientContext.d.ts.map +0 -1
- package/esm/containerInstanceManagementClientContext.js +0 -61
- package/esm/containerInstanceManagementClientContext.js.map +0 -1
- package/esm/models/containerGroupsMappers.d.ts +0 -2
- package/esm/models/containerGroupsMappers.d.ts.map +0 -1
- package/esm/models/containerGroupsMappers.js +0 -9
- package/esm/models/containerGroupsMappers.js.map +0 -1
- package/esm/models/containersMappers.d.ts +0 -2
- package/esm/models/containersMappers.d.ts.map +0 -1
- package/esm/models/containersMappers.js +0 -9
- package/esm/models/containersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1469
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationMappers.d.ts +0 -2
- package/esm/models/locationMappers.d.ts.map +0 -1
- package/esm/models/locationMappers.js +0 -9
- package/esm/models/locationMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -54
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/containerGroups.d.ts +0 -247
- package/esm/operations/containerGroups.d.ts.map +0 -1
- package/esm/operations/containerGroups.js +0 -455
- package/esm/operations/containerGroups.js.map +0 -1
- package/esm/operations/containers.d.ts +0 -94
- package/esm/operations/containers.d.ts.map +0 -1
- package/esm/operations/containers.js +0 -133
- package/esm/operations/containers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/location.d.ts +0 -107
- package/esm/operations/location.d.ts.map +0 -1
- package/esm/operations/location.js +0 -171
- package/esm/operations/location.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/src/containerInstanceManagementClientContext.ts +0 -68
- package/src/models/containerGroupsMappers.ts +0 -46
- package/src/models/locationMappers.ts +0 -19
|
@@ -1,3019 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmContainerinstance = {}), global.msRestAzure, global.msRest));
|
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
|
56
|
-
* Licensed under the MIT License.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
|
68
|
-
* Licensed under the MIT License.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var ContainerPort = {
|
|
76
|
-
serializedName: "ContainerPort",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "ContainerPort",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
protocol: {
|
|
82
|
-
serializedName: "protocol",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
port: {
|
|
88
|
-
required: true,
|
|
89
|
-
serializedName: "port",
|
|
90
|
-
type: {
|
|
91
|
-
name: "Number"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
var EnvironmentVariable = {
|
|
98
|
-
serializedName: "EnvironmentVariable",
|
|
99
|
-
type: {
|
|
100
|
-
name: "Composite",
|
|
101
|
-
className: "EnvironmentVariable",
|
|
102
|
-
modelProperties: {
|
|
103
|
-
name: {
|
|
104
|
-
required: true,
|
|
105
|
-
serializedName: "name",
|
|
106
|
-
type: {
|
|
107
|
-
name: "String"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
value: {
|
|
111
|
-
serializedName: "value",
|
|
112
|
-
type: {
|
|
113
|
-
name: "String"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
secureValue: {
|
|
117
|
-
serializedName: "secureValue",
|
|
118
|
-
type: {
|
|
119
|
-
name: "String"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
var ContainerState = {
|
|
126
|
-
serializedName: "ContainerState",
|
|
127
|
-
type: {
|
|
128
|
-
name: "Composite",
|
|
129
|
-
className: "ContainerState",
|
|
130
|
-
modelProperties: {
|
|
131
|
-
state: {
|
|
132
|
-
readOnly: true,
|
|
133
|
-
serializedName: "state",
|
|
134
|
-
type: {
|
|
135
|
-
name: "String"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
startTime: {
|
|
139
|
-
readOnly: true,
|
|
140
|
-
serializedName: "startTime",
|
|
141
|
-
type: {
|
|
142
|
-
name: "DateTime"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
exitCode: {
|
|
146
|
-
readOnly: true,
|
|
147
|
-
serializedName: "exitCode",
|
|
148
|
-
type: {
|
|
149
|
-
name: "Number"
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
finishTime: {
|
|
153
|
-
readOnly: true,
|
|
154
|
-
serializedName: "finishTime",
|
|
155
|
-
type: {
|
|
156
|
-
name: "DateTime"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
detailStatus: {
|
|
160
|
-
readOnly: true,
|
|
161
|
-
serializedName: "detailStatus",
|
|
162
|
-
type: {
|
|
163
|
-
name: "String"
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
var Event = {
|
|
170
|
-
serializedName: "Event",
|
|
171
|
-
type: {
|
|
172
|
-
name: "Composite",
|
|
173
|
-
className: "Event",
|
|
174
|
-
modelProperties: {
|
|
175
|
-
count: {
|
|
176
|
-
readOnly: true,
|
|
177
|
-
serializedName: "count",
|
|
178
|
-
type: {
|
|
179
|
-
name: "Number"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
firstTimestamp: {
|
|
183
|
-
readOnly: true,
|
|
184
|
-
serializedName: "firstTimestamp",
|
|
185
|
-
type: {
|
|
186
|
-
name: "DateTime"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
lastTimestamp: {
|
|
190
|
-
readOnly: true,
|
|
191
|
-
serializedName: "lastTimestamp",
|
|
192
|
-
type: {
|
|
193
|
-
name: "DateTime"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
name: {
|
|
197
|
-
readOnly: true,
|
|
198
|
-
serializedName: "name",
|
|
199
|
-
type: {
|
|
200
|
-
name: "String"
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
message: {
|
|
204
|
-
readOnly: true,
|
|
205
|
-
serializedName: "message",
|
|
206
|
-
type: {
|
|
207
|
-
name: "String"
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
type: {
|
|
211
|
-
readOnly: true,
|
|
212
|
-
serializedName: "type",
|
|
213
|
-
type: {
|
|
214
|
-
name: "String"
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
};
|
|
220
|
-
var ContainerPropertiesInstanceView = {
|
|
221
|
-
serializedName: "ContainerProperties_instanceView",
|
|
222
|
-
type: {
|
|
223
|
-
name: "Composite",
|
|
224
|
-
className: "ContainerPropertiesInstanceView",
|
|
225
|
-
modelProperties: {
|
|
226
|
-
restartCount: {
|
|
227
|
-
readOnly: true,
|
|
228
|
-
serializedName: "restartCount",
|
|
229
|
-
type: {
|
|
230
|
-
name: "Number"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
currentState: {
|
|
234
|
-
readOnly: true,
|
|
235
|
-
serializedName: "currentState",
|
|
236
|
-
type: {
|
|
237
|
-
name: "Composite",
|
|
238
|
-
className: "ContainerState"
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
previousState: {
|
|
242
|
-
readOnly: true,
|
|
243
|
-
serializedName: "previousState",
|
|
244
|
-
type: {
|
|
245
|
-
name: "Composite",
|
|
246
|
-
className: "ContainerState"
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
events: {
|
|
250
|
-
readOnly: true,
|
|
251
|
-
serializedName: "events",
|
|
252
|
-
type: {
|
|
253
|
-
name: "Sequence",
|
|
254
|
-
element: {
|
|
255
|
-
type: {
|
|
256
|
-
name: "Composite",
|
|
257
|
-
className: "Event"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
};
|
|
265
|
-
var GpuResource = {
|
|
266
|
-
serializedName: "GpuResource",
|
|
267
|
-
type: {
|
|
268
|
-
name: "Composite",
|
|
269
|
-
className: "GpuResource",
|
|
270
|
-
modelProperties: {
|
|
271
|
-
count: {
|
|
272
|
-
required: true,
|
|
273
|
-
serializedName: "count",
|
|
274
|
-
type: {
|
|
275
|
-
name: "Number"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
sku: {
|
|
279
|
-
required: true,
|
|
280
|
-
serializedName: "sku",
|
|
281
|
-
type: {
|
|
282
|
-
name: "String"
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
};
|
|
288
|
-
var ResourceRequests = {
|
|
289
|
-
serializedName: "ResourceRequests",
|
|
290
|
-
type: {
|
|
291
|
-
name: "Composite",
|
|
292
|
-
className: "ResourceRequests",
|
|
293
|
-
modelProperties: {
|
|
294
|
-
memoryInGB: {
|
|
295
|
-
required: true,
|
|
296
|
-
serializedName: "memoryInGB",
|
|
297
|
-
type: {
|
|
298
|
-
name: "Number"
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
cpu: {
|
|
302
|
-
required: true,
|
|
303
|
-
serializedName: "cpu",
|
|
304
|
-
type: {
|
|
305
|
-
name: "Number"
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
gpu: {
|
|
309
|
-
serializedName: "gpu",
|
|
310
|
-
type: {
|
|
311
|
-
name: "Composite",
|
|
312
|
-
className: "GpuResource"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
var ResourceLimits = {
|
|
319
|
-
serializedName: "ResourceLimits",
|
|
320
|
-
type: {
|
|
321
|
-
name: "Composite",
|
|
322
|
-
className: "ResourceLimits",
|
|
323
|
-
modelProperties: {
|
|
324
|
-
memoryInGB: {
|
|
325
|
-
serializedName: "memoryInGB",
|
|
326
|
-
type: {
|
|
327
|
-
name: "Number"
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
cpu: {
|
|
331
|
-
serializedName: "cpu",
|
|
332
|
-
type: {
|
|
333
|
-
name: "Number"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
gpu: {
|
|
337
|
-
serializedName: "gpu",
|
|
338
|
-
type: {
|
|
339
|
-
name: "Composite",
|
|
340
|
-
className: "GpuResource"
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
var ResourceRequirements = {
|
|
347
|
-
serializedName: "ResourceRequirements",
|
|
348
|
-
type: {
|
|
349
|
-
name: "Composite",
|
|
350
|
-
className: "ResourceRequirements",
|
|
351
|
-
modelProperties: {
|
|
352
|
-
requests: {
|
|
353
|
-
required: true,
|
|
354
|
-
serializedName: "requests",
|
|
355
|
-
type: {
|
|
356
|
-
name: "Composite",
|
|
357
|
-
className: "ResourceRequests"
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
limits: {
|
|
361
|
-
serializedName: "limits",
|
|
362
|
-
type: {
|
|
363
|
-
name: "Composite",
|
|
364
|
-
className: "ResourceLimits"
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
};
|
|
370
|
-
var VolumeMount = {
|
|
371
|
-
serializedName: "VolumeMount",
|
|
372
|
-
type: {
|
|
373
|
-
name: "Composite",
|
|
374
|
-
className: "VolumeMount",
|
|
375
|
-
modelProperties: {
|
|
376
|
-
name: {
|
|
377
|
-
required: true,
|
|
378
|
-
serializedName: "name",
|
|
379
|
-
type: {
|
|
380
|
-
name: "String"
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
mountPath: {
|
|
384
|
-
required: true,
|
|
385
|
-
serializedName: "mountPath",
|
|
386
|
-
type: {
|
|
387
|
-
name: "String"
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
readOnly: {
|
|
391
|
-
serializedName: "readOnly",
|
|
392
|
-
type: {
|
|
393
|
-
name: "Boolean"
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
};
|
|
399
|
-
var ContainerExec = {
|
|
400
|
-
serializedName: "ContainerExec",
|
|
401
|
-
type: {
|
|
402
|
-
name: "Composite",
|
|
403
|
-
className: "ContainerExec",
|
|
404
|
-
modelProperties: {
|
|
405
|
-
command: {
|
|
406
|
-
serializedName: "command",
|
|
407
|
-
type: {
|
|
408
|
-
name: "Sequence",
|
|
409
|
-
element: {
|
|
410
|
-
type: {
|
|
411
|
-
name: "String"
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
};
|
|
419
|
-
var HttpHeaders = {
|
|
420
|
-
serializedName: "HttpHeaders",
|
|
421
|
-
type: {
|
|
422
|
-
name: "Composite",
|
|
423
|
-
className: "HttpHeaders",
|
|
424
|
-
modelProperties: {
|
|
425
|
-
name: {
|
|
426
|
-
serializedName: "name",
|
|
427
|
-
type: {
|
|
428
|
-
name: "String"
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
value: {
|
|
432
|
-
serializedName: "value",
|
|
433
|
-
type: {
|
|
434
|
-
name: "String"
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
};
|
|
440
|
-
var ContainerHttpGet = {
|
|
441
|
-
serializedName: "ContainerHttpGet",
|
|
442
|
-
type: {
|
|
443
|
-
name: "Composite",
|
|
444
|
-
className: "ContainerHttpGet",
|
|
445
|
-
modelProperties: {
|
|
446
|
-
path: {
|
|
447
|
-
serializedName: "path",
|
|
448
|
-
type: {
|
|
449
|
-
name: "String"
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
port: {
|
|
453
|
-
required: true,
|
|
454
|
-
serializedName: "port",
|
|
455
|
-
type: {
|
|
456
|
-
name: "Number"
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
scheme: {
|
|
460
|
-
serializedName: "scheme",
|
|
461
|
-
type: {
|
|
462
|
-
name: "String"
|
|
463
|
-
}
|
|
464
|
-
},
|
|
465
|
-
httpHeaders: {
|
|
466
|
-
serializedName: "httpHeaders",
|
|
467
|
-
type: {
|
|
468
|
-
name: "Composite",
|
|
469
|
-
className: "HttpHeaders"
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
};
|
|
475
|
-
var ContainerProbe = {
|
|
476
|
-
serializedName: "ContainerProbe",
|
|
477
|
-
type: {
|
|
478
|
-
name: "Composite",
|
|
479
|
-
className: "ContainerProbe",
|
|
480
|
-
modelProperties: {
|
|
481
|
-
exec: {
|
|
482
|
-
serializedName: "exec",
|
|
483
|
-
type: {
|
|
484
|
-
name: "Composite",
|
|
485
|
-
className: "ContainerExec"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
httpGet: {
|
|
489
|
-
serializedName: "httpGet",
|
|
490
|
-
type: {
|
|
491
|
-
name: "Composite",
|
|
492
|
-
className: "ContainerHttpGet"
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
initialDelaySeconds: {
|
|
496
|
-
serializedName: "initialDelaySeconds",
|
|
497
|
-
type: {
|
|
498
|
-
name: "Number"
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
periodSeconds: {
|
|
502
|
-
serializedName: "periodSeconds",
|
|
503
|
-
type: {
|
|
504
|
-
name: "Number"
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
failureThreshold: {
|
|
508
|
-
serializedName: "failureThreshold",
|
|
509
|
-
type: {
|
|
510
|
-
name: "Number"
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
successThreshold: {
|
|
514
|
-
serializedName: "successThreshold",
|
|
515
|
-
type: {
|
|
516
|
-
name: "Number"
|
|
517
|
-
}
|
|
518
|
-
},
|
|
519
|
-
timeoutSeconds: {
|
|
520
|
-
serializedName: "timeoutSeconds",
|
|
521
|
-
type: {
|
|
522
|
-
name: "Number"
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
};
|
|
528
|
-
var Container = {
|
|
529
|
-
serializedName: "Container",
|
|
530
|
-
type: {
|
|
531
|
-
name: "Composite",
|
|
532
|
-
className: "Container",
|
|
533
|
-
modelProperties: {
|
|
534
|
-
name: {
|
|
535
|
-
required: true,
|
|
536
|
-
serializedName: "name",
|
|
537
|
-
type: {
|
|
538
|
-
name: "String"
|
|
539
|
-
}
|
|
540
|
-
},
|
|
541
|
-
image: {
|
|
542
|
-
required: true,
|
|
543
|
-
serializedName: "properties.image",
|
|
544
|
-
type: {
|
|
545
|
-
name: "String"
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
command: {
|
|
549
|
-
serializedName: "properties.command",
|
|
550
|
-
type: {
|
|
551
|
-
name: "Sequence",
|
|
552
|
-
element: {
|
|
553
|
-
type: {
|
|
554
|
-
name: "String"
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
},
|
|
559
|
-
ports: {
|
|
560
|
-
serializedName: "properties.ports",
|
|
561
|
-
type: {
|
|
562
|
-
name: "Sequence",
|
|
563
|
-
element: {
|
|
564
|
-
type: {
|
|
565
|
-
name: "Composite",
|
|
566
|
-
className: "ContainerPort"
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
environmentVariables: {
|
|
572
|
-
serializedName: "properties.environmentVariables",
|
|
573
|
-
type: {
|
|
574
|
-
name: "Sequence",
|
|
575
|
-
element: {
|
|
576
|
-
type: {
|
|
577
|
-
name: "Composite",
|
|
578
|
-
className: "EnvironmentVariable"
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
instanceView: {
|
|
584
|
-
readOnly: true,
|
|
585
|
-
serializedName: "properties.instanceView",
|
|
586
|
-
type: {
|
|
587
|
-
name: "Composite",
|
|
588
|
-
className: "ContainerPropertiesInstanceView"
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
resources: {
|
|
592
|
-
required: true,
|
|
593
|
-
serializedName: "properties.resources",
|
|
594
|
-
type: {
|
|
595
|
-
name: "Composite",
|
|
596
|
-
className: "ResourceRequirements"
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
volumeMounts: {
|
|
600
|
-
serializedName: "properties.volumeMounts",
|
|
601
|
-
type: {
|
|
602
|
-
name: "Sequence",
|
|
603
|
-
element: {
|
|
604
|
-
type: {
|
|
605
|
-
name: "Composite",
|
|
606
|
-
className: "VolumeMount"
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
livenessProbe: {
|
|
612
|
-
serializedName: "properties.livenessProbe",
|
|
613
|
-
type: {
|
|
614
|
-
name: "Composite",
|
|
615
|
-
className: "ContainerProbe"
|
|
616
|
-
}
|
|
617
|
-
},
|
|
618
|
-
readinessProbe: {
|
|
619
|
-
serializedName: "properties.readinessProbe",
|
|
620
|
-
type: {
|
|
621
|
-
name: "Composite",
|
|
622
|
-
className: "ContainerProbe"
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
};
|
|
628
|
-
var AzureFileVolume = {
|
|
629
|
-
serializedName: "AzureFileVolume",
|
|
630
|
-
type: {
|
|
631
|
-
name: "Composite",
|
|
632
|
-
className: "AzureFileVolume",
|
|
633
|
-
modelProperties: {
|
|
634
|
-
shareName: {
|
|
635
|
-
required: true,
|
|
636
|
-
serializedName: "shareName",
|
|
637
|
-
type: {
|
|
638
|
-
name: "String"
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
readOnly: {
|
|
642
|
-
serializedName: "readOnly",
|
|
643
|
-
type: {
|
|
644
|
-
name: "Boolean"
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
storageAccountName: {
|
|
648
|
-
required: true,
|
|
649
|
-
serializedName: "storageAccountName",
|
|
650
|
-
type: {
|
|
651
|
-
name: "String"
|
|
652
|
-
}
|
|
653
|
-
},
|
|
654
|
-
storageAccountKey: {
|
|
655
|
-
serializedName: "storageAccountKey",
|
|
656
|
-
type: {
|
|
657
|
-
name: "String"
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
};
|
|
663
|
-
var GitRepoVolume = {
|
|
664
|
-
serializedName: "GitRepoVolume",
|
|
665
|
-
type: {
|
|
666
|
-
name: "Composite",
|
|
667
|
-
className: "GitRepoVolume",
|
|
668
|
-
modelProperties: {
|
|
669
|
-
directory: {
|
|
670
|
-
serializedName: "directory",
|
|
671
|
-
type: {
|
|
672
|
-
name: "String"
|
|
673
|
-
}
|
|
674
|
-
},
|
|
675
|
-
repository: {
|
|
676
|
-
required: true,
|
|
677
|
-
serializedName: "repository",
|
|
678
|
-
type: {
|
|
679
|
-
name: "String"
|
|
680
|
-
}
|
|
681
|
-
},
|
|
682
|
-
revision: {
|
|
683
|
-
serializedName: "revision",
|
|
684
|
-
type: {
|
|
685
|
-
name: "String"
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
};
|
|
691
|
-
var Volume = {
|
|
692
|
-
serializedName: "Volume",
|
|
693
|
-
type: {
|
|
694
|
-
name: "Composite",
|
|
695
|
-
className: "Volume",
|
|
696
|
-
modelProperties: {
|
|
697
|
-
name: {
|
|
698
|
-
required: true,
|
|
699
|
-
serializedName: "name",
|
|
700
|
-
type: {
|
|
701
|
-
name: "String"
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
azureFile: {
|
|
705
|
-
serializedName: "azureFile",
|
|
706
|
-
type: {
|
|
707
|
-
name: "Composite",
|
|
708
|
-
className: "AzureFileVolume"
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
|
-
emptyDir: {
|
|
712
|
-
serializedName: "emptyDir",
|
|
713
|
-
type: {
|
|
714
|
-
name: "Object"
|
|
715
|
-
}
|
|
716
|
-
},
|
|
717
|
-
secret: {
|
|
718
|
-
serializedName: "secret",
|
|
719
|
-
type: {
|
|
720
|
-
name: "Dictionary",
|
|
721
|
-
value: {
|
|
722
|
-
type: {
|
|
723
|
-
name: "String"
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
|
-
gitRepo: {
|
|
729
|
-
serializedName: "gitRepo",
|
|
730
|
-
type: {
|
|
731
|
-
name: "Composite",
|
|
732
|
-
className: "GitRepoVolume"
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
};
|
|
738
|
-
var ContainerGroupIdentityUserAssignedIdentitiesValue = {
|
|
739
|
-
serializedName: "ContainerGroupIdentity_userAssignedIdentitiesValue",
|
|
740
|
-
type: {
|
|
741
|
-
name: "Composite",
|
|
742
|
-
className: "ContainerGroupIdentityUserAssignedIdentitiesValue",
|
|
743
|
-
modelProperties: {
|
|
744
|
-
principalId: {
|
|
745
|
-
readOnly: true,
|
|
746
|
-
serializedName: "principalId",
|
|
747
|
-
type: {
|
|
748
|
-
name: "String"
|
|
749
|
-
}
|
|
750
|
-
},
|
|
751
|
-
clientId: {
|
|
752
|
-
readOnly: true,
|
|
753
|
-
serializedName: "clientId",
|
|
754
|
-
type: {
|
|
755
|
-
name: "String"
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
};
|
|
761
|
-
var ContainerGroupIdentity = {
|
|
762
|
-
serializedName: "ContainerGroupIdentity",
|
|
763
|
-
type: {
|
|
764
|
-
name: "Composite",
|
|
765
|
-
className: "ContainerGroupIdentity",
|
|
766
|
-
modelProperties: {
|
|
767
|
-
principalId: {
|
|
768
|
-
readOnly: true,
|
|
769
|
-
serializedName: "principalId",
|
|
770
|
-
type: {
|
|
771
|
-
name: "String"
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
tenantId: {
|
|
775
|
-
readOnly: true,
|
|
776
|
-
serializedName: "tenantId",
|
|
777
|
-
type: {
|
|
778
|
-
name: "String"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
type: {
|
|
782
|
-
serializedName: "type",
|
|
783
|
-
type: {
|
|
784
|
-
name: "Enum",
|
|
785
|
-
allowedValues: [
|
|
786
|
-
"SystemAssigned",
|
|
787
|
-
"UserAssigned",
|
|
788
|
-
"SystemAssigned, UserAssigned",
|
|
789
|
-
"None"
|
|
790
|
-
]
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
userAssignedIdentities: {
|
|
794
|
-
serializedName: "userAssignedIdentities",
|
|
795
|
-
type: {
|
|
796
|
-
name: "Dictionary",
|
|
797
|
-
value: {
|
|
798
|
-
type: {
|
|
799
|
-
name: "Composite",
|
|
800
|
-
className: "ContainerGroupIdentityUserAssignedIdentitiesValue"
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
};
|
|
808
|
-
var ImageRegistryCredential = {
|
|
809
|
-
serializedName: "ImageRegistryCredential",
|
|
810
|
-
type: {
|
|
811
|
-
name: "Composite",
|
|
812
|
-
className: "ImageRegistryCredential",
|
|
813
|
-
modelProperties: {
|
|
814
|
-
server: {
|
|
815
|
-
required: true,
|
|
816
|
-
serializedName: "server",
|
|
817
|
-
type: {
|
|
818
|
-
name: "String"
|
|
819
|
-
}
|
|
820
|
-
},
|
|
821
|
-
username: {
|
|
822
|
-
required: true,
|
|
823
|
-
serializedName: "username",
|
|
824
|
-
type: {
|
|
825
|
-
name: "String"
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
|
-
password: {
|
|
829
|
-
serializedName: "password",
|
|
830
|
-
type: {
|
|
831
|
-
name: "String"
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
};
|
|
837
|
-
var Port = {
|
|
838
|
-
serializedName: "Port",
|
|
839
|
-
type: {
|
|
840
|
-
name: "Composite",
|
|
841
|
-
className: "Port",
|
|
842
|
-
modelProperties: {
|
|
843
|
-
protocol: {
|
|
844
|
-
serializedName: "protocol",
|
|
845
|
-
type: {
|
|
846
|
-
name: "String"
|
|
847
|
-
}
|
|
848
|
-
},
|
|
849
|
-
port: {
|
|
850
|
-
required: true,
|
|
851
|
-
serializedName: "port",
|
|
852
|
-
type: {
|
|
853
|
-
name: "Number"
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
};
|
|
859
|
-
var IpAddress = {
|
|
860
|
-
serializedName: "IpAddress",
|
|
861
|
-
type: {
|
|
862
|
-
name: "Composite",
|
|
863
|
-
className: "IpAddress",
|
|
864
|
-
modelProperties: {
|
|
865
|
-
ports: {
|
|
866
|
-
required: true,
|
|
867
|
-
serializedName: "ports",
|
|
868
|
-
type: {
|
|
869
|
-
name: "Sequence",
|
|
870
|
-
element: {
|
|
871
|
-
type: {
|
|
872
|
-
name: "Composite",
|
|
873
|
-
className: "Port"
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
},
|
|
878
|
-
type: {
|
|
879
|
-
required: true,
|
|
880
|
-
serializedName: "type",
|
|
881
|
-
type: {
|
|
882
|
-
name: "String"
|
|
883
|
-
}
|
|
884
|
-
},
|
|
885
|
-
ip: {
|
|
886
|
-
serializedName: "ip",
|
|
887
|
-
type: {
|
|
888
|
-
name: "String"
|
|
889
|
-
}
|
|
890
|
-
},
|
|
891
|
-
dnsNameLabel: {
|
|
892
|
-
serializedName: "dnsNameLabel",
|
|
893
|
-
type: {
|
|
894
|
-
name: "String"
|
|
895
|
-
}
|
|
896
|
-
},
|
|
897
|
-
fqdn: {
|
|
898
|
-
readOnly: true,
|
|
899
|
-
serializedName: "fqdn",
|
|
900
|
-
type: {
|
|
901
|
-
name: "String"
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
};
|
|
907
|
-
var ContainerGroupPropertiesInstanceView = {
|
|
908
|
-
serializedName: "ContainerGroup_properties_instanceView",
|
|
909
|
-
type: {
|
|
910
|
-
name: "Composite",
|
|
911
|
-
className: "ContainerGroupPropertiesInstanceView",
|
|
912
|
-
modelProperties: {
|
|
913
|
-
events: {
|
|
914
|
-
readOnly: true,
|
|
915
|
-
serializedName: "events",
|
|
916
|
-
type: {
|
|
917
|
-
name: "Sequence",
|
|
918
|
-
element: {
|
|
919
|
-
type: {
|
|
920
|
-
name: "Composite",
|
|
921
|
-
className: "Event"
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
},
|
|
926
|
-
state: {
|
|
927
|
-
readOnly: true,
|
|
928
|
-
serializedName: "state",
|
|
929
|
-
type: {
|
|
930
|
-
name: "String"
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
};
|
|
936
|
-
var LogAnalytics = {
|
|
937
|
-
serializedName: "LogAnalytics",
|
|
938
|
-
type: {
|
|
939
|
-
name: "Composite",
|
|
940
|
-
className: "LogAnalytics",
|
|
941
|
-
modelProperties: {
|
|
942
|
-
workspaceId: {
|
|
943
|
-
required: true,
|
|
944
|
-
serializedName: "workspaceId",
|
|
945
|
-
type: {
|
|
946
|
-
name: "String"
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
workspaceKey: {
|
|
950
|
-
required: true,
|
|
951
|
-
serializedName: "workspaceKey",
|
|
952
|
-
type: {
|
|
953
|
-
name: "String"
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
logType: {
|
|
957
|
-
serializedName: "logType",
|
|
958
|
-
type: {
|
|
959
|
-
name: "String"
|
|
960
|
-
}
|
|
961
|
-
},
|
|
962
|
-
metadata: {
|
|
963
|
-
serializedName: "metadata",
|
|
964
|
-
type: {
|
|
965
|
-
name: "Dictionary",
|
|
966
|
-
value: {
|
|
967
|
-
type: {
|
|
968
|
-
name: "String"
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
workspaceResourceId: {
|
|
974
|
-
serializedName: "workspaceResourceId",
|
|
975
|
-
type: {
|
|
976
|
-
name: "Dictionary",
|
|
977
|
-
value: {
|
|
978
|
-
type: {
|
|
979
|
-
name: "String"
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
};
|
|
987
|
-
var ContainerGroupDiagnostics = {
|
|
988
|
-
serializedName: "ContainerGroupDiagnostics",
|
|
989
|
-
type: {
|
|
990
|
-
name: "Composite",
|
|
991
|
-
className: "ContainerGroupDiagnostics",
|
|
992
|
-
modelProperties: {
|
|
993
|
-
logAnalytics: {
|
|
994
|
-
serializedName: "logAnalytics",
|
|
995
|
-
type: {
|
|
996
|
-
name: "Composite",
|
|
997
|
-
className: "LogAnalytics"
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
};
|
|
1003
|
-
var ContainerGroupNetworkProfile = {
|
|
1004
|
-
serializedName: "ContainerGroupNetworkProfile",
|
|
1005
|
-
type: {
|
|
1006
|
-
name: "Composite",
|
|
1007
|
-
className: "ContainerGroupNetworkProfile",
|
|
1008
|
-
modelProperties: {
|
|
1009
|
-
id: {
|
|
1010
|
-
required: true,
|
|
1011
|
-
serializedName: "id",
|
|
1012
|
-
type: {
|
|
1013
|
-
name: "String"
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
};
|
|
1019
|
-
var DnsConfiguration = {
|
|
1020
|
-
serializedName: "DnsConfiguration",
|
|
1021
|
-
type: {
|
|
1022
|
-
name: "Composite",
|
|
1023
|
-
className: "DnsConfiguration",
|
|
1024
|
-
modelProperties: {
|
|
1025
|
-
nameServers: {
|
|
1026
|
-
required: true,
|
|
1027
|
-
serializedName: "nameServers",
|
|
1028
|
-
type: {
|
|
1029
|
-
name: "Sequence",
|
|
1030
|
-
element: {
|
|
1031
|
-
type: {
|
|
1032
|
-
name: "String"
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
},
|
|
1037
|
-
searchDomains: {
|
|
1038
|
-
serializedName: "searchDomains",
|
|
1039
|
-
type: {
|
|
1040
|
-
name: "String"
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
options: {
|
|
1044
|
-
serializedName: "options",
|
|
1045
|
-
type: {
|
|
1046
|
-
name: "String"
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
};
|
|
1052
|
-
var EncryptionProperties = {
|
|
1053
|
-
serializedName: "EncryptionProperties",
|
|
1054
|
-
type: {
|
|
1055
|
-
name: "Composite",
|
|
1056
|
-
className: "EncryptionProperties",
|
|
1057
|
-
modelProperties: {
|
|
1058
|
-
vaultBaseUrl: {
|
|
1059
|
-
required: true,
|
|
1060
|
-
serializedName: "vaultBaseUrl",
|
|
1061
|
-
type: {
|
|
1062
|
-
name: "String"
|
|
1063
|
-
}
|
|
1064
|
-
},
|
|
1065
|
-
keyName: {
|
|
1066
|
-
required: true,
|
|
1067
|
-
serializedName: "keyName",
|
|
1068
|
-
type: {
|
|
1069
|
-
name: "String"
|
|
1070
|
-
}
|
|
1071
|
-
},
|
|
1072
|
-
keyVersion: {
|
|
1073
|
-
required: true,
|
|
1074
|
-
serializedName: "keyVersion",
|
|
1075
|
-
type: {
|
|
1076
|
-
name: "String"
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
};
|
|
1082
|
-
var InitContainerPropertiesDefinitionInstanceView = {
|
|
1083
|
-
serializedName: "InitContainerPropertiesDefinition_instanceView",
|
|
1084
|
-
type: {
|
|
1085
|
-
name: "Composite",
|
|
1086
|
-
className: "InitContainerPropertiesDefinitionInstanceView",
|
|
1087
|
-
modelProperties: {
|
|
1088
|
-
restartCount: {
|
|
1089
|
-
readOnly: true,
|
|
1090
|
-
serializedName: "restartCount",
|
|
1091
|
-
type: {
|
|
1092
|
-
name: "Number"
|
|
1093
|
-
}
|
|
1094
|
-
},
|
|
1095
|
-
currentState: {
|
|
1096
|
-
readOnly: true,
|
|
1097
|
-
serializedName: "currentState",
|
|
1098
|
-
type: {
|
|
1099
|
-
name: "Composite",
|
|
1100
|
-
className: "ContainerState"
|
|
1101
|
-
}
|
|
1102
|
-
},
|
|
1103
|
-
previousState: {
|
|
1104
|
-
readOnly: true,
|
|
1105
|
-
serializedName: "previousState",
|
|
1106
|
-
type: {
|
|
1107
|
-
name: "Composite",
|
|
1108
|
-
className: "ContainerState"
|
|
1109
|
-
}
|
|
1110
|
-
},
|
|
1111
|
-
events: {
|
|
1112
|
-
readOnly: true,
|
|
1113
|
-
serializedName: "events",
|
|
1114
|
-
type: {
|
|
1115
|
-
name: "Sequence",
|
|
1116
|
-
element: {
|
|
1117
|
-
type: {
|
|
1118
|
-
name: "Composite",
|
|
1119
|
-
className: "Event"
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
};
|
|
1127
|
-
var InitContainerDefinition = {
|
|
1128
|
-
serializedName: "InitContainerDefinition",
|
|
1129
|
-
type: {
|
|
1130
|
-
name: "Composite",
|
|
1131
|
-
className: "InitContainerDefinition",
|
|
1132
|
-
modelProperties: {
|
|
1133
|
-
name: {
|
|
1134
|
-
required: true,
|
|
1135
|
-
serializedName: "name",
|
|
1136
|
-
type: {
|
|
1137
|
-
name: "String"
|
|
1138
|
-
}
|
|
1139
|
-
},
|
|
1140
|
-
image: {
|
|
1141
|
-
serializedName: "properties.image",
|
|
1142
|
-
type: {
|
|
1143
|
-
name: "String"
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
command: {
|
|
1147
|
-
serializedName: "properties.command",
|
|
1148
|
-
type: {
|
|
1149
|
-
name: "Sequence",
|
|
1150
|
-
element: {
|
|
1151
|
-
type: {
|
|
1152
|
-
name: "String"
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
},
|
|
1157
|
-
environmentVariables: {
|
|
1158
|
-
serializedName: "properties.environmentVariables",
|
|
1159
|
-
type: {
|
|
1160
|
-
name: "Sequence",
|
|
1161
|
-
element: {
|
|
1162
|
-
type: {
|
|
1163
|
-
name: "Composite",
|
|
1164
|
-
className: "EnvironmentVariable"
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
},
|
|
1169
|
-
instanceView: {
|
|
1170
|
-
readOnly: true,
|
|
1171
|
-
serializedName: "properties.instanceView",
|
|
1172
|
-
type: {
|
|
1173
|
-
name: "Composite",
|
|
1174
|
-
className: "InitContainerPropertiesDefinitionInstanceView"
|
|
1175
|
-
}
|
|
1176
|
-
},
|
|
1177
|
-
volumeMounts: {
|
|
1178
|
-
serializedName: "properties.volumeMounts",
|
|
1179
|
-
type: {
|
|
1180
|
-
name: "Sequence",
|
|
1181
|
-
element: {
|
|
1182
|
-
type: {
|
|
1183
|
-
name: "Composite",
|
|
1184
|
-
className: "VolumeMount"
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
1191
|
-
};
|
|
1192
|
-
var Resource = {
|
|
1193
|
-
serializedName: "Resource",
|
|
1194
|
-
type: {
|
|
1195
|
-
name: "Composite",
|
|
1196
|
-
className: "Resource",
|
|
1197
|
-
modelProperties: {
|
|
1198
|
-
id: {
|
|
1199
|
-
readOnly: true,
|
|
1200
|
-
serializedName: "id",
|
|
1201
|
-
type: {
|
|
1202
|
-
name: "String"
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
|
-
name: {
|
|
1206
|
-
readOnly: true,
|
|
1207
|
-
serializedName: "name",
|
|
1208
|
-
type: {
|
|
1209
|
-
name: "String"
|
|
1210
|
-
}
|
|
1211
|
-
},
|
|
1212
|
-
type: {
|
|
1213
|
-
readOnly: true,
|
|
1214
|
-
serializedName: "type",
|
|
1215
|
-
type: {
|
|
1216
|
-
name: "String"
|
|
1217
|
-
}
|
|
1218
|
-
},
|
|
1219
|
-
location: {
|
|
1220
|
-
serializedName: "location",
|
|
1221
|
-
type: {
|
|
1222
|
-
name: "String"
|
|
1223
|
-
}
|
|
1224
|
-
},
|
|
1225
|
-
tags: {
|
|
1226
|
-
serializedName: "tags",
|
|
1227
|
-
type: {
|
|
1228
|
-
name: "Dictionary",
|
|
1229
|
-
value: {
|
|
1230
|
-
type: {
|
|
1231
|
-
name: "String"
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
};
|
|
1239
|
-
var ContainerGroup = {
|
|
1240
|
-
serializedName: "ContainerGroup",
|
|
1241
|
-
type: {
|
|
1242
|
-
name: "Composite",
|
|
1243
|
-
className: "ContainerGroup",
|
|
1244
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { identity: {
|
|
1245
|
-
serializedName: "identity",
|
|
1246
|
-
type: {
|
|
1247
|
-
name: "Composite",
|
|
1248
|
-
className: "ContainerGroupIdentity"
|
|
1249
|
-
}
|
|
1250
|
-
}, provisioningState: {
|
|
1251
|
-
readOnly: true,
|
|
1252
|
-
serializedName: "properties.provisioningState",
|
|
1253
|
-
type: {
|
|
1254
|
-
name: "String"
|
|
1255
|
-
}
|
|
1256
|
-
}, containers: {
|
|
1257
|
-
required: true,
|
|
1258
|
-
serializedName: "properties.containers",
|
|
1259
|
-
type: {
|
|
1260
|
-
name: "Sequence",
|
|
1261
|
-
element: {
|
|
1262
|
-
type: {
|
|
1263
|
-
name: "Composite",
|
|
1264
|
-
className: "Container"
|
|
1265
|
-
}
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
}, imageRegistryCredentials: {
|
|
1269
|
-
serializedName: "properties.imageRegistryCredentials",
|
|
1270
|
-
type: {
|
|
1271
|
-
name: "Sequence",
|
|
1272
|
-
element: {
|
|
1273
|
-
type: {
|
|
1274
|
-
name: "Composite",
|
|
1275
|
-
className: "ImageRegistryCredential"
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
}, restartPolicy: {
|
|
1280
|
-
serializedName: "properties.restartPolicy",
|
|
1281
|
-
type: {
|
|
1282
|
-
name: "String"
|
|
1283
|
-
}
|
|
1284
|
-
}, ipAddress: {
|
|
1285
|
-
serializedName: "properties.ipAddress",
|
|
1286
|
-
type: {
|
|
1287
|
-
name: "Composite",
|
|
1288
|
-
className: "IpAddress"
|
|
1289
|
-
}
|
|
1290
|
-
}, osType: {
|
|
1291
|
-
required: true,
|
|
1292
|
-
serializedName: "properties.osType",
|
|
1293
|
-
type: {
|
|
1294
|
-
name: "String"
|
|
1295
|
-
}
|
|
1296
|
-
}, volumes: {
|
|
1297
|
-
serializedName: "properties.volumes",
|
|
1298
|
-
type: {
|
|
1299
|
-
name: "Sequence",
|
|
1300
|
-
element: {
|
|
1301
|
-
type: {
|
|
1302
|
-
name: "Composite",
|
|
1303
|
-
className: "Volume"
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
}, instanceView: {
|
|
1308
|
-
readOnly: true,
|
|
1309
|
-
serializedName: "properties.instanceView",
|
|
1310
|
-
type: {
|
|
1311
|
-
name: "Composite",
|
|
1312
|
-
className: "ContainerGroupPropertiesInstanceView"
|
|
1313
|
-
}
|
|
1314
|
-
}, diagnostics: {
|
|
1315
|
-
serializedName: "properties.diagnostics",
|
|
1316
|
-
type: {
|
|
1317
|
-
name: "Composite",
|
|
1318
|
-
className: "ContainerGroupDiagnostics"
|
|
1319
|
-
}
|
|
1320
|
-
}, networkProfile: {
|
|
1321
|
-
serializedName: "properties.networkProfile",
|
|
1322
|
-
type: {
|
|
1323
|
-
name: "Composite",
|
|
1324
|
-
className: "ContainerGroupNetworkProfile"
|
|
1325
|
-
}
|
|
1326
|
-
}, dnsConfig: {
|
|
1327
|
-
serializedName: "properties.dnsConfig",
|
|
1328
|
-
type: {
|
|
1329
|
-
name: "Composite",
|
|
1330
|
-
className: "DnsConfiguration"
|
|
1331
|
-
}
|
|
1332
|
-
}, sku: {
|
|
1333
|
-
serializedName: "properties.sku",
|
|
1334
|
-
type: {
|
|
1335
|
-
name: "String"
|
|
1336
|
-
}
|
|
1337
|
-
}, encryptionProperties: {
|
|
1338
|
-
serializedName: "properties.encryptionProperties",
|
|
1339
|
-
type: {
|
|
1340
|
-
name: "Composite",
|
|
1341
|
-
className: "EncryptionProperties"
|
|
1342
|
-
}
|
|
1343
|
-
}, initContainers: {
|
|
1344
|
-
serializedName: "properties.initContainers",
|
|
1345
|
-
type: {
|
|
1346
|
-
name: "Sequence",
|
|
1347
|
-
element: {
|
|
1348
|
-
type: {
|
|
1349
|
-
name: "Composite",
|
|
1350
|
-
className: "InitContainerDefinition"
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
} })
|
|
1355
|
-
}
|
|
1356
|
-
};
|
|
1357
|
-
var OperationDisplay = {
|
|
1358
|
-
serializedName: "Operation_display",
|
|
1359
|
-
type: {
|
|
1360
|
-
name: "Composite",
|
|
1361
|
-
className: "OperationDisplay",
|
|
1362
|
-
modelProperties: {
|
|
1363
|
-
provider: {
|
|
1364
|
-
serializedName: "provider",
|
|
1365
|
-
type: {
|
|
1366
|
-
name: "String"
|
|
1367
|
-
}
|
|
1368
|
-
},
|
|
1369
|
-
resource: {
|
|
1370
|
-
serializedName: "resource",
|
|
1371
|
-
type: {
|
|
1372
|
-
name: "String"
|
|
1373
|
-
}
|
|
1374
|
-
},
|
|
1375
|
-
operation: {
|
|
1376
|
-
serializedName: "operation",
|
|
1377
|
-
type: {
|
|
1378
|
-
name: "String"
|
|
1379
|
-
}
|
|
1380
|
-
},
|
|
1381
|
-
description: {
|
|
1382
|
-
serializedName: "description",
|
|
1383
|
-
type: {
|
|
1384
|
-
name: "String"
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
};
|
|
1390
|
-
var Operation = {
|
|
1391
|
-
serializedName: "Operation",
|
|
1392
|
-
type: {
|
|
1393
|
-
name: "Composite",
|
|
1394
|
-
className: "Operation",
|
|
1395
|
-
modelProperties: {
|
|
1396
|
-
name: {
|
|
1397
|
-
required: true,
|
|
1398
|
-
serializedName: "name",
|
|
1399
|
-
type: {
|
|
1400
|
-
name: "String"
|
|
1401
|
-
}
|
|
1402
|
-
},
|
|
1403
|
-
display: {
|
|
1404
|
-
required: true,
|
|
1405
|
-
serializedName: "display",
|
|
1406
|
-
type: {
|
|
1407
|
-
name: "Composite",
|
|
1408
|
-
className: "OperationDisplay"
|
|
1409
|
-
}
|
|
1410
|
-
},
|
|
1411
|
-
properties: {
|
|
1412
|
-
serializedName: "properties",
|
|
1413
|
-
type: {
|
|
1414
|
-
name: "Object"
|
|
1415
|
-
}
|
|
1416
|
-
},
|
|
1417
|
-
origin: {
|
|
1418
|
-
serializedName: "origin",
|
|
1419
|
-
type: {
|
|
1420
|
-
name: "String"
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
}
|
|
1425
|
-
};
|
|
1426
|
-
var UsageName = {
|
|
1427
|
-
serializedName: "Usage_name",
|
|
1428
|
-
type: {
|
|
1429
|
-
name: "Composite",
|
|
1430
|
-
className: "UsageName",
|
|
1431
|
-
modelProperties: {
|
|
1432
|
-
value: {
|
|
1433
|
-
readOnly: true,
|
|
1434
|
-
serializedName: "value",
|
|
1435
|
-
type: {
|
|
1436
|
-
name: "String"
|
|
1437
|
-
}
|
|
1438
|
-
},
|
|
1439
|
-
localizedValue: {
|
|
1440
|
-
readOnly: true,
|
|
1441
|
-
serializedName: "localizedValue",
|
|
1442
|
-
type: {
|
|
1443
|
-
name: "String"
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
};
|
|
1449
|
-
var Usage = {
|
|
1450
|
-
serializedName: "Usage",
|
|
1451
|
-
type: {
|
|
1452
|
-
name: "Composite",
|
|
1453
|
-
className: "Usage",
|
|
1454
|
-
modelProperties: {
|
|
1455
|
-
unit: {
|
|
1456
|
-
readOnly: true,
|
|
1457
|
-
serializedName: "unit",
|
|
1458
|
-
type: {
|
|
1459
|
-
name: "String"
|
|
1460
|
-
}
|
|
1461
|
-
},
|
|
1462
|
-
currentValue: {
|
|
1463
|
-
readOnly: true,
|
|
1464
|
-
serializedName: "currentValue",
|
|
1465
|
-
type: {
|
|
1466
|
-
name: "Number"
|
|
1467
|
-
}
|
|
1468
|
-
},
|
|
1469
|
-
limit: {
|
|
1470
|
-
readOnly: true,
|
|
1471
|
-
serializedName: "limit",
|
|
1472
|
-
type: {
|
|
1473
|
-
name: "Number"
|
|
1474
|
-
}
|
|
1475
|
-
},
|
|
1476
|
-
name: {
|
|
1477
|
-
readOnly: true,
|
|
1478
|
-
serializedName: "name",
|
|
1479
|
-
type: {
|
|
1480
|
-
name: "Composite",
|
|
1481
|
-
className: "UsageName"
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1486
|
-
};
|
|
1487
|
-
var Logs = {
|
|
1488
|
-
serializedName: "Logs",
|
|
1489
|
-
type: {
|
|
1490
|
-
name: "Composite",
|
|
1491
|
-
className: "Logs",
|
|
1492
|
-
modelProperties: {
|
|
1493
|
-
content: {
|
|
1494
|
-
serializedName: "content",
|
|
1495
|
-
type: {
|
|
1496
|
-
name: "String"
|
|
1497
|
-
}
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
};
|
|
1502
|
-
var ContainerExecRequestTerminalSize = {
|
|
1503
|
-
serializedName: "ContainerExecRequest_terminalSize",
|
|
1504
|
-
type: {
|
|
1505
|
-
name: "Composite",
|
|
1506
|
-
className: "ContainerExecRequestTerminalSize",
|
|
1507
|
-
modelProperties: {
|
|
1508
|
-
rows: {
|
|
1509
|
-
serializedName: "rows",
|
|
1510
|
-
type: {
|
|
1511
|
-
name: "Number"
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
cols: {
|
|
1515
|
-
serializedName: "cols",
|
|
1516
|
-
type: {
|
|
1517
|
-
name: "Number"
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
};
|
|
1523
|
-
var ContainerExecRequest = {
|
|
1524
|
-
serializedName: "ContainerExecRequest",
|
|
1525
|
-
type: {
|
|
1526
|
-
name: "Composite",
|
|
1527
|
-
className: "ContainerExecRequest",
|
|
1528
|
-
modelProperties: {
|
|
1529
|
-
command: {
|
|
1530
|
-
serializedName: "command",
|
|
1531
|
-
type: {
|
|
1532
|
-
name: "String"
|
|
1533
|
-
}
|
|
1534
|
-
},
|
|
1535
|
-
terminalSize: {
|
|
1536
|
-
serializedName: "terminalSize",
|
|
1537
|
-
type: {
|
|
1538
|
-
name: "Composite",
|
|
1539
|
-
className: "ContainerExecRequestTerminalSize"
|
|
1540
|
-
}
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
|
-
}
|
|
1544
|
-
};
|
|
1545
|
-
var ContainerExecResponse = {
|
|
1546
|
-
serializedName: "ContainerExecResponse",
|
|
1547
|
-
type: {
|
|
1548
|
-
name: "Composite",
|
|
1549
|
-
className: "ContainerExecResponse",
|
|
1550
|
-
modelProperties: {
|
|
1551
|
-
webSocketUri: {
|
|
1552
|
-
serializedName: "webSocketUri",
|
|
1553
|
-
type: {
|
|
1554
|
-
name: "String"
|
|
1555
|
-
}
|
|
1556
|
-
},
|
|
1557
|
-
password: {
|
|
1558
|
-
serializedName: "password",
|
|
1559
|
-
type: {
|
|
1560
|
-
name: "String"
|
|
1561
|
-
}
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
};
|
|
1566
|
-
var ContainerAttachResponse = {
|
|
1567
|
-
serializedName: "ContainerAttachResponse",
|
|
1568
|
-
type: {
|
|
1569
|
-
name: "Composite",
|
|
1570
|
-
className: "ContainerAttachResponse",
|
|
1571
|
-
modelProperties: {
|
|
1572
|
-
webSocketUri: {
|
|
1573
|
-
serializedName: "webSocketUri",
|
|
1574
|
-
type: {
|
|
1575
|
-
name: "String"
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1578
|
-
password: {
|
|
1579
|
-
serializedName: "password",
|
|
1580
|
-
type: {
|
|
1581
|
-
name: "String"
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
};
|
|
1587
|
-
var CachedImages = {
|
|
1588
|
-
serializedName: "cachedImages",
|
|
1589
|
-
type: {
|
|
1590
|
-
name: "Composite",
|
|
1591
|
-
className: "CachedImages",
|
|
1592
|
-
modelProperties: {
|
|
1593
|
-
osType: {
|
|
1594
|
-
required: true,
|
|
1595
|
-
serializedName: "osType",
|
|
1596
|
-
type: {
|
|
1597
|
-
name: "String"
|
|
1598
|
-
}
|
|
1599
|
-
},
|
|
1600
|
-
image: {
|
|
1601
|
-
required: true,
|
|
1602
|
-
serializedName: "image",
|
|
1603
|
-
type: {
|
|
1604
|
-
name: "String"
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
}
|
|
1609
|
-
};
|
|
1610
|
-
var CapabilitiesCapabilities = {
|
|
1611
|
-
serializedName: "Capabilities_capabilities",
|
|
1612
|
-
type: {
|
|
1613
|
-
name: "Composite",
|
|
1614
|
-
className: "CapabilitiesCapabilities",
|
|
1615
|
-
modelProperties: {
|
|
1616
|
-
maxMemoryInGB: {
|
|
1617
|
-
readOnly: true,
|
|
1618
|
-
serializedName: "maxMemoryInGB",
|
|
1619
|
-
type: {
|
|
1620
|
-
name: "Number"
|
|
1621
|
-
}
|
|
1622
|
-
},
|
|
1623
|
-
maxCpu: {
|
|
1624
|
-
readOnly: true,
|
|
1625
|
-
serializedName: "maxCpu",
|
|
1626
|
-
type: {
|
|
1627
|
-
name: "Number"
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1630
|
-
maxGpuCount: {
|
|
1631
|
-
readOnly: true,
|
|
1632
|
-
serializedName: "maxGpuCount",
|
|
1633
|
-
type: {
|
|
1634
|
-
name: "Number"
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
};
|
|
1640
|
-
var Capabilities = {
|
|
1641
|
-
serializedName: "Capabilities",
|
|
1642
|
-
type: {
|
|
1643
|
-
name: "Composite",
|
|
1644
|
-
className: "Capabilities",
|
|
1645
|
-
modelProperties: {
|
|
1646
|
-
resourceType: {
|
|
1647
|
-
readOnly: true,
|
|
1648
|
-
serializedName: "resourceType",
|
|
1649
|
-
type: {
|
|
1650
|
-
name: "String"
|
|
1651
|
-
}
|
|
1652
|
-
},
|
|
1653
|
-
osType: {
|
|
1654
|
-
readOnly: true,
|
|
1655
|
-
serializedName: "osType",
|
|
1656
|
-
type: {
|
|
1657
|
-
name: "String"
|
|
1658
|
-
}
|
|
1659
|
-
},
|
|
1660
|
-
location: {
|
|
1661
|
-
readOnly: true,
|
|
1662
|
-
serializedName: "location",
|
|
1663
|
-
type: {
|
|
1664
|
-
name: "String"
|
|
1665
|
-
}
|
|
1666
|
-
},
|
|
1667
|
-
ipAddressType: {
|
|
1668
|
-
readOnly: true,
|
|
1669
|
-
serializedName: "ipAddressType",
|
|
1670
|
-
type: {
|
|
1671
|
-
name: "String"
|
|
1672
|
-
}
|
|
1673
|
-
},
|
|
1674
|
-
gpu: {
|
|
1675
|
-
readOnly: true,
|
|
1676
|
-
serializedName: "gpu",
|
|
1677
|
-
type: {
|
|
1678
|
-
name: "String"
|
|
1679
|
-
}
|
|
1680
|
-
},
|
|
1681
|
-
capabilities: {
|
|
1682
|
-
readOnly: true,
|
|
1683
|
-
serializedName: "capabilities",
|
|
1684
|
-
type: {
|
|
1685
|
-
name: "Composite",
|
|
1686
|
-
className: "CapabilitiesCapabilities"
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
}
|
|
1691
|
-
};
|
|
1692
|
-
var ContainerGroupListResult = {
|
|
1693
|
-
serializedName: "ContainerGroupListResult",
|
|
1694
|
-
type: {
|
|
1695
|
-
name: "Composite",
|
|
1696
|
-
className: "ContainerGroupListResult",
|
|
1697
|
-
modelProperties: {
|
|
1698
|
-
value: {
|
|
1699
|
-
serializedName: "",
|
|
1700
|
-
type: {
|
|
1701
|
-
name: "Sequence",
|
|
1702
|
-
element: {
|
|
1703
|
-
type: {
|
|
1704
|
-
name: "Composite",
|
|
1705
|
-
className: "ContainerGroup"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
},
|
|
1710
|
-
nextLink: {
|
|
1711
|
-
serializedName: "nextLink",
|
|
1712
|
-
type: {
|
|
1713
|
-
name: "String"
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
|
-
};
|
|
1719
|
-
var OperationListResult = {
|
|
1720
|
-
serializedName: "OperationListResult",
|
|
1721
|
-
type: {
|
|
1722
|
-
name: "Composite",
|
|
1723
|
-
className: "OperationListResult",
|
|
1724
|
-
modelProperties: {
|
|
1725
|
-
value: {
|
|
1726
|
-
serializedName: "",
|
|
1727
|
-
type: {
|
|
1728
|
-
name: "Sequence",
|
|
1729
|
-
element: {
|
|
1730
|
-
type: {
|
|
1731
|
-
name: "Composite",
|
|
1732
|
-
className: "Operation"
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
},
|
|
1737
|
-
nextLink: {
|
|
1738
|
-
serializedName: "nextLink",
|
|
1739
|
-
type: {
|
|
1740
|
-
name: "String"
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
};
|
|
1746
|
-
var UsageListResult = {
|
|
1747
|
-
serializedName: "UsageListResult",
|
|
1748
|
-
type: {
|
|
1749
|
-
name: "Composite",
|
|
1750
|
-
className: "UsageListResult",
|
|
1751
|
-
modelProperties: {
|
|
1752
|
-
value: {
|
|
1753
|
-
readOnly: true,
|
|
1754
|
-
serializedName: "",
|
|
1755
|
-
type: {
|
|
1756
|
-
name: "Sequence",
|
|
1757
|
-
element: {
|
|
1758
|
-
type: {
|
|
1759
|
-
name: "Composite",
|
|
1760
|
-
className: "Usage"
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
|
-
};
|
|
1768
|
-
var CachedImagesListResult = {
|
|
1769
|
-
serializedName: "CachedImagesListResult",
|
|
1770
|
-
type: {
|
|
1771
|
-
name: "Composite",
|
|
1772
|
-
className: "CachedImagesListResult",
|
|
1773
|
-
modelProperties: {
|
|
1774
|
-
value: {
|
|
1775
|
-
serializedName: "",
|
|
1776
|
-
type: {
|
|
1777
|
-
name: "Sequence",
|
|
1778
|
-
element: {
|
|
1779
|
-
type: {
|
|
1780
|
-
name: "Composite",
|
|
1781
|
-
className: "CachedImages"
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
}
|
|
1785
|
-
},
|
|
1786
|
-
nextLink: {
|
|
1787
|
-
serializedName: "nextLink",
|
|
1788
|
-
type: {
|
|
1789
|
-
name: "String"
|
|
1790
|
-
}
|
|
1791
|
-
}
|
|
1792
|
-
}
|
|
1793
|
-
}
|
|
1794
|
-
};
|
|
1795
|
-
var CapabilitiesListResult = {
|
|
1796
|
-
serializedName: "CapabilitiesListResult",
|
|
1797
|
-
type: {
|
|
1798
|
-
name: "Composite",
|
|
1799
|
-
className: "CapabilitiesListResult",
|
|
1800
|
-
modelProperties: {
|
|
1801
|
-
value: {
|
|
1802
|
-
serializedName: "",
|
|
1803
|
-
type: {
|
|
1804
|
-
name: "Sequence",
|
|
1805
|
-
element: {
|
|
1806
|
-
type: {
|
|
1807
|
-
name: "Composite",
|
|
1808
|
-
className: "Capabilities"
|
|
1809
|
-
}
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
},
|
|
1813
|
-
nextLink: {
|
|
1814
|
-
serializedName: "nextLink",
|
|
1815
|
-
type: {
|
|
1816
|
-
name: "String"
|
|
1817
|
-
}
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
}
|
|
1821
|
-
};
|
|
1822
|
-
|
|
1823
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1824
|
-
__proto__: null,
|
|
1825
|
-
CloudError: CloudError,
|
|
1826
|
-
BaseResource: BaseResource,
|
|
1827
|
-
ContainerPort: ContainerPort,
|
|
1828
|
-
EnvironmentVariable: EnvironmentVariable,
|
|
1829
|
-
ContainerState: ContainerState,
|
|
1830
|
-
Event: Event,
|
|
1831
|
-
ContainerPropertiesInstanceView: ContainerPropertiesInstanceView,
|
|
1832
|
-
GpuResource: GpuResource,
|
|
1833
|
-
ResourceRequests: ResourceRequests,
|
|
1834
|
-
ResourceLimits: ResourceLimits,
|
|
1835
|
-
ResourceRequirements: ResourceRequirements,
|
|
1836
|
-
VolumeMount: VolumeMount,
|
|
1837
|
-
ContainerExec: ContainerExec,
|
|
1838
|
-
HttpHeaders: HttpHeaders,
|
|
1839
|
-
ContainerHttpGet: ContainerHttpGet,
|
|
1840
|
-
ContainerProbe: ContainerProbe,
|
|
1841
|
-
Container: Container,
|
|
1842
|
-
AzureFileVolume: AzureFileVolume,
|
|
1843
|
-
GitRepoVolume: GitRepoVolume,
|
|
1844
|
-
Volume: Volume,
|
|
1845
|
-
ContainerGroupIdentityUserAssignedIdentitiesValue: ContainerGroupIdentityUserAssignedIdentitiesValue,
|
|
1846
|
-
ContainerGroupIdentity: ContainerGroupIdentity,
|
|
1847
|
-
ImageRegistryCredential: ImageRegistryCredential,
|
|
1848
|
-
Port: Port,
|
|
1849
|
-
IpAddress: IpAddress,
|
|
1850
|
-
ContainerGroupPropertiesInstanceView: ContainerGroupPropertiesInstanceView,
|
|
1851
|
-
LogAnalytics: LogAnalytics,
|
|
1852
|
-
ContainerGroupDiagnostics: ContainerGroupDiagnostics,
|
|
1853
|
-
ContainerGroupNetworkProfile: ContainerGroupNetworkProfile,
|
|
1854
|
-
DnsConfiguration: DnsConfiguration,
|
|
1855
|
-
EncryptionProperties: EncryptionProperties,
|
|
1856
|
-
InitContainerPropertiesDefinitionInstanceView: InitContainerPropertiesDefinitionInstanceView,
|
|
1857
|
-
InitContainerDefinition: InitContainerDefinition,
|
|
1858
|
-
Resource: Resource,
|
|
1859
|
-
ContainerGroup: ContainerGroup,
|
|
1860
|
-
OperationDisplay: OperationDisplay,
|
|
1861
|
-
Operation: Operation,
|
|
1862
|
-
UsageName: UsageName,
|
|
1863
|
-
Usage: Usage,
|
|
1864
|
-
Logs: Logs,
|
|
1865
|
-
ContainerExecRequestTerminalSize: ContainerExecRequestTerminalSize,
|
|
1866
|
-
ContainerExecRequest: ContainerExecRequest,
|
|
1867
|
-
ContainerExecResponse: ContainerExecResponse,
|
|
1868
|
-
ContainerAttachResponse: ContainerAttachResponse,
|
|
1869
|
-
CachedImages: CachedImages,
|
|
1870
|
-
CapabilitiesCapabilities: CapabilitiesCapabilities,
|
|
1871
|
-
Capabilities: Capabilities,
|
|
1872
|
-
ContainerGroupListResult: ContainerGroupListResult,
|
|
1873
|
-
OperationListResult: OperationListResult,
|
|
1874
|
-
UsageListResult: UsageListResult,
|
|
1875
|
-
CachedImagesListResult: CachedImagesListResult,
|
|
1876
|
-
CapabilitiesListResult: CapabilitiesListResult
|
|
1877
|
-
});
|
|
1878
|
-
|
|
1879
|
-
/*
|
|
1880
|
-
* Copyright (c) Microsoft Corporation.
|
|
1881
|
-
* Licensed under the MIT License.
|
|
1882
|
-
*
|
|
1883
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1884
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1885
|
-
*/
|
|
1886
|
-
|
|
1887
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1888
|
-
__proto__: null,
|
|
1889
|
-
AzureFileVolume: AzureFileVolume,
|
|
1890
|
-
BaseResource: BaseResource,
|
|
1891
|
-
CloudError: CloudError,
|
|
1892
|
-
Container: Container,
|
|
1893
|
-
ContainerExec: ContainerExec,
|
|
1894
|
-
ContainerGroup: ContainerGroup,
|
|
1895
|
-
ContainerGroupDiagnostics: ContainerGroupDiagnostics,
|
|
1896
|
-
ContainerGroupIdentity: ContainerGroupIdentity,
|
|
1897
|
-
ContainerGroupIdentityUserAssignedIdentitiesValue: ContainerGroupIdentityUserAssignedIdentitiesValue,
|
|
1898
|
-
ContainerGroupListResult: ContainerGroupListResult,
|
|
1899
|
-
ContainerGroupNetworkProfile: ContainerGroupNetworkProfile,
|
|
1900
|
-
ContainerGroupPropertiesInstanceView: ContainerGroupPropertiesInstanceView,
|
|
1901
|
-
ContainerHttpGet: ContainerHttpGet,
|
|
1902
|
-
ContainerPort: ContainerPort,
|
|
1903
|
-
ContainerProbe: ContainerProbe,
|
|
1904
|
-
ContainerPropertiesInstanceView: ContainerPropertiesInstanceView,
|
|
1905
|
-
ContainerState: ContainerState,
|
|
1906
|
-
DnsConfiguration: DnsConfiguration,
|
|
1907
|
-
EncryptionProperties: EncryptionProperties,
|
|
1908
|
-
EnvironmentVariable: EnvironmentVariable,
|
|
1909
|
-
Event: Event,
|
|
1910
|
-
GitRepoVolume: GitRepoVolume,
|
|
1911
|
-
GpuResource: GpuResource,
|
|
1912
|
-
HttpHeaders: HttpHeaders,
|
|
1913
|
-
ImageRegistryCredential: ImageRegistryCredential,
|
|
1914
|
-
InitContainerDefinition: InitContainerDefinition,
|
|
1915
|
-
InitContainerPropertiesDefinitionInstanceView: InitContainerPropertiesDefinitionInstanceView,
|
|
1916
|
-
IpAddress: IpAddress,
|
|
1917
|
-
LogAnalytics: LogAnalytics,
|
|
1918
|
-
Port: Port,
|
|
1919
|
-
Resource: Resource,
|
|
1920
|
-
ResourceLimits: ResourceLimits,
|
|
1921
|
-
ResourceRequests: ResourceRequests,
|
|
1922
|
-
ResourceRequirements: ResourceRequirements,
|
|
1923
|
-
Volume: Volume,
|
|
1924
|
-
VolumeMount: VolumeMount
|
|
1925
|
-
});
|
|
1926
|
-
|
|
1927
|
-
/*
|
|
1928
|
-
* Copyright (c) Microsoft Corporation.
|
|
1929
|
-
* Licensed under the MIT License.
|
|
1930
|
-
*
|
|
1931
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1932
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1933
|
-
* regenerated.
|
|
1934
|
-
*/
|
|
1935
|
-
var acceptLanguage = {
|
|
1936
|
-
parameterPath: "acceptLanguage",
|
|
1937
|
-
mapper: {
|
|
1938
|
-
serializedName: "accept-language",
|
|
1939
|
-
defaultValue: 'en-US',
|
|
1940
|
-
type: {
|
|
1941
|
-
name: "String"
|
|
1942
|
-
}
|
|
1943
|
-
}
|
|
1944
|
-
};
|
|
1945
|
-
var apiVersion = {
|
|
1946
|
-
parameterPath: "apiVersion",
|
|
1947
|
-
mapper: {
|
|
1948
|
-
required: true,
|
|
1949
|
-
serializedName: "api-version",
|
|
1950
|
-
type: {
|
|
1951
|
-
name: "String"
|
|
1952
|
-
}
|
|
1953
|
-
}
|
|
1954
|
-
};
|
|
1955
|
-
var containerGroupName = {
|
|
1956
|
-
parameterPath: "containerGroupName",
|
|
1957
|
-
mapper: {
|
|
1958
|
-
required: true,
|
|
1959
|
-
serializedName: "containerGroupName",
|
|
1960
|
-
type: {
|
|
1961
|
-
name: "String"
|
|
1962
|
-
}
|
|
1963
|
-
}
|
|
1964
|
-
};
|
|
1965
|
-
var containerName = {
|
|
1966
|
-
parameterPath: "containerName",
|
|
1967
|
-
mapper: {
|
|
1968
|
-
required: true,
|
|
1969
|
-
serializedName: "containerName",
|
|
1970
|
-
type: {
|
|
1971
|
-
name: "String"
|
|
1972
|
-
}
|
|
1973
|
-
}
|
|
1974
|
-
};
|
|
1975
|
-
var location = {
|
|
1976
|
-
parameterPath: "location",
|
|
1977
|
-
mapper: {
|
|
1978
|
-
required: true,
|
|
1979
|
-
serializedName: "location",
|
|
1980
|
-
type: {
|
|
1981
|
-
name: "String"
|
|
1982
|
-
}
|
|
1983
|
-
}
|
|
1984
|
-
};
|
|
1985
|
-
var nextPageLink = {
|
|
1986
|
-
parameterPath: "nextPageLink",
|
|
1987
|
-
mapper: {
|
|
1988
|
-
required: true,
|
|
1989
|
-
serializedName: "nextLink",
|
|
1990
|
-
type: {
|
|
1991
|
-
name: "String"
|
|
1992
|
-
}
|
|
1993
|
-
},
|
|
1994
|
-
skipEncoding: true
|
|
1995
|
-
};
|
|
1996
|
-
var resourceGroupName = {
|
|
1997
|
-
parameterPath: "resourceGroupName",
|
|
1998
|
-
mapper: {
|
|
1999
|
-
required: true,
|
|
2000
|
-
serializedName: "resourceGroupName",
|
|
2001
|
-
type: {
|
|
2002
|
-
name: "String"
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
};
|
|
2006
|
-
var subscriptionId = {
|
|
2007
|
-
parameterPath: "subscriptionId",
|
|
2008
|
-
mapper: {
|
|
2009
|
-
required: true,
|
|
2010
|
-
serializedName: "subscriptionId",
|
|
2011
|
-
type: {
|
|
2012
|
-
name: "String"
|
|
2013
|
-
}
|
|
2014
|
-
}
|
|
2015
|
-
};
|
|
2016
|
-
var tail = {
|
|
2017
|
-
parameterPath: [
|
|
2018
|
-
"options",
|
|
2019
|
-
"tail"
|
|
2020
|
-
],
|
|
2021
|
-
mapper: {
|
|
2022
|
-
serializedName: "tail",
|
|
2023
|
-
type: {
|
|
2024
|
-
name: "Number"
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
};
|
|
2028
|
-
var timestamps = {
|
|
2029
|
-
parameterPath: [
|
|
2030
|
-
"options",
|
|
2031
|
-
"timestamps"
|
|
2032
|
-
],
|
|
2033
|
-
mapper: {
|
|
2034
|
-
serializedName: "timestamps",
|
|
2035
|
-
type: {
|
|
2036
|
-
name: "Boolean"
|
|
2037
|
-
}
|
|
2038
|
-
}
|
|
2039
|
-
};
|
|
2040
|
-
|
|
2041
|
-
/*
|
|
2042
|
-
* Copyright (c) Microsoft Corporation.
|
|
2043
|
-
* Licensed under the MIT License.
|
|
2044
|
-
*
|
|
2045
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2046
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2047
|
-
* regenerated.
|
|
2048
|
-
*/
|
|
2049
|
-
/** Class representing a ContainerGroups. */
|
|
2050
|
-
var ContainerGroups = /** @class */ (function () {
|
|
2051
|
-
/**
|
|
2052
|
-
* Create a ContainerGroups.
|
|
2053
|
-
* @param {ContainerInstanceManagementClientContext} client Reference to the service client.
|
|
2054
|
-
*/
|
|
2055
|
-
function ContainerGroups(client) {
|
|
2056
|
-
this.client = client;
|
|
2057
|
-
}
|
|
2058
|
-
ContainerGroups.prototype.list = function (options, callback) {
|
|
2059
|
-
return this.client.sendOperationRequest({
|
|
2060
|
-
options: options
|
|
2061
|
-
}, listOperationSpec, callback);
|
|
2062
|
-
};
|
|
2063
|
-
ContainerGroups.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
2064
|
-
return this.client.sendOperationRequest({
|
|
2065
|
-
resourceGroupName: resourceGroupName,
|
|
2066
|
-
options: options
|
|
2067
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
2068
|
-
};
|
|
2069
|
-
ContainerGroups.prototype.get = function (resourceGroupName, containerGroupName, options, callback) {
|
|
2070
|
-
return this.client.sendOperationRequest({
|
|
2071
|
-
resourceGroupName: resourceGroupName,
|
|
2072
|
-
containerGroupName: containerGroupName,
|
|
2073
|
-
options: options
|
|
2074
|
-
}, getOperationSpec, callback);
|
|
2075
|
-
};
|
|
2076
|
-
/**
|
|
2077
|
-
* Create or update container groups with specified configurations.
|
|
2078
|
-
* @summary Create or update container groups.
|
|
2079
|
-
* @param resourceGroupName The name of the resource group.
|
|
2080
|
-
* @param containerGroupName The name of the container group.
|
|
2081
|
-
* @param containerGroup The properties of the container group to be created or updated.
|
|
2082
|
-
* @param [options] The optional parameters
|
|
2083
|
-
* @returns Promise<Models.ContainerGroupsCreateOrUpdateResponse>
|
|
2084
|
-
*/
|
|
2085
|
-
ContainerGroups.prototype.createOrUpdate = function (resourceGroupName, containerGroupName, containerGroup, options) {
|
|
2086
|
-
return this.beginCreateOrUpdate(resourceGroupName, containerGroupName, containerGroup, options)
|
|
2087
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2088
|
-
};
|
|
2089
|
-
ContainerGroups.prototype.update = function (resourceGroupName, containerGroupName, resource, options, callback) {
|
|
2090
|
-
return this.client.sendOperationRequest({
|
|
2091
|
-
resourceGroupName: resourceGroupName,
|
|
2092
|
-
containerGroupName: containerGroupName,
|
|
2093
|
-
resource: resource,
|
|
2094
|
-
options: options
|
|
2095
|
-
}, updateOperationSpec, callback);
|
|
2096
|
-
};
|
|
2097
|
-
/**
|
|
2098
|
-
* Delete the specified container group in the specified subscription and resource group. The
|
|
2099
|
-
* operation does not delete other resources provided by the user, such as volumes.
|
|
2100
|
-
* @summary Delete the specified container group.
|
|
2101
|
-
* @param resourceGroupName The name of the resource group.
|
|
2102
|
-
* @param containerGroupName The name of the container group.
|
|
2103
|
-
* @param [options] The optional parameters
|
|
2104
|
-
* @returns Promise<Models.ContainerGroupsDeleteMethodResponse>
|
|
2105
|
-
*/
|
|
2106
|
-
ContainerGroups.prototype.deleteMethod = function (resourceGroupName, containerGroupName, options) {
|
|
2107
|
-
return this.beginDeleteMethod(resourceGroupName, containerGroupName, options)
|
|
2108
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2109
|
-
};
|
|
2110
|
-
/**
|
|
2111
|
-
* Restarts all containers in a container group in place. If container image has updates, new image
|
|
2112
|
-
* will be downloaded.
|
|
2113
|
-
* @summary Restarts all containers in a container group.
|
|
2114
|
-
* @param resourceGroupName The name of the resource group.
|
|
2115
|
-
* @param containerGroupName The name of the container group.
|
|
2116
|
-
* @param [options] The optional parameters
|
|
2117
|
-
* @returns Promise<msRest.RestResponse>
|
|
2118
|
-
*/
|
|
2119
|
-
ContainerGroups.prototype.restart = function (resourceGroupName, containerGroupName, options) {
|
|
2120
|
-
return this.beginRestart(resourceGroupName, containerGroupName, options)
|
|
2121
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2122
|
-
};
|
|
2123
|
-
ContainerGroups.prototype.stop = function (resourceGroupName, containerGroupName, options, callback) {
|
|
2124
|
-
return this.client.sendOperationRequest({
|
|
2125
|
-
resourceGroupName: resourceGroupName,
|
|
2126
|
-
containerGroupName: containerGroupName,
|
|
2127
|
-
options: options
|
|
2128
|
-
}, stopOperationSpec, callback);
|
|
2129
|
-
};
|
|
2130
|
-
/**
|
|
2131
|
-
* Starts all containers in a container group. Compute resources will be allocated and billing will
|
|
2132
|
-
* start.
|
|
2133
|
-
* @summary Starts all containers in a container group.
|
|
2134
|
-
* @param resourceGroupName The name of the resource group.
|
|
2135
|
-
* @param containerGroupName The name of the container group.
|
|
2136
|
-
* @param [options] The optional parameters
|
|
2137
|
-
* @returns Promise<msRest.RestResponse>
|
|
2138
|
-
*/
|
|
2139
|
-
ContainerGroups.prototype.start = function (resourceGroupName, containerGroupName, options) {
|
|
2140
|
-
return this.beginStart(resourceGroupName, containerGroupName, options)
|
|
2141
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2142
|
-
};
|
|
2143
|
-
/**
|
|
2144
|
-
* Create or update container groups with specified configurations.
|
|
2145
|
-
* @summary Create or update container groups.
|
|
2146
|
-
* @param resourceGroupName The name of the resource group.
|
|
2147
|
-
* @param containerGroupName The name of the container group.
|
|
2148
|
-
* @param containerGroup The properties of the container group to be created or updated.
|
|
2149
|
-
* @param [options] The optional parameters
|
|
2150
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2151
|
-
*/
|
|
2152
|
-
ContainerGroups.prototype.beginCreateOrUpdate = function (resourceGroupName, containerGroupName, containerGroup, options) {
|
|
2153
|
-
return this.client.sendLRORequest({
|
|
2154
|
-
resourceGroupName: resourceGroupName,
|
|
2155
|
-
containerGroupName: containerGroupName,
|
|
2156
|
-
containerGroup: containerGroup,
|
|
2157
|
-
options: options
|
|
2158
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
2159
|
-
};
|
|
2160
|
-
/**
|
|
2161
|
-
* Delete the specified container group in the specified subscription and resource group. The
|
|
2162
|
-
* operation does not delete other resources provided by the user, such as volumes.
|
|
2163
|
-
* @summary Delete the specified container group.
|
|
2164
|
-
* @param resourceGroupName The name of the resource group.
|
|
2165
|
-
* @param containerGroupName The name of the container group.
|
|
2166
|
-
* @param [options] The optional parameters
|
|
2167
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2168
|
-
*/
|
|
2169
|
-
ContainerGroups.prototype.beginDeleteMethod = function (resourceGroupName, containerGroupName, options) {
|
|
2170
|
-
return this.client.sendLRORequest({
|
|
2171
|
-
resourceGroupName: resourceGroupName,
|
|
2172
|
-
containerGroupName: containerGroupName,
|
|
2173
|
-
options: options
|
|
2174
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
2175
|
-
};
|
|
2176
|
-
/**
|
|
2177
|
-
* Restarts all containers in a container group in place. If container image has updates, new image
|
|
2178
|
-
* will be downloaded.
|
|
2179
|
-
* @summary Restarts all containers in a container group.
|
|
2180
|
-
* @param resourceGroupName The name of the resource group.
|
|
2181
|
-
* @param containerGroupName The name of the container group.
|
|
2182
|
-
* @param [options] The optional parameters
|
|
2183
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2184
|
-
*/
|
|
2185
|
-
ContainerGroups.prototype.beginRestart = function (resourceGroupName, containerGroupName, options) {
|
|
2186
|
-
return this.client.sendLRORequest({
|
|
2187
|
-
resourceGroupName: resourceGroupName,
|
|
2188
|
-
containerGroupName: containerGroupName,
|
|
2189
|
-
options: options
|
|
2190
|
-
}, beginRestartOperationSpec, options);
|
|
2191
|
-
};
|
|
2192
|
-
/**
|
|
2193
|
-
* Starts all containers in a container group. Compute resources will be allocated and billing will
|
|
2194
|
-
* start.
|
|
2195
|
-
* @summary Starts all containers in a container group.
|
|
2196
|
-
* @param resourceGroupName The name of the resource group.
|
|
2197
|
-
* @param containerGroupName The name of the container group.
|
|
2198
|
-
* @param [options] The optional parameters
|
|
2199
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2200
|
-
*/
|
|
2201
|
-
ContainerGroups.prototype.beginStart = function (resourceGroupName, containerGroupName, options) {
|
|
2202
|
-
return this.client.sendLRORequest({
|
|
2203
|
-
resourceGroupName: resourceGroupName,
|
|
2204
|
-
containerGroupName: containerGroupName,
|
|
2205
|
-
options: options
|
|
2206
|
-
}, beginStartOperationSpec, options);
|
|
2207
|
-
};
|
|
2208
|
-
ContainerGroups.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2209
|
-
return this.client.sendOperationRequest({
|
|
2210
|
-
nextPageLink: nextPageLink,
|
|
2211
|
-
options: options
|
|
2212
|
-
}, listNextOperationSpec, callback);
|
|
2213
|
-
};
|
|
2214
|
-
ContainerGroups.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
2215
|
-
return this.client.sendOperationRequest({
|
|
2216
|
-
nextPageLink: nextPageLink,
|
|
2217
|
-
options: options
|
|
2218
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
2219
|
-
};
|
|
2220
|
-
return ContainerGroups;
|
|
2221
|
-
}());
|
|
2222
|
-
// Operation Specifications
|
|
2223
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
2224
|
-
var listOperationSpec = {
|
|
2225
|
-
httpMethod: "GET",
|
|
2226
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups",
|
|
2227
|
-
urlParameters: [
|
|
2228
|
-
subscriptionId
|
|
2229
|
-
],
|
|
2230
|
-
queryParameters: [
|
|
2231
|
-
apiVersion
|
|
2232
|
-
],
|
|
2233
|
-
headerParameters: [
|
|
2234
|
-
acceptLanguage
|
|
2235
|
-
],
|
|
2236
|
-
responses: {
|
|
2237
|
-
200: {
|
|
2238
|
-
bodyMapper: ContainerGroupListResult
|
|
2239
|
-
},
|
|
2240
|
-
default: {
|
|
2241
|
-
bodyMapper: CloudError
|
|
2242
|
-
}
|
|
2243
|
-
},
|
|
2244
|
-
serializer: serializer
|
|
2245
|
-
};
|
|
2246
|
-
var listByResourceGroupOperationSpec = {
|
|
2247
|
-
httpMethod: "GET",
|
|
2248
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups",
|
|
2249
|
-
urlParameters: [
|
|
2250
|
-
subscriptionId,
|
|
2251
|
-
resourceGroupName
|
|
2252
|
-
],
|
|
2253
|
-
queryParameters: [
|
|
2254
|
-
apiVersion
|
|
2255
|
-
],
|
|
2256
|
-
headerParameters: [
|
|
2257
|
-
acceptLanguage
|
|
2258
|
-
],
|
|
2259
|
-
responses: {
|
|
2260
|
-
200: {
|
|
2261
|
-
bodyMapper: ContainerGroupListResult
|
|
2262
|
-
},
|
|
2263
|
-
default: {
|
|
2264
|
-
bodyMapper: CloudError
|
|
2265
|
-
}
|
|
2266
|
-
},
|
|
2267
|
-
serializer: serializer
|
|
2268
|
-
};
|
|
2269
|
-
var getOperationSpec = {
|
|
2270
|
-
httpMethod: "GET",
|
|
2271
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
2272
|
-
urlParameters: [
|
|
2273
|
-
subscriptionId,
|
|
2274
|
-
resourceGroupName,
|
|
2275
|
-
containerGroupName
|
|
2276
|
-
],
|
|
2277
|
-
queryParameters: [
|
|
2278
|
-
apiVersion
|
|
2279
|
-
],
|
|
2280
|
-
headerParameters: [
|
|
2281
|
-
acceptLanguage
|
|
2282
|
-
],
|
|
2283
|
-
responses: {
|
|
2284
|
-
200: {
|
|
2285
|
-
bodyMapper: ContainerGroup
|
|
2286
|
-
},
|
|
2287
|
-
default: {
|
|
2288
|
-
bodyMapper: CloudError
|
|
2289
|
-
}
|
|
2290
|
-
},
|
|
2291
|
-
serializer: serializer
|
|
2292
|
-
};
|
|
2293
|
-
var updateOperationSpec = {
|
|
2294
|
-
httpMethod: "PATCH",
|
|
2295
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
2296
|
-
urlParameters: [
|
|
2297
|
-
subscriptionId,
|
|
2298
|
-
resourceGroupName,
|
|
2299
|
-
containerGroupName
|
|
2300
|
-
],
|
|
2301
|
-
queryParameters: [
|
|
2302
|
-
apiVersion
|
|
2303
|
-
],
|
|
2304
|
-
headerParameters: [
|
|
2305
|
-
acceptLanguage
|
|
2306
|
-
],
|
|
2307
|
-
requestBody: {
|
|
2308
|
-
parameterPath: "resource",
|
|
2309
|
-
mapper: __assign(__assign({}, Resource), { required: true })
|
|
2310
|
-
},
|
|
2311
|
-
responses: {
|
|
2312
|
-
200: {
|
|
2313
|
-
bodyMapper: ContainerGroup
|
|
2314
|
-
},
|
|
2315
|
-
default: {
|
|
2316
|
-
bodyMapper: CloudError
|
|
2317
|
-
}
|
|
2318
|
-
},
|
|
2319
|
-
serializer: serializer
|
|
2320
|
-
};
|
|
2321
|
-
var stopOperationSpec = {
|
|
2322
|
-
httpMethod: "POST",
|
|
2323
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/stop",
|
|
2324
|
-
urlParameters: [
|
|
2325
|
-
subscriptionId,
|
|
2326
|
-
resourceGroupName,
|
|
2327
|
-
containerGroupName
|
|
2328
|
-
],
|
|
2329
|
-
queryParameters: [
|
|
2330
|
-
apiVersion
|
|
2331
|
-
],
|
|
2332
|
-
headerParameters: [
|
|
2333
|
-
acceptLanguage
|
|
2334
|
-
],
|
|
2335
|
-
responses: {
|
|
2336
|
-
204: {},
|
|
2337
|
-
default: {
|
|
2338
|
-
bodyMapper: CloudError
|
|
2339
|
-
}
|
|
2340
|
-
},
|
|
2341
|
-
serializer: serializer
|
|
2342
|
-
};
|
|
2343
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
2344
|
-
httpMethod: "PUT",
|
|
2345
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
2346
|
-
urlParameters: [
|
|
2347
|
-
subscriptionId,
|
|
2348
|
-
resourceGroupName,
|
|
2349
|
-
containerGroupName
|
|
2350
|
-
],
|
|
2351
|
-
queryParameters: [
|
|
2352
|
-
apiVersion
|
|
2353
|
-
],
|
|
2354
|
-
headerParameters: [
|
|
2355
|
-
acceptLanguage
|
|
2356
|
-
],
|
|
2357
|
-
requestBody: {
|
|
2358
|
-
parameterPath: "containerGroup",
|
|
2359
|
-
mapper: __assign(__assign({}, ContainerGroup), { required: true })
|
|
2360
|
-
},
|
|
2361
|
-
responses: {
|
|
2362
|
-
200: {
|
|
2363
|
-
bodyMapper: ContainerGroup
|
|
2364
|
-
},
|
|
2365
|
-
201: {
|
|
2366
|
-
bodyMapper: ContainerGroup
|
|
2367
|
-
},
|
|
2368
|
-
default: {
|
|
2369
|
-
bodyMapper: CloudError
|
|
2370
|
-
}
|
|
2371
|
-
},
|
|
2372
|
-
serializer: serializer
|
|
2373
|
-
};
|
|
2374
|
-
var beginDeleteMethodOperationSpec = {
|
|
2375
|
-
httpMethod: "DELETE",
|
|
2376
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
2377
|
-
urlParameters: [
|
|
2378
|
-
subscriptionId,
|
|
2379
|
-
resourceGroupName,
|
|
2380
|
-
containerGroupName
|
|
2381
|
-
],
|
|
2382
|
-
queryParameters: [
|
|
2383
|
-
apiVersion
|
|
2384
|
-
],
|
|
2385
|
-
headerParameters: [
|
|
2386
|
-
acceptLanguage
|
|
2387
|
-
],
|
|
2388
|
-
responses: {
|
|
2389
|
-
200: {
|
|
2390
|
-
bodyMapper: ContainerGroup
|
|
2391
|
-
},
|
|
2392
|
-
202: {},
|
|
2393
|
-
204: {},
|
|
2394
|
-
default: {
|
|
2395
|
-
bodyMapper: CloudError
|
|
2396
|
-
}
|
|
2397
|
-
},
|
|
2398
|
-
serializer: serializer
|
|
2399
|
-
};
|
|
2400
|
-
var beginRestartOperationSpec = {
|
|
2401
|
-
httpMethod: "POST",
|
|
2402
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/restart",
|
|
2403
|
-
urlParameters: [
|
|
2404
|
-
subscriptionId,
|
|
2405
|
-
resourceGroupName,
|
|
2406
|
-
containerGroupName
|
|
2407
|
-
],
|
|
2408
|
-
queryParameters: [
|
|
2409
|
-
apiVersion
|
|
2410
|
-
],
|
|
2411
|
-
headerParameters: [
|
|
2412
|
-
acceptLanguage
|
|
2413
|
-
],
|
|
2414
|
-
responses: {
|
|
2415
|
-
204: {},
|
|
2416
|
-
default: {
|
|
2417
|
-
bodyMapper: CloudError
|
|
2418
|
-
}
|
|
2419
|
-
},
|
|
2420
|
-
serializer: serializer
|
|
2421
|
-
};
|
|
2422
|
-
var beginStartOperationSpec = {
|
|
2423
|
-
httpMethod: "POST",
|
|
2424
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/start",
|
|
2425
|
-
urlParameters: [
|
|
2426
|
-
subscriptionId,
|
|
2427
|
-
resourceGroupName,
|
|
2428
|
-
containerGroupName
|
|
2429
|
-
],
|
|
2430
|
-
queryParameters: [
|
|
2431
|
-
apiVersion
|
|
2432
|
-
],
|
|
2433
|
-
headerParameters: [
|
|
2434
|
-
acceptLanguage
|
|
2435
|
-
],
|
|
2436
|
-
responses: {
|
|
2437
|
-
202: {},
|
|
2438
|
-
default: {
|
|
2439
|
-
bodyMapper: CloudError
|
|
2440
|
-
}
|
|
2441
|
-
},
|
|
2442
|
-
serializer: serializer
|
|
2443
|
-
};
|
|
2444
|
-
var listNextOperationSpec = {
|
|
2445
|
-
httpMethod: "GET",
|
|
2446
|
-
baseUrl: "https://management.azure.com",
|
|
2447
|
-
path: "{nextLink}",
|
|
2448
|
-
urlParameters: [
|
|
2449
|
-
nextPageLink
|
|
2450
|
-
],
|
|
2451
|
-
queryParameters: [
|
|
2452
|
-
apiVersion
|
|
2453
|
-
],
|
|
2454
|
-
headerParameters: [
|
|
2455
|
-
acceptLanguage
|
|
2456
|
-
],
|
|
2457
|
-
responses: {
|
|
2458
|
-
200: {
|
|
2459
|
-
bodyMapper: ContainerGroupListResult
|
|
2460
|
-
},
|
|
2461
|
-
default: {
|
|
2462
|
-
bodyMapper: CloudError
|
|
2463
|
-
}
|
|
2464
|
-
},
|
|
2465
|
-
serializer: serializer
|
|
2466
|
-
};
|
|
2467
|
-
var listByResourceGroupNextOperationSpec = {
|
|
2468
|
-
httpMethod: "GET",
|
|
2469
|
-
baseUrl: "https://management.azure.com",
|
|
2470
|
-
path: "{nextLink}",
|
|
2471
|
-
urlParameters: [
|
|
2472
|
-
nextPageLink
|
|
2473
|
-
],
|
|
2474
|
-
queryParameters: [
|
|
2475
|
-
apiVersion
|
|
2476
|
-
],
|
|
2477
|
-
headerParameters: [
|
|
2478
|
-
acceptLanguage
|
|
2479
|
-
],
|
|
2480
|
-
responses: {
|
|
2481
|
-
200: {
|
|
2482
|
-
bodyMapper: ContainerGroupListResult
|
|
2483
|
-
},
|
|
2484
|
-
default: {
|
|
2485
|
-
bodyMapper: CloudError
|
|
2486
|
-
}
|
|
2487
|
-
},
|
|
2488
|
-
serializer: serializer
|
|
2489
|
-
};
|
|
2490
|
-
|
|
2491
|
-
/*
|
|
2492
|
-
* Copyright (c) Microsoft Corporation.
|
|
2493
|
-
* Licensed under the MIT License.
|
|
2494
|
-
*
|
|
2495
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2496
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2497
|
-
*/
|
|
2498
|
-
|
|
2499
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
2500
|
-
__proto__: null,
|
|
2501
|
-
CloudError: CloudError,
|
|
2502
|
-
Operation: Operation,
|
|
2503
|
-
OperationDisplay: OperationDisplay,
|
|
2504
|
-
OperationListResult: OperationListResult
|
|
2505
|
-
});
|
|
2506
|
-
|
|
2507
|
-
/*
|
|
2508
|
-
* Copyright (c) Microsoft Corporation.
|
|
2509
|
-
* Licensed under the MIT License.
|
|
2510
|
-
*
|
|
2511
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2512
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2513
|
-
* regenerated.
|
|
2514
|
-
*/
|
|
2515
|
-
/** Class representing a Operations. */
|
|
2516
|
-
var Operations = /** @class */ (function () {
|
|
2517
|
-
/**
|
|
2518
|
-
* Create a Operations.
|
|
2519
|
-
* @param {ContainerInstanceManagementClientContext} client Reference to the service client.
|
|
2520
|
-
*/
|
|
2521
|
-
function Operations(client) {
|
|
2522
|
-
this.client = client;
|
|
2523
|
-
}
|
|
2524
|
-
Operations.prototype.list = function (options, callback) {
|
|
2525
|
-
return this.client.sendOperationRequest({
|
|
2526
|
-
options: options
|
|
2527
|
-
}, listOperationSpec$1, callback);
|
|
2528
|
-
};
|
|
2529
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2530
|
-
return this.client.sendOperationRequest({
|
|
2531
|
-
nextPageLink: nextPageLink,
|
|
2532
|
-
options: options
|
|
2533
|
-
}, listNextOperationSpec$1, callback);
|
|
2534
|
-
};
|
|
2535
|
-
return Operations;
|
|
2536
|
-
}());
|
|
2537
|
-
// Operation Specifications
|
|
2538
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
2539
|
-
var listOperationSpec$1 = {
|
|
2540
|
-
httpMethod: "GET",
|
|
2541
|
-
path: "providers/Microsoft.ContainerInstance/operations",
|
|
2542
|
-
queryParameters: [
|
|
2543
|
-
apiVersion
|
|
2544
|
-
],
|
|
2545
|
-
headerParameters: [
|
|
2546
|
-
acceptLanguage
|
|
2547
|
-
],
|
|
2548
|
-
responses: {
|
|
2549
|
-
200: {
|
|
2550
|
-
bodyMapper: OperationListResult
|
|
2551
|
-
},
|
|
2552
|
-
default: {
|
|
2553
|
-
bodyMapper: CloudError
|
|
2554
|
-
}
|
|
2555
|
-
},
|
|
2556
|
-
serializer: serializer$1
|
|
2557
|
-
};
|
|
2558
|
-
var listNextOperationSpec$1 = {
|
|
2559
|
-
httpMethod: "GET",
|
|
2560
|
-
baseUrl: "https://management.azure.com",
|
|
2561
|
-
path: "{nextLink}",
|
|
2562
|
-
urlParameters: [
|
|
2563
|
-
nextPageLink
|
|
2564
|
-
],
|
|
2565
|
-
queryParameters: [
|
|
2566
|
-
apiVersion
|
|
2567
|
-
],
|
|
2568
|
-
headerParameters: [
|
|
2569
|
-
acceptLanguage
|
|
2570
|
-
],
|
|
2571
|
-
responses: {
|
|
2572
|
-
200: {
|
|
2573
|
-
bodyMapper: OperationListResult
|
|
2574
|
-
},
|
|
2575
|
-
default: {
|
|
2576
|
-
bodyMapper: CloudError
|
|
2577
|
-
}
|
|
2578
|
-
},
|
|
2579
|
-
serializer: serializer$1
|
|
2580
|
-
};
|
|
2581
|
-
|
|
2582
|
-
/*
|
|
2583
|
-
* Copyright (c) Microsoft Corporation.
|
|
2584
|
-
* Licensed under the MIT License.
|
|
2585
|
-
*
|
|
2586
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2587
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2588
|
-
*/
|
|
2589
|
-
|
|
2590
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
2591
|
-
__proto__: null,
|
|
2592
|
-
CachedImages: CachedImages,
|
|
2593
|
-
CachedImagesListResult: CachedImagesListResult,
|
|
2594
|
-
Capabilities: Capabilities,
|
|
2595
|
-
CapabilitiesCapabilities: CapabilitiesCapabilities,
|
|
2596
|
-
CapabilitiesListResult: CapabilitiesListResult,
|
|
2597
|
-
CloudError: CloudError,
|
|
2598
|
-
Usage: Usage,
|
|
2599
|
-
UsageListResult: UsageListResult,
|
|
2600
|
-
UsageName: UsageName
|
|
2601
|
-
});
|
|
2602
|
-
|
|
2603
|
-
/*
|
|
2604
|
-
* Copyright (c) Microsoft Corporation.
|
|
2605
|
-
* Licensed under the MIT License.
|
|
2606
|
-
*
|
|
2607
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2608
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2609
|
-
* regenerated.
|
|
2610
|
-
*/
|
|
2611
|
-
/** Class representing a Location. */
|
|
2612
|
-
var Location = /** @class */ (function () {
|
|
2613
|
-
/**
|
|
2614
|
-
* Create a Location.
|
|
2615
|
-
* @param {ContainerInstanceManagementClientContext} client Reference to the service client.
|
|
2616
|
-
*/
|
|
2617
|
-
function Location(client) {
|
|
2618
|
-
this.client = client;
|
|
2619
|
-
}
|
|
2620
|
-
Location.prototype.listUsage = function (location, options, callback) {
|
|
2621
|
-
return this.client.sendOperationRequest({
|
|
2622
|
-
location: location,
|
|
2623
|
-
options: options
|
|
2624
|
-
}, listUsageOperationSpec, callback);
|
|
2625
|
-
};
|
|
2626
|
-
Location.prototype.listCachedImages = function (location, options, callback) {
|
|
2627
|
-
return this.client.sendOperationRequest({
|
|
2628
|
-
location: location,
|
|
2629
|
-
options: options
|
|
2630
|
-
}, listCachedImagesOperationSpec, callback);
|
|
2631
|
-
};
|
|
2632
|
-
Location.prototype.listCapabilities = function (location, options, callback) {
|
|
2633
|
-
return this.client.sendOperationRequest({
|
|
2634
|
-
location: location,
|
|
2635
|
-
options: options
|
|
2636
|
-
}, listCapabilitiesOperationSpec, callback);
|
|
2637
|
-
};
|
|
2638
|
-
Location.prototype.listCachedImagesNext = function (nextPageLink, options, callback) {
|
|
2639
|
-
return this.client.sendOperationRequest({
|
|
2640
|
-
nextPageLink: nextPageLink,
|
|
2641
|
-
options: options
|
|
2642
|
-
}, listCachedImagesNextOperationSpec, callback);
|
|
2643
|
-
};
|
|
2644
|
-
Location.prototype.listCapabilitiesNext = function (nextPageLink, options, callback) {
|
|
2645
|
-
return this.client.sendOperationRequest({
|
|
2646
|
-
nextPageLink: nextPageLink,
|
|
2647
|
-
options: options
|
|
2648
|
-
}, listCapabilitiesNextOperationSpec, callback);
|
|
2649
|
-
};
|
|
2650
|
-
return Location;
|
|
2651
|
-
}());
|
|
2652
|
-
// Operation Specifications
|
|
2653
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
2654
|
-
var listUsageOperationSpec = {
|
|
2655
|
-
httpMethod: "GET",
|
|
2656
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/usages",
|
|
2657
|
-
urlParameters: [
|
|
2658
|
-
subscriptionId,
|
|
2659
|
-
location
|
|
2660
|
-
],
|
|
2661
|
-
queryParameters: [
|
|
2662
|
-
apiVersion
|
|
2663
|
-
],
|
|
2664
|
-
headerParameters: [
|
|
2665
|
-
acceptLanguage
|
|
2666
|
-
],
|
|
2667
|
-
responses: {
|
|
2668
|
-
200: {
|
|
2669
|
-
bodyMapper: UsageListResult
|
|
2670
|
-
},
|
|
2671
|
-
default: {
|
|
2672
|
-
bodyMapper: CloudError
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2675
|
-
serializer: serializer$2
|
|
2676
|
-
};
|
|
2677
|
-
var listCachedImagesOperationSpec = {
|
|
2678
|
-
httpMethod: "GET",
|
|
2679
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/cachedImages",
|
|
2680
|
-
urlParameters: [
|
|
2681
|
-
subscriptionId,
|
|
2682
|
-
location
|
|
2683
|
-
],
|
|
2684
|
-
queryParameters: [
|
|
2685
|
-
apiVersion
|
|
2686
|
-
],
|
|
2687
|
-
headerParameters: [
|
|
2688
|
-
acceptLanguage
|
|
2689
|
-
],
|
|
2690
|
-
responses: {
|
|
2691
|
-
200: {
|
|
2692
|
-
bodyMapper: CachedImagesListResult
|
|
2693
|
-
},
|
|
2694
|
-
default: {
|
|
2695
|
-
bodyMapper: CloudError
|
|
2696
|
-
}
|
|
2697
|
-
},
|
|
2698
|
-
serializer: serializer$2
|
|
2699
|
-
};
|
|
2700
|
-
var listCapabilitiesOperationSpec = {
|
|
2701
|
-
httpMethod: "GET",
|
|
2702
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/capabilities",
|
|
2703
|
-
urlParameters: [
|
|
2704
|
-
subscriptionId,
|
|
2705
|
-
location
|
|
2706
|
-
],
|
|
2707
|
-
queryParameters: [
|
|
2708
|
-
apiVersion
|
|
2709
|
-
],
|
|
2710
|
-
headerParameters: [
|
|
2711
|
-
acceptLanguage
|
|
2712
|
-
],
|
|
2713
|
-
responses: {
|
|
2714
|
-
200: {
|
|
2715
|
-
bodyMapper: CapabilitiesListResult
|
|
2716
|
-
},
|
|
2717
|
-
default: {
|
|
2718
|
-
bodyMapper: CloudError
|
|
2719
|
-
}
|
|
2720
|
-
},
|
|
2721
|
-
serializer: serializer$2
|
|
2722
|
-
};
|
|
2723
|
-
var listCachedImagesNextOperationSpec = {
|
|
2724
|
-
httpMethod: "GET",
|
|
2725
|
-
baseUrl: "https://management.azure.com",
|
|
2726
|
-
path: "{nextLink}",
|
|
2727
|
-
urlParameters: [
|
|
2728
|
-
nextPageLink
|
|
2729
|
-
],
|
|
2730
|
-
queryParameters: [
|
|
2731
|
-
apiVersion
|
|
2732
|
-
],
|
|
2733
|
-
headerParameters: [
|
|
2734
|
-
acceptLanguage
|
|
2735
|
-
],
|
|
2736
|
-
responses: {
|
|
2737
|
-
200: {
|
|
2738
|
-
bodyMapper: CachedImagesListResult
|
|
2739
|
-
},
|
|
2740
|
-
default: {
|
|
2741
|
-
bodyMapper: CloudError
|
|
2742
|
-
}
|
|
2743
|
-
},
|
|
2744
|
-
serializer: serializer$2
|
|
2745
|
-
};
|
|
2746
|
-
var listCapabilitiesNextOperationSpec = {
|
|
2747
|
-
httpMethod: "GET",
|
|
2748
|
-
baseUrl: "https://management.azure.com",
|
|
2749
|
-
path: "{nextLink}",
|
|
2750
|
-
urlParameters: [
|
|
2751
|
-
nextPageLink
|
|
2752
|
-
],
|
|
2753
|
-
queryParameters: [
|
|
2754
|
-
apiVersion
|
|
2755
|
-
],
|
|
2756
|
-
headerParameters: [
|
|
2757
|
-
acceptLanguage
|
|
2758
|
-
],
|
|
2759
|
-
responses: {
|
|
2760
|
-
200: {
|
|
2761
|
-
bodyMapper: CapabilitiesListResult
|
|
2762
|
-
},
|
|
2763
|
-
default: {
|
|
2764
|
-
bodyMapper: CloudError
|
|
2765
|
-
}
|
|
2766
|
-
},
|
|
2767
|
-
serializer: serializer$2
|
|
2768
|
-
};
|
|
2769
|
-
|
|
2770
|
-
/*
|
|
2771
|
-
* Copyright (c) Microsoft Corporation.
|
|
2772
|
-
* Licensed under the MIT License.
|
|
2773
|
-
*
|
|
2774
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2775
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2776
|
-
*/
|
|
2777
|
-
|
|
2778
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
2779
|
-
__proto__: null,
|
|
2780
|
-
CloudError: CloudError,
|
|
2781
|
-
ContainerAttachResponse: ContainerAttachResponse,
|
|
2782
|
-
ContainerExecRequest: ContainerExecRequest,
|
|
2783
|
-
ContainerExecRequestTerminalSize: ContainerExecRequestTerminalSize,
|
|
2784
|
-
ContainerExecResponse: ContainerExecResponse,
|
|
2785
|
-
Logs: Logs
|
|
2786
|
-
});
|
|
2787
|
-
|
|
2788
|
-
/*
|
|
2789
|
-
* Copyright (c) Microsoft Corporation.
|
|
2790
|
-
* Licensed under the MIT License.
|
|
2791
|
-
*
|
|
2792
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2793
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2794
|
-
* regenerated.
|
|
2795
|
-
*/
|
|
2796
|
-
/** Class representing a Containers. */
|
|
2797
|
-
var Containers = /** @class */ (function () {
|
|
2798
|
-
/**
|
|
2799
|
-
* Create a Containers.
|
|
2800
|
-
* @param {ContainerInstanceManagementClientContext} client Reference to the service client.
|
|
2801
|
-
*/
|
|
2802
|
-
function Containers(client) {
|
|
2803
|
-
this.client = client;
|
|
2804
|
-
}
|
|
2805
|
-
Containers.prototype.listLogs = function (resourceGroupName, containerGroupName, containerName, options, callback) {
|
|
2806
|
-
return this.client.sendOperationRequest({
|
|
2807
|
-
resourceGroupName: resourceGroupName,
|
|
2808
|
-
containerGroupName: containerGroupName,
|
|
2809
|
-
containerName: containerName,
|
|
2810
|
-
options: options
|
|
2811
|
-
}, listLogsOperationSpec, callback);
|
|
2812
|
-
};
|
|
2813
|
-
Containers.prototype.executeCommand = function (resourceGroupName, containerGroupName, containerName, containerExecRequest, options, callback) {
|
|
2814
|
-
return this.client.sendOperationRequest({
|
|
2815
|
-
resourceGroupName: resourceGroupName,
|
|
2816
|
-
containerGroupName: containerGroupName,
|
|
2817
|
-
containerName: containerName,
|
|
2818
|
-
containerExecRequest: containerExecRequest,
|
|
2819
|
-
options: options
|
|
2820
|
-
}, executeCommandOperationSpec, callback);
|
|
2821
|
-
};
|
|
2822
|
-
Containers.prototype.attach = function (resourceGroupName, containerGroupName, containerName, options, callback) {
|
|
2823
|
-
return this.client.sendOperationRequest({
|
|
2824
|
-
resourceGroupName: resourceGroupName,
|
|
2825
|
-
containerGroupName: containerGroupName,
|
|
2826
|
-
containerName: containerName,
|
|
2827
|
-
options: options
|
|
2828
|
-
}, attachOperationSpec, callback);
|
|
2829
|
-
};
|
|
2830
|
-
return Containers;
|
|
2831
|
-
}());
|
|
2832
|
-
// Operation Specifications
|
|
2833
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
2834
|
-
var listLogsOperationSpec = {
|
|
2835
|
-
httpMethod: "GET",
|
|
2836
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs",
|
|
2837
|
-
urlParameters: [
|
|
2838
|
-
subscriptionId,
|
|
2839
|
-
resourceGroupName,
|
|
2840
|
-
containerGroupName,
|
|
2841
|
-
containerName
|
|
2842
|
-
],
|
|
2843
|
-
queryParameters: [
|
|
2844
|
-
apiVersion,
|
|
2845
|
-
tail,
|
|
2846
|
-
timestamps
|
|
2847
|
-
],
|
|
2848
|
-
headerParameters: [
|
|
2849
|
-
acceptLanguage
|
|
2850
|
-
],
|
|
2851
|
-
responses: {
|
|
2852
|
-
200: {
|
|
2853
|
-
bodyMapper: Logs
|
|
2854
|
-
},
|
|
2855
|
-
default: {
|
|
2856
|
-
bodyMapper: CloudError
|
|
2857
|
-
}
|
|
2858
|
-
},
|
|
2859
|
-
serializer: serializer$3
|
|
2860
|
-
};
|
|
2861
|
-
var executeCommandOperationSpec = {
|
|
2862
|
-
httpMethod: "POST",
|
|
2863
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec",
|
|
2864
|
-
urlParameters: [
|
|
2865
|
-
subscriptionId,
|
|
2866
|
-
resourceGroupName,
|
|
2867
|
-
containerGroupName,
|
|
2868
|
-
containerName
|
|
2869
|
-
],
|
|
2870
|
-
queryParameters: [
|
|
2871
|
-
apiVersion
|
|
2872
|
-
],
|
|
2873
|
-
headerParameters: [
|
|
2874
|
-
acceptLanguage
|
|
2875
|
-
],
|
|
2876
|
-
requestBody: {
|
|
2877
|
-
parameterPath: "containerExecRequest",
|
|
2878
|
-
mapper: __assign(__assign({}, ContainerExecRequest), { required: true })
|
|
2879
|
-
},
|
|
2880
|
-
responses: {
|
|
2881
|
-
200: {
|
|
2882
|
-
bodyMapper: ContainerExecResponse
|
|
2883
|
-
},
|
|
2884
|
-
default: {
|
|
2885
|
-
bodyMapper: CloudError
|
|
2886
|
-
}
|
|
2887
|
-
},
|
|
2888
|
-
serializer: serializer$3
|
|
2889
|
-
};
|
|
2890
|
-
var attachOperationSpec = {
|
|
2891
|
-
httpMethod: "POST",
|
|
2892
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/attach",
|
|
2893
|
-
urlParameters: [
|
|
2894
|
-
subscriptionId,
|
|
2895
|
-
resourceGroupName,
|
|
2896
|
-
containerGroupName,
|
|
2897
|
-
containerName
|
|
2898
|
-
],
|
|
2899
|
-
queryParameters: [
|
|
2900
|
-
apiVersion
|
|
2901
|
-
],
|
|
2902
|
-
headerParameters: [
|
|
2903
|
-
acceptLanguage
|
|
2904
|
-
],
|
|
2905
|
-
responses: {
|
|
2906
|
-
200: {
|
|
2907
|
-
bodyMapper: ContainerAttachResponse
|
|
2908
|
-
},
|
|
2909
|
-
default: {
|
|
2910
|
-
bodyMapper: CloudError
|
|
2911
|
-
}
|
|
2912
|
-
},
|
|
2913
|
-
serializer: serializer$3
|
|
2914
|
-
};
|
|
2915
|
-
|
|
2916
|
-
/*
|
|
2917
|
-
* Copyright (c) Microsoft Corporation.
|
|
2918
|
-
* Licensed under the MIT License.
|
|
2919
|
-
*
|
|
2920
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2921
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2922
|
-
* regenerated.
|
|
2923
|
-
*/
|
|
2924
|
-
var packageName = "@azure/arm-containerinstance";
|
|
2925
|
-
var packageVersion = "6.3.0";
|
|
2926
|
-
var ContainerInstanceManagementClientContext = /** @class */ (function (_super) {
|
|
2927
|
-
__extends(ContainerInstanceManagementClientContext, _super);
|
|
2928
|
-
/**
|
|
2929
|
-
* Initializes a new instance of the ContainerInstanceManagementClient class.
|
|
2930
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
2931
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
2932
|
-
* more information about these credentials, see
|
|
2933
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
2934
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
2935
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
2936
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
|
2937
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
2938
|
-
* @param [options] The parameter options
|
|
2939
|
-
*/
|
|
2940
|
-
function ContainerInstanceManagementClientContext(credentials, subscriptionId, options) {
|
|
2941
|
-
var _this = this;
|
|
2942
|
-
if (credentials == undefined) {
|
|
2943
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
2944
|
-
}
|
|
2945
|
-
if (subscriptionId == undefined) {
|
|
2946
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
2947
|
-
}
|
|
2948
|
-
if (!options) {
|
|
2949
|
-
options = {};
|
|
2950
|
-
}
|
|
2951
|
-
if (!options.userAgent) {
|
|
2952
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
2953
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
2954
|
-
}
|
|
2955
|
-
_this = _super.call(this, credentials, options) || this;
|
|
2956
|
-
_this.apiVersion = '2021-03-01';
|
|
2957
|
-
_this.acceptLanguage = 'en-US';
|
|
2958
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
2959
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
2960
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
2961
|
-
_this.credentials = credentials;
|
|
2962
|
-
_this.subscriptionId = subscriptionId;
|
|
2963
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
2964
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
2965
|
-
}
|
|
2966
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
2967
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
2968
|
-
}
|
|
2969
|
-
return _this;
|
|
2970
|
-
}
|
|
2971
|
-
return ContainerInstanceManagementClientContext;
|
|
2972
|
-
}(msRestAzure.AzureServiceClient));
|
|
2973
|
-
|
|
2974
|
-
/*
|
|
2975
|
-
* Copyright (c) Microsoft Corporation.
|
|
2976
|
-
* Licensed under the MIT License.
|
|
2977
|
-
*
|
|
2978
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2979
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2980
|
-
* regenerated.
|
|
2981
|
-
*/
|
|
2982
|
-
var ContainerInstanceManagementClient = /** @class */ (function (_super) {
|
|
2983
|
-
__extends(ContainerInstanceManagementClient, _super);
|
|
2984
|
-
/**
|
|
2985
|
-
* Initializes a new instance of the ContainerInstanceManagementClient class.
|
|
2986
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
2987
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
2988
|
-
* more information about these credentials, see
|
|
2989
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
2990
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
2991
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
2992
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
|
2993
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
2994
|
-
* @param [options] The parameter options
|
|
2995
|
-
*/
|
|
2996
|
-
function ContainerInstanceManagementClient(credentials, subscriptionId, options) {
|
|
2997
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
2998
|
-
_this.containerGroups = new ContainerGroups(_this);
|
|
2999
|
-
_this.operations = new Operations(_this);
|
|
3000
|
-
_this.location = new Location(_this);
|
|
3001
|
-
_this.containers = new Containers(_this);
|
|
3002
|
-
return _this;
|
|
3003
|
-
}
|
|
3004
|
-
return ContainerInstanceManagementClient;
|
|
3005
|
-
}(ContainerInstanceManagementClientContext));
|
|
3006
|
-
|
|
3007
|
-
exports.ContainerGroups = ContainerGroups;
|
|
3008
|
-
exports.ContainerInstanceManagementClient = ContainerInstanceManagementClient;
|
|
3009
|
-
exports.ContainerInstanceManagementClientContext = ContainerInstanceManagementClientContext;
|
|
3010
|
-
exports.ContainerInstanceManagementMappers = mappers;
|
|
3011
|
-
exports.ContainerInstanceManagementModels = index;
|
|
3012
|
-
exports.Containers = Containers;
|
|
3013
|
-
exports.Location = Location;
|
|
3014
|
-
exports.Operations = Operations;
|
|
3015
|
-
|
|
3016
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3017
|
-
|
|
3018
|
-
})));
|
|
3019
|
-
//# sourceMappingURL=arm-containerinstance.js.map
|