public class DescribeExistedInstancesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeExistedInstancesRequest() |
DescribeExistedInstancesRequest(DescribeExistedInstancesRequest 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 |
getClusterId()
Get Cluster ID.
|
Filter[] |
getFilters()
Get Filter condition.
|
String[] |
getInstanceIds()
Get Query by one or more instance ID(s).
|
String[] |
getIpAddresses()
Get Filter by multiple instance IPs
|
Long |
getLimit()
Get Number of returned results.
|
Long |
getOffset()
Get Offset.
|
String |
getVagueInstanceName()
Get Filter by instance name
|
String |
getVagueIpAddress()
Get Filter by instance IP (Supports both private and public IPs)
|
void |
setClusterId(String ClusterId)
Set Cluster ID.
|
void |
setFilters(Filter[] Filters)
Set Filter condition.
|
void |
setInstanceIds(String[] InstanceIds)
Set Query by one or more instance ID(s).
|
void |
setIpAddresses(String[] IpAddresses)
Set Filter by multiple instance IPs
|
void |
setLimit(Long Limit)
Set Number of returned results.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setVagueInstanceName(String VagueInstanceName)
Set Filter by instance name
|
void |
setVagueIpAddress(String VagueIpAddress)
Set Filter by instance IP (Supports both private and public IPs)
|
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 DescribeExistedInstancesRequest()
public DescribeExistedInstancesRequest(DescribeExistedInstancesRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster ID. Enter the `ClusterId` field returned when you call the DescribeClusters API (Only VPC ID obtained through `ClusterId` need filtering conditions. When comparing statuses, the nodes on all clusters in this region will be used for comparison. You cannot specify `InstanceIds` and `ClusterId` at the same time.)public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Query by one or more instance ID(s). Instance ID format: ins-xxxxxxxx. (Refer to section ID.N of the API overview for this parameter's specific format.) Up to 100 instances are allowed for each request. You cannot specify InstanceIds and Filters at the same time.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- Filter condition. For fields and other information, see [the DescribeInstances API](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). If a ClusterId has been set, then the cluster's VPC ID will be attached as a query field. In this situation, if a "vpc-id" is specified in Filter, then the specified VPC ID must be consistent with the cluster's VPC ID.public String getVagueIpAddress()
public void setVagueIpAddress(String VagueIpAddress)
VagueIpAddress
- Filter by instance IP (Supports both private and public IPs)public String getVagueInstanceName()
public void setVagueInstanceName(String VagueInstanceName)
VagueInstanceName
- Filter by instance namepublic Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: 0. For more information on Offset, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned results. Default value: 20. Maximum value: 100. For more information on Limit, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).public String[] getIpAddresses()
public void setIpAddresses(String[] IpAddresses)
IpAddresses
- Filter by multiple instance IPsCopyright © 2024. All rights reserved.