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:
  • True
  • False
PricingCycle String Yes No The unit of the billing cycle. Valid values:
  • Month
  • Year
Duration String Yes No The subscription duration. Valid values:
  • Valid values when PricingCycle is set to Month: 1 to 9.
  • Valid values when PricingCycle is set to Year: 1 to 3.
AutoPay String No No Specifies whether to enable auto-renewal. Valid values:
  • True
  • False
Spec String Yes Yes The instance type. Valid values:
  • 1: Small I (the specification unit)
  • 2: Small II
  • 3: Small III
  • 5: Medium I
  • 8: Medium II
  • 10: Medium III

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

  • YAMLformat

    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: {}
  • JSONformat

    {
      "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": {
      }
    }