Cria uma instância do Anti-DDoS Proxy (Chinese Mainland).
Sintaxe
{
"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
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
NormalQps |
Integer |
Não |
Não |
QPS de limpeza fornecido pela instância. |
Valores válidos: 3000 a 100000 (múltiplos de 100). |
|
Period |
Integer |
Não |
Não |
Duração da assinatura. |
|
|
PortCount |
Integer |
Não |
Não |
Número de portas a proteger. |
Os valores válidos variam conforme o ProductPlan:
|
|
Edition |
String |
Não |
Não |
Tipo de plano de mitigação. |
Defina como coop (plano de mitigação Profession). |
|
BurstBandwidthMode |
String |
Não |
Não |
Método de medição da largura de banda de limpeza elástica no percentil 95. |
Valores válidos:
|
|
ServiceBandwidth |
Integer |
Não |
Não |
Largura de banda de limpeza. |
Unidade: Mbit/s. Valores válidos: 100 a 5000 (múltiplos de 50). |
|
ServicePartner |
String |
Não |
Não |
Tipo de linha de proteção. |
Defina como coop-line-001 (linha de proteção padrão). |
|
BaseBandwidth |
Integer |
Não |
Não |
Largura de banda de proteção básica. |
Unidade: Gbit/s. Valores válidos: 30, 60, 100, 300, 400, 500 e 600. |
|
FunctionVersion |
String |
Não |
Não |
Tipo de plano de função. |
Valores válidos:
|
|
Bandwidth |
Integer |
Não |
Sim |
Largura de banda de proteção elástica. |
Unidade: Gbit/s. Deve ser ≥ BaseBandwidth. Os valores válidos variam conforme o BaseBandwidth:
|
|
AddressType |
String |
Não |
Não |
Versão do IP. |
Valores válidos:
|
|
PeriodUnit |
String |
Não |
Não |
Unidade da duração da assinatura. |
Valor padrão: Month. Valores válidos:
|
|
DomainCount |
Integer |
Não |
Não |
Número de nomes de domínio a proteger. |
Os valores válidos variam conforme o ProductPlan:
|
|
Tags |
List |
Não |
Sim |
Tags. |
Para mais informações, consulte Propriedades de Tags. |
Sintaxe de Tags
"Tags": [
{
"Key": String,
"Value": String
}
]
Propriedades de Tags
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
Key |
String |
Sim |
Não |
Chave da tag. |
Nenhuma. |
|
Value |
String |
Não |
Não |
Valor da tag. |
Nenhuma. |
Valores de retorno
Fn::GetAtt
InstanceId: ID da instância criada.
Arn: Alibaba Cloud Resource Name (ARN).
Exemplos
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"
]
}
}
}
}