public class CloneInstancesRequest extends AbstractModel
Constructor and Description |
---|
CloneInstancesRequest() |
CloneInstancesRequest(CloneInstancesRequest 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 |
---|---|
String[] |
getAlarmPolicyList()
Get Alarm policy ID of the specified clone instance, which can be obtained on Cloud Monitor > Alarm Configuration > Alarm Policy in the console.
|
Long |
getAutoRenew()
Get The auto-renewal flag.
|
String |
getBackupId()
Get Backup ID of the clone instance, which can be obtained through the [DescribeInstanceBackups](https://intl.cloud.tencent.com/document/product/239/20011?from_cn_redirect=1) API.
|
Long |
getBillingMode()
Get Billing mode.
|
Long |
getGoodsNum()
Get Number of instance to be cloned each time.
|
String |
getInstanceId()
Get ID of the current instance
|
String |
getInstanceName()
Get Name of the clone instance.
|
Boolean |
getNoAuth()
Get Whether the clone instance supports password-free access.
|
RedisNodeInfo[] |
getNodeSet()
Get Node information of an instance.
|
String |
getPassword()
Get The access password of the clone instance.
|
Long |
getPeriod()
Get Purchase duration of an instance.
|
Long |
getProjectId()
Get Project ID, which can be obtained in Account Center > Project Management in the upper-right corner in the console.
|
ResourceTag[] |
getResourceTags()
Get Tag to be bound for the clone instance
|
String[] |
getSecurityGroupIdList()
Get Security group ID, which can be obtained on the Security Group page in the console.
|
String |
getSubnetId()
Get VPC subnet ID, which is not required for the classic network.
|
String |
getTemplateId()
Get The ID of a parameter template to be applied to the clone instance, which can be obtained on Parameter Template page in the console.
|
String |
getVpcId()
Get VPC ID.
|
Long |
getVPort()
Get Customized port.
|
Long |
getZoneId()
Get ID of the AZ where the clone instance resides.
|
void |
setAlarmPolicyList(String[] AlarmPolicyList)
Set Alarm policy ID of the specified clone instance, which can be obtained on Cloud Monitor > Alarm Configuration > Alarm Policy in the console.
|
void |
setAutoRenew(Long AutoRenew)
Set The auto-renewal flag.
|
void |
setBackupId(String BackupId)
Set Backup ID of the clone instance, which can be obtained through the [DescribeInstanceBackups](https://intl.cloud.tencent.com/document/product/239/20011?from_cn_redirect=1) API.
|
void |
setBillingMode(Long BillingMode)
Set Billing mode.
|
void |
setGoodsNum(Long GoodsNum)
Set Number of instance to be cloned each time.
|
void |
setInstanceId(String InstanceId)
Set ID of the current instance
|
void |
setInstanceName(String InstanceName)
Set Name of the clone instance.
|
void |
setNoAuth(Boolean NoAuth)
Set Whether the clone instance supports password-free access.
|
void |
setNodeSet(RedisNodeInfo[] NodeSet)
Set Node information of an instance.
|
void |
setPassword(String Password)
Set The access password of the clone instance.
|
void |
setPeriod(Long Period)
Set Purchase duration of an instance.
|
void |
setProjectId(Long ProjectId)
Set Project ID, which can be obtained in Account Center > Project Management in the upper-right corner in the console.
|
void |
setResourceTags(ResourceTag[] ResourceTags)
Set Tag to be bound for the clone instance
|
void |
setSecurityGroupIdList(String[] SecurityGroupIdList)
Set Security group ID, which can be obtained on the Security Group page in the console.
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID, which is not required for the classic network.
|
void |
setTemplateId(String TemplateId)
Set The ID of a parameter template to be applied to the clone instance, which can be obtained on Parameter Template page in the console.
|
void |
setVpcId(String VpcId)
Set VPC ID.
|
void |
setVPort(Long VPort)
Set Customized port.
|
void |
setZoneId(Long ZoneId)
Set ID of the AZ where the clone instance resides.
|
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 CloneInstancesRequest()
public CloneInstancesRequest(CloneInstancesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the current instancepublic Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum
- Number of instance to be cloned each time. You can purchase up to 100 monthly subscribed instances or up to 30 pay-as-you-go instances at a time. You can purchase up to 100 instances in each region.public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- ID of the AZ where the clone instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).public Long getBillingMode()
public void setBillingMode(Long BillingMode)
BillingMode
- Billing mode. Valid values: public Long getPeriod()
public void setPeriod(Long Period)
Period
- Purchase duration of an instance. public String[] getSecurityGroupIdList()
public void setSecurityGroupIdList(String[] SecurityGroupIdList)
SecurityGroupIdList
- Security group ID, which can be obtained on the Security Group page in the console.public String getBackupId()
public void setBackupId(String BackupId)
BackupId
- Backup ID of the clone instance, which can be obtained through the [DescribeInstanceBackups](https://intl.cloud.tencent.com/document/product/239/20011?from_cn_redirect=1) API.public Boolean getNoAuth()
public void setNoAuth(Boolean NoAuth)
NoAuth
- Whether the clone instance supports password-free access. Valid values: public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID. If this parameter is not passed in, the classic network will be selected by default.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID, which is not required for the classic network.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Name of the clone instance. public String getPassword()
public void setPassword(String Password)
Password
- The access password of the clone instance. public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- The auto-renewal flag. Valid values public Long getVPort()
public void setVPort(Long VPort)
VPort
- Customized port. Valid range: 1024-65535. Default value: `6379`.public RedisNodeInfo[] getNodeSet()
public void setNodeSet(RedisNodeInfo[] NodeSet)
NodeSet
- Node information of an instance. public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID, which can be obtained in Account Center > Project Management in the upper-right corner in the console.public ResourceTag[] getResourceTags()
public void setResourceTags(ResourceTag[] ResourceTags)
ResourceTags
- Tag to be bound for the clone instancepublic String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- The ID of a parameter template to be applied to the clone instance, which can be obtained on Parameter Template page in the console. If this parameter is not configured, the default parameter template will be applied.public String[] getAlarmPolicyList()
public void setAlarmPolicyList(String[] AlarmPolicyList)
AlarmPolicyList
- Alarm policy ID of the specified clone instance, which can be obtained on Cloud Monitor > Alarm Configuration > Alarm Policy in the console.Copyright © 2023. All rights reserved.