public class DescribeInstancesRequest extends AbstractModel
Constructor and Description |
---|
DescribeInstancesRequest() |
DescribeInstancesRequest(DescribeInstancesRequest 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[] |
getAutoRenew()
Get Renewal mode.
|
String |
getBillingMode()
Get Billing mode.
|
String |
getEngineName()
Get Engine information: Redis-2.8, Redis-4.0, CKV
|
String |
getInstanceId()
Get Instance ID, such as crs-6ubhgouj
|
String[] |
getInstanceIds()
Get The specified instances for batch query
|
String |
getInstanceName()
Get Instance name
|
InstanceTagInfo[] |
getInstanceTags()
Get Filters resources by tag key and value.
|
Long |
getLimit()
Get Number of returned results.
|
String |
getMonitorVersion()
Get Internal parameter, which can be ignored.
|
Long |
getOffset()
Get Offset, which is an integral multiple of `Limit`.
|
String |
getOrderBy()
Get Enumerated values: projectId, createtime, instancename, type, curDeadline
|
Long |
getOrderType()
Get 1: reverse; 0: sequential; reverse by default
|
String[] |
getProductVersions()
Get Product editions to be filtered.
|
Long[] |
getProjectIds()
Get Array of project IDs.
|
Long[] |
getRegionIds()
Get Region ID, which has already been disused.
|
String |
getSearchKey()
Get ID of the instance to be searched for.
|
String[] |
getSearchKeys()
Get Search keywords, which can be instance ID, instance name, or complete IP.
|
Long[] |
getStatus()
Get Instance status.
|
String[] |
getSubnetIds()
Get Array of subnet IDs such as 56854.
|
String[] |
getTagKeys()
Get Filters resources by tag key.
|
Long |
getType()
Get Instance type.
|
Long[] |
getTypeList()
Get Internal parameter, which can be ignored.
|
Long |
getTypeVersion()
Get Type edition.
|
String[] |
getUniqSubnetIds()
Get Array of subnet IDs such as subnet-fdj24n34j2.
|
String[] |
getUniqVpcIds()
Get Array of VPC IDs such as vpc-sad23jfdfk.
|
String[] |
getVpcIds()
Get Array of VPC IDs such as 47525.
|
void |
setAutoRenew(Long[] AutoRenew)
Set Renewal mode.
|
void |
setBillingMode(String BillingMode)
Set Billing mode.
|
void |
setEngineName(String EngineName)
Set Engine information: Redis-2.8, Redis-4.0, CKV
|
void |
setInstanceId(String InstanceId)
Set Instance ID, such as crs-6ubhgouj
|
void |
setInstanceIds(String[] InstanceIds)
Set The specified instances for batch query
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setInstanceTags(InstanceTagInfo[] InstanceTags)
Set Filters resources by tag key and value.
|
void |
setLimit(Long Limit)
Set Number of returned results.
|
void |
setMonitorVersion(String MonitorVersion)
Set Internal parameter, which can be ignored.
|
void |
setOffset(Long Offset)
Set Offset, which is an integral multiple of `Limit`.
|
void |
setOrderBy(String OrderBy)
Set Enumerated values: projectId, createtime, instancename, type, curDeadline
|
void |
setOrderType(Long OrderType)
Set 1: reverse; 0: sequential; reverse by default
|
void |
setProductVersions(String[] ProductVersions)
Set Product editions to be filtered.
|
void |
setProjectIds(Long[] ProjectIds)
Set Array of project IDs.
|
void |
setRegionIds(Long[] RegionIds)
Set Region ID, which has already been disused.
|
void |
setSearchKey(String SearchKey)
Set ID of the instance to be searched for.
|
void |
setSearchKeys(String[] SearchKeys)
Set Search keywords, which can be instance ID, instance name, or complete IP.
|
void |
setStatus(Long[] Status)
Set Instance status.
|
void |
setSubnetIds(String[] SubnetIds)
Set Array of subnet IDs such as 56854.
|
void |
setTagKeys(String[] TagKeys)
Set Filters resources by tag key.
|
void |
setType(Long Type)
Set Instance type.
|
void |
setTypeList(Long[] TypeList)
Set Internal parameter, which can be ignored.
|
void |
setTypeVersion(Long TypeVersion)
Set Type edition.
|
void |
setUniqSubnetIds(String[] UniqSubnetIds)
Set Array of subnet IDs such as subnet-fdj24n34j2.
|
void |
setUniqVpcIds(String[] UniqVpcIds)
Set Array of VPC IDs such as vpc-sad23jfdfk.
|
void |
setVpcIds(String[] VpcIds)
Set Array of VPC IDs such as 47525.
|
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 DescribeInstancesRequest()
public DescribeInstancesRequest(DescribeInstancesRequest source)
public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned results. Default value: 20. Maximum value: 1000.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset, which is an integral multiple of `Limit`.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID, such as crs-6ubhgoujpublic String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Enumerated values: projectId, createtime, instancename, type, curDeadlinepublic Long getOrderType()
public void setOrderType(Long OrderType)
OrderType
- 1: reverse; 0: sequential; reverse by defaultpublic String[] getVpcIds()
public void setVpcIds(String[] VpcIds)
VpcIds
- Array of VPC IDs such as 47525. The array subscript starts from 0. If this parameter is not passed in, the classic network will be selected by defaultpublic String[] getSubnetIds()
public void setSubnetIds(String[] SubnetIds)
SubnetIds
- Array of subnet IDs such as 56854. The array subscript starts from 0.public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds
- Array of project IDs. The array subscript starts from 0.public String getSearchKey()
public void setSearchKey(String SearchKey)
SearchKey
- ID of the instance to be searched for.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic String[] getUniqVpcIds()
public void setUniqVpcIds(String[] UniqVpcIds)
UniqVpcIds
- Array of VPC IDs such as vpc-sad23jfdfk. The array subscript starts from 0. If this parameter is not passed in, the classic network will be selected by defaultpublic String[] getUniqSubnetIds()
public void setUniqSubnetIds(String[] UniqSubnetIds)
UniqSubnetIds
- Array of subnet IDs such as subnet-fdj24n34j2. The array subscript starts from 0.public Long[] getRegionIds()
public void setRegionIds(Long[] RegionIds)
RegionIds
- Region ID, which has already been disused. The corresponding region can be queried through the common parameter `Region`.public Long[] getStatus()
public void setStatus(Long[] Status)
Status
- Instance status. 0: to be initialized; 1: in process; 2: running; -2: isolated; -3: to be deletedpublic Long getTypeVersion()
public void setTypeVersion(Long TypeVersion)
TypeVersion
- Type edition. 1: Standalone Edition; 2: Master-Replica Edition; 3: Cluster Editionpublic String getEngineName()
public void setEngineName(String EngineName)
EngineName
- Engine information: Redis-2.8, Redis-4.0, CKVpublic Long[] getAutoRenew()
public void setAutoRenew(Long[] AutoRenew)
AutoRenew
- Renewal mode. 0: default status (manual renewal); 1: auto-renewal enabled; 2: auto-renewal disabledpublic String getBillingMode()
public void setBillingMode(String BillingMode)
BillingMode
- Billing mode. postpaid: pay-as-you-go; prepaid: monthly subscriptionpublic Long getType()
public void setType(Long Type)
Type
- Instance type. 1: legacy Redis Cluster Edition, 2: Redis 2.8 Master-Replica Edition, 3: CKV Master-Replica Edition, 4: CKV Cluster Edition, 5: Redis 2.8 Standalone Edition, 6: Redis 4.0 Master-Replica Edition, 7: Redis 4.0 Cluster Edition, 8: Redis 5.0 Master-Replica Edition, 9: Redis 5.0 Cluster Editionpublic String[] getSearchKeys()
public void setSearchKeys(String[] SearchKeys)
SearchKeys
- Search keywords, which can be instance ID, instance name, or complete IP.public Long[] getTypeList()
public void setTypeList(Long[] TypeList)
TypeList
- Internal parameter, which can be ignored.public String getMonitorVersion()
public void setMonitorVersion(String MonitorVersion)
MonitorVersion
- Internal parameter, which can be ignored.public InstanceTagInfo[] getInstanceTags()
public void setInstanceTags(InstanceTagInfo[] InstanceTags)
InstanceTags
- Filters resources by tag key and value. If this parameter is not specified or is an empty array, resources will not be filtered.public String[] getTagKeys()
public void setTagKeys(String[] TagKeys)
TagKeys
- Filters resources by tag key. If this parameter is not specified or is an empty array, resources will not be filtered.public String[] getProductVersions()
public void setProductVersions(String[] ProductVersions)
ProductVersions
- Product editions to be filtered. Valid values: `local` (local disk edition), `cloud` (cloud disk edition), `cdc` (dedicated cluster edition). If this parameter is not passed in, the product will not be filtered by default.public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- The specified instances for batch queryCopyright © 2022. All rights reserved.