public class DescribeDedicatedHostsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeDedicatedHostsRequest.DescribeDedicatedHostsRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
dedicatedHostClusterId
The ID of the dedicated host cluster.
|
String |
dedicatedHostIds
The IDs of dedicated hosts.
|
String |
dedicatedHostName
The name of the dedicated host.
|
String |
dedicatedHostType
The dedicated host type.
|
String |
lockReason
The reason why the dedicated host is locked.
|
Integer |
maxResults
The maximum number of entries per page.
|
String |
nextToken
The pagination token that is used in the next request to retrieve a new page of results.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
pageNumber
The number of entries per page.
|
Integer |
pageSize
The number of entries per page.
|
String |
regionId
The region ID of the dedicated host.
|
String |
resourceGroupId
The ID of the resource group to which the dedicated host belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
socketDetails
Specifies whether to display socket information.
|
String |
status
The service state of the dedicated host.
|
List<DescribeDedicatedHostsRequest.DescribeDedicatedHostsRequestTag> |
tag
The tags of the dedicated host.
|
String |
zoneId
The zone ID of the dedicated host.
|
构造器和说明 |
---|
DescribeDedicatedHostsRequest() |
@NameInMap(value="DedicatedHostClusterId") public String dedicatedHostClusterId
The ID of the dedicated host cluster.
example:dc-bp12wlf6am0vz9v2****
@NameInMap(value="DedicatedHostIds") public String dedicatedHostIds
The IDs of dedicated hosts. You can specify up to 100 dedicated host IDs in a single request. Separate the IDs with commas (,).
example:["dh-bp165p6xk2tlw61e****", "dh-bp1f9vxmno7emy96****"]
@NameInMap(value="DedicatedHostName") public String dedicatedHostName
The name of the dedicated host.
example:MyDDHTestName
@NameInMap(value="DedicatedHostType") public String dedicatedHostType
The dedicated host type. You can call the DescribeDedicatedHostTypes operation to query the most recent list of dedicated host types.
example:ddh.g5
@NameInMap(value="LockReason") public String lockReason
The reason why the dedicated host is locked. Valid values:
financial
@NameInMap(value="MaxResults") public Integer maxResults
The maximum number of entries per page. If you specify this parameter, both MaxResults and NextToken are used for a paged query.
Valid values: 1 to 100.
Default value: 10.
example:10
@NameInMap(value="NextToken") public String nextToken
The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
example:e71d8a535bd9cc11
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The number of entries per page.
Default value: 1.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries per page.
Valid values: 1 to 100.
Default value: 10.
example:10
@NameInMap(value="RegionId") public String regionId
The region ID of the dedicated host. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the dedicated host belongs. When this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response.
example:Resources in the default resource group are displayed in the response regardless of how this parameter is set.
rg-aek3b6jzp66****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SocketDetails") public String socketDetails
Specifies whether to display socket information. Valid values:
true
@NameInMap(value="Status") public String status
The service state of the dedicated host. Valid values:
Default value: Available.
example:Available
@NameInMap(value="Tag") public List<DescribeDedicatedHostsRequest.DescribeDedicatedHostsRequestTag> tag
The tags of the dedicated host.
@NameInMap(value="ZoneId") public String zoneId
The zone ID of the dedicated host. You can call the DescribeZones operation to query the most recent zone list.
example:cn-hangzhou-g
public static DescribeDedicatedHostsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeDedicatedHostsRequest setDedicatedHostClusterId(String dedicatedHostClusterId)
public String getDedicatedHostClusterId()
public DescribeDedicatedHostsRequest setDedicatedHostIds(String dedicatedHostIds)
public String getDedicatedHostIds()
public DescribeDedicatedHostsRequest setDedicatedHostName(String dedicatedHostName)
public String getDedicatedHostName()
public DescribeDedicatedHostsRequest setDedicatedHostType(String dedicatedHostType)
public String getDedicatedHostType()
public DescribeDedicatedHostsRequest setLockReason(String lockReason)
public String getLockReason()
public DescribeDedicatedHostsRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public DescribeDedicatedHostsRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeDedicatedHostsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeDedicatedHostsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeDedicatedHostsRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeDedicatedHostsRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeDedicatedHostsRequest setRegionId(String regionId)
public String getRegionId()
public DescribeDedicatedHostsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeDedicatedHostsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeDedicatedHostsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeDedicatedHostsRequest setSocketDetails(String socketDetails)
public String getSocketDetails()
public DescribeDedicatedHostsRequest setStatus(String status)
public String getStatus()
public DescribeDedicatedHostsRequest setTag(List<DescribeDedicatedHostsRequest.DescribeDedicatedHostsRequestTag> tag)
public List<DescribeDedicatedHostsRequest.DescribeDedicatedHostsRequestTag> getTag()
public DescribeDedicatedHostsRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2024. All rights reserved.