Todos los productos
Search
Centro de documentos

Resource Orchestration Service:ALIYUN::DDoSPro::PremiumInstance

Última actualización: Sep 04, 2026

Crea una instancia de Anti-DDoS Proxy (Outside Chinese Mainland).

Sintaxis

{
  "Type": "ALIYUN::DDoSPro::PremiumInstance",
  "Properties": {
    "NormalQps": Integer,
    "NormalBandwidth": Integer,
    "FunctionVersion": String,
    "ProductPlan": String,
    "Period": Integer,
    "PortCount": Integer,
    "BurstBandwidthMode": String,
    "PeriodUnit": String,
    "DomainCount": Integer,
    "Tags": List
  }
}

Propiedades

Propiedad

Tipo

Obligatorio

Editable

Descripción

Restricción

NormalQps

Integer

No

No

Consultas por segundo (QPS) limpias de la instancia.

Valores válidos: múltiplo entero de 100 en el rango de 500 a 100000.

NormalBandwidth

Integer

No

No

Ancho de banda limpio.

Unidad: Mbit/s.

Los valores válidos varían según ProductPlan:

  • Si ProductPlan se establece en 0: 100, 150, 200, 250 y 300.

  • Si ProductPlan se establece en 1: 100, 150, 200, 250 y 300.

  • Si ProductPlan se establece en 2: 10, 20, 30, 40, 50, 60, 70, 80, 90 y 100.

FunctionVersion

String

No

No

Tipo de plan de función.

Valores válidos:

  • 0: Estándar.

  • 1: Mejorado.

ProductPlan

String

No

No

Plan de mitigación de la instancia.

Valores válidos:

  • 0: Plan de mitigación Insurance.

  • 1: Plan de mitigación Unlimited.

  • 2: Plan de mitigación Chinese Mainland Acceleration (CMA).

Period

Integer

No

No

Ciclo de facturación.

  • Si PeriodUnit se establece en Month o month: 1, 2, 3, 4, 5, 6, 12 y 24.

  • Si PeriodUnit se establece en Year o year: 1 y 2.

PortCount

Integer

No

No

Número de puertos que se protegerán.

Los valores válidos varían según ProductPlan:

  • Si ProductPlan se establece en 0: múltiplo de 5 en el rango de 5 a 400.

  • Si ProductPlan se establece en 1: múltiplo de 5 en el rango de 5 a 400.

  • Si ProductPlan se establece en 2: null. En este caso, no es necesario especificar PortCount.

BurstBandwidthMode

String

No

No

Método de medición para el ancho de banda limpio ampliable del percentil 95.

Valores válidos:

  • 0: deshabilita la función de ancho de banda limpio ampliable.

  • 1: habilita la función de ancho de banda limpio ampliable y usa el método de medición diario del percentil 95.

  • 2: habilita la función de ancho de banda limpio ampliable y usa el método de medición mensual del percentil 95.

PeriodUnit

String

No

No

Unidad del ciclo de facturación.

Valores válidos:

  • Month o month

  • Year o year

Valor predeterminado: Month.

DomainCount

Integer

No

No

Número de nombres de dominio que se protegerán.

Los valores válidos varían según ProductPlan:

  • Si ProductPlan se establece en 0: múltiplo de 10 en el rango de 10 a 200.

  • Si ProductPlan se establece en 1: múltiplo de 10 en el rango de 10 a 200.

  • Si ProductPlan se establece en 2: null. En este caso, no es necesario especificar DomainCount.

Tags

List

No

Sí

Etiquetas.

Puede agregar hasta 20 etiquetas. Para obtener más información, consulte Tags properties.

Sintaxis de Tags

"Tags": [
  {
    "Key": String,
    "Value": String
  }
]

Propiedades de Tags

Propiedad

Tipo

Obligatorio

Editable

Descripción

Restricción

Key

String

Sí

No

Clave de la etiqueta.

Ninguna.

Value

String

No

No

Valor de la etiqueta.

Ninguna.

Valores de retorno

Fn::GetAtt

  • InstanceId: ID de la instancia.

  • Arn: Alibaba Cloud Resource Name (ARN).

Ejemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  BurstBandwidthMode:
    AllowedValues:
    - '0'
    - '1'
    - '2'
    Description:
      en: 'The metering method of the 95th percentile burstable clean bandwidth. Valid
        values:

        0: disables the burstable clean bandwidth feature.

        1: enables the burstable clean bandwidth feature and uses the daily 95th percentile
        metering method.

        2: enables the burstable clean bandwidth feature and uses the monthly 95th
        percentile metering method.'
    Required: false
    Type: String
  DomainCount:
    Description:
      en: 'The number of domain names that you want to protect.

        The value of DomainCount varies based on the value of ProductPlan.

        If you set ProductPlan to 0, you can set DomainCount to a value that ranges
        from 10 to 200. The value must be a multiple of 10.

        If you set ProductPlan to 1, you can set DomainCount to a value that ranges
        from 10 to 200. The value must be a multiple of 10.

        If you set ProductPlan to 2, you do not need to specify this parameter.'
    MaxValue: 200
    MinValue: 10
    Required: false
    Type: Number
  FunctionVersion:
    AllowedValues:
    - '0'
    - '1'
    Description:
      en: 'The function plan of the instance. Valid values:

        0: the Standard function plan

        1: the Enhanced function plan.'
    Required: false
    Type: String
  NormalBandwidth:
    Description:
      en: 'The clean bandwidth provided by the instance. Unit: Mbit/s.

        The value of NormalBandwidth varies based on the value of ProductPlan.

        If you set ProductPlan to 0, you can set NormalBandwidth to 100, 150, 200,
        250, or 300.

        If you set ProductPlan to 1, you can set NormalBandwidth to 100, 150, 200,
        250, or 300.

        If you set ProductPlan to 2, you can set NormalBandwidth to 10, 20, 30, 40,
        50, 60, 70, 80, 90, or 100.'
    MaxValue: 300
    MinValue: 10
    Required: false
    Type: Number
  NormalQps:
    Description:
      en: 'The clean QPS provided by the instance.

        The value of NormalQps varies based on the value of ProductPlan.

        If you set ProductPlan to 0, you can set NormalQps to a value that ranges
        from 500 to 100000. The value must be a multiple of 100.

        If you set ProductPlan to 1, you can set NormalQps to a value that ranges
        from 1000 to 100000. The value must be a multiple of 100.

        If you set ProductPlan to 2, you do not need to specify this parameter.'
    MaxValue: 100000
    MinValue: 500
    Required: false
    Type: Number
  Period:
    AllowedValues:
    - 1
    - 2
    - 3
    - 4
    - 5
    - 6
    - 12
    - 24
    AssociationProperty: PayPeriod
    Description:
      en: 'The subscription period of the firewallIf PeriodUnit is Month, the valid
        range is 1, 2, 3, 4, 5, 6, 12, 24

        If PeriodUnit is Year, the valid range is 1, 2'
    Required: false
    Type: Number
  PeriodUnit:
    AllowedValues:
    - Month
    - Year
    - month
    - year
    AssociationProperty: PayPeriodUnit
    Description:
      en: 'The unit of the subscription duration. Valid values:

        Month

        Year

        Default value: Month.'
    Required: false
    Type: String
  PortCount:
    Description:
      en: 'The number of ports that you want to protect.

        The value of PortCount varies based on the value of ProductPlan.

        If you set ProductPlan to 0, you can set PortCount to a value that ranges
        from 5 to 400. The value must be a multiple of 5.

        If you set ProductPlan to 1, you can set PortCount to a value that ranges
        from 5 to 400. The value must be a multiple of 5.

        If you set ProductPlan to 2, you do not need to specify this parameter.'
    MaxValue: 400
    MinValue: 5
    Required: false
    Type: Number
  ProductPlan:
    AllowedValues:
    - '0'
    - '1'
    - '2'
    Description:
      en: 'The mitigation plan of the instance. Valid values:

        0: the Insurance mitigation plan

        1: the Unlimited mitigation plan

        2: the Chinese Mainland Acceleration (CMA) mitigation plan'
    Required: false
    Type: String
Resources:
  PremiumInstance:
    Properties:
      BurstBandwidthMode:
        Ref: BurstBandwidthMode
      DomainCount:
        Ref: DomainCount
      FunctionVersion:
        Ref: FunctionVersion
      NormalBandwidth:
        Ref: NormalBandwidth
      NormalQps:
        Ref: NormalQps
      Period:
        Ref: Period
      PeriodUnit:
        Ref: PeriodUnit
      PortCount:
        Ref: PortCount
      ProductPlan:
        Ref: ProductPlan
    Type: ALIYUN::DDoSPro::PremiumInstance
