public class ListServiceInstancesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
filter
The keyword used to query instances.
|
String |
hostIP
The IP address of the server where the instance resides.
|
String |
instanceIP
The IP address of the instance.
|
String |
instanceName
The instance name.
|
String |
instanceStatus
The instance state.
|
String |
instanceType
The instance type.
|
Boolean |
isSpot
Specifies whether the instance is a preemptible instance.
|
String |
order
The sorting order.
|
Integer |
pageNumber
The page number.
|
Integer |
pageSize
The number of entries per page.
|
String |
resourceType
The type of the resource group to which the instance belongs.
|
String |
role
The service role.
|
String |
sort
The field that you use to sort the query results.
|
| 构造器和说明 |
|---|
ListServiceInstancesRequest() |
@NameInMap(value="Filter") public String filter
The keyword used to query instances. Instances can be queried based on instance name, instance IP address, IP address of the server where the instance resides, and instance type.
example:10.118.xx.xx
@NameInMap(value="HostIP") public String hostIP
The IP address of the server where the instance resides.
example:10.224.xx.xx
@NameInMap(value="InstanceIP") public String instanceIP
The IP address of the instance.
example:10.224.xx.xx
@NameInMap(value="InstanceName") public String instanceName
The instance name.
example:foo-bdc5xxxx-8l7rk
@NameInMap(value="InstanceStatus") public String instanceStatus
The instance state.
example:Running
@NameInMap(value="InstanceType") public String instanceType
The instance type.
example:ecs.c7.large
@NameInMap(value="IsSpot") public Boolean isSpot
Specifies whether the instance is a preemptible instance.
example:false
@NameInMap(value="Order") public String order
The sorting order.
Valid values:
asc
:
The instances are sorted in ascending order.
desc
:
The instances are sorted in descending order.
desc
@NameInMap(value="PageNumber") public Integer pageNumber
The page number. Default value: 1.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries per page. Default value: 100.
example:20
@NameInMap(value="ResourceType") public String resourceType
The type of the resource group to which the instance belongs.
Valid values:
PublicResource
DedicatedResource
PublicResource
@NameInMap(value="Role") public String role
The service role.
Valid values:
DataSet
:
dataset service
.
SDProxy
:
Stable-Diffusion proxy service
.
Standard
:
standard service
.
Queue
:
queue service
.
Queue
@NameInMap(value="Sort") public String sort
The field that you use to sort the query results.
Set the value to StartTime.
The value specifies that the query results are sorted based on the time when the instances were created
.
StartTime
public static ListServiceInstancesRequest build(Map<String,?> map) throws Exception
Exceptionpublic ListServiceInstancesRequest setFilter(String filter)
public String getFilter()
public ListServiceInstancesRequest setHostIP(String hostIP)
public String getHostIP()
public ListServiceInstancesRequest setInstanceIP(String instanceIP)
public String getInstanceIP()
public ListServiceInstancesRequest setInstanceName(String instanceName)
public String getInstanceName()
public ListServiceInstancesRequest setInstanceStatus(String instanceStatus)
public String getInstanceStatus()
public ListServiceInstancesRequest setInstanceType(String instanceType)
public String getInstanceType()
public ListServiceInstancesRequest setIsSpot(Boolean isSpot)
public Boolean getIsSpot()
public ListServiceInstancesRequest setOrder(String order)
public String getOrder()
public ListServiceInstancesRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public ListServiceInstancesRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public ListServiceInstancesRequest setResourceType(String resourceType)
public String getResourceType()
public ListServiceInstancesRequest setRole(String role)
public String getRole()
public ListServiceInstancesRequest setSort(String sort)
public String getSort()
Copyright © 2024. All rights reserved.