public class DescribeInstancesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DescribeInstancesRequest.DescribeInstancesRequestTag |
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
edition
The mitigation plan of the instance to query.
|
Integer |
enabled
The traffic forwarding status of the instance to query.
|
Long |
expireEndTime
The end of the time range to query.
|
Long |
expireStartTime
The beginning of the time range to query.
|
List<String> |
instanceIds
The IDs of the instances to query.
|
String |
ip
The IP address of the instance to query.
|
String |
pageNumber
The number of the page to return.
|
String |
pageSize
The number of entries to return on each page.
|
String |
remark
The remarks of the instance to query.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
List<Integer> |
status
The states of the instances to query.
|
List<DescribeInstancesRequest.DescribeInstancesRequestTag> |
tag
The tags that are added to the instances to query.
|
| 构造器和说明 |
|---|
DescribeInstancesRequest() |
@NameInMap(value="Edition") public Integer edition
The mitigation plan of the instance to query. Valid values:
9
@NameInMap(value="Enabled") public Integer enabled
The traffic forwarding status of the instance to query. Valid values:
1
@NameInMap(value="ExpireEndTime") public Long expireEndTime
The end of the time range to query. Instances whose expiration time is earlier than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.
example:1640361700000
@NameInMap(value="ExpireStartTime") public Long expireStartTime
The beginning of the time range to query. Instances whose expiration time is later than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.
example:1640361500000
@NameInMap(value="InstanceIds") public List<String> instanceIds
The IDs of the instances to query. You can specify up to 200 instance IDs.
@NameInMap(value="Ip") public String ip
The IP address of the instance to query.
example:203.107.XX.XX
@NameInMap(value="PageNumber") public String pageNumber
The number of the page to return.
This parameter is required.
example:1
@NameInMap(value="PageSize") public String pageSize
The number of entries to return on each page.
This parameter is required.
example:10
@NameInMap(value="Remark") public String remark
The remarks of the instance to query. Fuzzy match is supported.
example:doc-test
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
If you do not specify this parameter, the instance belongs to the default resource group.
example:rg-acfm2pz25js****
@NameInMap(value="Status") public List<Integer> status
The states of the instances to query. You can specify up to two states.
@NameInMap(value="Tag") public List<DescribeInstancesRequest.DescribeInstancesRequestTag> tag
The tags that are added to the instances to query.
public static DescribeInstancesRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeInstancesRequest setEdition(Integer edition)
public Integer getEdition()
public DescribeInstancesRequest setEnabled(Integer enabled)
public Integer getEnabled()
public DescribeInstancesRequest setExpireEndTime(Long expireEndTime)
public Long getExpireEndTime()
public DescribeInstancesRequest setExpireStartTime(Long expireStartTime)
public Long getExpireStartTime()
public DescribeInstancesRequest setInstanceIds(List<String> instanceIds)
public DescribeInstancesRequest setIp(String ip)
public String getIp()
public DescribeInstancesRequest setPageNumber(String pageNumber)
public String getPageNumber()
public DescribeInstancesRequest setPageSize(String pageSize)
public String getPageSize()
public DescribeInstancesRequest setRemark(String remark)
public String getRemark()
public DescribeInstancesRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeInstancesRequest setStatus(List<Integer> status)
public DescribeInstancesRequest setTag(List<DescribeInstancesRequest.DescribeInstancesRequestTag> tag)
public List<DescribeInstancesRequest.DescribeInstancesRequestTag> getTag()
Copyright © 2026. All rights reserved.