ProInstanceProps
Properties for defining a ProInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddospro-proinstance
Initializer
import com.aliyun.ros.cdk.ddospro.ProInstanceProps;
ProInstanceProps.builder()
// .addressType(java.lang.String)
// .addressType(IResolvable)
// .bandwidth(java.lang.Number)
// .bandwidth(IResolvable)
// .baseBandwidth(java.lang.Number)
// .baseBandwidth(IResolvable)
// .burstBandwidthMode(java.lang.String)
// .burstBandwidthMode(IResolvable)
// .domainCount(java.lang.Number)
// .domainCount(IResolvable)
// .edition(java.lang.String)
// .edition(IResolvable)
// .functionVersion(java.lang.String)
// .functionVersion(IResolvable)
// .normalQps(java.lang.Number)
// .normalQps(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .periodUnit(java.lang.String)
// .periodUnit(IResolvable)
// .portCount(java.lang.Number)
// .portCount(IResolvable)
// .serviceBandwidth(java.lang.Number)
// .serviceBandwidth(IResolvable)
// .servicePartner(java.lang.String)
// .servicePartner(IResolvable)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
Name | Type | Description |
---|---|---|
addressType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property addressType: The IP version of the IP address. |
bandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property bandwidth: The burstable protection bandwidth. |
baseBandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property baseBandwidth: The basic protection bandwidth. |
burstBandwidthMode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property burstBandwidthMode: The metering method of the 95th percentile burstable clean bandwidth. |
domainCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property domainCount: The number of domain names that you want to protect. |
edition |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property edition: The mitigation plan of the instance. |
functionVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property functionVersion: The function plan of the instance. |
normalQps |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property normalQps: The clean queries per second (QPS) provided by the instance. |
period |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
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 |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property periodUnit: The unit of the subscription duration. |
portCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property portCount: The number of ports that you want to protect. |
serviceBandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property serviceBandwidth: The clean bandwidth provided by the instance. |
servicePartner |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property servicePartner: The type of the protection line. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance. |
addressType
Optional
public java.lang.Object getAddressType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property addressType: The IP version of the IP address.
Valid values: Ipv4、Ipv6
bandwidth
Optional
public java.lang.Object getBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
baseBandwidth
Optional
public java.lang.Object getBaseBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property baseBandwidth: The basic protection bandwidth.
Unit: Gbit/s. Valid values: 30, 60, 100, 300, 400, 500, and 600.
burstBandwidthMode
Optional
public java.lang.Object getBurstBandwidthMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
domainCount
Optional
public java.lang.Object getDomainCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
edition
Optional
public java.lang.Object getEdition();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property edition: The mitigation plan of the instance.
Set the value to coop, which indicates the Profession mitigation plan.
functionVersion
Optional
public java.lang.Object getFunctionVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property functionVersion: The function plan of the instance.
Valid values: 0: the Standard function plan 1: the Enhanced function plan.
normalQps
Optional
public java.lang.Object getNormalQps();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
period
Optional
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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
Optional
public java.lang.Object getPeriodUnit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property periodUnit: The unit of the subscription duration.
Valid values: Month Year Default value: Month.
portCount
Optional
public java.lang.Object getPortCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property portCount: The number of ports that you want to protect.
Valid values: 50 to 400. The value must be a multiple of 5.
serviceBandwidth
Optional
public java.lang.Object getServiceBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
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.
servicePartner
Optional
public java.lang.Object getServicePartner();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property servicePartner: The type of the protection line.
Set the value to coop-line-001, which indicates the default protection line.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<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.