public class InquiryPriceScaleOutInstanceRequest extends AbstractModel
Constructor and Description |
---|
InquiryPriceScaleOutInstanceRequest() |
InquiryPriceScaleOutInstanceRequest(InquiryPriceScaleOutInstanceRequest 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 |
getCoreCount()
Get 扩容的Core节点数量。
|
String |
getCurrency()
Get 货币种类。取值范围:
CNY:表示人民币。
|
String |
getInstanceId()
Get 实例ID。
|
Long |
getMasterCount()
Get 扩容的Master节点数量。
|
Long |
getPayMode()
Get 实例计费模式。取值范围:
0:表示按量计费。
1:表示包年包月。
|
Long |
getRouterCount()
Get 扩容的Router节点数量。
|
Long |
getTaskCount()
Get 扩容的Task节点数量。
|
Long |
getTimeSpan()
Get 扩容的时长。结合TimeUnit一起使用。
TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
|
String |
getTimeUnit()
Get 扩容的时间单位。取值范围:
s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
|
Long |
getZoneId()
Get 实例所属的可用区ID,例如100003。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/213/15707) 的返回值中的ZoneId字段来获取。
|
void |
setCoreCount(Long CoreCount)
Set 扩容的Core节点数量。
|
void |
setCurrency(String Currency)
Set 货币种类。取值范围:
CNY:表示人民币。
|
void |
setInstanceId(String InstanceId)
Set 实例ID。
|
void |
setMasterCount(Long MasterCount)
Set 扩容的Master节点数量。
|
void |
setPayMode(Long PayMode)
Set 实例计费模式。取值范围:
0:表示按量计费。
1:表示包年包月。
|
void |
setRouterCount(Long RouterCount)
Set 扩容的Router节点数量。
|
void |
setTaskCount(Long TaskCount)
Set 扩容的Task节点数量。
|
void |
setTimeSpan(Long TimeSpan)
Set 扩容的时长。结合TimeUnit一起使用。
TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
|
void |
setTimeUnit(String TimeUnit)
Set 扩容的时间单位。取值范围:
s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
|
void |
setZoneId(Long ZoneId)
Set 实例所属的可用区ID,例如100003。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/213/15707) 的返回值中的ZoneId字段来获取。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public InquiryPriceScaleOutInstanceRequest()
public InquiryPriceScaleOutInstanceRequest(InquiryPriceScaleOutInstanceRequest source)
public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- 扩容的时间单位。取值范围:
public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- 扩容的时长。结合TimeUnit一起使用。
public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- 实例所属的可用区ID,例如100003。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/213/15707) 的返回值中的ZoneId字段来获取。public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- 实例计费模式。取值范围:
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例ID。public Long getCoreCount()
public void setCoreCount(Long CoreCount)
CoreCount
- 扩容的Core节点数量。public Long getTaskCount()
public void setTaskCount(Long TaskCount)
TaskCount
- 扩容的Task节点数量。public String getCurrency()
public void setCurrency(String Currency)
Currency
- 货币种类。取值范围:
public Long getRouterCount()
public void setRouterCount(Long RouterCount)
RouterCount
- 扩容的Router节点数量。public Long getMasterCount()
public void setMasterCount(Long MasterCount)
MasterCount
- 扩容的Master节点数量。Copyright © 2023. All rights reserved.