public class CreateResourceInstancesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
autoRenewal
Specifies whether to enable auto-renewal.
|
String |
chargeType
The billing method of the instance.
|
Integer |
ecsInstanceCount
The number of instances that you want to create.
|
String |
ecsInstanceType
The type of the Elastic Compute Service (ECS) instance.
|
Integer |
systemDiskSize
The size of the system disk.
|
String |
userData
The user-defined information.
|
String |
zone
The zone to which the instance belongs.
|
| 构造器和说明 |
|---|
CreateResourceInstancesRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateResourceInstancesRequest |
build(Map<String,?> map) |
Boolean |
getAutoRenewal() |
String |
getChargeType() |
Integer |
getEcsInstanceCount() |
String |
getEcsInstanceType() |
Integer |
getSystemDiskSize() |
String |
getUserData() |
String |
getZone() |
CreateResourceInstancesRequest |
setAutoRenewal(Boolean autoRenewal) |
CreateResourceInstancesRequest |
setChargeType(String chargeType) |
CreateResourceInstancesRequest |
setEcsInstanceCount(Integer ecsInstanceCount) |
CreateResourceInstancesRequest |
setEcsInstanceType(String ecsInstanceType) |
CreateResourceInstancesRequest |
setSystemDiskSize(Integer systemDiskSize) |
CreateResourceInstancesRequest |
setUserData(String userData) |
CreateResourceInstancesRequest |
setZone(String zone) |
@NameInMap(value="AutoRenewal") public Boolean autoRenewal
Specifies whether to enable auto-renewal. Valid values:
false
@NameInMap(value="ChargeType") public String chargeType
The billing method of the instance. Valid values:
This parameter is required.
example:PrePaid
@NameInMap(value="EcsInstanceCount") public Integer ecsInstanceCount
The number of instances that you want to create. Valid values: 1 to 100.
This parameter is required.
example:5
@NameInMap(value="EcsInstanceType") public String ecsInstanceType
The type of the Elastic Compute Service (ECS) instance.
This parameter is required.
example:ecs.s6-c1m2.xlarge
@NameInMap(value="SystemDiskSize") public Integer systemDiskSize
The size of the system disk. Unit: GiB. Valid values: 200 to 2000. Default value: 200.
example:200
@NameInMap(value="UserData") public String userData
The user-defined information. This parameter is not in use.
example:x112223333
@NameInMap(value="Zone") public String zone
The zone to which the instance belongs.
example:cn-shanghai-f
public static CreateResourceInstancesRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateResourceInstancesRequest setAutoRenewal(Boolean autoRenewal)
public Boolean getAutoRenewal()
public CreateResourceInstancesRequest setChargeType(String chargeType)
public String getChargeType()
public CreateResourceInstancesRequest setEcsInstanceCount(Integer ecsInstanceCount)
public Integer getEcsInstanceCount()
public CreateResourceInstancesRequest setEcsInstanceType(String ecsInstanceType)
public String getEcsInstanceType()
public CreateResourceInstancesRequest setSystemDiskSize(Integer systemDiskSize)
public Integer getSystemDiskSize()
public CreateResourceInstancesRequest setUserData(String userData)
public String getUserData()
public CreateResourceInstancesRequest setZone(String zone)
public String getZone()
Copyright © 2024. All rights reserved.