@alicloud/ecs20140526 7.0.0 → 7.0.1
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 +212 -97
- package/dist/client.js +219 -97
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +298 -97
package/src/client.ts
CHANGED
|
@@ -1218,6 +1218,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationArn extends $d
|
|
|
1218
1218
|
}
|
|
1219
1219
|
|
|
1220
1220
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk extends $dara.Model {
|
|
1221
|
+
/**
|
|
1222
|
+
* @example
|
|
1223
|
+
* sp-bp67acfmxazb4p****
|
|
1224
|
+
*/
|
|
1221
1225
|
autoSnapshotPolicyId?: string;
|
|
1222
1226
|
/**
|
|
1223
1227
|
* @remarks
|
|
@@ -1437,6 +1441,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk exten
|
|
|
1437
1441
|
}
|
|
1438
1442
|
|
|
1439
1443
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationSystemDisk extends $dara.Model {
|
|
1444
|
+
/**
|
|
1445
|
+
* @example
|
|
1446
|
+
* sp-bp67acfmxazb4p****
|
|
1447
|
+
*/
|
|
1440
1448
|
autoSnapshotPolicyId?: string;
|
|
1441
1449
|
/**
|
|
1442
1450
|
* @remarks
|
|
@@ -1577,6 +1585,10 @@ export class CreateAutoProvisioningGroupRequestLaunchConfigurationTag extends $d
|
|
|
1577
1585
|
}
|
|
1578
1586
|
|
|
1579
1587
|
export class CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
1588
|
+
/**
|
|
1589
|
+
* @example
|
|
1590
|
+
* false
|
|
1591
|
+
*/
|
|
1580
1592
|
loginAsNonRoot?: boolean;
|
|
1581
1593
|
static names(): { [key: string]: string } {
|
|
1582
1594
|
return {
|
|
@@ -1976,7 +1988,15 @@ export class CreateAutoProvisioningGroupRequestLaunchConfiguration extends $dara
|
|
|
1976
1988
|
* Month
|
|
1977
1989
|
*/
|
|
1978
1990
|
periodUnit?: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* @example
|
|
1993
|
+
* 1
|
|
1994
|
+
*/
|
|
1979
1995
|
spotDuration?: number;
|
|
1996
|
+
/**
|
|
1997
|
+
* @example
|
|
1998
|
+
* Terminate
|
|
1999
|
+
*/
|
|
1980
2000
|
spotInterruptionBehavior?: string;
|
|
1981
2001
|
static names(): { [key: string]: string } {
|
|
1982
2002
|
return {
|
|
@@ -2169,7 +2189,7 @@ export class CreateAutoProvisioningGroupRequestLaunchTemplateConfig extends $dar
|
|
|
2169
2189
|
imageId?: string;
|
|
2170
2190
|
/**
|
|
2171
2191
|
* @remarks
|
|
2172
|
-
* The instance family level of the instance type in extended configuration N. This parameter is used to filter instance types. Valid values of Nextended configuration N
|
|
2192
|
+
* The instance family level of the instance type in extended configuration N. This parameter is used to filter instance types. Valid values of Nextended configuration N, Valid values:
|
|
2173
2193
|
*
|
|
2174
2194
|
* * EntryLevel: entry level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
2175
2195
|
* * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
@@ -2548,6 +2568,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn exte
|
|
|
2548
2568
|
}
|
|
2549
2569
|
|
|
2550
2570
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk extends $dara.Model {
|
|
2571
|
+
/**
|
|
2572
|
+
* @example
|
|
2573
|
+
* sp-bp67acfmxazb4p****
|
|
2574
|
+
*/
|
|
2551
2575
|
autoSnapshotPolicyId?: string;
|
|
2552
2576
|
/**
|
|
2553
2577
|
* @remarks
|
|
@@ -2767,6 +2791,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
|
|
|
2767
2791
|
}
|
|
2768
2792
|
|
|
2769
2793
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk extends $dara.Model {
|
|
2794
|
+
/**
|
|
2795
|
+
* @example
|
|
2796
|
+
* sp-bp67acfmxazb4p****
|
|
2797
|
+
*/
|
|
2770
2798
|
autoSnapshotPolicyId?: string;
|
|
2771
2799
|
/**
|
|
2772
2800
|
* @remarks
|
|
@@ -2907,6 +2935,10 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag exte
|
|
|
2907
2935
|
}
|
|
2908
2936
|
|
|
2909
2937
|
export class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions extends $dara.Model {
|
|
2938
|
+
/**
|
|
2939
|
+
* @example
|
|
2940
|
+
* false
|
|
2941
|
+
*/
|
|
2910
2942
|
loginAsNonRoot?: boolean;
|
|
2911
2943
|
static names(): { [key: string]: string } {
|
|
2912
2944
|
return {
|
|
@@ -3306,7 +3338,15 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends
|
|
|
3306
3338
|
* Month
|
|
3307
3339
|
*/
|
|
3308
3340
|
periodUnit?: string;
|
|
3341
|
+
/**
|
|
3342
|
+
* @example
|
|
3343
|
+
* 1
|
|
3344
|
+
*/
|
|
3309
3345
|
spotDuration?: number;
|
|
3346
|
+
/**
|
|
3347
|
+
* @example
|
|
3348
|
+
* Terminate
|
|
3349
|
+
*/
|
|
3310
3350
|
spotInterruptionBehavior?: string;
|
|
3311
3351
|
static names(): { [key: string]: string } {
|
|
3312
3352
|
return {
|
|
@@ -3499,7 +3539,7 @@ export class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extend
|
|
|
3499
3539
|
imageId?: string;
|
|
3500
3540
|
/**
|
|
3501
3541
|
* @remarks
|
|
3502
|
-
* The instance family level of the instance type in extended configuration N. This parameter is used to filter instance types. Valid values of Nextended configuration N
|
|
3542
|
+
* The instance family level of the instance type in extended configuration N. This parameter is used to filter instance types. Valid values of Nextended configuration N, Valid values:
|
|
3503
3543
|
*
|
|
3504
3544
|
* * EntryLevel: entry level (shared instance types). Instance types of this level are the most cost-effective but may not ensure stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
3505
3545
|
* * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
@@ -7683,6 +7723,32 @@ export class CreatePrefixListRequestEntry extends $dara.Model {
|
|
|
7683
7723
|
}
|
|
7684
7724
|
}
|
|
7685
7725
|
|
|
7726
|
+
export class CreatePrefixListRequestTag extends $dara.Model {
|
|
7727
|
+
key?: string;
|
|
7728
|
+
value?: string;
|
|
7729
|
+
static names(): { [key: string]: string } {
|
|
7730
|
+
return {
|
|
7731
|
+
key: 'Key',
|
|
7732
|
+
value: 'Value',
|
|
7733
|
+
};
|
|
7734
|
+
}
|
|
7735
|
+
|
|
7736
|
+
static types(): { [key: string]: any } {
|
|
7737
|
+
return {
|
|
7738
|
+
key: 'string',
|
|
7739
|
+
value: 'string',
|
|
7740
|
+
};
|
|
7741
|
+
}
|
|
7742
|
+
|
|
7743
|
+
validate() {
|
|
7744
|
+
super.validate();
|
|
7745
|
+
}
|
|
7746
|
+
|
|
7747
|
+
constructor(map?: { [key: string]: any }) {
|
|
7748
|
+
super(map);
|
|
7749
|
+
}
|
|
7750
|
+
}
|
|
7751
|
+
|
|
7686
7752
|
export class CreateRouteEntryRequestNextHopList extends $dara.Model {
|
|
7687
7753
|
nextHopId?: string;
|
|
7688
7754
|
nextHopType?: string;
|
|
@@ -33216,6 +33282,84 @@ export class DescribePrefixListAttributesResponseBodyEntries extends $dara.Model
|
|
|
33216
33282
|
}
|
|
33217
33283
|
}
|
|
33218
33284
|
|
|
33285
|
+
export class DescribePrefixListsRequestTag extends $dara.Model {
|
|
33286
|
+
key?: string;
|
|
33287
|
+
value?: string;
|
|
33288
|
+
static names(): { [key: string]: string } {
|
|
33289
|
+
return {
|
|
33290
|
+
key: 'Key',
|
|
33291
|
+
value: 'Value',
|
|
33292
|
+
};
|
|
33293
|
+
}
|
|
33294
|
+
|
|
33295
|
+
static types(): { [key: string]: any } {
|
|
33296
|
+
return {
|
|
33297
|
+
key: 'string',
|
|
33298
|
+
value: 'string',
|
|
33299
|
+
};
|
|
33300
|
+
}
|
|
33301
|
+
|
|
33302
|
+
validate() {
|
|
33303
|
+
super.validate();
|
|
33304
|
+
}
|
|
33305
|
+
|
|
33306
|
+
constructor(map?: { [key: string]: any }) {
|
|
33307
|
+
super(map);
|
|
33308
|
+
}
|
|
33309
|
+
}
|
|
33310
|
+
|
|
33311
|
+
export class DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag extends $dara.Model {
|
|
33312
|
+
tagKey?: string;
|
|
33313
|
+
tagValue?: string;
|
|
33314
|
+
static names(): { [key: string]: string } {
|
|
33315
|
+
return {
|
|
33316
|
+
tagKey: 'TagKey',
|
|
33317
|
+
tagValue: 'TagValue',
|
|
33318
|
+
};
|
|
33319
|
+
}
|
|
33320
|
+
|
|
33321
|
+
static types(): { [key: string]: any } {
|
|
33322
|
+
return {
|
|
33323
|
+
tagKey: 'string',
|
|
33324
|
+
tagValue: 'string',
|
|
33325
|
+
};
|
|
33326
|
+
}
|
|
33327
|
+
|
|
33328
|
+
validate() {
|
|
33329
|
+
super.validate();
|
|
33330
|
+
}
|
|
33331
|
+
|
|
33332
|
+
constructor(map?: { [key: string]: any }) {
|
|
33333
|
+
super(map);
|
|
33334
|
+
}
|
|
33335
|
+
}
|
|
33336
|
+
|
|
33337
|
+
export class DescribePrefixListsResponseBodyPrefixListsPrefixListTags extends $dara.Model {
|
|
33338
|
+
tag?: DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag[];
|
|
33339
|
+
static names(): { [key: string]: string } {
|
|
33340
|
+
return {
|
|
33341
|
+
tag: 'Tag',
|
|
33342
|
+
};
|
|
33343
|
+
}
|
|
33344
|
+
|
|
33345
|
+
static types(): { [key: string]: any } {
|
|
33346
|
+
return {
|
|
33347
|
+
tag: { 'type': 'array', 'itemType': DescribePrefixListsResponseBodyPrefixListsPrefixListTagsTag },
|
|
33348
|
+
};
|
|
33349
|
+
}
|
|
33350
|
+
|
|
33351
|
+
validate() {
|
|
33352
|
+
if(Array.isArray(this.tag)) {
|
|
33353
|
+
$dara.Model.validateArray(this.tag);
|
|
33354
|
+
}
|
|
33355
|
+
super.validate();
|
|
33356
|
+
}
|
|
33357
|
+
|
|
33358
|
+
constructor(map?: { [key: string]: any }) {
|
|
33359
|
+
super(map);
|
|
33360
|
+
}
|
|
33361
|
+
}
|
|
33362
|
+
|
|
33219
33363
|
export class DescribePrefixListsResponseBodyPrefixListsPrefixList extends $dara.Model {
|
|
33220
33364
|
/**
|
|
33221
33365
|
* @remarks
|
|
@@ -33276,6 +33420,8 @@ export class DescribePrefixListsResponseBodyPrefixListsPrefixList extends $dara.
|
|
|
33276
33420
|
* PrefixListNameSample
|
|
33277
33421
|
*/
|
|
33278
33422
|
prefixListName?: string;
|
|
33423
|
+
resourceGroupId?: string;
|
|
33424
|
+
tags?: DescribePrefixListsResponseBodyPrefixListsPrefixListTags;
|
|
33279
33425
|
static names(): { [key: string]: string } {
|
|
33280
33426
|
return {
|
|
33281
33427
|
addressFamily: 'AddressFamily',
|
|
@@ -33285,6 +33431,8 @@ export class DescribePrefixListsResponseBodyPrefixListsPrefixList extends $dara.
|
|
|
33285
33431
|
maxEntries: 'MaxEntries',
|
|
33286
33432
|
prefixListId: 'PrefixListId',
|
|
33287
33433
|
prefixListName: 'PrefixListName',
|
|
33434
|
+
resourceGroupId: 'ResourceGroupId',
|
|
33435
|
+
tags: 'Tags',
|
|
33288
33436
|
};
|
|
33289
33437
|
}
|
|
33290
33438
|
|
|
@@ -33297,10 +33445,15 @@ export class DescribePrefixListsResponseBodyPrefixListsPrefixList extends $dara.
|
|
|
33297
33445
|
maxEntries: 'number',
|
|
33298
33446
|
prefixListId: 'string',
|
|
33299
33447
|
prefixListName: 'string',
|
|
33448
|
+
resourceGroupId: 'string',
|
|
33449
|
+
tags: DescribePrefixListsResponseBodyPrefixListsPrefixListTags,
|
|
33300
33450
|
};
|
|
33301
33451
|
}
|
|
33302
33452
|
|
|
33303
33453
|
validate() {
|
|
33454
|
+
if(this.tags && typeof (this.tags as any).validate === 'function') {
|
|
33455
|
+
(this.tags as any).validate();
|
|
33456
|
+
}
|
|
33304
33457
|
super.validate();
|
|
33305
33458
|
}
|
|
33306
33459
|
|
|
@@ -46449,6 +46602,8 @@ export class RunInstancesRequestSystemDisk extends $dara.Model {
|
|
|
46449
46602
|
*
|
|
46450
46603
|
* > The system disks of instances cannot be encrypted during instance creation in Hong Kong Zone D or Singapore Zone A.
|
|
46451
46604
|
*
|
|
46605
|
+
* > When you use a shared encrypted image to create the disk based on an encrypted snapshot, you must set Encrypted to true to ensure that the disk uses an encryption key of your own.
|
|
46606
|
+
*
|
|
46452
46607
|
* @example
|
|
46453
46608
|
* false
|
|
46454
46609
|
*/
|
|
@@ -46465,7 +46620,7 @@ export class RunInstancesRequestSystemDisk extends $dara.Model {
|
|
|
46465
46620
|
* @remarks
|
|
46466
46621
|
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
46467
46622
|
*
|
|
46468
|
-
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}
|
|
46623
|
+
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
46469
46624
|
*
|
|
46470
46625
|
* > This parameter is available only if you set `SystemDisk.Category` to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
46471
46626
|
*
|
|
@@ -46587,8 +46742,8 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46587
46742
|
* @remarks
|
|
46588
46743
|
* Specifies whether to enable the performance burst feature for data disk N. Valid values:
|
|
46589
46744
|
*
|
|
46590
|
-
* * true
|
|
46591
|
-
* * false
|
|
46745
|
+
* * true: enables the performance burst feature for the data disk.
|
|
46746
|
+
* * false: disables the performance burst feature for the data disk.
|
|
46592
46747
|
*
|
|
46593
46748
|
* > This parameter is available only if you set DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
46594
46749
|
*
|
|
@@ -46600,25 +46755,25 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46600
46755
|
* @remarks
|
|
46601
46756
|
* The category of data disk N. Valid values:
|
|
46602
46757
|
*
|
|
46603
|
-
* * cloud_efficiency: ultra disk
|
|
46758
|
+
* * cloud_efficiency: ultra disk.
|
|
46604
46759
|
*
|
|
46605
|
-
* * cloud_ssd: standard SSD
|
|
46760
|
+
* * cloud_ssd: standard SSD.
|
|
46606
46761
|
*
|
|
46607
|
-
* * cloud_essd: ESSD
|
|
46762
|
+
* * cloud_essd: ESSD.
|
|
46608
46763
|
*
|
|
46609
|
-
* * cloud: basic disk
|
|
46764
|
+
* * cloud: basic disk.
|
|
46610
46765
|
*
|
|
46611
|
-
* * cloud_auto: ESSD AutoPL disk
|
|
46766
|
+
* * cloud_auto: ESSD AutoPL disk.
|
|
46612
46767
|
*
|
|
46613
|
-
* * cloud_essd_entry: ESSD Entry disk
|
|
46768
|
+
* * cloud_essd_entry: ESSD Entry disk.
|
|
46614
46769
|
*
|
|
46615
46770
|
* **
|
|
46616
46771
|
*
|
|
46617
46772
|
* **Note** This parameter can be set to `cloud_essd_entry` only when `InstanceType` is set to `ecs.u1` or `ecs.e`.
|
|
46618
46773
|
*
|
|
46619
|
-
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
46774
|
+
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk.
|
|
46620
46775
|
*
|
|
46621
|
-
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
46776
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk.
|
|
46622
46777
|
*
|
|
46623
46778
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
46624
46779
|
*
|
|
@@ -46628,10 +46783,10 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46628
46783
|
category?: string;
|
|
46629
46784
|
/**
|
|
46630
46785
|
* @remarks
|
|
46631
|
-
* Specifies whether to release data disk N when the instance is released. Valid values:
|
|
46786
|
+
* Specifies whether to release data disk N when the associated instance is released. Valid values:
|
|
46632
46787
|
*
|
|
46633
|
-
* * true
|
|
46634
|
-
* * false
|
|
46788
|
+
* * true: releases the data disk when the associated instance is released.
|
|
46789
|
+
* * false: does not release the data disk when the associated instance is released.
|
|
46635
46790
|
*
|
|
46636
46791
|
* Default value: true.
|
|
46637
46792
|
*
|
|
@@ -46654,7 +46809,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46654
46809
|
* * 1st to 25th data disks: /dev/xvd`[b-z]`.
|
|
46655
46810
|
* * From the 26th data disk on: /dev/xvd`[aa-zz]`. For example, the 26th data disk is named /dev/xvdaa, the 27th data disk is named /dev/xvdab, and so on.
|
|
46656
46811
|
*
|
|
46657
|
-
* > This parameter is applicable to scenarios in which a full image is used to create instances. A full image is an image that contains an operating system, application software, and business data. For these scenarios, you can set
|
|
46812
|
+
* > This parameter is applicable to scenarios in which a full image is used to create instances. A full image is an image that contains an operating system, application software, and business data. For these scenarios, you can set this parameter to the mount point of data disk N in the full image and modify `DataDisk.N.Size` and `DataDisk.N.Category` to change the category and size of data disk N created based on the image.
|
|
46658
46813
|
*
|
|
46659
46814
|
* @example
|
|
46660
46815
|
* /dev/xvdb
|
|
@@ -46680,11 +46835,13 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46680
46835
|
* @remarks
|
|
46681
46836
|
* Specifies whether to encrypt data disk N. Valid values:
|
|
46682
46837
|
*
|
|
46683
|
-
* * true
|
|
46684
|
-
* * false
|
|
46838
|
+
* * true: encrypts the data disk.
|
|
46839
|
+
* * false: does not encrypt the data disk.
|
|
46685
46840
|
*
|
|
46686
46841
|
* Default value: false.
|
|
46687
46842
|
*
|
|
46843
|
+
* > When you use a shared encrypted image to create the disk based on an encrypted snapshot, you must set Encrypted to true to ensure that the disk uses an encryption key of your own.
|
|
46844
|
+
*
|
|
46688
46845
|
* @example
|
|
46689
46846
|
* false
|
|
46690
46847
|
*/
|
|
@@ -46702,9 +46859,9 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46702
46859
|
* The performance level of the ESSD to use as data disk N. The value of N must be the same as that in `DataDisk.N.Category` when DataDisk.N.Category is set to cloud_essd. Valid values:
|
|
46703
46860
|
*
|
|
46704
46861
|
* * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
46705
|
-
* * PL1 (default): A single ESSD can deliver up to
|
|
46706
|
-
* * PL2: A single ESSD can deliver up to
|
|
46707
|
-
* * PL3: A single ESSD can deliver up to
|
|
46862
|
+
* * PL1 (default): A single ESSD can deliver up to 50,000 random read/write IOPS.
|
|
46863
|
+
* * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
46864
|
+
* * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
46708
46865
|
*
|
|
46709
46866
|
* For information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
46710
46867
|
*
|
|
@@ -46716,7 +46873,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46716
46873
|
* @remarks
|
|
46717
46874
|
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
46718
46875
|
*
|
|
46719
|
-
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}
|
|
46876
|
+
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
46720
46877
|
*
|
|
46721
46878
|
* > This parameter is available only if you set DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
46722
46879
|
*
|
|
@@ -46741,7 +46898,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46741
46898
|
*
|
|
46742
46899
|
* * Valid values when DataDisk.N.Category is set to cloud: 5 to 2000.
|
|
46743
46900
|
*
|
|
46744
|
-
* * Valid values when
|
|
46901
|
+
* * Valid values when DataDisk.N.Category is set to cloud_auto: 1 to 65536.
|
|
46745
46902
|
*
|
|
46746
46903
|
* * Valid values when DataDisk.N.Category is set to cloud_essd_entry: 10 to 32768.
|
|
46747
46904
|
*
|
|
@@ -46755,7 +46912,7 @@ export class RunInstancesRequestDataDisk extends $dara.Model {
|
|
|
46755
46912
|
* @remarks
|
|
46756
46913
|
* The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16.
|
|
46757
46914
|
*
|
|
46758
|
-
* When
|
|
46915
|
+
* When `DataDisk.N.SnapshotId` is specified, `DataDisk.N.Size` is ignored. The data disk is created with the size of the specified snapshot. Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
46759
46916
|
*
|
|
46760
46917
|
* @example
|
|
46761
46918
|
* s-bp17441ohwka0yuh****
|
|
@@ -47180,7 +47337,7 @@ export class RunInstancesRequestNetworkOptions extends $dara.Model {
|
|
|
47180
47337
|
*
|
|
47181
47338
|
* Default value: true.
|
|
47182
47339
|
*
|
|
47183
|
-
* > The Jumbo Frames feature is supported by only 8th-generation or later instance types. For more information, see [
|
|
47340
|
+
* > The Jumbo Frames feature is supported by only 8th-generation or later instance types. For more information, see [Jumbo Frames](https://help.aliyun.com/document_detail/200512.html).
|
|
47184
47341
|
*
|
|
47185
47342
|
* @example
|
|
47186
47343
|
* false
|
|
@@ -61150,8 +61307,10 @@ export class CreatePrefixListRequest extends $dara.Model {
|
|
|
61150
61307
|
* cn-chengdu
|
|
61151
61308
|
*/
|
|
61152
61309
|
regionId?: string;
|
|
61310
|
+
resourceGroupId?: string;
|
|
61153
61311
|
resourceOwnerAccount?: string;
|
|
61154
61312
|
resourceOwnerId?: number;
|
|
61313
|
+
tag?: CreatePrefixListRequestTag[];
|
|
61155
61314
|
static names(): { [key: string]: string } {
|
|
61156
61315
|
return {
|
|
61157
61316
|
addressFamily: 'AddressFamily',
|
|
@@ -61163,8 +61322,10 @@ export class CreatePrefixListRequest extends $dara.Model {
|
|
|
61163
61322
|
ownerId: 'OwnerId',
|
|
61164
61323
|
prefixListName: 'PrefixListName',
|
|
61165
61324
|
regionId: 'RegionId',
|
|
61325
|
+
resourceGroupId: 'ResourceGroupId',
|
|
61166
61326
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
61167
61327
|
resourceOwnerId: 'ResourceOwnerId',
|
|
61328
|
+
tag: 'Tag',
|
|
61168
61329
|
};
|
|
61169
61330
|
}
|
|
61170
61331
|
|
|
@@ -61179,8 +61340,10 @@ export class CreatePrefixListRequest extends $dara.Model {
|
|
|
61179
61340
|
ownerId: 'number',
|
|
61180
61341
|
prefixListName: 'string',
|
|
61181
61342
|
regionId: 'string',
|
|
61343
|
+
resourceGroupId: 'string',
|
|
61182
61344
|
resourceOwnerAccount: 'string',
|
|
61183
61345
|
resourceOwnerId: 'number',
|
|
61346
|
+
tag: { 'type': 'array', 'itemType': CreatePrefixListRequestTag },
|
|
61184
61347
|
};
|
|
61185
61348
|
}
|
|
61186
61349
|
|
|
@@ -61188,6 +61351,9 @@ export class CreatePrefixListRequest extends $dara.Model {
|
|
|
61188
61351
|
if(Array.isArray(this.entry)) {
|
|
61189
61352
|
$dara.Model.validateArray(this.entry);
|
|
61190
61353
|
}
|
|
61354
|
+
if(Array.isArray(this.tag)) {
|
|
61355
|
+
$dara.Model.validateArray(this.tag);
|
|
61356
|
+
}
|
|
61191
61357
|
super.validate();
|
|
61192
61358
|
}
|
|
61193
61359
|
|
|
@@ -86034,8 +86200,10 @@ export class DescribePrefixListsRequest extends $dara.Model {
|
|
|
86034
86200
|
* cn-chengdu
|
|
86035
86201
|
*/
|
|
86036
86202
|
regionId?: string;
|
|
86203
|
+
resourceGroupId?: string;
|
|
86037
86204
|
resourceOwnerAccount?: string;
|
|
86038
86205
|
resourceOwnerId?: number;
|
|
86206
|
+
tag?: DescribePrefixListsRequestTag[];
|
|
86039
86207
|
static names(): { [key: string]: string } {
|
|
86040
86208
|
return {
|
|
86041
86209
|
addressFamily: 'AddressFamily',
|
|
@@ -86046,8 +86214,10 @@ export class DescribePrefixListsRequest extends $dara.Model {
|
|
|
86046
86214
|
prefixListId: 'PrefixListId',
|
|
86047
86215
|
prefixListName: 'PrefixListName',
|
|
86048
86216
|
regionId: 'RegionId',
|
|
86217
|
+
resourceGroupId: 'ResourceGroupId',
|
|
86049
86218
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
86050
86219
|
resourceOwnerId: 'ResourceOwnerId',
|
|
86220
|
+
tag: 'Tag',
|
|
86051
86221
|
};
|
|
86052
86222
|
}
|
|
86053
86223
|
|
|
@@ -86061,8 +86231,10 @@ export class DescribePrefixListsRequest extends $dara.Model {
|
|
|
86061
86231
|
prefixListId: { 'type': 'array', 'itemType': 'string' },
|
|
86062
86232
|
prefixListName: 'string',
|
|
86063
86233
|
regionId: 'string',
|
|
86234
|
+
resourceGroupId: 'string',
|
|
86064
86235
|
resourceOwnerAccount: 'string',
|
|
86065
86236
|
resourceOwnerId: 'number',
|
|
86237
|
+
tag: { 'type': 'array', 'itemType': DescribePrefixListsRequestTag },
|
|
86066
86238
|
};
|
|
86067
86239
|
}
|
|
86068
86240
|
|
|
@@ -86070,6 +86242,9 @@ export class DescribePrefixListsRequest extends $dara.Model {
|
|
|
86070
86242
|
if(Array.isArray(this.prefixListId)) {
|
|
86071
86243
|
$dara.Model.validateArray(this.prefixListId);
|
|
86072
86244
|
}
|
|
86245
|
+
if(Array.isArray(this.tag)) {
|
|
86246
|
+
$dara.Model.validateArray(this.tag);
|
|
86247
|
+
}
|
|
86073
86248
|
super.validate();
|
|
86074
86249
|
}
|
|
86075
86250
|
|
|
@@ -102926,7 +103101,7 @@ export class ModifyImageShareGroupPermissionResponse extends $dara.Model {
|
|
|
102926
103101
|
export class ModifyImageSharePermissionRequest extends $dara.Model {
|
|
102927
103102
|
/**
|
|
102928
103103
|
* @remarks
|
|
102929
|
-
* The
|
|
103104
|
+
* The IDs of Alibaba Cloud accounts to which you want to share the custom image. Valid values of N: 1 to 10. If you specify more than 10 Alibaba Cloud account IDs, the system processes only the first 10 account IDs. The excess account IDs are ignored.
|
|
102930
103105
|
*
|
|
102931
103106
|
* @example
|
|
102932
103107
|
* 1234567890
|
|
@@ -102934,7 +103109,9 @@ export class ModifyImageSharePermissionRequest extends $dara.Model {
|
|
|
102934
103109
|
addAccount?: string[];
|
|
102935
103110
|
/**
|
|
102936
103111
|
* @remarks
|
|
102937
|
-
* The ID of the custom image.
|
|
103112
|
+
* The ID of the shared custom image.
|
|
103113
|
+
*
|
|
103114
|
+
* > You can share images encrypted by using CMKs but cannot share images encrypted by using service keys. When you share an image encrypted by using a service key, an error is reported.
|
|
102938
103115
|
*
|
|
102939
103116
|
* This parameter is required.
|
|
102940
103117
|
*
|
|
@@ -102977,7 +103154,7 @@ export class ModifyImageSharePermissionRequest extends $dara.Model {
|
|
|
102977
103154
|
regionId?: string;
|
|
102978
103155
|
/**
|
|
102979
103156
|
* @remarks
|
|
102980
|
-
* The
|
|
103157
|
+
* The IDs of Alibaba Cloud accounts from which you want to unshare the custom image. Valid values of N: 1 to 10. If you specify more than 10 Alibaba Cloud account IDs, the system processes only the first 10 account IDs. The excess account IDs are ignored.
|
|
102981
103158
|
*
|
|
102982
103159
|
* @example
|
|
102983
103160
|
* 1234567890
|
|
@@ -111840,7 +112017,7 @@ export class RedeployInstanceRequest extends $dara.Model {
|
|
|
111840
112017
|
*
|
|
111841
112018
|
* Default value: false.
|
|
111842
112019
|
*
|
|
111843
|
-
* >
|
|
112020
|
+
* > A forced stop is equivalent to a power outage and can result in loss of data that is not written to storage devices. We recommend that you redeploy instances when they are in the Stopped state.
|
|
111844
112021
|
*
|
|
111845
112022
|
* @example
|
|
111846
112023
|
* false
|
|
@@ -113532,10 +113709,12 @@ export class ReplaceSystemDiskRequest extends $dara.Model {
|
|
|
113532
113709
|
* @remarks
|
|
113533
113710
|
* Specifies whether to encrypt the disk. Valid values:
|
|
113534
113711
|
*
|
|
113535
|
-
* * true
|
|
113536
|
-
* * false
|
|
113712
|
+
* * true
|
|
113713
|
+
* * false
|
|
113537
113714
|
*
|
|
113538
|
-
* Default value: false
|
|
113715
|
+
* Default value: false.
|
|
113716
|
+
*
|
|
113717
|
+
* > When you use a shared encrypted image to create the disk based on an encrypted snapshot, you must set Encrypted to true to ensure that the disk uses an encryption key of your own.
|
|
113539
113718
|
*
|
|
113540
113719
|
* @example
|
|
113541
113720
|
* false
|
|
@@ -113543,9 +113722,7 @@ export class ReplaceSystemDiskRequest extends $dara.Model {
|
|
|
113543
113722
|
encrypted?: boolean;
|
|
113544
113723
|
/**
|
|
113545
113724
|
* @remarks
|
|
113546
|
-
* The ID of the image
|
|
113547
|
-
*
|
|
113548
|
-
* If the `DiskId` parameter is not specified, this parameter is required.
|
|
113725
|
+
* The ID of the image used to replace the system disk. This parameter is required.
|
|
113549
113726
|
*
|
|
113550
113727
|
* @example
|
|
113551
113728
|
* m-bp67acfmxazb4ph****
|
|
@@ -117208,7 +117385,7 @@ export class RunInstancesRequest extends $dara.Model {
|
|
|
117208
117385
|
export class RunInstancesResponseBody extends $dara.Model {
|
|
117209
117386
|
/**
|
|
117210
117387
|
* @remarks
|
|
117211
|
-
* The IDs
|
|
117388
|
+
* The instance IDs (`InstanceIdSet`).
|
|
117212
117389
|
*/
|
|
117213
117390
|
instanceIdSets?: RunInstancesResponseBodyInstanceIdSets;
|
|
117214
117391
|
/**
|
|
@@ -118072,6 +118249,10 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
118072
118249
|
* ssh root@192.168.0.246
|
|
118073
118250
|
*/
|
|
118074
118251
|
commandLine?: string;
|
|
118252
|
+
/**
|
|
118253
|
+
* @example
|
|
118254
|
+
* Intranet
|
|
118255
|
+
*/
|
|
118075
118256
|
connectionType?: string;
|
|
118076
118257
|
/**
|
|
118077
118258
|
* @remarks
|
|
@@ -126143,6 +126324,10 @@ export default class Client extends OpenApi {
|
|
|
126143
126324
|
query["RegionId"] = request.regionId;
|
|
126144
126325
|
}
|
|
126145
126326
|
|
|
126327
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
126328
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
126329
|
+
}
|
|
126330
|
+
|
|
126146
126331
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
126147
126332
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
126148
126333
|
}
|
|
@@ -126151,6 +126336,10 @@ export default class Client extends OpenApi {
|
|
|
126151
126336
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
126152
126337
|
}
|
|
126153
126338
|
|
|
126339
|
+
if (!$dara.isNull(request.tag)) {
|
|
126340
|
+
query["Tag"] = request.tag;
|
|
126341
|
+
}
|
|
126342
|
+
|
|
126154
126343
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
126155
126344
|
query: OpenApiUtil.query(query),
|
|
126156
126345
|
});
|
|
@@ -137389,6 +137578,10 @@ export default class Client extends OpenApi {
|
|
|
137389
137578
|
query["RegionId"] = request.regionId;
|
|
137390
137579
|
}
|
|
137391
137580
|
|
|
137581
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
137582
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
137583
|
+
}
|
|
137584
|
+
|
|
137392
137585
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
137393
137586
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
137394
137587
|
}
|
|
@@ -137397,6 +137590,10 @@ export default class Client extends OpenApi {
|
|
|
137397
137590
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
137398
137591
|
}
|
|
137399
137592
|
|
|
137593
|
+
if (!$dara.isNull(request.tag)) {
|
|
137594
|
+
query["Tag"] = request.tag;
|
|
137595
|
+
}
|
|
137596
|
+
|
|
137400
137597
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
137401
137598
|
query: OpenApiUtil.query(query),
|
|
137402
137599
|
});
|
|
@@ -143325,7 +143522,7 @@ export default class Client extends OpenApi {
|
|
|
143325
143522
|
}
|
|
143326
143523
|
|
|
143327
143524
|
/**
|
|
143328
|
-
* Modifies an automatic snapshot policy.
|
|
143525
|
+
* Modifies an automatic snapshot policy. For example, you can change the points in time of the day at which to create automatic snapshots, days of the week on which to create automatic snapshots, and retention period of automatic snapshots for the automatic snapshot policy.
|
|
143329
143526
|
*
|
|
143330
143527
|
* @remarks
|
|
143331
143528
|
* Before you call this operation, take note of the following items:
|
|
@@ -143410,7 +143607,7 @@ export default class Client extends OpenApi {
|
|
|
143410
143607
|
}
|
|
143411
143608
|
|
|
143412
143609
|
/**
|
|
143413
|
-
* Modifies an automatic snapshot policy.
|
|
143610
|
+
* Modifies an automatic snapshot policy. For example, you can change the points in time of the day at which to create automatic snapshots, days of the week on which to create automatic snapshots, and retention period of automatic snapshots for the automatic snapshot policy.
|
|
143414
143611
|
*
|
|
143415
143612
|
* @remarks
|
|
143416
143613
|
* Before you call this operation, take note of the following items:
|
|
@@ -145420,16 +145617,15 @@ export default class Client extends OpenApi {
|
|
|
145420
145617
|
* @remarks
|
|
145421
145618
|
* Before you call this operation, read [Share a custom image](https://help.aliyun.com/document_detail/25463.html).
|
|
145422
145619
|
* When you call this operation, take note of the following sharing rules:
|
|
145423
|
-
* * You can share only the custom images
|
|
145424
|
-
* *
|
|
145425
|
-
*
|
|
145426
|
-
* * If an Elastic Compute Service (ECS) instance was created ([RunInstances](https://help.aliyun.com/document_detail/63440.html)) from a shared image, you cannot re-initialize the instance ([ReInitDisk](https://help.aliyun.com/document_detail/25519.html)) after the image owner unshares or deletes the image ([DeleteImage](https://help.aliyun.com/document_detail/25537.html)).
|
|
145620
|
+
* * **Sharing limits**: You can share only the custom images created in your Alibaba Cloud account to other Alibaba Cloud accounts. A custom image can be shared to up to 50 Alibaba Cloud accounts. You can share a custom image to up to 10 Alibaba Cloud accounts at a time.
|
|
145621
|
+
* * **Impacts on an instance**: If an instance was created ([RunInstances](https://help.aliyun.com/document_detail/63440.html)) from a shared image, you cannot re-initialize the system disk of the instance ([ReInitDisk](https://help.aliyun.com/document_detail/25519.html)) after the image owner unshares or deletes the image ([DeleteImage](https://help.aliyun.com/document_detail/25537.html)).
|
|
145622
|
+
* > You can share images encrypted by using customer master keys (CMKs) but cannot share images encrypted by using service keys. When you share an image encrypted by using a service key, an error is reported. If you want to share an image encrypted by using a service key, call the CopyImage operation to copy the image and change the encryption key of the image copy to a CMK.
|
|
145427
145623
|
* When you publish or unpublish a community image, take note of the following items:
|
|
145428
|
-
* * Alibaba Cloud provides only the platform on which community images can be published and managed. The owner of a community image is responsible for the quality and updates of the image. Make sure that you acknowledge and agree to the Community Image Agreement. Otherwise, you cannot publish community images. For more information, see [Publish a community image](https://help.aliyun.com/document_detail/208370.html).
|
|
145429
|
-
* * You cannot publish encrypted images as community images.
|
|
145430
|
-
* * Community images are publicly available. A community image is available to all Alibaba Cloud accounts in the region where the image resides.
|
|
145431
|
-
* * You cannot share, export, or copy community images.
|
|
145432
|
-
* * After you unpublish a community image, the image is no longer available to other Alibaba Cloud accounts. If an image is shared to other Alibaba Cloud accounts before it is unpublished, the image remains available to the accounts.
|
|
145624
|
+
* * **Responsibilities and agreement**: Alibaba Cloud provides only the platform on which community images can be published and managed. The owner of a community image is responsible for the quality and updates of the image. Make sure that you acknowledge and agree to the Community Image Agreement. Otherwise, you cannot publish community images. For more information, see [Publish a community image](https://help.aliyun.com/document_detail/208370.html).
|
|
145625
|
+
* * **Encryption limits**: You cannot publish encrypted images as community images.
|
|
145626
|
+
* * **Openness**: Community images are publicly available. A community image is available to all Alibaba Cloud accounts in the region where the image resides.
|
|
145627
|
+
* * **Feature limits**: You cannot share, export, or copy community images.
|
|
145628
|
+
* * **Unpublication impacts**: After you unpublish a community image, the image is no longer available to other Alibaba Cloud accounts. If an image is shared to other Alibaba Cloud accounts before it is unpublished, the image remains available to the accounts.
|
|
145433
145629
|
*
|
|
145434
145630
|
* @param request - ModifyImageSharePermissionRequest
|
|
145435
145631
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -145501,16 +145697,15 @@ export default class Client extends OpenApi {
|
|
|
145501
145697
|
* @remarks
|
|
145502
145698
|
* Before you call this operation, read [Share a custom image](https://help.aliyun.com/document_detail/25463.html).
|
|
145503
145699
|
* When you call this operation, take note of the following sharing rules:
|
|
145504
|
-
* * You can share only the custom images
|
|
145505
|
-
* *
|
|
145506
|
-
*
|
|
145507
|
-
* * If an Elastic Compute Service (ECS) instance was created ([RunInstances](https://help.aliyun.com/document_detail/63440.html)) from a shared image, you cannot re-initialize the instance ([ReInitDisk](https://help.aliyun.com/document_detail/25519.html)) after the image owner unshares or deletes the image ([DeleteImage](https://help.aliyun.com/document_detail/25537.html)).
|
|
145700
|
+
* * **Sharing limits**: You can share only the custom images created in your Alibaba Cloud account to other Alibaba Cloud accounts. A custom image can be shared to up to 50 Alibaba Cloud accounts. You can share a custom image to up to 10 Alibaba Cloud accounts at a time.
|
|
145701
|
+
* * **Impacts on an instance**: If an instance was created ([RunInstances](https://help.aliyun.com/document_detail/63440.html)) from a shared image, you cannot re-initialize the system disk of the instance ([ReInitDisk](https://help.aliyun.com/document_detail/25519.html)) after the image owner unshares or deletes the image ([DeleteImage](https://help.aliyun.com/document_detail/25537.html)).
|
|
145702
|
+
* > You can share images encrypted by using customer master keys (CMKs) but cannot share images encrypted by using service keys. When you share an image encrypted by using a service key, an error is reported. If you want to share an image encrypted by using a service key, call the CopyImage operation to copy the image and change the encryption key of the image copy to a CMK.
|
|
145508
145703
|
* When you publish or unpublish a community image, take note of the following items:
|
|
145509
|
-
* * Alibaba Cloud provides only the platform on which community images can be published and managed. The owner of a community image is responsible for the quality and updates of the image. Make sure that you acknowledge and agree to the Community Image Agreement. Otherwise, you cannot publish community images. For more information, see [Publish a community image](https://help.aliyun.com/document_detail/208370.html).
|
|
145510
|
-
* * You cannot publish encrypted images as community images.
|
|
145511
|
-
* * Community images are publicly available. A community image is available to all Alibaba Cloud accounts in the region where the image resides.
|
|
145512
|
-
* * You cannot share, export, or copy community images.
|
|
145513
|
-
* * After you unpublish a community image, the image is no longer available to other Alibaba Cloud accounts. If an image is shared to other Alibaba Cloud accounts before it is unpublished, the image remains available to the accounts.
|
|
145704
|
+
* * **Responsibilities and agreement**: Alibaba Cloud provides only the platform on which community images can be published and managed. The owner of a community image is responsible for the quality and updates of the image. Make sure that you acknowledge and agree to the Community Image Agreement. Otherwise, you cannot publish community images. For more information, see [Publish a community image](https://help.aliyun.com/document_detail/208370.html).
|
|
145705
|
+
* * **Encryption limits**: You cannot publish encrypted images as community images.
|
|
145706
|
+
* * **Openness**: Community images are publicly available. A community image is available to all Alibaba Cloud accounts in the region where the image resides.
|
|
145707
|
+
* * **Feature limits**: You cannot share, export, or copy community images.
|
|
145708
|
+
* * **Unpublication impacts**: After you unpublish a community image, the image is no longer available to other Alibaba Cloud accounts. If an image is shared to other Alibaba Cloud accounts before it is unpublished, the image remains available to the accounts.
|
|
145514
145709
|
*
|
|
145515
145710
|
* @param request - ModifyImageSharePermissionRequest
|
|
145516
145711
|
* @returns ModifyImageSharePermissionResponse
|
|
@@ -150058,27 +150253,28 @@ export default class Client extends OpenApi {
|
|
|
150058
150253
|
* Redeploys an Elastic Compute Service (ECS) instance. You can call this operation to redeploy an ECS instance when the instance receives a system event notification.
|
|
150059
150254
|
*
|
|
150060
150255
|
* @remarks
|
|
150061
|
-
*
|
|
150062
|
-
*
|
|
150063
|
-
*
|
|
150064
|
-
*
|
|
150065
|
-
* * If the instance is in the `
|
|
150256
|
+
* ## Usage notes
|
|
150257
|
+
* RedeployInstance is an asynchronous operation. The operation migrates the instance to a healthy physical server and then restarts the instance. After the instance is redeployed, it enters the Running (`Running`) state. If the instance fails to be redeployed, it returns to the original physical server and the state before the redeployment.
|
|
150258
|
+
* When you call this operation, take note of the following item:
|
|
150259
|
+
* * The instance must be in the Running (Running) or Stopped (Stopped) state. After the instance is redeployed, the following changes occur to the status of the instance:
|
|
150260
|
+
* * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
|
|
150261
|
+
* * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
|
|
150066
150262
|
* * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
|
|
150067
|
-
* * If
|
|
150068
|
-
* * If
|
|
150069
|
-
* *
|
|
150070
|
-
* The following table describes the
|
|
150263
|
+
* * If `OperationLocks` in the response of the DescribeInstances operation contains `"LockReason": "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
|
|
150264
|
+
* * If an instance receives notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for the instance, you cannot call this operation to redeploy the instance.
|
|
150265
|
+
* * When you handle a local disk-related system event for an instance, if the damaged local disk is isolated but the SystemMaintenance.RebootAndReInitErrorDisk (**instance restart and re-initialization of damaged disks due to system maintenance**) event is not sent, you can still call the RedeployInstance operation to redeploy the instance. For more information, see [O&M scenarios and system events for instances equipped with local disks](https://help.aliyun.com/document_detail/107693.html).
|
|
150266
|
+
* The following table describes the types and states of events that you can handle by calling the RedeployInstance operation.
|
|
150071
150267
|
* |System event|Event status|
|
|
150072
150268
|
* |---|---|
|
|
150073
150269
|
* |Instance restart due to system maintenance (SystemMaintenance.Reboot)|Inquiring and Scheduled|
|
|
150074
150270
|
* |Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)|Inquiring and Scheduled|
|
|
150075
150271
|
* |Instance restart and replacement of damaged disks due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk)|Inquiring|
|
|
150076
150272
|
* |Instance restart and re-initialization of damaged disks due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk)|Inquiring|
|
|
150077
|
-
* |Instance redeployment due to system errors (SystemFailure.Redeploy)|Inquiring
|
|
150078
|
-
* |For ECS instances that use only local disks: instance restart due to
|
|
150273
|
+
* |Instance redeployment due to system errors (SystemFailure.Redeploy)|Inquiring|
|
|
150274
|
+
* |For ECS instances that use only local disks: instance restart due to system errors (SystemFailure.Reboot)|Executing|
|
|
150079
150275
|
* |Isolation of damaged disks due to system maintenance (SystemMaintenance.IsolateErrorDisk)|Inquiring|
|
|
150080
150276
|
* |Re-initialization of damaged disks due to system maintenance (SystemMaintenance.ReInitErrorDisk)|Inquiring|
|
|
150081
|
-
* **Note**When instances
|
|
150277
|
+
* **Note** When the system redeploys instances equipped with local disks, the local disks are re-initialized and data on the local disks is cleared.
|
|
150082
150278
|
*
|
|
150083
150279
|
* @param request - RedeployInstanceRequest
|
|
150084
150280
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -150132,27 +150328,28 @@ export default class Client extends OpenApi {
|
|
|
150132
150328
|
* Redeploys an Elastic Compute Service (ECS) instance. You can call this operation to redeploy an ECS instance when the instance receives a system event notification.
|
|
150133
150329
|
*
|
|
150134
150330
|
* @remarks
|
|
150135
|
-
*
|
|
150136
|
-
*
|
|
150137
|
-
*
|
|
150138
|
-
*
|
|
150139
|
-
* * If the instance is in the `
|
|
150331
|
+
* ## Usage notes
|
|
150332
|
+
* RedeployInstance is an asynchronous operation. The operation migrates the instance to a healthy physical server and then restarts the instance. After the instance is redeployed, it enters the Running (`Running`) state. If the instance fails to be redeployed, it returns to the original physical server and the state before the redeployment.
|
|
150333
|
+
* When you call this operation, take note of the following item:
|
|
150334
|
+
* * The instance must be in the Running (Running) or Stopped (Stopped) state. After the instance is redeployed, the following changes occur to the status of the instance:
|
|
150335
|
+
* * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
|
|
150336
|
+
* * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
|
|
150140
150337
|
* * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
|
|
150141
|
-
* * If
|
|
150142
|
-
* * If
|
|
150143
|
-
* *
|
|
150144
|
-
* The following table describes the
|
|
150338
|
+
* * If `OperationLocks` in the response of the DescribeInstances operation contains `"LockReason": "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
|
|
150339
|
+
* * If an instance receives notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for the instance, you cannot call this operation to redeploy the instance.
|
|
150340
|
+
* * When you handle a local disk-related system event for an instance, if the damaged local disk is isolated but the SystemMaintenance.RebootAndReInitErrorDisk (**instance restart and re-initialization of damaged disks due to system maintenance**) event is not sent, you can still call the RedeployInstance operation to redeploy the instance. For more information, see [O&M scenarios and system events for instances equipped with local disks](https://help.aliyun.com/document_detail/107693.html).
|
|
150341
|
+
* The following table describes the types and states of events that you can handle by calling the RedeployInstance operation.
|
|
150145
150342
|
* |System event|Event status|
|
|
150146
150343
|
* |---|---|
|
|
150147
150344
|
* |Instance restart due to system maintenance (SystemMaintenance.Reboot)|Inquiring and Scheduled|
|
|
150148
150345
|
* |Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)|Inquiring and Scheduled|
|
|
150149
150346
|
* |Instance restart and replacement of damaged disks due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk)|Inquiring|
|
|
150150
150347
|
* |Instance restart and re-initialization of damaged disks due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk)|Inquiring|
|
|
150151
|
-
* |Instance redeployment due to system errors (SystemFailure.Redeploy)|Inquiring
|
|
150152
|
-
* |For ECS instances that use only local disks: instance restart due to
|
|
150348
|
+
* |Instance redeployment due to system errors (SystemFailure.Redeploy)|Inquiring|
|
|
150349
|
+
* |For ECS instances that use only local disks: instance restart due to system errors (SystemFailure.Reboot)|Executing|
|
|
150153
150350
|
* |Isolation of damaged disks due to system maintenance (SystemMaintenance.IsolateErrorDisk)|Inquiring|
|
|
150154
150351
|
* |Re-initialization of damaged disks due to system maintenance (SystemMaintenance.ReInitErrorDisk)|Inquiring|
|
|
150155
|
-
* **Note**When instances
|
|
150352
|
+
* **Note** When the system redeploys instances equipped with local disks, the local disks are re-initialized and data on the local disks is cleared.
|
|
150156
150353
|
*
|
|
150157
150354
|
* @param request - RedeployInstanceRequest
|
|
150158
150355
|
* @returns RedeployInstanceResponse
|
|
@@ -152168,23 +152365,25 @@ export default class Client extends OpenApi {
|
|
|
152168
152365
|
* Creates Elastic Compute Service (ECS) instances. This operation helps simplify the procedure to create and manage ECS instances. When you call this operation, you can choose to create multiple ECS instances at a time, automatically start the instances, and assign public IP addresses to the instances based on outbound bandwidth parameters. You can also use the features provided by the operation, such as configuring an automatic release time for instances, using a launch template, and configuring custom CPU options, to customize instance configurations for better management of instances.
|
|
152169
152366
|
*
|
|
152170
152367
|
* @remarks
|
|
152171
|
-
*
|
|
152368
|
+
* \\*\\* When you create an ECS instance, you are charged for ECS resources, including the [instance type](https://help.aliyun.com/document_detail/25398.html), [image](https://help.aliyun.com/document_detail/179021.html), [block storage](https://help.aliyun.com/document_detail/179022.html), and [public bandwidth](https://help.aliyun.com/document_detail/25411.html). Before you call this operation, familiarize yourself with the billing rules and
|
|
152369
|
+
* [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS resources. \\*\\*
|
|
152172
152370
|
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
152173
152371
|
* ### [](#)Considerations
|
|
152174
|
-
* *
|
|
152175
|
-
* *
|
|
152372
|
+
* * If the resource inventory is insufficient to complete instance creation, Alibaba Cloud immediately sends an instance creation failure event (SystemFailure.Delete). You can call the [DescribeInstanceHistoryEvents](https://help.aliyun.com/document_detail/2679897.html) operation to check whether an instance creation failure event exists. For more information, see [System events related to instance creation failures](https://help.aliyun.com/document_detail/2545990.html).
|
|
152373
|
+
* * Make sure that the number of ECS instances you create or the number of vCPUs on ECS instances of all instance types you create does not exceed the corresponding quota. Go to the [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to view the quotas.
|
|
152374
|
+
* * Before you create ECS instances of the Virtual Private Cloud (VPC) type in a region, [create a VPC](https://help.aliyun.com/document_detail/65430.html) in the region.
|
|
152176
152375
|
* ### [](#)Precautions
|
|
152177
|
-
* * If you create a subscription instance (`PrePaid`), available coupons in your account are used
|
|
152178
|
-
* * You can call the RunInstances operation to create up to 100 ECS instances
|
|
152376
|
+
* * If you create a subscription instance (`PrePaid`), available coupons in your account are automatically used.
|
|
152377
|
+
* * You can call the RunInstances operation to create up to 100 ECS instances in a single request. To create more than 100 ECS instances, we recommend that you initiate multiple requests in batches or concurrently.
|
|
152179
152378
|
* * If you set `InternetMaxBandwidthOut` to a value greater than 0, public IP addresses are automatically assigned to the ECS instances to be created.
|
|
152180
|
-
* > For the limits on the sum of maximum public bandwidths of ECS instances that use the pay-by-bandwidth billing method for network usage per region per Alibaba Cloud account, see the [Public bandwidth
|
|
152379
|
+
* > For the limits on the sum of maximum public bandwidths of ECS instances that use the pay-by-bandwidth billing method for network usage per region per Alibaba Cloud account, see the [Public bandwidth](~~25412#BandwidthQuota~~) section of the "Limits and quotas on ECS" topic.
|
|
152181
152380
|
* ### [](#)Suggestions
|
|
152182
152381
|
* * **Test scenarios**: Set `DryRun` to true to perform a dry run without performing the actual request.
|
|
152183
152382
|
* * **Release of ECS instances**: Use `AutoReleaseTime` to configure an automatic release time for ECS instances in the request to RunInstances or call the [DeleteInstances](https://help.aliyun.com/document_detail/2679710.html) operation to release the instances.
|
|
152184
152383
|
* * **Management and search of ECS instances**: Add tags to the ECS instances by specifying `Tag.N.Key` and `Tag.N.Value` and append incremental suffixes by specifying `UniqueSuffix` to the hostname specified by `HostName` and the instance name specified by `InstanceName`. For more information, see [Batch configure sequential names or hostnames for multiple instances](https://help.aliyun.com/document_detail/196048.html).
|
|
152185
152384
|
* * **Launch template**: A launch template contains the parameters required to create an ECS instance so that you do not have to specify the parameters every time you create ECS instances. You can call the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create a launch template. Then, in the request to `RunInstances`, you can specify `LaunchTemplateId` and `LaunchTemplateVersion` to use the launch template.
|
|
152186
152385
|
* * **Disabling of Hyper-Threading (HT)**: In memory-intensive scenarios, set `CpuOptions.ThreadsPerCore` to 1 to disable HT and increase the memory-to-vCPU ratio.
|
|
152187
|
-
* * **Enabling of Jumbo Frames**: Set `NetworkOptions.EnableJumboFrame` to true to enable the `Jumbo Frames` feature when you create ECS instances. For more information, see [
|
|
152386
|
+
* * **Enabling of Jumbo Frames**: Set `NetworkOptions.EnableJumboFrame` to true to enable the `Jumbo Frames` feature when you create ECS instances. For more information, see [Jumbo Frames](https://help.aliyun.com/document_detail/200512.html).
|
|
152188
152387
|
* ## [](#)Sample requests
|
|
152189
152388
|
* Use a specific image to create ECS instances of a specific instance type in the China (Hangzhou) region. The instances use disks with a specific capacity as the system disk and data disks and are automatically assigned public IP addresses. The instances have user-defined names and logon passwords. The instances are assigned to a specific security group and connected to a specific vSwitch. Request parameters:
|
|
152190
152389
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
@@ -152217,7 +152416,7 @@ export default class Client extends OpenApi {
|
|
|
152217
152416
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
152218
152417
|
* InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
|
|
152219
152418
|
* SpotStrategy:"NoSpot" //Set this parameter to NoSpot, which is the default value and specifies that the instances are created as pay-as-you-go instances.
|
|
152220
|
-
* **Example: Create 20 preemptible instances that use a
|
|
152419
|
+
* **Example: Create 20 preemptible instances that use a specific bidding policy and a protection period**
|
|
152221
152420
|
* Amount:20, //Set the number of ECS instances that you want to create to 20.
|
|
152222
152421
|
* InstanceChargeType:"PostPaid",
|
|
152223
152422
|
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
|
|
@@ -152569,23 +152768,25 @@ export default class Client extends OpenApi {
|
|
|
152569
152768
|
* Creates Elastic Compute Service (ECS) instances. This operation helps simplify the procedure to create and manage ECS instances. When you call this operation, you can choose to create multiple ECS instances at a time, automatically start the instances, and assign public IP addresses to the instances based on outbound bandwidth parameters. You can also use the features provided by the operation, such as configuring an automatic release time for instances, using a launch template, and configuring custom CPU options, to customize instance configurations for better management of instances.
|
|
152570
152769
|
*
|
|
152571
152770
|
* @remarks
|
|
152572
|
-
*
|
|
152771
|
+
* \\*\\* When you create an ECS instance, you are charged for ECS resources, including the [instance type](https://help.aliyun.com/document_detail/25398.html), [image](https://help.aliyun.com/document_detail/179021.html), [block storage](https://help.aliyun.com/document_detail/179022.html), and [public bandwidth](https://help.aliyun.com/document_detail/25411.html). Before you call this operation, familiarize yourself with the billing rules and
|
|
152772
|
+
* [pricing](https://www.alibabacloud.com/zh/pricing-calculator#/commodity/vm_intl) of ECS resources. \\*\\*
|
|
152573
152773
|
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
152574
152774
|
* ### [](#)Considerations
|
|
152575
|
-
* *
|
|
152576
|
-
* *
|
|
152775
|
+
* * If the resource inventory is insufficient to complete instance creation, Alibaba Cloud immediately sends an instance creation failure event (SystemFailure.Delete). You can call the [DescribeInstanceHistoryEvents](https://help.aliyun.com/document_detail/2679897.html) operation to check whether an instance creation failure event exists. For more information, see [System events related to instance creation failures](https://help.aliyun.com/document_detail/2545990.html).
|
|
152776
|
+
* * Make sure that the number of ECS instances you create or the number of vCPUs on ECS instances of all instance types you create does not exceed the corresponding quota. Go to the [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to view the quotas.
|
|
152777
|
+
* * Before you create ECS instances of the Virtual Private Cloud (VPC) type in a region, [create a VPC](https://help.aliyun.com/document_detail/65430.html) in the region.
|
|
152577
152778
|
* ### [](#)Precautions
|
|
152578
|
-
* * If you create a subscription instance (`PrePaid`), available coupons in your account are used
|
|
152579
|
-
* * You can call the RunInstances operation to create up to 100 ECS instances
|
|
152779
|
+
* * If you create a subscription instance (`PrePaid`), available coupons in your account are automatically used.
|
|
152780
|
+
* * You can call the RunInstances operation to create up to 100 ECS instances in a single request. To create more than 100 ECS instances, we recommend that you initiate multiple requests in batches or concurrently.
|
|
152580
152781
|
* * If you set `InternetMaxBandwidthOut` to a value greater than 0, public IP addresses are automatically assigned to the ECS instances to be created.
|
|
152581
|
-
* > For the limits on the sum of maximum public bandwidths of ECS instances that use the pay-by-bandwidth billing method for network usage per region per Alibaba Cloud account, see the [Public bandwidth
|
|
152782
|
+
* > For the limits on the sum of maximum public bandwidths of ECS instances that use the pay-by-bandwidth billing method for network usage per region per Alibaba Cloud account, see the [Public bandwidth](~~25412#BandwidthQuota~~) section of the "Limits and quotas on ECS" topic.
|
|
152582
152783
|
* ### [](#)Suggestions
|
|
152583
152784
|
* * **Test scenarios**: Set `DryRun` to true to perform a dry run without performing the actual request.
|
|
152584
152785
|
* * **Release of ECS instances**: Use `AutoReleaseTime` to configure an automatic release time for ECS instances in the request to RunInstances or call the [DeleteInstances](https://help.aliyun.com/document_detail/2679710.html) operation to release the instances.
|
|
152585
152786
|
* * **Management and search of ECS instances**: Add tags to the ECS instances by specifying `Tag.N.Key` and `Tag.N.Value` and append incremental suffixes by specifying `UniqueSuffix` to the hostname specified by `HostName` and the instance name specified by `InstanceName`. For more information, see [Batch configure sequential names or hostnames for multiple instances](https://help.aliyun.com/document_detail/196048.html).
|
|
152586
152787
|
* * **Launch template**: A launch template contains the parameters required to create an ECS instance so that you do not have to specify the parameters every time you create ECS instances. You can call the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create a launch template. Then, in the request to `RunInstances`, you can specify `LaunchTemplateId` and `LaunchTemplateVersion` to use the launch template.
|
|
152587
152788
|
* * **Disabling of Hyper-Threading (HT)**: In memory-intensive scenarios, set `CpuOptions.ThreadsPerCore` to 1 to disable HT and increase the memory-to-vCPU ratio.
|
|
152588
|
-
* * **Enabling of Jumbo Frames**: Set `NetworkOptions.EnableJumboFrame` to true to enable the `Jumbo Frames` feature when you create ECS instances. For more information, see [
|
|
152789
|
+
* * **Enabling of Jumbo Frames**: Set `NetworkOptions.EnableJumboFrame` to true to enable the `Jumbo Frames` feature when you create ECS instances. For more information, see [Jumbo Frames](https://help.aliyun.com/document_detail/200512.html).
|
|
152589
152790
|
* ## [](#)Sample requests
|
|
152590
152791
|
* Use a specific image to create ECS instances of a specific instance type in the China (Hangzhou) region. The instances use disks with a specific capacity as the system disk and data disks and are automatically assigned public IP addresses. The instances have user-defined names and logon passwords. The instances are assigned to a specific security group and connected to a specific vSwitch. Request parameters:
|
|
152591
152792
|
* RegionId:"cn-hangzhou", //Set the region ID to cn-hangzhou, which specifies the China (Hangzhou) region.
|
|
@@ -152618,7 +152819,7 @@ export default class Client extends OpenApi {
|
|
|
152618
152819
|
* Amount:10, //Set the number of ECS instances that you want to create to 10.
|
|
152619
152820
|
* InstanceChargeType:"PostPaid", //Set the billing method to PostPaid, which specifies the pay-as-you-go billing method.
|
|
152620
152821
|
* SpotStrategy:"NoSpot" //Set this parameter to NoSpot, which is the default value and specifies that the instances are created as pay-as-you-go instances.
|
|
152621
|
-
* **Example: Create 20 preemptible instances that use a
|
|
152822
|
+
* **Example: Create 20 preemptible instances that use a specific bidding policy and a protection period**
|
|
152622
152823
|
* Amount:20, //Set the number of ECS instances that you want to create to 20.
|
|
152623
152824
|
* InstanceChargeType:"PostPaid",
|
|
152624
152825
|
* SpotStrategy:"SpotAsPriceGo", //Set the bidding policy to SpotAsPriceGo, which specifies that the instances are created as preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
|