Skip to content

ProInstanceProps

Properties for defining a ProInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddospro-proinstance

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkddospro"
&alicloudroscdkddospro.ProInstanceProps {
    AddressType: interface{},
    Bandwidth: interface{},
    BaseBandwidth: interface{},
    BurstBandwidthMode: interface{},
    DomainCount: interface{},
    Edition: interface{},
    FunctionVersion: interface{},
    NormalQps: interface{},
    Period: interface{},
    PeriodUnit: interface{},
    PortCount: interface{},
    ServiceBandwidth: interface{},
    ServicePartner: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkddospro.RosProInstance.TagsProperty,
}

Properties

Name Type Description
AddressType interface{} Property addressType: The IP version of the IP address.
Bandwidth interface{} Property bandwidth: The burstable protection bandwidth.
BaseBandwidth interface{} Property baseBandwidth: The basic protection bandwidth.
BurstBandwidthMode interface{} Property burstBandwidthMode: The metering method of the 95th percentile burstable clean bandwidth.
DomainCount interface{} Property domainCount: The number of domain names that you want to protect.
Edition interface{} Property edition: The mitigation plan of the instance.
FunctionVersion interface{} Property functionVersion: The function plan of the instance.
NormalQps interface{} Property normalQps: The clean queries per second (QPS) provided by the instance.
Period interface{} Property period: 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.
PeriodUnit interface{} Property periodUnit: The unit of the subscription duration.
PortCount interface{} Property portCount: The number of ports that you want to protect.
ServiceBandwidth interface{} Property serviceBandwidth: The clean bandwidth provided by the instance.
ServicePartner interface{} Property servicePartner: The type of the protection line.
Tags *[]TagsProperty Property tags: Tags to attach to instance.

AddressTypeOptional

AddressType interface{}
  • Type: interface{}

Property addressType: The IP version of the IP address.

Valid values: Ipv4、Ipv6


BandwidthOptional

Bandwidth interface{}
  • Type: interface{}

Property bandwidth: 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.


BaseBandwidthOptional

BaseBandwidth interface{}
  • Type: interface{}

Property baseBandwidth: The basic protection bandwidth.

Unit: Gbit/s. Valid values: 30, 60, 100, 300, 400, 500, and 600.


BurstBandwidthModeOptional

BurstBandwidthMode interface{}
  • Type: interface{}

Property burstBandwidthMode: 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.


DomainCountOptional

DomainCount interface{}
  • Type: interface{}

Property domainCount: The number of domain names that you want to protect.

Valid values: 50 to 2000. The value must be a multiple of 10.


EditionOptional

Edition interface{}
  • Type: interface{}

Property edition: The mitigation plan of the instance.

Set the value to coop, which indicates the Profession mitigation plan.


FunctionVersionOptional

FunctionVersion interface{}
  • Type: interface{}

Property functionVersion: The function plan of the instance.

Valid values: 0: the Standard function plan 1: the Enhanced function plan.


NormalQpsOptional

NormalQps interface{}
  • Type: interface{}

Property normalQps: The clean queries per second (QPS) provided by the instance.

Valid values: 3000 to 100000. The value must be a multiple of 100.


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: 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.


PeriodUnitOptional

PeriodUnit interface{}
  • Type: interface{}

Property periodUnit: The unit of the subscription duration.

Valid values: Month Year Default value: Month.


PortCountOptional

PortCount interface{}
  • Type: interface{}

Property portCount: The number of ports that you want to protect.

Valid values: 50 to 400. The value must be a multiple of 5.


ServiceBandwidthOptional

ServiceBandwidth interface{}
  • Type: interface{}

Property serviceBandwidth: The clean bandwidth provided by the instance.

Unit: Mbit/s. Valid values: 100 to 5000. The value must be a multiple of 50.


ServicePartnerOptional

ServicePartner interface{}
  • Type: interface{}

Property servicePartner: The type of the protection line.

Set the value to coop-line-001, which indicates the default protection line.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.