public class InstanceSet extends AbstractModel
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 User APPID, which is the unique application ID that matches an account.
|
Long |
getAutoRenewFlag()
Get Whether to set the auto-renewal flag for an instance.
|
Long |
getBillingMode()
Get Billing mode.
|
Long |
getClientLimit()
Get Number of client connections
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getClientLimitMax()
Get The maximum number of max client connections
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getClientLimitMin()
Get The minimum number of max client connections
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getCloseTime()
Get The time when an instance start to be isolated
|
String |
getCreatetime()
Get Instance creation time in the format of "2020-01-15 10:20:00"
|
String |
getCurrentProxyVersion()
Get The current proxy version of an instance
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getCurrentRedisVersion()
Get The current cache minor version of an instance
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getDeadlineTime()
Get The time when a monthly subscribed instance expires
|
Long |
getDiskSize()
Get This parameter can be ignored for Redis instance.
|
Long |
getDtsStatus()
Get DTS status (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getEngine()
Get Engine: Redis community edition, Tencent Cloud CKV
|
String |
getInstanceId()
Get Instance ID
|
String |
getInstanceName()
Get Instance name
|
InstanceNode[] |
getInstanceNode()
Get Instance node information
|
InstanceTagInfo[] |
getInstanceTags()
Get Instance tag information
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getInstanceTitle()
Get Description of an instance status, such as "Running".
|
String |
getMonitorVersion()
Get Monitoring granularity.
|
Long |
getNetLimit()
Get Upper shard bandwidth limit in MB
Note: This field may return null, indicating that no valid value can be obtained.
|
Boolean |
getNoAuth()
Get Whether an instance is password-free.
|
RedisNodeInfo[] |
getNodeSet()
Get Instance node details
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getOfflineTime()
Get The default termination time for isolated instances in the format of "2020-02-15 10:20:00".
|
Long |
getPasswordFree()
Get Password-free instance flag (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getPolarisServer()
Get Polaris service address, which is for internal use.
|
Long |
getPort()
Get Port number of an instance
|
Long |
getPriceId()
Get Billing ID
|
String |
getProductType()
Get Product type.
|
Long |
getProjectId()
Get Project ID
|
String |
getProjectName()
Get Project name
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getReadOnly()
Get Read-only instance flag (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getRedisReplicasNum()
Get Number of replicas
|
Long |
getRedisShardNum()
Get Number of shards
|
Long |
getRedisShardSize()
Get Shard size
|
String |
getRegion()
Get Information of the region where the instance is deployed, such as `ap-guangzhou`.
|
Long |
getRegionId()
Get Region ID.
|
String |
getRemainBandwidthDuration()
Get Internal parameter, which can be ignored.
|
Float |
getSize()
Get Instance memory capacity in MB (1 MB = 1024 KB)
|
Float |
getSizeUsed()
Get This field has been disused.
|
Long |
getSlaveReadWeight()
Get Read weight of a replica node
|
Long |
getStatus()
Get Current instance status.
|
Long |
getSubnetId()
Get Subnet ID, such as `46315`.
|
Long |
getSubStatus()
Get Sub-status returned for an instance in process
|
String[] |
getTags()
Get Anti-affinity tag
|
Long |
getType()
Get Instance type
- `2`: Redis 2.8 Memory Edition (Standard Architecture).
|
String |
getUniqSubnetId()
Get VPC subnet ID, such as subnet-fd3j6l35mm0.
|
String |
getUniqVpcId()
Get VPC ID, such as vpc-fk33jsf43kgv.
|
String |
getUpgradeProxyVersion()
Get Proxy version, which can be upgraded for the instance
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getUpgradeRedisVersion()
Get Cache minor version, which can be upgraded for the instance
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getVip6()
Get Internal parameter, which can be ignored.
|
Long |
getVpcId()
Get VPC ID, such as `75101`.
|
String |
getWanAddress()
Get Public IP
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getWanIp()
Get Instance VIP
|
Long |
getZoneId()
Get Region ID
|
void |
setAppid(Long Appid)
Set User APPID, which is the unique application ID that matches an account.
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Whether to set the auto-renewal flag for an instance.
|
void |
setBillingMode(Long BillingMode)
Set Billing mode.
|
void |
setClientLimit(Long ClientLimit)
Set Number of client connections
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setClientLimitMax(Long ClientLimitMax)
Set The maximum number of max client connections
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setClientLimitMin(Long ClientLimitMin)
Set The minimum number of max client connections
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setCloseTime(String CloseTime)
Set The time when an instance start to be isolated
|
void |
setCreatetime(String Createtime)
Set Instance creation time in the format of "2020-01-15 10:20:00"
|
void |
setCurrentProxyVersion(String CurrentProxyVersion)
Set The current proxy version of an instance
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setCurrentRedisVersion(String CurrentRedisVersion)
Set The current cache minor version of an instance
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setDeadlineTime(String DeadlineTime)
Set The time when a monthly subscribed instance expires
|
void |
setDiskSize(Long DiskSize)
Set This parameter can be ignored for Redis instance.
|
void |
setDtsStatus(Long DtsStatus)
Set DTS status (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setEngine(String Engine)
Set Engine: Redis community edition, Tencent Cloud CKV
|
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 Instance tag information
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setInstanceTitle(String InstanceTitle)
Set Description of an instance status, such as "Running".
|
void |
setMonitorVersion(String MonitorVersion)
Set Monitoring granularity.
|
void |
setNetLimit(Long NetLimit)
Set Upper shard bandwidth limit in MB
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setNoAuth(Boolean NoAuth)
Set Whether an instance is password-free.
|
void |
setNodeSet(RedisNodeInfo[] NodeSet)
Set Instance node details
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setOfflineTime(String OfflineTime)
Set The default termination time for isolated instances in the format of "2020-02-15 10:20:00".
|
void |
setPasswordFree(Long PasswordFree)
Set Password-free instance flag (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setPolarisServer(String PolarisServer)
Set Polaris service address, which is for internal use.
|
void |
setPort(Long Port)
Set Port number of an instance
|
void |
setPriceId(Long PriceId)
Set Billing ID
|
void |
setProductType(String ProductType)
Set Product type.
|
void |
setProjectId(Long ProjectId)
Set Project ID
|
void |
setProjectName(String ProjectName)
Set Project name
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setReadOnly(Long ReadOnly)
Set Read-only instance flag (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.
|
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 Information of the region where the instance is deployed, such as `ap-guangzhou`.
|
void |
setRegionId(Long RegionId)
Set Region ID.
|
void |
setRemainBandwidthDuration(String RemainBandwidthDuration)
Set Internal parameter, which can be ignored.
|
void |
setSize(Float Size)
Set Instance memory capacity in MB (1 MB = 1024 KB)
|
void |
setSizeUsed(Float SizeUsed)
Set This field has been disused.
|
void |
setSlaveReadWeight(Long SlaveReadWeight)
Set Read weight of a replica node
|
void |
setStatus(Long Status)
Set Current instance status.
|
void |
setSubnetId(Long SubnetId)
Set Subnet ID, such as `46315`.
|
void |
setSubStatus(Long SubStatus)
Set Sub-status returned for an instance in process
|
void |
setTags(String[] Tags)
Set Anti-affinity tag
|
void |
setType(Long Type)
Set Instance type
- `2`: Redis 2.8 Memory Edition (Standard Architecture).
|
void |
setUniqSubnetId(String UniqSubnetId)
Set VPC subnet ID, such as subnet-fd3j6l35mm0.
|
void |
setUniqVpcId(String UniqVpcId)
Set VPC ID, such as vpc-fk33jsf43kgv.
|
void |
setUpgradeProxyVersion(String UpgradeProxyVersion)
Set Proxy version, which can be upgraded for the instance
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setUpgradeRedisVersion(String UpgradeRedisVersion)
Set Cache minor version, which can be upgraded for the instance
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setVip6(String Vip6)
Set Internal parameter, which can be ignored.
|
void |
setVpcId(Long VpcId)
Set VPC ID, such as `75101`.
|
void |
setWanAddress(String WanAddress)
Set Public IP
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setWanIp(String WanIp)
Set Instance VIP
|
void |
setZoneId(Long ZoneId)
Set Region ID
|
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 InstanceSet()
public InstanceSet(InstanceSet source)
public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic Long getAppid()
public void setAppid(Long Appid)
Appid
- User APPID, which is the unique application ID that matches an account. Some Tencent Cloud products use this APPID.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project IDpublic Long getRegionId()
public void setRegionId(Long RegionId)
RegionId
- Region ID. public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- Region IDpublic Long getVpcId()
public void setVpcId(Long VpcId)
VpcId
- VPC ID, such as `75101`.public Long getSubnetId()
public void setSubnetId(Long SubnetId)
SubnetId
- Subnet ID, such as `46315`.public Long getStatus()
public void setStatus(Long Status)
Status
- Current instance status. public String getWanIp()
public void setWanIp(String WanIp)
WanIp
- Instance VIPpublic Long getPort()
public void setPort(Long Port)
Port
- Port number of an instancepublic String getCreatetime()
public void setCreatetime(String Createtime)
Createtime
- Instance creation time in the format of "2020-01-15 10:20:00"public Float getSize()
public void setSize(Float Size)
Size
- Instance memory capacity in MB (1 MB = 1024 KB)public Float getSizeUsed()
public void setSizeUsed(Float SizeUsed)
SizeUsed
- This field has been disused. You can use the TCOP’s [GetMonitorData](https://intl.cloud.tencent.com/document/product/248/31014?from_cn_redirect=1) API to query the capacity used by the instance.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).public Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Whether to set the auto-renewal flag for an instance. public String getDeadlineTime()
public void setDeadlineTime(String DeadlineTime)
DeadlineTime
- The time when a monthly subscribed instance expirespublic String getEngine()
public void setEngine(String Engine)
Engine
- Engine: Redis community edition, Tencent Cloud CKVpublic String getProductType()
public void setProductType(String ProductType)
ProductType
- Product type. public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- VPC ID, such as vpc-fk33jsf43kgv.public String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId
- VPC subnet ID, such as 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 an instance status, such as "Running".public String getOfflineTime()
public void setOfflineTime(String OfflineTime)
OfflineTime
- The default termination time for isolated instances in the format of "2020-02-15 10:20:00". By default, a pay-as-you-go instance will be terminated after two hours of isolation, and a monthly subscribed instance will be terminated after seven days by default.public Long getSubStatus()
public void setSubStatus(Long SubStatus)
SubStatus
- Sub-status returned for an instance in processpublic String[] getTags()
public void setTags(String[] Tags)
Tags
- Anti-affinity tagpublic InstanceNode[] getInstanceNode()
public void setInstanceNode(InstanceNode[] InstanceNode)
InstanceNode
- Instance node informationpublic Long getRedisShardSize()
public void setRedisShardSize(Long RedisShardSize)
RedisShardSize
- Shard sizepublic Long getRedisShardNum()
public void setRedisShardNum(Long RedisShardNum)
RedisShardNum
- Number of shardspublic Long getRedisReplicasNum()
public void setRedisReplicasNum(Long RedisReplicasNum)
RedisReplicasNum
- Number of replicaspublic Long getPriceId()
public void setPriceId(Long PriceId)
PriceId
- Billing IDpublic String getCloseTime()
public void setCloseTime(String CloseTime)
CloseTime
- The time when an instance start to be isolatedpublic Long getSlaveReadWeight()
public void setSlaveReadWeight(Long SlaveReadWeight)
SlaveReadWeight
- Read weight of a replica nodepublic InstanceTagInfo[] getInstanceTags()
public void setInstanceTags(InstanceTagInfo[] InstanceTags)
InstanceTags
- Instance tag information
Note: This field may return null, indicating that no valid value can be obtained.public String getProjectName()
public void setProjectName(String ProjectName)
ProjectName
- Project name
Note: This field may return null, indicating that no valid value can be obtained.public Boolean getNoAuth()
public void setNoAuth(Boolean NoAuth)
NoAuth
- Whether an instance is password-free. public Long getClientLimit()
public void setClientLimit(Long ClientLimit)
ClientLimit
- Number of client connections
Note: This field may return null, indicating that no valid value can be obtained.public Long getDtsStatus()
public void setDtsStatus(Long DtsStatus)
DtsStatus
- DTS status (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.public Long getNetLimit()
public void setNetLimit(Long NetLimit)
NetLimit
- Upper shard bandwidth limit in MB
Note: This field may return null, indicating that no valid value can be obtained.public Long getPasswordFree()
public void setPasswordFree(Long PasswordFree)
PasswordFree
- Password-free instance flag (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.public String getVip6()
public void setVip6(String Vip6)
Vip6
- Internal parameter, which can be ignored.
Note: This field may return null, indicating that no valid value can be obtained.public Long getReadOnly()
public void setReadOnly(Long ReadOnly)
ReadOnly
- Read-only instance flag (internal parameter, which can be ignored)
Note: This field may return null, indicating that no valid value can be obtained.public String getRemainBandwidthDuration()
public void setRemainBandwidthDuration(String RemainBandwidthDuration)
RemainBandwidthDuration
- Internal parameter, which can be ignored.
Note: This field may return null, indicating that no valid value can be obtained.public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- This parameter can be ignored for Redis instance.
Note: This field may return null, indicating that no valid value can be obtained.public String getMonitorVersion()
public void setMonitorVersion(String MonitorVersion)
MonitorVersion
- Monitoring granularity. public Long getClientLimitMin()
public void setClientLimitMin(Long ClientLimitMin)
ClientLimitMin
- The minimum number of max client connections
Note: This field may return null, indicating that no valid value can be obtained.public Long getClientLimitMax()
public void setClientLimitMax(Long ClientLimitMax)
ClientLimitMax
- The maximum number of max client connections
Note: This field may return null, indicating that no valid value can be obtained.public RedisNodeInfo[] getNodeSet()
public void setNodeSet(RedisNodeInfo[] NodeSet)
NodeSet
- Instance node details
Note: This field may return null, indicating that no valid value can be obtained.public String getRegion()
public void setRegion(String Region)
Region
- Information of the region where the instance is deployed, such as `ap-guangzhou`.
Note: This field may return null, indicating that no valid value can be obtained.public String getWanAddress()
public void setWanAddress(String WanAddress)
WanAddress
- Public IP
Note: This field may return null, indicating that no valid value can be obtained.public String getPolarisServer()
public void setPolarisServer(String PolarisServer)
PolarisServer
- Polaris service address, which is for internal use.
Note: This field may return null, indicating that no valid values can be obtained.public String getCurrentProxyVersion()
public void setCurrentProxyVersion(String CurrentProxyVersion)
CurrentProxyVersion
- The current proxy version of an instance
Note: This field may return null, indicating that no valid value can be obtained.public String getCurrentRedisVersion()
public void setCurrentRedisVersion(String CurrentRedisVersion)
CurrentRedisVersion
- The current cache minor version of an instance
Note: This field may return null, indicating that no valid value can be obtained.public String getUpgradeProxyVersion()
public void setUpgradeProxyVersion(String UpgradeProxyVersion)
UpgradeProxyVersion
- Proxy version, which can be upgraded for the instance
Note: This field may return null, indicating that no valid value can be obtained.public String getUpgradeRedisVersion()
public void setUpgradeRedisVersion(String UpgradeRedisVersion)
UpgradeRedisVersion
- Cache minor version, which can be upgraded for the instance
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.