@distilled.cloud/azure 0.8.0 → 0.10.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/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +24 -24
- package/lib/retry.d.ts +2 -2
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +2 -2
- package/lib/retry.js.map +1 -1
- package/lib/services/app.d.ts +551 -0
- package/lib/services/app.d.ts.map +1 -1
- package/lib/services/app.js +788 -0
- package/lib/services/app.js.map +1 -1
- package/lib/services/applicationinsights.d.ts +56 -85
- package/lib/services/applicationinsights.d.ts.map +1 -1
- package/lib/services/applicationinsights.js +56 -120
- package/lib/services/applicationinsights.js.map +1 -1
- package/lib/services/authorization.d.ts +61 -243
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +61 -303
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +764 -1010
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +764 -1070
- package/lib/services/automation.js.map +1 -1
- package/lib/services/azure-kusto.d.ts +440 -166
- package/lib/services/azure-kusto.d.ts.map +1 -1
- package/lib/services/azure-kusto.js +440 -166
- package/lib/services/azure-kusto.js.map +1 -1
- package/lib/services/batch.d.ts +1 -1
- package/lib/services/batch.js +1 -1
- package/lib/services/batch.js.map +1 -1
- package/lib/services/cognitiveservices.d.ts +2 -0
- package/lib/services/cognitiveservices.d.ts.map +1 -1
- package/lib/services/cognitiveservices.js +3 -1
- package/lib/services/cognitiveservices.js.map +1 -1
- package/lib/services/computelimit.d.ts +188 -0
- package/lib/services/computelimit.d.ts.map +1 -1
- package/lib/services/computelimit.js +236 -0
- package/lib/services/computelimit.js.map +1 -1
- package/lib/services/containerinstance.d.ts +210 -1291
- package/lib/services/containerinstance.d.ts.map +1 -1
- package/lib/services/containerinstance.js +250 -1355
- package/lib/services/containerinstance.js.map +1 -1
- package/lib/services/databricks.d.ts +111 -187
- package/lib/services/databricks.d.ts.map +1 -1
- package/lib/services/databricks.js +111 -220
- package/lib/services/databricks.js.map +1 -1
- package/lib/services/desktopvirtualization.d.ts +51 -575
- package/lib/services/desktopvirtualization.d.ts.map +1 -1
- package/lib/services/desktopvirtualization.js +56 -590
- package/lib/services/desktopvirtualization.js.map +1 -1
- package/lib/services/imagebuilder.d.ts +129 -15
- package/lib/services/imagebuilder.d.ts.map +1 -1
- package/lib/services/imagebuilder.js +129 -15
- package/lib/services/imagebuilder.js.map +1 -1
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/index.js.map +1 -1
- package/lib/services/managednetworkfabric.d.ts +4283 -693
- package/lib/services/managednetworkfabric.d.ts.map +1 -1
- package/lib/services/managednetworkfabric.js +4833 -828
- package/lib/services/managednetworkfabric.js.map +1 -1
- package/lib/services/monitor.d.ts +81 -73
- package/lib/services/monitor.d.ts.map +1 -1
- package/lib/services/monitor.js +91 -88
- package/lib/services/monitor.js.map +1 -1
- package/lib/services/monitoringservice.d.ts +149 -0
- package/lib/services/monitoringservice.d.ts.map +1 -0
- package/lib/services/monitoringservice.js +216 -0
- package/lib/services/monitoringservice.js.map +1 -0
- package/lib/services/network.d.ts +4513 -3857
- package/lib/services/network.d.ts.map +1 -1
- package/lib/services/network.js +4544 -4056
- package/lib/services/network.js.map +1 -1
- package/lib/services/orbitalplanetarycomputer.d.ts +131 -0
- package/lib/services/orbitalplanetarycomputer.d.ts.map +1 -0
- package/lib/services/orbitalplanetarycomputer.js +183 -0
- package/lib/services/orbitalplanetarycomputer.js.map +1 -0
- package/lib/services/recoveryservicesbackup.d.ts +24 -312
- package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
- package/lib/services/recoveryservicesbackup.js +24 -312
- package/lib/services/recoveryservicesbackup.js.map +1 -1
- package/lib/services/redhatopenshift.d.ts +9 -11
- package/lib/services/redhatopenshift.d.ts.map +1 -1
- package/lib/services/redhatopenshift.js +9 -11
- package/lib/services/redhatopenshift.js.map +1 -1
- package/lib/services/reservations.d.ts +159 -239
- package/lib/services/reservations.d.ts.map +1 -1
- package/lib/services/reservations.js +159 -369
- package/lib/services/reservations.js.map +1 -1
- package/lib/services/resourcegraph.d.ts +64 -30
- package/lib/services/resourcegraph.d.ts.map +1 -1
- package/lib/services/resourcegraph.js +74 -30
- package/lib/services/resourcegraph.js.map +1 -1
- package/lib/services/resources.d.ts +549 -3331
- package/lib/services/resources.d.ts.map +1 -1
- package/lib/services/resources.js +1029 -4846
- package/lib/services/resources.js.map +1 -1
- package/lib/services/search.d.ts +9 -2
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +9 -2
- package/lib/services/search.js.map +1 -1
- package/lib/services/sql.d.ts +4008 -2495
- package/lib/services/sql.d.ts.map +1 -1
- package/lib/services/sql.js +4208 -2521
- package/lib/services/sql.js.map +1 -1
- package/lib/services/storage.d.ts +4 -20
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +4 -20
- package/lib/services/storage.js.map +1 -1
- package/lib/services/storageactions.d.ts +18 -0
- package/lib/services/storageactions.d.ts.map +1 -1
- package/lib/services/storageactions.js +28 -0
- package/lib/services/storageactions.js.map +1 -1
- package/lib/services/storagecache.d.ts +288 -752
- package/lib/services/storagecache.d.ts.map +1 -1
- package/lib/services/storagecache.js +312 -930
- package/lib/services/storagecache.js.map +1 -1
- package/package.json +4 -4
- package/src/credentials.ts +2 -2
- package/src/retry.ts +2 -2
- package/src/services/app.ts +1014 -0
- package/src/services/applicationinsights.ts +56 -169
- package/src/services/authorization.ts +65 -397
- package/src/services/automation.ts +1179 -1686
- package/src/services/azure-kusto.ts +494 -228
- package/src/services/batch.ts +1 -1
- package/src/services/cognitiveservices.ts +3 -1
- package/src/services/computelimit.ts +310 -0
- package/src/services/containerinstance.ts +1393 -3134
- package/src/services/databricks.ts +125 -294
- package/src/services/desktopvirtualization.ts +83 -859
- package/src/services/imagebuilder.ts +129 -21
- package/src/services/index.ts +2 -0
- package/src/services/managednetworkfabric.ts +7141 -1408
- package/src/services/monitor.ts +134 -136
- package/src/services/monitoringservice.ts +287 -0
- package/src/services/network.ts +5738 -6158
- package/src/services/orbitalplanetarycomputer.ts +233 -0
- package/src/services/recoveryservicesbackup.ts +26 -456
- package/src/services/redhatopenshift.ts +26 -34
- package/src/services/reservations.ts +209 -553
- package/src/services/resourcegraph.ts +123 -55
- package/src/services/resources.ts +1852 -8168
- package/src/services/search.ts +9 -2
- package/src/services/sql.ts +4552 -2757
- package/src/services/storage.ts +4 -22
- package/src/services/storageactions.ts +36 -0
- package/src/services/storagecache.ts +312 -1303
|
@@ -13,6 +13,7 @@ export const CGProfileCreateOrUpdateInput =
|
|
|
13
13
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
14
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
15
15
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
16
|
+
containerGroupProfileName: Schema.String.pipe(T.PathParam()),
|
|
16
17
|
"api-version": Schema.String,
|
|
17
18
|
}).pipe(T.Http({
|
|
18
19
|
method: "PUT",
|
|
@@ -24,9 +25,14 @@ export const CGProfileCreateOrUpdateOutput =
|
|
|
24
25
|
id: Schema.optional(Schema.String),
|
|
25
26
|
name: Schema.optional(Schema.String),
|
|
26
27
|
type: Schema.optional(Schema.String),
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
systemData: Schema.optional(Schema.Struct({
|
|
29
|
+
createdBy: Schema.optional(Schema.String),
|
|
30
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
31
|
+
createdAt: Schema.optional(Schema.String),
|
|
32
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
33
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
34
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
35
|
+
})),
|
|
30
36
|
});
|
|
31
37
|
// The operation
|
|
32
38
|
/**
|
|
@@ -34,9 +40,10 @@ export const CGProfileCreateOrUpdateOutput =
|
|
|
34
40
|
*
|
|
35
41
|
* Create a CGProfile if it doesn't exist or update an existing CGProfile.
|
|
36
42
|
*
|
|
43
|
+
* @param api-version - The API version to use for this operation.
|
|
37
44
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
38
45
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
39
|
-
* @param
|
|
46
|
+
* @param containerGroupProfileName - ContainerGroupProfile name.
|
|
40
47
|
*/
|
|
41
48
|
export const CGProfileCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
42
49
|
inputSchema: CGProfileCreateOrUpdateInput,
|
|
@@ -46,6 +53,7 @@ export const CGProfileCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
46
53
|
export const CGProfileDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
47
54
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
48
55
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
56
|
+
containerGroupProfileName: Schema.String.pipe(T.PathParam()),
|
|
49
57
|
"api-version": Schema.String,
|
|
50
58
|
}).pipe(T.Http({
|
|
51
59
|
method: "DELETE",
|
|
@@ -59,9 +67,10 @@ export const CGProfileDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
59
67
|
*
|
|
60
68
|
* Deletes a container group profile.
|
|
61
69
|
*
|
|
70
|
+
* @param api-version - The API version to use for this operation.
|
|
62
71
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
63
72
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
64
|
-
* @param
|
|
73
|
+
* @param containerGroupProfileName - ContainerGroupProfile name.
|
|
65
74
|
*/
|
|
66
75
|
export const CGProfileDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
67
76
|
inputSchema: CGProfileDeleteInput,
|
|
@@ -71,6 +80,7 @@ export const CGProfileDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
71
80
|
export const CGProfileGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
72
81
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
73
82
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
83
|
+
containerGroupProfileName: Schema.String.pipe(T.PathParam()),
|
|
74
84
|
"api-version": Schema.String,
|
|
75
85
|
}).pipe(T.Http({
|
|
76
86
|
method: "GET",
|
|
@@ -81,9 +91,14 @@ export const CGProfileGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
81
91
|
id: Schema.optional(Schema.String),
|
|
82
92
|
name: Schema.optional(Schema.String),
|
|
83
93
|
type: Schema.optional(Schema.String),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
94
|
+
systemData: Schema.optional(Schema.Struct({
|
|
95
|
+
createdBy: Schema.optional(Schema.String),
|
|
96
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
97
|
+
createdAt: Schema.optional(Schema.String),
|
|
98
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
99
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
100
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
101
|
+
})),
|
|
87
102
|
});
|
|
88
103
|
// The operation
|
|
89
104
|
/**
|
|
@@ -91,9 +106,10 @@ export const CGProfileGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
91
106
|
*
|
|
92
107
|
* Get the properties of the specified container group profile.
|
|
93
108
|
*
|
|
109
|
+
* @param api-version - The API version to use for this operation.
|
|
94
110
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
95
111
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
96
|
-
* @param
|
|
112
|
+
* @param containerGroupProfileName - ContainerGroupProfile name.
|
|
97
113
|
*/
|
|
98
114
|
export const CGProfileGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
99
115
|
inputSchema: CGProfileGetInput,
|
|
@@ -104,6 +120,8 @@ export const CGProfileGetByRevisionNumberInput =
|
|
|
104
120
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
105
121
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
106
122
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
123
|
+
containerGroupProfileName: Schema.String.pipe(T.PathParam()),
|
|
124
|
+
revisionNumber: Schema.String.pipe(T.PathParam()),
|
|
107
125
|
"api-version": Schema.String,
|
|
108
126
|
}).pipe(T.Http({
|
|
109
127
|
method: "GET",
|
|
@@ -115,9 +133,14 @@ export const CGProfileGetByRevisionNumberOutput =
|
|
|
115
133
|
id: Schema.optional(Schema.String),
|
|
116
134
|
name: Schema.optional(Schema.String),
|
|
117
135
|
type: Schema.optional(Schema.String),
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
136
|
+
systemData: Schema.optional(Schema.Struct({
|
|
137
|
+
createdBy: Schema.optional(Schema.String),
|
|
138
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
139
|
+
createdAt: Schema.optional(Schema.String),
|
|
140
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
141
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
142
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
143
|
+
})),
|
|
121
144
|
});
|
|
122
145
|
// The operation
|
|
123
146
|
/**
|
|
@@ -125,9 +148,11 @@ export const CGProfileGetByRevisionNumberOutput =
|
|
|
125
148
|
*
|
|
126
149
|
* Gets the properties of the specified revision of the container group profile in the given subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.
|
|
127
150
|
*
|
|
151
|
+
* @param api-version - The API version to use for this operation.
|
|
128
152
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
129
153
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
130
|
-
* @param
|
|
154
|
+
* @param containerGroupProfileName - ContainerGroupProfile name.
|
|
155
|
+
* @param revisionNumber - The revision number of the container group profile.
|
|
131
156
|
*/
|
|
132
157
|
export const CGProfileGetByRevisionNumber =
|
|
133
158
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -139,6 +164,7 @@ export const CGProfileListAllRevisionsInput =
|
|
|
139
164
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
140
165
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
141
166
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
167
|
+
containerGroupProfileName: Schema.String.pipe(T.PathParam()),
|
|
142
168
|
"api-version": Schema.String,
|
|
143
169
|
}).pipe(T.Http({
|
|
144
170
|
method: "GET",
|
|
@@ -147,14 +173,29 @@ export const CGProfileListAllRevisionsInput =
|
|
|
147
173
|
// Output Schema
|
|
148
174
|
export const CGProfileListAllRevisionsOutput =
|
|
149
175
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
150
|
-
value: Schema.
|
|
176
|
+
value: Schema.Array(Schema.Struct({
|
|
151
177
|
id: Schema.optional(Schema.String),
|
|
152
178
|
name: Schema.optional(Schema.String),
|
|
153
179
|
type: Schema.optional(Schema.String),
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
180
|
+
systemData: Schema.optional(Schema.Struct({
|
|
181
|
+
createdBy: Schema.optional(Schema.String),
|
|
182
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
183
|
+
"User",
|
|
184
|
+
"Application",
|
|
185
|
+
"ManagedIdentity",
|
|
186
|
+
"Key",
|
|
187
|
+
])),
|
|
188
|
+
createdAt: Schema.optional(Schema.String),
|
|
189
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
190
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
191
|
+
"User",
|
|
192
|
+
"Application",
|
|
193
|
+
"ManagedIdentity",
|
|
194
|
+
"Key",
|
|
195
|
+
])),
|
|
196
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
197
|
+
})),
|
|
198
|
+
})),
|
|
158
199
|
nextLink: Schema.optional(Schema.String),
|
|
159
200
|
});
|
|
160
201
|
// The operation
|
|
@@ -163,9 +204,10 @@ export const CGProfileListAllRevisionsOutput =
|
|
|
163
204
|
*
|
|
164
205
|
* Get a list of all the revisions of the specified container group profile in the given subscription and resource group. This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc.
|
|
165
206
|
*
|
|
207
|
+
* @param api-version - The API version to use for this operation.
|
|
166
208
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
167
209
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
168
|
-
* @param
|
|
210
|
+
* @param containerGroupProfileName - ContainerGroupProfile name.
|
|
169
211
|
*/
|
|
170
212
|
export const CGProfileListAllRevisions = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
171
213
|
inputSchema: CGProfileListAllRevisionsInput,
|
|
@@ -184,14 +226,29 @@ export const CGProfilesListByResourceGroupInput =
|
|
|
184
226
|
// Output Schema
|
|
185
227
|
export const CGProfilesListByResourceGroupOutput =
|
|
186
228
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
187
|
-
value: Schema.
|
|
229
|
+
value: Schema.Array(Schema.Struct({
|
|
188
230
|
id: Schema.optional(Schema.String),
|
|
189
231
|
name: Schema.optional(Schema.String),
|
|
190
232
|
type: Schema.optional(Schema.String),
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
233
|
+
systemData: Schema.optional(Schema.Struct({
|
|
234
|
+
createdBy: Schema.optional(Schema.String),
|
|
235
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
236
|
+
"User",
|
|
237
|
+
"Application",
|
|
238
|
+
"ManagedIdentity",
|
|
239
|
+
"Key",
|
|
240
|
+
])),
|
|
241
|
+
createdAt: Schema.optional(Schema.String),
|
|
242
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
243
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
244
|
+
"User",
|
|
245
|
+
"Application",
|
|
246
|
+
"ManagedIdentity",
|
|
247
|
+
"Key",
|
|
248
|
+
])),
|
|
249
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
250
|
+
})),
|
|
251
|
+
})),
|
|
195
252
|
nextLink: Schema.optional(Schema.String),
|
|
196
253
|
});
|
|
197
254
|
// The operation
|
|
@@ -200,9 +257,9 @@ export const CGProfilesListByResourceGroupOutput =
|
|
|
200
257
|
*
|
|
201
258
|
* Gets a list of all container group profiles under a resource group.
|
|
202
259
|
*
|
|
260
|
+
* @param api-version - The API version to use for this operation.
|
|
203
261
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
204
262
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
205
|
-
* @param api-version - The API version to use for this operation.
|
|
206
263
|
*/
|
|
207
264
|
export const CGProfilesListByResourceGroup =
|
|
208
265
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -221,14 +278,29 @@ export const CGProfilesListBySubscriptionInput =
|
|
|
221
278
|
// Output Schema
|
|
222
279
|
export const CGProfilesListBySubscriptionOutput =
|
|
223
280
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
224
|
-
value: Schema.
|
|
281
|
+
value: Schema.Array(Schema.Struct({
|
|
225
282
|
id: Schema.optional(Schema.String),
|
|
226
283
|
name: Schema.optional(Schema.String),
|
|
227
284
|
type: Schema.optional(Schema.String),
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
285
|
+
systemData: Schema.optional(Schema.Struct({
|
|
286
|
+
createdBy: Schema.optional(Schema.String),
|
|
287
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
288
|
+
"User",
|
|
289
|
+
"Application",
|
|
290
|
+
"ManagedIdentity",
|
|
291
|
+
"Key",
|
|
292
|
+
])),
|
|
293
|
+
createdAt: Schema.optional(Schema.String),
|
|
294
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
295
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
296
|
+
"User",
|
|
297
|
+
"Application",
|
|
298
|
+
"ManagedIdentity",
|
|
299
|
+
"Key",
|
|
300
|
+
])),
|
|
301
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
302
|
+
})),
|
|
303
|
+
})),
|
|
232
304
|
nextLink: Schema.optional(Schema.String),
|
|
233
305
|
});
|
|
234
306
|
// The operation
|
|
@@ -237,8 +309,8 @@ export const CGProfilesListBySubscriptionOutput =
|
|
|
237
309
|
*
|
|
238
310
|
* Gets a list of all container group profiles under a subscription.
|
|
239
311
|
*
|
|
240
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
241
312
|
* @param api-version - The API version to use for this operation.
|
|
313
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
242
314
|
*/
|
|
243
315
|
export const CGProfilesListBySubscription =
|
|
244
316
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -249,6 +321,7 @@ export const CGProfilesListBySubscription =
|
|
|
249
321
|
export const CGProfileUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
250
322
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
251
323
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
324
|
+
containerGroupProfileName: Schema.String.pipe(T.PathParam()),
|
|
252
325
|
"api-version": Schema.String,
|
|
253
326
|
}).pipe(T.Http({
|
|
254
327
|
method: "PATCH",
|
|
@@ -259,9 +332,14 @@ export const CGProfileUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
259
332
|
id: Schema.optional(Schema.String),
|
|
260
333
|
name: Schema.optional(Schema.String),
|
|
261
334
|
type: Schema.optional(Schema.String),
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
335
|
+
systemData: Schema.optional(Schema.Struct({
|
|
336
|
+
createdBy: Schema.optional(Schema.String),
|
|
337
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
338
|
+
createdAt: Schema.optional(Schema.String),
|
|
339
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
340
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
341
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
342
|
+
})),
|
|
265
343
|
});
|
|
266
344
|
// The operation
|
|
267
345
|
/**
|
|
@@ -269,9 +347,10 @@ export const CGProfileUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
269
347
|
*
|
|
270
348
|
* Update a specified container group profile.
|
|
271
349
|
*
|
|
350
|
+
* @param api-version - The API version to use for this operation.
|
|
272
351
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
273
352
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
274
|
-
* @param
|
|
353
|
+
* @param containerGroupProfileName - ContainerGroupProfile name.
|
|
275
354
|
*/
|
|
276
355
|
export const CGProfileUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
277
356
|
inputSchema: CGProfileUpdateInput,
|
|
@@ -282,6 +361,7 @@ export const ContainerGroupsCreateOrUpdateInput =
|
|
|
282
361
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
283
362
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
284
363
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
364
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
285
365
|
"api-version": Schema.String,
|
|
286
366
|
}).pipe(T.Http({
|
|
287
367
|
method: "PUT",
|
|
@@ -289,331 +369,17 @@ export const ContainerGroupsCreateOrUpdateInput =
|
|
|
289
369
|
}));
|
|
290
370
|
// Output Schema
|
|
291
371
|
export const ContainerGroupsCreateOrUpdateOutput =
|
|
292
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
293
|
-
id: Schema.optional(Schema.String),
|
|
294
|
-
name: Schema.optional(Schema.String),
|
|
295
|
-
type: Schema.optional(Schema.String),
|
|
296
|
-
location: Schema.optional(Schema.String),
|
|
297
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
298
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
299
|
-
identity: Schema.optional(Schema.Struct({
|
|
300
|
-
principalId: Schema.optional(Schema.String),
|
|
301
|
-
tenantId: Schema.optional(Schema.String),
|
|
302
|
-
type: Schema.optional(Schema.Literals([
|
|
303
|
-
"SystemAssigned",
|
|
304
|
-
"UserAssigned",
|
|
305
|
-
"SystemAssigned, UserAssigned",
|
|
306
|
-
"None",
|
|
307
|
-
])),
|
|
308
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
309
|
-
principalId: Schema.optional(Schema.String),
|
|
310
|
-
clientId: Schema.optional(Schema.String),
|
|
311
|
-
}))),
|
|
312
|
-
})),
|
|
313
|
-
properties: Schema.Struct({
|
|
314
|
-
provisioningState: Schema.optional(Schema.String),
|
|
315
|
-
secretReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
316
|
-
name: Schema.String,
|
|
317
|
-
identity: Schema.String,
|
|
318
|
-
secretReferenceUri: Schema.String,
|
|
319
|
-
}))),
|
|
320
|
-
containers: Schema.Array(Schema.Struct({
|
|
321
|
-
name: Schema.String,
|
|
322
|
-
properties: Schema.Struct({
|
|
323
|
-
image: Schema.optional(Schema.String),
|
|
324
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
325
|
-
ports: Schema.optional(Schema.Array(Schema.Struct({
|
|
326
|
-
protocol: Schema.optional(Schema.Literals(["TCP", "UDP"])),
|
|
327
|
-
port: Schema.Number,
|
|
328
|
-
}))),
|
|
329
|
-
environmentVariables: Schema.optional(Schema.Array(Schema.Struct({
|
|
330
|
-
name: Schema.String,
|
|
331
|
-
value: Schema.optional(Schema.String),
|
|
332
|
-
secureValue: Schema.optional(Schema.String),
|
|
333
|
-
secureValueReference: Schema.optional(Schema.String),
|
|
334
|
-
}))),
|
|
335
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
336
|
-
restartCount: Schema.optional(Schema.Number),
|
|
337
|
-
currentState: Schema.optional(Schema.Struct({
|
|
338
|
-
state: Schema.optional(Schema.String),
|
|
339
|
-
startTime: Schema.optional(Schema.String),
|
|
340
|
-
exitCode: Schema.optional(Schema.Number),
|
|
341
|
-
finishTime: Schema.optional(Schema.String),
|
|
342
|
-
detailStatus: Schema.optional(Schema.String),
|
|
343
|
-
})),
|
|
344
|
-
previousState: Schema.optional(Schema.Struct({
|
|
345
|
-
state: Schema.optional(Schema.String),
|
|
346
|
-
startTime: Schema.optional(Schema.String),
|
|
347
|
-
exitCode: Schema.optional(Schema.Number),
|
|
348
|
-
finishTime: Schema.optional(Schema.String),
|
|
349
|
-
detailStatus: Schema.optional(Schema.String),
|
|
350
|
-
})),
|
|
351
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
352
|
-
count: Schema.optional(Schema.Number),
|
|
353
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
354
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
355
|
-
name: Schema.optional(Schema.String),
|
|
356
|
-
message: Schema.optional(Schema.String),
|
|
357
|
-
type: Schema.optional(Schema.String),
|
|
358
|
-
}))),
|
|
359
|
-
})),
|
|
360
|
-
resources: Schema.optional(Schema.Struct({
|
|
361
|
-
requests: Schema.Struct({
|
|
362
|
-
memoryInGB: Schema.Number,
|
|
363
|
-
cpu: Schema.Number,
|
|
364
|
-
gpu: Schema.optional(Schema.Struct({
|
|
365
|
-
count: Schema.Number,
|
|
366
|
-
sku: Schema.Literals(["K80", "P100", "V100"]),
|
|
367
|
-
})),
|
|
368
|
-
}),
|
|
369
|
-
limits: Schema.optional(Schema.Struct({
|
|
370
|
-
memoryInGB: Schema.optional(Schema.Number),
|
|
371
|
-
cpu: Schema.optional(Schema.Number),
|
|
372
|
-
gpu: Schema.optional(Schema.Struct({
|
|
373
|
-
count: Schema.Number,
|
|
374
|
-
sku: Schema.Literals(["K80", "P100", "V100"]),
|
|
375
|
-
})),
|
|
376
|
-
})),
|
|
377
|
-
})),
|
|
378
|
-
volumeMounts: Schema.optional(Schema.Array(Schema.Struct({
|
|
379
|
-
name: Schema.String,
|
|
380
|
-
mountPath: Schema.String,
|
|
381
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
382
|
-
}))),
|
|
383
|
-
livenessProbe: Schema.optional(Schema.Struct({
|
|
384
|
-
exec: Schema.optional(Schema.Struct({
|
|
385
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
386
|
-
})),
|
|
387
|
-
httpGet: Schema.optional(Schema.Struct({
|
|
388
|
-
path: Schema.optional(Schema.String),
|
|
389
|
-
port: Schema.Number,
|
|
390
|
-
scheme: Schema.optional(Schema.Literals(["http", "https"])),
|
|
391
|
-
httpHeaders: Schema.optional(Schema.Array(Schema.Struct({
|
|
392
|
-
name: Schema.optional(Schema.String),
|
|
393
|
-
value: Schema.optional(Schema.String),
|
|
394
|
-
}))),
|
|
395
|
-
})),
|
|
396
|
-
initialDelaySeconds: Schema.optional(Schema.Number),
|
|
397
|
-
periodSeconds: Schema.optional(Schema.Number),
|
|
398
|
-
failureThreshold: Schema.optional(Schema.Number),
|
|
399
|
-
successThreshold: Schema.optional(Schema.Number),
|
|
400
|
-
timeoutSeconds: Schema.optional(Schema.Number),
|
|
401
|
-
})),
|
|
402
|
-
readinessProbe: Schema.optional(Schema.Struct({
|
|
403
|
-
exec: Schema.optional(Schema.Struct({
|
|
404
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
405
|
-
})),
|
|
406
|
-
httpGet: Schema.optional(Schema.Struct({
|
|
407
|
-
path: Schema.optional(Schema.String),
|
|
408
|
-
port: Schema.Number,
|
|
409
|
-
scheme: Schema.optional(Schema.Literals(["http", "https"])),
|
|
410
|
-
httpHeaders: Schema.optional(Schema.Array(Schema.Struct({
|
|
411
|
-
name: Schema.optional(Schema.String),
|
|
412
|
-
value: Schema.optional(Schema.String),
|
|
413
|
-
}))),
|
|
414
|
-
})),
|
|
415
|
-
initialDelaySeconds: Schema.optional(Schema.Number),
|
|
416
|
-
periodSeconds: Schema.optional(Schema.Number),
|
|
417
|
-
failureThreshold: Schema.optional(Schema.Number),
|
|
418
|
-
successThreshold: Schema.optional(Schema.Number),
|
|
419
|
-
timeoutSeconds: Schema.optional(Schema.Number),
|
|
420
|
-
})),
|
|
421
|
-
securityContext: Schema.optional(Schema.Struct({
|
|
422
|
-
privileged: Schema.optional(Schema.Boolean),
|
|
423
|
-
allowPrivilegeEscalation: Schema.optional(Schema.Boolean),
|
|
424
|
-
capabilities: Schema.optional(Schema.Struct({
|
|
425
|
-
add: Schema.optional(Schema.Array(Schema.String)),
|
|
426
|
-
drop: Schema.optional(Schema.Array(Schema.String)),
|
|
427
|
-
})),
|
|
428
|
-
runAsGroup: Schema.optional(Schema.Number),
|
|
429
|
-
runAsUser: Schema.optional(Schema.Number),
|
|
430
|
-
seccompProfile: Schema.optional(Schema.String),
|
|
431
|
-
})),
|
|
432
|
-
configMap: Schema.optional(Schema.Struct({
|
|
433
|
-
keyValuePairs: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
434
|
-
})),
|
|
435
|
-
}),
|
|
436
|
-
})),
|
|
437
|
-
imageRegistryCredentials: Schema.optional(Schema.Array(Schema.Struct({
|
|
438
|
-
server: Schema.String,
|
|
439
|
-
username: Schema.optional(Schema.String),
|
|
440
|
-
password: Schema.optional(SensitiveString),
|
|
441
|
-
passwordReference: Schema.optional(SensitiveString),
|
|
442
|
-
identity: Schema.optional(Schema.String),
|
|
443
|
-
identityUrl: Schema.optional(Schema.String),
|
|
444
|
-
}))),
|
|
445
|
-
restartPolicy: Schema.optional(Schema.Literals(["Always", "OnFailure", "Never"])),
|
|
446
|
-
ipAddress: Schema.optional(Schema.Struct({
|
|
447
|
-
ports: Schema.Array(Schema.Struct({
|
|
448
|
-
protocol: Schema.optional(Schema.Literals(["TCP", "UDP"])),
|
|
449
|
-
port: Schema.Number,
|
|
450
|
-
})),
|
|
451
|
-
type: Schema.Literals(["Public", "Private"]),
|
|
452
|
-
ip: Schema.optional(Schema.String),
|
|
453
|
-
dnsNameLabel: Schema.optional(Schema.String),
|
|
454
|
-
autoGeneratedDomainNameLabelScope: Schema.optional(Schema.Literals([
|
|
455
|
-
"Unsecure",
|
|
456
|
-
"TenantReuse",
|
|
457
|
-
"SubscriptionReuse",
|
|
458
|
-
"ResourceGroupReuse",
|
|
459
|
-
"Noreuse",
|
|
460
|
-
])),
|
|
461
|
-
fqdn: Schema.optional(Schema.String),
|
|
462
|
-
})),
|
|
463
|
-
osType: Schema.optional(Schema.Literals(["Windows", "Linux"])),
|
|
464
|
-
volumes: Schema.optional(Schema.Array(Schema.Struct({
|
|
465
|
-
name: Schema.String,
|
|
466
|
-
azureFile: Schema.optional(Schema.Struct({
|
|
467
|
-
shareName: Schema.String,
|
|
468
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
469
|
-
storageAccountName: Schema.String,
|
|
470
|
-
storageAccountKey: Schema.optional(Schema.String),
|
|
471
|
-
storageAccountKeyReference: Schema.optional(Schema.String),
|
|
472
|
-
})),
|
|
473
|
-
emptyDir: Schema.optional(Schema.Struct({})),
|
|
474
|
-
secret: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
475
|
-
secretReference: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
476
|
-
gitRepo: Schema.optional(Schema.Struct({
|
|
477
|
-
directory: Schema.optional(Schema.String),
|
|
478
|
-
repository: Schema.String,
|
|
479
|
-
revision: Schema.optional(Schema.String),
|
|
480
|
-
})),
|
|
481
|
-
}))),
|
|
482
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
483
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
484
|
-
count: Schema.optional(Schema.Number),
|
|
485
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
486
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
487
|
-
name: Schema.optional(Schema.String),
|
|
488
|
-
message: Schema.optional(Schema.String),
|
|
489
|
-
type: Schema.optional(Schema.String),
|
|
490
|
-
}))),
|
|
491
|
-
state: Schema.optional(Schema.String),
|
|
492
|
-
})),
|
|
493
|
-
diagnostics: Schema.optional(Schema.Struct({
|
|
494
|
-
logAnalytics: Schema.optional(Schema.Struct({
|
|
495
|
-
workspaceId: Schema.String,
|
|
496
|
-
workspaceKey: Schema.String,
|
|
497
|
-
logType: Schema.optional(Schema.Literals(["ContainerInsights", "ContainerInstanceLogs"])),
|
|
498
|
-
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
499
|
-
workspaceResourceId: Schema.optional(Schema.String),
|
|
500
|
-
})),
|
|
501
|
-
})),
|
|
502
|
-
subnetIds: Schema.optional(Schema.Array(Schema.Struct({
|
|
503
|
-
id: Schema.String,
|
|
504
|
-
name: Schema.optional(Schema.String),
|
|
505
|
-
}))),
|
|
506
|
-
dnsConfig: Schema.optional(Schema.Struct({
|
|
507
|
-
nameServers: Schema.Array(Schema.String),
|
|
508
|
-
searchDomains: Schema.optional(Schema.String),
|
|
509
|
-
options: Schema.optional(Schema.String),
|
|
510
|
-
})),
|
|
511
|
-
sku: Schema.optional(Schema.Literals([
|
|
512
|
-
"NotSpecified",
|
|
513
|
-
"Standard",
|
|
514
|
-
"Dedicated",
|
|
515
|
-
"Confidential",
|
|
516
|
-
])),
|
|
517
|
-
encryptionProperties: Schema.optional(Schema.Struct({
|
|
518
|
-
vaultBaseUrl: Schema.String,
|
|
519
|
-
keyName: Schema.String,
|
|
520
|
-
keyVersion: Schema.String,
|
|
521
|
-
identity: Schema.optional(Schema.String),
|
|
522
|
-
})),
|
|
523
|
-
initContainers: Schema.optional(Schema.Array(Schema.Struct({
|
|
524
|
-
name: Schema.String,
|
|
525
|
-
properties: Schema.Struct({
|
|
526
|
-
image: Schema.optional(Schema.String),
|
|
527
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
528
|
-
environmentVariables: Schema.optional(Schema.Array(Schema.Struct({
|
|
529
|
-
name: Schema.String,
|
|
530
|
-
value: Schema.optional(Schema.String),
|
|
531
|
-
secureValue: Schema.optional(Schema.String),
|
|
532
|
-
secureValueReference: Schema.optional(Schema.String),
|
|
533
|
-
}))),
|
|
534
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
535
|
-
restartCount: Schema.optional(Schema.Number),
|
|
536
|
-
currentState: Schema.optional(Schema.Struct({
|
|
537
|
-
state: Schema.optional(Schema.String),
|
|
538
|
-
startTime: Schema.optional(Schema.String),
|
|
539
|
-
exitCode: Schema.optional(Schema.Number),
|
|
540
|
-
finishTime: Schema.optional(Schema.String),
|
|
541
|
-
detailStatus: Schema.optional(Schema.String),
|
|
542
|
-
})),
|
|
543
|
-
previousState: Schema.optional(Schema.Struct({
|
|
544
|
-
state: Schema.optional(Schema.String),
|
|
545
|
-
startTime: Schema.optional(Schema.String),
|
|
546
|
-
exitCode: Schema.optional(Schema.Number),
|
|
547
|
-
finishTime: Schema.optional(Schema.String),
|
|
548
|
-
detailStatus: Schema.optional(Schema.String),
|
|
549
|
-
})),
|
|
550
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
551
|
-
count: Schema.optional(Schema.Number),
|
|
552
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
553
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
554
|
-
name: Schema.optional(Schema.String),
|
|
555
|
-
message: Schema.optional(Schema.String),
|
|
556
|
-
type: Schema.optional(Schema.String),
|
|
557
|
-
}))),
|
|
558
|
-
})),
|
|
559
|
-
volumeMounts: Schema.optional(Schema.Array(Schema.Struct({
|
|
560
|
-
name: Schema.String,
|
|
561
|
-
mountPath: Schema.String,
|
|
562
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
563
|
-
}))),
|
|
564
|
-
securityContext: Schema.optional(Schema.Struct({
|
|
565
|
-
privileged: Schema.optional(Schema.Boolean),
|
|
566
|
-
allowPrivilegeEscalation: Schema.optional(Schema.Boolean),
|
|
567
|
-
capabilities: Schema.optional(Schema.Struct({
|
|
568
|
-
add: Schema.optional(Schema.Array(Schema.String)),
|
|
569
|
-
drop: Schema.optional(Schema.Array(Schema.String)),
|
|
570
|
-
})),
|
|
571
|
-
runAsGroup: Schema.optional(Schema.Number),
|
|
572
|
-
runAsUser: Schema.optional(Schema.Number),
|
|
573
|
-
seccompProfile: Schema.optional(Schema.String),
|
|
574
|
-
})),
|
|
575
|
-
}),
|
|
576
|
-
}))),
|
|
577
|
-
extensions: Schema.optional(Schema.Array(Schema.Struct({
|
|
578
|
-
name: Schema.String,
|
|
579
|
-
properties: Schema.optional(Schema.Struct({
|
|
580
|
-
extensionType: Schema.String,
|
|
581
|
-
version: Schema.String,
|
|
582
|
-
settings: Schema.optional(Schema.Unknown),
|
|
583
|
-
protectedSettings: Schema.optional(Schema.Unknown),
|
|
584
|
-
})),
|
|
585
|
-
}))),
|
|
586
|
-
confidentialComputeProperties: Schema.optional(Schema.Struct({
|
|
587
|
-
ccePolicy: Schema.optional(Schema.String),
|
|
588
|
-
})),
|
|
589
|
-
priority: Schema.optional(Schema.Literals(["Regular", "Spot"])),
|
|
590
|
-
identityAcls: Schema.optional(Schema.Struct({
|
|
591
|
-
defaultAccess: Schema.optional(Schema.Literals(["All", "System", "User"])),
|
|
592
|
-
acls: Schema.optional(Schema.Array(Schema.Struct({
|
|
593
|
-
access: Schema.optional(Schema.Literals(["All", "System", "User"])),
|
|
594
|
-
identity: Schema.optional(Schema.String),
|
|
595
|
-
}))),
|
|
596
|
-
})),
|
|
597
|
-
containerGroupProfile: Schema.optional(Schema.Struct({
|
|
598
|
-
id: Schema.optional(Schema.String),
|
|
599
|
-
revision: Schema.optional(Schema.Number),
|
|
600
|
-
})),
|
|
601
|
-
standbyPoolProfile: Schema.optional(Schema.Struct({
|
|
602
|
-
id: Schema.optional(Schema.String),
|
|
603
|
-
failContainerGroupCreateOnReuseFailure: Schema.optional(Schema.Boolean),
|
|
604
|
-
})),
|
|
605
|
-
isCreatedFromStandbyPool: Schema.optional(Schema.Boolean),
|
|
606
|
-
}),
|
|
607
|
-
});
|
|
372
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
608
373
|
// The operation
|
|
609
374
|
/**
|
|
610
375
|
* Create or update container groups.
|
|
611
376
|
*
|
|
612
377
|
* Create or update container groups with specified configurations.
|
|
613
378
|
*
|
|
614
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
615
379
|
* @param api-version - The API version to use for this operation.
|
|
380
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
616
381
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
382
|
+
* @param containerGroupName - The name of the container group.
|
|
617
383
|
*/
|
|
618
384
|
export const ContainerGroupsCreateOrUpdate =
|
|
619
385
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -625,6 +391,7 @@ export const ContainerGroupsDeleteInput =
|
|
|
625
391
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
626
392
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
627
393
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
394
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
628
395
|
"api-version": Schema.String,
|
|
629
396
|
}).pipe(T.Http({
|
|
630
397
|
method: "DELETE",
|
|
@@ -632,331 +399,17 @@ export const ContainerGroupsDeleteInput =
|
|
|
632
399
|
}));
|
|
633
400
|
// Output Schema
|
|
634
401
|
export const ContainerGroupsDeleteOutput =
|
|
635
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
636
|
-
id: Schema.optional(Schema.String),
|
|
637
|
-
name: Schema.optional(Schema.String),
|
|
638
|
-
type: Schema.optional(Schema.String),
|
|
639
|
-
location: Schema.optional(Schema.String),
|
|
640
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
641
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
642
|
-
identity: Schema.optional(Schema.Struct({
|
|
643
|
-
principalId: Schema.optional(Schema.String),
|
|
644
|
-
tenantId: Schema.optional(Schema.String),
|
|
645
|
-
type: Schema.optional(Schema.Literals([
|
|
646
|
-
"SystemAssigned",
|
|
647
|
-
"UserAssigned",
|
|
648
|
-
"SystemAssigned, UserAssigned",
|
|
649
|
-
"None",
|
|
650
|
-
])),
|
|
651
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
652
|
-
principalId: Schema.optional(Schema.String),
|
|
653
|
-
clientId: Schema.optional(Schema.String),
|
|
654
|
-
}))),
|
|
655
|
-
})),
|
|
656
|
-
properties: Schema.Struct({
|
|
657
|
-
provisioningState: Schema.optional(Schema.String),
|
|
658
|
-
secretReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
659
|
-
name: Schema.String,
|
|
660
|
-
identity: Schema.String,
|
|
661
|
-
secretReferenceUri: Schema.String,
|
|
662
|
-
}))),
|
|
663
|
-
containers: Schema.Array(Schema.Struct({
|
|
664
|
-
name: Schema.String,
|
|
665
|
-
properties: Schema.Struct({
|
|
666
|
-
image: Schema.optional(Schema.String),
|
|
667
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
668
|
-
ports: Schema.optional(Schema.Array(Schema.Struct({
|
|
669
|
-
protocol: Schema.optional(Schema.Literals(["TCP", "UDP"])),
|
|
670
|
-
port: Schema.Number,
|
|
671
|
-
}))),
|
|
672
|
-
environmentVariables: Schema.optional(Schema.Array(Schema.Struct({
|
|
673
|
-
name: Schema.String,
|
|
674
|
-
value: Schema.optional(Schema.String),
|
|
675
|
-
secureValue: Schema.optional(Schema.String),
|
|
676
|
-
secureValueReference: Schema.optional(Schema.String),
|
|
677
|
-
}))),
|
|
678
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
679
|
-
restartCount: Schema.optional(Schema.Number),
|
|
680
|
-
currentState: Schema.optional(Schema.Struct({
|
|
681
|
-
state: Schema.optional(Schema.String),
|
|
682
|
-
startTime: Schema.optional(Schema.String),
|
|
683
|
-
exitCode: Schema.optional(Schema.Number),
|
|
684
|
-
finishTime: Schema.optional(Schema.String),
|
|
685
|
-
detailStatus: Schema.optional(Schema.String),
|
|
686
|
-
})),
|
|
687
|
-
previousState: Schema.optional(Schema.Struct({
|
|
688
|
-
state: Schema.optional(Schema.String),
|
|
689
|
-
startTime: Schema.optional(Schema.String),
|
|
690
|
-
exitCode: Schema.optional(Schema.Number),
|
|
691
|
-
finishTime: Schema.optional(Schema.String),
|
|
692
|
-
detailStatus: Schema.optional(Schema.String),
|
|
693
|
-
})),
|
|
694
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
695
|
-
count: Schema.optional(Schema.Number),
|
|
696
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
697
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
698
|
-
name: Schema.optional(Schema.String),
|
|
699
|
-
message: Schema.optional(Schema.String),
|
|
700
|
-
type: Schema.optional(Schema.String),
|
|
701
|
-
}))),
|
|
702
|
-
})),
|
|
703
|
-
resources: Schema.optional(Schema.Struct({
|
|
704
|
-
requests: Schema.Struct({
|
|
705
|
-
memoryInGB: Schema.Number,
|
|
706
|
-
cpu: Schema.Number,
|
|
707
|
-
gpu: Schema.optional(Schema.Struct({
|
|
708
|
-
count: Schema.Number,
|
|
709
|
-
sku: Schema.Literals(["K80", "P100", "V100"]),
|
|
710
|
-
})),
|
|
711
|
-
}),
|
|
712
|
-
limits: Schema.optional(Schema.Struct({
|
|
713
|
-
memoryInGB: Schema.optional(Schema.Number),
|
|
714
|
-
cpu: Schema.optional(Schema.Number),
|
|
715
|
-
gpu: Schema.optional(Schema.Struct({
|
|
716
|
-
count: Schema.Number,
|
|
717
|
-
sku: Schema.Literals(["K80", "P100", "V100"]),
|
|
718
|
-
})),
|
|
719
|
-
})),
|
|
720
|
-
})),
|
|
721
|
-
volumeMounts: Schema.optional(Schema.Array(Schema.Struct({
|
|
722
|
-
name: Schema.String,
|
|
723
|
-
mountPath: Schema.String,
|
|
724
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
725
|
-
}))),
|
|
726
|
-
livenessProbe: Schema.optional(Schema.Struct({
|
|
727
|
-
exec: Schema.optional(Schema.Struct({
|
|
728
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
729
|
-
})),
|
|
730
|
-
httpGet: Schema.optional(Schema.Struct({
|
|
731
|
-
path: Schema.optional(Schema.String),
|
|
732
|
-
port: Schema.Number,
|
|
733
|
-
scheme: Schema.optional(Schema.Literals(["http", "https"])),
|
|
734
|
-
httpHeaders: Schema.optional(Schema.Array(Schema.Struct({
|
|
735
|
-
name: Schema.optional(Schema.String),
|
|
736
|
-
value: Schema.optional(Schema.String),
|
|
737
|
-
}))),
|
|
738
|
-
})),
|
|
739
|
-
initialDelaySeconds: Schema.optional(Schema.Number),
|
|
740
|
-
periodSeconds: Schema.optional(Schema.Number),
|
|
741
|
-
failureThreshold: Schema.optional(Schema.Number),
|
|
742
|
-
successThreshold: Schema.optional(Schema.Number),
|
|
743
|
-
timeoutSeconds: Schema.optional(Schema.Number),
|
|
744
|
-
})),
|
|
745
|
-
readinessProbe: Schema.optional(Schema.Struct({
|
|
746
|
-
exec: Schema.optional(Schema.Struct({
|
|
747
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
748
|
-
})),
|
|
749
|
-
httpGet: Schema.optional(Schema.Struct({
|
|
750
|
-
path: Schema.optional(Schema.String),
|
|
751
|
-
port: Schema.Number,
|
|
752
|
-
scheme: Schema.optional(Schema.Literals(["http", "https"])),
|
|
753
|
-
httpHeaders: Schema.optional(Schema.Array(Schema.Struct({
|
|
754
|
-
name: Schema.optional(Schema.String),
|
|
755
|
-
value: Schema.optional(Schema.String),
|
|
756
|
-
}))),
|
|
757
|
-
})),
|
|
758
|
-
initialDelaySeconds: Schema.optional(Schema.Number),
|
|
759
|
-
periodSeconds: Schema.optional(Schema.Number),
|
|
760
|
-
failureThreshold: Schema.optional(Schema.Number),
|
|
761
|
-
successThreshold: Schema.optional(Schema.Number),
|
|
762
|
-
timeoutSeconds: Schema.optional(Schema.Number),
|
|
763
|
-
})),
|
|
764
|
-
securityContext: Schema.optional(Schema.Struct({
|
|
765
|
-
privileged: Schema.optional(Schema.Boolean),
|
|
766
|
-
allowPrivilegeEscalation: Schema.optional(Schema.Boolean),
|
|
767
|
-
capabilities: Schema.optional(Schema.Struct({
|
|
768
|
-
add: Schema.optional(Schema.Array(Schema.String)),
|
|
769
|
-
drop: Schema.optional(Schema.Array(Schema.String)),
|
|
770
|
-
})),
|
|
771
|
-
runAsGroup: Schema.optional(Schema.Number),
|
|
772
|
-
runAsUser: Schema.optional(Schema.Number),
|
|
773
|
-
seccompProfile: Schema.optional(Schema.String),
|
|
774
|
-
})),
|
|
775
|
-
configMap: Schema.optional(Schema.Struct({
|
|
776
|
-
keyValuePairs: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
777
|
-
})),
|
|
778
|
-
}),
|
|
779
|
-
})),
|
|
780
|
-
imageRegistryCredentials: Schema.optional(Schema.Array(Schema.Struct({
|
|
781
|
-
server: Schema.String,
|
|
782
|
-
username: Schema.optional(Schema.String),
|
|
783
|
-
password: Schema.optional(SensitiveString),
|
|
784
|
-
passwordReference: Schema.optional(SensitiveString),
|
|
785
|
-
identity: Schema.optional(Schema.String),
|
|
786
|
-
identityUrl: Schema.optional(Schema.String),
|
|
787
|
-
}))),
|
|
788
|
-
restartPolicy: Schema.optional(Schema.Literals(["Always", "OnFailure", "Never"])),
|
|
789
|
-
ipAddress: Schema.optional(Schema.Struct({
|
|
790
|
-
ports: Schema.Array(Schema.Struct({
|
|
791
|
-
protocol: Schema.optional(Schema.Literals(["TCP", "UDP"])),
|
|
792
|
-
port: Schema.Number,
|
|
793
|
-
})),
|
|
794
|
-
type: Schema.Literals(["Public", "Private"]),
|
|
795
|
-
ip: Schema.optional(Schema.String),
|
|
796
|
-
dnsNameLabel: Schema.optional(Schema.String),
|
|
797
|
-
autoGeneratedDomainNameLabelScope: Schema.optional(Schema.Literals([
|
|
798
|
-
"Unsecure",
|
|
799
|
-
"TenantReuse",
|
|
800
|
-
"SubscriptionReuse",
|
|
801
|
-
"ResourceGroupReuse",
|
|
802
|
-
"Noreuse",
|
|
803
|
-
])),
|
|
804
|
-
fqdn: Schema.optional(Schema.String),
|
|
805
|
-
})),
|
|
806
|
-
osType: Schema.optional(Schema.Literals(["Windows", "Linux"])),
|
|
807
|
-
volumes: Schema.optional(Schema.Array(Schema.Struct({
|
|
808
|
-
name: Schema.String,
|
|
809
|
-
azureFile: Schema.optional(Schema.Struct({
|
|
810
|
-
shareName: Schema.String,
|
|
811
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
812
|
-
storageAccountName: Schema.String,
|
|
813
|
-
storageAccountKey: Schema.optional(Schema.String),
|
|
814
|
-
storageAccountKeyReference: Schema.optional(Schema.String),
|
|
815
|
-
})),
|
|
816
|
-
emptyDir: Schema.optional(Schema.Struct({})),
|
|
817
|
-
secret: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
818
|
-
secretReference: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
819
|
-
gitRepo: Schema.optional(Schema.Struct({
|
|
820
|
-
directory: Schema.optional(Schema.String),
|
|
821
|
-
repository: Schema.String,
|
|
822
|
-
revision: Schema.optional(Schema.String),
|
|
823
|
-
})),
|
|
824
|
-
}))),
|
|
825
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
826
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
827
|
-
count: Schema.optional(Schema.Number),
|
|
828
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
829
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
830
|
-
name: Schema.optional(Schema.String),
|
|
831
|
-
message: Schema.optional(Schema.String),
|
|
832
|
-
type: Schema.optional(Schema.String),
|
|
833
|
-
}))),
|
|
834
|
-
state: Schema.optional(Schema.String),
|
|
835
|
-
})),
|
|
836
|
-
diagnostics: Schema.optional(Schema.Struct({
|
|
837
|
-
logAnalytics: Schema.optional(Schema.Struct({
|
|
838
|
-
workspaceId: Schema.String,
|
|
839
|
-
workspaceKey: Schema.String,
|
|
840
|
-
logType: Schema.optional(Schema.Literals(["ContainerInsights", "ContainerInstanceLogs"])),
|
|
841
|
-
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
842
|
-
workspaceResourceId: Schema.optional(Schema.String),
|
|
843
|
-
})),
|
|
844
|
-
})),
|
|
845
|
-
subnetIds: Schema.optional(Schema.Array(Schema.Struct({
|
|
846
|
-
id: Schema.String,
|
|
847
|
-
name: Schema.optional(Schema.String),
|
|
848
|
-
}))),
|
|
849
|
-
dnsConfig: Schema.optional(Schema.Struct({
|
|
850
|
-
nameServers: Schema.Array(Schema.String),
|
|
851
|
-
searchDomains: Schema.optional(Schema.String),
|
|
852
|
-
options: Schema.optional(Schema.String),
|
|
853
|
-
})),
|
|
854
|
-
sku: Schema.optional(Schema.Literals([
|
|
855
|
-
"NotSpecified",
|
|
856
|
-
"Standard",
|
|
857
|
-
"Dedicated",
|
|
858
|
-
"Confidential",
|
|
859
|
-
])),
|
|
860
|
-
encryptionProperties: Schema.optional(Schema.Struct({
|
|
861
|
-
vaultBaseUrl: Schema.String,
|
|
862
|
-
keyName: Schema.String,
|
|
863
|
-
keyVersion: Schema.String,
|
|
864
|
-
identity: Schema.optional(Schema.String),
|
|
865
|
-
})),
|
|
866
|
-
initContainers: Schema.optional(Schema.Array(Schema.Struct({
|
|
867
|
-
name: Schema.String,
|
|
868
|
-
properties: Schema.Struct({
|
|
869
|
-
image: Schema.optional(Schema.String),
|
|
870
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
871
|
-
environmentVariables: Schema.optional(Schema.Array(Schema.Struct({
|
|
872
|
-
name: Schema.String,
|
|
873
|
-
value: Schema.optional(Schema.String),
|
|
874
|
-
secureValue: Schema.optional(Schema.String),
|
|
875
|
-
secureValueReference: Schema.optional(Schema.String),
|
|
876
|
-
}))),
|
|
877
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
878
|
-
restartCount: Schema.optional(Schema.Number),
|
|
879
|
-
currentState: Schema.optional(Schema.Struct({
|
|
880
|
-
state: Schema.optional(Schema.String),
|
|
881
|
-
startTime: Schema.optional(Schema.String),
|
|
882
|
-
exitCode: Schema.optional(Schema.Number),
|
|
883
|
-
finishTime: Schema.optional(Schema.String),
|
|
884
|
-
detailStatus: Schema.optional(Schema.String),
|
|
885
|
-
})),
|
|
886
|
-
previousState: Schema.optional(Schema.Struct({
|
|
887
|
-
state: Schema.optional(Schema.String),
|
|
888
|
-
startTime: Schema.optional(Schema.String),
|
|
889
|
-
exitCode: Schema.optional(Schema.Number),
|
|
890
|
-
finishTime: Schema.optional(Schema.String),
|
|
891
|
-
detailStatus: Schema.optional(Schema.String),
|
|
892
|
-
})),
|
|
893
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
894
|
-
count: Schema.optional(Schema.Number),
|
|
895
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
896
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
897
|
-
name: Schema.optional(Schema.String),
|
|
898
|
-
message: Schema.optional(Schema.String),
|
|
899
|
-
type: Schema.optional(Schema.String),
|
|
900
|
-
}))),
|
|
901
|
-
})),
|
|
902
|
-
volumeMounts: Schema.optional(Schema.Array(Schema.Struct({
|
|
903
|
-
name: Schema.String,
|
|
904
|
-
mountPath: Schema.String,
|
|
905
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
906
|
-
}))),
|
|
907
|
-
securityContext: Schema.optional(Schema.Struct({
|
|
908
|
-
privileged: Schema.optional(Schema.Boolean),
|
|
909
|
-
allowPrivilegeEscalation: Schema.optional(Schema.Boolean),
|
|
910
|
-
capabilities: Schema.optional(Schema.Struct({
|
|
911
|
-
add: Schema.optional(Schema.Array(Schema.String)),
|
|
912
|
-
drop: Schema.optional(Schema.Array(Schema.String)),
|
|
913
|
-
})),
|
|
914
|
-
runAsGroup: Schema.optional(Schema.Number),
|
|
915
|
-
runAsUser: Schema.optional(Schema.Number),
|
|
916
|
-
seccompProfile: Schema.optional(Schema.String),
|
|
917
|
-
})),
|
|
918
|
-
}),
|
|
919
|
-
}))),
|
|
920
|
-
extensions: Schema.optional(Schema.Array(Schema.Struct({
|
|
921
|
-
name: Schema.String,
|
|
922
|
-
properties: Schema.optional(Schema.Struct({
|
|
923
|
-
extensionType: Schema.String,
|
|
924
|
-
version: Schema.String,
|
|
925
|
-
settings: Schema.optional(Schema.Unknown),
|
|
926
|
-
protectedSettings: Schema.optional(Schema.Unknown),
|
|
927
|
-
})),
|
|
928
|
-
}))),
|
|
929
|
-
confidentialComputeProperties: Schema.optional(Schema.Struct({
|
|
930
|
-
ccePolicy: Schema.optional(Schema.String),
|
|
931
|
-
})),
|
|
932
|
-
priority: Schema.optional(Schema.Literals(["Regular", "Spot"])),
|
|
933
|
-
identityAcls: Schema.optional(Schema.Struct({
|
|
934
|
-
defaultAccess: Schema.optional(Schema.Literals(["All", "System", "User"])),
|
|
935
|
-
acls: Schema.optional(Schema.Array(Schema.Struct({
|
|
936
|
-
access: Schema.optional(Schema.Literals(["All", "System", "User"])),
|
|
937
|
-
identity: Schema.optional(Schema.String),
|
|
938
|
-
}))),
|
|
939
|
-
})),
|
|
940
|
-
containerGroupProfile: Schema.optional(Schema.Struct({
|
|
941
|
-
id: Schema.optional(Schema.String),
|
|
942
|
-
revision: Schema.optional(Schema.Number),
|
|
943
|
-
})),
|
|
944
|
-
standbyPoolProfile: Schema.optional(Schema.Struct({
|
|
945
|
-
id: Schema.optional(Schema.String),
|
|
946
|
-
failContainerGroupCreateOnReuseFailure: Schema.optional(Schema.Boolean),
|
|
947
|
-
})),
|
|
948
|
-
isCreatedFromStandbyPool: Schema.optional(Schema.Boolean),
|
|
949
|
-
}),
|
|
950
|
-
});
|
|
402
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
951
403
|
// The operation
|
|
952
404
|
/**
|
|
953
405
|
* Delete the specified container group.
|
|
954
406
|
*
|
|
955
407
|
* Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.
|
|
956
408
|
*
|
|
957
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
958
409
|
* @param api-version - The API version to use for this operation.
|
|
410
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
959
411
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
412
|
+
* @param containerGroupName - The name of the container group.
|
|
960
413
|
*/
|
|
961
414
|
export const ContainerGroupsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
962
415
|
inputSchema: ContainerGroupsDeleteInput,
|
|
@@ -967,6 +420,7 @@ export const ContainerGroupsGetInput =
|
|
|
967
420
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
968
421
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
969
422
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
423
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
970
424
|
"api-version": Schema.String,
|
|
971
425
|
}).pipe(T.Http({
|
|
972
426
|
method: "GET",
|
|
@@ -974,331 +428,17 @@ export const ContainerGroupsGetInput =
|
|
|
974
428
|
}));
|
|
975
429
|
// Output Schema
|
|
976
430
|
export const ContainerGroupsGetOutput =
|
|
977
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
978
|
-
id: Schema.optional(Schema.String),
|
|
979
|
-
name: Schema.optional(Schema.String),
|
|
980
|
-
type: Schema.optional(Schema.String),
|
|
981
|
-
location: Schema.optional(Schema.String),
|
|
982
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
983
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
984
|
-
identity: Schema.optional(Schema.Struct({
|
|
985
|
-
principalId: Schema.optional(Schema.String),
|
|
986
|
-
tenantId: Schema.optional(Schema.String),
|
|
987
|
-
type: Schema.optional(Schema.Literals([
|
|
988
|
-
"SystemAssigned",
|
|
989
|
-
"UserAssigned",
|
|
990
|
-
"SystemAssigned, UserAssigned",
|
|
991
|
-
"None",
|
|
992
|
-
])),
|
|
993
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
994
|
-
principalId: Schema.optional(Schema.String),
|
|
995
|
-
clientId: Schema.optional(Schema.String),
|
|
996
|
-
}))),
|
|
997
|
-
})),
|
|
998
|
-
properties: Schema.Struct({
|
|
999
|
-
provisioningState: Schema.optional(Schema.String),
|
|
1000
|
-
secretReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
1001
|
-
name: Schema.String,
|
|
1002
|
-
identity: Schema.String,
|
|
1003
|
-
secretReferenceUri: Schema.String,
|
|
1004
|
-
}))),
|
|
1005
|
-
containers: Schema.Array(Schema.Struct({
|
|
1006
|
-
name: Schema.String,
|
|
1007
|
-
properties: Schema.Struct({
|
|
1008
|
-
image: Schema.optional(Schema.String),
|
|
1009
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
1010
|
-
ports: Schema.optional(Schema.Array(Schema.Struct({
|
|
1011
|
-
protocol: Schema.optional(Schema.Literals(["TCP", "UDP"])),
|
|
1012
|
-
port: Schema.Number,
|
|
1013
|
-
}))),
|
|
1014
|
-
environmentVariables: Schema.optional(Schema.Array(Schema.Struct({
|
|
1015
|
-
name: Schema.String,
|
|
1016
|
-
value: Schema.optional(Schema.String),
|
|
1017
|
-
secureValue: Schema.optional(Schema.String),
|
|
1018
|
-
secureValueReference: Schema.optional(Schema.String),
|
|
1019
|
-
}))),
|
|
1020
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
1021
|
-
restartCount: Schema.optional(Schema.Number),
|
|
1022
|
-
currentState: Schema.optional(Schema.Struct({
|
|
1023
|
-
state: Schema.optional(Schema.String),
|
|
1024
|
-
startTime: Schema.optional(Schema.String),
|
|
1025
|
-
exitCode: Schema.optional(Schema.Number),
|
|
1026
|
-
finishTime: Schema.optional(Schema.String),
|
|
1027
|
-
detailStatus: Schema.optional(Schema.String),
|
|
1028
|
-
})),
|
|
1029
|
-
previousState: Schema.optional(Schema.Struct({
|
|
1030
|
-
state: Schema.optional(Schema.String),
|
|
1031
|
-
startTime: Schema.optional(Schema.String),
|
|
1032
|
-
exitCode: Schema.optional(Schema.Number),
|
|
1033
|
-
finishTime: Schema.optional(Schema.String),
|
|
1034
|
-
detailStatus: Schema.optional(Schema.String),
|
|
1035
|
-
})),
|
|
1036
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
1037
|
-
count: Schema.optional(Schema.Number),
|
|
1038
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
1039
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
1040
|
-
name: Schema.optional(Schema.String),
|
|
1041
|
-
message: Schema.optional(Schema.String),
|
|
1042
|
-
type: Schema.optional(Schema.String),
|
|
1043
|
-
}))),
|
|
1044
|
-
})),
|
|
1045
|
-
resources: Schema.optional(Schema.Struct({
|
|
1046
|
-
requests: Schema.Struct({
|
|
1047
|
-
memoryInGB: Schema.Number,
|
|
1048
|
-
cpu: Schema.Number,
|
|
1049
|
-
gpu: Schema.optional(Schema.Struct({
|
|
1050
|
-
count: Schema.Number,
|
|
1051
|
-
sku: Schema.Literals(["K80", "P100", "V100"]),
|
|
1052
|
-
})),
|
|
1053
|
-
}),
|
|
1054
|
-
limits: Schema.optional(Schema.Struct({
|
|
1055
|
-
memoryInGB: Schema.optional(Schema.Number),
|
|
1056
|
-
cpu: Schema.optional(Schema.Number),
|
|
1057
|
-
gpu: Schema.optional(Schema.Struct({
|
|
1058
|
-
count: Schema.Number,
|
|
1059
|
-
sku: Schema.Literals(["K80", "P100", "V100"]),
|
|
1060
|
-
})),
|
|
1061
|
-
})),
|
|
1062
|
-
})),
|
|
1063
|
-
volumeMounts: Schema.optional(Schema.Array(Schema.Struct({
|
|
1064
|
-
name: Schema.String,
|
|
1065
|
-
mountPath: Schema.String,
|
|
1066
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
1067
|
-
}))),
|
|
1068
|
-
livenessProbe: Schema.optional(Schema.Struct({
|
|
1069
|
-
exec: Schema.optional(Schema.Struct({
|
|
1070
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
1071
|
-
})),
|
|
1072
|
-
httpGet: Schema.optional(Schema.Struct({
|
|
1073
|
-
path: Schema.optional(Schema.String),
|
|
1074
|
-
port: Schema.Number,
|
|
1075
|
-
scheme: Schema.optional(Schema.Literals(["http", "https"])),
|
|
1076
|
-
httpHeaders: Schema.optional(Schema.Array(Schema.Struct({
|
|
1077
|
-
name: Schema.optional(Schema.String),
|
|
1078
|
-
value: Schema.optional(Schema.String),
|
|
1079
|
-
}))),
|
|
1080
|
-
})),
|
|
1081
|
-
initialDelaySeconds: Schema.optional(Schema.Number),
|
|
1082
|
-
periodSeconds: Schema.optional(Schema.Number),
|
|
1083
|
-
failureThreshold: Schema.optional(Schema.Number),
|
|
1084
|
-
successThreshold: Schema.optional(Schema.Number),
|
|
1085
|
-
timeoutSeconds: Schema.optional(Schema.Number),
|
|
1086
|
-
})),
|
|
1087
|
-
readinessProbe: Schema.optional(Schema.Struct({
|
|
1088
|
-
exec: Schema.optional(Schema.Struct({
|
|
1089
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
1090
|
-
})),
|
|
1091
|
-
httpGet: Schema.optional(Schema.Struct({
|
|
1092
|
-
path: Schema.optional(Schema.String),
|
|
1093
|
-
port: Schema.Number,
|
|
1094
|
-
scheme: Schema.optional(Schema.Literals(["http", "https"])),
|
|
1095
|
-
httpHeaders: Schema.optional(Schema.Array(Schema.Struct({
|
|
1096
|
-
name: Schema.optional(Schema.String),
|
|
1097
|
-
value: Schema.optional(Schema.String),
|
|
1098
|
-
}))),
|
|
1099
|
-
})),
|
|
1100
|
-
initialDelaySeconds: Schema.optional(Schema.Number),
|
|
1101
|
-
periodSeconds: Schema.optional(Schema.Number),
|
|
1102
|
-
failureThreshold: Schema.optional(Schema.Number),
|
|
1103
|
-
successThreshold: Schema.optional(Schema.Number),
|
|
1104
|
-
timeoutSeconds: Schema.optional(Schema.Number),
|
|
1105
|
-
})),
|
|
1106
|
-
securityContext: Schema.optional(Schema.Struct({
|
|
1107
|
-
privileged: Schema.optional(Schema.Boolean),
|
|
1108
|
-
allowPrivilegeEscalation: Schema.optional(Schema.Boolean),
|
|
1109
|
-
capabilities: Schema.optional(Schema.Struct({
|
|
1110
|
-
add: Schema.optional(Schema.Array(Schema.String)),
|
|
1111
|
-
drop: Schema.optional(Schema.Array(Schema.String)),
|
|
1112
|
-
})),
|
|
1113
|
-
runAsGroup: Schema.optional(Schema.Number),
|
|
1114
|
-
runAsUser: Schema.optional(Schema.Number),
|
|
1115
|
-
seccompProfile: Schema.optional(Schema.String),
|
|
1116
|
-
})),
|
|
1117
|
-
configMap: Schema.optional(Schema.Struct({
|
|
1118
|
-
keyValuePairs: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1119
|
-
})),
|
|
1120
|
-
}),
|
|
1121
|
-
})),
|
|
1122
|
-
imageRegistryCredentials: Schema.optional(Schema.Array(Schema.Struct({
|
|
1123
|
-
server: Schema.String,
|
|
1124
|
-
username: Schema.optional(Schema.String),
|
|
1125
|
-
password: Schema.optional(SensitiveString),
|
|
1126
|
-
passwordReference: Schema.optional(SensitiveString),
|
|
1127
|
-
identity: Schema.optional(Schema.String),
|
|
1128
|
-
identityUrl: Schema.optional(Schema.String),
|
|
1129
|
-
}))),
|
|
1130
|
-
restartPolicy: Schema.optional(Schema.Literals(["Always", "OnFailure", "Never"])),
|
|
1131
|
-
ipAddress: Schema.optional(Schema.Struct({
|
|
1132
|
-
ports: Schema.Array(Schema.Struct({
|
|
1133
|
-
protocol: Schema.optional(Schema.Literals(["TCP", "UDP"])),
|
|
1134
|
-
port: Schema.Number,
|
|
1135
|
-
})),
|
|
1136
|
-
type: Schema.Literals(["Public", "Private"]),
|
|
1137
|
-
ip: Schema.optional(Schema.String),
|
|
1138
|
-
dnsNameLabel: Schema.optional(Schema.String),
|
|
1139
|
-
autoGeneratedDomainNameLabelScope: Schema.optional(Schema.Literals([
|
|
1140
|
-
"Unsecure",
|
|
1141
|
-
"TenantReuse",
|
|
1142
|
-
"SubscriptionReuse",
|
|
1143
|
-
"ResourceGroupReuse",
|
|
1144
|
-
"Noreuse",
|
|
1145
|
-
])),
|
|
1146
|
-
fqdn: Schema.optional(Schema.String),
|
|
1147
|
-
})),
|
|
1148
|
-
osType: Schema.optional(Schema.Literals(["Windows", "Linux"])),
|
|
1149
|
-
volumes: Schema.optional(Schema.Array(Schema.Struct({
|
|
1150
|
-
name: Schema.String,
|
|
1151
|
-
azureFile: Schema.optional(Schema.Struct({
|
|
1152
|
-
shareName: Schema.String,
|
|
1153
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
1154
|
-
storageAccountName: Schema.String,
|
|
1155
|
-
storageAccountKey: Schema.optional(Schema.String),
|
|
1156
|
-
storageAccountKeyReference: Schema.optional(Schema.String),
|
|
1157
|
-
})),
|
|
1158
|
-
emptyDir: Schema.optional(Schema.Struct({})),
|
|
1159
|
-
secret: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1160
|
-
secretReference: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1161
|
-
gitRepo: Schema.optional(Schema.Struct({
|
|
1162
|
-
directory: Schema.optional(Schema.String),
|
|
1163
|
-
repository: Schema.String,
|
|
1164
|
-
revision: Schema.optional(Schema.String),
|
|
1165
|
-
})),
|
|
1166
|
-
}))),
|
|
1167
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
1168
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
1169
|
-
count: Schema.optional(Schema.Number),
|
|
1170
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
1171
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
1172
|
-
name: Schema.optional(Schema.String),
|
|
1173
|
-
message: Schema.optional(Schema.String),
|
|
1174
|
-
type: Schema.optional(Schema.String),
|
|
1175
|
-
}))),
|
|
1176
|
-
state: Schema.optional(Schema.String),
|
|
1177
|
-
})),
|
|
1178
|
-
diagnostics: Schema.optional(Schema.Struct({
|
|
1179
|
-
logAnalytics: Schema.optional(Schema.Struct({
|
|
1180
|
-
workspaceId: Schema.String,
|
|
1181
|
-
workspaceKey: Schema.String,
|
|
1182
|
-
logType: Schema.optional(Schema.Literals(["ContainerInsights", "ContainerInstanceLogs"])),
|
|
1183
|
-
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1184
|
-
workspaceResourceId: Schema.optional(Schema.String),
|
|
1185
|
-
})),
|
|
1186
|
-
})),
|
|
1187
|
-
subnetIds: Schema.optional(Schema.Array(Schema.Struct({
|
|
1188
|
-
id: Schema.String,
|
|
1189
|
-
name: Schema.optional(Schema.String),
|
|
1190
|
-
}))),
|
|
1191
|
-
dnsConfig: Schema.optional(Schema.Struct({
|
|
1192
|
-
nameServers: Schema.Array(Schema.String),
|
|
1193
|
-
searchDomains: Schema.optional(Schema.String),
|
|
1194
|
-
options: Schema.optional(Schema.String),
|
|
1195
|
-
})),
|
|
1196
|
-
sku: Schema.optional(Schema.Literals([
|
|
1197
|
-
"NotSpecified",
|
|
1198
|
-
"Standard",
|
|
1199
|
-
"Dedicated",
|
|
1200
|
-
"Confidential",
|
|
1201
|
-
])),
|
|
1202
|
-
encryptionProperties: Schema.optional(Schema.Struct({
|
|
1203
|
-
vaultBaseUrl: Schema.String,
|
|
1204
|
-
keyName: Schema.String,
|
|
1205
|
-
keyVersion: Schema.String,
|
|
1206
|
-
identity: Schema.optional(Schema.String),
|
|
1207
|
-
})),
|
|
1208
|
-
initContainers: Schema.optional(Schema.Array(Schema.Struct({
|
|
1209
|
-
name: Schema.String,
|
|
1210
|
-
properties: Schema.Struct({
|
|
1211
|
-
image: Schema.optional(Schema.String),
|
|
1212
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
1213
|
-
environmentVariables: Schema.optional(Schema.Array(Schema.Struct({
|
|
1214
|
-
name: Schema.String,
|
|
1215
|
-
value: Schema.optional(Schema.String),
|
|
1216
|
-
secureValue: Schema.optional(Schema.String),
|
|
1217
|
-
secureValueReference: Schema.optional(Schema.String),
|
|
1218
|
-
}))),
|
|
1219
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
1220
|
-
restartCount: Schema.optional(Schema.Number),
|
|
1221
|
-
currentState: Schema.optional(Schema.Struct({
|
|
1222
|
-
state: Schema.optional(Schema.String),
|
|
1223
|
-
startTime: Schema.optional(Schema.String),
|
|
1224
|
-
exitCode: Schema.optional(Schema.Number),
|
|
1225
|
-
finishTime: Schema.optional(Schema.String),
|
|
1226
|
-
detailStatus: Schema.optional(Schema.String),
|
|
1227
|
-
})),
|
|
1228
|
-
previousState: Schema.optional(Schema.Struct({
|
|
1229
|
-
state: Schema.optional(Schema.String),
|
|
1230
|
-
startTime: Schema.optional(Schema.String),
|
|
1231
|
-
exitCode: Schema.optional(Schema.Number),
|
|
1232
|
-
finishTime: Schema.optional(Schema.String),
|
|
1233
|
-
detailStatus: Schema.optional(Schema.String),
|
|
1234
|
-
})),
|
|
1235
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
1236
|
-
count: Schema.optional(Schema.Number),
|
|
1237
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
1238
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
1239
|
-
name: Schema.optional(Schema.String),
|
|
1240
|
-
message: Schema.optional(Schema.String),
|
|
1241
|
-
type: Schema.optional(Schema.String),
|
|
1242
|
-
}))),
|
|
1243
|
-
})),
|
|
1244
|
-
volumeMounts: Schema.optional(Schema.Array(Schema.Struct({
|
|
1245
|
-
name: Schema.String,
|
|
1246
|
-
mountPath: Schema.String,
|
|
1247
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
1248
|
-
}))),
|
|
1249
|
-
securityContext: Schema.optional(Schema.Struct({
|
|
1250
|
-
privileged: Schema.optional(Schema.Boolean),
|
|
1251
|
-
allowPrivilegeEscalation: Schema.optional(Schema.Boolean),
|
|
1252
|
-
capabilities: Schema.optional(Schema.Struct({
|
|
1253
|
-
add: Schema.optional(Schema.Array(Schema.String)),
|
|
1254
|
-
drop: Schema.optional(Schema.Array(Schema.String)),
|
|
1255
|
-
})),
|
|
1256
|
-
runAsGroup: Schema.optional(Schema.Number),
|
|
1257
|
-
runAsUser: Schema.optional(Schema.Number),
|
|
1258
|
-
seccompProfile: Schema.optional(Schema.String),
|
|
1259
|
-
})),
|
|
1260
|
-
}),
|
|
1261
|
-
}))),
|
|
1262
|
-
extensions: Schema.optional(Schema.Array(Schema.Struct({
|
|
1263
|
-
name: Schema.String,
|
|
1264
|
-
properties: Schema.optional(Schema.Struct({
|
|
1265
|
-
extensionType: Schema.String,
|
|
1266
|
-
version: Schema.String,
|
|
1267
|
-
settings: Schema.optional(Schema.Unknown),
|
|
1268
|
-
protectedSettings: Schema.optional(Schema.Unknown),
|
|
1269
|
-
})),
|
|
1270
|
-
}))),
|
|
1271
|
-
confidentialComputeProperties: Schema.optional(Schema.Struct({
|
|
1272
|
-
ccePolicy: Schema.optional(Schema.String),
|
|
1273
|
-
})),
|
|
1274
|
-
priority: Schema.optional(Schema.Literals(["Regular", "Spot"])),
|
|
1275
|
-
identityAcls: Schema.optional(Schema.Struct({
|
|
1276
|
-
defaultAccess: Schema.optional(Schema.Literals(["All", "System", "User"])),
|
|
1277
|
-
acls: Schema.optional(Schema.Array(Schema.Struct({
|
|
1278
|
-
access: Schema.optional(Schema.Literals(["All", "System", "User"])),
|
|
1279
|
-
identity: Schema.optional(Schema.String),
|
|
1280
|
-
}))),
|
|
1281
|
-
})),
|
|
1282
|
-
containerGroupProfile: Schema.optional(Schema.Struct({
|
|
1283
|
-
id: Schema.optional(Schema.String),
|
|
1284
|
-
revision: Schema.optional(Schema.Number),
|
|
1285
|
-
})),
|
|
1286
|
-
standbyPoolProfile: Schema.optional(Schema.Struct({
|
|
1287
|
-
id: Schema.optional(Schema.String),
|
|
1288
|
-
failContainerGroupCreateOnReuseFailure: Schema.optional(Schema.Boolean),
|
|
1289
|
-
})),
|
|
1290
|
-
isCreatedFromStandbyPool: Schema.optional(Schema.Boolean),
|
|
1291
|
-
}),
|
|
1292
|
-
});
|
|
431
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
1293
432
|
// The operation
|
|
1294
433
|
/**
|
|
1295
434
|
* Get the properties of the specified container group.
|
|
1296
435
|
*
|
|
1297
436
|
* Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
1298
437
|
*
|
|
1299
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1300
438
|
* @param api-version - The API version to use for this operation.
|
|
439
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1301
440
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
441
|
+
* @param containerGroupName - The name of the container group.
|
|
1302
442
|
*/
|
|
1303
443
|
export const ContainerGroupsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1304
444
|
inputSchema: ContainerGroupsGetInput,
|
|
@@ -1309,6 +449,7 @@ export const ContainerGroupsGetOutboundNetworkDependenciesEndpointsInput =
|
|
|
1309
449
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1310
450
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1311
451
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
452
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
1312
453
|
"api-version": Schema.String,
|
|
1313
454
|
}).pipe(T.Http({
|
|
1314
455
|
method: "GET",
|
|
@@ -1323,9 +464,10 @@ export const ContainerGroupsGetOutboundNetworkDependenciesEndpointsOutput =
|
|
|
1323
464
|
*
|
|
1324
465
|
* Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.
|
|
1325
466
|
*
|
|
1326
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1327
467
|
* @param api-version - The API version to use for this operation.
|
|
468
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1328
469
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
470
|
+
* @param containerGroupName - The name of the container group.
|
|
1329
471
|
*/
|
|
1330
472
|
export const ContainerGroupsGetOutboundNetworkDependenciesEndpoints =
|
|
1331
473
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1344,7 +486,7 @@ export const ContainerGroupsListInput =
|
|
|
1344
486
|
// Output Schema
|
|
1345
487
|
export const ContainerGroupsListOutput =
|
|
1346
488
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1347
|
-
value: Schema.
|
|
489
|
+
value: Schema.Array(Schema.Struct({
|
|
1348
490
|
id: Schema.optional(Schema.String),
|
|
1349
491
|
name: Schema.optional(Schema.String),
|
|
1350
492
|
type: Schema.optional(Schema.String),
|
|
@@ -1539,7 +681,7 @@ export const ContainerGroupsListOutput =
|
|
|
1539
681
|
storageAccountKey: Schema.optional(Schema.String),
|
|
1540
682
|
storageAccountKeyReference: Schema.optional(Schema.String),
|
|
1541
683
|
})),
|
|
1542
|
-
emptyDir: Schema.optional(Schema.
|
|
684
|
+
emptyDir: Schema.optional(Schema.Unknown),
|
|
1543
685
|
secret: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1544
686
|
secretReference: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1545
687
|
gitRepo: Schema.optional(Schema.Struct({
|
|
@@ -1665,7 +807,7 @@ export const ContainerGroupsListOutput =
|
|
|
1665
807
|
})),
|
|
1666
808
|
isCreatedFromStandbyPool: Schema.optional(Schema.Boolean),
|
|
1667
809
|
}),
|
|
1668
|
-
}))
|
|
810
|
+
})),
|
|
1669
811
|
nextLink: Schema.optional(Schema.String),
|
|
1670
812
|
});
|
|
1671
813
|
// The operation
|
|
@@ -1674,8 +816,8 @@ export const ContainerGroupsListOutput =
|
|
|
1674
816
|
*
|
|
1675
817
|
* Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
1676
818
|
*
|
|
1677
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1678
819
|
* @param api-version - The API version to use for this operation.
|
|
820
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1679
821
|
*/
|
|
1680
822
|
export const ContainerGroupsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1681
823
|
inputSchema: ContainerGroupsListInput,
|
|
@@ -1694,7 +836,7 @@ export const ContainerGroupsListByResourceGroupInput =
|
|
|
1694
836
|
// Output Schema
|
|
1695
837
|
export const ContainerGroupsListByResourceGroupOutput =
|
|
1696
838
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1697
|
-
value: Schema.
|
|
839
|
+
value: Schema.Array(Schema.Struct({
|
|
1698
840
|
id: Schema.optional(Schema.String),
|
|
1699
841
|
name: Schema.optional(Schema.String),
|
|
1700
842
|
type: Schema.optional(Schema.String),
|
|
@@ -1889,7 +1031,7 @@ export const ContainerGroupsListByResourceGroupOutput =
|
|
|
1889
1031
|
storageAccountKey: Schema.optional(Schema.String),
|
|
1890
1032
|
storageAccountKeyReference: Schema.optional(Schema.String),
|
|
1891
1033
|
})),
|
|
1892
|
-
emptyDir: Schema.optional(Schema.
|
|
1034
|
+
emptyDir: Schema.optional(Schema.Unknown),
|
|
1893
1035
|
secret: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1894
1036
|
secretReference: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
1895
1037
|
gitRepo: Schema.optional(Schema.Struct({
|
|
@@ -2015,7 +1157,7 @@ export const ContainerGroupsListByResourceGroupOutput =
|
|
|
2015
1157
|
})),
|
|
2016
1158
|
isCreatedFromStandbyPool: Schema.optional(Schema.Boolean),
|
|
2017
1159
|
}),
|
|
2018
|
-
}))
|
|
1160
|
+
})),
|
|
2019
1161
|
nextLink: Schema.optional(Schema.String),
|
|
2020
1162
|
});
|
|
2021
1163
|
// The operation
|
|
@@ -2024,8 +1166,8 @@ export const ContainerGroupsListByResourceGroupOutput =
|
|
|
2024
1166
|
*
|
|
2025
1167
|
* Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
2026
1168
|
*
|
|
2027
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2028
1169
|
* @param api-version - The API version to use for this operation.
|
|
1170
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2029
1171
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2030
1172
|
*/
|
|
2031
1173
|
export const ContainerGroupsListByResourceGroup =
|
|
@@ -2038,6 +1180,7 @@ export const ContainerGroupsRestartInput =
|
|
|
2038
1180
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2039
1181
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2040
1182
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1183
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
2041
1184
|
"api-version": Schema.String,
|
|
2042
1185
|
}).pipe(T.Http({
|
|
2043
1186
|
method: "POST",
|
|
@@ -2052,9 +1195,10 @@ export const ContainerGroupsRestartOutput =
|
|
|
2052
1195
|
*
|
|
2053
1196
|
* Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.
|
|
2054
1197
|
*
|
|
2055
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2056
1198
|
* @param api-version - The API version to use for this operation.
|
|
1199
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2057
1200
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1201
|
+
* @param containerGroupName - The name of the container group.
|
|
2058
1202
|
*/
|
|
2059
1203
|
export const ContainerGroupsRestart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2060
1204
|
inputSchema: ContainerGroupsRestartInput,
|
|
@@ -2065,6 +1209,7 @@ export const ContainerGroupsStartInput =
|
|
|
2065
1209
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2066
1210
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2067
1211
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1212
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
2068
1213
|
"api-version": Schema.String,
|
|
2069
1214
|
}).pipe(T.Http({
|
|
2070
1215
|
method: "POST",
|
|
@@ -2079,9 +1224,10 @@ export const ContainerGroupsStartOutput =
|
|
|
2079
1224
|
*
|
|
2080
1225
|
* Starts all containers in a container group. Compute resources will be allocated and billing will start.
|
|
2081
1226
|
*
|
|
2082
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2083
1227
|
* @param api-version - The API version to use for this operation.
|
|
1228
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2084
1229
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1230
|
+
* @param containerGroupName - The name of the container group.
|
|
2085
1231
|
*/
|
|
2086
1232
|
export const ContainerGroupsStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2087
1233
|
inputSchema: ContainerGroupsStartInput,
|
|
@@ -2092,6 +1238,7 @@ export const ContainerGroupsStopInput =
|
|
|
2092
1238
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2093
1239
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2094
1240
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1241
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
2095
1242
|
"api-version": Schema.String,
|
|
2096
1243
|
}).pipe(T.Http({
|
|
2097
1244
|
method: "POST",
|
|
@@ -2106,9 +1253,10 @@ export const ContainerGroupsStopOutput =
|
|
|
2106
1253
|
*
|
|
2107
1254
|
* Stops all containers in a container group. Compute resources will be deallocated and billing will stop.
|
|
2108
1255
|
*
|
|
2109
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2110
1256
|
* @param api-version - The API version to use for this operation.
|
|
1257
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2111
1258
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1259
|
+
* @param containerGroupName - The name of the container group.
|
|
2112
1260
|
*/
|
|
2113
1261
|
export const ContainerGroupsStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2114
1262
|
inputSchema: ContainerGroupsStopInput,
|
|
@@ -2119,6 +1267,7 @@ export const ContainerGroupsUpdateInput =
|
|
|
2119
1267
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2120
1268
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2121
1269
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1270
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
2122
1271
|
"api-version": Schema.String,
|
|
2123
1272
|
}).pipe(T.Http({
|
|
2124
1273
|
method: "PATCH",
|
|
@@ -2126,331 +1275,17 @@ export const ContainerGroupsUpdateInput =
|
|
|
2126
1275
|
}));
|
|
2127
1276
|
// Output Schema
|
|
2128
1277
|
export const ContainerGroupsUpdateOutput =
|
|
2129
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2130
|
-
id: Schema.optional(Schema.String),
|
|
2131
|
-
name: Schema.optional(Schema.String),
|
|
2132
|
-
type: Schema.optional(Schema.String),
|
|
2133
|
-
location: Schema.optional(Schema.String),
|
|
2134
|
-
tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
2135
|
-
zones: Schema.optional(Schema.Array(Schema.String)),
|
|
2136
|
-
identity: Schema.optional(Schema.Struct({
|
|
2137
|
-
principalId: Schema.optional(Schema.String),
|
|
2138
|
-
tenantId: Schema.optional(Schema.String),
|
|
2139
|
-
type: Schema.optional(Schema.Literals([
|
|
2140
|
-
"SystemAssigned",
|
|
2141
|
-
"UserAssigned",
|
|
2142
|
-
"SystemAssigned, UserAssigned",
|
|
2143
|
-
"None",
|
|
2144
|
-
])),
|
|
2145
|
-
userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
2146
|
-
principalId: Schema.optional(Schema.String),
|
|
2147
|
-
clientId: Schema.optional(Schema.String),
|
|
2148
|
-
}))),
|
|
2149
|
-
})),
|
|
2150
|
-
properties: Schema.Struct({
|
|
2151
|
-
provisioningState: Schema.optional(Schema.String),
|
|
2152
|
-
secretReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
2153
|
-
name: Schema.String,
|
|
2154
|
-
identity: Schema.String,
|
|
2155
|
-
secretReferenceUri: Schema.String,
|
|
2156
|
-
}))),
|
|
2157
|
-
containers: Schema.Array(Schema.Struct({
|
|
2158
|
-
name: Schema.String,
|
|
2159
|
-
properties: Schema.Struct({
|
|
2160
|
-
image: Schema.optional(Schema.String),
|
|
2161
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
2162
|
-
ports: Schema.optional(Schema.Array(Schema.Struct({
|
|
2163
|
-
protocol: Schema.optional(Schema.Literals(["TCP", "UDP"])),
|
|
2164
|
-
port: Schema.Number,
|
|
2165
|
-
}))),
|
|
2166
|
-
environmentVariables: Schema.optional(Schema.Array(Schema.Struct({
|
|
2167
|
-
name: Schema.String,
|
|
2168
|
-
value: Schema.optional(Schema.String),
|
|
2169
|
-
secureValue: Schema.optional(Schema.String),
|
|
2170
|
-
secureValueReference: Schema.optional(Schema.String),
|
|
2171
|
-
}))),
|
|
2172
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
2173
|
-
restartCount: Schema.optional(Schema.Number),
|
|
2174
|
-
currentState: Schema.optional(Schema.Struct({
|
|
2175
|
-
state: Schema.optional(Schema.String),
|
|
2176
|
-
startTime: Schema.optional(Schema.String),
|
|
2177
|
-
exitCode: Schema.optional(Schema.Number),
|
|
2178
|
-
finishTime: Schema.optional(Schema.String),
|
|
2179
|
-
detailStatus: Schema.optional(Schema.String),
|
|
2180
|
-
})),
|
|
2181
|
-
previousState: Schema.optional(Schema.Struct({
|
|
2182
|
-
state: Schema.optional(Schema.String),
|
|
2183
|
-
startTime: Schema.optional(Schema.String),
|
|
2184
|
-
exitCode: Schema.optional(Schema.Number),
|
|
2185
|
-
finishTime: Schema.optional(Schema.String),
|
|
2186
|
-
detailStatus: Schema.optional(Schema.String),
|
|
2187
|
-
})),
|
|
2188
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
2189
|
-
count: Schema.optional(Schema.Number),
|
|
2190
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
2191
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
2192
|
-
name: Schema.optional(Schema.String),
|
|
2193
|
-
message: Schema.optional(Schema.String),
|
|
2194
|
-
type: Schema.optional(Schema.String),
|
|
2195
|
-
}))),
|
|
2196
|
-
})),
|
|
2197
|
-
resources: Schema.optional(Schema.Struct({
|
|
2198
|
-
requests: Schema.Struct({
|
|
2199
|
-
memoryInGB: Schema.Number,
|
|
2200
|
-
cpu: Schema.Number,
|
|
2201
|
-
gpu: Schema.optional(Schema.Struct({
|
|
2202
|
-
count: Schema.Number,
|
|
2203
|
-
sku: Schema.Literals(["K80", "P100", "V100"]),
|
|
2204
|
-
})),
|
|
2205
|
-
}),
|
|
2206
|
-
limits: Schema.optional(Schema.Struct({
|
|
2207
|
-
memoryInGB: Schema.optional(Schema.Number),
|
|
2208
|
-
cpu: Schema.optional(Schema.Number),
|
|
2209
|
-
gpu: Schema.optional(Schema.Struct({
|
|
2210
|
-
count: Schema.Number,
|
|
2211
|
-
sku: Schema.Literals(["K80", "P100", "V100"]),
|
|
2212
|
-
})),
|
|
2213
|
-
})),
|
|
2214
|
-
})),
|
|
2215
|
-
volumeMounts: Schema.optional(Schema.Array(Schema.Struct({
|
|
2216
|
-
name: Schema.String,
|
|
2217
|
-
mountPath: Schema.String,
|
|
2218
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
2219
|
-
}))),
|
|
2220
|
-
livenessProbe: Schema.optional(Schema.Struct({
|
|
2221
|
-
exec: Schema.optional(Schema.Struct({
|
|
2222
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
2223
|
-
})),
|
|
2224
|
-
httpGet: Schema.optional(Schema.Struct({
|
|
2225
|
-
path: Schema.optional(Schema.String),
|
|
2226
|
-
port: Schema.Number,
|
|
2227
|
-
scheme: Schema.optional(Schema.Literals(["http", "https"])),
|
|
2228
|
-
httpHeaders: Schema.optional(Schema.Array(Schema.Struct({
|
|
2229
|
-
name: Schema.optional(Schema.String),
|
|
2230
|
-
value: Schema.optional(Schema.String),
|
|
2231
|
-
}))),
|
|
2232
|
-
})),
|
|
2233
|
-
initialDelaySeconds: Schema.optional(Schema.Number),
|
|
2234
|
-
periodSeconds: Schema.optional(Schema.Number),
|
|
2235
|
-
failureThreshold: Schema.optional(Schema.Number),
|
|
2236
|
-
successThreshold: Schema.optional(Schema.Number),
|
|
2237
|
-
timeoutSeconds: Schema.optional(Schema.Number),
|
|
2238
|
-
})),
|
|
2239
|
-
readinessProbe: Schema.optional(Schema.Struct({
|
|
2240
|
-
exec: Schema.optional(Schema.Struct({
|
|
2241
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
2242
|
-
})),
|
|
2243
|
-
httpGet: Schema.optional(Schema.Struct({
|
|
2244
|
-
path: Schema.optional(Schema.String),
|
|
2245
|
-
port: Schema.Number,
|
|
2246
|
-
scheme: Schema.optional(Schema.Literals(["http", "https"])),
|
|
2247
|
-
httpHeaders: Schema.optional(Schema.Array(Schema.Struct({
|
|
2248
|
-
name: Schema.optional(Schema.String),
|
|
2249
|
-
value: Schema.optional(Schema.String),
|
|
2250
|
-
}))),
|
|
2251
|
-
})),
|
|
2252
|
-
initialDelaySeconds: Schema.optional(Schema.Number),
|
|
2253
|
-
periodSeconds: Schema.optional(Schema.Number),
|
|
2254
|
-
failureThreshold: Schema.optional(Schema.Number),
|
|
2255
|
-
successThreshold: Schema.optional(Schema.Number),
|
|
2256
|
-
timeoutSeconds: Schema.optional(Schema.Number),
|
|
2257
|
-
})),
|
|
2258
|
-
securityContext: Schema.optional(Schema.Struct({
|
|
2259
|
-
privileged: Schema.optional(Schema.Boolean),
|
|
2260
|
-
allowPrivilegeEscalation: Schema.optional(Schema.Boolean),
|
|
2261
|
-
capabilities: Schema.optional(Schema.Struct({
|
|
2262
|
-
add: Schema.optional(Schema.Array(Schema.String)),
|
|
2263
|
-
drop: Schema.optional(Schema.Array(Schema.String)),
|
|
2264
|
-
})),
|
|
2265
|
-
runAsGroup: Schema.optional(Schema.Number),
|
|
2266
|
-
runAsUser: Schema.optional(Schema.Number),
|
|
2267
|
-
seccompProfile: Schema.optional(Schema.String),
|
|
2268
|
-
})),
|
|
2269
|
-
configMap: Schema.optional(Schema.Struct({
|
|
2270
|
-
keyValuePairs: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
2271
|
-
})),
|
|
2272
|
-
}),
|
|
2273
|
-
})),
|
|
2274
|
-
imageRegistryCredentials: Schema.optional(Schema.Array(Schema.Struct({
|
|
2275
|
-
server: Schema.String,
|
|
2276
|
-
username: Schema.optional(Schema.String),
|
|
2277
|
-
password: Schema.optional(SensitiveString),
|
|
2278
|
-
passwordReference: Schema.optional(SensitiveString),
|
|
2279
|
-
identity: Schema.optional(Schema.String),
|
|
2280
|
-
identityUrl: Schema.optional(Schema.String),
|
|
2281
|
-
}))),
|
|
2282
|
-
restartPolicy: Schema.optional(Schema.Literals(["Always", "OnFailure", "Never"])),
|
|
2283
|
-
ipAddress: Schema.optional(Schema.Struct({
|
|
2284
|
-
ports: Schema.Array(Schema.Struct({
|
|
2285
|
-
protocol: Schema.optional(Schema.Literals(["TCP", "UDP"])),
|
|
2286
|
-
port: Schema.Number,
|
|
2287
|
-
})),
|
|
2288
|
-
type: Schema.Literals(["Public", "Private"]),
|
|
2289
|
-
ip: Schema.optional(Schema.String),
|
|
2290
|
-
dnsNameLabel: Schema.optional(Schema.String),
|
|
2291
|
-
autoGeneratedDomainNameLabelScope: Schema.optional(Schema.Literals([
|
|
2292
|
-
"Unsecure",
|
|
2293
|
-
"TenantReuse",
|
|
2294
|
-
"SubscriptionReuse",
|
|
2295
|
-
"ResourceGroupReuse",
|
|
2296
|
-
"Noreuse",
|
|
2297
|
-
])),
|
|
2298
|
-
fqdn: Schema.optional(Schema.String),
|
|
2299
|
-
})),
|
|
2300
|
-
osType: Schema.optional(Schema.Literals(["Windows", "Linux"])),
|
|
2301
|
-
volumes: Schema.optional(Schema.Array(Schema.Struct({
|
|
2302
|
-
name: Schema.String,
|
|
2303
|
-
azureFile: Schema.optional(Schema.Struct({
|
|
2304
|
-
shareName: Schema.String,
|
|
2305
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
2306
|
-
storageAccountName: Schema.String,
|
|
2307
|
-
storageAccountKey: Schema.optional(Schema.String),
|
|
2308
|
-
storageAccountKeyReference: Schema.optional(Schema.String),
|
|
2309
|
-
})),
|
|
2310
|
-
emptyDir: Schema.optional(Schema.Struct({})),
|
|
2311
|
-
secret: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
2312
|
-
secretReference: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
2313
|
-
gitRepo: Schema.optional(Schema.Struct({
|
|
2314
|
-
directory: Schema.optional(Schema.String),
|
|
2315
|
-
repository: Schema.String,
|
|
2316
|
-
revision: Schema.optional(Schema.String),
|
|
2317
|
-
})),
|
|
2318
|
-
}))),
|
|
2319
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
2320
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
2321
|
-
count: Schema.optional(Schema.Number),
|
|
2322
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
2323
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
2324
|
-
name: Schema.optional(Schema.String),
|
|
2325
|
-
message: Schema.optional(Schema.String),
|
|
2326
|
-
type: Schema.optional(Schema.String),
|
|
2327
|
-
}))),
|
|
2328
|
-
state: Schema.optional(Schema.String),
|
|
2329
|
-
})),
|
|
2330
|
-
diagnostics: Schema.optional(Schema.Struct({
|
|
2331
|
-
logAnalytics: Schema.optional(Schema.Struct({
|
|
2332
|
-
workspaceId: Schema.String,
|
|
2333
|
-
workspaceKey: Schema.String,
|
|
2334
|
-
logType: Schema.optional(Schema.Literals(["ContainerInsights", "ContainerInstanceLogs"])),
|
|
2335
|
-
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
2336
|
-
workspaceResourceId: Schema.optional(Schema.String),
|
|
2337
|
-
})),
|
|
2338
|
-
})),
|
|
2339
|
-
subnetIds: Schema.optional(Schema.Array(Schema.Struct({
|
|
2340
|
-
id: Schema.String,
|
|
2341
|
-
name: Schema.optional(Schema.String),
|
|
2342
|
-
}))),
|
|
2343
|
-
dnsConfig: Schema.optional(Schema.Struct({
|
|
2344
|
-
nameServers: Schema.Array(Schema.String),
|
|
2345
|
-
searchDomains: Schema.optional(Schema.String),
|
|
2346
|
-
options: Schema.optional(Schema.String),
|
|
2347
|
-
})),
|
|
2348
|
-
sku: Schema.optional(Schema.Literals([
|
|
2349
|
-
"NotSpecified",
|
|
2350
|
-
"Standard",
|
|
2351
|
-
"Dedicated",
|
|
2352
|
-
"Confidential",
|
|
2353
|
-
])),
|
|
2354
|
-
encryptionProperties: Schema.optional(Schema.Struct({
|
|
2355
|
-
vaultBaseUrl: Schema.String,
|
|
2356
|
-
keyName: Schema.String,
|
|
2357
|
-
keyVersion: Schema.String,
|
|
2358
|
-
identity: Schema.optional(Schema.String),
|
|
2359
|
-
})),
|
|
2360
|
-
initContainers: Schema.optional(Schema.Array(Schema.Struct({
|
|
2361
|
-
name: Schema.String,
|
|
2362
|
-
properties: Schema.Struct({
|
|
2363
|
-
image: Schema.optional(Schema.String),
|
|
2364
|
-
command: Schema.optional(Schema.Array(Schema.String)),
|
|
2365
|
-
environmentVariables: Schema.optional(Schema.Array(Schema.Struct({
|
|
2366
|
-
name: Schema.String,
|
|
2367
|
-
value: Schema.optional(Schema.String),
|
|
2368
|
-
secureValue: Schema.optional(Schema.String),
|
|
2369
|
-
secureValueReference: Schema.optional(Schema.String),
|
|
2370
|
-
}))),
|
|
2371
|
-
instanceView: Schema.optional(Schema.Struct({
|
|
2372
|
-
restartCount: Schema.optional(Schema.Number),
|
|
2373
|
-
currentState: Schema.optional(Schema.Struct({
|
|
2374
|
-
state: Schema.optional(Schema.String),
|
|
2375
|
-
startTime: Schema.optional(Schema.String),
|
|
2376
|
-
exitCode: Schema.optional(Schema.Number),
|
|
2377
|
-
finishTime: Schema.optional(Schema.String),
|
|
2378
|
-
detailStatus: Schema.optional(Schema.String),
|
|
2379
|
-
})),
|
|
2380
|
-
previousState: Schema.optional(Schema.Struct({
|
|
2381
|
-
state: Schema.optional(Schema.String),
|
|
2382
|
-
startTime: Schema.optional(Schema.String),
|
|
2383
|
-
exitCode: Schema.optional(Schema.Number),
|
|
2384
|
-
finishTime: Schema.optional(Schema.String),
|
|
2385
|
-
detailStatus: Schema.optional(Schema.String),
|
|
2386
|
-
})),
|
|
2387
|
-
events: Schema.optional(Schema.Array(Schema.Struct({
|
|
2388
|
-
count: Schema.optional(Schema.Number),
|
|
2389
|
-
firstTimestamp: Schema.optional(Schema.String),
|
|
2390
|
-
lastTimestamp: Schema.optional(Schema.String),
|
|
2391
|
-
name: Schema.optional(Schema.String),
|
|
2392
|
-
message: Schema.optional(Schema.String),
|
|
2393
|
-
type: Schema.optional(Schema.String),
|
|
2394
|
-
}))),
|
|
2395
|
-
})),
|
|
2396
|
-
volumeMounts: Schema.optional(Schema.Array(Schema.Struct({
|
|
2397
|
-
name: Schema.String,
|
|
2398
|
-
mountPath: Schema.String,
|
|
2399
|
-
readOnly: Schema.optional(Schema.Boolean),
|
|
2400
|
-
}))),
|
|
2401
|
-
securityContext: Schema.optional(Schema.Struct({
|
|
2402
|
-
privileged: Schema.optional(Schema.Boolean),
|
|
2403
|
-
allowPrivilegeEscalation: Schema.optional(Schema.Boolean),
|
|
2404
|
-
capabilities: Schema.optional(Schema.Struct({
|
|
2405
|
-
add: Schema.optional(Schema.Array(Schema.String)),
|
|
2406
|
-
drop: Schema.optional(Schema.Array(Schema.String)),
|
|
2407
|
-
})),
|
|
2408
|
-
runAsGroup: Schema.optional(Schema.Number),
|
|
2409
|
-
runAsUser: Schema.optional(Schema.Number),
|
|
2410
|
-
seccompProfile: Schema.optional(Schema.String),
|
|
2411
|
-
})),
|
|
2412
|
-
}),
|
|
2413
|
-
}))),
|
|
2414
|
-
extensions: Schema.optional(Schema.Array(Schema.Struct({
|
|
2415
|
-
name: Schema.String,
|
|
2416
|
-
properties: Schema.optional(Schema.Struct({
|
|
2417
|
-
extensionType: Schema.String,
|
|
2418
|
-
version: Schema.String,
|
|
2419
|
-
settings: Schema.optional(Schema.Unknown),
|
|
2420
|
-
protectedSettings: Schema.optional(Schema.Unknown),
|
|
2421
|
-
})),
|
|
2422
|
-
}))),
|
|
2423
|
-
confidentialComputeProperties: Schema.optional(Schema.Struct({
|
|
2424
|
-
ccePolicy: Schema.optional(Schema.String),
|
|
2425
|
-
})),
|
|
2426
|
-
priority: Schema.optional(Schema.Literals(["Regular", "Spot"])),
|
|
2427
|
-
identityAcls: Schema.optional(Schema.Struct({
|
|
2428
|
-
defaultAccess: Schema.optional(Schema.Literals(["All", "System", "User"])),
|
|
2429
|
-
acls: Schema.optional(Schema.Array(Schema.Struct({
|
|
2430
|
-
access: Schema.optional(Schema.Literals(["All", "System", "User"])),
|
|
2431
|
-
identity: Schema.optional(Schema.String),
|
|
2432
|
-
}))),
|
|
2433
|
-
})),
|
|
2434
|
-
containerGroupProfile: Schema.optional(Schema.Struct({
|
|
2435
|
-
id: Schema.optional(Schema.String),
|
|
2436
|
-
revision: Schema.optional(Schema.Number),
|
|
2437
|
-
})),
|
|
2438
|
-
standbyPoolProfile: Schema.optional(Schema.Struct({
|
|
2439
|
-
id: Schema.optional(Schema.String),
|
|
2440
|
-
failContainerGroupCreateOnReuseFailure: Schema.optional(Schema.Boolean),
|
|
2441
|
-
})),
|
|
2442
|
-
isCreatedFromStandbyPool: Schema.optional(Schema.Boolean),
|
|
2443
|
-
}),
|
|
2444
|
-
});
|
|
1278
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2445
1279
|
// The operation
|
|
2446
1280
|
/**
|
|
2447
1281
|
* Update container groups.
|
|
2448
1282
|
*
|
|
2449
1283
|
* Updates container group tags with specified values.
|
|
2450
1284
|
*
|
|
2451
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2452
1285
|
* @param api-version - The API version to use for this operation.
|
|
1286
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2453
1287
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1288
|
+
* @param containerGroupName - The name of the container group.
|
|
2454
1289
|
*/
|
|
2455
1290
|
export const ContainerGroupsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2456
1291
|
inputSchema: ContainerGroupsUpdateInput,
|
|
@@ -2460,6 +1295,7 @@ export const ContainerGroupsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
2460
1295
|
export const ContainersAttachInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2461
1296
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2462
1297
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1298
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
2463
1299
|
containerName: Schema.String.pipe(T.PathParam()),
|
|
2464
1300
|
"api-version": Schema.String,
|
|
2465
1301
|
}).pipe(T.Http({
|
|
@@ -2477,9 +1313,10 @@ export const ContainersAttachOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
2477
1313
|
*
|
|
2478
1314
|
* Attach to the output stream of a specific container instance in a specified resource group and container group.
|
|
2479
1315
|
*
|
|
2480
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2481
1316
|
* @param api-version - The API version to use for this operation.
|
|
1317
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2482
1318
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1319
|
+
* @param containerGroupName - The name of the container group.
|
|
2483
1320
|
* @param containerName - The name of the container instance.
|
|
2484
1321
|
*/
|
|
2485
1322
|
export const ContainersAttach = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -2491,6 +1328,7 @@ export const ContainersExecuteCommandInput =
|
|
|
2491
1328
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2492
1329
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2493
1330
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1331
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
2494
1332
|
containerName: Schema.String.pipe(T.PathParam()),
|
|
2495
1333
|
"api-version": Schema.String,
|
|
2496
1334
|
}).pipe(T.Http({
|
|
@@ -2509,9 +1347,10 @@ export const ContainersExecuteCommandOutput =
|
|
|
2509
1347
|
*
|
|
2510
1348
|
* Executes a command for a specific container instance in a specified resource group and container group.
|
|
2511
1349
|
*
|
|
2512
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2513
1350
|
* @param api-version - The API version to use for this operation.
|
|
1351
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2514
1352
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1353
|
+
* @param containerGroupName - The name of the container group.
|
|
2515
1354
|
* @param containerName - The name of the container instance.
|
|
2516
1355
|
*/
|
|
2517
1356
|
export const ContainersExecuteCommand = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -2523,6 +1362,7 @@ export const ContainersListLogsInput =
|
|
|
2523
1362
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2524
1363
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2525
1364
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1365
|
+
containerGroupName: Schema.String.pipe(T.PathParam()),
|
|
2526
1366
|
containerName: Schema.String.pipe(T.PathParam()),
|
|
2527
1367
|
"api-version": Schema.String,
|
|
2528
1368
|
tail: Schema.optional(Schema.Number),
|
|
@@ -2542,9 +1382,10 @@ export const ContainersListLogsOutput =
|
|
|
2542
1382
|
*
|
|
2543
1383
|
* Get the logs for a specified container instance in a specified resource group and container group.
|
|
2544
1384
|
*
|
|
2545
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2546
1385
|
* @param api-version - The API version to use for this operation.
|
|
1386
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2547
1387
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1388
|
+
* @param containerGroupName - The name of the container group.
|
|
2548
1389
|
* @param containerName - The name of the container instance.
|
|
2549
1390
|
* @param tail - The number of lines to show from the tail of the container instance log. If not provided, all available logs are shown up to 4mb.
|
|
2550
1391
|
* @param timestamps - If true, adds a timestamp at the beginning of every line of log output. If not provided, defaults to false.
|
|
@@ -2578,9 +1419,9 @@ export const LocationListCachedImagesOutput =
|
|
|
2578
1419
|
*
|
|
2579
1420
|
* Get the list of cached images on specific OS type for a subscription in a region.
|
|
2580
1421
|
*
|
|
1422
|
+
* @param api-version - The API version to use for this operation.
|
|
2581
1423
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2582
1424
|
* @param location - The name of the Azure region.
|
|
2583
|
-
* @param api-version - The API version to use for this operation.
|
|
2584
1425
|
*/
|
|
2585
1426
|
export const LocationListCachedImages = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2586
1427
|
inputSchema: LocationListCachedImagesInput,
|
|
@@ -2619,9 +1460,9 @@ export const LocationListCapabilitiesOutput =
|
|
|
2619
1460
|
*
|
|
2620
1461
|
* Get the list of CPU/memory/GPU capabilities of a region.
|
|
2621
1462
|
*
|
|
1463
|
+
* @param api-version - The API version to use for this operation.
|
|
2622
1464
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2623
1465
|
* @param location - The name of the Azure region.
|
|
2624
|
-
* @param api-version - The API version to use for this operation.
|
|
2625
1466
|
*/
|
|
2626
1467
|
export const LocationListCapabilities = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2627
1468
|
inputSchema: LocationListCapabilitiesInput,
|
|
@@ -2649,14 +1490,15 @@ export const LocationListUsageOutput =
|
|
|
2649
1490
|
localizedValue: Schema.optional(Schema.String),
|
|
2650
1491
|
})),
|
|
2651
1492
|
}))),
|
|
1493
|
+
nextLink: Schema.optional(Schema.String),
|
|
2652
1494
|
});
|
|
2653
1495
|
// The operation
|
|
2654
1496
|
/**
|
|
2655
1497
|
* Get the usage for a subscription
|
|
2656
1498
|
*
|
|
1499
|
+
* @param api-version - The API version to use for this operation.
|
|
2657
1500
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2658
1501
|
* @param location - The name of the Azure region.
|
|
2659
|
-
* @param api-version - The API version to use for this operation.
|
|
2660
1502
|
*/
|
|
2661
1503
|
export const LocationListUsage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2662
1504
|
inputSchema: LocationListUsageInput,
|
|
@@ -2665,8 +1507,9 @@ export const LocationListUsage = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2665
1507
|
// Input Schema
|
|
2666
1508
|
export const NGroupsCreateOrUpdateInput =
|
|
2667
1509
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2668
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2669
1510
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1511
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1512
|
+
ngroupsName: Schema.String.pipe(T.PathParam()),
|
|
2670
1513
|
"api-version": Schema.String,
|
|
2671
1514
|
}).pipe(T.Http({
|
|
2672
1515
|
method: "PUT",
|
|
@@ -2678,9 +1521,14 @@ export const NGroupsCreateOrUpdateOutput =
|
|
|
2678
1521
|
id: Schema.optional(Schema.String),
|
|
2679
1522
|
name: Schema.optional(Schema.String),
|
|
2680
1523
|
type: Schema.optional(Schema.String),
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
1524
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1525
|
+
createdBy: Schema.optional(Schema.String),
|
|
1526
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1527
|
+
createdAt: Schema.optional(Schema.String),
|
|
1528
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1529
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1530
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1531
|
+
})),
|
|
2684
1532
|
});
|
|
2685
1533
|
// The operation
|
|
2686
1534
|
/**
|
|
@@ -2688,9 +1536,10 @@ export const NGroupsCreateOrUpdateOutput =
|
|
|
2688
1536
|
*
|
|
2689
1537
|
* Create or update a NGroups resource.
|
|
2690
1538
|
*
|
|
2691
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2692
1539
|
* @param api-version - The API version to use for this operation.
|
|
2693
1540
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1541
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1542
|
+
* @param ngroupsName - The NGroups name.
|
|
2694
1543
|
*/
|
|
2695
1544
|
export const NGroupsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2696
1545
|
inputSchema: NGroupsCreateOrUpdateInput,
|
|
@@ -2698,8 +1547,9 @@ export const NGroupsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
2698
1547
|
}));
|
|
2699
1548
|
// Input Schema
|
|
2700
1549
|
export const NGroupsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2701
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2702
1550
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1551
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1552
|
+
ngroupsName: Schema.String.pipe(T.PathParam()),
|
|
2703
1553
|
"api-version": Schema.String,
|
|
2704
1554
|
}).pipe(T.Http({
|
|
2705
1555
|
method: "DELETE",
|
|
@@ -2713,9 +1563,10 @@ export const NGroupsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
2713
1563
|
*
|
|
2714
1564
|
* Deletes the NGroups resource.
|
|
2715
1565
|
*
|
|
2716
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2717
1566
|
* @param api-version - The API version to use for this operation.
|
|
2718
1567
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1568
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1569
|
+
* @param ngroupsName - The NGroups name.
|
|
2719
1570
|
*/
|
|
2720
1571
|
export const NGroupsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2721
1572
|
inputSchema: NGroupsDeleteInput,
|
|
@@ -2725,6 +1576,7 @@ export const NGroupsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2725
1576
|
export const NGroupsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2726
1577
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2727
1578
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1579
|
+
ngroupsName: Schema.String.pipe(T.PathParam()),
|
|
2728
1580
|
"api-version": Schema.String,
|
|
2729
1581
|
}).pipe(T.Http({
|
|
2730
1582
|
method: "GET",
|
|
@@ -2735,9 +1587,14 @@ export const NGroupsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2735
1587
|
id: Schema.optional(Schema.String),
|
|
2736
1588
|
name: Schema.optional(Schema.String),
|
|
2737
1589
|
type: Schema.optional(Schema.String),
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
1590
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1591
|
+
createdBy: Schema.optional(Schema.String),
|
|
1592
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1593
|
+
createdAt: Schema.optional(Schema.String),
|
|
1594
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1595
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1596
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1597
|
+
})),
|
|
2741
1598
|
});
|
|
2742
1599
|
// The operation
|
|
2743
1600
|
/**
|
|
@@ -2745,9 +1602,10 @@ export const NGroupsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2745
1602
|
*
|
|
2746
1603
|
* Get the properties of the specified NGroups resource.
|
|
2747
1604
|
*
|
|
2748
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2749
1605
|
* @param api-version - The API version to use for this operation.
|
|
1606
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2750
1607
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1608
|
+
* @param ngroupsName - The NGroups name.
|
|
2751
1609
|
*/
|
|
2752
1610
|
export const NGroupsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2753
1611
|
inputSchema: NGroupsGetInput,
|
|
@@ -2763,14 +1621,19 @@ export const NGroupsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2763
1621
|
}));
|
|
2764
1622
|
// Output Schema
|
|
2765
1623
|
export const NGroupsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2766
|
-
value: Schema.
|
|
1624
|
+
value: Schema.Array(Schema.Struct({
|
|
2767
1625
|
id: Schema.optional(Schema.String),
|
|
2768
1626
|
name: Schema.optional(Schema.String),
|
|
2769
1627
|
type: Schema.optional(Schema.String),
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
1628
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1629
|
+
createdBy: Schema.optional(Schema.String),
|
|
1630
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1631
|
+
createdAt: Schema.optional(Schema.String),
|
|
1632
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1633
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1634
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1635
|
+
})),
|
|
1636
|
+
})),
|
|
2774
1637
|
nextLink: Schema.optional(Schema.String),
|
|
2775
1638
|
});
|
|
2776
1639
|
// The operation
|
|
@@ -2799,14 +1662,29 @@ export const NGroupsListByResourceGroupInput =
|
|
|
2799
1662
|
// Output Schema
|
|
2800
1663
|
export const NGroupsListByResourceGroupOutput =
|
|
2801
1664
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2802
|
-
value: Schema.
|
|
1665
|
+
value: Schema.Array(Schema.Struct({
|
|
2803
1666
|
id: Schema.optional(Schema.String),
|
|
2804
1667
|
name: Schema.optional(Schema.String),
|
|
2805
1668
|
type: Schema.optional(Schema.String),
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
1669
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1670
|
+
createdBy: Schema.optional(Schema.String),
|
|
1671
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
1672
|
+
"User",
|
|
1673
|
+
"Application",
|
|
1674
|
+
"ManagedIdentity",
|
|
1675
|
+
"Key",
|
|
1676
|
+
])),
|
|
1677
|
+
createdAt: Schema.optional(Schema.String),
|
|
1678
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1679
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
1680
|
+
"User",
|
|
1681
|
+
"Application",
|
|
1682
|
+
"ManagedIdentity",
|
|
1683
|
+
"Key",
|
|
1684
|
+
])),
|
|
1685
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1686
|
+
})),
|
|
1687
|
+
})),
|
|
2810
1688
|
nextLink: Schema.optional(Schema.String),
|
|
2811
1689
|
});
|
|
2812
1690
|
// The operation
|
|
@@ -2815,9 +1693,9 @@ export const NGroupsListByResourceGroupOutput =
|
|
|
2815
1693
|
*
|
|
2816
1694
|
* Gets a list of all NGroups resources under a resource group.
|
|
2817
1695
|
*
|
|
1696
|
+
* @param api-version - The API version to use for this operation.
|
|
2818
1697
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2819
1698
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2820
|
-
* @param api-version - The API version to use for this operation.
|
|
2821
1699
|
*/
|
|
2822
1700
|
export const NGroupsListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2823
1701
|
inputSchema: NGroupsListByResourceGroupInput,
|
|
@@ -2827,6 +1705,7 @@ export const NGroupsListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
2827
1705
|
export const NGroupsRestartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2828
1706
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2829
1707
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1708
|
+
ngroupsName: Schema.String.pipe(T.PathParam()),
|
|
2830
1709
|
"api-version": Schema.String,
|
|
2831
1710
|
}).pipe(T.Http({
|
|
2832
1711
|
method: "POST",
|
|
@@ -2840,9 +1719,10 @@ export const NGroupsRestartOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
2840
1719
|
*
|
|
2841
1720
|
* Restarts all container groups in the specified NGroups resource in place. If container image has updates, new image will be downloaded.
|
|
2842
1721
|
*
|
|
2843
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2844
1722
|
* @param api-version - The API version to use for this operation.
|
|
1723
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2845
1724
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1725
|
+
* @param ngroupsName - The NGroups name.
|
|
2846
1726
|
*/
|
|
2847
1727
|
export const NGroupsRestart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2848
1728
|
inputSchema: NGroupsRestartInput,
|
|
@@ -2852,6 +1732,7 @@ export const NGroupsRestart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2852
1732
|
export const NGroupsStartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2853
1733
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2854
1734
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1735
|
+
ngroupsName: Schema.String.pipe(T.PathParam()),
|
|
2855
1736
|
"api-version": Schema.String,
|
|
2856
1737
|
}).pipe(T.Http({
|
|
2857
1738
|
method: "POST",
|
|
@@ -2865,9 +1746,10 @@ export const NGroupsStartOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
2865
1746
|
*
|
|
2866
1747
|
* Starts all container groups in the specified NGroups resource. Compute resources will be allocated and billing will start.
|
|
2867
1748
|
*
|
|
2868
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2869
1749
|
* @param api-version - The API version to use for this operation.
|
|
1750
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2870
1751
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1752
|
+
* @param ngroupsName - The NGroups name.
|
|
2871
1753
|
*/
|
|
2872
1754
|
export const NGroupsStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2873
1755
|
inputSchema: NGroupsStartInput,
|
|
@@ -2877,6 +1759,7 @@ export const NGroupsStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2877
1759
|
export const NGroupsStopInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2878
1760
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2879
1761
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1762
|
+
ngroupsName: Schema.String.pipe(T.PathParam()),
|
|
2880
1763
|
"api-version": Schema.String,
|
|
2881
1764
|
}).pipe(T.Http({
|
|
2882
1765
|
method: "POST",
|
|
@@ -2890,9 +1773,10 @@ export const NGroupsStopOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
2890
1773
|
*
|
|
2891
1774
|
* Stops all container groups in the specified NGroups resource. Compute resources will be deallocated and billing will stop.
|
|
2892
1775
|
*
|
|
2893
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2894
1776
|
* @param api-version - The API version to use for this operation.
|
|
1777
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2895
1778
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1779
|
+
* @param ngroupsName - The NGroups name.
|
|
2896
1780
|
*/
|
|
2897
1781
|
export const NGroupsStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2898
1782
|
inputSchema: NGroupsStopInput,
|
|
@@ -2900,8 +1784,9 @@ export const NGroupsStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2900
1784
|
}));
|
|
2901
1785
|
// Input Schema
|
|
2902
1786
|
export const NGroupsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2903
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2904
1787
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1788
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1789
|
+
ngroupsName: Schema.String.pipe(T.PathParam()),
|
|
2905
1790
|
"api-version": Schema.String,
|
|
2906
1791
|
}).pipe(T.Http({
|
|
2907
1792
|
method: "PATCH",
|
|
@@ -2912,9 +1797,14 @@ export const NGroupsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2912
1797
|
id: Schema.optional(Schema.String),
|
|
2913
1798
|
name: Schema.optional(Schema.String),
|
|
2914
1799
|
type: Schema.optional(Schema.String),
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
1800
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1801
|
+
createdBy: Schema.optional(Schema.String),
|
|
1802
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1803
|
+
createdAt: Schema.optional(Schema.String),
|
|
1804
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1805
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1806
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1807
|
+
})),
|
|
2918
1808
|
});
|
|
2919
1809
|
// The operation
|
|
2920
1810
|
/**
|
|
@@ -2922,9 +1812,10 @@ export const NGroupsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2922
1812
|
*
|
|
2923
1813
|
* Update a specified NGroups resource.
|
|
2924
1814
|
*
|
|
2925
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2926
1815
|
* @param api-version - The API version to use for this operation.
|
|
2927
1816
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1817
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1818
|
+
* @param ngroupsName - The NGroups name.
|
|
2928
1819
|
*/
|
|
2929
1820
|
export const NGroupsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2930
1821
|
inputSchema: NGroupsUpdateInput,
|
|
@@ -2939,7 +1830,7 @@ export const OperationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2939
1830
|
}));
|
|
2940
1831
|
// Output Schema
|
|
2941
1832
|
export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2942
|
-
value: Schema.
|
|
1833
|
+
value: Schema.Array(Schema.Struct({
|
|
2943
1834
|
name: Schema.String,
|
|
2944
1835
|
display: Schema.Struct({
|
|
2945
1836
|
provider: Schema.optional(Schema.String),
|
|
@@ -2949,12 +1840,12 @@ export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2949
1840
|
}),
|
|
2950
1841
|
properties: Schema.optional(Schema.Unknown),
|
|
2951
1842
|
origin: Schema.optional(Schema.Literals(["User", "System"])),
|
|
2952
|
-
}))
|
|
1843
|
+
})),
|
|
2953
1844
|
nextLink: Schema.optional(Schema.String),
|
|
2954
1845
|
});
|
|
2955
1846
|
// The operation
|
|
2956
1847
|
/**
|
|
2957
|
-
* List the operations for
|
|
1848
|
+
* List the operations for the provider
|
|
2958
1849
|
*
|
|
2959
1850
|
* @param api-version - The API version to use for this operation.
|
|
2960
1851
|
*/
|
|
@@ -2967,6 +1858,8 @@ export const SubnetServiceAssociationLinkDeleteInput =
|
|
|
2967
1858
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2968
1859
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2969
1860
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1861
|
+
virtualNetworkName: Schema.String.pipe(T.PathParam()),
|
|
1862
|
+
subnetName: Schema.String.pipe(T.PathParam()),
|
|
2970
1863
|
"api-version": Schema.String,
|
|
2971
1864
|
}).pipe(T.Http({
|
|
2972
1865
|
method: "DELETE",
|
|
@@ -2981,9 +1874,11 @@ export const SubnetServiceAssociationLinkDeleteOutput =
|
|
|
2981
1874
|
*
|
|
2982
1875
|
* Delete container group virtual network association links. The operation does not delete other resources provided by the user.
|
|
2983
1876
|
*
|
|
2984
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2985
1877
|
* @param api-version - The API version to use for this operation.
|
|
1878
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2986
1879
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1880
|
+
* @param virtualNetworkName - The name of the virtual network.
|
|
1881
|
+
* @param subnetName - The name of the subnet.
|
|
2987
1882
|
*/
|
|
2988
1883
|
export const SubnetServiceAssociationLinkDelete =
|
|
2989
1884
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|