@alicloud/pai-dsw20220101 1.3.3 → 1.3.4
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/dist/client.d.ts +2391 -179
- package/dist/client.js +177 -179
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2425 -205
package/dist/client.d.ts
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
2
|
*/
|
|
4
3
|
import * as $Util from '@alicloud/tea-util';
|
|
5
4
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
5
|
import * as $tea from '@alicloud/tea-typescript';
|
|
7
6
|
export declare class DemoCategory extends $tea.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* sdk
|
|
10
|
+
*/
|
|
8
11
|
categoryCode?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* SDK Usage
|
|
15
|
+
*/
|
|
9
16
|
categoryName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 12
|
|
20
|
+
*/
|
|
10
21
|
order?: number;
|
|
11
22
|
subCategories?: DemoCategory[];
|
|
12
23
|
static names(): {
|
|
@@ -20,10 +31,30 @@ export declare class DemoCategory extends $tea.Model {
|
|
|
20
31
|
});
|
|
21
32
|
}
|
|
22
33
|
export declare class ForwardInfo extends $tea.Model {
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* dsw-notebook
|
|
37
|
+
*/
|
|
23
38
|
containerName?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* eip-25877c70gddh****
|
|
42
|
+
*/
|
|
24
43
|
eipAllocationId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* true
|
|
47
|
+
*/
|
|
25
48
|
enable?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* ngw-bp1uewa15k4iy5770****
|
|
52
|
+
*/
|
|
26
53
|
natGatewayId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* 22
|
|
57
|
+
*/
|
|
27
58
|
port?: string;
|
|
28
59
|
SSHPublicKey?: string;
|
|
29
60
|
static names(): {
|
|
@@ -38,10 +69,30 @@ export declare class ForwardInfo extends $tea.Model {
|
|
|
38
69
|
}
|
|
39
70
|
export declare class ForwardInfoResponse extends $tea.Model {
|
|
40
71
|
connectInfo?: ForwardInfoResponseConnectInfo;
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* dsw-notebook
|
|
75
|
+
*/
|
|
41
76
|
containerName?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* eip-25877c70gddh****
|
|
80
|
+
*/
|
|
42
81
|
eipAllocationId?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* true
|
|
85
|
+
*/
|
|
43
86
|
enable?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* ngw-bp1uewa15k4iy5770****
|
|
90
|
+
*/
|
|
44
91
|
natGatewayId?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @example
|
|
94
|
+
* 22
|
|
95
|
+
*/
|
|
45
96
|
port?: string;
|
|
46
97
|
SSHPublicKey?: string;
|
|
47
98
|
static names(): {
|
|
@@ -55,8 +106,20 @@ export declare class ForwardInfoResponse extends $tea.Model {
|
|
|
55
106
|
});
|
|
56
107
|
}
|
|
57
108
|
export declare class CreateIdleInstanceCullerRequest extends $tea.Model {
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* 20
|
|
112
|
+
*/
|
|
58
113
|
cpuPercentThreshold?: number;
|
|
114
|
+
/**
|
|
115
|
+
* @example
|
|
116
|
+
* 10
|
|
117
|
+
*/
|
|
59
118
|
gpuPercentThreshold?: number;
|
|
119
|
+
/**
|
|
120
|
+
* @example
|
|
121
|
+
* 60
|
|
122
|
+
*/
|
|
60
123
|
maxIdleTimeInMinutes?: number;
|
|
61
124
|
static names(): {
|
|
62
125
|
[key: string]: string;
|
|
@@ -69,10 +132,30 @@ export declare class CreateIdleInstanceCullerRequest extends $tea.Model {
|
|
|
69
132
|
});
|
|
70
133
|
}
|
|
71
134
|
export declare class CreateIdleInstanceCullerResponseBody extends $tea.Model {
|
|
135
|
+
/**
|
|
136
|
+
* @example
|
|
137
|
+
* null
|
|
138
|
+
*/
|
|
72
139
|
code?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @example
|
|
142
|
+
* dsw-730xxxxxxxxxx
|
|
143
|
+
*/
|
|
73
144
|
instanceId?: string;
|
|
145
|
+
/**
|
|
146
|
+
* @example
|
|
147
|
+
* "XXX"
|
|
148
|
+
*/
|
|
74
149
|
message?: string;
|
|
150
|
+
/**
|
|
151
|
+
* @example
|
|
152
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
153
|
+
*/
|
|
75
154
|
requestId?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @example
|
|
157
|
+
* true
|
|
158
|
+
*/
|
|
76
159
|
success?: boolean;
|
|
77
160
|
static names(): {
|
|
78
161
|
[key: string]: string;
|
|
@@ -101,26 +184,86 @@ export declare class CreateIdleInstanceCullerResponse extends $tea.Model {
|
|
|
101
184
|
});
|
|
102
185
|
}
|
|
103
186
|
export declare class CreateInstanceRequest extends $tea.Model {
|
|
187
|
+
/**
|
|
188
|
+
* @example
|
|
189
|
+
* PRIVATE
|
|
190
|
+
*/
|
|
104
191
|
accessibility?: string;
|
|
105
192
|
affinity?: CreateInstanceRequestAffinity;
|
|
193
|
+
/**
|
|
194
|
+
* @example
|
|
195
|
+
* []
|
|
196
|
+
*/
|
|
106
197
|
cloudDisks?: CreateInstanceRequestCloudDisks[];
|
|
107
198
|
datasets?: CreateInstanceRequestDatasets[];
|
|
199
|
+
/**
|
|
200
|
+
* @example
|
|
201
|
+
* 535.54.03
|
|
202
|
+
*/
|
|
108
203
|
driver?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @example
|
|
206
|
+
* ecs.c6.large
|
|
207
|
+
*/
|
|
109
208
|
ecsSpec?: string;
|
|
209
|
+
/**
|
|
210
|
+
* @example
|
|
211
|
+
* {userName: "Chris"}
|
|
212
|
+
*/
|
|
110
213
|
environmentVariables?: {
|
|
111
214
|
[key: string]: string;
|
|
112
215
|
};
|
|
113
216
|
imageAuth?: string;
|
|
217
|
+
/**
|
|
218
|
+
* @example
|
|
219
|
+
* image-05cefd0be2exxxx
|
|
220
|
+
*/
|
|
114
221
|
imageId?: string;
|
|
222
|
+
/**
|
|
223
|
+
* @example
|
|
224
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
225
|
+
*/
|
|
115
226
|
imageUrl?: string;
|
|
227
|
+
/**
|
|
228
|
+
* @example
|
|
229
|
+
* training_data
|
|
230
|
+
*/
|
|
116
231
|
instanceName?: string;
|
|
232
|
+
/**
|
|
233
|
+
* @example
|
|
234
|
+
* {\\"foo\\": \\"bar\\"}
|
|
235
|
+
*/
|
|
117
236
|
labels?: CreateInstanceRequestLabels[];
|
|
237
|
+
/**
|
|
238
|
+
* @example
|
|
239
|
+
* 1
|
|
240
|
+
*/
|
|
118
241
|
priority?: number;
|
|
242
|
+
/**
|
|
243
|
+
* @example
|
|
244
|
+
* {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
|
|
245
|
+
*/
|
|
119
246
|
requestedResource?: CreateInstanceRequestRequestedResource;
|
|
247
|
+
/**
|
|
248
|
+
* @example
|
|
249
|
+
* dsw-123456789
|
|
250
|
+
*/
|
|
120
251
|
resourceId?: string;
|
|
252
|
+
/**
|
|
253
|
+
* @example
|
|
254
|
+
* 1612285282502324
|
|
255
|
+
*/
|
|
121
256
|
userId?: string;
|
|
122
257
|
userVpc?: CreateInstanceRequestUserVpc;
|
|
258
|
+
/**
|
|
259
|
+
* @example
|
|
260
|
+
* 40823
|
|
261
|
+
*/
|
|
123
262
|
workspaceId?: string;
|
|
263
|
+
/**
|
|
264
|
+
* @example
|
|
265
|
+
* d-123456789
|
|
266
|
+
*/
|
|
124
267
|
workspaceSource?: string;
|
|
125
268
|
static names(): {
|
|
126
269
|
[key: string]: string;
|
|
@@ -133,11 +276,35 @@ export declare class CreateInstanceRequest extends $tea.Model {
|
|
|
133
276
|
});
|
|
134
277
|
}
|
|
135
278
|
export declare class CreateInstanceResponseBody extends $tea.Model {
|
|
279
|
+
/**
|
|
280
|
+
* @example
|
|
281
|
+
* null
|
|
282
|
+
*/
|
|
136
283
|
code?: string;
|
|
284
|
+
/**
|
|
285
|
+
* @example
|
|
286
|
+
* null
|
|
287
|
+
*/
|
|
137
288
|
httpStatusCode?: number;
|
|
289
|
+
/**
|
|
290
|
+
* @example
|
|
291
|
+
* dsw-730xxxxxxxxxx
|
|
292
|
+
*/
|
|
138
293
|
instanceId?: string;
|
|
294
|
+
/**
|
|
295
|
+
* @example
|
|
296
|
+
* "XXX"
|
|
297
|
+
*/
|
|
139
298
|
message?: string;
|
|
299
|
+
/**
|
|
300
|
+
* @example
|
|
301
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
302
|
+
*/
|
|
140
303
|
requestId?: string;
|
|
304
|
+
/**
|
|
305
|
+
* @example
|
|
306
|
+
* true
|
|
307
|
+
*/
|
|
141
308
|
success?: boolean;
|
|
142
309
|
static names(): {
|
|
143
310
|
[key: string]: string;
|
|
@@ -166,7 +333,15 @@ export declare class CreateInstanceResponse extends $tea.Model {
|
|
|
166
333
|
});
|
|
167
334
|
}
|
|
168
335
|
export declare class CreateInstanceShutdownTimerRequest extends $tea.Model {
|
|
336
|
+
/**
|
|
337
|
+
* @example
|
|
338
|
+
* 2021-01-12T14:36:01Z
|
|
339
|
+
*/
|
|
169
340
|
dueTime?: string;
|
|
341
|
+
/**
|
|
342
|
+
* @example
|
|
343
|
+
* 3600000
|
|
344
|
+
*/
|
|
170
345
|
remainingTimeInMs?: number;
|
|
171
346
|
static names(): {
|
|
172
347
|
[key: string]: string;
|
|
@@ -179,11 +354,35 @@ export declare class CreateInstanceShutdownTimerRequest extends $tea.Model {
|
|
|
179
354
|
});
|
|
180
355
|
}
|
|
181
356
|
export declare class CreateInstanceShutdownTimerResponseBody extends $tea.Model {
|
|
357
|
+
/**
|
|
358
|
+
* @example
|
|
359
|
+
* null
|
|
360
|
+
*/
|
|
182
361
|
code?: string;
|
|
362
|
+
/**
|
|
363
|
+
* @example
|
|
364
|
+
* null
|
|
365
|
+
*/
|
|
183
366
|
httpStatusCode?: number;
|
|
367
|
+
/**
|
|
368
|
+
* @example
|
|
369
|
+
* dsw-730xxxxxxxxxx
|
|
370
|
+
*/
|
|
184
371
|
instanceId?: string;
|
|
372
|
+
/**
|
|
373
|
+
* @example
|
|
374
|
+
* "XXX"
|
|
375
|
+
*/
|
|
185
376
|
message?: string;
|
|
377
|
+
/**
|
|
378
|
+
* @example
|
|
379
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
380
|
+
*/
|
|
186
381
|
requestId?: string;
|
|
382
|
+
/**
|
|
383
|
+
* @example
|
|
384
|
+
* true
|
|
385
|
+
*/
|
|
187
386
|
success?: boolean;
|
|
188
387
|
static names(): {
|
|
189
388
|
[key: string]: string;
|
|
@@ -213,10 +412,26 @@ export declare class CreateInstanceShutdownTimerResponse extends $tea.Model {
|
|
|
213
412
|
}
|
|
214
413
|
export declare class CreateInstanceSnapshotRequest extends $tea.Model {
|
|
215
414
|
excludePaths?: string[];
|
|
415
|
+
/**
|
|
416
|
+
* @example
|
|
417
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
418
|
+
*/
|
|
216
419
|
imageUrl?: string;
|
|
420
|
+
/**
|
|
421
|
+
* @example
|
|
422
|
+
* {\\"foo\\": \\"bar\\"}
|
|
423
|
+
*/
|
|
217
424
|
labels?: CreateInstanceSnapshotRequestLabels[];
|
|
218
425
|
overwrite?: boolean;
|
|
426
|
+
/**
|
|
427
|
+
* @example
|
|
428
|
+
* training_data_env
|
|
429
|
+
*/
|
|
219
430
|
snapshotDescription?: string;
|
|
431
|
+
/**
|
|
432
|
+
* @example
|
|
433
|
+
* training_data_env
|
|
434
|
+
*/
|
|
220
435
|
snapshotName?: string;
|
|
221
436
|
static names(): {
|
|
222
437
|
[key: string]: string;
|
|
@@ -229,12 +444,40 @@ export declare class CreateInstanceSnapshotRequest extends $tea.Model {
|
|
|
229
444
|
});
|
|
230
445
|
}
|
|
231
446
|
export declare class CreateInstanceSnapshotResponseBody extends $tea.Model {
|
|
447
|
+
/**
|
|
448
|
+
* @example
|
|
449
|
+
* null
|
|
450
|
+
*/
|
|
232
451
|
code?: string;
|
|
452
|
+
/**
|
|
453
|
+
* @example
|
|
454
|
+
* null
|
|
455
|
+
*/
|
|
233
456
|
httpStatusCode?: number;
|
|
457
|
+
/**
|
|
458
|
+
* @example
|
|
459
|
+
* dsw-730xxxxxxxxxx
|
|
460
|
+
*/
|
|
234
461
|
instanceId?: string;
|
|
462
|
+
/**
|
|
463
|
+
* @example
|
|
464
|
+
* "XXX"
|
|
465
|
+
*/
|
|
235
466
|
message?: string;
|
|
467
|
+
/**
|
|
468
|
+
* @example
|
|
469
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
470
|
+
*/
|
|
236
471
|
requestId?: string;
|
|
472
|
+
/**
|
|
473
|
+
* @example
|
|
474
|
+
* snp-05cexxxxxxxxx
|
|
475
|
+
*/
|
|
237
476
|
snapshotId?: string;
|
|
477
|
+
/**
|
|
478
|
+
* @example
|
|
479
|
+
* true
|
|
480
|
+
*/
|
|
238
481
|
success?: boolean;
|
|
239
482
|
static names(): {
|
|
240
483
|
[key: string]: string;
|
|
@@ -263,10 +506,30 @@ export declare class CreateInstanceSnapshotResponse extends $tea.Model {
|
|
|
263
506
|
});
|
|
264
507
|
}
|
|
265
508
|
export declare class DeleteIdleInstanceCullerResponseBody extends $tea.Model {
|
|
509
|
+
/**
|
|
510
|
+
* @example
|
|
511
|
+
* ValidationError
|
|
512
|
+
*/
|
|
266
513
|
code?: string;
|
|
514
|
+
/**
|
|
515
|
+
* @example
|
|
516
|
+
* dsw-730xxxxxxxxxx
|
|
517
|
+
*/
|
|
267
518
|
instanceId?: string;
|
|
519
|
+
/**
|
|
520
|
+
* @example
|
|
521
|
+
* "XXX"
|
|
522
|
+
*/
|
|
268
523
|
message?: string;
|
|
524
|
+
/**
|
|
525
|
+
* @example
|
|
526
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
527
|
+
*/
|
|
269
528
|
requestId?: string;
|
|
529
|
+
/**
|
|
530
|
+
* @example
|
|
531
|
+
* true
|
|
532
|
+
*/
|
|
270
533
|
success?: boolean;
|
|
271
534
|
static names(): {
|
|
272
535
|
[key: string]: string;
|
|
@@ -295,11 +558,35 @@ export declare class DeleteIdleInstanceCullerResponse extends $tea.Model {
|
|
|
295
558
|
});
|
|
296
559
|
}
|
|
297
560
|
export declare class DeleteInstanceResponseBody extends $tea.Model {
|
|
561
|
+
/**
|
|
562
|
+
* @example
|
|
563
|
+
* null
|
|
564
|
+
*/
|
|
298
565
|
code?: string;
|
|
566
|
+
/**
|
|
567
|
+
* @example
|
|
568
|
+
* null
|
|
569
|
+
*/
|
|
299
570
|
httpStatusCode?: number;
|
|
571
|
+
/**
|
|
572
|
+
* @example
|
|
573
|
+
* dsw-730xxxxxxxxxx
|
|
574
|
+
*/
|
|
300
575
|
instanceId?: string;
|
|
576
|
+
/**
|
|
577
|
+
* @example
|
|
578
|
+
* "XXX"
|
|
579
|
+
*/
|
|
301
580
|
message?: string;
|
|
581
|
+
/**
|
|
582
|
+
* @example
|
|
583
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
584
|
+
*/
|
|
302
585
|
requestId?: string;
|
|
586
|
+
/**
|
|
587
|
+
* @example
|
|
588
|
+
* true
|
|
589
|
+
*/
|
|
303
590
|
success?: boolean;
|
|
304
591
|
static names(): {
|
|
305
592
|
[key: string]: string;
|
|
@@ -328,11 +615,35 @@ export declare class DeleteInstanceResponse extends $tea.Model {
|
|
|
328
615
|
});
|
|
329
616
|
}
|
|
330
617
|
export declare class DeleteInstanceShutdownTimerResponseBody extends $tea.Model {
|
|
618
|
+
/**
|
|
619
|
+
* @example
|
|
620
|
+
* null
|
|
621
|
+
*/
|
|
331
622
|
code?: string;
|
|
623
|
+
/**
|
|
624
|
+
* @example
|
|
625
|
+
* null
|
|
626
|
+
*/
|
|
332
627
|
httpStatusCode?: number;
|
|
628
|
+
/**
|
|
629
|
+
* @example
|
|
630
|
+
* dsw-730xxxxxxxxxx
|
|
631
|
+
*/
|
|
333
632
|
instanceId?: string;
|
|
633
|
+
/**
|
|
634
|
+
* @example
|
|
635
|
+
* "XXX"
|
|
636
|
+
*/
|
|
334
637
|
message?: string;
|
|
638
|
+
/**
|
|
639
|
+
* @example
|
|
640
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
641
|
+
*/
|
|
335
642
|
requestId?: string;
|
|
643
|
+
/**
|
|
644
|
+
* @example
|
|
645
|
+
* true
|
|
646
|
+
*/
|
|
336
647
|
success?: boolean;
|
|
337
648
|
static names(): {
|
|
338
649
|
[key: string]: string;
|
|
@@ -361,12 +672,40 @@ export declare class DeleteInstanceShutdownTimerResponse extends $tea.Model {
|
|
|
361
672
|
});
|
|
362
673
|
}
|
|
363
674
|
export declare class DeleteInstanceSnapshotResponseBody extends $tea.Model {
|
|
675
|
+
/**
|
|
676
|
+
* @example
|
|
677
|
+
* null
|
|
678
|
+
*/
|
|
364
679
|
code?: string;
|
|
680
|
+
/**
|
|
681
|
+
* @example
|
|
682
|
+
* null
|
|
683
|
+
*/
|
|
365
684
|
httpStatusCode?: number;
|
|
685
|
+
/**
|
|
686
|
+
* @example
|
|
687
|
+
* dsw-730xxxxxxxxxx
|
|
688
|
+
*/
|
|
366
689
|
instanceId?: string;
|
|
690
|
+
/**
|
|
691
|
+
* @example
|
|
692
|
+
* "XXX"
|
|
693
|
+
*/
|
|
367
694
|
message?: string;
|
|
695
|
+
/**
|
|
696
|
+
* @example
|
|
697
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
698
|
+
*/
|
|
368
699
|
requestId?: string;
|
|
700
|
+
/**
|
|
701
|
+
* @example
|
|
702
|
+
* snp-05cexxxxxxxxx
|
|
703
|
+
*/
|
|
369
704
|
snapshotId?: string;
|
|
705
|
+
/**
|
|
706
|
+
* @example
|
|
707
|
+
* true
|
|
708
|
+
*/
|
|
370
709
|
success?: boolean;
|
|
371
710
|
static names(): {
|
|
372
711
|
[key: string]: string;
|
|
@@ -395,14 +734,50 @@ export declare class DeleteInstanceSnapshotResponse extends $tea.Model {
|
|
|
395
734
|
});
|
|
396
735
|
}
|
|
397
736
|
export declare class GetIdleInstanceCullerResponseBody extends $tea.Model {
|
|
737
|
+
/**
|
|
738
|
+
* @example
|
|
739
|
+
* ValidationError
|
|
740
|
+
*/
|
|
398
741
|
code?: string;
|
|
742
|
+
/**
|
|
743
|
+
* @example
|
|
744
|
+
* 20
|
|
745
|
+
*/
|
|
399
746
|
cpuPercentThreshold?: number;
|
|
747
|
+
/**
|
|
748
|
+
* @example
|
|
749
|
+
* 10
|
|
750
|
+
*/
|
|
400
751
|
gpuPercentThreshold?: number;
|
|
752
|
+
/**
|
|
753
|
+
* @example
|
|
754
|
+
* 30
|
|
755
|
+
*/
|
|
401
756
|
idleTimeInMinutes?: number;
|
|
757
|
+
/**
|
|
758
|
+
* @example
|
|
759
|
+
* dsw-730xxxxxxxxxx
|
|
760
|
+
*/
|
|
402
761
|
instanceId?: string;
|
|
762
|
+
/**
|
|
763
|
+
* @example
|
|
764
|
+
* 60
|
|
765
|
+
*/
|
|
403
766
|
maxIdleTimeInMinutes?: number;
|
|
767
|
+
/**
|
|
768
|
+
* @example
|
|
769
|
+
* "XXX"
|
|
770
|
+
*/
|
|
404
771
|
message?: string;
|
|
772
|
+
/**
|
|
773
|
+
* @example
|
|
774
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
775
|
+
*/
|
|
405
776
|
requestId?: string;
|
|
777
|
+
/**
|
|
778
|
+
* @example
|
|
779
|
+
* true
|
|
780
|
+
*/
|
|
406
781
|
success?: boolean;
|
|
407
782
|
static names(): {
|
|
408
783
|
[key: string]: string;
|
|
@@ -431,53 +806,215 @@ export declare class GetIdleInstanceCullerResponse extends $tea.Model {
|
|
|
431
806
|
});
|
|
432
807
|
}
|
|
433
808
|
export declare class GetInstanceResponseBody extends $tea.Model {
|
|
809
|
+
/**
|
|
810
|
+
* @example
|
|
811
|
+
* CPU
|
|
812
|
+
*/
|
|
434
813
|
acceleratorType?: string;
|
|
814
|
+
/**
|
|
815
|
+
* @example
|
|
816
|
+
* PRIVATE
|
|
817
|
+
*/
|
|
435
818
|
accessibility?: string;
|
|
819
|
+
/**
|
|
820
|
+
* @example
|
|
821
|
+
* 3600000
|
|
822
|
+
*/
|
|
436
823
|
accumulatedRunningTimeInMs?: number;
|
|
437
824
|
affinity?: GetInstanceResponseBodyAffinity;
|
|
825
|
+
/**
|
|
826
|
+
* @example
|
|
827
|
+
* []
|
|
828
|
+
*/
|
|
438
829
|
cloudDisks?: GetInstanceResponseBodyCloudDisks[];
|
|
830
|
+
/**
|
|
831
|
+
* @example
|
|
832
|
+
* null
|
|
833
|
+
*/
|
|
439
834
|
code?: string;
|
|
440
835
|
datasets?: GetInstanceResponseBodyDatasets[];
|
|
836
|
+
/**
|
|
837
|
+
* @example
|
|
838
|
+
* 535.54.03
|
|
839
|
+
*/
|
|
441
840
|
driver?: string;
|
|
841
|
+
/**
|
|
842
|
+
* @example
|
|
843
|
+
* ecs.c6.large
|
|
844
|
+
*/
|
|
442
845
|
ecsSpec?: string;
|
|
846
|
+
/**
|
|
847
|
+
* @example
|
|
848
|
+
* {userName: "Chris"}
|
|
849
|
+
*/
|
|
443
850
|
environmentVariables?: {
|
|
444
851
|
[key: string]: string;
|
|
445
852
|
};
|
|
853
|
+
/**
|
|
854
|
+
* @example
|
|
855
|
+
* 2021-01-12T14:36:01Z
|
|
856
|
+
*/
|
|
446
857
|
gmtCreateTime?: string;
|
|
858
|
+
/**
|
|
859
|
+
* @example
|
|
860
|
+
* 2021-01-12T14:36:01Z
|
|
861
|
+
*/
|
|
447
862
|
gmtModifiedTime?: string;
|
|
863
|
+
/**
|
|
864
|
+
* @example
|
|
865
|
+
* null
|
|
866
|
+
*/
|
|
448
867
|
httpStatusCode?: number;
|
|
868
|
+
/**
|
|
869
|
+
* @example
|
|
870
|
+
* {"InstanceId":"dsw-05cefd0be2e5a278","CpuPercentThreshold":20,"GpuPercentThreshold":10,"MaxIdleTimeInMinutes":120,"IdleTimeInMinutes":30}
|
|
871
|
+
*/
|
|
449
872
|
idleInstanceCuller?: GetInstanceResponseBodyIdleInstanceCuller;
|
|
450
873
|
imageAuth?: string;
|
|
874
|
+
/**
|
|
875
|
+
* @example
|
|
876
|
+
* image-05cefd0be2exxxx
|
|
877
|
+
*/
|
|
451
878
|
imageId?: string;
|
|
879
|
+
/**
|
|
880
|
+
* @example
|
|
881
|
+
* py36_cpu_tf1.12_ubuntu
|
|
882
|
+
*/
|
|
452
883
|
imageName?: string;
|
|
884
|
+
/**
|
|
885
|
+
* @example
|
|
886
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
887
|
+
*/
|
|
453
888
|
imageUrl?: string;
|
|
889
|
+
/**
|
|
890
|
+
* @example
|
|
891
|
+
* dsw-730xxxxxxxxxx
|
|
892
|
+
*/
|
|
454
893
|
instanceId?: string;
|
|
894
|
+
/**
|
|
895
|
+
* @example
|
|
896
|
+
* training_data
|
|
897
|
+
*/
|
|
455
898
|
instanceName?: string;
|
|
456
899
|
instanceShutdownTimer?: GetInstanceResponseBodyInstanceShutdownTimer;
|
|
900
|
+
/**
|
|
901
|
+
* @example
|
|
902
|
+
* []
|
|
903
|
+
*/
|
|
457
904
|
instanceSnapshotList?: GetInstanceResponseBodyInstanceSnapshotList[];
|
|
905
|
+
/**
|
|
906
|
+
* @example
|
|
907
|
+
* https://dsw-cn-shanghai.data.aliyun.com/notebook.htm?instance=39772#/
|
|
908
|
+
*/
|
|
458
909
|
instanceUrl?: string;
|
|
910
|
+
/**
|
|
911
|
+
* @remarks
|
|
912
|
+
* Jupyterlab Url。
|
|
913
|
+
*
|
|
914
|
+
* @example
|
|
915
|
+
* https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/lab/
|
|
916
|
+
*/
|
|
459
917
|
jupyterlabUrl?: string;
|
|
918
|
+
/**
|
|
919
|
+
* @example
|
|
920
|
+
* {\\"foo\\": \\"bar\\"}
|
|
921
|
+
*/
|
|
460
922
|
labels?: GetInstanceResponseBodyLabels[];
|
|
461
923
|
latestSnapshot?: GetInstanceResponseBodyLatestSnapshot;
|
|
924
|
+
/**
|
|
925
|
+
* @example
|
|
926
|
+
* "XXX"
|
|
927
|
+
*/
|
|
462
928
|
message?: string;
|
|
463
929
|
nodeErrorRecovery?: GetInstanceResponseBodyNodeErrorRecovery;
|
|
930
|
+
/**
|
|
931
|
+
* @example
|
|
932
|
+
* PayAsYouGo
|
|
933
|
+
*/
|
|
464
934
|
paymentType?: string;
|
|
935
|
+
/**
|
|
936
|
+
* @example
|
|
937
|
+
* 1
|
|
938
|
+
*/
|
|
465
939
|
priority?: number;
|
|
940
|
+
/**
|
|
941
|
+
* @example
|
|
942
|
+
* Internal Error
|
|
943
|
+
*/
|
|
466
944
|
reasonCode?: string;
|
|
945
|
+
/**
|
|
946
|
+
* @example
|
|
947
|
+
* ImagePullBackOff
|
|
948
|
+
*/
|
|
467
949
|
reasonMessage?: string;
|
|
950
|
+
/**
|
|
951
|
+
* @example
|
|
952
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
953
|
+
*/
|
|
468
954
|
requestId?: string;
|
|
955
|
+
/**
|
|
956
|
+
* @example
|
|
957
|
+
* {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
|
|
958
|
+
*/
|
|
469
959
|
requestedResource?: GetInstanceResponseBodyRequestedResource;
|
|
960
|
+
/**
|
|
961
|
+
* @example
|
|
962
|
+
* dsw-123456789
|
|
963
|
+
*/
|
|
470
964
|
resourceId?: string;
|
|
965
|
+
/**
|
|
966
|
+
* @example
|
|
967
|
+
* ecs.g7.xlarge
|
|
968
|
+
*/
|
|
471
969
|
resourceName?: string;
|
|
970
|
+
/**
|
|
971
|
+
* @example
|
|
972
|
+
* Running
|
|
973
|
+
*/
|
|
472
974
|
status?: string;
|
|
975
|
+
/**
|
|
976
|
+
* @example
|
|
977
|
+
* true
|
|
978
|
+
*/
|
|
473
979
|
success?: boolean;
|
|
980
|
+
/**
|
|
981
|
+
* @example
|
|
982
|
+
* https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/tty/
|
|
983
|
+
*/
|
|
474
984
|
terminalUrl?: string;
|
|
985
|
+
/**
|
|
986
|
+
* @example
|
|
987
|
+
* 1612285282502324
|
|
988
|
+
*/
|
|
475
989
|
userId?: string;
|
|
990
|
+
/**
|
|
991
|
+
* @example
|
|
992
|
+
* 测试用户
|
|
993
|
+
*/
|
|
476
994
|
userName?: string;
|
|
477
995
|
userVpc?: GetInstanceResponseBodyUserVpc;
|
|
996
|
+
/**
|
|
997
|
+
* @remarks
|
|
998
|
+
* Web IDE url。
|
|
999
|
+
*
|
|
1000
|
+
* @example
|
|
1001
|
+
* https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/ide/
|
|
1002
|
+
*/
|
|
478
1003
|
webIDEUrl?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* @example
|
|
1006
|
+
* 40823
|
|
1007
|
+
*/
|
|
479
1008
|
workspaceId?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* @example
|
|
1011
|
+
* training_data
|
|
1012
|
+
*/
|
|
480
1013
|
workspaceName?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* @example
|
|
1016
|
+
* d-123456789
|
|
1017
|
+
*/
|
|
481
1018
|
workspaceSource?: string;
|
|
482
1019
|
static names(): {
|
|
483
1020
|
[key: string]: string;
|
|
@@ -506,8 +1043,20 @@ export declare class GetInstanceResponse extends $tea.Model {
|
|
|
506
1043
|
});
|
|
507
1044
|
}
|
|
508
1045
|
export declare class GetInstanceEventsRequest extends $tea.Model {
|
|
1046
|
+
/**
|
|
1047
|
+
* @example
|
|
1048
|
+
* 2020-11-08T15:00:00Z
|
|
1049
|
+
*/
|
|
509
1050
|
endTime?: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* @example
|
|
1053
|
+
* 2000
|
|
1054
|
+
*/
|
|
510
1055
|
maxEventsNum?: number;
|
|
1056
|
+
/**
|
|
1057
|
+
* @example
|
|
1058
|
+
* 2020-11-08T15:00:00Z
|
|
1059
|
+
*/
|
|
511
1060
|
startTime?: string;
|
|
512
1061
|
static names(): {
|
|
513
1062
|
[key: string]: string;
|
|
@@ -520,12 +1069,36 @@ export declare class GetInstanceEventsRequest extends $tea.Model {
|
|
|
520
1069
|
});
|
|
521
1070
|
}
|
|
522
1071
|
export declare class GetInstanceEventsResponseBody extends $tea.Model {
|
|
1072
|
+
/**
|
|
1073
|
+
* @example
|
|
1074
|
+
* None
|
|
1075
|
+
*/
|
|
523
1076
|
code?: string;
|
|
524
1077
|
events?: string[];
|
|
1078
|
+
/**
|
|
1079
|
+
* @example
|
|
1080
|
+
* 200
|
|
1081
|
+
*/
|
|
525
1082
|
httpStatusCode?: number;
|
|
1083
|
+
/**
|
|
1084
|
+
* @example
|
|
1085
|
+
* dsw-730xxxxxxxxxx
|
|
1086
|
+
*/
|
|
526
1087
|
instanceId?: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* @example
|
|
1090
|
+
* XXX
|
|
1091
|
+
*/
|
|
527
1092
|
message?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* @example
|
|
1095
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1096
|
+
*/
|
|
528
1097
|
requestId?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* @example
|
|
1100
|
+
* true
|
|
1101
|
+
*/
|
|
529
1102
|
success?: boolean;
|
|
530
1103
|
static names(): {
|
|
531
1104
|
[key: string]: string;
|
|
@@ -554,9 +1127,28 @@ export declare class GetInstanceEventsResponse extends $tea.Model {
|
|
|
554
1127
|
});
|
|
555
1128
|
}
|
|
556
1129
|
export declare class GetInstanceMetricsRequest extends $tea.Model {
|
|
1130
|
+
/**
|
|
1131
|
+
* @example
|
|
1132
|
+
* 2020-11-08T15:00:00Z
|
|
1133
|
+
*/
|
|
557
1134
|
endTime?: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* @remarks
|
|
1137
|
+
* This parameter is required.
|
|
1138
|
+
*
|
|
1139
|
+
* @example
|
|
1140
|
+
* GpuCoreUsage
|
|
1141
|
+
*/
|
|
558
1142
|
metricType?: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* @example
|
|
1145
|
+
* 2020-11-08T15:00:00Z
|
|
1146
|
+
*/
|
|
559
1147
|
startTime?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* @example
|
|
1150
|
+
* 15m
|
|
1151
|
+
*/
|
|
560
1152
|
timeStep?: string;
|
|
561
1153
|
static names(): {
|
|
562
1154
|
[key: string]: string;
|
|
@@ -569,12 +1161,36 @@ export declare class GetInstanceMetricsRequest extends $tea.Model {
|
|
|
569
1161
|
});
|
|
570
1162
|
}
|
|
571
1163
|
export declare class GetInstanceMetricsResponseBody extends $tea.Model {
|
|
1164
|
+
/**
|
|
1165
|
+
* @example
|
|
1166
|
+
* null
|
|
1167
|
+
*/
|
|
572
1168
|
code?: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* @example
|
|
1171
|
+
* null
|
|
1172
|
+
*/
|
|
573
1173
|
httpStatusCode?: number;
|
|
1174
|
+
/**
|
|
1175
|
+
* @example
|
|
1176
|
+
* dsw-730xxxxxxxxxx
|
|
1177
|
+
*/
|
|
574
1178
|
instanceId?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* @example
|
|
1181
|
+
* "XXX"
|
|
1182
|
+
*/
|
|
575
1183
|
message?: string;
|
|
576
1184
|
podMetrics?: GetInstanceMetricsResponseBodyPodMetrics[];
|
|
1185
|
+
/**
|
|
1186
|
+
* @example
|
|
1187
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1188
|
+
*/
|
|
577
1189
|
requestId?: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* @example
|
|
1192
|
+
* true
|
|
1193
|
+
*/
|
|
578
1194
|
success?: boolean;
|
|
579
1195
|
static names(): {
|
|
580
1196
|
[key: string]: string;
|
|
@@ -603,15 +1219,55 @@ export declare class GetInstanceMetricsResponse extends $tea.Model {
|
|
|
603
1219
|
});
|
|
604
1220
|
}
|
|
605
1221
|
export declare class GetInstanceShutdownTimerResponseBody extends $tea.Model {
|
|
1222
|
+
/**
|
|
1223
|
+
* @example
|
|
1224
|
+
* null
|
|
1225
|
+
*/
|
|
606
1226
|
code?: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* @example
|
|
1229
|
+
* 2021-01-12T14:36:01Z
|
|
1230
|
+
*/
|
|
607
1231
|
dueTime?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* @example
|
|
1234
|
+
* 2021-01-12T14:36:01Z
|
|
1235
|
+
*/
|
|
608
1236
|
gmtCreateTime?: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* @example
|
|
1239
|
+
* 2021-01-12T14:36:01Z
|
|
1240
|
+
*/
|
|
609
1241
|
gmtModifiedTime?: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* @example
|
|
1244
|
+
* null
|
|
1245
|
+
*/
|
|
610
1246
|
httpStatusCode?: number;
|
|
1247
|
+
/**
|
|
1248
|
+
* @example
|
|
1249
|
+
* dsw-730xxxxxxxxxx
|
|
1250
|
+
*/
|
|
611
1251
|
instanceId?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* @example
|
|
1254
|
+
* "XXX"
|
|
1255
|
+
*/
|
|
612
1256
|
message?: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* @example
|
|
1259
|
+
* 3600000
|
|
1260
|
+
*/
|
|
613
1261
|
remainingTimeInMs?: number;
|
|
1262
|
+
/**
|
|
1263
|
+
* @example
|
|
1264
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1265
|
+
*/
|
|
614
1266
|
requestId?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* @example
|
|
1269
|
+
* true
|
|
1270
|
+
*/
|
|
615
1271
|
success?: boolean;
|
|
616
1272
|
static names(): {
|
|
617
1273
|
[key: string]: string;
|
|
@@ -640,22 +1296,86 @@ export declare class GetInstanceShutdownTimerResponse extends $tea.Model {
|
|
|
640
1296
|
});
|
|
641
1297
|
}
|
|
642
1298
|
export declare class GetInstanceSnapshotResponseBody extends $tea.Model {
|
|
1299
|
+
/**
|
|
1300
|
+
* @example
|
|
1301
|
+
* null
|
|
1302
|
+
*/
|
|
643
1303
|
code?: string;
|
|
644
1304
|
excludePaths?: string[];
|
|
1305
|
+
/**
|
|
1306
|
+
* @example
|
|
1307
|
+
* 2021-01-12T14:36:01Z
|
|
1308
|
+
*/
|
|
645
1309
|
gmtCreateTime?: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* @example
|
|
1312
|
+
* 2021-01-12T14:36:01Z
|
|
1313
|
+
*/
|
|
646
1314
|
gmtModifiedTime?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* @example
|
|
1317
|
+
* null
|
|
1318
|
+
*/
|
|
647
1319
|
httpStatusCode?: number;
|
|
1320
|
+
/**
|
|
1321
|
+
* @example
|
|
1322
|
+
* image-05cefd0be2exxxx
|
|
1323
|
+
*/
|
|
648
1324
|
imageId?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* @example
|
|
1327
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
1328
|
+
*/
|
|
649
1329
|
imageUrl?: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* @example
|
|
1332
|
+
* dsw-730xxxxxxxxxx
|
|
1333
|
+
*/
|
|
650
1334
|
instanceId?: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* @example
|
|
1337
|
+
* {\"foo\": \"bar\"}
|
|
1338
|
+
*/
|
|
651
1339
|
labels?: GetInstanceSnapshotResponseBodyLabels[];
|
|
1340
|
+
/**
|
|
1341
|
+
* @example
|
|
1342
|
+
* "XXX"
|
|
1343
|
+
*/
|
|
652
1344
|
message?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* @example
|
|
1347
|
+
* Internal Error
|
|
1348
|
+
*/
|
|
653
1349
|
reasonCode?: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* @example
|
|
1352
|
+
* ImagePullBackOff
|
|
1353
|
+
*/
|
|
654
1354
|
reasonMessage?: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* @example
|
|
1357
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1358
|
+
*/
|
|
655
1359
|
requestId?: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* @example
|
|
1362
|
+
* snp-05cexxxxxxxxx
|
|
1363
|
+
*/
|
|
656
1364
|
snapshotId?: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* @example
|
|
1367
|
+
* training_data_env
|
|
1368
|
+
*/
|
|
657
1369
|
snapshotName?: string;
|
|
1370
|
+
/**
|
|
1371
|
+
* @example
|
|
1372
|
+
* Pushing
|
|
1373
|
+
*/
|
|
658
1374
|
status?: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* @example
|
|
1377
|
+
* true
|
|
1378
|
+
*/
|
|
659
1379
|
success?: boolean;
|
|
660
1380
|
static names(): {
|
|
661
1381
|
[key: string]: string;
|
|
@@ -684,10 +1404,30 @@ export declare class GetInstanceSnapshotResponse extends $tea.Model {
|
|
|
684
1404
|
});
|
|
685
1405
|
}
|
|
686
1406
|
export declare class GetLifecycleRequest extends $tea.Model {
|
|
1407
|
+
/**
|
|
1408
|
+
* @example
|
|
1409
|
+
* 2020-11-08T15:00:00Z
|
|
1410
|
+
*/
|
|
687
1411
|
endTime?: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* @example
|
|
1414
|
+
* 1
|
|
1415
|
+
*/
|
|
688
1416
|
limit?: number;
|
|
1417
|
+
/**
|
|
1418
|
+
* @example
|
|
1419
|
+
* DESC
|
|
1420
|
+
*/
|
|
689
1421
|
order?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* @example
|
|
1424
|
+
* 1
|
|
1425
|
+
*/
|
|
690
1426
|
sessionNumber?: number;
|
|
1427
|
+
/**
|
|
1428
|
+
* @example
|
|
1429
|
+
* 2020-11-08T15:00:00Z
|
|
1430
|
+
*/
|
|
691
1431
|
startTime?: string;
|
|
692
1432
|
static names(): {
|
|
693
1433
|
[key: string]: string;
|
|
@@ -700,11 +1440,35 @@ export declare class GetLifecycleRequest extends $tea.Model {
|
|
|
700
1440
|
});
|
|
701
1441
|
}
|
|
702
1442
|
export declare class GetLifecycleResponseBody extends $tea.Model {
|
|
1443
|
+
/**
|
|
1444
|
+
* @example
|
|
1445
|
+
* null
|
|
1446
|
+
*/
|
|
703
1447
|
code?: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* @example
|
|
1450
|
+
* [[{"Status":"Creating","GmtCreateTime":"2022-09-19T22:38:00Z","Reason":"","ReasonCode":""}]]
|
|
1451
|
+
*/
|
|
704
1452
|
lifecycle?: GetLifecycleResponseBodyLifecycle[][];
|
|
1453
|
+
/**
|
|
1454
|
+
* @example
|
|
1455
|
+
* "XXX"
|
|
1456
|
+
*/
|
|
705
1457
|
message?: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* @example
|
|
1460
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1461
|
+
*/
|
|
706
1462
|
requestId?: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* @example
|
|
1465
|
+
* true
|
|
1466
|
+
*/
|
|
707
1467
|
success?: boolean;
|
|
1468
|
+
/**
|
|
1469
|
+
* @example
|
|
1470
|
+
* 35
|
|
1471
|
+
*/
|
|
708
1472
|
totalCount?: number;
|
|
709
1473
|
static names(): {
|
|
710
1474
|
[key: string]: string;
|
|
@@ -733,13 +1497,45 @@ export declare class GetLifecycleResponse extends $tea.Model {
|
|
|
733
1497
|
});
|
|
734
1498
|
}
|
|
735
1499
|
export declare class GetMetricsRequest extends $tea.Model {
|
|
1500
|
+
/**
|
|
1501
|
+
* @example
|
|
1502
|
+
* {"userId":"16122852825*****","jobId":"dsw-328d2bbf605*****","regionId":"cn-wulanchabu","pod":"dsw-45680-76766f8778-95gxh"}
|
|
1503
|
+
*/
|
|
736
1504
|
dimensions?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* @example
|
|
1507
|
+
* 2020-11-08T16:00:00Z
|
|
1508
|
+
*/
|
|
737
1509
|
endTime?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* @example
|
|
1512
|
+
* 10
|
|
1513
|
+
*/
|
|
738
1514
|
length?: string;
|
|
1515
|
+
/**
|
|
1516
|
+
* @example
|
|
1517
|
+
* INSTANCE_SPEC_MEMORY_SWAP
|
|
1518
|
+
*/
|
|
739
1519
|
metricName?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* @example
|
|
1522
|
+
* acs_pai_dsw
|
|
1523
|
+
*/
|
|
740
1524
|
namespace?: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* @example
|
|
1527
|
+
* 15761485350009dd70bb64cff1f0fff750b08ffff073be5fb1e785e2b020f1a949d5ea14aea7fed82f01dd8****
|
|
1528
|
+
*/
|
|
741
1529
|
nextToken?: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* @example
|
|
1532
|
+
* 60
|
|
1533
|
+
*/
|
|
742
1534
|
period?: string;
|
|
1535
|
+
/**
|
|
1536
|
+
* @example
|
|
1537
|
+
* 2020-11-08T15:00:00Z
|
|
1538
|
+
*/
|
|
743
1539
|
startTime?: string;
|
|
744
1540
|
static names(): {
|
|
745
1541
|
[key: string]: string;
|
|
@@ -752,12 +1548,40 @@ export declare class GetMetricsRequest extends $tea.Model {
|
|
|
752
1548
|
});
|
|
753
1549
|
}
|
|
754
1550
|
export declare class GetMetricsResponseBody extends $tea.Model {
|
|
1551
|
+
/**
|
|
1552
|
+
* @example
|
|
1553
|
+
* 200
|
|
1554
|
+
*/
|
|
755
1555
|
code?: string;
|
|
1556
|
+
/**
|
|
1557
|
+
* @example
|
|
1558
|
+
* [{"timestamp":1548777660000,"userId":"120886317861****","instanceId":"i-abc****","Minimum":9.92,"Average":9.92,"Maximum":9.92}]
|
|
1559
|
+
*/
|
|
756
1560
|
dataPoints?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* @example
|
|
1563
|
+
* Succeed
|
|
1564
|
+
*/
|
|
757
1565
|
message?: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* @example
|
|
1568
|
+
* 15761485350009dd70bb64cff1f0fff750b08ffff073be5fb1e785e2b020f1a949d5ea14aea7fed82f01dd8****
|
|
1569
|
+
*/
|
|
758
1570
|
nextToken?: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* @example
|
|
1573
|
+
* 60
|
|
1574
|
+
*/
|
|
759
1575
|
period?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* @example
|
|
1578
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
1579
|
+
*/
|
|
760
1580
|
requestId?: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* @example
|
|
1583
|
+
* true
|
|
1584
|
+
*/
|
|
761
1585
|
success?: boolean;
|
|
762
1586
|
static names(): {
|
|
763
1587
|
[key: string]: string;
|
|
@@ -786,9 +1610,37 @@ export declare class GetMetricsResponse extends $tea.Model {
|
|
|
786
1610
|
});
|
|
787
1611
|
}
|
|
788
1612
|
export declare class GetResourceGroupStatisticsRequest extends $tea.Model {
|
|
1613
|
+
/**
|
|
1614
|
+
* @remarks
|
|
1615
|
+
* This parameter is required.
|
|
1616
|
+
*
|
|
1617
|
+
* @example
|
|
1618
|
+
* 2020-11-08T15:00:00Z
|
|
1619
|
+
*/
|
|
789
1620
|
endTime?: string;
|
|
1621
|
+
/**
|
|
1622
|
+
* @remarks
|
|
1623
|
+
* This parameter is required.
|
|
1624
|
+
*
|
|
1625
|
+
* @example
|
|
1626
|
+
* rg-123456789
|
|
1627
|
+
*/
|
|
790
1628
|
resourceId?: string;
|
|
1629
|
+
/**
|
|
1630
|
+
* @remarks
|
|
1631
|
+
* This parameter is required.
|
|
1632
|
+
*
|
|
1633
|
+
* @example
|
|
1634
|
+
* 2020-11-08T15:00:00Z
|
|
1635
|
+
*/
|
|
791
1636
|
startTime?: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* @remarks
|
|
1639
|
+
* This parameter is required.
|
|
1640
|
+
*
|
|
1641
|
+
* @example
|
|
1642
|
+
* 27218,34956
|
|
1643
|
+
*/
|
|
792
1644
|
workspaceIds?: string;
|
|
793
1645
|
static names(): {
|
|
794
1646
|
[key: string]: string;
|
|
@@ -801,15 +1653,35 @@ export declare class GetResourceGroupStatisticsRequest extends $tea.Model {
|
|
|
801
1653
|
});
|
|
802
1654
|
}
|
|
803
1655
|
export declare class GetResourceGroupStatisticsResponseBody extends $tea.Model {
|
|
1656
|
+
/**
|
|
1657
|
+
* @example
|
|
1658
|
+
* InternalError
|
|
1659
|
+
*/
|
|
804
1660
|
code?: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* @example
|
|
1663
|
+
* 400
|
|
1664
|
+
*/
|
|
805
1665
|
httpStatusCode?: number;
|
|
1666
|
+
/**
|
|
1667
|
+
* @example
|
|
1668
|
+
* "XXX"
|
|
1669
|
+
*/
|
|
806
1670
|
message?: string;
|
|
1671
|
+
/**
|
|
1672
|
+
* @example
|
|
1673
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1674
|
+
*/
|
|
807
1675
|
requestId?: string;
|
|
808
1676
|
statistics?: {
|
|
809
1677
|
[key: string]: {
|
|
810
1678
|
[key: string]: any;
|
|
811
1679
|
};
|
|
812
1680
|
};
|
|
1681
|
+
/**
|
|
1682
|
+
* @example
|
|
1683
|
+
* true
|
|
1684
|
+
*/
|
|
813
1685
|
success?: boolean;
|
|
814
1686
|
static names(): {
|
|
815
1687
|
[key: string]: string;
|
|
@@ -838,7 +1710,18 @@ export declare class GetResourceGroupStatisticsResponse extends $tea.Model {
|
|
|
838
1710
|
});
|
|
839
1711
|
}
|
|
840
1712
|
export declare class GetTokenRequest extends $tea.Model {
|
|
1713
|
+
/**
|
|
1714
|
+
* @example
|
|
1715
|
+
* 60
|
|
1716
|
+
*/
|
|
841
1717
|
expireTime?: number;
|
|
1718
|
+
/**
|
|
1719
|
+
* @remarks
|
|
1720
|
+
* This parameter is required.
|
|
1721
|
+
*
|
|
1722
|
+
* @example
|
|
1723
|
+
* dsw-730xxxxxxxxxx
|
|
1724
|
+
*/
|
|
842
1725
|
instanceId?: string;
|
|
843
1726
|
static names(): {
|
|
844
1727
|
[key: string]: string;
|
|
@@ -851,10 +1734,30 @@ export declare class GetTokenRequest extends $tea.Model {
|
|
|
851
1734
|
});
|
|
852
1735
|
}
|
|
853
1736
|
export declare class GetTokenResponseBody extends $tea.Model {
|
|
1737
|
+
/**
|
|
1738
|
+
* @example
|
|
1739
|
+
* ValidationError
|
|
1740
|
+
*/
|
|
854
1741
|
code?: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* @example
|
|
1744
|
+
* "XXX"
|
|
1745
|
+
*/
|
|
855
1746
|
message?: string;
|
|
1747
|
+
/**
|
|
1748
|
+
* @example
|
|
1749
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1750
|
+
*/
|
|
856
1751
|
requestId?: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* @example
|
|
1754
|
+
* true
|
|
1755
|
+
*/
|
|
857
1756
|
success?: boolean;
|
|
1757
|
+
/**
|
|
1758
|
+
* @example
|
|
1759
|
+
* *******
|
|
1760
|
+
*/
|
|
858
1761
|
token?: string;
|
|
859
1762
|
static names(): {
|
|
860
1763
|
[key: string]: string;
|
|
@@ -883,14 +1786,46 @@ export declare class GetTokenResponse extends $tea.Model {
|
|
|
883
1786
|
});
|
|
884
1787
|
}
|
|
885
1788
|
export declare class GetUserConfigResponseBody extends $tea.Model {
|
|
1789
|
+
/**
|
|
1790
|
+
* @example
|
|
1791
|
+
* false
|
|
1792
|
+
*/
|
|
886
1793
|
accountSufficient?: boolean;
|
|
1794
|
+
/**
|
|
1795
|
+
* @example
|
|
1796
|
+
* null
|
|
1797
|
+
*/
|
|
887
1798
|
code?: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* @example
|
|
1801
|
+
* true
|
|
1802
|
+
*/
|
|
888
1803
|
enableEciDisk?: boolean;
|
|
889
1804
|
freeTier?: GetUserConfigResponseBodyFreeTier;
|
|
1805
|
+
/**
|
|
1806
|
+
* @example
|
|
1807
|
+
* true
|
|
1808
|
+
*/
|
|
890
1809
|
freeTierSpecAvailable?: boolean;
|
|
1810
|
+
/**
|
|
1811
|
+
* @example
|
|
1812
|
+
* null
|
|
1813
|
+
*/
|
|
891
1814
|
httpStatusCode?: number;
|
|
1815
|
+
/**
|
|
1816
|
+
* @example
|
|
1817
|
+
* "Access denied"
|
|
1818
|
+
*/
|
|
892
1819
|
message?: string;
|
|
1820
|
+
/**
|
|
1821
|
+
* @example
|
|
1822
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1823
|
+
*/
|
|
893
1824
|
requestId?: string;
|
|
1825
|
+
/**
|
|
1826
|
+
* @example
|
|
1827
|
+
* true
|
|
1828
|
+
*/
|
|
894
1829
|
success?: boolean;
|
|
895
1830
|
static names(): {
|
|
896
1831
|
[key: string]: string;
|
|
@@ -919,10 +1854,33 @@ export declare class GetUserConfigResponse extends $tea.Model {
|
|
|
919
1854
|
});
|
|
920
1855
|
}
|
|
921
1856
|
export declare class ListEcsSpecsRequest extends $tea.Model {
|
|
1857
|
+
/**
|
|
1858
|
+
* @remarks
|
|
1859
|
+
* This parameter is required.
|
|
1860
|
+
*
|
|
1861
|
+
* @example
|
|
1862
|
+
* PRIVATE
|
|
1863
|
+
*/
|
|
922
1864
|
acceleratorType?: string;
|
|
1865
|
+
/**
|
|
1866
|
+
* @example
|
|
1867
|
+
* DESC
|
|
1868
|
+
*/
|
|
923
1869
|
order?: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* @example
|
|
1872
|
+
* 1
|
|
1873
|
+
*/
|
|
924
1874
|
pageNumber?: number;
|
|
1875
|
+
/**
|
|
1876
|
+
* @example
|
|
1877
|
+
* 10
|
|
1878
|
+
*/
|
|
925
1879
|
pageSize?: number;
|
|
1880
|
+
/**
|
|
1881
|
+
* @example
|
|
1882
|
+
* gmtCreate
|
|
1883
|
+
*/
|
|
926
1884
|
sortBy?: string;
|
|
927
1885
|
static names(): {
|
|
928
1886
|
[key: string]: string;
|
|
@@ -935,12 +1893,36 @@ export declare class ListEcsSpecsRequest extends $tea.Model {
|
|
|
935
1893
|
});
|
|
936
1894
|
}
|
|
937
1895
|
export declare class ListEcsSpecsResponseBody extends $tea.Model {
|
|
1896
|
+
/**
|
|
1897
|
+
* @example
|
|
1898
|
+
* null
|
|
1899
|
+
*/
|
|
938
1900
|
code?: string;
|
|
939
1901
|
ecsSpecs?: ListEcsSpecsResponseBodyEcsSpecs[];
|
|
1902
|
+
/**
|
|
1903
|
+
* @example
|
|
1904
|
+
* null
|
|
1905
|
+
*/
|
|
940
1906
|
httpStatusCode?: number;
|
|
1907
|
+
/**
|
|
1908
|
+
* @example
|
|
1909
|
+
* "XXX"
|
|
1910
|
+
*/
|
|
941
1911
|
message?: string;
|
|
1912
|
+
/**
|
|
1913
|
+
* @example
|
|
1914
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
1915
|
+
*/
|
|
942
1916
|
requestId?: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* @example
|
|
1919
|
+
* true
|
|
1920
|
+
*/
|
|
943
1921
|
success?: boolean;
|
|
1922
|
+
/**
|
|
1923
|
+
* @example
|
|
1924
|
+
* 35
|
|
1925
|
+
*/
|
|
944
1926
|
totalCount?: number;
|
|
945
1927
|
static names(): {
|
|
946
1928
|
[key: string]: string;
|
|
@@ -969,9 +1951,25 @@ export declare class ListEcsSpecsResponse extends $tea.Model {
|
|
|
969
1951
|
});
|
|
970
1952
|
}
|
|
971
1953
|
export declare class ListInstanceSnapshotRequest extends $tea.Model {
|
|
1954
|
+
/**
|
|
1955
|
+
* @example
|
|
1956
|
+
* DESC
|
|
1957
|
+
*/
|
|
972
1958
|
order?: string;
|
|
1959
|
+
/**
|
|
1960
|
+
* @example
|
|
1961
|
+
* 1
|
|
1962
|
+
*/
|
|
973
1963
|
pageNumber?: number;
|
|
1964
|
+
/**
|
|
1965
|
+
* @example
|
|
1966
|
+
* 10
|
|
1967
|
+
*/
|
|
974
1968
|
pageSize?: number;
|
|
1969
|
+
/**
|
|
1970
|
+
* @example
|
|
1971
|
+
* gmtCreate
|
|
1972
|
+
*/
|
|
975
1973
|
sortBy?: string;
|
|
976
1974
|
static names(): {
|
|
977
1975
|
[key: string]: string;
|
|
@@ -984,12 +1982,36 @@ export declare class ListInstanceSnapshotRequest extends $tea.Model {
|
|
|
984
1982
|
});
|
|
985
1983
|
}
|
|
986
1984
|
export declare class ListInstanceSnapshotResponseBody extends $tea.Model {
|
|
1985
|
+
/**
|
|
1986
|
+
* @example
|
|
1987
|
+
* null
|
|
1988
|
+
*/
|
|
987
1989
|
code?: string;
|
|
1990
|
+
/**
|
|
1991
|
+
* @example
|
|
1992
|
+
* null
|
|
1993
|
+
*/
|
|
988
1994
|
httpStatusCode?: number;
|
|
1995
|
+
/**
|
|
1996
|
+
* @example
|
|
1997
|
+
* "XXX"
|
|
1998
|
+
*/
|
|
989
1999
|
message?: string;
|
|
2000
|
+
/**
|
|
2001
|
+
* @example
|
|
2002
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
2003
|
+
*/
|
|
990
2004
|
requestId?: string;
|
|
991
2005
|
snapshots?: ListInstanceSnapshotResponseBodySnapshots[];
|
|
2006
|
+
/**
|
|
2007
|
+
* @example
|
|
2008
|
+
* true
|
|
2009
|
+
*/
|
|
992
2010
|
success?: boolean;
|
|
2011
|
+
/**
|
|
2012
|
+
* @example
|
|
2013
|
+
* 35
|
|
2014
|
+
*/
|
|
993
2015
|
totalCount?: number;
|
|
994
2016
|
static names(): {
|
|
995
2017
|
[key: string]: string;
|
|
@@ -1018,6 +2040,13 @@ export declare class ListInstanceSnapshotResponse extends $tea.Model {
|
|
|
1018
2040
|
});
|
|
1019
2041
|
}
|
|
1020
2042
|
export declare class ListInstanceStatisticsRequest extends $tea.Model {
|
|
2043
|
+
/**
|
|
2044
|
+
* @remarks
|
|
2045
|
+
* This parameter is required.
|
|
2046
|
+
*
|
|
2047
|
+
* @example
|
|
2048
|
+
* 27218,34956
|
|
2049
|
+
*/
|
|
1021
2050
|
workspaceIds?: string;
|
|
1022
2051
|
static names(): {
|
|
1023
2052
|
[key: string]: string;
|
|
@@ -1030,15 +2059,35 @@ export declare class ListInstanceStatisticsRequest extends $tea.Model {
|
|
|
1030
2059
|
});
|
|
1031
2060
|
}
|
|
1032
2061
|
export declare class ListInstanceStatisticsResponseBody extends $tea.Model {
|
|
2062
|
+
/**
|
|
2063
|
+
* @example
|
|
2064
|
+
* InternalError
|
|
2065
|
+
*/
|
|
1033
2066
|
code?: string;
|
|
2067
|
+
/**
|
|
2068
|
+
* @example
|
|
2069
|
+
* 400
|
|
2070
|
+
*/
|
|
1034
2071
|
httpStatusCode?: number;
|
|
2072
|
+
/**
|
|
2073
|
+
* @example
|
|
2074
|
+
* "XXX"
|
|
2075
|
+
*/
|
|
1035
2076
|
message?: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* @example
|
|
2079
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
2080
|
+
*/
|
|
1036
2081
|
requestId?: string;
|
|
1037
2082
|
statistics?: {
|
|
1038
2083
|
[key: string]: {
|
|
1039
2084
|
[key: string]: any;
|
|
1040
2085
|
};
|
|
1041
2086
|
};
|
|
2087
|
+
/**
|
|
2088
|
+
* @example
|
|
2089
|
+
* true
|
|
2090
|
+
*/
|
|
1042
2091
|
success?: boolean;
|
|
1043
2092
|
static names(): {
|
|
1044
2093
|
[key: string]: string;
|
|
@@ -1067,20 +2116,69 @@ export declare class ListInstanceStatisticsResponse extends $tea.Model {
|
|
|
1067
2116
|
});
|
|
1068
2117
|
}
|
|
1069
2118
|
export declare class ListInstancesRequest extends $tea.Model {
|
|
2119
|
+
/**
|
|
2120
|
+
* @example
|
|
2121
|
+
* AcceleratorType
|
|
2122
|
+
*/
|
|
1070
2123
|
acceleratorType?: string;
|
|
2124
|
+
/**
|
|
2125
|
+
* @example
|
|
2126
|
+
* PRIVATE
|
|
2127
|
+
*/
|
|
1071
2128
|
accessibility?: string;
|
|
2129
|
+
createUserId?: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* @example
|
|
2132
|
+
* dsw-730xxxxxxxxxx
|
|
2133
|
+
*/
|
|
1072
2134
|
instanceId?: string;
|
|
2135
|
+
/**
|
|
2136
|
+
* @example
|
|
2137
|
+
* training_data
|
|
2138
|
+
*/
|
|
1073
2139
|
instanceName?: string;
|
|
1074
2140
|
labels?: {
|
|
1075
2141
|
[key: string]: any;
|
|
1076
2142
|
};
|
|
2143
|
+
/**
|
|
2144
|
+
* @example
|
|
2145
|
+
* DESC
|
|
2146
|
+
*/
|
|
1077
2147
|
order?: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* @example
|
|
2150
|
+
* 1
|
|
2151
|
+
*/
|
|
1078
2152
|
pageNumber?: number;
|
|
2153
|
+
/**
|
|
2154
|
+
* @example
|
|
2155
|
+
* 10
|
|
2156
|
+
*/
|
|
1079
2157
|
pageSize?: number;
|
|
2158
|
+
/**
|
|
2159
|
+
* @example
|
|
2160
|
+
* PayAsYouGo
|
|
2161
|
+
*/
|
|
1080
2162
|
paymentType?: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* @example
|
|
2165
|
+
* rg-123456789
|
|
2166
|
+
*/
|
|
1081
2167
|
resourceId?: string;
|
|
2168
|
+
/**
|
|
2169
|
+
* @example
|
|
2170
|
+
* gmtCreate
|
|
2171
|
+
*/
|
|
1082
2172
|
sortBy?: string;
|
|
2173
|
+
/**
|
|
2174
|
+
* @example
|
|
2175
|
+
* Running
|
|
2176
|
+
*/
|
|
1083
2177
|
status?: string;
|
|
2178
|
+
/**
|
|
2179
|
+
* @example
|
|
2180
|
+
* 40823
|
|
2181
|
+
*/
|
|
1084
2182
|
workspaceId?: string;
|
|
1085
2183
|
static names(): {
|
|
1086
2184
|
[key: string]: string;
|
|
@@ -1093,18 +2191,67 @@ export declare class ListInstancesRequest extends $tea.Model {
|
|
|
1093
2191
|
});
|
|
1094
2192
|
}
|
|
1095
2193
|
export declare class ListInstancesShrinkRequest extends $tea.Model {
|
|
2194
|
+
/**
|
|
2195
|
+
* @example
|
|
2196
|
+
* AcceleratorType
|
|
2197
|
+
*/
|
|
1096
2198
|
acceleratorType?: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* @example
|
|
2201
|
+
* PRIVATE
|
|
2202
|
+
*/
|
|
1097
2203
|
accessibility?: string;
|
|
2204
|
+
createUserId?: string;
|
|
2205
|
+
/**
|
|
2206
|
+
* @example
|
|
2207
|
+
* dsw-730xxxxxxxxxx
|
|
2208
|
+
*/
|
|
1098
2209
|
instanceId?: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* @example
|
|
2212
|
+
* training_data
|
|
2213
|
+
*/
|
|
1099
2214
|
instanceName?: string;
|
|
1100
2215
|
labelsShrink?: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* @example
|
|
2218
|
+
* DESC
|
|
2219
|
+
*/
|
|
1101
2220
|
order?: string;
|
|
2221
|
+
/**
|
|
2222
|
+
* @example
|
|
2223
|
+
* 1
|
|
2224
|
+
*/
|
|
1102
2225
|
pageNumber?: number;
|
|
2226
|
+
/**
|
|
2227
|
+
* @example
|
|
2228
|
+
* 10
|
|
2229
|
+
*/
|
|
1103
2230
|
pageSize?: number;
|
|
2231
|
+
/**
|
|
2232
|
+
* @example
|
|
2233
|
+
* PayAsYouGo
|
|
2234
|
+
*/
|
|
1104
2235
|
paymentType?: string;
|
|
2236
|
+
/**
|
|
2237
|
+
* @example
|
|
2238
|
+
* rg-123456789
|
|
2239
|
+
*/
|
|
1105
2240
|
resourceId?: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* @example
|
|
2243
|
+
* gmtCreate
|
|
2244
|
+
*/
|
|
1106
2245
|
sortBy?: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* @example
|
|
2248
|
+
* Running
|
|
2249
|
+
*/
|
|
1107
2250
|
status?: string;
|
|
2251
|
+
/**
|
|
2252
|
+
* @example
|
|
2253
|
+
* 40823
|
|
2254
|
+
*/
|
|
1108
2255
|
workspaceId?: string;
|
|
1109
2256
|
static names(): {
|
|
1110
2257
|
[key: string]: string;
|
|
@@ -1117,12 +2264,36 @@ export declare class ListInstancesShrinkRequest extends $tea.Model {
|
|
|
1117
2264
|
});
|
|
1118
2265
|
}
|
|
1119
2266
|
export declare class ListInstancesResponseBody extends $tea.Model {
|
|
2267
|
+
/**
|
|
2268
|
+
* @example
|
|
2269
|
+
* null
|
|
2270
|
+
*/
|
|
1120
2271
|
code?: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* @example
|
|
2274
|
+
* null
|
|
2275
|
+
*/
|
|
1121
2276
|
httpStatusCode?: number;
|
|
1122
2277
|
instances?: ListInstancesResponseBodyInstances[];
|
|
2278
|
+
/**
|
|
2279
|
+
* @example
|
|
2280
|
+
* "XXX"
|
|
2281
|
+
*/
|
|
1123
2282
|
message?: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* @example
|
|
2285
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
2286
|
+
*/
|
|
1124
2287
|
requestId?: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* @example
|
|
2290
|
+
* true
|
|
2291
|
+
*/
|
|
1125
2292
|
success?: boolean;
|
|
2293
|
+
/**
|
|
2294
|
+
* @example
|
|
2295
|
+
* 35
|
|
2296
|
+
*/
|
|
1126
2297
|
totalCount?: number;
|
|
1127
2298
|
static names(): {
|
|
1128
2299
|
[key: string]: string;
|
|
@@ -1151,11 +2322,35 @@ export declare class ListInstancesResponse extends $tea.Model {
|
|
|
1151
2322
|
});
|
|
1152
2323
|
}
|
|
1153
2324
|
export declare class StartInstanceResponseBody extends $tea.Model {
|
|
2325
|
+
/**
|
|
2326
|
+
* @example
|
|
2327
|
+
* null
|
|
2328
|
+
*/
|
|
1154
2329
|
code?: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* @example
|
|
2332
|
+
* null
|
|
2333
|
+
*/
|
|
1155
2334
|
httpStatusCode?: number;
|
|
2335
|
+
/**
|
|
2336
|
+
* @example
|
|
2337
|
+
* dsw-730xxxxxxxxxx
|
|
2338
|
+
*/
|
|
1156
2339
|
instanceId?: string;
|
|
2340
|
+
/**
|
|
2341
|
+
* @example
|
|
2342
|
+
* "XXX"
|
|
2343
|
+
*/
|
|
1157
2344
|
message?: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* @example
|
|
2347
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
2348
|
+
*/
|
|
1158
2349
|
requestId?: string;
|
|
2350
|
+
/**
|
|
2351
|
+
* @example
|
|
2352
|
+
* true
|
|
2353
|
+
*/
|
|
1159
2354
|
success?: boolean;
|
|
1160
2355
|
static names(): {
|
|
1161
2356
|
[key: string]: string;
|
|
@@ -1184,6 +2379,10 @@ export declare class StartInstanceResponse extends $tea.Model {
|
|
|
1184
2379
|
});
|
|
1185
2380
|
}
|
|
1186
2381
|
export declare class StopInstanceRequest extends $tea.Model {
|
|
2382
|
+
/**
|
|
2383
|
+
* @example
|
|
2384
|
+
* false
|
|
2385
|
+
*/
|
|
1187
2386
|
saveImage?: boolean;
|
|
1188
2387
|
static names(): {
|
|
1189
2388
|
[key: string]: string;
|
|
@@ -1196,11 +2395,35 @@ export declare class StopInstanceRequest extends $tea.Model {
|
|
|
1196
2395
|
});
|
|
1197
2396
|
}
|
|
1198
2397
|
export declare class StopInstanceResponseBody extends $tea.Model {
|
|
2398
|
+
/**
|
|
2399
|
+
* @example
|
|
2400
|
+
* null
|
|
2401
|
+
*/
|
|
1199
2402
|
code?: string;
|
|
2403
|
+
/**
|
|
2404
|
+
* @example
|
|
2405
|
+
* null
|
|
2406
|
+
*/
|
|
1200
2407
|
httpStatusCode?: number;
|
|
2408
|
+
/**
|
|
2409
|
+
* @example
|
|
2410
|
+
* dsw-730xxxxxxxxxx
|
|
2411
|
+
*/
|
|
1201
2412
|
instanceId?: string;
|
|
2413
|
+
/**
|
|
2414
|
+
* @example
|
|
2415
|
+
* "XXX"
|
|
2416
|
+
*/
|
|
1202
2417
|
message?: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* @example
|
|
2420
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
2421
|
+
*/
|
|
1203
2422
|
requestId?: string;
|
|
2423
|
+
/**
|
|
2424
|
+
* @example
|
|
2425
|
+
* true
|
|
2426
|
+
*/
|
|
1204
2427
|
success?: boolean;
|
|
1205
2428
|
static names(): {
|
|
1206
2429
|
[key: string]: string;
|
|
@@ -1229,24 +2452,84 @@ export declare class StopInstanceResponse extends $tea.Model {
|
|
|
1229
2452
|
});
|
|
1230
2453
|
}
|
|
1231
2454
|
export declare class UpdateInstanceRequest extends $tea.Model {
|
|
2455
|
+
/**
|
|
2456
|
+
* @example
|
|
2457
|
+
* PRIVATE
|
|
2458
|
+
*/
|
|
1232
2459
|
accessibility?: string;
|
|
1233
2460
|
affinity?: UpdateInstanceRequestAffinity;
|
|
2461
|
+
/**
|
|
2462
|
+
* @example
|
|
2463
|
+
* []
|
|
2464
|
+
*/
|
|
1234
2465
|
cloudDisks?: UpdateInstanceRequestCloudDisks[];
|
|
1235
2466
|
datasets?: UpdateInstanceRequestDatasets[];
|
|
2467
|
+
/**
|
|
2468
|
+
* @example
|
|
2469
|
+
* false
|
|
2470
|
+
*/
|
|
1236
2471
|
disassociateDatasets?: boolean;
|
|
2472
|
+
/**
|
|
2473
|
+
* @example
|
|
2474
|
+
* false
|
|
2475
|
+
*/
|
|
1237
2476
|
disassociateDriver?: boolean;
|
|
2477
|
+
/**
|
|
2478
|
+
* @example
|
|
2479
|
+
* false
|
|
2480
|
+
*/
|
|
1238
2481
|
disassociateForwardInfos?: boolean;
|
|
2482
|
+
/**
|
|
2483
|
+
* @example
|
|
2484
|
+
* false
|
|
2485
|
+
*/
|
|
1239
2486
|
disassociateVpc?: boolean;
|
|
2487
|
+
/**
|
|
2488
|
+
* @example
|
|
2489
|
+
* 535.54.03
|
|
2490
|
+
*/
|
|
1240
2491
|
driver?: string;
|
|
2492
|
+
/**
|
|
2493
|
+
* @example
|
|
2494
|
+
* ecs.c6.large
|
|
2495
|
+
*/
|
|
1241
2496
|
ecsSpec?: string;
|
|
1242
2497
|
imageAuth?: string;
|
|
2498
|
+
/**
|
|
2499
|
+
* @example
|
|
2500
|
+
* image-05cefd0be2exxxx
|
|
2501
|
+
*/
|
|
1243
2502
|
imageId?: string;
|
|
2503
|
+
/**
|
|
2504
|
+
* @example
|
|
2505
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
2506
|
+
*/
|
|
1244
2507
|
imageUrl?: string;
|
|
2508
|
+
/**
|
|
2509
|
+
* @example
|
|
2510
|
+
* training_data
|
|
2511
|
+
*/
|
|
1245
2512
|
instanceName?: string;
|
|
2513
|
+
/**
|
|
2514
|
+
* @example
|
|
2515
|
+
* 1
|
|
2516
|
+
*/
|
|
1246
2517
|
priority?: number;
|
|
2518
|
+
/**
|
|
2519
|
+
* @example
|
|
2520
|
+
* {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
|
|
2521
|
+
*/
|
|
1247
2522
|
requestedResource?: UpdateInstanceRequestRequestedResource;
|
|
2523
|
+
/**
|
|
2524
|
+
* @example
|
|
2525
|
+
* 1612285282502324
|
|
2526
|
+
*/
|
|
1248
2527
|
userId?: string;
|
|
1249
2528
|
userVpc?: UpdateInstanceRequestUserVpc;
|
|
2529
|
+
/**
|
|
2530
|
+
* @example
|
|
2531
|
+
* d-123456789
|
|
2532
|
+
*/
|
|
1250
2533
|
workspaceSource?: string;
|
|
1251
2534
|
static names(): {
|
|
1252
2535
|
[key: string]: string;
|
|
@@ -1259,11 +2542,35 @@ export declare class UpdateInstanceRequest extends $tea.Model {
|
|
|
1259
2542
|
});
|
|
1260
2543
|
}
|
|
1261
2544
|
export declare class UpdateInstanceResponseBody extends $tea.Model {
|
|
2545
|
+
/**
|
|
2546
|
+
* @example
|
|
2547
|
+
* null
|
|
2548
|
+
*/
|
|
1262
2549
|
code?: string;
|
|
2550
|
+
/**
|
|
2551
|
+
* @example
|
|
2552
|
+
* null
|
|
2553
|
+
*/
|
|
1263
2554
|
httpStatusCode?: number;
|
|
2555
|
+
/**
|
|
2556
|
+
* @example
|
|
2557
|
+
* dsw-730xxxxxxxxxx
|
|
2558
|
+
*/
|
|
1264
2559
|
instanceId?: string;
|
|
2560
|
+
/**
|
|
2561
|
+
* @example
|
|
2562
|
+
* "XXX"
|
|
2563
|
+
*/
|
|
1265
2564
|
message?: string;
|
|
2565
|
+
/**
|
|
2566
|
+
* @example
|
|
2567
|
+
* E7D55162-4489-1619-AAF5-3F97D5FCA948
|
|
2568
|
+
*/
|
|
1266
2569
|
requestId?: string;
|
|
2570
|
+
/**
|
|
2571
|
+
* @example
|
|
2572
|
+
* true
|
|
2573
|
+
*/
|
|
1267
2574
|
success?: boolean;
|
|
1268
2575
|
static names(): {
|
|
1269
2576
|
[key: string]: string;
|
|
@@ -1292,7 +2599,15 @@ export declare class UpdateInstanceResponse extends $tea.Model {
|
|
|
1292
2599
|
});
|
|
1293
2600
|
}
|
|
1294
2601
|
export declare class ForwardInfoResponseConnectInfoInternet extends $tea.Model {
|
|
2602
|
+
/**
|
|
2603
|
+
* @example
|
|
2604
|
+
* 47.111.119.114
|
|
2605
|
+
*/
|
|
1295
2606
|
endpoint?: string;
|
|
2607
|
+
/**
|
|
2608
|
+
* @example
|
|
2609
|
+
* 22
|
|
2610
|
+
*/
|
|
1296
2611
|
port?: string;
|
|
1297
2612
|
static names(): {
|
|
1298
2613
|
[key: string]: string;
|
|
@@ -1305,7 +2620,15 @@ export declare class ForwardInfoResponseConnectInfoInternet extends $tea.Model {
|
|
|
1305
2620
|
});
|
|
1306
2621
|
}
|
|
1307
2622
|
export declare class ForwardInfoResponseConnectInfoIntranet extends $tea.Model {
|
|
2623
|
+
/**
|
|
2624
|
+
* @example
|
|
2625
|
+
* dsw-notebook-22-urz3u6cnu0uts7ej9r.dsw-5cc6083084818f60.dsw.pai.alibaba.com
|
|
2626
|
+
*/
|
|
1308
2627
|
endpoint?: string;
|
|
2628
|
+
/**
|
|
2629
|
+
* @example
|
|
2630
|
+
* 22
|
|
2631
|
+
*/
|
|
1309
2632
|
port?: string;
|
|
1310
2633
|
static names(): {
|
|
1311
2634
|
[key: string]: string;
|
|
@@ -1320,7 +2643,15 @@ export declare class ForwardInfoResponseConnectInfoIntranet extends $tea.Model {
|
|
|
1320
2643
|
export declare class ForwardInfoResponseConnectInfo extends $tea.Model {
|
|
1321
2644
|
internet?: ForwardInfoResponseConnectInfoInternet;
|
|
1322
2645
|
intranet?: ForwardInfoResponseConnectInfoIntranet;
|
|
2646
|
+
/**
|
|
2647
|
+
* @example
|
|
2648
|
+
* DNAT and privateZone are both ready.
|
|
2649
|
+
*/
|
|
1323
2650
|
message?: string;
|
|
2651
|
+
/**
|
|
2652
|
+
* @example
|
|
2653
|
+
* Ready
|
|
2654
|
+
*/
|
|
1324
2655
|
phase?: string;
|
|
1325
2656
|
static names(): {
|
|
1326
2657
|
[key: string]: string;
|
|
@@ -1371,10 +2702,26 @@ export declare class CreateInstanceRequestCloudDisksStatus extends $tea.Model {
|
|
|
1371
2702
|
});
|
|
1372
2703
|
}
|
|
1373
2704
|
export declare class CreateInstanceRequestCloudDisks extends $tea.Model {
|
|
2705
|
+
/**
|
|
2706
|
+
* @example
|
|
2707
|
+
* 30Gi
|
|
2708
|
+
*/
|
|
1374
2709
|
capacity?: string;
|
|
2710
|
+
/**
|
|
2711
|
+
* @example
|
|
2712
|
+
* /mmt/workspace
|
|
2713
|
+
*/
|
|
1375
2714
|
mountPath?: string;
|
|
2715
|
+
/**
|
|
2716
|
+
* @example
|
|
2717
|
+
* workspace
|
|
2718
|
+
*/
|
|
1376
2719
|
path?: string;
|
|
1377
2720
|
status?: CreateInstanceRequestCloudDisksStatus;
|
|
2721
|
+
/**
|
|
2722
|
+
* @example
|
|
2723
|
+
* rootfs
|
|
2724
|
+
*/
|
|
1378
2725
|
subType?: string;
|
|
1379
2726
|
static names(): {
|
|
1380
2727
|
[key: string]: string;
|
|
@@ -1387,10 +2734,22 @@ export declare class CreateInstanceRequestCloudDisks extends $tea.Model {
|
|
|
1387
2734
|
});
|
|
1388
2735
|
}
|
|
1389
2736
|
export declare class CreateInstanceRequestDatasets extends $tea.Model {
|
|
2737
|
+
/**
|
|
2738
|
+
* @example
|
|
2739
|
+
* d-vsqjvsjp4orp5l206u
|
|
2740
|
+
*/
|
|
1390
2741
|
datasetId?: string;
|
|
2742
|
+
/**
|
|
2743
|
+
* @example
|
|
2744
|
+
* /mnt/data
|
|
2745
|
+
*/
|
|
1391
2746
|
mountPath?: string;
|
|
1392
2747
|
optionType?: string;
|
|
1393
2748
|
options?: string;
|
|
2749
|
+
/**
|
|
2750
|
+
* @example
|
|
2751
|
+
* oss://bucket.oss-cn-shanghai.aliyuncs.com/data/path/
|
|
2752
|
+
*/
|
|
1394
2753
|
uri?: string;
|
|
1395
2754
|
static names(): {
|
|
1396
2755
|
[key: string]: string;
|
|
@@ -1403,7 +2762,15 @@ export declare class CreateInstanceRequestDatasets extends $tea.Model {
|
|
|
1403
2762
|
});
|
|
1404
2763
|
}
|
|
1405
2764
|
export declare class CreateInstanceRequestLabels extends $tea.Model {
|
|
2765
|
+
/**
|
|
2766
|
+
* @example
|
|
2767
|
+
* stsTokenOwner
|
|
2768
|
+
*/
|
|
1406
2769
|
key?: string;
|
|
2770
|
+
/**
|
|
2771
|
+
* @example
|
|
2772
|
+
* 123xxxxxxxx
|
|
2773
|
+
*/
|
|
1407
2774
|
value?: string;
|
|
1408
2775
|
static names(): {
|
|
1409
2776
|
[key: string]: string;
|
|
@@ -1416,10 +2783,30 @@ export declare class CreateInstanceRequestLabels extends $tea.Model {
|
|
|
1416
2783
|
});
|
|
1417
2784
|
}
|
|
1418
2785
|
export declare class CreateInstanceRequestRequestedResource extends $tea.Model {
|
|
2786
|
+
/**
|
|
2787
|
+
* @example
|
|
2788
|
+
* 32
|
|
2789
|
+
*/
|
|
1419
2790
|
CPU?: string;
|
|
2791
|
+
/**
|
|
2792
|
+
* @example
|
|
2793
|
+
* 4
|
|
2794
|
+
*/
|
|
1420
2795
|
GPU?: string;
|
|
2796
|
+
/**
|
|
2797
|
+
* @example
|
|
2798
|
+
* v100
|
|
2799
|
+
*/
|
|
1421
2800
|
GPUType?: string;
|
|
2801
|
+
/**
|
|
2802
|
+
* @example
|
|
2803
|
+
* 32
|
|
2804
|
+
*/
|
|
1422
2805
|
memory?: string;
|
|
2806
|
+
/**
|
|
2807
|
+
* @example
|
|
2808
|
+
* 32
|
|
2809
|
+
*/
|
|
1423
2810
|
sharedMemory?: string;
|
|
1424
2811
|
static names(): {
|
|
1425
2812
|
[key: string]: string;
|
|
@@ -1432,11 +2819,31 @@ export declare class CreateInstanceRequestRequestedResource extends $tea.Model {
|
|
|
1432
2819
|
});
|
|
1433
2820
|
}
|
|
1434
2821
|
export declare class CreateInstanceRequestUserVpc extends $tea.Model {
|
|
2822
|
+
/**
|
|
2823
|
+
* @example
|
|
2824
|
+
* eth0 | eth1
|
|
2825
|
+
*/
|
|
1435
2826
|
defaultRoute?: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* @example
|
|
2829
|
+
* ["192.168.0.1/24", "192.168.1.1/24"]
|
|
2830
|
+
*/
|
|
1436
2831
|
extendedCIDRs?: string[];
|
|
1437
2832
|
forwardInfos?: ForwardInfo[];
|
|
2833
|
+
/**
|
|
2834
|
+
* @example
|
|
2835
|
+
* sg-xxxxxx
|
|
2836
|
+
*/
|
|
1438
2837
|
securityGroupId?: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* @example
|
|
2840
|
+
* vsw-xxxxx
|
|
2841
|
+
*/
|
|
1439
2842
|
vSwitchId?: string;
|
|
2843
|
+
/**
|
|
2844
|
+
* @example
|
|
2845
|
+
* vpc-xxxxx
|
|
2846
|
+
*/
|
|
1440
2847
|
vpcId?: string;
|
|
1441
2848
|
static names(): {
|
|
1442
2849
|
[key: string]: string;
|
|
@@ -1449,7 +2856,15 @@ export declare class CreateInstanceRequestUserVpc extends $tea.Model {
|
|
|
1449
2856
|
});
|
|
1450
2857
|
}
|
|
1451
2858
|
export declare class CreateInstanceSnapshotRequestLabels extends $tea.Model {
|
|
2859
|
+
/**
|
|
2860
|
+
* @example
|
|
2861
|
+
* stsTokenOwner
|
|
2862
|
+
*/
|
|
1452
2863
|
key?: string;
|
|
2864
|
+
/**
|
|
2865
|
+
* @example
|
|
2866
|
+
* 123xxxxxxxx
|
|
2867
|
+
*/
|
|
1453
2868
|
value?: string;
|
|
1454
2869
|
static names(): {
|
|
1455
2870
|
[key: string]: string;
|
|
@@ -1486,9 +2901,25 @@ export declare class GetInstanceResponseBodyAffinity extends $tea.Model {
|
|
|
1486
2901
|
});
|
|
1487
2902
|
}
|
|
1488
2903
|
export declare class GetInstanceResponseBodyCloudDisks extends $tea.Model {
|
|
2904
|
+
/**
|
|
2905
|
+
* @example
|
|
2906
|
+
* 30Gi
|
|
2907
|
+
*/
|
|
1489
2908
|
capacity?: string;
|
|
2909
|
+
/**
|
|
2910
|
+
* @example
|
|
2911
|
+
* /mmt/workspace
|
|
2912
|
+
*/
|
|
1490
2913
|
mountPath?: string;
|
|
2914
|
+
/**
|
|
2915
|
+
* @example
|
|
2916
|
+
* /workspace
|
|
2917
|
+
*/
|
|
1491
2918
|
path?: string;
|
|
2919
|
+
/**
|
|
2920
|
+
* @example
|
|
2921
|
+
* rootfs
|
|
2922
|
+
*/
|
|
1492
2923
|
subType?: string;
|
|
1493
2924
|
static names(): {
|
|
1494
2925
|
[key: string]: string;
|
|
@@ -1501,10 +2932,22 @@ export declare class GetInstanceResponseBodyCloudDisks extends $tea.Model {
|
|
|
1501
2932
|
});
|
|
1502
2933
|
}
|
|
1503
2934
|
export declare class GetInstanceResponseBodyDatasets extends $tea.Model {
|
|
2935
|
+
/**
|
|
2936
|
+
* @example
|
|
2937
|
+
* d-vsqjvsjp4orp5l206u
|
|
2938
|
+
*/
|
|
1504
2939
|
datasetId?: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* @example
|
|
2942
|
+
* /mnt/data
|
|
2943
|
+
*/
|
|
1505
2944
|
mountPath?: string;
|
|
1506
2945
|
optionType?: string;
|
|
1507
2946
|
options?: string;
|
|
2947
|
+
/**
|
|
2948
|
+
* @example
|
|
2949
|
+
* oss://bucket.oss-cn-shanghai.aliyuncs.com/data/path/
|
|
2950
|
+
*/
|
|
1508
2951
|
uri?: string;
|
|
1509
2952
|
static names(): {
|
|
1510
2953
|
[key: string]: string;
|
|
@@ -1517,10 +2960,30 @@ export declare class GetInstanceResponseBodyDatasets extends $tea.Model {
|
|
|
1517
2960
|
});
|
|
1518
2961
|
}
|
|
1519
2962
|
export declare class GetInstanceResponseBodyIdleInstanceCuller extends $tea.Model {
|
|
2963
|
+
/**
|
|
2964
|
+
* @example
|
|
2965
|
+
* 20
|
|
2966
|
+
*/
|
|
1520
2967
|
cpuPercentThreshold?: number;
|
|
2968
|
+
/**
|
|
2969
|
+
* @example
|
|
2970
|
+
* 10
|
|
2971
|
+
*/
|
|
1521
2972
|
gpuPercentThreshold?: number;
|
|
2973
|
+
/**
|
|
2974
|
+
* @example
|
|
2975
|
+
* 30
|
|
2976
|
+
*/
|
|
1522
2977
|
idleTimeInMinutes?: number;
|
|
2978
|
+
/**
|
|
2979
|
+
* @example
|
|
2980
|
+
* dsw-730xxxxxxxxxx
|
|
2981
|
+
*/
|
|
1523
2982
|
instanceId?: string;
|
|
2983
|
+
/**
|
|
2984
|
+
* @example
|
|
2985
|
+
* 60
|
|
2986
|
+
*/
|
|
1524
2987
|
maxIdleTimeInMinutes?: number;
|
|
1525
2988
|
static names(): {
|
|
1526
2989
|
[key: string]: string;
|
|
@@ -1533,10 +2996,30 @@ export declare class GetInstanceResponseBodyIdleInstanceCuller extends $tea.Mode
|
|
|
1533
2996
|
});
|
|
1534
2997
|
}
|
|
1535
2998
|
export declare class GetInstanceResponseBodyInstanceShutdownTimer extends $tea.Model {
|
|
2999
|
+
/**
|
|
3000
|
+
* @example
|
|
3001
|
+
* 2021-01-12T14:36:01Z
|
|
3002
|
+
*/
|
|
1536
3003
|
dueTime?: string;
|
|
3004
|
+
/**
|
|
3005
|
+
* @example
|
|
3006
|
+
* 2021-01-12T14:36:01Z
|
|
3007
|
+
*/
|
|
1537
3008
|
gmtCreateTime?: string;
|
|
3009
|
+
/**
|
|
3010
|
+
* @example
|
|
3011
|
+
* 2021-01-12T14:36:01Z
|
|
3012
|
+
*/
|
|
1538
3013
|
gmtModifiedTime?: string;
|
|
3014
|
+
/**
|
|
3015
|
+
* @example
|
|
3016
|
+
* dsw-730xxxxxxxxxx
|
|
3017
|
+
*/
|
|
1539
3018
|
instanceId?: string;
|
|
3019
|
+
/**
|
|
3020
|
+
* @example
|
|
3021
|
+
* 3600000
|
|
3022
|
+
*/
|
|
1540
3023
|
remainingTimeInMs?: number;
|
|
1541
3024
|
static names(): {
|
|
1542
3025
|
[key: string]: string;
|
|
@@ -1549,14 +3032,77 @@ export declare class GetInstanceResponseBodyInstanceShutdownTimer extends $tea.M
|
|
|
1549
3032
|
});
|
|
1550
3033
|
}
|
|
1551
3034
|
export declare class GetInstanceResponseBodyInstanceSnapshotList extends $tea.Model {
|
|
3035
|
+
/**
|
|
3036
|
+
* @remarks
|
|
3037
|
+
* 快照创建时间
|
|
3038
|
+
*
|
|
3039
|
+
* @example
|
|
3040
|
+
* 2021-01-12T14:36:01Z
|
|
3041
|
+
*/
|
|
1552
3042
|
gmtCreateTime?: string;
|
|
3043
|
+
/**
|
|
3044
|
+
* @remarks
|
|
3045
|
+
* 快照修改时间
|
|
3046
|
+
*
|
|
3047
|
+
* @example
|
|
3048
|
+
* 2021-01-12T14:36:01Z
|
|
3049
|
+
*/
|
|
1553
3050
|
gmtModifiedTime?: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* @remarks
|
|
3053
|
+
* 镜像Id
|
|
3054
|
+
*
|
|
3055
|
+
* @example
|
|
3056
|
+
* image-05cefd0be2exxxx
|
|
3057
|
+
*/
|
|
1554
3058
|
imageId?: string;
|
|
3059
|
+
/**
|
|
3060
|
+
* @remarks
|
|
3061
|
+
* 镜像名称
|
|
3062
|
+
*
|
|
3063
|
+
* @example
|
|
3064
|
+
* py36_cpu_tf1.12_ubuntu
|
|
3065
|
+
*/
|
|
1555
3066
|
imageName?: string;
|
|
3067
|
+
/**
|
|
3068
|
+
* @remarks
|
|
3069
|
+
* 镜像Url
|
|
3070
|
+
*
|
|
3071
|
+
* @example
|
|
3072
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
3073
|
+
*/
|
|
1556
3074
|
imageUrl?: string;
|
|
3075
|
+
/**
|
|
3076
|
+
* @remarks
|
|
3077
|
+
* 实例快照错误代码
|
|
3078
|
+
*
|
|
3079
|
+
* @example
|
|
3080
|
+
* Internal Error
|
|
3081
|
+
*/
|
|
1557
3082
|
reasonCode?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* @remarks
|
|
3085
|
+
* 实例快照错误消息
|
|
3086
|
+
*
|
|
3087
|
+
* @example
|
|
3088
|
+
* ImagePullBackOff
|
|
3089
|
+
*/
|
|
1558
3090
|
reasonMessage?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* @remarks
|
|
3093
|
+
* 镜像仓库Url
|
|
3094
|
+
*
|
|
3095
|
+
* @example
|
|
3096
|
+
* https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
|
|
3097
|
+
*/
|
|
1559
3098
|
repositoryUrl?: string;
|
|
3099
|
+
/**
|
|
3100
|
+
* @remarks
|
|
3101
|
+
* 实例快照状态
|
|
3102
|
+
*
|
|
3103
|
+
* @example
|
|
3104
|
+
* Pushing
|
|
3105
|
+
*/
|
|
1560
3106
|
status?: string;
|
|
1561
3107
|
static names(): {
|
|
1562
3108
|
[key: string]: string;
|
|
@@ -1569,7 +3115,15 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $tea.Mo
|
|
|
1569
3115
|
});
|
|
1570
3116
|
}
|
|
1571
3117
|
export declare class GetInstanceResponseBodyLabels extends $tea.Model {
|
|
3118
|
+
/**
|
|
3119
|
+
* @example
|
|
3120
|
+
* stsTokenOwner
|
|
3121
|
+
*/
|
|
1572
3122
|
key?: string;
|
|
3123
|
+
/**
|
|
3124
|
+
* @example
|
|
3125
|
+
* 123xxxxxxxx
|
|
3126
|
+
*/
|
|
1573
3127
|
value?: string;
|
|
1574
3128
|
static names(): {
|
|
1575
3129
|
[key: string]: string;
|
|
@@ -1582,14 +3136,59 @@ export declare class GetInstanceResponseBodyLabels extends $tea.Model {
|
|
|
1582
3136
|
});
|
|
1583
3137
|
}
|
|
1584
3138
|
export declare class GetInstanceResponseBodyLatestSnapshot extends $tea.Model {
|
|
3139
|
+
/**
|
|
3140
|
+
* @example
|
|
3141
|
+
* 2021-01-12T14:36:01Z
|
|
3142
|
+
*/
|
|
1585
3143
|
gmtCreateTime?: string;
|
|
3144
|
+
/**
|
|
3145
|
+
* @example
|
|
3146
|
+
* 2021-01-12T14:36:01Z
|
|
3147
|
+
*/
|
|
1586
3148
|
gmtModifiedTime?: string;
|
|
3149
|
+
/**
|
|
3150
|
+
* @example
|
|
3151
|
+
* image-05cefd0be2exxxx
|
|
3152
|
+
*/
|
|
1587
3153
|
imageId?: string;
|
|
3154
|
+
/**
|
|
3155
|
+
* @example
|
|
3156
|
+
* py36_cpu_tf1.12_ubuntu
|
|
3157
|
+
*/
|
|
1588
3158
|
imageName?: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* @example
|
|
3161
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
3162
|
+
*/
|
|
1589
3163
|
imageUrl?: string;
|
|
3164
|
+
/**
|
|
3165
|
+
* @remarks
|
|
3166
|
+
* 实例快照错误代码
|
|
3167
|
+
*
|
|
3168
|
+
* @example
|
|
3169
|
+
* Internal Error
|
|
3170
|
+
*/
|
|
1590
3171
|
reasonCode?: string;
|
|
3172
|
+
/**
|
|
3173
|
+
* @remarks
|
|
3174
|
+
* 实例快照错误消息
|
|
3175
|
+
*
|
|
3176
|
+
* @example
|
|
3177
|
+
* ImagePullBackOff
|
|
3178
|
+
*/
|
|
1591
3179
|
reasonMessage?: string;
|
|
3180
|
+
/**
|
|
3181
|
+
* @example
|
|
3182
|
+
* https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
|
|
3183
|
+
*/
|
|
1592
3184
|
repositoryUrl?: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* @remarks
|
|
3187
|
+
* 实例快照状态
|
|
3188
|
+
*
|
|
3189
|
+
* @example
|
|
3190
|
+
* Pushing
|
|
3191
|
+
*/
|
|
1593
3192
|
status?: string;
|
|
1594
3193
|
static names(): {
|
|
1595
3194
|
[key: string]: string;
|
|
@@ -1616,10 +3215,30 @@ export declare class GetInstanceResponseBodyNodeErrorRecovery extends $tea.Model
|
|
|
1616
3215
|
});
|
|
1617
3216
|
}
|
|
1618
3217
|
export declare class GetInstanceResponseBodyRequestedResource extends $tea.Model {
|
|
3218
|
+
/**
|
|
3219
|
+
* @example
|
|
3220
|
+
* 32
|
|
3221
|
+
*/
|
|
1619
3222
|
CPU?: string;
|
|
3223
|
+
/**
|
|
3224
|
+
* @example
|
|
3225
|
+
* 4
|
|
3226
|
+
*/
|
|
1620
3227
|
GPU?: string;
|
|
3228
|
+
/**
|
|
3229
|
+
* @example
|
|
3230
|
+
* v100
|
|
3231
|
+
*/
|
|
1621
3232
|
GPUType?: string;
|
|
3233
|
+
/**
|
|
3234
|
+
* @example
|
|
3235
|
+
* 32
|
|
3236
|
+
*/
|
|
1622
3237
|
memory?: string;
|
|
3238
|
+
/**
|
|
3239
|
+
* @example
|
|
3240
|
+
* 32
|
|
3241
|
+
*/
|
|
1623
3242
|
sharedMemory?: string;
|
|
1624
3243
|
static names(): {
|
|
1625
3244
|
[key: string]: string;
|
|
@@ -1632,11 +3251,34 @@ export declare class GetInstanceResponseBodyRequestedResource extends $tea.Model
|
|
|
1632
3251
|
});
|
|
1633
3252
|
}
|
|
1634
3253
|
export declare class GetInstanceResponseBodyUserVpc extends $tea.Model {
|
|
3254
|
+
/**
|
|
3255
|
+
* @example
|
|
3256
|
+
* eth0 | eth1
|
|
3257
|
+
*/
|
|
1635
3258
|
defaultRoute?: string;
|
|
3259
|
+
/**
|
|
3260
|
+
* @example
|
|
3261
|
+
* ["192.168.0.1/24", "192.168.1.1/24"]
|
|
3262
|
+
*/
|
|
1636
3263
|
extendedCIDRs?: string[];
|
|
1637
3264
|
forwardInfos?: ForwardInfoResponse[];
|
|
3265
|
+
/**
|
|
3266
|
+
* @example
|
|
3267
|
+
* sg-xxxxxx
|
|
3268
|
+
*/
|
|
1638
3269
|
securityGroupId?: string;
|
|
3270
|
+
/**
|
|
3271
|
+
* @example
|
|
3272
|
+
* vsw-xxxxx
|
|
3273
|
+
*/
|
|
1639
3274
|
vSwitchId?: string;
|
|
3275
|
+
/**
|
|
3276
|
+
* @remarks
|
|
3277
|
+
* Vpc Id。
|
|
3278
|
+
*
|
|
3279
|
+
* @example
|
|
3280
|
+
* vpc-xxxxx
|
|
3281
|
+
*/
|
|
1640
3282
|
vpcId?: string;
|
|
1641
3283
|
static names(): {
|
|
1642
3284
|
[key: string]: string;
|
|
@@ -1649,7 +3291,15 @@ export declare class GetInstanceResponseBodyUserVpc extends $tea.Model {
|
|
|
1649
3291
|
});
|
|
1650
3292
|
}
|
|
1651
3293
|
export declare class GetInstanceMetricsResponseBodyPodMetricsMetrics extends $tea.Model {
|
|
3294
|
+
/**
|
|
3295
|
+
* @example
|
|
3296
|
+
* 1670890560
|
|
3297
|
+
*/
|
|
1652
3298
|
time?: number;
|
|
3299
|
+
/**
|
|
3300
|
+
* @example
|
|
3301
|
+
* 25.901031
|
|
3302
|
+
*/
|
|
1653
3303
|
value?: number;
|
|
1654
3304
|
static names(): {
|
|
1655
3305
|
[key: string]: string;
|
|
@@ -1663,6 +3313,10 @@ export declare class GetInstanceMetricsResponseBodyPodMetricsMetrics extends $te
|
|
|
1663
3313
|
}
|
|
1664
3314
|
export declare class GetInstanceMetricsResponseBodyPodMetrics extends $tea.Model {
|
|
1665
3315
|
metrics?: GetInstanceMetricsResponseBodyPodMetricsMetrics[];
|
|
3316
|
+
/**
|
|
3317
|
+
* @example
|
|
3318
|
+
* dsw-15870-695f44c5bc-hd6xm
|
|
3319
|
+
*/
|
|
1666
3320
|
podId?: string;
|
|
1667
3321
|
static names(): {
|
|
1668
3322
|
[key: string]: string;
|
|
@@ -1675,7 +3329,15 @@ export declare class GetInstanceMetricsResponseBodyPodMetrics extends $tea.Model
|
|
|
1675
3329
|
});
|
|
1676
3330
|
}
|
|
1677
3331
|
export declare class GetInstanceSnapshotResponseBodyLabels extends $tea.Model {
|
|
3332
|
+
/**
|
|
3333
|
+
* @example
|
|
3334
|
+
* stsTokenOwner
|
|
3335
|
+
*/
|
|
1678
3336
|
key?: string;
|
|
3337
|
+
/**
|
|
3338
|
+
* @example
|
|
3339
|
+
* 123xxxxxxxx
|
|
3340
|
+
*/
|
|
1679
3341
|
value?: string;
|
|
1680
3342
|
static names(): {
|
|
1681
3343
|
[key: string]: string;
|
|
@@ -1688,9 +3350,25 @@ export declare class GetInstanceSnapshotResponseBodyLabels extends $tea.Model {
|
|
|
1688
3350
|
});
|
|
1689
3351
|
}
|
|
1690
3352
|
export declare class GetLifecycleResponseBodyLifecycle extends $tea.Model {
|
|
3353
|
+
/**
|
|
3354
|
+
* @example
|
|
3355
|
+
* Starting
|
|
3356
|
+
*/
|
|
1691
3357
|
status?: string;
|
|
3358
|
+
/**
|
|
3359
|
+
* @example
|
|
3360
|
+
* “”
|
|
3361
|
+
*/
|
|
1692
3362
|
reasonCode?: string;
|
|
3363
|
+
/**
|
|
3364
|
+
* @example
|
|
3365
|
+
* “”
|
|
3366
|
+
*/
|
|
1693
3367
|
reasonMessage?: string;
|
|
3368
|
+
/**
|
|
3369
|
+
* @example
|
|
3370
|
+
* 2022-10-21T07:27:44Z
|
|
3371
|
+
*/
|
|
1694
3372
|
gmtCreateTime?: string;
|
|
1695
3373
|
static names(): {
|
|
1696
3374
|
[key: string]: string;
|
|
@@ -1703,17 +3381,65 @@ export declare class GetLifecycleResponseBodyLifecycle extends $tea.Model {
|
|
|
1703
3381
|
});
|
|
1704
3382
|
}
|
|
1705
3383
|
export declare class GetUserConfigResponseBodyFreeTier extends $tea.Model {
|
|
3384
|
+
/**
|
|
3385
|
+
* @example
|
|
3386
|
+
* 2020-11-08T15:00:00Z
|
|
3387
|
+
*/
|
|
1706
3388
|
endTime?: string;
|
|
3389
|
+
/**
|
|
3390
|
+
* @example
|
|
3391
|
+
* 个
|
|
3392
|
+
*/
|
|
1707
3393
|
initBaseUnit?: string;
|
|
3394
|
+
/**
|
|
3395
|
+
* @example
|
|
3396
|
+
* 5000
|
|
3397
|
+
*/
|
|
1708
3398
|
initBaseValue?: number;
|
|
3399
|
+
/**
|
|
3400
|
+
* @example
|
|
3401
|
+
* 个
|
|
3402
|
+
*/
|
|
1709
3403
|
initShowUnit?: string;
|
|
3404
|
+
/**
|
|
3405
|
+
* @example
|
|
3406
|
+
* 5000
|
|
3407
|
+
*/
|
|
1710
3408
|
initShowValue?: string;
|
|
3409
|
+
/**
|
|
3410
|
+
* @example
|
|
3411
|
+
* true
|
|
3412
|
+
*/
|
|
1711
3413
|
isFreeTierUser?: boolean;
|
|
3414
|
+
/**
|
|
3415
|
+
* @example
|
|
3416
|
+
* 个
|
|
3417
|
+
*/
|
|
1712
3418
|
periodBaseUnit?: string;
|
|
3419
|
+
/**
|
|
3420
|
+
* @example
|
|
3421
|
+
* 3000
|
|
3422
|
+
*/
|
|
1713
3423
|
periodBaseValue?: number;
|
|
3424
|
+
/**
|
|
3425
|
+
* @example
|
|
3426
|
+
* 个
|
|
3427
|
+
*/
|
|
1714
3428
|
periodShowUnit?: string;
|
|
3429
|
+
/**
|
|
3430
|
+
* @example
|
|
3431
|
+
* 3000
|
|
3432
|
+
*/
|
|
1715
3433
|
periodShowValue?: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* @example
|
|
3436
|
+
* 2020-11-08T15:00:00Z
|
|
3437
|
+
*/
|
|
1716
3438
|
startTime?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* @example
|
|
3441
|
+
* valid
|
|
3442
|
+
*/
|
|
1717
3443
|
status?: string;
|
|
1718
3444
|
static names(): {
|
|
1719
3445
|
[key: string]: string;
|
|
@@ -1726,6 +3452,10 @@ export declare class GetUserConfigResponseBodyFreeTier extends $tea.Model {
|
|
|
1726
3452
|
});
|
|
1727
3453
|
}
|
|
1728
3454
|
export declare class ListEcsSpecsResponseBodyEcsSpecsLabels extends $tea.Model {
|
|
3455
|
+
/**
|
|
3456
|
+
* @example
|
|
3457
|
+
* stsTokenOwner
|
|
3458
|
+
*/
|
|
1729
3459
|
key?: string;
|
|
1730
3460
|
value?: string;
|
|
1731
3461
|
static names(): {
|
|
@@ -1739,17 +3469,65 @@ export declare class ListEcsSpecsResponseBodyEcsSpecsLabels extends $tea.Model {
|
|
|
1739
3469
|
});
|
|
1740
3470
|
}
|
|
1741
3471
|
export declare class ListEcsSpecsResponseBodyEcsSpecs extends $tea.Model {
|
|
3472
|
+
/**
|
|
3473
|
+
* @example
|
|
3474
|
+
* CPU
|
|
3475
|
+
*/
|
|
1742
3476
|
acceleratorType?: string;
|
|
3477
|
+
/**
|
|
3478
|
+
* @example
|
|
3479
|
+
* 32
|
|
3480
|
+
*/
|
|
1743
3481
|
CPU?: number;
|
|
3482
|
+
/**
|
|
3483
|
+
* @example
|
|
3484
|
+
* CNY
|
|
3485
|
+
*/
|
|
1744
3486
|
currency?: string;
|
|
3487
|
+
/**
|
|
3488
|
+
* @example
|
|
3489
|
+
* 4
|
|
3490
|
+
*/
|
|
1745
3491
|
GPU?: number;
|
|
3492
|
+
/**
|
|
3493
|
+
* @example
|
|
3494
|
+
* v100
|
|
3495
|
+
*/
|
|
1746
3496
|
GPUType?: string;
|
|
3497
|
+
/**
|
|
3498
|
+
* @example
|
|
3499
|
+
* 5120000
|
|
3500
|
+
*/
|
|
1747
3501
|
instanceBandwidthRx?: number;
|
|
3502
|
+
/**
|
|
3503
|
+
* @example
|
|
3504
|
+
* ecs.gn5-c28g1.7xlarge
|
|
3505
|
+
*/
|
|
1748
3506
|
instanceType?: string;
|
|
3507
|
+
/**
|
|
3508
|
+
* @example
|
|
3509
|
+
* True
|
|
3510
|
+
*/
|
|
1749
3511
|
isAvailable?: boolean;
|
|
3512
|
+
/**
|
|
3513
|
+
* @example
|
|
3514
|
+
* {\\"foo\\": \\"bar\\"}
|
|
3515
|
+
*/
|
|
1750
3516
|
labels?: ListEcsSpecsResponseBodyEcsSpecsLabels[];
|
|
3517
|
+
/**
|
|
3518
|
+
* @example
|
|
3519
|
+
* 32
|
|
3520
|
+
*/
|
|
1751
3521
|
memory?: number;
|
|
3522
|
+
/**
|
|
3523
|
+
* @example
|
|
3524
|
+
* 22.8
|
|
3525
|
+
*/
|
|
1752
3526
|
price?: number;
|
|
3527
|
+
/**
|
|
3528
|
+
* @example
|
|
3529
|
+
* 500
|
|
3530
|
+
*/
|
|
1753
3531
|
systemDiskCapacity?: number;
|
|
1754
3532
|
static names(): {
|
|
1755
3533
|
[key: string]: string;
|
|
@@ -1762,7 +3540,15 @@ export declare class ListEcsSpecsResponseBodyEcsSpecs extends $tea.Model {
|
|
|
1762
3540
|
});
|
|
1763
3541
|
}
|
|
1764
3542
|
export declare class ListInstanceSnapshotResponseBodySnapshotsLabels extends $tea.Model {
|
|
3543
|
+
/**
|
|
3544
|
+
* @example
|
|
3545
|
+
* stsTokenOwner
|
|
3546
|
+
*/
|
|
1765
3547
|
key?: string;
|
|
3548
|
+
/**
|
|
3549
|
+
* @example
|
|
3550
|
+
* 123xxxxxxxx
|
|
3551
|
+
*/
|
|
1766
3552
|
value?: string;
|
|
1767
3553
|
static names(): {
|
|
1768
3554
|
[key: string]: string;
|
|
@@ -1775,17 +3561,65 @@ export declare class ListInstanceSnapshotResponseBodySnapshotsLabels extends $te
|
|
|
1775
3561
|
});
|
|
1776
3562
|
}
|
|
1777
3563
|
export declare class ListInstanceSnapshotResponseBodySnapshots extends $tea.Model {
|
|
3564
|
+
/**
|
|
3565
|
+
* @example
|
|
3566
|
+
* ["/path1","/path2"]
|
|
3567
|
+
*/
|
|
1778
3568
|
excludePaths?: string[];
|
|
3569
|
+
/**
|
|
3570
|
+
* @example
|
|
3571
|
+
* 2021-01-12T14:36:01Z
|
|
3572
|
+
*/
|
|
1779
3573
|
gmtCreateTime?: string;
|
|
3574
|
+
/**
|
|
3575
|
+
* @example
|
|
3576
|
+
* 2021-01-12T14:36:01Z
|
|
3577
|
+
*/
|
|
1780
3578
|
gmtModifiedTime?: string;
|
|
3579
|
+
/**
|
|
3580
|
+
* @example
|
|
3581
|
+
* image-05cefd0be2exxxx
|
|
3582
|
+
*/
|
|
1781
3583
|
imageId?: string;
|
|
3584
|
+
/**
|
|
3585
|
+
* @example
|
|
3586
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
3587
|
+
*/
|
|
1782
3588
|
imageUrl?: string;
|
|
3589
|
+
/**
|
|
3590
|
+
* @example
|
|
3591
|
+
* dsw-730xxxxxxxxxx
|
|
3592
|
+
*/
|
|
1783
3593
|
instanceId?: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* @example
|
|
3596
|
+
* {\\"foo\\": \\"bar\\"}
|
|
3597
|
+
*/
|
|
1784
3598
|
labels?: ListInstanceSnapshotResponseBodySnapshotsLabels[];
|
|
3599
|
+
/**
|
|
3600
|
+
* @example
|
|
3601
|
+
* Internal Error
|
|
3602
|
+
*/
|
|
1785
3603
|
reasonCode?: string;
|
|
3604
|
+
/**
|
|
3605
|
+
* @example
|
|
3606
|
+
* ImagePullBackOff
|
|
3607
|
+
*/
|
|
1786
3608
|
reasonMessage?: string;
|
|
3609
|
+
/**
|
|
3610
|
+
* @example
|
|
3611
|
+
* snp-05cexxxxxxxxx
|
|
3612
|
+
*/
|
|
1787
3613
|
snapshotId?: string;
|
|
3614
|
+
/**
|
|
3615
|
+
* @example
|
|
3616
|
+
* training_data_env
|
|
3617
|
+
*/
|
|
1788
3618
|
snapshotName?: string;
|
|
3619
|
+
/**
|
|
3620
|
+
* @example
|
|
3621
|
+
* Pushing
|
|
3622
|
+
*/
|
|
1789
3623
|
status?: string;
|
|
1790
3624
|
static names(): {
|
|
1791
3625
|
[key: string]: string;
|
|
@@ -1822,9 +3656,25 @@ export declare class ListInstancesResponseBodyInstancesAffinity extends $tea.Mod
|
|
|
1822
3656
|
});
|
|
1823
3657
|
}
|
|
1824
3658
|
export declare class ListInstancesResponseBodyInstancesCloudDisks extends $tea.Model {
|
|
3659
|
+
/**
|
|
3660
|
+
* @example
|
|
3661
|
+
* 30Gi
|
|
3662
|
+
*/
|
|
1825
3663
|
capacity?: string;
|
|
3664
|
+
/**
|
|
3665
|
+
* @example
|
|
3666
|
+
* /mmt/workspace
|
|
3667
|
+
*/
|
|
1826
3668
|
mountPath?: string;
|
|
3669
|
+
/**
|
|
3670
|
+
* @example
|
|
3671
|
+
* /workspace
|
|
3672
|
+
*/
|
|
1827
3673
|
path?: string;
|
|
3674
|
+
/**
|
|
3675
|
+
* @example
|
|
3676
|
+
* rootfs
|
|
3677
|
+
*/
|
|
1828
3678
|
subType?: string;
|
|
1829
3679
|
static names(): {
|
|
1830
3680
|
[key: string]: string;
|
|
@@ -1837,7 +3687,15 @@ export declare class ListInstancesResponseBodyInstancesCloudDisks extends $tea.M
|
|
|
1837
3687
|
});
|
|
1838
3688
|
}
|
|
1839
3689
|
export declare class ListInstancesResponseBodyInstancesDatasets extends $tea.Model {
|
|
3690
|
+
/**
|
|
3691
|
+
* @example
|
|
3692
|
+
* d-vsqjvsjp4orp5l206u
|
|
3693
|
+
*/
|
|
1840
3694
|
datasetId?: string;
|
|
3695
|
+
/**
|
|
3696
|
+
* @example
|
|
3697
|
+
* /mnt/data
|
|
3698
|
+
*/
|
|
1841
3699
|
mountPath?: string;
|
|
1842
3700
|
optionType?: string;
|
|
1843
3701
|
options?: string;
|
|
@@ -1853,10 +3711,30 @@ export declare class ListInstancesResponseBodyInstancesDatasets extends $tea.Mod
|
|
|
1853
3711
|
});
|
|
1854
3712
|
}
|
|
1855
3713
|
export declare class ListInstancesResponseBodyInstancesIdleInstanceCuller extends $tea.Model {
|
|
3714
|
+
/**
|
|
3715
|
+
* @example
|
|
3716
|
+
* 20
|
|
3717
|
+
*/
|
|
1856
3718
|
cpuPercentThreshold?: number;
|
|
3719
|
+
/**
|
|
3720
|
+
* @example
|
|
3721
|
+
* 10
|
|
3722
|
+
*/
|
|
1857
3723
|
gpuPercentThreshold?: number;
|
|
3724
|
+
/**
|
|
3725
|
+
* @example
|
|
3726
|
+
* 30
|
|
3727
|
+
*/
|
|
1858
3728
|
idleTimeInMinutes?: number;
|
|
3729
|
+
/**
|
|
3730
|
+
* @example
|
|
3731
|
+
* dsw-730xxxxxxxxxx
|
|
3732
|
+
*/
|
|
1859
3733
|
instanceId?: string;
|
|
3734
|
+
/**
|
|
3735
|
+
* @example
|
|
3736
|
+
* 60
|
|
3737
|
+
*/
|
|
1860
3738
|
maxIdleTimeInMinutes?: number;
|
|
1861
3739
|
static names(): {
|
|
1862
3740
|
[key: string]: string;
|
|
@@ -1869,10 +3747,30 @@ export declare class ListInstancesResponseBodyInstancesIdleInstanceCuller extend
|
|
|
1869
3747
|
});
|
|
1870
3748
|
}
|
|
1871
3749
|
export declare class ListInstancesResponseBodyInstancesInstanceShutdownTimer extends $tea.Model {
|
|
3750
|
+
/**
|
|
3751
|
+
* @example
|
|
3752
|
+
* 2021-01-12T14:36:01Z
|
|
3753
|
+
*/
|
|
1872
3754
|
dueTime?: string;
|
|
3755
|
+
/**
|
|
3756
|
+
* @example
|
|
3757
|
+
* 2021-01-12T14:36:01Z
|
|
3758
|
+
*/
|
|
1873
3759
|
gmtCreateTime?: string;
|
|
3760
|
+
/**
|
|
3761
|
+
* @example
|
|
3762
|
+
* 2021-01-12T14:36:01Z
|
|
3763
|
+
*/
|
|
1874
3764
|
gmtModifiedTime?: string;
|
|
3765
|
+
/**
|
|
3766
|
+
* @example
|
|
3767
|
+
* dsw-730xxxxxxxxxx
|
|
3768
|
+
*/
|
|
1875
3769
|
instanceId?: string;
|
|
3770
|
+
/**
|
|
3771
|
+
* @example
|
|
3772
|
+
* 3600000
|
|
3773
|
+
*/
|
|
1876
3774
|
remainingTimeInMs?: number;
|
|
1877
3775
|
static names(): {
|
|
1878
3776
|
[key: string]: string;
|
|
@@ -1885,14 +3783,50 @@ export declare class ListInstancesResponseBodyInstancesInstanceShutdownTimer ext
|
|
|
1885
3783
|
});
|
|
1886
3784
|
}
|
|
1887
3785
|
export declare class ListInstancesResponseBodyInstancesInstanceSnapshotList extends $tea.Model {
|
|
3786
|
+
/**
|
|
3787
|
+
* @example
|
|
3788
|
+
* 2021-01-12T14:36:01Z
|
|
3789
|
+
*/
|
|
1888
3790
|
gmtCreateTime?: string;
|
|
3791
|
+
/**
|
|
3792
|
+
* @example
|
|
3793
|
+
* 2021-01-12T14:36:01Z
|
|
3794
|
+
*/
|
|
1889
3795
|
gmtModifiedTime?: string;
|
|
3796
|
+
/**
|
|
3797
|
+
* @example
|
|
3798
|
+
* image-05cefd0be2exxxx
|
|
3799
|
+
*/
|
|
1890
3800
|
imageId?: string;
|
|
3801
|
+
/**
|
|
3802
|
+
* @example
|
|
3803
|
+
* py36_cpu_tf1.12_ubuntu
|
|
3804
|
+
*/
|
|
1891
3805
|
imageName?: string;
|
|
3806
|
+
/**
|
|
3807
|
+
* @example
|
|
3808
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
3809
|
+
*/
|
|
1892
3810
|
imageUrl?: string;
|
|
3811
|
+
/**
|
|
3812
|
+
* @example
|
|
3813
|
+
* Internal Error
|
|
3814
|
+
*/
|
|
1893
3815
|
reasonCode?: string;
|
|
3816
|
+
/**
|
|
3817
|
+
* @example
|
|
3818
|
+
* ImagePullBackOff
|
|
3819
|
+
*/
|
|
1894
3820
|
reasonMessage?: string;
|
|
3821
|
+
/**
|
|
3822
|
+
* @example
|
|
3823
|
+
* https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
|
|
3824
|
+
*/
|
|
1895
3825
|
repositoryUrl?: string;
|
|
3826
|
+
/**
|
|
3827
|
+
* @example
|
|
3828
|
+
* Pushing
|
|
3829
|
+
*/
|
|
1896
3830
|
status?: string;
|
|
1897
3831
|
static names(): {
|
|
1898
3832
|
[key: string]: string;
|
|
@@ -1905,7 +3839,15 @@ export declare class ListInstancesResponseBodyInstancesInstanceSnapshotList exte
|
|
|
1905
3839
|
});
|
|
1906
3840
|
}
|
|
1907
3841
|
export declare class ListInstancesResponseBodyInstancesLabels extends $tea.Model {
|
|
3842
|
+
/**
|
|
3843
|
+
* @example
|
|
3844
|
+
* stsTokenOwner
|
|
3845
|
+
*/
|
|
1908
3846
|
key?: string;
|
|
3847
|
+
/**
|
|
3848
|
+
* @example
|
|
3849
|
+
* 123xxxxxxxx
|
|
3850
|
+
*/
|
|
1909
3851
|
value?: string;
|
|
1910
3852
|
static names(): {
|
|
1911
3853
|
[key: string]: string;
|
|
@@ -1918,14 +3860,50 @@ export declare class ListInstancesResponseBodyInstancesLabels extends $tea.Model
|
|
|
1918
3860
|
});
|
|
1919
3861
|
}
|
|
1920
3862
|
export declare class ListInstancesResponseBodyInstancesLatestSnapshot extends $tea.Model {
|
|
3863
|
+
/**
|
|
3864
|
+
* @example
|
|
3865
|
+
* 2021-01-12T14:36:01Z
|
|
3866
|
+
*/
|
|
1921
3867
|
gmtCreateTime?: string;
|
|
3868
|
+
/**
|
|
3869
|
+
* @example
|
|
3870
|
+
* 2021-01-12T14:36:01Z
|
|
3871
|
+
*/
|
|
1922
3872
|
gmtModifiedTime?: string;
|
|
3873
|
+
/**
|
|
3874
|
+
* @example
|
|
3875
|
+
* image-05cefd0be2exxxx
|
|
3876
|
+
*/
|
|
1923
3877
|
imageId?: string;
|
|
3878
|
+
/**
|
|
3879
|
+
* @example
|
|
3880
|
+
* py36_cpu_tf1.12_ubuntu
|
|
3881
|
+
*/
|
|
1924
3882
|
imageName?: string;
|
|
3883
|
+
/**
|
|
3884
|
+
* @example
|
|
3885
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
3886
|
+
*/
|
|
1925
3887
|
imageUrl?: string;
|
|
3888
|
+
/**
|
|
3889
|
+
* @example
|
|
3890
|
+
* Internal Error
|
|
3891
|
+
*/
|
|
1926
3892
|
reasonCode?: string;
|
|
3893
|
+
/**
|
|
3894
|
+
* @example
|
|
3895
|
+
* ImagePullBackOff
|
|
3896
|
+
*/
|
|
1927
3897
|
reasonMessage?: string;
|
|
3898
|
+
/**
|
|
3899
|
+
* @example
|
|
3900
|
+
* https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
|
|
3901
|
+
*/
|
|
1928
3902
|
repositoryUrl?: string;
|
|
3903
|
+
/**
|
|
3904
|
+
* @example
|
|
3905
|
+
* Pushing
|
|
3906
|
+
*/
|
|
1929
3907
|
status?: string;
|
|
1930
3908
|
static names(): {
|
|
1931
3909
|
[key: string]: string;
|
|
@@ -1938,10 +3916,30 @@ export declare class ListInstancesResponseBodyInstancesLatestSnapshot extends $t
|
|
|
1938
3916
|
});
|
|
1939
3917
|
}
|
|
1940
3918
|
export declare class ListInstancesResponseBodyInstancesRequestedResource extends $tea.Model {
|
|
3919
|
+
/**
|
|
3920
|
+
* @example
|
|
3921
|
+
* 32
|
|
3922
|
+
*/
|
|
1941
3923
|
CPU?: string;
|
|
3924
|
+
/**
|
|
3925
|
+
* @example
|
|
3926
|
+
* 4
|
|
3927
|
+
*/
|
|
1942
3928
|
GPU?: string;
|
|
3929
|
+
/**
|
|
3930
|
+
* @example
|
|
3931
|
+
* v100
|
|
3932
|
+
*/
|
|
1943
3933
|
GPUType?: string;
|
|
3934
|
+
/**
|
|
3935
|
+
* @example
|
|
3936
|
+
* 32
|
|
3937
|
+
*/
|
|
1944
3938
|
memory?: string;
|
|
3939
|
+
/**
|
|
3940
|
+
* @example
|
|
3941
|
+
* 32
|
|
3942
|
+
*/
|
|
1945
3943
|
sharedMemory?: string;
|
|
1946
3944
|
static names(): {
|
|
1947
3945
|
[key: string]: string;
|
|
@@ -1954,11 +3952,31 @@ export declare class ListInstancesResponseBodyInstancesRequestedResource extends
|
|
|
1954
3952
|
});
|
|
1955
3953
|
}
|
|
1956
3954
|
export declare class ListInstancesResponseBodyInstancesUserVpc extends $tea.Model {
|
|
3955
|
+
/**
|
|
3956
|
+
* @example
|
|
3957
|
+
* eth0 | eth1
|
|
3958
|
+
*/
|
|
1957
3959
|
defaultRoute?: string;
|
|
3960
|
+
/**
|
|
3961
|
+
* @example
|
|
3962
|
+
* ["192.168.0.1/24", "192.168.1.1/24"]
|
|
3963
|
+
*/
|
|
1958
3964
|
extendedCIDRs?: string[];
|
|
1959
3965
|
forwardInfos?: ForwardInfoResponse[];
|
|
3966
|
+
/**
|
|
3967
|
+
* @example
|
|
3968
|
+
* sg-xxxxxx
|
|
3969
|
+
*/
|
|
1960
3970
|
securityGroupId?: string;
|
|
3971
|
+
/**
|
|
3972
|
+
* @example
|
|
3973
|
+
* vsw-xxxxx
|
|
3974
|
+
*/
|
|
1961
3975
|
vSwitchId?: string;
|
|
3976
|
+
/**
|
|
3977
|
+
* @example
|
|
3978
|
+
* vpc-xxxxx
|
|
3979
|
+
*/
|
|
1962
3980
|
vpcId?: string;
|
|
1963
3981
|
static names(): {
|
|
1964
3982
|
[key: string]: string;
|
|
@@ -1971,47 +3989,189 @@ export declare class ListInstancesResponseBodyInstancesUserVpc extends $tea.Mode
|
|
|
1971
3989
|
});
|
|
1972
3990
|
}
|
|
1973
3991
|
export declare class ListInstancesResponseBodyInstances extends $tea.Model {
|
|
3992
|
+
/**
|
|
3993
|
+
* @example
|
|
3994
|
+
* CPU
|
|
3995
|
+
*/
|
|
1974
3996
|
acceleratorType?: string;
|
|
3997
|
+
/**
|
|
3998
|
+
* @example
|
|
3999
|
+
* PRIVATE
|
|
4000
|
+
*/
|
|
1975
4001
|
accessibility?: string;
|
|
4002
|
+
/**
|
|
4003
|
+
* @example
|
|
4004
|
+
* 3600000
|
|
4005
|
+
*/
|
|
1976
4006
|
accumulatedRunningTimeInMs?: number;
|
|
1977
4007
|
affinity?: ListInstancesResponseBodyInstancesAffinity;
|
|
4008
|
+
/**
|
|
4009
|
+
* @example
|
|
4010
|
+
* []
|
|
4011
|
+
*/
|
|
1978
4012
|
cloudDisks?: ListInstancesResponseBodyInstancesCloudDisks[];
|
|
1979
4013
|
datasets?: ListInstancesResponseBodyInstancesDatasets[];
|
|
4014
|
+
/**
|
|
4015
|
+
* @example
|
|
4016
|
+
* 535.54.03
|
|
4017
|
+
*/
|
|
1980
4018
|
driver?: string;
|
|
4019
|
+
/**
|
|
4020
|
+
* @example
|
|
4021
|
+
* ecs.c6.large
|
|
4022
|
+
*/
|
|
1981
4023
|
ecsSpec?: string;
|
|
4024
|
+
/**
|
|
4025
|
+
* @example
|
|
4026
|
+
* {userName: "Chris"}
|
|
4027
|
+
*/
|
|
1982
4028
|
environmentVariables?: {
|
|
1983
4029
|
[key: string]: string;
|
|
1984
4030
|
};
|
|
4031
|
+
/**
|
|
4032
|
+
* @example
|
|
4033
|
+
* 2021-01-12T14:36:01Z
|
|
4034
|
+
*/
|
|
1985
4035
|
gmtCreateTime?: string;
|
|
4036
|
+
/**
|
|
4037
|
+
* @example
|
|
4038
|
+
* 2021-01-12T14:36:01Z
|
|
4039
|
+
*/
|
|
1986
4040
|
gmtModifiedTime?: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* @example
|
|
4043
|
+
* {"InstanceId":"dsw-05cefd0be2e5a278","CpuPercentThreshold":20,"GpuPercentThreshold":10,"MaxIdleTimeInMinutes":120,"IdleTimeInMinutes":30}
|
|
4044
|
+
*/
|
|
1987
4045
|
idleInstanceCuller?: ListInstancesResponseBodyInstancesIdleInstanceCuller;
|
|
1988
4046
|
imageAuth?: string;
|
|
4047
|
+
/**
|
|
4048
|
+
* @example
|
|
4049
|
+
* image-05cefd0be2exxxx
|
|
4050
|
+
*/
|
|
1989
4051
|
imageId?: string;
|
|
4052
|
+
/**
|
|
4053
|
+
* @example
|
|
4054
|
+
* py36_cpu_tf1.12_ubuntu
|
|
4055
|
+
*/
|
|
1990
4056
|
imageName?: string;
|
|
4057
|
+
/**
|
|
4058
|
+
* @example
|
|
4059
|
+
* registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
|
|
4060
|
+
*/
|
|
1991
4061
|
imageUrl?: string;
|
|
4062
|
+
/**
|
|
4063
|
+
* @example
|
|
4064
|
+
* dsw-730xxxxxxxxxx
|
|
4065
|
+
*/
|
|
1992
4066
|
instanceId?: string;
|
|
4067
|
+
/**
|
|
4068
|
+
* @example
|
|
4069
|
+
* training_data
|
|
4070
|
+
*/
|
|
1993
4071
|
instanceName?: string;
|
|
1994
4072
|
instanceShutdownTimer?: ListInstancesResponseBodyInstancesInstanceShutdownTimer;
|
|
4073
|
+
/**
|
|
4074
|
+
* @example
|
|
4075
|
+
* []
|
|
4076
|
+
*/
|
|
1995
4077
|
instanceSnapshotList?: ListInstancesResponseBodyInstancesInstanceSnapshotList[];
|
|
4078
|
+
/**
|
|
4079
|
+
* @example
|
|
4080
|
+
* https://dsw-cn-shanghai.data.aliyun.com/notebook.htm?instance=39772#/
|
|
4081
|
+
*/
|
|
1996
4082
|
instanceUrl?: string;
|
|
4083
|
+
/**
|
|
4084
|
+
* @remarks
|
|
4085
|
+
* Jupyterlab Url。
|
|
4086
|
+
*
|
|
4087
|
+
* @example
|
|
4088
|
+
* https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/lab/
|
|
4089
|
+
*/
|
|
1997
4090
|
jupyterlabUrl?: string;
|
|
4091
|
+
/**
|
|
4092
|
+
* @example
|
|
4093
|
+
* {\\"foo\\": \\"bar\\"}
|
|
4094
|
+
*/
|
|
1998
4095
|
labels?: ListInstancesResponseBodyInstancesLabels[];
|
|
1999
4096
|
latestSnapshot?: ListInstancesResponseBodyInstancesLatestSnapshot;
|
|
4097
|
+
/**
|
|
4098
|
+
* @example
|
|
4099
|
+
* PayAsYouGo
|
|
4100
|
+
*/
|
|
2000
4101
|
paymentType?: string;
|
|
4102
|
+
/**
|
|
4103
|
+
* @example
|
|
4104
|
+
* 1
|
|
4105
|
+
*/
|
|
2001
4106
|
priority?: number;
|
|
4107
|
+
/**
|
|
4108
|
+
* @example
|
|
4109
|
+
* Internal Error
|
|
4110
|
+
*/
|
|
2002
4111
|
reasonCode?: string;
|
|
4112
|
+
/**
|
|
4113
|
+
* @example
|
|
4114
|
+
* ImagePullBackOff
|
|
4115
|
+
*/
|
|
2003
4116
|
reasonMessage?: string;
|
|
4117
|
+
/**
|
|
4118
|
+
* @example
|
|
4119
|
+
* {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
|
|
4120
|
+
*/
|
|
2004
4121
|
requestedResource?: ListInstancesResponseBodyInstancesRequestedResource;
|
|
4122
|
+
/**
|
|
4123
|
+
* @example
|
|
4124
|
+
* dsw-123456789
|
|
4125
|
+
*/
|
|
2005
4126
|
resourceId?: string;
|
|
4127
|
+
/**
|
|
4128
|
+
* @example
|
|
4129
|
+
* resource_group
|
|
4130
|
+
*/
|
|
2006
4131
|
resourceName?: string;
|
|
4132
|
+
/**
|
|
4133
|
+
* @example
|
|
4134
|
+
* Running
|
|
4135
|
+
*/
|
|
2007
4136
|
status?: string;
|
|
4137
|
+
/**
|
|
4138
|
+
* @example
|
|
4139
|
+
* https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/tty/
|
|
4140
|
+
*/
|
|
2008
4141
|
terminalUrl?: string;
|
|
4142
|
+
/**
|
|
4143
|
+
* @example
|
|
4144
|
+
* 1612285282502324
|
|
4145
|
+
*/
|
|
2009
4146
|
userId?: string;
|
|
4147
|
+
/**
|
|
4148
|
+
* @example
|
|
4149
|
+
* 测试用户
|
|
4150
|
+
*/
|
|
2010
4151
|
userName?: string;
|
|
2011
4152
|
userVpc?: ListInstancesResponseBodyInstancesUserVpc;
|
|
4153
|
+
/**
|
|
4154
|
+
* @remarks
|
|
4155
|
+
* Web IDE url。
|
|
4156
|
+
*
|
|
4157
|
+
* @example
|
|
4158
|
+
* https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/ide/
|
|
4159
|
+
*/
|
|
2012
4160
|
webIDEUrl?: string;
|
|
4161
|
+
/**
|
|
4162
|
+
* @example
|
|
4163
|
+
* 40823
|
|
4164
|
+
*/
|
|
2013
4165
|
workspaceId?: string;
|
|
4166
|
+
/**
|
|
4167
|
+
* @example
|
|
4168
|
+
* training_data
|
|
4169
|
+
*/
|
|
2014
4170
|
workspaceName?: string;
|
|
4171
|
+
/**
|
|
4172
|
+
* @example
|
|
4173
|
+
* d-123456789
|
|
4174
|
+
*/
|
|
2015
4175
|
workspaceSource?: string;
|
|
2016
4176
|
static names(): {
|
|
2017
4177
|
[key: string]: string;
|
|
@@ -2048,7 +4208,15 @@ export declare class UpdateInstanceRequestAffinity extends $tea.Model {
|
|
|
2048
4208
|
});
|
|
2049
4209
|
}
|
|
2050
4210
|
export declare class UpdateInstanceRequestCloudDisks extends $tea.Model {
|
|
4211
|
+
/**
|
|
4212
|
+
* @example
|
|
4213
|
+
* 30Gi
|
|
4214
|
+
*/
|
|
2051
4215
|
capacity?: string;
|
|
4216
|
+
/**
|
|
4217
|
+
* @example
|
|
4218
|
+
* rootfs
|
|
4219
|
+
*/
|
|
2052
4220
|
subType?: string;
|
|
2053
4221
|
static names(): {
|
|
2054
4222
|
[key: string]: string;
|
|
@@ -2061,10 +4229,22 @@ export declare class UpdateInstanceRequestCloudDisks extends $tea.Model {
|
|
|
2061
4229
|
});
|
|
2062
4230
|
}
|
|
2063
4231
|
export declare class UpdateInstanceRequestDatasets extends $tea.Model {
|
|
4232
|
+
/**
|
|
4233
|
+
* @example
|
|
4234
|
+
* d-vsqjvsjp4orp5l206u
|
|
4235
|
+
*/
|
|
2064
4236
|
datasetId?: string;
|
|
4237
|
+
/**
|
|
4238
|
+
* @example
|
|
4239
|
+
* /mnt/data
|
|
4240
|
+
*/
|
|
2065
4241
|
mountPath?: string;
|
|
2066
4242
|
optionType?: string;
|
|
2067
4243
|
options?: string;
|
|
4244
|
+
/**
|
|
4245
|
+
* @example
|
|
4246
|
+
* oss://bucket.oss-cn-shanghai.aliyuncs.com/data/path/
|
|
4247
|
+
*/
|
|
2068
4248
|
uri?: string;
|
|
2069
4249
|
static names(): {
|
|
2070
4250
|
[key: string]: string;
|
|
@@ -2077,10 +4257,30 @@ export declare class UpdateInstanceRequestDatasets extends $tea.Model {
|
|
|
2077
4257
|
});
|
|
2078
4258
|
}
|
|
2079
4259
|
export declare class UpdateInstanceRequestRequestedResource extends $tea.Model {
|
|
4260
|
+
/**
|
|
4261
|
+
* @example
|
|
4262
|
+
* 32
|
|
4263
|
+
*/
|
|
2080
4264
|
CPU?: string;
|
|
4265
|
+
/**
|
|
4266
|
+
* @example
|
|
4267
|
+
* 4
|
|
4268
|
+
*/
|
|
2081
4269
|
GPU?: string;
|
|
4270
|
+
/**
|
|
4271
|
+
* @example
|
|
4272
|
+
* v100
|
|
4273
|
+
*/
|
|
2082
4274
|
GPUType?: string;
|
|
4275
|
+
/**
|
|
4276
|
+
* @example
|
|
4277
|
+
* 32
|
|
4278
|
+
*/
|
|
2083
4279
|
memory?: string;
|
|
4280
|
+
/**
|
|
4281
|
+
* @example
|
|
4282
|
+
* 32
|
|
4283
|
+
*/
|
|
2084
4284
|
sharedMemory?: string;
|
|
2085
4285
|
static names(): {
|
|
2086
4286
|
[key: string]: string;
|
|
@@ -2093,11 +4293,31 @@ export declare class UpdateInstanceRequestRequestedResource extends $tea.Model {
|
|
|
2093
4293
|
});
|
|
2094
4294
|
}
|
|
2095
4295
|
export declare class UpdateInstanceRequestUserVpc extends $tea.Model {
|
|
4296
|
+
/**
|
|
4297
|
+
* @example
|
|
4298
|
+
* eth0 | eth1
|
|
4299
|
+
*/
|
|
2096
4300
|
defaultRoute?: string;
|
|
4301
|
+
/**
|
|
4302
|
+
* @example
|
|
4303
|
+
* ["192.168.0.1/24", "192.168.1.1/24"]
|
|
4304
|
+
*/
|
|
2097
4305
|
extendedCIDRs?: string[];
|
|
2098
4306
|
forwardInfos?: ForwardInfo[];
|
|
4307
|
+
/**
|
|
4308
|
+
* @example
|
|
4309
|
+
* sg-xxxxxx
|
|
4310
|
+
*/
|
|
2099
4311
|
securityGroupId?: string;
|
|
4312
|
+
/**
|
|
4313
|
+
* @example
|
|
4314
|
+
* vsw-xxxxx
|
|
4315
|
+
*/
|
|
2100
4316
|
vSwitchId?: string;
|
|
4317
|
+
/**
|
|
4318
|
+
* @example
|
|
4319
|
+
* vpc-xxxxx
|
|
4320
|
+
*/
|
|
2101
4321
|
vpcId?: string;
|
|
2102
4322
|
static names(): {
|
|
2103
4323
|
[key: string]: string;
|
|
@@ -2115,415 +4335,407 @@ export default class Client extends OpenApi {
|
|
|
2115
4335
|
[key: string]: string;
|
|
2116
4336
|
}, endpoint: string): string;
|
|
2117
4337
|
/**
|
|
2118
|
-
* @param request CreateIdleInstanceCullerRequest
|
|
2119
|
-
* @param headers map
|
|
2120
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2121
|
-
* @
|
|
4338
|
+
* @param request - CreateIdleInstanceCullerRequest
|
|
4339
|
+
* @param headers - map
|
|
4340
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4341
|
+
* @returns CreateIdleInstanceCullerResponse
|
|
2122
4342
|
*/
|
|
2123
4343
|
createIdleInstanceCullerWithOptions(InstanceId: string, request: CreateIdleInstanceCullerRequest, headers: {
|
|
2124
4344
|
[key: string]: string;
|
|
2125
4345
|
}, runtime: $Util.RuntimeOptions): Promise<CreateIdleInstanceCullerResponse>;
|
|
2126
4346
|
/**
|
|
2127
|
-
* @param request CreateIdleInstanceCullerRequest
|
|
2128
|
-
* @
|
|
4347
|
+
* @param request - CreateIdleInstanceCullerRequest
|
|
4348
|
+
* @returns CreateIdleInstanceCullerResponse
|
|
2129
4349
|
*/
|
|
2130
4350
|
createIdleInstanceCuller(InstanceId: string, request: CreateIdleInstanceCullerRequest): Promise<CreateIdleInstanceCullerResponse>;
|
|
2131
4351
|
/**
|
|
2132
|
-
*
|
|
4352
|
+
* 创建实例
|
|
2133
4353
|
*
|
|
2134
|
-
* @param request CreateInstanceRequest
|
|
2135
|
-
* @param headers map
|
|
2136
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2137
|
-
* @
|
|
4354
|
+
* @param request - CreateInstanceRequest
|
|
4355
|
+
* @param headers - map
|
|
4356
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4357
|
+
* @returns CreateInstanceResponse
|
|
2138
4358
|
*/
|
|
2139
4359
|
createInstanceWithOptions(request: CreateInstanceRequest, headers: {
|
|
2140
4360
|
[key: string]: string;
|
|
2141
4361
|
}, runtime: $Util.RuntimeOptions): Promise<CreateInstanceResponse>;
|
|
2142
4362
|
/**
|
|
2143
|
-
*
|
|
4363
|
+
* 创建实例
|
|
2144
4364
|
*
|
|
2145
|
-
* @param request CreateInstanceRequest
|
|
2146
|
-
* @
|
|
4365
|
+
* @param request - CreateInstanceRequest
|
|
4366
|
+
* @returns CreateInstanceResponse
|
|
2147
4367
|
*/
|
|
2148
4368
|
createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse>;
|
|
2149
4369
|
/**
|
|
2150
|
-
*
|
|
4370
|
+
* 创建定时关机任务
|
|
2151
4371
|
*
|
|
2152
|
-
* @param request CreateInstanceShutdownTimerRequest
|
|
2153
|
-
* @param headers map
|
|
2154
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2155
|
-
* @
|
|
4372
|
+
* @param request - CreateInstanceShutdownTimerRequest
|
|
4373
|
+
* @param headers - map
|
|
4374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4375
|
+
* @returns CreateInstanceShutdownTimerResponse
|
|
2156
4376
|
*/
|
|
2157
4377
|
createInstanceShutdownTimerWithOptions(InstanceId: string, request: CreateInstanceShutdownTimerRequest, headers: {
|
|
2158
4378
|
[key: string]: string;
|
|
2159
4379
|
}, runtime: $Util.RuntimeOptions): Promise<CreateInstanceShutdownTimerResponse>;
|
|
2160
4380
|
/**
|
|
2161
|
-
*
|
|
4381
|
+
* 创建定时关机任务
|
|
2162
4382
|
*
|
|
2163
|
-
* @param request CreateInstanceShutdownTimerRequest
|
|
2164
|
-
* @
|
|
4383
|
+
* @param request - CreateInstanceShutdownTimerRequest
|
|
4384
|
+
* @returns CreateInstanceShutdownTimerResponse
|
|
2165
4385
|
*/
|
|
2166
4386
|
createInstanceShutdownTimer(InstanceId: string, request: CreateInstanceShutdownTimerRequest): Promise<CreateInstanceShutdownTimerResponse>;
|
|
2167
4387
|
/**
|
|
2168
|
-
*
|
|
4388
|
+
* 创建实例快照
|
|
2169
4389
|
*
|
|
2170
|
-
* @param request CreateInstanceSnapshotRequest
|
|
2171
|
-
* @param headers map
|
|
2172
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2173
|
-
* @
|
|
4390
|
+
* @param request - CreateInstanceSnapshotRequest
|
|
4391
|
+
* @param headers - map
|
|
4392
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4393
|
+
* @returns CreateInstanceSnapshotResponse
|
|
2174
4394
|
*/
|
|
2175
4395
|
createInstanceSnapshotWithOptions(InstanceId: string, request: CreateInstanceSnapshotRequest, headers: {
|
|
2176
4396
|
[key: string]: string;
|
|
2177
4397
|
}, runtime: $Util.RuntimeOptions): Promise<CreateInstanceSnapshotResponse>;
|
|
2178
4398
|
/**
|
|
2179
|
-
*
|
|
4399
|
+
* 创建实例快照
|
|
2180
4400
|
*
|
|
2181
|
-
* @param request CreateInstanceSnapshotRequest
|
|
2182
|
-
* @
|
|
4401
|
+
* @param request - CreateInstanceSnapshotRequest
|
|
4402
|
+
* @returns CreateInstanceSnapshotResponse
|
|
2183
4403
|
*/
|
|
2184
4404
|
createInstanceSnapshot(InstanceId: string, request: CreateInstanceSnapshotRequest): Promise<CreateInstanceSnapshotResponse>;
|
|
2185
4405
|
/**
|
|
2186
|
-
* @param headers map
|
|
2187
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2188
|
-
* @
|
|
4406
|
+
* @param headers - map
|
|
4407
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4408
|
+
* @returns DeleteIdleInstanceCullerResponse
|
|
2189
4409
|
*/
|
|
2190
4410
|
deleteIdleInstanceCullerWithOptions(InstanceId: string, headers: {
|
|
2191
4411
|
[key: string]: string;
|
|
2192
4412
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteIdleInstanceCullerResponse>;
|
|
2193
4413
|
/**
|
|
2194
|
-
* @
|
|
4414
|
+
* @returns DeleteIdleInstanceCullerResponse
|
|
2195
4415
|
*/
|
|
2196
4416
|
deleteIdleInstanceCuller(InstanceId: string): Promise<DeleteIdleInstanceCullerResponse>;
|
|
2197
4417
|
/**
|
|
2198
|
-
*
|
|
4418
|
+
* 删除实例
|
|
2199
4419
|
*
|
|
2200
|
-
* @param headers map
|
|
2201
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2202
|
-
* @
|
|
4420
|
+
* @param headers - map
|
|
4421
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4422
|
+
* @returns DeleteInstanceResponse
|
|
2203
4423
|
*/
|
|
2204
4424
|
deleteInstanceWithOptions(InstanceId: string, headers: {
|
|
2205
4425
|
[key: string]: string;
|
|
2206
4426
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse>;
|
|
2207
4427
|
/**
|
|
2208
|
-
*
|
|
2209
|
-
*
|
|
2210
|
-
* @return DeleteInstanceResponse
|
|
4428
|
+
* 删除实例
|
|
4429
|
+
* @returns DeleteInstanceResponse
|
|
2211
4430
|
*/
|
|
2212
4431
|
deleteInstance(InstanceId: string): Promise<DeleteInstanceResponse>;
|
|
2213
4432
|
/**
|
|
2214
|
-
*
|
|
4433
|
+
* 删除定时关机任务
|
|
2215
4434
|
*
|
|
2216
|
-
* @param headers map
|
|
2217
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2218
|
-
* @
|
|
4435
|
+
* @param headers - map
|
|
4436
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4437
|
+
* @returns DeleteInstanceShutdownTimerResponse
|
|
2219
4438
|
*/
|
|
2220
4439
|
deleteInstanceShutdownTimerWithOptions(InstanceId: string, headers: {
|
|
2221
4440
|
[key: string]: string;
|
|
2222
4441
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceShutdownTimerResponse>;
|
|
2223
4442
|
/**
|
|
2224
|
-
*
|
|
2225
|
-
*
|
|
2226
|
-
* @return DeleteInstanceShutdownTimerResponse
|
|
4443
|
+
* 删除定时关机任务
|
|
4444
|
+
* @returns DeleteInstanceShutdownTimerResponse
|
|
2227
4445
|
*/
|
|
2228
4446
|
deleteInstanceShutdownTimer(InstanceId: string): Promise<DeleteInstanceShutdownTimerResponse>;
|
|
2229
4447
|
/**
|
|
2230
|
-
*
|
|
4448
|
+
* 获取实例快照详情
|
|
2231
4449
|
*
|
|
2232
|
-
* @param headers map
|
|
2233
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2234
|
-
* @
|
|
4450
|
+
* @param headers - map
|
|
4451
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4452
|
+
* @returns DeleteInstanceSnapshotResponse
|
|
2235
4453
|
*/
|
|
2236
4454
|
deleteInstanceSnapshotWithOptions(InstanceId: string, SnapshotId: string, headers: {
|
|
2237
4455
|
[key: string]: string;
|
|
2238
4456
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceSnapshotResponse>;
|
|
2239
4457
|
/**
|
|
2240
|
-
*
|
|
2241
|
-
*
|
|
2242
|
-
* @return DeleteInstanceSnapshotResponse
|
|
4458
|
+
* 获取实例快照详情
|
|
4459
|
+
* @returns DeleteInstanceSnapshotResponse
|
|
2243
4460
|
*/
|
|
2244
4461
|
deleteInstanceSnapshot(InstanceId: string, SnapshotId: string): Promise<DeleteInstanceSnapshotResponse>;
|
|
2245
4462
|
/**
|
|
2246
|
-
* @param headers map
|
|
2247
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2248
|
-
* @
|
|
4463
|
+
* @param headers - map
|
|
4464
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4465
|
+
* @returns GetIdleInstanceCullerResponse
|
|
2249
4466
|
*/
|
|
2250
4467
|
getIdleInstanceCullerWithOptions(InstanceId: string, headers: {
|
|
2251
4468
|
[key: string]: string;
|
|
2252
4469
|
}, runtime: $Util.RuntimeOptions): Promise<GetIdleInstanceCullerResponse>;
|
|
2253
4470
|
/**
|
|
2254
|
-
* @
|
|
4471
|
+
* @returns GetIdleInstanceCullerResponse
|
|
2255
4472
|
*/
|
|
2256
4473
|
getIdleInstanceCuller(InstanceId: string): Promise<GetIdleInstanceCullerResponse>;
|
|
2257
4474
|
/**
|
|
2258
|
-
*
|
|
4475
|
+
* 获取实例详情
|
|
2259
4476
|
*
|
|
2260
|
-
* @param headers map
|
|
2261
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2262
|
-
* @
|
|
4477
|
+
* @param headers - map
|
|
4478
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4479
|
+
* @returns GetInstanceResponse
|
|
2263
4480
|
*/
|
|
2264
4481
|
getInstanceWithOptions(InstanceId: string, headers: {
|
|
2265
4482
|
[key: string]: string;
|
|
2266
4483
|
}, runtime: $Util.RuntimeOptions): Promise<GetInstanceResponse>;
|
|
2267
4484
|
/**
|
|
2268
|
-
*
|
|
2269
|
-
*
|
|
2270
|
-
* @return GetInstanceResponse
|
|
4485
|
+
* 获取实例详情
|
|
4486
|
+
* @returns GetInstanceResponse
|
|
2271
4487
|
*/
|
|
2272
4488
|
getInstance(InstanceId: string): Promise<GetInstanceResponse>;
|
|
2273
4489
|
/**
|
|
2274
|
-
* @param request GetInstanceEventsRequest
|
|
2275
|
-
* @param headers map
|
|
2276
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2277
|
-
* @
|
|
4490
|
+
* @param request - GetInstanceEventsRequest
|
|
4491
|
+
* @param headers - map
|
|
4492
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4493
|
+
* @returns GetInstanceEventsResponse
|
|
2278
4494
|
*/
|
|
2279
4495
|
getInstanceEventsWithOptions(InstanceId: string, request: GetInstanceEventsRequest, headers: {
|
|
2280
4496
|
[key: string]: string;
|
|
2281
4497
|
}, runtime: $Util.RuntimeOptions): Promise<GetInstanceEventsResponse>;
|
|
2282
4498
|
/**
|
|
2283
|
-
* @param request GetInstanceEventsRequest
|
|
2284
|
-
* @
|
|
4499
|
+
* @param request - GetInstanceEventsRequest
|
|
4500
|
+
* @returns GetInstanceEventsResponse
|
|
2285
4501
|
*/
|
|
2286
4502
|
getInstanceEvents(InstanceId: string, request: GetInstanceEventsRequest): Promise<GetInstanceEventsResponse>;
|
|
2287
4503
|
/**
|
|
2288
|
-
* @param request GetInstanceMetricsRequest
|
|
2289
|
-
* @param headers map
|
|
2290
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2291
|
-
* @
|
|
4504
|
+
* @param request - GetInstanceMetricsRequest
|
|
4505
|
+
* @param headers - map
|
|
4506
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4507
|
+
* @returns GetInstanceMetricsResponse
|
|
2292
4508
|
*/
|
|
2293
4509
|
getInstanceMetricsWithOptions(InstanceId: string, request: GetInstanceMetricsRequest, headers: {
|
|
2294
4510
|
[key: string]: string;
|
|
2295
4511
|
}, runtime: $Util.RuntimeOptions): Promise<GetInstanceMetricsResponse>;
|
|
2296
4512
|
/**
|
|
2297
|
-
* @param request GetInstanceMetricsRequest
|
|
2298
|
-
* @
|
|
4513
|
+
* @param request - GetInstanceMetricsRequest
|
|
4514
|
+
* @returns GetInstanceMetricsResponse
|
|
2299
4515
|
*/
|
|
2300
4516
|
getInstanceMetrics(InstanceId: string, request: GetInstanceMetricsRequest): Promise<GetInstanceMetricsResponse>;
|
|
2301
4517
|
/**
|
|
2302
|
-
*
|
|
4518
|
+
* 获取定时关机任务
|
|
2303
4519
|
*
|
|
2304
|
-
* @param headers map
|
|
2305
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2306
|
-
* @
|
|
4520
|
+
* @param headers - map
|
|
4521
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4522
|
+
* @returns GetInstanceShutdownTimerResponse
|
|
2307
4523
|
*/
|
|
2308
4524
|
getInstanceShutdownTimerWithOptions(InstanceId: string, headers: {
|
|
2309
4525
|
[key: string]: string;
|
|
2310
4526
|
}, runtime: $Util.RuntimeOptions): Promise<GetInstanceShutdownTimerResponse>;
|
|
2311
4527
|
/**
|
|
2312
|
-
*
|
|
2313
|
-
*
|
|
2314
|
-
* @return GetInstanceShutdownTimerResponse
|
|
4528
|
+
* 获取定时关机任务
|
|
4529
|
+
* @returns GetInstanceShutdownTimerResponse
|
|
2315
4530
|
*/
|
|
2316
4531
|
getInstanceShutdownTimer(InstanceId: string): Promise<GetInstanceShutdownTimerResponse>;
|
|
2317
4532
|
/**
|
|
2318
|
-
*
|
|
4533
|
+
* 获取实例快照详情
|
|
2319
4534
|
*
|
|
2320
|
-
* @param headers map
|
|
2321
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2322
|
-
* @
|
|
4535
|
+
* @param headers - map
|
|
4536
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4537
|
+
* @returns GetInstanceSnapshotResponse
|
|
2323
4538
|
*/
|
|
2324
4539
|
getInstanceSnapshotWithOptions(InstanceId: string, SnapshotId: string, headers: {
|
|
2325
4540
|
[key: string]: string;
|
|
2326
4541
|
}, runtime: $Util.RuntimeOptions): Promise<GetInstanceSnapshotResponse>;
|
|
2327
4542
|
/**
|
|
2328
|
-
*
|
|
2329
|
-
*
|
|
2330
|
-
* @return GetInstanceSnapshotResponse
|
|
4543
|
+
* 获取实例快照详情
|
|
4544
|
+
* @returns GetInstanceSnapshotResponse
|
|
2331
4545
|
*/
|
|
2332
4546
|
getInstanceSnapshot(InstanceId: string, SnapshotId: string): Promise<GetInstanceSnapshotResponse>;
|
|
2333
4547
|
/**
|
|
2334
|
-
* @param request GetLifecycleRequest
|
|
2335
|
-
* @param headers map
|
|
2336
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2337
|
-
* @
|
|
4548
|
+
* @param request - GetLifecycleRequest
|
|
4549
|
+
* @param headers - map
|
|
4550
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4551
|
+
* @returns GetLifecycleResponse
|
|
2338
4552
|
*/
|
|
2339
4553
|
getLifecycleWithOptions(InstanceId: string, request: GetLifecycleRequest, headers: {
|
|
2340
4554
|
[key: string]: string;
|
|
2341
4555
|
}, runtime: $Util.RuntimeOptions): Promise<GetLifecycleResponse>;
|
|
2342
4556
|
/**
|
|
2343
|
-
* @param request GetLifecycleRequest
|
|
2344
|
-
* @
|
|
4557
|
+
* @param request - GetLifecycleRequest
|
|
4558
|
+
* @returns GetLifecycleResponse
|
|
2345
4559
|
*/
|
|
2346
4560
|
getLifecycle(InstanceId: string, request: GetLifecycleRequest): Promise<GetLifecycleResponse>;
|
|
2347
4561
|
/**
|
|
2348
|
-
*
|
|
4562
|
+
* 获取metrics数据
|
|
2349
4563
|
*
|
|
2350
|
-
* @param request GetMetricsRequest
|
|
2351
|
-
* @param headers map
|
|
2352
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2353
|
-
* @
|
|
4564
|
+
* @param request - GetMetricsRequest
|
|
4565
|
+
* @param headers - map
|
|
4566
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4567
|
+
* @returns GetMetricsResponse
|
|
2354
4568
|
*/
|
|
2355
4569
|
getMetricsWithOptions(InstanceId: string, request: GetMetricsRequest, headers: {
|
|
2356
4570
|
[key: string]: string;
|
|
2357
4571
|
}, runtime: $Util.RuntimeOptions): Promise<GetMetricsResponse>;
|
|
2358
4572
|
/**
|
|
2359
|
-
*
|
|
4573
|
+
* 获取metrics数据
|
|
2360
4574
|
*
|
|
2361
|
-
* @param request GetMetricsRequest
|
|
2362
|
-
* @
|
|
4575
|
+
* @param request - GetMetricsRequest
|
|
4576
|
+
* @returns GetMetricsResponse
|
|
2363
4577
|
*/
|
|
2364
4578
|
getMetrics(InstanceId: string, request: GetMetricsRequest): Promise<GetMetricsResponse>;
|
|
2365
4579
|
/**
|
|
2366
|
-
* @param request GetResourceGroupStatisticsRequest
|
|
2367
|
-
* @param headers map
|
|
2368
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2369
|
-
* @
|
|
4580
|
+
* @param request - GetResourceGroupStatisticsRequest
|
|
4581
|
+
* @param headers - map
|
|
4582
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4583
|
+
* @returns GetResourceGroupStatisticsResponse
|
|
2370
4584
|
*/
|
|
2371
4585
|
getResourceGroupStatisticsWithOptions(request: GetResourceGroupStatisticsRequest, headers: {
|
|
2372
4586
|
[key: string]: string;
|
|
2373
4587
|
}, runtime: $Util.RuntimeOptions): Promise<GetResourceGroupStatisticsResponse>;
|
|
2374
4588
|
/**
|
|
2375
|
-
* @param request GetResourceGroupStatisticsRequest
|
|
2376
|
-
* @
|
|
4589
|
+
* @param request - GetResourceGroupStatisticsRequest
|
|
4590
|
+
* @returns GetResourceGroupStatisticsResponse
|
|
2377
4591
|
*/
|
|
2378
4592
|
getResourceGroupStatistics(request: GetResourceGroupStatisticsRequest): Promise<GetResourceGroupStatisticsResponse>;
|
|
2379
4593
|
/**
|
|
2380
|
-
* @param request GetTokenRequest
|
|
2381
|
-
* @param headers map
|
|
2382
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2383
|
-
* @
|
|
4594
|
+
* @param request - GetTokenRequest
|
|
4595
|
+
* @param headers - map
|
|
4596
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4597
|
+
* @returns GetTokenResponse
|
|
2384
4598
|
*/
|
|
2385
4599
|
getTokenWithOptions(request: GetTokenRequest, headers: {
|
|
2386
4600
|
[key: string]: string;
|
|
2387
4601
|
}, runtime: $Util.RuntimeOptions): Promise<GetTokenResponse>;
|
|
2388
4602
|
/**
|
|
2389
|
-
* @param request GetTokenRequest
|
|
2390
|
-
* @
|
|
4603
|
+
* @param request - GetTokenRequest
|
|
4604
|
+
* @returns GetTokenResponse
|
|
2391
4605
|
*/
|
|
2392
4606
|
getToken(request: GetTokenRequest): Promise<GetTokenResponse>;
|
|
2393
4607
|
/**
|
|
2394
|
-
*
|
|
4608
|
+
* 获取用户配置
|
|
2395
4609
|
*
|
|
2396
|
-
* @param headers map
|
|
2397
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2398
|
-
* @
|
|
4610
|
+
* @param headers - map
|
|
4611
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4612
|
+
* @returns GetUserConfigResponse
|
|
2399
4613
|
*/
|
|
2400
4614
|
getUserConfigWithOptions(headers: {
|
|
2401
4615
|
[key: string]: string;
|
|
2402
4616
|
}, runtime: $Util.RuntimeOptions): Promise<GetUserConfigResponse>;
|
|
2403
4617
|
/**
|
|
2404
|
-
*
|
|
2405
|
-
*
|
|
2406
|
-
* @return GetUserConfigResponse
|
|
4618
|
+
* 获取用户配置
|
|
4619
|
+
* @returns GetUserConfigResponse
|
|
2407
4620
|
*/
|
|
2408
4621
|
getUserConfig(): Promise<GetUserConfigResponse>;
|
|
2409
4622
|
/**
|
|
2410
|
-
*
|
|
4623
|
+
* 获取ECS规格列表
|
|
2411
4624
|
*
|
|
2412
|
-
* @param request ListEcsSpecsRequest
|
|
2413
|
-
* @param headers map
|
|
2414
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2415
|
-
* @
|
|
4625
|
+
* @param request - ListEcsSpecsRequest
|
|
4626
|
+
* @param headers - map
|
|
4627
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4628
|
+
* @returns ListEcsSpecsResponse
|
|
2416
4629
|
*/
|
|
2417
4630
|
listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
|
|
2418
4631
|
[key: string]: string;
|
|
2419
4632
|
}, runtime: $Util.RuntimeOptions): Promise<ListEcsSpecsResponse>;
|
|
2420
4633
|
/**
|
|
2421
|
-
*
|
|
4634
|
+
* 获取ECS规格列表
|
|
2422
4635
|
*
|
|
2423
|
-
* @param request ListEcsSpecsRequest
|
|
2424
|
-
* @
|
|
4636
|
+
* @param request - ListEcsSpecsRequest
|
|
4637
|
+
* @returns ListEcsSpecsResponse
|
|
2425
4638
|
*/
|
|
2426
4639
|
listEcsSpecs(request: ListEcsSpecsRequest): Promise<ListEcsSpecsResponse>;
|
|
2427
4640
|
/**
|
|
2428
|
-
*
|
|
4641
|
+
* 查询实例快照列表
|
|
2429
4642
|
*
|
|
2430
|
-
* @param request ListInstanceSnapshotRequest
|
|
2431
|
-
* @param headers map
|
|
2432
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2433
|
-
* @
|
|
4643
|
+
* @param request - ListInstanceSnapshotRequest
|
|
4644
|
+
* @param headers - map
|
|
4645
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4646
|
+
* @returns ListInstanceSnapshotResponse
|
|
2434
4647
|
*/
|
|
2435
4648
|
listInstanceSnapshotWithOptions(InstanceId: string, request: ListInstanceSnapshotRequest, headers: {
|
|
2436
4649
|
[key: string]: string;
|
|
2437
4650
|
}, runtime: $Util.RuntimeOptions): Promise<ListInstanceSnapshotResponse>;
|
|
2438
4651
|
/**
|
|
2439
|
-
*
|
|
4652
|
+
* 查询实例快照列表
|
|
2440
4653
|
*
|
|
2441
|
-
* @param request ListInstanceSnapshotRequest
|
|
2442
|
-
* @
|
|
4654
|
+
* @param request - ListInstanceSnapshotRequest
|
|
4655
|
+
* @returns ListInstanceSnapshotResponse
|
|
2443
4656
|
*/
|
|
2444
4657
|
listInstanceSnapshot(InstanceId: string, request: ListInstanceSnapshotRequest): Promise<ListInstanceSnapshotResponse>;
|
|
2445
4658
|
/**
|
|
2446
|
-
*
|
|
4659
|
+
* 获取实例统计信息
|
|
2447
4660
|
*
|
|
2448
|
-
* @param request ListInstanceStatisticsRequest
|
|
2449
|
-
* @param headers map
|
|
2450
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2451
|
-
* @
|
|
4661
|
+
* @param request - ListInstanceStatisticsRequest
|
|
4662
|
+
* @param headers - map
|
|
4663
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4664
|
+
* @returns ListInstanceStatisticsResponse
|
|
2452
4665
|
*/
|
|
2453
4666
|
listInstanceStatisticsWithOptions(request: ListInstanceStatisticsRequest, headers: {
|
|
2454
4667
|
[key: string]: string;
|
|
2455
4668
|
}, runtime: $Util.RuntimeOptions): Promise<ListInstanceStatisticsResponse>;
|
|
2456
4669
|
/**
|
|
2457
|
-
*
|
|
4670
|
+
* 获取实例统计信息
|
|
2458
4671
|
*
|
|
2459
|
-
* @param request ListInstanceStatisticsRequest
|
|
2460
|
-
* @
|
|
4672
|
+
* @param request - ListInstanceStatisticsRequest
|
|
4673
|
+
* @returns ListInstanceStatisticsResponse
|
|
2461
4674
|
*/
|
|
2462
4675
|
listInstanceStatistics(request: ListInstanceStatisticsRequest): Promise<ListInstanceStatisticsResponse>;
|
|
2463
4676
|
/**
|
|
2464
|
-
* @param tmpReq ListInstancesRequest
|
|
2465
|
-
* @param headers map
|
|
2466
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2467
|
-
* @
|
|
4677
|
+
* @param tmpReq - ListInstancesRequest
|
|
4678
|
+
* @param headers - map
|
|
4679
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4680
|
+
* @returns ListInstancesResponse
|
|
2468
4681
|
*/
|
|
2469
4682
|
listInstancesWithOptions(tmpReq: ListInstancesRequest, headers: {
|
|
2470
4683
|
[key: string]: string;
|
|
2471
4684
|
}, runtime: $Util.RuntimeOptions): Promise<ListInstancesResponse>;
|
|
2472
4685
|
/**
|
|
2473
|
-
* @param request ListInstancesRequest
|
|
2474
|
-
* @
|
|
4686
|
+
* @param request - ListInstancesRequest
|
|
4687
|
+
* @returns ListInstancesResponse
|
|
2475
4688
|
*/
|
|
2476
4689
|
listInstances(request: ListInstancesRequest): Promise<ListInstancesResponse>;
|
|
2477
4690
|
/**
|
|
2478
|
-
*
|
|
4691
|
+
* 启动实例
|
|
2479
4692
|
*
|
|
2480
|
-
* @param headers map
|
|
2481
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2482
|
-
* @
|
|
4693
|
+
* @param headers - map
|
|
4694
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4695
|
+
* @returns StartInstanceResponse
|
|
2483
4696
|
*/
|
|
2484
4697
|
startInstanceWithOptions(InstanceId: string, headers: {
|
|
2485
4698
|
[key: string]: string;
|
|
2486
4699
|
}, runtime: $Util.RuntimeOptions): Promise<StartInstanceResponse>;
|
|
2487
4700
|
/**
|
|
2488
|
-
*
|
|
2489
|
-
*
|
|
2490
|
-
* @return StartInstanceResponse
|
|
4701
|
+
* 启动实例
|
|
4702
|
+
* @returns StartInstanceResponse
|
|
2491
4703
|
*/
|
|
2492
4704
|
startInstance(InstanceId: string): Promise<StartInstanceResponse>;
|
|
2493
4705
|
/**
|
|
2494
|
-
*
|
|
4706
|
+
* 停止实例
|
|
2495
4707
|
*
|
|
2496
|
-
* @param request StopInstanceRequest
|
|
2497
|
-
* @param headers map
|
|
2498
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2499
|
-
* @
|
|
4708
|
+
* @param request - StopInstanceRequest
|
|
4709
|
+
* @param headers - map
|
|
4710
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4711
|
+
* @returns StopInstanceResponse
|
|
2500
4712
|
*/
|
|
2501
4713
|
stopInstanceWithOptions(InstanceId: string, request: StopInstanceRequest, headers: {
|
|
2502
4714
|
[key: string]: string;
|
|
2503
4715
|
}, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
|
|
2504
4716
|
/**
|
|
2505
|
-
*
|
|
4717
|
+
* 停止实例
|
|
2506
4718
|
*
|
|
2507
|
-
* @param request StopInstanceRequest
|
|
2508
|
-
* @
|
|
4719
|
+
* @param request - StopInstanceRequest
|
|
4720
|
+
* @returns StopInstanceResponse
|
|
2509
4721
|
*/
|
|
2510
4722
|
stopInstance(InstanceId: string, request: StopInstanceRequest): Promise<StopInstanceResponse>;
|
|
2511
4723
|
/**
|
|
2512
|
-
*
|
|
4724
|
+
* 更新实例
|
|
2513
4725
|
*
|
|
2514
|
-
* @param request UpdateInstanceRequest
|
|
2515
|
-
* @param headers map
|
|
2516
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2517
|
-
* @
|
|
4726
|
+
* @param request - UpdateInstanceRequest
|
|
4727
|
+
* @param headers - map
|
|
4728
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4729
|
+
* @returns UpdateInstanceResponse
|
|
2518
4730
|
*/
|
|
2519
4731
|
updateInstanceWithOptions(InstanceId: string, request: UpdateInstanceRequest, headers: {
|
|
2520
4732
|
[key: string]: string;
|
|
2521
4733
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateInstanceResponse>;
|
|
2522
4734
|
/**
|
|
2523
|
-
*
|
|
4735
|
+
* 更新实例
|
|
2524
4736
|
*
|
|
2525
|
-
* @param request UpdateInstanceRequest
|
|
2526
|
-
* @
|
|
4737
|
+
* @param request - UpdateInstanceRequest
|
|
4738
|
+
* @returns UpdateInstanceResponse
|
|
2527
4739
|
*/
|
|
2528
4740
|
updateInstance(InstanceId: string, request: UpdateInstanceRequest): Promise<UpdateInstanceResponse>;
|
|
2529
4741
|
}
|