Skip to content

OriginInstanceProps

Properties for defining a OriginInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddos-origininstance

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ddos;
new OriginInstanceProps {
    object Edition,
    object ProtectionMode,
    object ChargeType = null,
    object CleanBandwidth = null,
    object EnableLog = null,
    object IpAddresses = null,
    object NetworkProtocol = null,
    object Period = null,
    object PeriodUnit = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
Edition object Property edition: Edition of the instance.
ProtectionMode object Property protectionMode: The mode of the protection.
ChargeType object Property chargeType: The charge type of the instance.
CleanBandwidth object Property cleanBandwidth: The mitigation capability of Anti-DDoS is measured by the inbound or outbound clean bandwidth.
EnableLog object Property enableLog: Whether to enable protection logs.
IpAddresses object Property ipAddresses: The number of ip addresses.
NetworkProtocol object Property networkProtocol: The network protocol of the instance.
Period object Property period: The period of the instance.
PeriodUnit object Property periodUnit: The period unit of the instance.
Tags TagsProperty[] Property tags: Tags to attach to instance.

EditionRequired

public object Edition { get; set; }
  • Type: object

Property edition: Edition of the instance.

Valid values:

  • enterprise: Enterprise Edition.
  • smb: Affordable and general edition for small and medium-sized enterprises.

ProtectionModeRequired

public object ProtectionMode { get; set; }
  • Type: object

Property protectionMode: The mode of the protection.

Valid values: unlimited: The Unlimited protection mode is intended for internal use within enterprises.


ChargeTypeOptional

public object ChargeType { get; set; }
  • Type: object

Property chargeType: The charge type of the instance.

Valid values: PostPaid: Pay-as-you-go. PrePaid: Subscription.


CleanBandwidthOptional

public object CleanBandwidth { get; set; }
  • Type: object

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.


EnableLogOptional

public object EnableLog { get; set; }
  • Type: object

Property enableLog: Whether to enable protection logs.


IpAddressesOptional

public object IpAddresses { get; set; }
  • Type: object

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.


NetworkProtocolOptional

public object NetworkProtocol { get; set; }
  • Type: object

Property networkProtocol: The network protocol of the instance.

Valid values: v4: IPv4. v6: IPv6. v4_6: IPv4+IPv6.


PeriodOptional

public object Period { get; set; }
  • Type: object

Property period: The period of the instance.


PeriodUnitOptional

public object PeriodUnit { get; set; }
  • Type: object

Property periodUnit: The period unit of the instance.

Valid values: Month: Month. Year: Year.


TagsOptional

public TagsProperty[] Tags { get; set; }

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.