public class DescribeExistedInstancesRequest extends AbstractModel
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 集群 ID,请填写查询集群列表 接口中返回的 ClusterId 字段(仅通过ClusterId获取需要过滤条件中的VPCID。节点状态比较时会使用该地域下所有集群中的节点进行比较。参数不支持同时指定InstanceIds和ClusterId。
|
Filter[] |
getFilters()
Get 过滤条件,字段和详见[CVM查询实例](https://cloud.tencent.com/document/api/213/15728)如果设置了ClusterId,会附加集群的VPCID作为查询字段,在此情况下如果在Filter中指定了"vpc-id"作为过滤字段,指定的VPCID必须与集群的VPCID相同。
|
String[] |
getInstanceIds()
Get 按照一个或者多个实例ID查询。实例ID形如:ins-xxxxxxxx。(此参数的具体格式可参考API简介的id.N一节)。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。
|
String[] |
getIpAddresses()
Get 根据多个实例IP进行过滤
|
Long |
getLimit()
Get 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
Long |
getOffset()
Get 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
String |
getVagueInstanceName()
Get 实例名称进行过滤
|
String |
getVagueIpAddress()
Get 实例IP进行过滤(同时支持内网IP和外网IP)
|
void |
setClusterId(String ClusterId)
Set 集群 ID,请填写查询集群列表 接口中返回的 ClusterId 字段(仅通过ClusterId获取需要过滤条件中的VPCID。节点状态比较时会使用该地域下所有集群中的节点进行比较。参数不支持同时指定InstanceIds和ClusterId。
|
void |
setFilters(Filter[] Filters)
Set 过滤条件,字段和详见[CVM查询实例](https://cloud.tencent.com/document/api/213/15728)如果设置了ClusterId,会附加集群的VPCID作为查询字段,在此情况下如果在Filter中指定了"vpc-id"作为过滤字段,指定的VPCID必须与集群的VPCID相同。
|
void |
setInstanceIds(String[] InstanceIds)
Set 按照一个或者多个实例ID查询。实例ID形如:ins-xxxxxxxx。(此参数的具体格式可参考API简介的id.N一节)。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。
|
void |
setIpAddresses(String[] IpAddresses)
Set 根据多个实例IP进行过滤
|
void |
setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
void |
setOffset(Long Offset)
Set 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
void |
setVagueInstanceName(String VagueInstanceName)
Set 实例名称进行过滤
|
void |
setVagueIpAddress(String VagueIpAddress)
Set 实例IP进行过滤(同时支持内网IP和外网IP)
|
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 DescribeExistedInstancesRequest()
public DescribeExistedInstancesRequest(DescribeExistedInstancesRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 集群 ID,请填写查询集群列表 接口中返回的 ClusterId 字段(仅通过ClusterId获取需要过滤条件中的VPCID。节点状态比较时会使用该地域下所有集群中的节点进行比较。参数不支持同时指定InstanceIds和ClusterId。public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- 按照一个或者多个实例ID查询。实例ID形如:ins-xxxxxxxx。(此参数的具体格式可参考API简介的id.N一节)。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- 过滤条件,字段和详见[CVM查询实例](https://cloud.tencent.com/document/api/213/15728)如果设置了ClusterId,会附加集群的VPCID作为查询字段,在此情况下如果在Filter中指定了"vpc-id"作为过滤字段,指定的VPCID必须与集群的VPCID相同。public String getVagueIpAddress()
public void setVagueIpAddress(String VagueIpAddress)
VagueIpAddress
- 实例IP进行过滤(同时支持内网IP和外网IP)public String getVagueInstanceName()
public void setVagueInstanceName(String VagueInstanceName)
VagueInstanceName
- 实例名称进行过滤public Long getOffset()
public void setOffset(Long Offset)
Offset
- 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。public Long getLimit()
public void setLimit(Long Limit)
Limit
- 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。public String[] getIpAddresses()
public void setIpAddresses(String[] IpAddresses)
IpAddresses
- 根据多个实例IP进行过滤Copyright © 2021. All rights reserved.