public class InquiryPriceCreateInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
InquiryPriceCreateInstanceRequest() |
InquiryPriceCreateInstanceRequest(InquiryPriceCreateInstanceRequest 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 |
getBillingMode()
Get Billing mode.
|
Long |
getGoodsNum()
Get Number of instances.
|
Long |
getMemSize()
Get Memory capacity in MB, which must be a multiple of 1,024.
|
Long |
getPeriod()
Get Length of purchase in months, which is required when creating a monthly-subscribed instance.
|
String |
getProductVersion()
Get Valid values: `local` (local disk edition), `cloud` (cloud disk edition), `cdc` (dedicated cluster edition).
|
Long |
getRedisReplicasNum()
Get Instance replica quantity.
|
Long |
getRedisShardNum()
Get Instance shard quantity.
|
Boolean |
getReplicasReadonly()
Get Whether to support read-only replicas.
|
Long |
getTypeId()
Get Instance type.
|
Long |
getZoneId()
Get ID of the AZ where the instance resides.
|
String |
getZoneName()
Get Name of the AZ where the instance resides.
|
void |
setBillingMode(Long BillingMode)
Set Billing mode.
|
void |
setGoodsNum(Long GoodsNum)
Set Number of instances.
|
void |
setMemSize(Long MemSize)
Set Memory capacity in MB, which must be a multiple of 1,024.
|
void |
setPeriod(Long Period)
Set Length of purchase in months, which is required when creating a monthly-subscribed instance.
|
void |
setProductVersion(String ProductVersion)
Set Valid values: `local` (local disk edition), `cloud` (cloud disk edition), `cdc` (dedicated cluster edition).
|
void |
setRedisReplicasNum(Long RedisReplicasNum)
Set Instance replica quantity.
|
void |
setRedisShardNum(Long RedisShardNum)
Set Instance shard quantity.
|
void |
setReplicasReadonly(Boolean ReplicasReadonly)
Set Whether to support read-only replicas.
|
void |
setTypeId(Long TypeId)
Set Instance type.
|
void |
setZoneId(Long ZoneId)
Set ID of the AZ where the instance resides.
|
void |
setZoneName(String ZoneName)
Set Name of the AZ where the instance resides.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public InquiryPriceCreateInstanceRequest()
public InquiryPriceCreateInstanceRequest(InquiryPriceCreateInstanceRequest source)
public Long getTypeId()
public void setTypeId(Long TypeId)
TypeId
- Instance type. Valid values: `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture).public Long getMemSize()
public void setMemSize(Long MemSize)
MemSize
- Memory capacity in MB, which must be a multiple of 1,024. It is subject to the purchasable specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
If `TypeId` indicates the standard architecture, `MemSize` indicates the total memory capacity of an instance; if `TypeId` indicates the cluster architecture, `MemSize` indicates the memory capacity per shard.public Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum
- Number of instances. The actual quantity purchasable at a time is subject to the specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).public Long getPeriod()
public void setPeriod(Long Period)
Period
- Length of purchase in months, which is required when creating a monthly-subscribed instance. Value range: [1,2,3,4,5,6,7,8,9,10,11,12,24,36]. For pay-as-you-go instances, set the parameter to `1`.public Long getBillingMode()
public void setBillingMode(Long BillingMode)
BillingMode
- Billing mode. Valid values: `0` (pay-as-you-go), `1` (monthly subscription).public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- ID of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).public Long getRedisShardNum()
public void setRedisShardNum(Long RedisShardNum)
RedisShardNum
- Instance shard quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, Redis 2.8 standalone edition, and Redis 4.0 standard architecture.public Long getRedisReplicasNum()
public void setRedisReplicasNum(Long RedisReplicasNum)
RedisReplicasNum
- Instance replica quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition.public Boolean getReplicasReadonly()
public void setReplicasReadonly(Boolean ReplicasReadonly)
ReplicasReadonly
- Whether to support read-only replicas. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition.public String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- Name of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).public String getProductVersion()
public void setProductVersion(String ProductVersion)
ProductVersion
- Valid values: `local` (local disk edition), `cloud` (cloud disk edition), `cdc` (dedicated cluster edition). Default value: `local` (local disk edition)Copyright © 2024. All rights reserved.