Parameter | Type | Description | Example |
---|---|---|---|
object | The common descriptions of Elastic Compute Service (ECS) resources, such as the billing method, instance type, image, system disk, and data disk. | ||
InstanceType | string | The ECS instance type.
| ecs.c7.4xlarge |
InstanceId | string | The instance ID. | i-bp1bzqq4rj1eemun**** |
PrivateIpAddress | string | The IP address of the virtual private cloud (VPC) in which the ECS instance is deployed. | 172.16.**.** |
ImageId | string | The ID of the image to be used for instance booting. You can call the DescribeImages operation to query the available image resources. | aliyun_3_x64_20G_alibase_20221102.vhd |
OsName | string | OsName | |
OsNameEN | string | OsNameEN | CentOS 7.6 64 bit |
InstanceChargeType | string | The billing method. Valid values:
Default value: PostPaid. If you set this parameter to PrePaid, you must make sure that your account supports payment by balance or credit. Otherwise, the InvalidPayMethod error message will be returned. | PostPaid |
PeriodUnit | string | The unit of the subscription period. Valid values:
| Month |
Period | integer | The subscription period of the instance. The unit is specified by the PeriodUnit parameter. This parameter takes effect and is required only when InstanceChargeType is set to PrePaid. If the DedicatedHostId parameter is specified, the subscription duration of the instance must be no longer than that of the dedicated host. Valid values:
| 1 |
AutoRenew | boolean | Specifies whether to enable auto-renewal for the reserved instance. This parameter takes effect only when InstanceChargeType is set to PrePaid. Valid values:
Default value: false. | false |
AutoRenewPeriod | integer | The auto-renewal period. Valid values:
Default value: 1. | 1 |
SpotStrategy | string | The bidding policy for the pay-as-you-go instance. This parameter is valid only when InstanceChargeType is set to PostPaid. Valid values:
Default value: NoSpot. | NoSpot |
SpotPriceLimit | float | The maximum hourly price of the preemptible instance. This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit. A maximum of three decimal places can be specified. | 0.97 |
Duration | integer | The protection period for the preemptible instance. Unit: hours. Default value: 1. Valid values:
Alibaba Cloud sends an ECS system event to notify you five minutes before the instance is released. Preemptible instances are billed by second. We recommend that you specify an appropriate protection period based on your business requirements. | 1 |
EnableHT | boolean | Specifies whether to enable hyper-threading for the node. Valid values:
| true |
SystemDisk | object | The system disk configurations of the node. | |
Category | string | The category of the system disk. Valid values:
| cloud_essd |
Size | integer | The disk size. Unit: GiB. Valid values:
| 40 |
Level | string | The performance level of the ESSD that is used as the system disk. Valid values:
| PL0 |
DataDisks | array<object> | The data disks. Note
You can specify up to 16 data disks.
| |
object | The configurations of the data disk. | ||
Category | string | The disk category. Valid values:
| cloud_essd |
Size | integer | The disk size. Valid values of N: 1 to 16. Unit: GiB. Valid values:
| 40 |
Level | string | The performance level of the ESSD to be used as the data disk. Valid values:
| PL0 |
DeleteWithInstance | boolean | Specifies whether to release data disk N when the instance is released. Valid values:
Default value: true. | false |