public class DescribeDemandsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeDemandsRequest.DescribeDemandsRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
demandId
The ID of the filing ticket.
|
List<String> |
demandStatus
The status of the filing ticket or resource consumption.
|
String |
demandType
The source of the filed instance.
|
Boolean |
dryRun
Specifies whether to perform a dry run.
|
String |
instanceChargeType
The billing method of the instance.
|
String |
instanceType
The instance type of the filed instance.
|
String |
instanceTypeFamily
The instance family of the filed instance.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
pageNumber
The page number of the page to return.
|
Integer |
pageSize
The number of entries to return on each page.
|
String |
regionId
The ID of the region for which to query resources.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<DescribeDemandsRequest.DescribeDemandsRequestTag> |
tag
The tags that are attached to the resources.
|
String |
zoneId
The ID of the zone for which to query resources.
|
构造器和说明 |
---|
DescribeDemandsRequest() |
@NameInMap(value="DemandId") public String demandId
The ID of the filing ticket. If this parameter is specified, other optional request parameters are ignored.
@NameInMap(value="DemandStatus") public List<String> demandStatus
The status of the filing ticket or resource consumption. Valid values:
* Creating: The filing ticket is being created.
* Active: The filed resources are being supplied.
* Expired: The filing ticket expires.
* Finished: The filed resources are consumed.
* Refused: The filing request is denied. To view the reason for denial, see the `Comment` parameter in the response.
* Cancelled: The filing request is canceled.
@NameInMap(value="DemandType") public String demandType
The source of the filed instance. Default value: System. Valid values:
* Custom: filed on your own.
* System: filed by Alibaba Cloud.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run. Default value: false. Valid values:
* true: performs a dry run. The system checks whether your AccessKey pair is valid, whether RAM users are granted required permissions, and whether the required parameters are set. If the request fails the dry run, the corresponding error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
* false: performs a dry run and sends the request . If the request passes the dry run, a 2XX HTTP status code is returned and the operation is performed.
@NameInMap(value="InstanceChargeType") public String instanceChargeType
The billing method of the instance. Valid values:
* PostPaid: pay-as-you-go
* PrePaid: subscription
@NameInMap(value="InstanceType") public String instanceType
The instance type of the filed instance.
@NameInMap(value="InstanceTypeFamily") public String instanceTypeFamily
The instance family of the filed instance.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The page number of the page to return. Pages start from page 1.
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 ID of the region for which to query resources. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<DescribeDemandsRequest.DescribeDemandsRequestTag> tag
The tags that are attached to the resources.
@NameInMap(value="ZoneId") public String zoneId
The ID of the zone for which to query resources. You can call the [DescribeZones](~~25610~~) operation to query the most recent region list.
public static DescribeDemandsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeDemandsRequest setDemandId(String demandId)
public String getDemandId()
public DescribeDemandsRequest setDemandStatus(List<String> demandStatus)
public DescribeDemandsRequest setDemandType(String demandType)
public String getDemandType()
public DescribeDemandsRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public DescribeDemandsRequest setInstanceChargeType(String instanceChargeType)
public String getInstanceChargeType()
public DescribeDemandsRequest setInstanceType(String instanceType)
public String getInstanceType()
public DescribeDemandsRequest setInstanceTypeFamily(String instanceTypeFamily)
public String getInstanceTypeFamily()
public DescribeDemandsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeDemandsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeDemandsRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeDemandsRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeDemandsRequest setRegionId(String regionId)
public String getRegionId()
public DescribeDemandsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeDemandsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeDemandsRequest setTag(List<DescribeDemandsRequest.DescribeDemandsRequestTag> tag)
public List<DescribeDemandsRequest.DescribeDemandsRequestTag> getTag()
public DescribeDemandsRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2023. All rights reserved.