public class DescribeZonesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
acceptLanguage
The natural language that is used to filter responses.
|
String |
instanceChargeType
The billing method of resources.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
spotStrategy
The bidding policy for pay-as-you-go instances.
|
Boolean |
verbose
Specifies whether to display detailed information.
|
构造器和说明 |
---|
DescribeZonesRequest() |
限定符和类型 | 方法和说明 |
---|---|
static DescribeZonesRequest |
build(Map<String,?> map) |
String |
getAcceptLanguage() |
String |
getInstanceChargeType() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getSpotStrategy() |
Boolean |
getVerbose() |
DescribeZonesRequest |
setAcceptLanguage(String acceptLanguage) |
DescribeZonesRequest |
setInstanceChargeType(String instanceChargeType) |
DescribeZonesRequest |
setOwnerAccount(String ownerAccount) |
DescribeZonesRequest |
setOwnerId(Long ownerId) |
DescribeZonesRequest |
setRegionId(String regionId) |
DescribeZonesRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
DescribeZonesRequest |
setResourceOwnerId(Long resourceOwnerId) |
DescribeZonesRequest |
setSpotStrategy(String spotStrategy) |
DescribeZonesRequest |
setVerbose(Boolean verbose) |
@NameInMap(value="AcceptLanguage") public String acceptLanguage
The natural language that is used to filter responses. For more information, see [RFC 7231](https://tools.ietf.org/html/rfc7231). Valid values:
* zh-CN
* en-US
* ja
Default value: zh-CN.
@NameInMap(value="InstanceChargeType") public String instanceChargeType
The billing method of resources. For more information, see [Billing overview](~~25398~~). Valid values:
* PrePaid: subscription
* PostPaid: pay-as-you-go
Default value: PostPaid.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region. 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="SpotStrategy") public String spotStrategy
The bidding policy for pay-as-you-go instances. You can specify this parameter when the `InstanceChargeType` parameter is set to PostPaid. For more information, see [Preemptible instances](~~52088~~). Valid values:
* NoSpot: The instances are regular pay-as-you-go instances.
* SpotWithPriceLimit: The instances are preemptible instances with user-defined maximum hourly prices.
* SpotAsPriceGo: The instances are preemptible instances for which the market price at the time of purchase is automatically used as the bid price. The market price can be up to the pay-as-you-go price.
Default value: NoSpot.
@NameInMap(value="Verbose") public Boolean verbose
Specifies whether to display detailed information.
* true: displays detailed information.
* false: does not display detailed information.
Default value: true.
public static DescribeZonesRequest build(Map<String,?> map) throws Exception
Exception
public DescribeZonesRequest setAcceptLanguage(String acceptLanguage)
public String getAcceptLanguage()
public DescribeZonesRequest setInstanceChargeType(String instanceChargeType)
public String getInstanceChargeType()
public DescribeZonesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeZonesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeZonesRequest setRegionId(String regionId)
public String getRegionId()
public DescribeZonesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeZonesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeZonesRequest setSpotStrategy(String spotStrategy)
public String getSpotStrategy()
public DescribeZonesRequest setVerbose(Boolean verbose)
public Boolean getVerbose()
Copyright © 2023. All rights reserved.