public class DescribeBandwidthLimitationRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
instanceChargeType
The billing method of the instance.
|
String |
instanceType
The instance type.
|
String |
operationType
Specifies the operation for which to query the maximum public bandwidth.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region.
|
String |
resourceId
The ID of the resource.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
spotStrategy
The preemption policy for the preemptible or pay-as-you-go instance.
|
构造器和说明 |
---|
DescribeBandwidthLimitationRequest() |
@NameInMap(value="InstanceChargeType") public String instanceChargeType
The billing method of the instance. For more information, see [Billing overview](~~25398~~). Valid values:
* PrePaid: subscription
* PostPaid: pay-as-you-go
Default value: PostPaid.
@NameInMap(value="InstanceType") public String instanceType
The instance type. For more information about the values, see [Instance families](~~25378~~).
> This parameter is required.
@NameInMap(value="OperationType") public String operationType
Specifies the operation for which to query the maximum public bandwidth. Valid values:
* Upgrade: upgrades the public bandwidth.
* Downgrade: downgrades the public bandwidth.
* Create: creates an ECS instance.
Default value: Create.
@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="ResourceId") public String resourceId
The ID of the resource.
> This parameter is required when the OperationType parameter is set to Upgrade or Downgrade.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SpotStrategy") public String spotStrategy
The preemption policy for the preemptible or pay-as-you-go instance. Valid values:
* NoSpot: The instance is a regular pay-as-you-go instance.
* SpotWithPriceLimit: The instance is a preemptible instance with user-defined maximum hourly prices.
* SpotAsPriceGo: The system automatically offers a bid, which is not higher than the pay-as-you-go price for the same instance type.
Default value: NoSpot.
> This parameter takes effect only when the InstanceChargeType parameter is set to PostPaid.
public static DescribeBandwidthLimitationRequest build(Map<String,?> map) throws Exception
Exception
public DescribeBandwidthLimitationRequest setInstanceChargeType(String instanceChargeType)
public String getInstanceChargeType()
public DescribeBandwidthLimitationRequest setInstanceType(String instanceType)
public String getInstanceType()
public DescribeBandwidthLimitationRequest setOperationType(String operationType)
public String getOperationType()
public DescribeBandwidthLimitationRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeBandwidthLimitationRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeBandwidthLimitationRequest setRegionId(String regionId)
public String getRegionId()
public DescribeBandwidthLimitationRequest setResourceId(String resourceId)
public String getResourceId()
public DescribeBandwidthLimitationRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeBandwidthLimitationRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeBandwidthLimitationRequest setSpotStrategy(String spotStrategy)
public String getSpotStrategy()
Copyright © 2023. All rights reserved.