@azure/arm-containerinstance 6.3.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +70 -78
  4. package/dist/index.js +3335 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/containerInstanceManagementClient.d.ts +22 -0
  9. package/dist-esm/src/containerInstanceManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/containerInstanceManagementClient.js +55 -0
  11. package/dist-esm/src/containerInstanceManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +964 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +70 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +54 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +799 -788
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +17 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/parameters.js +67 -37
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/containerGroups.d.ts +159 -0
  33. package/dist-esm/src/operations/containerGroups.d.ts.map +1 -0
  34. package/dist-esm/src/operations/containerGroups.js +678 -0
  35. package/dist-esm/src/operations/containerGroups.js.map +1 -0
  36. package/dist-esm/src/operations/containers.d.ts +40 -0
  37. package/dist-esm/src/operations/containers.d.ts.map +1 -0
  38. package/dist-esm/src/operations/containers.js +134 -0
  39. package/dist-esm/src/operations/containers.js.map +1 -0
  40. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  41. package/dist-esm/src/operations/index.d.ts.map +1 -0
  42. package/{esm → dist-esm/src}/operations/index.js +1 -2
  43. package/dist-esm/src/operations/index.js.map +1 -0
  44. package/dist-esm/src/operations/location.d.ts +70 -0
  45. package/dist-esm/src/operations/location.d.ts.map +1 -0
  46. package/dist-esm/src/operations/location.js +310 -0
  47. package/dist-esm/src/operations/location.js.map +1 -0
  48. package/dist-esm/src/operations/operations.d.ts +32 -0
  49. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/operations.js +120 -0
  51. package/dist-esm/src/operations/operations.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +119 -0
  53. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +1 -0
  54. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/containerGroups.js} +2 -7
  55. package/dist-esm/src/operationsInterfaces/containerGroups.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/containers.d.ts +32 -0
  57. package/dist-esm/src/operationsInterfaces/containers.d.ts.map +1 -0
  58. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/containers.js} +2 -2
  59. package/dist-esm/src/operationsInterfaces/containers.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  63. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/location.d.ts +24 -0
  65. package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
  66. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/location.js} +2 -1
  67. package/dist-esm/src/operationsInterfaces/location.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/{src/models/containersMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -9
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/test/containerinstance_examples.d.ts +4 -0
  73. package/dist-esm/test/containerinstance_examples.d.ts.map +1 -0
  74. package/dist-esm/test/containerinstance_examples.js +156 -0
  75. package/dist-esm/test/containerinstance_examples.js.map +1 -0
  76. package/package.json +65 -32
  77. package/review/arm-containerinstance.api.md +752 -0
  78. package/rollup.config.js +181 -30
  79. package/src/containerInstanceManagementClient.ts +78 -40
  80. package/src/index.ts +12 -0
  81. package/src/lroImpl.ts +34 -0
  82. package/src/models/index.ts +734 -1215
  83. package/src/models/mappers.ts +808 -793
  84. package/src/models/parameters.ts +90 -38
  85. package/src/operations/containerGroups.ts +660 -424
  86. package/src/operations/containers.ts +89 -143
  87. package/src/operations/index.ts +1 -2
  88. package/src/operations/location.ts +262 -179
  89. package/src/operations/operations.ts +85 -73
  90. package/src/operationsInterfaces/containerGroups.ts +212 -0
  91. package/src/operationsInterfaces/containers.ts +64 -0
  92. package/src/operationsInterfaces/index.ts +12 -0
  93. package/src/operationsInterfaces/location.ts +49 -0
  94. package/src/operationsInterfaces/operations.ts +22 -0
  95. package/tsconfig.json +3 -3
  96. package/types/arm-containerinstance.d.ts +1282 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-containerinstance.js +0 -3019
  99. package/dist/arm-containerinstance.js.map +0 -1
  100. package/dist/arm-containerinstance.min.js +0 -1
  101. package/dist/arm-containerinstance.min.js.map +0 -1
  102. package/esm/containerInstanceManagementClient.d.ts +0 -28
  103. package/esm/containerInstanceManagementClient.d.ts.map +0 -1
  104. package/esm/containerInstanceManagementClient.js +0 -41
  105. package/esm/containerInstanceManagementClient.js.map +0 -1
  106. package/esm/containerInstanceManagementClientContext.d.ts +0 -23
  107. package/esm/containerInstanceManagementClientContext.d.ts.map +0 -1
  108. package/esm/containerInstanceManagementClientContext.js +0 -61
  109. package/esm/containerInstanceManagementClientContext.js.map +0 -1
  110. package/esm/models/containerGroupsMappers.d.ts +0 -2
  111. package/esm/models/containerGroupsMappers.d.ts.map +0 -1
  112. package/esm/models/containerGroupsMappers.js +0 -9
  113. package/esm/models/containerGroupsMappers.js.map +0 -1
  114. package/esm/models/containersMappers.d.ts +0 -2
  115. package/esm/models/containersMappers.d.ts.map +0 -1
  116. package/esm/models/containersMappers.js +0 -9
  117. package/esm/models/containersMappers.js.map +0 -1
  118. package/esm/models/index.d.ts +0 -1469
  119. package/esm/models/index.d.ts.map +0 -1
  120. package/esm/models/index.js.map +0 -1
  121. package/esm/models/locationMappers.d.ts +0 -2
  122. package/esm/models/locationMappers.d.ts.map +0 -1
  123. package/esm/models/locationMappers.js +0 -9
  124. package/esm/models/locationMappers.js.map +0 -1
  125. package/esm/models/mappers.d.ts +0 -54
  126. package/esm/models/mappers.d.ts.map +0 -1
  127. package/esm/models/mappers.js.map +0 -1
  128. package/esm/models/operationsMappers.d.ts +0 -2
  129. package/esm/models/operationsMappers.d.ts.map +0 -1
  130. package/esm/models/operationsMappers.js.map +0 -1
  131. package/esm/models/parameters.d.ts +0 -12
  132. package/esm/models/parameters.d.ts.map +0 -1
  133. package/esm/models/parameters.js.map +0 -1
  134. package/esm/operations/containerGroups.d.ts +0 -247
  135. package/esm/operations/containerGroups.d.ts.map +0 -1
  136. package/esm/operations/containerGroups.js +0 -455
  137. package/esm/operations/containerGroups.js.map +0 -1
  138. package/esm/operations/containers.d.ts +0 -94
  139. package/esm/operations/containers.d.ts.map +0 -1
  140. package/esm/operations/containers.js +0 -133
  141. package/esm/operations/containers.js.map +0 -1
  142. package/esm/operations/index.d.ts.map +0 -1
  143. package/esm/operations/index.js.map +0 -1
  144. package/esm/operations/location.d.ts +0 -107
  145. package/esm/operations/location.d.ts.map +0 -1
  146. package/esm/operations/location.js +0 -171
  147. package/esm/operations/location.js.map +0 -1
  148. package/esm/operations/operations.d.ts +0 -46
  149. package/esm/operations/operations.d.ts.map +0 -1
  150. package/esm/operations/operations.js +0 -79
  151. package/esm/operations/operations.js.map +0 -1
  152. package/src/containerInstanceManagementClientContext.ts +0 -68
  153. package/src/models/containerGroupsMappers.ts +0 -46
  154. package/src/models/locationMappers.ts +0 -19
@@ -0,0 +1,752 @@
1
+ ## API Report File for "@azure/arm-containerinstance"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export interface AzureFileVolume {
15
+ readOnly?: boolean;
16
+ shareName: string;
17
+ storageAccountKey?: string;
18
+ storageAccountName: string;
19
+ }
20
+
21
+ // @public
22
+ export interface CachedImages {
23
+ image: string;
24
+ osType: string;
25
+ }
26
+
27
+ // @public
28
+ export interface CachedImagesListResult {
29
+ nextLink?: string;
30
+ value?: CachedImages[];
31
+ }
32
+
33
+ // @public
34
+ export interface Capabilities {
35
+ readonly capabilities?: CapabilitiesCapabilities;
36
+ readonly gpu?: string;
37
+ readonly ipAddressType?: string;
38
+ readonly location?: string;
39
+ readonly osType?: string;
40
+ readonly resourceType?: string;
41
+ }
42
+
43
+ // @public
44
+ export interface CapabilitiesCapabilities {
45
+ readonly maxCpu?: number;
46
+ readonly maxGpuCount?: number;
47
+ readonly maxMemoryInGB?: number;
48
+ }
49
+
50
+ // @public
51
+ export interface CapabilitiesListResult {
52
+ nextLink?: string;
53
+ value?: Capabilities[];
54
+ }
55
+
56
+ // @public
57
+ export interface CloudError {
58
+ error?: CloudErrorBody;
59
+ }
60
+
61
+ // @public
62
+ export interface CloudErrorBody {
63
+ code?: string;
64
+ details?: CloudErrorBody[];
65
+ message?: string;
66
+ target?: string;
67
+ }
68
+
69
+ // @public (undocumented)
70
+ export interface Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties {
71
+ readonly clientId?: string;
72
+ readonly principalId?: string;
73
+ }
74
+
75
+ // @public
76
+ export interface Container {
77
+ command?: string[];
78
+ environmentVariables?: EnvironmentVariable[];
79
+ image: string;
80
+ readonly instanceView?: ContainerPropertiesInstanceView;
81
+ livenessProbe?: ContainerProbe;
82
+ name: string;
83
+ ports?: ContainerPort[];
84
+ readinessProbe?: ContainerProbe;
85
+ resources: ResourceRequirements;
86
+ volumeMounts?: VolumeMount[];
87
+ }
88
+
89
+ // @public
90
+ export interface ContainerAttachResponse {
91
+ password?: string;
92
+ webSocketUri?: string;
93
+ }
94
+
95
+ // @public
96
+ export interface ContainerExec {
97
+ command?: string[];
98
+ }
99
+
100
+ // @public
101
+ export interface ContainerExecRequest {
102
+ command?: string;
103
+ terminalSize?: ContainerExecRequestTerminalSize;
104
+ }
105
+
106
+ // @public
107
+ export interface ContainerExecRequestTerminalSize {
108
+ cols?: number;
109
+ rows?: number;
110
+ }
111
+
112
+ // @public
113
+ export interface ContainerExecResponse {
114
+ password?: string;
115
+ webSocketUri?: string;
116
+ }
117
+
118
+ // @public
119
+ export type ContainerGroup = Resource & {
120
+ identity?: ContainerGroupIdentity;
121
+ readonly provisioningState?: string;
122
+ containers: Container[];
123
+ imageRegistryCredentials?: ImageRegistryCredential[];
124
+ restartPolicy?: ContainerGroupRestartPolicy;
125
+ ipAddress?: IpAddress;
126
+ osType: OperatingSystemTypes;
127
+ volumes?: Volume[];
128
+ readonly instanceView?: ContainerGroupPropertiesInstanceView;
129
+ diagnostics?: ContainerGroupDiagnostics;
130
+ subnetIds?: ContainerGroupSubnetId[];
131
+ dnsConfig?: DnsConfiguration;
132
+ sku?: ContainerGroupSku;
133
+ encryptionProperties?: EncryptionProperties;
134
+ initContainers?: InitContainerDefinition[];
135
+ };
136
+
137
+ // @public
138
+ export interface ContainerGroupDiagnostics {
139
+ logAnalytics?: LogAnalytics;
140
+ }
141
+
142
+ // @public
143
+ export interface ContainerGroupIdentity {
144
+ readonly principalId?: string;
145
+ readonly tenantId?: string;
146
+ type?: ResourceIdentityType;
147
+ userAssignedIdentities?: {
148
+ [propertyName: string]: Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties;
149
+ };
150
+ }
151
+
152
+ // @public
153
+ export type ContainerGroupIpAddressType = string;
154
+
155
+ // @public
156
+ export interface ContainerGroupListResult {
157
+ nextLink?: string;
158
+ value?: ContainerGroup[];
159
+ }
160
+
161
+ // @public
162
+ export type ContainerGroupNetworkProtocol = string;
163
+
164
+ // @public
165
+ export interface ContainerGroupPropertiesInstanceView {
166
+ readonly events?: Event_2[];
167
+ readonly state?: string;
168
+ }
169
+
170
+ // @public
171
+ export type ContainerGroupRestartPolicy = string;
172
+
173
+ // @public
174
+ export interface ContainerGroups {
175
+ beginCreateOrUpdate(resourceGroupName: string, containerGroupName: string, containerGroup: ContainerGroup, options?: ContainerGroupsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ContainerGroupsCreateOrUpdateResponse>, ContainerGroupsCreateOrUpdateResponse>>;
176
+ beginCreateOrUpdateAndWait(resourceGroupName: string, containerGroupName: string, containerGroup: ContainerGroup, options?: ContainerGroupsCreateOrUpdateOptionalParams): Promise<ContainerGroupsCreateOrUpdateResponse>;
177
+ beginDelete(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<ContainerGroupsDeleteResponse>, ContainerGroupsDeleteResponse>>;
178
+ beginDeleteAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsDeleteOptionalParams): Promise<ContainerGroupsDeleteResponse>;
179
+ beginRestart(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
180
+ beginRestartAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsRestartOptionalParams): Promise<void>;
181
+ beginStart(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
182
+ beginStartAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStartOptionalParams): Promise<void>;
183
+ get(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsGetOptionalParams): Promise<ContainerGroupsGetResponse>;
184
+ getOutboundNetworkDependenciesEndpoints(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams): Promise<ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse>;
185
+ list(options?: ContainerGroupsListOptionalParams): PagedAsyncIterableIterator<ContainerGroup>;
186
+ listByResourceGroup(resourceGroupName: string, options?: ContainerGroupsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ContainerGroup>;
187
+ stop(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStopOptionalParams): Promise<void>;
188
+ update(resourceGroupName: string, containerGroupName: string, resource: Resource, options?: ContainerGroupsUpdateOptionalParams): Promise<ContainerGroupsUpdateResponse>;
189
+ }
190
+
191
+ // @public
192
+ export interface ContainerGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
193
+ resumeFrom?: string;
194
+ updateIntervalInMs?: number;
195
+ }
196
+
197
+ // @public
198
+ export type ContainerGroupsCreateOrUpdateResponse = ContainerGroup;
199
+
200
+ // @public
201
+ export interface ContainerGroupsDeleteOptionalParams extends coreClient.OperationOptions {
202
+ resumeFrom?: string;
203
+ updateIntervalInMs?: number;
204
+ }
205
+
206
+ // @public
207
+ export type ContainerGroupsDeleteResponse = ContainerGroup;
208
+
209
+ // @public
210
+ export interface ContainerGroupsGetOptionalParams extends coreClient.OperationOptions {
211
+ }
212
+
213
+ // @public
214
+ export interface ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {
215
+ }
216
+
217
+ // @public
218
+ export type ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse = {
219
+ body: string[];
220
+ };
221
+
222
+ // @public
223
+ export type ContainerGroupsGetResponse = ContainerGroup;
224
+
225
+ // @public
226
+ export type ContainerGroupSku = string;
227
+
228
+ // @public
229
+ export interface ContainerGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
230
+ }
231
+
232
+ // @public
233
+ export type ContainerGroupsListByResourceGroupNextResponse = ContainerGroupListResult;
234
+
235
+ // @public
236
+ export interface ContainerGroupsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
237
+ }
238
+
239
+ // @public
240
+ export type ContainerGroupsListByResourceGroupResponse = ContainerGroupListResult;
241
+
242
+ // @public
243
+ export interface ContainerGroupsListNextOptionalParams extends coreClient.OperationOptions {
244
+ }
245
+
246
+ // @public
247
+ export type ContainerGroupsListNextResponse = ContainerGroupListResult;
248
+
249
+ // @public
250
+ export interface ContainerGroupsListOptionalParams extends coreClient.OperationOptions {
251
+ }
252
+
253
+ // @public
254
+ export type ContainerGroupsListResponse = ContainerGroupListResult;
255
+
256
+ // @public
257
+ export interface ContainerGroupsRestartOptionalParams extends coreClient.OperationOptions {
258
+ resumeFrom?: string;
259
+ updateIntervalInMs?: number;
260
+ }
261
+
262
+ // @public
263
+ export interface ContainerGroupsStartOptionalParams extends coreClient.OperationOptions {
264
+ resumeFrom?: string;
265
+ updateIntervalInMs?: number;
266
+ }
267
+
268
+ // @public
269
+ export interface ContainerGroupsStopOptionalParams extends coreClient.OperationOptions {
270
+ }
271
+
272
+ // @public
273
+ export interface ContainerGroupSubnetId {
274
+ id: string;
275
+ name?: string;
276
+ }
277
+
278
+ // @public
279
+ export interface ContainerGroupsUpdateOptionalParams extends coreClient.OperationOptions {
280
+ }
281
+
282
+ // @public
283
+ export type ContainerGroupsUpdateResponse = ContainerGroup;
284
+
285
+ // @public
286
+ export interface ContainerHttpGet {
287
+ httpHeaders?: HttpHeader[];
288
+ path?: string;
289
+ port: number;
290
+ scheme?: Scheme;
291
+ }
292
+
293
+ // @public (undocumented)
294
+ export class ContainerInstanceManagementClient extends coreClient.ServiceClient {
295
+ // (undocumented)
296
+ $host: string;
297
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ContainerInstanceManagementClientOptionalParams);
298
+ // (undocumented)
299
+ apiVersion: string;
300
+ // (undocumented)
301
+ containerGroups: ContainerGroups;
302
+ // (undocumented)
303
+ containers: Containers;
304
+ // (undocumented)
305
+ location: Location_2;
306
+ // (undocumented)
307
+ operations: Operations;
308
+ // (undocumented)
309
+ subscriptionId: string;
310
+ }
311
+
312
+ // @public
313
+ export interface ContainerInstanceManagementClientOptionalParams extends coreClient.ServiceClientOptions {
314
+ $host?: string;
315
+ apiVersion?: string;
316
+ endpoint?: string;
317
+ }
318
+
319
+ // @public
320
+ export type ContainerInstanceOperationsOrigin = string;
321
+
322
+ // @public
323
+ export type ContainerNetworkProtocol = string;
324
+
325
+ // @public
326
+ export interface ContainerPort {
327
+ port: number;
328
+ protocol?: ContainerNetworkProtocol;
329
+ }
330
+
331
+ // @public
332
+ export interface ContainerProbe {
333
+ exec?: ContainerExec;
334
+ failureThreshold?: number;
335
+ httpGet?: ContainerHttpGet;
336
+ initialDelaySeconds?: number;
337
+ periodSeconds?: number;
338
+ successThreshold?: number;
339
+ timeoutSeconds?: number;
340
+ }
341
+
342
+ // @public
343
+ export interface ContainerPropertiesInstanceView {
344
+ readonly currentState?: ContainerState;
345
+ readonly events?: Event_2[];
346
+ readonly previousState?: ContainerState;
347
+ readonly restartCount?: number;
348
+ }
349
+
350
+ // @public
351
+ export interface Containers {
352
+ attach(resourceGroupName: string, containerGroupName: string, containerName: string, options?: ContainersAttachOptionalParams): Promise<ContainersAttachResponse>;
353
+ executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: ContainerExecRequest, options?: ContainersExecuteCommandOptionalParams): Promise<ContainersExecuteCommandResponse>;
354
+ listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options?: ContainersListLogsOptionalParams): Promise<ContainersListLogsResponse>;
355
+ }
356
+
357
+ // @public
358
+ export interface ContainersAttachOptionalParams extends coreClient.OperationOptions {
359
+ }
360
+
361
+ // @public
362
+ export type ContainersAttachResponse = ContainerAttachResponse;
363
+
364
+ // @public
365
+ export interface ContainersExecuteCommandOptionalParams extends coreClient.OperationOptions {
366
+ }
367
+
368
+ // @public
369
+ export type ContainersExecuteCommandResponse = ContainerExecResponse;
370
+
371
+ // @public
372
+ export interface ContainersListLogsOptionalParams extends coreClient.OperationOptions {
373
+ tail?: number;
374
+ timestamps?: boolean;
375
+ }
376
+
377
+ // @public
378
+ export type ContainersListLogsResponse = Logs;
379
+
380
+ // @public
381
+ export interface ContainerState {
382
+ readonly detailStatus?: string;
383
+ readonly exitCode?: number;
384
+ readonly finishTime?: Date;
385
+ readonly startTime?: Date;
386
+ readonly state?: string;
387
+ }
388
+
389
+ // @public
390
+ export interface DnsConfiguration {
391
+ nameServers: string[];
392
+ options?: string;
393
+ searchDomains?: string;
394
+ }
395
+
396
+ // @public
397
+ export interface EncryptionProperties {
398
+ keyName: string;
399
+ keyVersion: string;
400
+ vaultBaseUrl: string;
401
+ }
402
+
403
+ // @public
404
+ export interface EnvironmentVariable {
405
+ name: string;
406
+ secureValue?: string;
407
+ value?: string;
408
+ }
409
+
410
+ // @public
411
+ interface Event_2 {
412
+ readonly count?: number;
413
+ readonly firstTimestamp?: Date;
414
+ readonly lastTimestamp?: Date;
415
+ readonly message?: string;
416
+ readonly name?: string;
417
+ readonly type?: string;
418
+ }
419
+ export { Event_2 as Event }
420
+
421
+ // @public
422
+ export interface GitRepoVolume {
423
+ directory?: string;
424
+ repository: string;
425
+ revision?: string;
426
+ }
427
+
428
+ // @public
429
+ export interface GpuResource {
430
+ count: number;
431
+ sku: GpuSku;
432
+ }
433
+
434
+ // @public
435
+ export type GpuSku = string;
436
+
437
+ // @public
438
+ export interface HttpHeader {
439
+ name?: string;
440
+ value?: string;
441
+ }
442
+
443
+ // @public
444
+ export interface ImageRegistryCredential {
445
+ identity?: string;
446
+ identityUrl?: string;
447
+ password?: string;
448
+ server: string;
449
+ username: string;
450
+ }
451
+
452
+ // @public
453
+ export interface InitContainerDefinition {
454
+ command?: string[];
455
+ environmentVariables?: EnvironmentVariable[];
456
+ image?: string;
457
+ readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
458
+ name: string;
459
+ volumeMounts?: VolumeMount[];
460
+ }
461
+
462
+ // @public
463
+ export interface InitContainerPropertiesDefinitionInstanceView {
464
+ readonly currentState?: ContainerState;
465
+ readonly events?: Event_2[];
466
+ readonly previousState?: ContainerState;
467
+ readonly restartCount?: number;
468
+ }
469
+
470
+ // @public
471
+ export interface IpAddress {
472
+ dnsNameLabel?: string;
473
+ readonly fqdn?: string;
474
+ ip?: string;
475
+ ports: Port[];
476
+ type: ContainerGroupIpAddressType;
477
+ }
478
+
479
+ // @public
480
+ export enum KnownContainerGroupIpAddressType {
481
+ // (undocumented)
482
+ Private = "Private",
483
+ // (undocumented)
484
+ Public = "Public"
485
+ }
486
+
487
+ // @public
488
+ export enum KnownContainerGroupNetworkProtocol {
489
+ // (undocumented)
490
+ TCP = "TCP",
491
+ // (undocumented)
492
+ UDP = "UDP"
493
+ }
494
+
495
+ // @public
496
+ export enum KnownContainerGroupRestartPolicy {
497
+ // (undocumented)
498
+ Always = "Always",
499
+ // (undocumented)
500
+ Never = "Never",
501
+ // (undocumented)
502
+ OnFailure = "OnFailure"
503
+ }
504
+
505
+ // @public
506
+ export enum KnownContainerGroupSku {
507
+ // (undocumented)
508
+ Dedicated = "Dedicated",
509
+ // (undocumented)
510
+ Standard = "Standard"
511
+ }
512
+
513
+ // @public
514
+ export enum KnownContainerInstanceOperationsOrigin {
515
+ // (undocumented)
516
+ System = "System",
517
+ // (undocumented)
518
+ User = "User"
519
+ }
520
+
521
+ // @public
522
+ export enum KnownContainerNetworkProtocol {
523
+ // (undocumented)
524
+ TCP = "TCP",
525
+ // (undocumented)
526
+ UDP = "UDP"
527
+ }
528
+
529
+ // @public
530
+ export enum KnownGpuSku {
531
+ // (undocumented)
532
+ K80 = "K80",
533
+ // (undocumented)
534
+ P100 = "P100",
535
+ // (undocumented)
536
+ V100 = "V100"
537
+ }
538
+
539
+ // @public
540
+ export enum KnownLogAnalyticsLogType {
541
+ // (undocumented)
542
+ ContainerInsights = "ContainerInsights",
543
+ // (undocumented)
544
+ ContainerInstanceLogs = "ContainerInstanceLogs"
545
+ }
546
+
547
+ // @public
548
+ export enum KnownOperatingSystemTypes {
549
+ // (undocumented)
550
+ Linux = "Linux",
551
+ // (undocumented)
552
+ Windows = "Windows"
553
+ }
554
+
555
+ // @public
556
+ export enum KnownScheme {
557
+ // (undocumented)
558
+ Http = "http",
559
+ // (undocumented)
560
+ Https = "https"
561
+ }
562
+
563
+ // @public
564
+ interface Location_2 {
565
+ listCachedImages(location: string, options?: LocationListCachedImagesOptionalParams): PagedAsyncIterableIterator<CachedImages>;
566
+ listCapabilities(location: string, options?: LocationListCapabilitiesOptionalParams): PagedAsyncIterableIterator<Capabilities>;
567
+ listUsage(location: string, options?: LocationListUsageOptionalParams): PagedAsyncIterableIterator<Usage>;
568
+ }
569
+ export { Location_2 as Location }
570
+
571
+ // @public
572
+ export interface LocationListCachedImagesNextOptionalParams extends coreClient.OperationOptions {
573
+ }
574
+
575
+ // @public
576
+ export type LocationListCachedImagesNextResponse = CachedImagesListResult;
577
+
578
+ // @public
579
+ export interface LocationListCachedImagesOptionalParams extends coreClient.OperationOptions {
580
+ }
581
+
582
+ // @public
583
+ export type LocationListCachedImagesResponse = CachedImagesListResult;
584
+
585
+ // @public
586
+ export interface LocationListCapabilitiesNextOptionalParams extends coreClient.OperationOptions {
587
+ }
588
+
589
+ // @public
590
+ export type LocationListCapabilitiesNextResponse = CapabilitiesListResult;
591
+
592
+ // @public
593
+ export interface LocationListCapabilitiesOptionalParams extends coreClient.OperationOptions {
594
+ }
595
+
596
+ // @public
597
+ export type LocationListCapabilitiesResponse = CapabilitiesListResult;
598
+
599
+ // @public
600
+ export interface LocationListUsageOptionalParams extends coreClient.OperationOptions {
601
+ }
602
+
603
+ // @public
604
+ export type LocationListUsageResponse = UsageListResult;
605
+
606
+ // @public
607
+ export interface LogAnalytics {
608
+ logType?: LogAnalyticsLogType;
609
+ metadata?: {
610
+ [propertyName: string]: string;
611
+ };
612
+ workspaceId: string;
613
+ workspaceKey: string;
614
+ workspaceResourceId?: string;
615
+ }
616
+
617
+ // @public
618
+ export type LogAnalyticsLogType = string;
619
+
620
+ // @public
621
+ export interface Logs {
622
+ content?: string;
623
+ }
624
+
625
+ // @public
626
+ export type OperatingSystemTypes = string;
627
+
628
+ // @public
629
+ export interface Operation {
630
+ display: OperationDisplay;
631
+ name: string;
632
+ origin?: ContainerInstanceOperationsOrigin;
633
+ properties?: Record<string, unknown>;
634
+ }
635
+
636
+ // @public
637
+ export interface OperationDisplay {
638
+ description?: string;
639
+ operation?: string;
640
+ provider?: string;
641
+ resource?: string;
642
+ }
643
+
644
+ // @public
645
+ export interface OperationListResult {
646
+ nextLink?: string;
647
+ value?: Operation[];
648
+ }
649
+
650
+ // @public
651
+ export interface Operations {
652
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
653
+ }
654
+
655
+ // @public
656
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
657
+ }
658
+
659
+ // @public
660
+ export type OperationsListNextResponse = OperationListResult;
661
+
662
+ // @public
663
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
664
+ }
665
+
666
+ // @public
667
+ export type OperationsListResponse = OperationListResult;
668
+
669
+ // @public
670
+ export interface Port {
671
+ port: number;
672
+ protocol?: ContainerGroupNetworkProtocol;
673
+ }
674
+
675
+ // @public
676
+ export interface Resource {
677
+ readonly id?: string;
678
+ location?: string;
679
+ readonly name?: string;
680
+ tags?: {
681
+ [propertyName: string]: string;
682
+ };
683
+ readonly type?: string;
684
+ zones?: string[];
685
+ }
686
+
687
+ // @public
688
+ export type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
689
+
690
+ // @public
691
+ export interface ResourceLimits {
692
+ cpu?: number;
693
+ gpu?: GpuResource;
694
+ memoryInGB?: number;
695
+ }
696
+
697
+ // @public
698
+ export interface ResourceRequests {
699
+ cpu: number;
700
+ gpu?: GpuResource;
701
+ memoryInGB: number;
702
+ }
703
+
704
+ // @public
705
+ export interface ResourceRequirements {
706
+ limits?: ResourceLimits;
707
+ requests: ResourceRequests;
708
+ }
709
+
710
+ // @public
711
+ export type Scheme = string;
712
+
713
+ // @public
714
+ export interface Usage {
715
+ readonly currentValue?: number;
716
+ readonly limit?: number;
717
+ readonly name?: UsageName;
718
+ readonly unit?: string;
719
+ }
720
+
721
+ // @public
722
+ export interface UsageListResult {
723
+ readonly value?: Usage[];
724
+ }
725
+
726
+ // @public
727
+ export interface UsageName {
728
+ readonly localizedValue?: string;
729
+ readonly value?: string;
730
+ }
731
+
732
+ // @public
733
+ export interface Volume {
734
+ azureFile?: AzureFileVolume;
735
+ emptyDir?: Record<string, unknown>;
736
+ gitRepo?: GitRepoVolume;
737
+ name: string;
738
+ secret?: {
739
+ [propertyName: string]: string;
740
+ };
741
+ }
742
+
743
+ // @public
744
+ export interface VolumeMount {
745
+ mountPath: string;
746
+ name: string;
747
+ readOnly?: boolean;
748
+ }
749
+
750
+ // (No @packageDocumentation comment for this package)
751
+
752
+ ```