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 type of the dedicated host.
|
String |
lockReason
The reason why the dedicated host is locked.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
pageNumber
The number of the page to return.
|
Integer |
pageSize
The number of entries to return on each 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 |
String |
status
The service state of the dedicated host.
|
List<DescribeDedicatedHostsRequest.DescribeDedicatedHostsRequestTag> |
tag
标签列表。
|
String |
zoneId
The zone ID of the dedicated host.
|
构造器和说明 |
---|
DescribeDedicatedHostsRequest() |
@NameInMap(value="DedicatedHostClusterId") public String dedicatedHostClusterId
The ID of the dedicated host cluster.
@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 (,).
@NameInMap(value="DedicatedHostName") public String dedicatedHostName
The name of the dedicated host.
@NameInMap(value="DedicatedHostType") public String dedicatedHostType
The type of the dedicated host. You can call the [DescribeDedicatedHostTypes](~~134240~~) operation to obtain the most recent list of dedicated host types.
@NameInMap(value="LockReason") public String lockReason
The reason why the dedicated host is locked. Valid values:
* financial: The dedicated host is locked due to overdue payments.
* security: The dedicated host is locked due to security reasons.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The number of the page to return.
Default value: 1.
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page.
Maximum value: 100.
Default value: 10.
@NameInMap(value="RegionId") public String regionId
The region ID of the dedicated host. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@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.
> Resources in the default resource group are displayed in the response regardless of how this parameter is set.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SocketDetails") public String socketDetails
@NameInMap(value="Status") public String status
The service state of the dedicated host. Valid values:
* Available: The dedicated host is running normally.
* UnderAssessment: The dedicated host is at risk, which may cause issues to ECS instances on the dedicated host.
* PermanentFailure: The dedicated host has permanent failures and is unusable.
* TempUnavailable: The dedicated host is temporarily unusable.
* Redeploying: The dedicated host is being restored.
Default value: Available.
@NameInMap(value="Tag") public List<DescribeDedicatedHostsRequest.DescribeDedicatedHostsRequestTag> tag
标签列表。
@NameInMap(value="ZoneId") public String zoneId
The zone ID of the dedicated host. You can call the [DescribeZones](~~25610~~) operation to query the most recent zone list.
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 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 © 2023. All rights reserved.