public class DescribeInstanceTradeParameterRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeInstanceTradeParameterRequest() |
DescribeInstanceTradeParameterRequest(DescribeInstanceTradeParameterRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAutoRenewFlag()
Get Auto-renewal flag.
|
String |
getCollation()
Get Collation of system character sets.
|
Long |
getCpu()
Get Number of CPU cores.
|
String |
getDBVersion()
Get SQL Server version.
|
String[] |
getDrZones()
Get The zone in which the standby node is available.
|
Long |
getGoodsNum()
Get Number of instances purchased this time.
|
String |
getInstanceChargeType()
Get Billing mode.
|
String |
getInstanceType()
Get Type of purchased instances.
|
String |
getMachineType()
Get Host disk type of purchased instances.
|
Long |
getMemory()
Get Instance memory size in GB.
|
Boolean |
getMultiNodes()
Get Whether it is a multi-node architecture instance.
|
Boolean |
getMultiZones()
Get Whether to deploy across availability zones.
|
Long |
getPeriod()
Get Length of purchase of instance.
|
Long |
getProjectId()
Get Project ID.
|
ResourceTag[] |
getResourceTags()
Get Tags associated with the instances to be created.
|
String[] |
getSecurityGroupList()
Get Security group list, which contains security group IDs in the format of sg-xxx.
|
Long |
getSpan()
Get Configuration of the maintenance window, which specifies the maintenance duration in hours.
|
String |
getStartTime()
Get Configuration of the maintenance window, which specifies the start time of daily maintenance.
|
Long |
getStorage()
Get Instance storage capacity in GB.
|
String |
getSubnetId()
Get VPC subnet ID in the format of subnet-bdoe83fa.
|
String |
getTimeZone()
Get System time zone.
|
String |
getVpcId()
Get VPC ID in the format of vpc-dsp338hz.
|
Long[] |
getWeekly()
Get Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed.
|
String |
getZone()
Get Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1).
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Auto-renewal flag.
|
void |
setCollation(String Collation)
Set Collation of system character sets.
|
void |
setCpu(Long Cpu)
Set Number of CPU cores.
|
void |
setDBVersion(String DBVersion)
Set SQL Server version.
|
void |
setDrZones(String[] DrZones)
Set The zone in which the standby node is available.
|
void |
setGoodsNum(Long GoodsNum)
Set Number of instances purchased this time.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Billing mode.
|
void |
setInstanceType(String InstanceType)
Set Type of purchased instances.
|
void |
setMachineType(String MachineType)
Set Host disk type of purchased instances.
|
void |
setMemory(Long Memory)
Set Instance memory size in GB.
|
void |
setMultiNodes(Boolean MultiNodes)
Set Whether it is a multi-node architecture instance.
|
void |
setMultiZones(Boolean MultiZones)
Set Whether to deploy across availability zones.
|
void |
setPeriod(Long Period)
Set Length of purchase of instance.
|
void |
setProjectId(Long ProjectId)
Set Project ID.
|
void |
setResourceTags(ResourceTag[] ResourceTags)
Set Tags associated with the instances to be created.
|
void |
setSecurityGroupList(String[] SecurityGroupList)
Set Security group list, which contains security group IDs in the format of sg-xxx.
|
void |
setSpan(Long Span)
Set Configuration of the maintenance window, which specifies the maintenance duration in hours.
|
void |
setStartTime(String StartTime)
Set Configuration of the maintenance window, which specifies the start time of daily maintenance.
|
void |
setStorage(Long Storage)
Set Instance storage capacity in GB.
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID in the format of subnet-bdoe83fa.
|
void |
setTimeZone(String TimeZone)
Set System time zone.
|
void |
setVpcId(String VpcId)
Set VPC ID in the format of vpc-dsp338hz.
|
void |
setWeekly(Long[] Weekly)
Set Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed.
|
void |
setZone(String Zone)
Set Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeInstanceTradeParameterRequest()
public DescribeInstanceTradeParameterRequest(DescribeInstanceTradeParameterRequest source)
public String getZone()
public void setZone(String Zone)
Zone
- Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU cores.public Long getMemory()
public void setMemory(Long Memory)
Memory
- Instance memory size in GB.public Long getStorage()
public void setStorage(Long Storage)
Storage
- Instance storage capacity in GB.public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Type of purchased instances. HA: high-availability edition (including dual-server high-availability edition and Always On cluster edition); RO: read-only replica edition; SI: single-node edition; BI: business intelligence edition; cvmHA: new high-availability edition; cvmRO: new read-only replica edition; MultiHA: multi-node edition; cvmMultiHA: multi-node cloud disk edition.public String getMachineType()
public void setMachineType(String MachineType)
MachineType
- Host disk type of purchased instances. CLOUD_HSSD - Enhanced SSD for CVMs, CLOUD_TSSD - Tremendous SSD for CVMs, CLOUD_BSSD - Balanced SSD for CVMs.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Billing mode. Valid value: POSTPAID (pay-as-you-go).public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID.public Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum
- Number of instances purchased this time. Default value: 1. Maximum value: 10.public String getDBVersion()
public void setDBVersion(String DBVersion)
DBVersion
- SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID in the format of subnet-bdoe83fa. `SubnetId` and `VpcId` should be set or ignored simultaneously.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID in the format of vpc-dsp338hz. `SubnetId` and `VpcId` should be set or ignored simultaneously.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.public String[] getSecurityGroupList()
public void setSecurityGroupList(String[] SecurityGroupList)
SecurityGroupList
- Security group list, which contains security group IDs in the format of sg-xxx.public Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.public Long[] getWeekly()
public void setWeekly(Long[] Weekly)
Weekly
- Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Configuration of the maintenance window, which specifies the start time of daily maintenance.public Long getSpan()
public void setSpan(Long Span)
Span
- Configuration of the maintenance window, which specifies the maintenance duration in hours.public Boolean getMultiZones()
public void setMultiZones(Boolean MultiZones)
MultiZones
- Whether to deploy across availability zones. Default value: false.public ResourceTag[] getResourceTags()
public void setResourceTags(ResourceTag[] ResourceTags)
ResourceTags
- Tags associated with the instances to be created.public String getTimeZone()
public void setTimeZone(String TimeZone)
TimeZone
- System time zone. Default value: `China Standard Time`.public String getCollation()
public void setCollation(String Collation)
Collation
- Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.public Boolean getMultiNodes()
public void setMultiNodes(Boolean MultiNodes)
MultiNodes
- Whether it is a multi-node architecture instance. Default value: `false`.public String[] getDrZones()
public void setDrZones(String[] DrZones)
DrZones
- The zone in which the standby node is available. Default is empty. If it is a multi-node architecture, it must be transmitted. When MultiNodes = true, the availability zones of the primary and standby nodes cannot all be the same. The minimum number of availability zones for the standby nodes is 2, and the maximum is 5.Copyright © 2025. All rights reserved.