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 |
getAzMode()
Get AZ deployment mode.
|
String |
getBillingMode()
Get Billing mode.
|
String |
getEngineName()
Get Storage engine information.
|
String |
getInstanceId()
Get Instance ID, such as crs-6ubhgouj.
|
String[] |
getInstanceIds()
Get Batch query of the specified instances ID.
|
String |
getInstanceName()
Get Instance name
|
InstanceTagInfo[] |
getInstanceTags()
Get Resources filter by tag key and value.
|
Long |
getLimit()
Get Number of instances returned per page.
|
String |
getMonitorVersion()
Get Internal parameter, which can be ignored.
|
Long |
getOffset()
Get Pagination offset, which is an integral multiple of `Limit`.
|
String |
getOrderBy()
Get Instance sorting criteria.
|
Long |
getOrderType()
Get Instance sorting order.
|
String[] |
getProductVersions()
Get Instance product version.
|
Long[] |
getProjectIds()
Get Array of project IDs
|
Long[] |
getRegionIds()
Get Array of region IDs (disused).
|
String |
getSearchKey()
Get Keywords for fuzzy query.
|
String[] |
getSearchKeys()
Get Array of the search keywords, which can query the instance by its ID, name, IP address.
|
Long[] |
getStatus()
Get Instance status.
|
String[] |
getSubnetIds()
Get Array of VPC subnet IDs such as 56854.
|
String[] |
getTagKeys()
Get Resources filter by tag key.
|
Long |
getType()
Get Instance type.
|
Long[] |
getTypeList()
Get Internal parameter, which can be ignored.
|
Long |
getTypeVersion()
Get Instance architecture.
|
String[] |
getUniqSubnetIds()
Get Array of VPC 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 |
setAzMode(String AzMode)
Set AZ deployment mode.
|
void |
setBillingMode(String BillingMode)
Set Billing mode.
|
void |
setEngineName(String EngineName)
Set Storage engine information.
|
void |
setInstanceId(String InstanceId)
Set Instance ID, such as crs-6ubhgouj.
|
void |
setInstanceIds(String[] InstanceIds)
Set Batch query of the specified instances ID.
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setInstanceTags(InstanceTagInfo[] InstanceTags)
Set Resources filter by tag key and value.
|
void |
setLimit(Long Limit)
Set Number of instances returned per page.
|
void |
setMonitorVersion(String MonitorVersion)
Set Internal parameter, which can be ignored.
|
void |
setOffset(Long Offset)
Set Pagination offset, which is an integral multiple of `Limit`.
|
void |
setOrderBy(String OrderBy)
Set Instance sorting criteria.
|
void |
setOrderType(Long OrderType)
Set Instance sorting order.
|
void |
setProductVersions(String[] ProductVersions)
Set Instance product version.
|
void |
setProjectIds(Long[] ProjectIds)
Set Array of project IDs
|
void |
setRegionIds(Long[] RegionIds)
Set Array of region IDs (disused).
|
void |
setSearchKey(String SearchKey)
Set Keywords for fuzzy query.
|
void |
setSearchKeys(String[] SearchKeys)
Set Array of the search keywords, which can query the instance by its ID, name, IP address.
|
void |
setStatus(Long[] Status)
Set Instance status.
|
void |
setSubnetIds(String[] SubnetIds)
Set Array of VPC subnet IDs such as 56854.
|
void |
setTagKeys(String[] TagKeys)
Set Resources filter 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 Instance architecture.
|
void |
setUniqSubnetIds(String[] UniqSubnetIds)
Set Array of VPC 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 instances returned per page. Default value: `20`. Maximum value: `1000`.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Pagination offset, which is an integral multiple of `Limit`.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID, such as crs-6ubhgouj.public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Instance sorting criteria. The enumerated values are as listed below: public Long getOrderType()
public void setOrderType(Long OrderType)
OrderType
- Instance sorting order. public String[] getVpcIds()
public void setVpcIds(String[] VpcIds)
VpcIds
- Array of VPC IDs such as 47525. If this parameter is not passed in or the array is empty, the classic network will be selected by default. This parameter is retained and can be ignored. It is set based on `UniqVpcIds` parameter format.public String[] getSubnetIds()
public void setSubnetIds(String[] SubnetIds)
SubnetIds
- Array of VPC subnet IDs such as 56854. This parameter is retained and can be ignored. It is set based on `UniqSubnetIds` parameter format.public String getSearchKey()
public void setSearchKey(String SearchKey)
SearchKey
- Keywords for fuzzy query. which can be used to fuzzy query an instance by its ID or name.public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds
- Array of project IDspublic 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. If this parameter is not passed in or or the array is empty, the classic network will be selected by default.public String[] getUniqSubnetIds()
public void setUniqSubnetIds(String[] UniqSubnetIds)
UniqSubnetIds
- Array of VPC subnet IDs such as subnet-fdj24n34j2public Long[] getRegionIds()
public void setRegionIds(Long[] RegionIds)
RegionIds
- Array of region IDs (disused). The corresponding region can be queried through the common parameter `Region`.public Long[] getStatus()
public void setStatus(Long[] Status)
Status
- Instance status. public Long getTypeVersion()
public void setTypeVersion(Long TypeVersion)
TypeVersion
- Instance architecture. public String getEngineName()
public void setEngineName(String EngineName)
EngineName
- Storage engine information. Valid values: `Redis-2.8`, `Redis-4.0`, `Redis-5.0`, `Redis-6.0` or `CKV`.public Long[] getAutoRenew()
public void setAutoRenew(Long[] AutoRenew)
AutoRenew
- Renewal mode. public String getBillingMode()
public void setBillingMode(String BillingMode)
BillingMode
- Billing mode. Only pay-as-you-go billing is supported.public Long getType()
public void setType(Long Type)
Type
- Instance type. public String[] getSearchKeys()
public void setSearchKeys(String[] SearchKeys)
SearchKeys
- Array of the search keywords, which can query the instance by its ID, name, IP address.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
- Resources filter 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
- Resources filter 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
- Instance product version. If this parameter is not passed in or the array is empty, the instances will not be filtered based this parameter by default. public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Batch query of the specified instances ID. The number of results returned is based on `Limit`.public String getAzMode()
public void setAzMode(String AzMode)
AzMode
- AZ deployment mode. Copyright © 2023. All rights reserved.