ALIYUN::GA::Accelerator is used to create a Global Accelerator (GA) instance.
Syntax
{
"Type": "ALIYUN::GA::Accelerator",
"Properties": {
"AcceleratorName": String,
"AutoUseCoupon": String,
"PricingCycle": String,
"Duration": String,
"AutoPay": String,
"Spec": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
AcceleratorName | String | No | No | The name of the GA instance. | None |
AutoUseCoupon | String | No | No | Specifies whether to automatically use a coupon. | Valid values:
|
PricingCycle | String | Yes | No | The unit of the billing cycle. | Valid values:
|
Duration | String | Yes | No | The subscription duration. | Valid values:
|
AutoPay | String | No | No | Specifies whether to enable auto-renewal. | Valid values:
|
Spec | String | Yes | Yes | The instance type. | Valid values:
|
Response parameters
Fn::GetAtt
- AcceleratorName: the name of the GA instance.
- AutoUseCoupon: indicates whether a coupon is used.
- PricingCycle: the unit of the billing cycle.
- PaymentType: the billing method.
- Duration: the subscription duration.
- AutoPay: indicates whether auto-renewal is enabled.
- OrderId: the ID of the order.
- Spec: the instance type.
- AcceleratorId: the ID of the GA instance.
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { }, "Resources": { "GaAccelerator": { "Type": "ALIYUN::GA::Accelerator", "Properties": { "AcceleratorName": "GATest", "AutoUseCoupon": "True", "PricingCycle": "Month", "Duration": 3, "AutoPay": "True", "Spec": 1 } } }, "Outputs": { } }