public class InstanceSet extends AbstractModel
header, skipSign
Constructor and Description |
---|
InstanceSet() |
InstanceSet(InstanceSet 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 |
getAppid()
Get App ID of a user, which is an application ID that uniquely corresponds to the account ID.
|
Long |
getAutoRenewFlag()
Get Whether the automatic renewal flag is set for an instance.
|
String |
getBackupMode()
Get Backup mode.
|
Long |
getBillingMode()
Get Billing mode.
|
Long |
getClientLimit()
Get Number of client connections.
|
Long |
getClientLimitMax()
Get Maximum value that can be set for the maximum number of client connections.
|
Long |
getClientLimitMin()
Get Minimum value that can be set for the maximum number of client connections.
|
String |
getCloseTime()
Get Time when an instance starts to be isolated.
|
String |
getCreatetime()
Get Instance creation time, for example, in the format of 2020-01-15 10:20:00.
|
String |
getCurrentProxyVersion()
Get Current proxy version of the instance.
|
String |
getCurrentRedisVersion()
Get Current cache minor version of the instance.
|
String |
getDeadlineTime()
Get Expiration time of a monthly subscription instance.
|
String |
getDedicatedClusterId()
Get CDC cluster ID.
|
Long |
getDiskSize()
Get For TencentDB for Redis® instances, ignore this parameter.
|
Long |
getDtsStatus()
Get DTS status.
|
String |
getEngine()
Get Engine.
|
String |
getInstanceId()
Get Instance ID.
|
String |
getInstanceName()
Get Instance name.
|
InstanceNode[] |
getInstanceNode()
Get Instance node information.
|
InstanceTagInfo[] |
getInstanceTags()
Get Information on tags associated with the instance.
|
String |
getInstanceTitle()
Get Description of the instance running status, for example, running.
|
String |
getIPv6()
Get Internal parameter, which can be ignored.
|
String |
getMonitorVersion()
Get Monitoring version.1m: monitoring with the 1-minute granularity.
|
Long |
getNetLimit()
Get Shard bandwidth limit.
|
Boolean |
getNoAuth()
Get Whether the instance is password-free.true: password-free instance.false: password required by the instance.
|
RedisNodeInfo[] |
getNodeSet()
Get Node details of the instance.
|
String |
getOfflineTime()
Get Default termination time of isolated instances, for example, in the format of 2020-02-15 10:20:00.
|
Long |
getPasswordFree()
Get Password-free instance flag.
|
String |
getPolarisServer()
Get Polaris service address for internal use.
|
Long |
getPort()
Get Instance port number.
|
Long |
getPriceId()
Get Billing ID.
|
String |
getProductType()
Get Product type.
|
String |
getProductVersion()
Get Product edition.local: local disk.cloud: cloud disk edition.cdc: CDC cluster edition.
|
Long |
getProjectId()
Get Project ID.
|
String |
getProjectName()
Get Project name
|
Long |
getReadOnly()
Get Instance read-only flag.
|
String |
getRedisClusterId()
Get CDC cluster ID of TencentDB for Redis®.
|
Long |
getRedisReplicasNum()
Get Number of replicas.
|
Long |
getRedisShardNum()
Get Number of shards.
|
Long |
getRedisShardSize()
Get Shard size.
|
String |
getRegion()
Get Region information on the instance.
|
Long |
getRegionId()
Get Region ID.1: Guangzhou.4: Shanghai.5: Hong Kong (China).7: Shanghai Finance.8: Beijing.9: Singapore.11: Shenzhen Finance.15: Western US (Silicon Valley).16: Chengdu.17: Frankfurt.18: Seoul.19: Chongqing.22: Eastern US (Virginia).23: Bangkok.25: Tokyo.
|
String |
getRemainBandwidthDuration()
Get Internal parameter, which can be ignored.
|
Float |
getSize()
Get Instance memory capacity.
|
Float |
getSizeUsed()
Deprecated.
|
Long |
getSlaveReadWeight()
Get Read weight of a secondary node.
|
Long |
getStatus()
Get Current instance status.
|
Long |
getSubnetId()
Get ID of the subnet under VPC, for example, 46315.
|
Long |
getSubStatus()
Get Sub-status returned for the instance in the process.
|
String[] |
getTags()
Get Anti-affinity tag.
|
Long |
getType()
Get Instance type.
|
String |
getUniqSubnetId()
Get ID of the subnet under VPC, for example, subnet-fd3j6l35mm0.
|
String |
getUniqVpcId()
Get VPC ID, for example, vpc-fk33jsf43kgv.
|
String |
getUpgradeProxyVersion()
Get Upgradable proxy version for the instance.
|
String |
getUpgradeRedisVersion()
Get Upgradable cache minor version for the instance.
|
String |
getVip6()
Get This parameter encounters a naming issue.
|
Long |
getVpcId()
Get VPC ID, for example, 75101.
|
String |
getWanAddress()
Get Public network address.
|
String |
getWanIp()
Get Instance VIP.
|
Long |
getZoneId()
Get Zone ID.
|
void |
setAppid(Long Appid)
Set App ID of a user, which is an application ID that uniquely corresponds to the account ID.
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Whether the automatic renewal flag is set for an instance.
|
void |
setBackupMode(String BackupMode)
Set Backup mode.
|
void |
setBillingMode(Long BillingMode)
Set Billing mode.
|
void |
setClientLimit(Long ClientLimit)
Set Number of client connections.
|
void |
setClientLimitMax(Long ClientLimitMax)
Set Maximum value that can be set for the maximum number of client connections.
|
void |
setClientLimitMin(Long ClientLimitMin)
Set Minimum value that can be set for the maximum number of client connections.
|
void |
setCloseTime(String CloseTime)
Set Time when an instance starts to be isolated.
|
void |
setCreatetime(String Createtime)
Set Instance creation time, for example, in the format of 2020-01-15 10:20:00.
|
void |
setCurrentProxyVersion(String CurrentProxyVersion)
Set Current proxy version of the instance.
|
void |
setCurrentRedisVersion(String CurrentRedisVersion)
Set Current cache minor version of the instance.
|
void |
setDeadlineTime(String DeadlineTime)
Set Expiration time of a monthly subscription instance.
|
void |
setDedicatedClusterId(String DedicatedClusterId)
Set CDC cluster ID.
|
void |
setDiskSize(Long DiskSize)
Set For TencentDB for Redis® instances, ignore this parameter.
|
void |
setDtsStatus(Long DtsStatus)
Set DTS status.
|
void |
setEngine(String Engine)
Set Engine.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setInstanceName(String InstanceName)
Set Instance name.
|
void |
setInstanceNode(InstanceNode[] InstanceNode)
Set Instance node information.
|
void |
setInstanceTags(InstanceTagInfo[] InstanceTags)
Set Information on tags associated with the instance.
|
void |
setInstanceTitle(String InstanceTitle)
Set Description of the instance running status, for example, running.
|
void |
setIPv6(String IPv6)
Set Internal parameter, which can be ignored.
|
void |
setMonitorVersion(String MonitorVersion)
Set Monitoring version.1m: monitoring with the 1-minute granularity.
|
void |
setNetLimit(Long NetLimit)
Set Shard bandwidth limit.
|
void |
setNoAuth(Boolean NoAuth)
Set Whether the instance is password-free.true: password-free instance.false: password required by the instance.
|
void |
setNodeSet(RedisNodeInfo[] NodeSet)
Set Node details of the instance.
|
void |
setOfflineTime(String OfflineTime)
Set Default termination time of isolated instances, for example, in the format of 2020-02-15 10:20:00.
|
void |
setPasswordFree(Long PasswordFree)
Set Password-free instance flag.
|
void |
setPolarisServer(String PolarisServer)
Set Polaris service address for internal use.
|
void |
setPort(Long Port)
Set Instance port number.
|
void |
setPriceId(Long PriceId)
Set Billing ID.
|
void |
setProductType(String ProductType)
Set Product type.
|
void |
setProductVersion(String ProductVersion)
Set Product edition.local: local disk.cloud: cloud disk edition.cdc: CDC cluster edition.
|
void |
setProjectId(Long ProjectId)
Set Project ID.
|
void |
setProjectName(String ProjectName)
Set Project name
|
void |
setReadOnly(Long ReadOnly)
Set Instance read-only flag.
|
void |
setRedisClusterId(String RedisClusterId)
Set CDC cluster ID of TencentDB for Redis®.
|
void |
setRedisReplicasNum(Long RedisReplicasNum)
Set Number of replicas.
|
void |
setRedisShardNum(Long RedisShardNum)
Set Number of shards.
|
void |
setRedisShardSize(Long RedisShardSize)
Set Shard size.
|
void |
setRegion(String Region)
Set Region information on the instance.
|
void |
setRegionId(Long RegionId)
Set Region ID.1: Guangzhou.4: Shanghai.5: Hong Kong (China).7: Shanghai Finance.8: Beijing.9: Singapore.11: Shenzhen Finance.15: Western US (Silicon Valley).16: Chengdu.17: Frankfurt.18: Seoul.19: Chongqing.22: Eastern US (Virginia).23: Bangkok.25: Tokyo.
|
void |
setRemainBandwidthDuration(String RemainBandwidthDuration)
Set Internal parameter, which can be ignored.
|
void |
setSize(Float Size)
Set Instance memory capacity.
|
void |
setSizeUsed(Float SizeUsed)
Deprecated.
|
void |
setSlaveReadWeight(Long SlaveReadWeight)
Set Read weight of a secondary node.
|
void |
setStatus(Long Status)
Set Current instance status.
|
void |
setSubnetId(Long SubnetId)
Set ID of the subnet under VPC, for example, 46315.
|
void |
setSubStatus(Long SubStatus)
Set Sub-status returned for the instance in the process.
|
void |
setTags(String[] Tags)
Set Anti-affinity tag.
|
void |
setType(Long Type)
Set Instance type.
|
void |
setUniqSubnetId(String UniqSubnetId)
Set ID of the subnet under VPC, for example, subnet-fd3j6l35mm0.
|
void |
setUniqVpcId(String UniqVpcId)
Set VPC ID, for example, vpc-fk33jsf43kgv.
|
void |
setUpgradeProxyVersion(String UpgradeProxyVersion)
Set Upgradable proxy version for the instance.
|
void |
setUpgradeRedisVersion(String UpgradeRedisVersion)
Set Upgradable cache minor version for the instance.
|
void |
setVip6(String Vip6)
Set This parameter encounters a naming issue.
|
void |
setVpcId(Long VpcId)
Set VPC ID, for example, 75101.
|
void |
setWanAddress(String WanAddress)
Set Public network address.
|
void |
setWanIp(String WanIp)
Set Instance VIP.
|
void |
setZoneId(Long ZoneId)
Set Zone ID.
|
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 InstanceSet()
public InstanceSet(InstanceSet source)
public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public Long getAppid()
public void setAppid(Long Appid)
Appid
- App ID of a user, which is an application ID that uniquely corresponds to the account ID. Some Tencent Cloud products use this app ID.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID.public Long getRegionId()
public void setRegionId(Long RegionId)
RegionId
- Region ID.public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- Zone ID.public Long getVpcId()
public void setVpcId(Long VpcId)
VpcId
- VPC ID, for example, 75101.public Long getSubnetId()
public void setSubnetId(Long SubnetId)
SubnetId
- ID of the subnet under VPC, for example, 46315.public Long getStatus()
public void setStatus(Long Status)
Status
- Current instance status. public String getWanIp()
public void setWanIp(String WanIp)
WanIp
- Instance VIP.public Long getPort()
public void setPort(Long Port)
Port
- Instance port number.public String getCreatetime()
public void setCreatetime(String Createtime)
Createtime
- Instance creation time, for example, in the format of 2020-01-15 10:20:00.public Float getSize()
public void setSize(Float Size)
Size
- Instance memory capacity. Unit: MB (1 MB = 1024 KB).@Deprecated public Float getSizeUsed()
@Deprecated public void setSizeUsed(Float SizeUsed)
SizeUsed
- This parameter has been deprecated. Obtain the memory capacity used by the instance through the TCOP API [GetMonitorData](https://intl.cloud.tencent.com/document/product/248/31014?from_cn_redirect=1).public Long getType()
public void setType(Long Type)
Type
- Instance type.
- 2: Redis 2.8 memory edition (standard architecture).
- 3: CKV 3.2 memory edition (standard architecture).
- 4: CKV 3.2 memory edition (cluster architecture).
- 5: Redis 2.8 memory edition (standalone).
- 6: Redis 4.0 memory edition (standard architecture).
- 7: Redis 4.0 memory edition (cluster architecture).
- 8: Redis 5.0 memory edition (standard architecture).
- 9: Redis 5.0 memory edition (cluster architecture).
- 15: Redis 6.2 memory edition (standard architecture).
- 16: Redis 6.2 memory edition (cluster architecture).
- 17: Redis 7.0 memory edition (standard architecture).
- 18: Redis 7.0 memory edition (cluster architecture).
- 200: Memcached 1.6 memory edition (cluster architecture).public Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Whether the automatic renewal flag is set for an instance. public String getDeadlineTime()
public void setDeadlineTime(String DeadlineTime)
DeadlineTime
- Expiration time of a monthly subscription instance.public String getEngine()
public void setEngine(String Engine)
Engine
- Engine. Valid values: Redis Community Edition and Tencent Cloud CKV.public String getProductType()
public void setProductType(String ProductType)
ProductType
- Product type. public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- VPC ID, for example, vpc-fk33jsf43kgv.public String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId
- ID of the subnet under VPC, for example, subnet-fd3j6l35mm0.public Long getBillingMode()
public void setBillingMode(Long BillingMode)
BillingMode
- Billing mode. Only pay-as-you-go billing is supported.public String getInstanceTitle()
public void setInstanceTitle(String InstanceTitle)
InstanceTitle
- Description of the instance running status, for example, running.public String getOfflineTime()
public void setOfflineTime(String OfflineTime)
OfflineTime
- Default termination time of isolated instances, for example, in the format of 2020-02-15 10:20:00. By default, a pay-as-you-go instance will be terminated after 2 hours of isolation, and a monthly subscription instance will be terminated after 7 days.public Long getSubStatus()
public void setSubStatus(Long SubStatus)
SubStatus
- Sub-status returned for the instance in the process.
- 0: disk read-write status.
- 1: disk read-only status because the upper limit is exceeded.public String[] getTags()
public void setTags(String[] Tags)
Tags
- Anti-affinity tag.public InstanceNode[] getInstanceNode()
public void setInstanceNode(InstanceNode[] InstanceNode)
InstanceNode
- Instance node information.public Long getRedisShardSize()
public void setRedisShardSize(Long RedisShardSize)
RedisShardSize
- Shard size.public Long getRedisShardNum()
public void setRedisShardNum(Long RedisShardNum)
RedisShardNum
- Number of shards.public Long getRedisReplicasNum()
public void setRedisReplicasNum(Long RedisReplicasNum)
RedisReplicasNum
- Number of replicas.public Long getPriceId()
public void setPriceId(Long PriceId)
PriceId
- Billing ID.public String getCloseTime()
public void setCloseTime(String CloseTime)
CloseTime
- Time when an instance starts to be isolated.public Long getSlaveReadWeight()
public void setSlaveReadWeight(Long SlaveReadWeight)
SlaveReadWeight
- Read weight of a secondary node.public InstanceTagInfo[] getInstanceTags()
public void setInstanceTags(InstanceTagInfo[] InstanceTags)
InstanceTags
- Information on tags associated with the instance.public String getProjectName()
public void setProjectName(String ProjectName)
ProjectName
- Project namepublic Boolean getNoAuth()
public void setNoAuth(Boolean NoAuth)
NoAuth
- Whether the instance is password-free.public Long getClientLimit()
public void setClientLimit(Long ClientLimit)
ClientLimit
- Number of client connections.public Long getDtsStatus()
public void setDtsStatus(Long DtsStatus)
DtsStatus
- DTS status. (Internal parameter, which can be ignored.)public Long getNetLimit()
public void setNetLimit(Long NetLimit)
NetLimit
- Shard bandwidth limit. Unit: MB.public Long getPasswordFree()
public void setPasswordFree(Long PasswordFree)
PasswordFree
- Password-free instance flag. (Internal parameter, which can be ignored.)public String getVip6()
public void setVip6(String Vip6)
Vip6
- This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.public String getIPv6()
public void setIPv6(String IPv6)
IPv6
- Internal parameter, which can be ignored.public Long getReadOnly()
public void setReadOnly(Long ReadOnly)
ReadOnly
- Instance read-only flag. (Internal parameter, which can be ignored.)public String getRemainBandwidthDuration()
public void setRemainBandwidthDuration(String RemainBandwidthDuration)
RemainBandwidthDuration
- Internal parameter, which can be ignored.public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- For TencentDB for Redis® instances, ignore this parameter.public String getMonitorVersion()
public void setMonitorVersion(String MonitorVersion)
MonitorVersion
- Monitoring version.public Long getClientLimitMin()
public void setClientLimitMin(Long ClientLimitMin)
ClientLimitMin
- Minimum value that can be set for the maximum number of client connections.public Long getClientLimitMax()
public void setClientLimitMax(Long ClientLimitMax)
ClientLimitMax
- Maximum value that can be set for the maximum number of client connections.public RedisNodeInfo[] getNodeSet()
public void setNodeSet(RedisNodeInfo[] NodeSet)
NodeSet
- Node details of the instance.
It is returned only for multi-AZ instances.public String getRegion()
public void setRegion(String Region)
Region
- Region information on the instance. For example, ap-guangzhou.public String getWanAddress()
public void setWanAddress(String WanAddress)
WanAddress
- Public network address.public String getPolarisServer()
public void setPolarisServer(String PolarisServer)
PolarisServer
- Polaris service address for internal use.public String getRedisClusterId()
public void setRedisClusterId(String RedisClusterId)
RedisClusterId
- CDC cluster ID of TencentDB for Redis®.public String getDedicatedClusterId()
public void setDedicatedClusterId(String DedicatedClusterId)
DedicatedClusterId
- CDC cluster ID.public String getProductVersion()
public void setProductVersion(String ProductVersion)
ProductVersion
- Product edition.public String getCurrentProxyVersion()
public void setCurrentProxyVersion(String CurrentProxyVersion)
CurrentProxyVersion
- Current proxy version of the instance.public String getCurrentRedisVersion()
public void setCurrentRedisVersion(String CurrentRedisVersion)
CurrentRedisVersion
- Current cache minor version of the instance. If the instance is added to a global replication group, the global replication kernel version is displayed.public String getUpgradeProxyVersion()
public void setUpgradeProxyVersion(String UpgradeProxyVersion)
UpgradeProxyVersion
- Upgradable proxy version for the instance.public String getUpgradeRedisVersion()
public void setUpgradeRedisVersion(String UpgradeRedisVersion)
UpgradeRedisVersion
- Upgradable cache minor version for the instance.public String getBackupMode()
public void setBackupMode(String BackupMode)
BackupMode
- Backup mode. - SecondLevelBackup: second-level backup. - NormalLevelBackup: ordinary backup.Copyright © 2025. All rights reserved.