public class CreateBasicAcceleratorRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateBasicAcceleratorRequest.CreateBasicAcceleratorRequestTag |
限定符和类型 | 字段和说明 |
---|---|
Boolean |
autoPay
Specifies whether to enable automatic payment.
|
Boolean |
autoRenew
Specifies whether to enable auto-renewal for the basic GA instance.
|
Integer |
autoRenewDuration
The auto-renewal duration.
|
String |
autoUseCoupon
Specifies whether to automatically apply coupons to your bills.
|
String |
bandwidthBillingType
The bandwidth billing method.
|
String |
chargeType
The billing method.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform a dry run.
|
Integer |
duration
The subscription duration of the GA instance.
|
String |
pricingCycle
The billing cycle.
|
String |
promotionOptionNo
The code of the coupon.
|
String |
regionId
The ID of the region where the basic GA instance is deployed.
|
String |
resourceGroupId
The ID of the resource group to which the basic GA instance belongs.
|
List<CreateBasicAcceleratorRequest.CreateBasicAcceleratorRequestTag> |
tag
The tags of the basic GA instance.
|
构造器和说明 |
---|
CreateBasicAcceleratorRequest() |
@NameInMap(value="AutoPay") public Boolean autoPay
Specifies whether to enable automatic payment. Valid values:
* **false:** disables automatic payment. If you select this option, you must go to the Order Center to complete the payment after an order is generated. This is the default value.
* **true:** enables automatic payment. Payments are automatically completed.
@NameInMap(value="AutoRenew") public Boolean autoRenew
Specifies whether to enable auto-renewal for the basic GA instance. Valid values:
* **true:** enables auto-renewal for the basic GA instance.
* **false:** disables auto-renewal for the basic GA instance. This is the default value.
@NameInMap(value="AutoRenewDuration") public Integer autoRenewDuration
The auto-renewal duration. Unit: months.
Valid values: **1** to **12**. Default value: **1**.
> This parameter takes effect only when the **AutoPay** parameter is set to **true**.
@NameInMap(value="AutoUseCoupon") public String autoUseCoupon
Specifies whether to automatically apply coupons to your bills. Valid values:
* **true:** automatically applies coupons to your bills.
* **false:** does not automatically apply coupons to your bills. This is the default value.
> This parameter takes effect only when the **AutoPay** parameter is set to **true**.
@NameInMap(value="BandwidthBillingType") public String bandwidthBillingType
The bandwidth billing method. Valid values:
* **BandwidthPackage:** billed based on bandwidth plans.
* **CDT:** billed based on data transfer. The bills are managed by using Cloud Data Transfer (CDT).
* **CDT95:** billed based on the 95th percentile bandwidth. The bills are managed by using Cloud Data Transfer (CDT). This bandwidth billing method is not available by default. Contact your Alibaba Cloud account manager for more information.
@NameInMap(value="ChargeType") public String chargeType
The billing method. Valid values:
* **PREPAY** (default)
* **POSTPAY**
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run. Valid values:
* **true:** performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an 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. This is the default value.
@NameInMap(value="Duration") public Integer duration
The subscription duration of the GA instance.
* If you set **PricingCycle** to **Month**, the valid values for **Duration** are **1** to **9**.
* If you set **PricingCycle** to **Year**, the valid values for **Duration** are **1** to **3**.
@NameInMap(value="PricingCycle") public String pricingCycle
The billing cycle. Valid values:
* **Month**
* **Year**
@NameInMap(value="PromotionOptionNo") public String promotionOptionNo
The code of the coupon.
> This parameter takes effect only for accounts registered on the international site (alibabacloud.com).
@NameInMap(value="RegionId") public String regionId
The ID of the region where the basic GA instance is deployed. Set the value to **cn-hangzhou**.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the basic GA instance belongs.
@NameInMap(value="Tag") public List<CreateBasicAcceleratorRequest.CreateBasicAcceleratorRequestTag> tag
The tags of the basic GA instance.
public static CreateBasicAcceleratorRequest build(Map<String,?> map) throws Exception
Exception
public CreateBasicAcceleratorRequest setAutoPay(Boolean autoPay)
public Boolean getAutoPay()
public CreateBasicAcceleratorRequest setAutoRenew(Boolean autoRenew)
public Boolean getAutoRenew()
public CreateBasicAcceleratorRequest setAutoRenewDuration(Integer autoRenewDuration)
public Integer getAutoRenewDuration()
public CreateBasicAcceleratorRequest setAutoUseCoupon(String autoUseCoupon)
public String getAutoUseCoupon()
public CreateBasicAcceleratorRequest setBandwidthBillingType(String bandwidthBillingType)
public String getBandwidthBillingType()
public CreateBasicAcceleratorRequest setChargeType(String chargeType)
public String getChargeType()
public CreateBasicAcceleratorRequest setClientToken(String clientToken)
public String getClientToken()
public CreateBasicAcceleratorRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateBasicAcceleratorRequest setDuration(Integer duration)
public Integer getDuration()
public CreateBasicAcceleratorRequest setPricingCycle(String pricingCycle)
public String getPricingCycle()
public CreateBasicAcceleratorRequest setPromotionOptionNo(String promotionOptionNo)
public String getPromotionOptionNo()
public CreateBasicAcceleratorRequest setRegionId(String regionId)
public String getRegionId()
public CreateBasicAcceleratorRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateBasicAcceleratorRequest setTag(List<CreateBasicAcceleratorRequest.CreateBasicAcceleratorRequestTag> tag)
public List<CreateBasicAcceleratorRequest.CreateBasicAcceleratorRequestTag> getTag()
Copyright © 2024. All rights reserved.