OriginInstanceProps
Properties for defining a OriginInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddos-origininstance
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkddos"
&alicloudroscdkddos.OriginInstanceProps {
Edition: interface{},
ProtectionMode: interface{},
ChargeType: interface{},
CleanBandwidth: interface{},
EnableLog: interface{},
IpAddresses: interface{},
NetworkProtocol: interface{},
Period: interface{},
PeriodUnit: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkddos.RosOriginInstance.TagsProperty,
}
Properties
Name | Type | Description |
---|---|---|
Edition |
interface{} |
Property edition: Edition of the instance. |
ProtectionMode |
interface{} |
Property protectionMode: The mode of the protection. |
ChargeType |
interface{} |
Property chargeType: The charge type of the instance. |
CleanBandwidth |
interface{} |
Property cleanBandwidth: The mitigation capability of Anti-DDoS is measured by the inbound or outbound clean bandwidth. |
EnableLog |
interface{} |
Property enableLog: Whether to enable protection logs. |
IpAddresses |
interface{} |
Property ipAddresses: The number of ip addresses. |
NetworkProtocol |
interface{} |
Property networkProtocol: The network protocol of the instance. |
Period |
interface{} |
Property period: The period of the instance. |
PeriodUnit |
interface{} |
Property periodUnit: The period unit of the instance. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to instance. |
Edition
Required
Edition interface{}
- Type: interface{}
Property edition: Edition of the instance.
Valid values:
- enterprise: Enterprise Edition.
- smb: Affordable and general edition for small and medium-sized enterprises.
ProtectionMode
Required
ProtectionMode interface{}
- Type: interface{}
Property protectionMode: The mode of the protection.
Valid values: unlimited: The Unlimited protection mode is intended for internal use within enterprises.
ChargeType
Optional
ChargeType interface{}
- Type: interface{}
Property chargeType: The charge type of the instance.
Valid values: PostPaid: Pay-as-you-go. PrePaid: Subscription.
CleanBandwidth
Optional
CleanBandwidth interface{}
- Type: interface{}
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
EnableLog interface{}
- Type: interface{}
Property enableLog: Whether to enable protection logs.
IpAddresses
Optional
IpAddresses interface{}
- Type: interface{}
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
NetworkProtocol interface{}
- Type: interface{}
Property networkProtocol: The network protocol of the instance.
Valid values: v4: IPv4. v6: IPv6. v4_6: IPv4+IPv6.
Period
Optional
Period interface{}
- Type: interface{}
Property period: The period of the instance.
PeriodUnit
Optional
PeriodUnit interface{}
- Type: interface{}
Property periodUnit: The period unit of the instance.
Valid values: Month: Month. Year: Year.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]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.