Outputs:
  InstanceId:
    Description: The ID of the instance.
    Value:
      Fn::GetAtt:
      - PremiumInstance
      - InstanceId
                        
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "NormalQps": {
      "Type": "Number",
      "Description": {
        "en": "The clean QPS provided by the instance.\nThe value of NormalQps varies based on the value of ProductPlan.\nIf you set ProductPlan to 0, you can set NormalQps to a value that ranges from 500 to 100000. The value must be a multiple of 100.\nIf you set ProductPlan to 1, you can set NormalQps to a value that ranges from 1000 to 100000. The value must be a multiple of 100.\nIf you set ProductPlan to 2, you do not need to specify this parameter.\nIf you set ProductPlan to 3, you can set NormalQps to a value that ranges from 500 to 100000. The value must be a multiple of 100."
      },
      "Required": false,
      "MinValue": 500,
      "MaxValue": 100000
    },
    "NormalBandwidth": {
      "Type": "Number",
      "Description": {
        "en": "The clean bandwidth provided by the instance. Unit: Mbit/s.\nThe value of NormalBandwidth varies based on the value of ProductPlan.\nIf you set ProductPlan to 0, you can set NormalBandwidth to 100, 150, 200, 250, or 300.\nIf you set ProductPlan to 1, you can set NormalBandwidth to 100, 150, 200, 250, or 300.\nIf you set ProductPlan to 2, you can set NormalBandwidth to 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100.\nIf you set ProductPlan to 3, you can set NormalBandwidth to 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 150, or 200."
      },
      "Required": false,
      "MinValue": 10,
      "MaxValue": 300
    },
    "FunctionVersion": {
      "Type": "String",
      "Description": {
        "en": "The function plan of the instance. Valid values:\n0: the Standard function plan\n1: the Enhanced function plan."
      },
      "AllowedValues": [
        "0",
        "1"
      ],
      "Required": false
    },
    "ProductPlan": {
      "Type": "String",
      "Description": {
        "en": "The mitigation plan of the instance. Valid values:\n0: the Insurance mitigation plan\n1: the Unlimited mitigation plan\n2: the Chinese Mainland Acceleration (CMA) mitigation plan\n3: the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan"
      },
      "AllowedValues": [
        "0",
        "1",
        "2"
      ],
      "Required": false
    },
    "Period": {
      "AssociationProperty": "PayPeriod",
      "Type": "Number",
      "Description": {
        "en": "The subscription period of the firewallIf PeriodUnit is Month, the valid range is 1, 2, 3, 4, 5, 6, 12, 24\nIf PeriodUnit is Year, the valid range is 1, 2"
      },
      "AllowedValues": [
        1,
        2,
        3,
        4,
        5,
        6,
        12,
        24
      ],
      "Required": false
    },
    "PortCount": {
      "Type": "Number",
      "Description": {
        "en": "The number of ports that you want to protect.\nThe value of PortCount varies based on the value of ProductPlan.\nIf you set ProductPlan to 0, you can set PortCount to a value that ranges from 5 to 400. The value must be a multiple of 5.\nIf you set ProductPlan to 1, you can set PortCount to a value that ranges from 5 to 400. The value must be a multiple of 5.\nIf you set ProductPlan to 2, you do not need to specify this parameter.\nIf you set ProductPlan to 3, you can set PortCount to a value that ranges from 5 to 400. The value must be a multiple of 5."
      },
      "Required": false,
      "MinValue": 5,
      "MaxValue": 400
    },
    "BurstBandwidthMode": {
      "Type": "String",
      "Description": {
        "en": "The metering method of the 95th percentile burstable clean bandwidth. Valid values:\n0: disables the burstable clean bandwidth feature.\n1: enables the burstable clean bandwidth feature and uses the daily 95th percentile metering method.\n2: enables the burstable clean bandwidth feature and uses the monthly 95th percentile metering method."
      },
      "AllowedValues": [
        "0",
        "1",
        "2"
      ],
      "Required": false
    },
    "PeriodUnit": {
      "AssociationProperty": "PayPeriodUnit",
      "Type": "String",
      "Description": {
        "en": "The unit of the subscription duration. Valid values:\nMonth\nYear\nDefault value: Month."
      },
      "AllowedValues": [
        "Month",
        "Year",
        "month",
        "year"
      ],
      "Required": false
    },
    "DomainCount": {
      "Type": "Number",
      "Description": {
        "en": "The number of domain names that you want to protect.\nThe value of DomainCount varies based on the value of ProductPlan.\nIf you set ProductPlan to 0, you can set DomainCount to a value that ranges from 10 to 200. The value must be a multiple of 10.\nIf you set ProductPlan to 1, you can set DomainCount to a value that ranges from 10 to 200. The value must be a multiple of 10.\nIf you set ProductPlan to 2, you do not need to specify this parameter.\nIf you set ProductPlan to 3, you can set DomainCount to a value that ranges from 10 to 200. The value must be a multiple of 10."
      },
      "Required": false,
      "MinValue": 10,
      "MaxValue": 200
    }
  },
  "Resources": {
    "PremiumInstance": {
      "Type": "ALIYUN::DDoSPro::PremiumInstance",
      "Properties": {
        "NormalQps": {
          "Ref": "NormalQps"
        },
        "NormalBandwidth": {
          "Ref": "NormalBandwidth"
        },
        "FunctionVersion": {
          "Ref": "FunctionVersion"
        },
        "ProductPlan": {
          "Ref": "ProductPlan"
        },
        "Period": {
          "Ref": "Period"
        },
        "PortCount": {
          "Ref": "PortCount"
        },
        "BurstBandwidthMode": {
          "Ref": "BurstBandwidthMode"
        },
        "PeriodUnit": {
          "Ref": "PeriodUnit"
        },
        "DomainCount": {
          "Ref": "DomainCount"
        }
      }
    }
  },
  "Outputs": {
    "InstanceId": {
      "Description": "The ID of the instance.",
      "Value": {
        "Fn::GetAtt": [
          "PremiumInstance",
          "InstanceId"
        ]
      }
    }
  }
}