OriginInstanceProps
Properties for defining a OriginInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddos-origininstance
Initializer
import com.aliyun.ros.cdk.ddos.OriginInstanceProps;
OriginInstanceProps.builder()
.edition(java.lang.String)
.edition(IResolvable)
.protectionMode(java.lang.String)
.protectionMode(IResolvable)
// .chargeType(java.lang.String)
// .chargeType(IResolvable)
// .cleanBandwidth(java.lang.Number)
// .cleanBandwidth(IResolvable)
// .enableLog(java.lang.Boolean)
// .enableLog(IResolvable)
// .ipAddresses(java.lang.Number)
// .ipAddresses(IResolvable)
// .networkProtocol(java.lang.String)
// .networkProtocol(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .periodUnit(java.lang.String)
// .periodUnit(IResolvable)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
Name | Type | Description |
---|---|---|
edition |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property edition: Edition of the instance. |
protectionMode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property protectionMode: The mode of the protection. |
chargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property chargeType: The charge type of the instance. |
cleanBandwidth |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property cleanBandwidth: The mitigation capability of Anti-DDoS is measured by the inbound or outbound clean bandwidth. |
enableLog |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property enableLog: Whether to enable protection logs. |
ipAddresses |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ipAddresses: The number of ip addresses. |
networkProtocol |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property networkProtocol: The network protocol of the instance. |
period |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property period: The period of the instance. |
periodUnit |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property periodUnit: The period unit of the instance. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance. |
edition
Required
public java.lang.Object getEdition();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property edition: Edition of the instance.
Valid values:
- enterprise: Enterprise Edition.
- smb: Affordable and general edition for small and medium-sized enterprises.
protectionMode
Required
public java.lang.Object getProtectionMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property protectionMode: The mode of the protection.
Valid values: unlimited: The Unlimited protection mode is intended for internal use within enterprises.
chargeType
Optional
public java.lang.Object getChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property chargeType: The charge type of the instance.
Valid values: PostPaid: Pay-as-you-go. PrePaid: Subscription.
cleanBandwidth
Optional
public java.lang.Object getCleanBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property cleanBandwidth: The mitigation capability of Anti-DDoS is measured by the inbound or outbound clean bandwidth.
When Edition is enterprise, CleanBandwidth ranges from 100 to 1000 Mbit/s.When Edition is smb, CleanBandwidth ranges from 50 to 1000 Mbit/s.
enableLog
Optional
public java.lang.Object getEnableLog();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableLog: Whether to enable protection logs.
ipAddresses
Optional
public java.lang.Object getIpAddresses();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ipAddresses: The number of ip addresses.
When Edition is smb, IP Addresses ranges from 1 to 29. When Edition is enterprise, The minimum number of IP Addresses is 30.
networkProtocol
Optional
public java.lang.Object getNetworkProtocol();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property networkProtocol: The network protocol of the instance.
Valid values: v4: IPv4. v6: IPv6. v4_6: IPv4+IPv6.
period
Optional
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property period: The period of the instance.
periodUnit
Optional
public java.lang.Object getPeriodUnit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property periodUnit: The period unit of the instance.
Valid values: Month: Month. Year: Year.
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.