Crea una instancia de Anti-DDoS Proxy (Chinese Mainland).
Sintaxis
{
"Type": "ALIYUN::DDoSPro::ProInstance",
"Properties": {
"NormalQps": Integer,
"Period": Integer,
"PortCount": Integer,
"Edition": String,
"BurstBandwidthMode": String,
"ServiceBandwidth": Integer,
"ServicePartner": String,
"BaseBandwidth": Integer,
"FunctionVersion": String,
"Bandwidth": Integer,
"AddressType": String,
"PeriodUnit": String,
"DomainCount": Integer,
"Tags": List
}
}
Propiedades
|
Propiedad |
Tipo |
Obligatorio |
Editable |
Descripción |
Restricción |
|
NormalQps |
Integer |
No |
No |
QPS limpio que proporciona la instancia. |
Valores válidos: de 3000 a 100000 (múltiplos de 100). |
|
Period |
Integer |
No |
No |
Duración de la suscripción. |
|
|
PortCount |
Integer |
No |
No |
Número de puertos por proteger. |
Los valores válidos varían según ProductPlan:
|
|
Edition |
String |
No |
No |
Tipo de plan de mitigación. |
Establezca el valor en coop (plan de mitigación Profession). |
|
BurstBandwidthMode |
String |
No |
No |
Método de medición del ancho de banda limpio elástico al percentil 95. |
Valores válidos:
|
|
ServiceBandwidth |
Integer |
No |
No |
Ancho de banda limpio. |
Unidad: Mbit/s. Valores válidos: de 100 a 5000 (múltiplos de 50). |
|
ServicePartner |
String |
No |
No |
Tipo de línea de protección. |
Establezca el valor en coop-line-001 (línea de protección predeterminada). |
|
BaseBandwidth |
Integer |
No |
No |
Ancho de banda de protección básico. |
Unidad: Gbit/s. Valores válidos: 30, 60, 100, 300, 400, 500 y 600. |
|
FunctionVersion |
String |
No |
No |
Tipo de plan de funciones. |
Valores válidos:
|
|
Bandwidth |
Integer |
No |
Sí |
Ancho de banda de protección elástico. |
Unidad: Gbit/s. Debe ser ≥ BaseBandwidth. Los valores válidos varían según BaseBandwidth:
|
|
AddressType |
String |
No |
No |
Versión de IP. |
Valores válidos:
|
|
PeriodUnit |
String |
No |
No |
Unidad de duración de la suscripción. |
Valor predeterminado: Month. Valores válidos:
|
|
DomainCount |
Integer |
No |
No |
Número de nombres de dominio por proteger. |
Los valores válidos varían según ProductPlan:
|
|
Tags |
List |
No |
Sí |
Etiquetas. |
Para 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 creada.
Arn: Alibaba Cloud Resource Name (ARN).
Ejemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AddressType:
AllowedValues:
- Ipv4
- Ipv6
Description:
en: "The IP version of the IP address. Valid values: Ipv4\u3001Ipv6"
Required: false
Type: String
Bandwidth:
Description:
en: 'The burstable protection bandwidth. Unit: Gbit/s.
The burstable protection bandwidth must be greater than or equal to the basic
protection bandwidth. The value of Bandwidth varies based on the value of
BaseBandwidth.'
Required: false
Type: Number
BaseBandwidth:
AllowedValues:
- 30
- 60
- 100
- 300
- 400
- 500
- 600
Description:
en: 'The basic protection bandwidth. Unit: Gbit/s.
Valid values: 30, 60, 100, 300, 400, 500, and 600.'
Required: false
Type: Number
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.
Valid values: 50 to 2000. The value must be a multiple of 10.'
MaxValue: 2000
MinValue: 50
Required: false
Type: Number
Edition:
Description:
en: The mitigation plan of the instance. Set the value to coop, which indicates
the Profession mitigation plan.
Required: false
Type: String
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
NormalQps:
Description:
en: 'The clean queries per second (QPS) provided by the instance.
Valid values: 3000 to 100000. The value must be a multiple of 100.'
MaxValue: 100000
MinValue: 3000
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.
Valid values: 50 to 400. The value must be a multiple of 5.'
MaxValue: 400
MinValue: 50
Required: false
Type: Number
ServiceBandwidth:
Description:
en: 'The clean bandwidth provided by the instance. Unit: Mbit/s.
Valid values: 100 to 5000. The value must be a multiple of 50.'
MaxValue: 5000
MinValue: 100
Required: false
Type: Number
ServicePartner:
Description:
en: The type of the protection line. Set the value to coop-line-001, which indicates
the default protection line.
Required: false
Type: String
Resources:
ProInstance:
Properties:
AddressType:
Ref: AddressType
Bandwidth:
Ref: Bandwidth
BaseBandwidth:
Ref: BaseBandwidth
BurstBandwidthMode:
Ref: BurstBandwidthMode
DomainCount:
Ref: DomainCount
Edition:
Ref: Edition
FunctionVersion:
Ref: FunctionVersion
NormalQps:
Ref: NormalQps
Period:
Ref: Period
PeriodUnit:
Ref: PeriodUnit
PortCount:
Ref: PortCount
ServiceBandwidth:
Ref: ServiceBandwidth
ServicePartner:
Ref: ServicePartner
Type: ALIYUN::DDoSPro::ProInstance
Outputs:
InstanceId:
Description: The ID of the instance.
Value:
Fn::GetAtt:
- ProInstance
- InstanceId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"NormalQps": {
"Type": "Number",
"Description": {
"en": "The clean queries per second (QPS) provided by the instance.\nValid values: 3000 to 100000. The value must be a multiple of 100."
},
"Required": false,
"MinValue": 3000,
"MaxValue": 100000
},
"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.\nValid values: 50 to 400. The value must be a multiple of 5."
},
"Required": false,
"MinValue": 50,
"MaxValue": 400
},
"Edition": {
"Type": "String",
"Description": {
"en": "The mitigation plan of the instance. Set the value to coop, which indicates the Profession mitigation plan."
},
"Required": false
},
"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
},
"ServiceBandwidth": {
"Type": "Number",
"Description": {
"en": "The clean bandwidth provided by the instance. Unit: Mbit/s.\nValid values: 100 to 5000. The value must be a multiple of 50."
},
"Required": false,
"MinValue": 100,
"MaxValue": 5000
},
"ServicePartner": {
"Type": "String",
"Description": {
"en": "The type of the protection line. Set the value to coop-line-001, which indicates the default protection line."
},
"Required": false
},
"BaseBandwidth": {
"Type": "Number",
"Description": {
"en": "The basic protection bandwidth. Unit: Gbit/s.\nValid values: 30, 60, 100, 300, 400, 500, and 600."
},
"AllowedValues": [
30,
60,
100,
300,
400,
500,
600
],
"Required": false
},
"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
},
"Bandwidth": {
"Type": "Number",
"Description": {
"en": "The burstable protection bandwidth. Unit: Gbit/s.\nThe burstable protection bandwidth must be greater than or equal to the basic protection bandwidth. The value of Bandwidth varies based on the value of BaseBandwidth."
},
"Required": false
},
"AddressType": {
"Type": "String",
"Description": {
"en": "The IP version of the IP address. Valid values: Ipv4 and Ipv6."
},
"AllowedValues": [
"Ipv4",
"Ipv6"
],
"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.\nValid values: 50 to 2000. The value must be a multiple of 10."
},
"Required": false,
"MinValue": 50,
"MaxValue": 2000
}
},
"Resources": {
"ProInstance": {
"Type": "ALIYUN::DDoSPro::ProInstance",
"Properties": {
"NormalQps": {
"Ref": "NormalQps"
},
"Period": {
"Ref": "Period"
},
"PortCount": {
"Ref": "PortCount"
},
"Edition": {
"Ref": "Edition"
},
"BurstBandwidthMode": {
"Ref": "BurstBandwidthMode"
},
"ServiceBandwidth": {
"Ref": "ServiceBandwidth"
},
"ServicePartner": {
"Ref": "ServicePartner"
},
"BaseBandwidth": {
"Ref": "BaseBandwidth"
},
"FunctionVersion": {
"Ref": "FunctionVersion"
},
"Bandwidth": {
"Ref": "Bandwidth"
},
"AddressType": {
"Ref": "AddressType"
},
"PeriodUnit": {
"Ref": "PeriodUnit"
},
"DomainCount": {
"Ref": "DomainCount"
}
}
}
},
"Outputs": {
"InstanceId": {
"Description": "The ID of the instance.",
"Value": {
"Fn::GetAtt": [
"ProInstance",
"InstanceId"
]
}
}
}
}