@alicloud/ecs20140526 7.2.1 → 7.2.3
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 +18 -18
- package/dist/client.js +21 -18
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +15 -0
- package/dist/models/CreateAutoProvisioningGroupRequest.js +27 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +15 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +27 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateElasticityAssuranceRequest.d.ts +10 -10
- package/dist/models/CreateImagePipelineRequest.d.ts +20 -0
- package/dist/models/CreateImagePipelineRequest.js +37 -1
- package/dist/models/CreateImagePipelineRequest.js.map +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/models/DescribeDiagnosticMetricsRequest.d.ts +0 -4
- package/dist/models/DescribeDiagnosticMetricsRequest.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +3 -5
- package/dist/models/DescribeDisksRequest.js.map +1 -1
- package/dist/models/DescribeDisksResponseBody.d.ts +2 -0
- package/dist/models/DescribeDisksResponseBody.js.map +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +33 -0
- package/dist/models/DescribeImagePipelinesResponseBody.js +59 -1
- package/dist/models/DescribeImagePipelinesResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +25 -0
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +25 -0
- package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
- package/dist/models/DescribeManagedInstancesRequest.d.ts +1 -0
- package/dist/models/DescribeManagedInstancesRequest.js +2 -0
- package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
- package/dist/models/DescribePortRangeListsRequest.d.ts +2 -2
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +10 -10
- package/dist/models/DescribeSnapshotLinksResponseBody.d.ts +3 -1
- package/dist/models/DescribeSnapshotLinksResponseBody.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +3 -1
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +3 -3
- package/dist/models/ModifyDedicatedHostsChargeTypeResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +9 -7
- package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +3 -3
- package/dist/models/ModifySnapshotCategoryRequest.d.ts +5 -3
- package/dist/models/ModifySnapshotCategoryRequest.js.map +1 -1
- package/dist/models/ResizeDiskRequest.d.ts +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +85 -75
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +22 -18
- package/src/models/CreateAutoProvisioningGroupRequest.ts +32 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +32 -0
- package/src/models/CreateElasticityAssuranceRequest.ts +10 -10
- package/src/models/CreateImagePipelineRequest.ts +47 -0
- package/src/models/CreateInstanceRequest.ts +1 -1
- package/src/models/DescribeDiagnosticMetricsRequest.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +3 -5
- package/src/models/DescribeDisksResponseBody.ts +2 -0
- package/src/models/DescribeImagePipelinesResponseBody.ts +73 -0
- package/src/models/DescribeInvocationResultsResponseBody.ts +25 -0
- package/src/models/DescribeInvocationsResponseBody.ts +25 -0
- package/src/models/DescribeManagedInstancesRequest.ts +3 -0
- package/src/models/DescribePortRangeListsRequest.ts +2 -2
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +10 -10
- package/src/models/DescribeSnapshotLinksResponseBody.ts +3 -1
- package/src/models/DescribeSnapshotsResponseBody.ts +3 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +3 -3
- package/src/models/ModifyDedicatedHostsChargeTypeResponseBody.ts +1 -1
- package/src/models/ModifyInstanceNetworkOptionsRequest.ts +9 -7
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +3 -3
- package/src/models/ModifySnapshotCategoryRequest.ts +5 -3
- package/src/models/ResizeDiskRequest.ts +1 -1
- package/src/models/model.ts +5 -0
|
@@ -50,7 +50,7 @@ export class CreateElasticityAssuranceRequestPrivatePoolOptions extends $dara.Mo
|
|
|
50
50
|
export class CreateElasticityAssuranceRequestRecurrenceRules extends $dara.Model {
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The end time of the assurance period for the capacity reservation
|
|
53
|
+
* The end time of the assurance period for the capacity reservation. Specify an on-the-hour point in time.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 10
|
|
@@ -64,7 +64,7 @@ export class CreateElasticityAssuranceRequestRecurrenceRules extends $dara.Model
|
|
|
64
64
|
* * Weekly
|
|
65
65
|
* * Monthly
|
|
66
66
|
*
|
|
67
|
-
* >
|
|
67
|
+
* > You must specify both `RecurrenceType` and `RecurrenceValue`.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* Daily
|
|
@@ -72,13 +72,13 @@ export class CreateElasticityAssuranceRequestRecurrenceRules extends $dara.Model
|
|
|
72
72
|
recurrenceType?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The days of the week or month on which the capacity reservation
|
|
75
|
+
* The days of the week or month on which the capacity reservation takes effect or the interval, in number of days, at which the capacity reservation takes effect.
|
|
76
76
|
*
|
|
77
77
|
* * If you set `RecurrenceType` to `Daily`, you can specify only one value for this parameter. Valid values: 1 to 31. The value specifies that the capacity reservation takes effect every few days.
|
|
78
78
|
* * If you set `RecurrenceType` to `Weekly`, you can specify multiple values for this parameter. Separate the values with commas (,). Valid values: 0, 1, 2, 3, 4, 5, and 6, which specify Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday, respectively. Example: `1,2`, which specifies that the capacity reservation takes effect on Monday and Tuesday.
|
|
79
|
-
* * If you set `RecurrenceType` to `Monthly`, you can specify two values in the `A-B` format for this parameter. Valid values of A and B: 1 to 31. B must be greater than or equal to A.
|
|
79
|
+
* * If you set `RecurrenceType` to `Monthly`, you can specify two values in the `A-B` format for this parameter. Valid values of A and B: 1 to 31. B must be greater than or equal to A. For example, `1-5` indicates that the execution is repeated from the 1st to 5th of each month.
|
|
80
80
|
*
|
|
81
|
-
* >
|
|
81
|
+
* > You must specify both `RecurrenceType` and `RecurrenceValue`.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* 1
|
|
@@ -86,9 +86,9 @@ export class CreateElasticityAssuranceRequestRecurrenceRules extends $dara.Model
|
|
|
86
86
|
recurrenceValue?: string;
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The start time of the assurance period for the capacity reservation
|
|
89
|
+
* The start time of the assurance period for the capacity reservation. Specify an on-the-hour point in time.
|
|
90
90
|
*
|
|
91
|
-
* > You must specify both `StartHour` and `EndHour`.
|
|
91
|
+
* > You must specify both `StartHour` and `EndHour`. EndHour must be at least four hours later than StartHour.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* 4
|
|
@@ -251,13 +251,13 @@ export class CreateElasticityAssuranceRequest extends $dara.Model {
|
|
|
251
251
|
ownerId?: number;
|
|
252
252
|
/**
|
|
253
253
|
* @remarks
|
|
254
|
-
* The validity period of the elasticity assurance. The unit of the validity period is determined by the value of `PeriodUnit`. Valid values:
|
|
254
|
+
* The validity period of the elasticity assurance. The unit of the validity period is determined by the value of `PeriodUnit`. Specifies whether to check the image used by the instance supports hot migration. Valid values:
|
|
255
255
|
*
|
|
256
256
|
* * When the value of `PeriodUnit` is `Month`, the valid values are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
|
|
257
257
|
* * When the value of `PeriodUnit` is `Year`, the valid values are 1, 2, 3, 4, and 5.
|
|
258
258
|
* * When the value of `PeriodUnit` is `Day`, the valid values are 1 to 365.
|
|
259
259
|
*
|
|
260
|
-
* Default value: 1
|
|
260
|
+
* Default value: 1
|
|
261
261
|
*
|
|
262
262
|
* @example
|
|
263
263
|
* 1
|
|
@@ -285,7 +285,7 @@ export class CreateElasticityAssuranceRequest extends $dara.Model {
|
|
|
285
285
|
periodUnit?: string;
|
|
286
286
|
/**
|
|
287
287
|
* @remarks
|
|
288
|
-
* The assurance schedules
|
|
288
|
+
* The assurance schedules based on which the capacity reservation takes effect.
|
|
289
289
|
*
|
|
290
290
|
* > Time-segmented elasticity assurances are available only in specific regions and to specific users. To use time-segmented elasticity assurances, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket-intl).
|
|
291
291
|
*/
|
|
@@ -271,6 +271,7 @@ export class CreateImagePipelineRequestImportImageOptionsDiskDeviceMappings exte
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
export class CreateImagePipelineRequestImportImageOptionsFeatures extends $dara.Model {
|
|
274
|
+
imdsSupport?: string;
|
|
274
275
|
/**
|
|
275
276
|
* @remarks
|
|
276
277
|
* Specifies whether the imported source image supports the Non-Volatile Memory Express (NVMe) protocol. Valid values:
|
|
@@ -286,12 +287,14 @@ export class CreateImagePipelineRequestImportImageOptionsFeatures extends $dara.
|
|
|
286
287
|
nvmeSupport?: string;
|
|
287
288
|
static names(): { [key: string]: string } {
|
|
288
289
|
return {
|
|
290
|
+
imdsSupport: 'ImdsSupport',
|
|
289
291
|
nvmeSupport: 'NvmeSupport',
|
|
290
292
|
};
|
|
291
293
|
}
|
|
292
294
|
|
|
293
295
|
static types(): { [key: string]: any } {
|
|
294
296
|
return {
|
|
297
|
+
imdsSupport: 'string',
|
|
295
298
|
nvmeSupport: 'string',
|
|
296
299
|
};
|
|
297
300
|
}
|
|
@@ -305,6 +308,32 @@ export class CreateImagePipelineRequestImportImageOptionsFeatures extends $dara.
|
|
|
305
308
|
}
|
|
306
309
|
}
|
|
307
310
|
|
|
311
|
+
export class CreateImagePipelineRequestImportImageOptionsImportImageTags extends $dara.Model {
|
|
312
|
+
key?: string;
|
|
313
|
+
value?: string;
|
|
314
|
+
static names(): { [key: string]: string } {
|
|
315
|
+
return {
|
|
316
|
+
key: 'Key',
|
|
317
|
+
value: 'Value',
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
static types(): { [key: string]: any } {
|
|
322
|
+
return {
|
|
323
|
+
key: 'string',
|
|
324
|
+
value: 'string',
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
validate() {
|
|
329
|
+
super.validate();
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
constructor(map?: { [key: string]: any }) {
|
|
333
|
+
super(map);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
308
337
|
export class CreateImagePipelineRequestImportImageOptions extends $dara.Model {
|
|
309
338
|
/**
|
|
310
339
|
* @remarks
|
|
@@ -334,6 +363,7 @@ export class CreateImagePipelineRequestImportImageOptions extends $dara.Model {
|
|
|
334
363
|
* BIOS
|
|
335
364
|
*/
|
|
336
365
|
bootMode?: string;
|
|
366
|
+
description?: string;
|
|
337
367
|
/**
|
|
338
368
|
* @remarks
|
|
339
369
|
* The information of disks from which the custom images are created.
|
|
@@ -347,6 +377,8 @@ export class CreateImagePipelineRequestImportImageOptions extends $dara.Model {
|
|
|
347
377
|
* The attributes of the image.
|
|
348
378
|
*/
|
|
349
379
|
features?: CreateImagePipelineRequestImportImageOptionsFeatures;
|
|
380
|
+
imageName?: string;
|
|
381
|
+
importImageTags?: CreateImagePipelineRequestImportImageOptionsImportImageTags[];
|
|
350
382
|
/**
|
|
351
383
|
* @remarks
|
|
352
384
|
* The type of the license to use to activate the operating system after the image is imported. Valid values:
|
|
@@ -420,16 +452,23 @@ export class CreateImagePipelineRequestImportImageOptions extends $dara.Model {
|
|
|
420
452
|
* false
|
|
421
453
|
*/
|
|
422
454
|
retainImportedImage?: boolean;
|
|
455
|
+
retentionStrategy?: string;
|
|
456
|
+
roleName?: string;
|
|
423
457
|
static names(): { [key: string]: string } {
|
|
424
458
|
return {
|
|
425
459
|
architecture: 'Architecture',
|
|
426
460
|
bootMode: 'BootMode',
|
|
461
|
+
description: 'Description',
|
|
427
462
|
diskDeviceMappings: 'DiskDeviceMappings',
|
|
428
463
|
features: 'Features',
|
|
464
|
+
imageName: 'ImageName',
|
|
465
|
+
importImageTags: 'ImportImageTags',
|
|
429
466
|
licenseType: 'LicenseType',
|
|
430
467
|
OSType: 'OSType',
|
|
431
468
|
platform: 'Platform',
|
|
432
469
|
retainImportedImage: 'RetainImportedImage',
|
|
470
|
+
retentionStrategy: 'RetentionStrategy',
|
|
471
|
+
roleName: 'RoleName',
|
|
433
472
|
};
|
|
434
473
|
}
|
|
435
474
|
|
|
@@ -437,12 +476,17 @@ export class CreateImagePipelineRequestImportImageOptions extends $dara.Model {
|
|
|
437
476
|
return {
|
|
438
477
|
architecture: 'string',
|
|
439
478
|
bootMode: 'string',
|
|
479
|
+
description: 'string',
|
|
440
480
|
diskDeviceMappings: { 'type': 'array', 'itemType': CreateImagePipelineRequestImportImageOptionsDiskDeviceMappings },
|
|
441
481
|
features: CreateImagePipelineRequestImportImageOptionsFeatures,
|
|
482
|
+
imageName: 'string',
|
|
483
|
+
importImageTags: { 'type': 'array', 'itemType': CreateImagePipelineRequestImportImageOptionsImportImageTags },
|
|
442
484
|
licenseType: 'string',
|
|
443
485
|
OSType: 'string',
|
|
444
486
|
platform: 'string',
|
|
445
487
|
retainImportedImage: 'boolean',
|
|
488
|
+
retentionStrategy: 'string',
|
|
489
|
+
roleName: 'string',
|
|
446
490
|
};
|
|
447
491
|
}
|
|
448
492
|
|
|
@@ -453,6 +497,9 @@ export class CreateImagePipelineRequestImportImageOptions extends $dara.Model {
|
|
|
453
497
|
if(this.features && typeof (this.features as any).validate === 'function') {
|
|
454
498
|
(this.features as any).validate();
|
|
455
499
|
}
|
|
500
|
+
if(Array.isArray(this.importImageTags)) {
|
|
501
|
+
$dara.Model.validateArray(this.importImageTags);
|
|
502
|
+
}
|
|
456
503
|
super.validate();
|
|
457
504
|
}
|
|
458
505
|
|
|
@@ -999,7 +999,7 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
999
999
|
useAdditionalService?: boolean;
|
|
1000
1000
|
/**
|
|
1001
1001
|
* @remarks
|
|
1002
|
-
* The user data of the instance. The user data must be encoded in Base64. The maximum size of raw data is
|
|
1002
|
+
* The user data of the instance. The user data must be encoded in Base64. The maximum size of raw data is 32 KB.
|
|
1003
1003
|
*
|
|
1004
1004
|
* @example
|
|
1005
1005
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
@@ -317,14 +317,12 @@ export class DescribeDisksRequest extends $dara.Model {
|
|
|
317
317
|
maxResults?: number;
|
|
318
318
|
/**
|
|
319
319
|
* @remarks
|
|
320
|
-
* Specifies whether the multi-attach feature
|
|
320
|
+
* Specifies whether to enable the multi-attach feature for the disk. Valid values:
|
|
321
321
|
*
|
|
322
|
-
* * Disabled
|
|
323
|
-
* * Enabled
|
|
322
|
+
* * Disabled
|
|
323
|
+
* * Enabled
|
|
324
324
|
* * LegacyShared: Shared Block Storage devices are queried.
|
|
325
325
|
*
|
|
326
|
-
* The multi-attach feature is available to select users. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm#/ticket/list).
|
|
327
|
-
*
|
|
328
326
|
* @example
|
|
329
327
|
* Disabled
|
|
330
328
|
*/
|
|
@@ -947,6 +947,8 @@ export class DescribeDisksResponseBody extends $dara.Model {
|
|
|
947
947
|
* @remarks
|
|
948
948
|
* The total number of entries returned.
|
|
949
949
|
*
|
|
950
|
+
* > When using the `MaxResults` and `NextToken` parameters for a paginated query, the returned `TotalCount` parameter value is invalid.
|
|
951
|
+
*
|
|
950
952
|
* @example
|
|
951
953
|
* 15
|
|
952
954
|
*/
|
|
@@ -343,6 +343,7 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures extends $dara.Model {
|
|
346
|
+
imdsSupport?: string;
|
|
346
347
|
/**
|
|
347
348
|
* @remarks
|
|
348
349
|
* Indicates whether the image supports the NVMe protocol. Valid values:
|
|
@@ -356,12 +357,14 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
356
357
|
nvmeSupport?: string;
|
|
357
358
|
static names(): { [key: string]: string } {
|
|
358
359
|
return {
|
|
360
|
+
imdsSupport: 'ImdsSupport',
|
|
359
361
|
nvmeSupport: 'NvmeSupport',
|
|
360
362
|
};
|
|
361
363
|
}
|
|
362
364
|
|
|
363
365
|
static types(): { [key: string]: any } {
|
|
364
366
|
return {
|
|
367
|
+
imdsSupport: 'string',
|
|
365
368
|
nvmeSupport: 'string',
|
|
366
369
|
};
|
|
367
370
|
}
|
|
@@ -375,6 +378,58 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
375
378
|
}
|
|
376
379
|
}
|
|
377
380
|
|
|
381
|
+
export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag extends $dara.Model {
|
|
382
|
+
key?: string;
|
|
383
|
+
value?: string;
|
|
384
|
+
static names(): { [key: string]: string } {
|
|
385
|
+
return {
|
|
386
|
+
key: 'Key',
|
|
387
|
+
value: 'Value',
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
static types(): { [key: string]: any } {
|
|
392
|
+
return {
|
|
393
|
+
key: 'string',
|
|
394
|
+
value: 'string',
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
validate() {
|
|
399
|
+
super.validate();
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
constructor(map?: { [key: string]: any }) {
|
|
403
|
+
super(map);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags extends $dara.Model {
|
|
408
|
+
importImageTag?: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag[];
|
|
409
|
+
static names(): { [key: string]: string } {
|
|
410
|
+
return {
|
|
411
|
+
importImageTag: 'ImportImageTag',
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
static types(): { [key: string]: any } {
|
|
416
|
+
return {
|
|
417
|
+
importImageTag: { 'type': 'array', 'itemType': DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag },
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
validate() {
|
|
422
|
+
if(Array.isArray(this.importImageTag)) {
|
|
423
|
+
$dara.Model.validateArray(this.importImageTag);
|
|
424
|
+
}
|
|
425
|
+
super.validate();
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
constructor(map?: { [key: string]: any }) {
|
|
429
|
+
super(map);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
378
433
|
export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptions extends $dara.Model {
|
|
379
434
|
/**
|
|
380
435
|
* @remarks
|
|
@@ -398,6 +453,7 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
398
453
|
* BIOS
|
|
399
454
|
*/
|
|
400
455
|
bootMode?: string;
|
|
456
|
+
description?: string;
|
|
401
457
|
/**
|
|
402
458
|
* @remarks
|
|
403
459
|
* The information of disks from which the custom images are created.
|
|
@@ -411,6 +467,8 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
411
467
|
* The feature attributes of the image.
|
|
412
468
|
*/
|
|
413
469
|
features?: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures;
|
|
470
|
+
imageName?: string;
|
|
471
|
+
importImageTags?: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags;
|
|
414
472
|
/**
|
|
415
473
|
* @remarks
|
|
416
474
|
* The type of the license to use to activate the operating system after the image is imported. Valid values:
|
|
@@ -478,16 +536,23 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
478
536
|
* false
|
|
479
537
|
*/
|
|
480
538
|
retainImportedImage?: boolean;
|
|
539
|
+
retentionStrategy?: string;
|
|
540
|
+
roleName?: string;
|
|
481
541
|
static names(): { [key: string]: string } {
|
|
482
542
|
return {
|
|
483
543
|
architecture: 'Architecture',
|
|
484
544
|
bootMode: 'BootMode',
|
|
545
|
+
description: 'Description',
|
|
485
546
|
diskDeviceMappings: 'DiskDeviceMappings',
|
|
486
547
|
features: 'Features',
|
|
548
|
+
imageName: 'ImageName',
|
|
549
|
+
importImageTags: 'ImportImageTags',
|
|
487
550
|
licenseType: 'LicenseType',
|
|
488
551
|
OSType: 'OSType',
|
|
489
552
|
platform: 'Platform',
|
|
490
553
|
retainImportedImage: 'RetainImportedImage',
|
|
554
|
+
retentionStrategy: 'RetentionStrategy',
|
|
555
|
+
roleName: 'RoleName',
|
|
491
556
|
};
|
|
492
557
|
}
|
|
493
558
|
|
|
@@ -495,12 +560,17 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
495
560
|
return {
|
|
496
561
|
architecture: 'string',
|
|
497
562
|
bootMode: 'string',
|
|
563
|
+
description: 'string',
|
|
498
564
|
diskDeviceMappings: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappings,
|
|
499
565
|
features: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures,
|
|
566
|
+
imageName: 'string',
|
|
567
|
+
importImageTags: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags,
|
|
500
568
|
licenseType: 'string',
|
|
501
569
|
OSType: 'string',
|
|
502
570
|
platform: 'string',
|
|
503
571
|
retainImportedImage: 'boolean',
|
|
572
|
+
retentionStrategy: 'string',
|
|
573
|
+
roleName: 'string',
|
|
504
574
|
};
|
|
505
575
|
}
|
|
506
576
|
|
|
@@ -511,6 +581,9 @@ export class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImpo
|
|
|
511
581
|
if(this.features && typeof (this.features as any).validate === 'function') {
|
|
512
582
|
(this.features as any).validate();
|
|
513
583
|
}
|
|
584
|
+
if(this.importImageTags && typeof (this.importImageTags as any).validate === 'function') {
|
|
585
|
+
(this.importImageTags as any).validate();
|
|
586
|
+
}
|
|
514
587
|
super.validate();
|
|
515
588
|
}
|
|
516
589
|
|
|
@@ -271,8 +271,33 @@ export class DescribeInvocationResultsResponseBodyInvocationInvocationResultsInv
|
|
|
271
271
|
* python3 -u {{ACS::ScriptFileName|Ext(".py")}}
|
|
272
272
|
*/
|
|
273
273
|
launcher?: string;
|
|
274
|
+
/**
|
|
275
|
+
* @remarks
|
|
276
|
+
* Command to execute the Output OSS delivery configuration.
|
|
277
|
+
*
|
|
278
|
+
* @example
|
|
279
|
+
* oss://testBucket/testPrefix
|
|
280
|
+
*/
|
|
274
281
|
ossOutputDelivery?: string;
|
|
282
|
+
/**
|
|
283
|
+
* @remarks
|
|
284
|
+
* The output delivery status of the command execution. Valid values:
|
|
285
|
+
*
|
|
286
|
+
* * InProgress: The delivery is in progress.
|
|
287
|
+
* * Finished: The delivery is complete.
|
|
288
|
+
* * Failed: The delivery failed.
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* Finished
|
|
292
|
+
*/
|
|
275
293
|
ossOutputStatus?: string;
|
|
294
|
+
/**
|
|
295
|
+
* @remarks
|
|
296
|
+
* The command execution Output delivers the object URI to OSS. This field is an empty string when the delivery fails or is in progress.
|
|
297
|
+
*
|
|
298
|
+
* @example
|
|
299
|
+
* oss://testBucket/testPrefix/output.txt
|
|
300
|
+
*/
|
|
276
301
|
ossOutputUri?: string;
|
|
277
302
|
/**
|
|
278
303
|
* @remarks
|
|
@@ -151,7 +151,25 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
151
151
|
* Success
|
|
152
152
|
*/
|
|
153
153
|
invocationStatus?: string;
|
|
154
|
+
/**
|
|
155
|
+
* @remarks
|
|
156
|
+
* The output delivery status of the command execution. Valid values:
|
|
157
|
+
*
|
|
158
|
+
* * InProgress: The delivery is in progress.
|
|
159
|
+
* * Finished: The delivery is complete.
|
|
160
|
+
* * Failed: The delivery failed.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* Finished
|
|
164
|
+
*/
|
|
154
165
|
ossOutputStatus?: string;
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* The command execution Output delivers the object URI to OSS. This field is an empty string when the delivery fails or is in progress.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* oss://testBucket/testPrefix/output.txt
|
|
172
|
+
*/
|
|
155
173
|
ossOutputUri?: string;
|
|
156
174
|
/**
|
|
157
175
|
* @remarks
|
|
@@ -494,6 +512,13 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
494
512
|
* python3 -u {{ACS::ScriptFileName|Ext(".py")}}
|
|
495
513
|
*/
|
|
496
514
|
launcher?: string;
|
|
515
|
+
/**
|
|
516
|
+
* @remarks
|
|
517
|
+
* Command to execute the Output OSS delivery configuration.
|
|
518
|
+
*
|
|
519
|
+
* @example
|
|
520
|
+
* oss://testBucket/testPrefix
|
|
521
|
+
*/
|
|
497
522
|
ossOutputDelivery?: string;
|
|
498
523
|
/**
|
|
499
524
|
* @remarks
|
|
@@ -81,6 +81,7 @@ export class DescribeManagedInstancesRequest extends $dara.Model {
|
|
|
81
81
|
* my-webapp-server
|
|
82
82
|
*/
|
|
83
83
|
instanceName?: string;
|
|
84
|
+
machineId?: string;
|
|
84
85
|
/**
|
|
85
86
|
* @remarks
|
|
86
87
|
* The maximum number of entries per page.
|
|
@@ -164,6 +165,7 @@ export class DescribeManagedInstancesRequest extends $dara.Model {
|
|
|
164
165
|
instanceId: 'InstanceId',
|
|
165
166
|
instanceIp: 'InstanceIp',
|
|
166
167
|
instanceName: 'InstanceName',
|
|
168
|
+
machineId: 'MachineId',
|
|
167
169
|
maxResults: 'MaxResults',
|
|
168
170
|
nextToken: 'NextToken',
|
|
169
171
|
osType: 'OsType',
|
|
@@ -185,6 +187,7 @@ export class DescribeManagedInstancesRequest extends $dara.Model {
|
|
|
185
187
|
instanceId: { 'type': 'array', 'itemType': 'string' },
|
|
186
188
|
instanceIp: 'string',
|
|
187
189
|
instanceName: 'string',
|
|
190
|
+
machineId: 'string',
|
|
188
191
|
maxResults: 'number',
|
|
189
192
|
nextToken: 'string',
|
|
190
193
|
osType: 'string',
|
|
@@ -47,9 +47,9 @@ export class DescribePortRangeListsRequestTag extends $dara.Model {
|
|
|
47
47
|
export class DescribePortRangeListsRequest extends $dara.Model {
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The number of entries per page.
|
|
50
|
+
* The maximum number of entries per page.
|
|
51
51
|
*
|
|
52
|
-
* *
|
|
52
|
+
* * Maximum value: 100
|
|
53
53
|
* * Default value: 10.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
@@ -15,12 +15,12 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
15
15
|
cores?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The billing method of ECS
|
|
18
|
+
* The billing method of the ECS instance. For more information, see [Billing overview](https://help.aliyun.com/document_detail/25398.html). Valid values:
|
|
19
19
|
*
|
|
20
|
-
* * PrePaid: subscription
|
|
20
|
+
* * PrePaid: subscription.
|
|
21
21
|
* * PostPaid: pay-as-you-go
|
|
22
22
|
*
|
|
23
|
-
* Default value: PostPaid
|
|
23
|
+
* Default value: PostPaid
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* PostPaid
|
|
@@ -110,11 +110,11 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
110
110
|
ownerId?: number;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The policy
|
|
113
|
+
* The policy for recommending instance types. Valid values:
|
|
114
114
|
*
|
|
115
115
|
* * InventoryFirst: recommends instance types in descending order of resource availability.
|
|
116
116
|
* * PriceFirst: recommends the most cost-effective instance types. Recommended instance types appear based on the hourly prices of vCPUs in ascending order.
|
|
117
|
-
* * NewProductFirst: recommends the latest instance types.
|
|
117
|
+
* * NewProductFirst: recommends the latest instance types first.
|
|
118
118
|
*
|
|
119
119
|
* Default value: InventoryFirst.
|
|
120
120
|
*
|
|
@@ -136,7 +136,7 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
136
136
|
resourceOwnerId?: number;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
*
|
|
139
|
+
* Specifies the scenarios in which instance types are recommended. Valid values:
|
|
140
140
|
*
|
|
141
141
|
* * UPGRADE: instance type upgrade or downgrade
|
|
142
142
|
* * CREATE: instance creation
|
|
@@ -149,11 +149,11 @@ export class DescribeRecommendInstanceTypeRequest extends $dara.Model {
|
|
|
149
149
|
scene?: string;
|
|
150
150
|
/**
|
|
151
151
|
* @remarks
|
|
152
|
-
* The bidding policy of spot
|
|
152
|
+
* The bidding policy of the spot instance. Valid values:
|
|
153
153
|
*
|
|
154
|
-
* * NoSpot: The
|
|
155
|
-
* * SpotWithPriceLimit: The
|
|
156
|
-
* * SpotAsPriceGo: The
|
|
154
|
+
* * NoSpot: The instance is created as a pay-as-you-go instance.
|
|
155
|
+
* * SpotWithPriceLimit: The instance is a spot instance that has a user-defined maximum hourly price.
|
|
156
|
+
* * SpotAsPriceGo: The instance is a spot instance for which the market price at the time of purchase is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
|
|
157
157
|
*
|
|
158
158
|
* > If you specify `SpotStrategy`, you must set `InstanceChargeType` to `PostPaid`.
|
|
159
159
|
*
|
|
@@ -220,7 +220,9 @@ export class DescribeSnapshotLinksResponseBody extends $dara.Model {
|
|
|
220
220
|
snapshotLinks?: DescribeSnapshotLinksResponseBodySnapshotLinks;
|
|
221
221
|
/**
|
|
222
222
|
* @remarks
|
|
223
|
-
* The total number of
|
|
223
|
+
* The total number of snapshot chains.
|
|
224
|
+
*
|
|
225
|
+
* > When using the `MaxResults` and `NextToken` parameters for a paginated query, the returned `TotalCount` parameter value is invalid.
|
|
224
226
|
*
|
|
225
227
|
* @example
|
|
226
228
|
* 9
|
|
@@ -481,7 +481,9 @@ export class DescribeSnapshotsResponseBody extends $dara.Model {
|
|
|
481
481
|
snapshots?: DescribeSnapshotsResponseBodySnapshots;
|
|
482
482
|
/**
|
|
483
483
|
* @remarks
|
|
484
|
-
* The total number of snapshots
|
|
484
|
+
* The total number of snapshots.
|
|
485
|
+
*
|
|
486
|
+
* > When using the `MaxResults` and `NextToken` parameters for a paginated query, the returned `TotalCount` parameter value is invalid.
|
|
485
487
|
*
|
|
486
488
|
* @example
|
|
487
489
|
* 1
|
|
@@ -12,7 +12,7 @@ export class ModifyDedicatedHostsChargeTypeRequest extends $dara.Model {
|
|
|
12
12
|
*
|
|
13
13
|
* Default value: true.
|
|
14
14
|
*
|
|
15
|
-
* >
|
|
15
|
+
* > If you do not have sufficient balance in your account, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can pay for the order.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* false
|
|
@@ -61,9 +61,9 @@ export class ModifyDedicatedHostsChargeTypeRequest extends $dara.Model {
|
|
|
61
61
|
detailFee?: boolean;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* Specifies whether to perform only a dry run
|
|
64
|
+
* Specifies whether to perform only a dry run. Valid values:
|
|
65
65
|
*
|
|
66
|
-
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized Resource Access Management (RAM) users, and missing parameter values.
|
|
66
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized Resource Access Management (RAM) users, and missing parameter values. Otherwise, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
67
67
|
* * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
68
68
|
*
|
|
69
69
|
* Default value: false.
|
|
@@ -90,7 +90,7 @@ export class ModifyDedicatedHostsChargeTypeResponseBody extends $dara.Model {
|
|
|
90
90
|
feeOfInstances?: ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstances;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The order
|
|
93
|
+
* The ID of the order. This is returned only when the payment method is changed to subscription.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* 20413515388****
|
|
@@ -5,15 +5,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyInstanceNetworkOptionsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The bandwidth weight.
|
|
8
|
+
* The bandwidth weight.
|
|
9
|
+
*
|
|
10
|
+
* The supported values vary with instance types. You can query the bandwidth weights supported by the current instance type by using the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/2679699.html).
|
|
9
11
|
*
|
|
10
12
|
* Valid values:
|
|
11
13
|
*
|
|
12
|
-
* * Vpc-L1.
|
|
13
|
-
* * Vpc-L2.
|
|
14
|
-
* * Ebs-L1.
|
|
15
|
-
* * Ebs-L2.
|
|
16
|
-
* * Default.
|
|
14
|
+
* * Vpc-L1: Vpc-L1.
|
|
15
|
+
* * Vpc-L2: Vpc-L2.
|
|
16
|
+
* * Ebs-L1: Ebs-L1.
|
|
17
|
+
* * Ebs-L2: Ebs-L2.
|
|
18
|
+
* * Default: the Default.
|
|
17
19
|
*
|
|
18
20
|
* @example
|
|
19
21
|
* Vpc-L1
|
|
@@ -21,7 +23,7 @@ export class ModifyInstanceNetworkOptionsRequest extends $dara.Model {
|
|
|
21
23
|
bandwidthWeighting?: string;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
|
-
* The ID of the instance
|
|
26
|
+
* The ID of the instance whose network bandwidth weight is to be modified.
|
|
25
27
|
*
|
|
26
28
|
* @example
|
|
27
29
|
* i-bp67acfmxazb4p****
|