Skip to content

EIPProps

Properties for defining a EIP.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-eip

Initializer

using AlibabaCloud.SDK.ROS.CDK.Vpc;
new EIPProps {
    object AutoPay = null,
    object Bandwidth = null,
    object DeletionProtection = null,
    object Description = null,
    object InstanceChargeType = null,
    object InternetChargeType = null,
    object Isp = null,
    object Name = null,
    object Netmode = null,
    object Period = null,
    object PricingCycle = null,
    object PublicIpAddressPoolId = null,
    object ResourceGroupId = null,
    object SecurityProtectionTypes = null,
    TagsProperty[] Tags = null,
    object Zone = null
};

Properties

Name Type Description
AutoPay object Property autoPay: Automatic Payment.
Bandwidth object Property bandwidth: Bandwidth for the output network.
DeletionProtection object Property deletionProtection: Whether to enable deletion protection.
Description object Property description: Optional.
InstanceChargeType object Property instanceChargeType: The resource charge type.
InternetChargeType object Property internetChargeType: The network charge type.
Isp object Property isp: The line type.
Name object Property name: The name of the EIP.
Netmode object Property netmode: The network type.
Period object Property period: Prepaid time period.
PricingCycle object Property pricingCycle: Price cycle of the resource.
PublicIpAddressPoolId object Property publicIpAddressPoolId: The ID of the IP address pool.
ResourceGroupId object Property resourceGroupId: Resource group id.
SecurityProtectionTypes object Property securityProtectionTypes: The edition of Anti-DDoS.
Tags TagsProperty[] Property tags: Tags to attach to eip.
Zone object Property zone: Availability zone of the elastic public network IP.

AutoPayOptional

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

Property autoPay: Automatic Payment.

Default is true.


BandwidthOptional

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

Property bandwidth: Bandwidth for the output network.

Default is 5MB.


DeletionProtectionOptional

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

Property deletionProtection: Whether to enable deletion protection.

Default to False.


DescriptionOptional

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

Property description: Optional.

The description of the EIP. The description must be 2 to 256 characters in length. It must start with a letter. It cannot start with http:// or https://.


InstanceChargeTypeOptional

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

Property instanceChargeType: The resource charge type.

Default value is Postpaid


InternetChargeTypeOptional

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

Property internetChargeType: The network charge type.

Support 'PayByBandwidth' and 'PayByTraffic' only. Default is PayByBandwidth. PayByTraffic will charge by hour, PayByBandwidth will charge by day.


IspOptional

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

Property isp: The line type.

You can set this parameter only when you create a pay-as-you-go EIP. Valid values: BGP: BGP (Multi-ISP) lines. Up to 89 high-quality BGP lines are available worldwide. Direct connections with multiple Internet Service Providers (ISPs), including Telecom, Unicom, Mobile, Railcom, Netcom, CERNET, China Broadcast Network, Dr. Peng, and Founder, can be established in all regions in mainland China. BGP_PRO: BGP (Multi-ISP) Pro lines. BGP (Multi-ISP) Pro lines optimize data transmission to China and improve connection quality for international services. Compared with traditional BGP (Multi-ISP) lines, BGP (Multi-ISP) Pro lines can be used to establish direct connections without using international ISP services. Therefore, BGP (Multi-ISP) Pro lines reduce network latency.


NameOptional

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

Property name: The name of the EIP.

The name must be 2 to 128 characters in length. It must start with a letter. It can contain numbers, periods (.), underscores (_), and hyphens (-). It cannot start with http:// or https://


NetmodeOptional

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

Property netmode: The network type.

Valid value: public (public network).


PeriodOptional

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

Property period: Prepaid time period.

While choose by pay by month, it could be from 1 to 9 or 12, 24, 36. While choose pay by year, it could be from 1 to 3.


PricingCycleOptional

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

Property pricingCycle: Price cycle of the resource.

This property has no default value. If ChargeType is specified as Postpaid, this value will be ignore.


PublicIpAddressPoolIdOptional

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

Property publicIpAddressPoolId: The ID of the IP address pool.

The EIP is allocated from the IP address pool.


ResourceGroupIdOptional

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

Property resourceGroupId: Resource group id.


SecurityProtectionTypesOptional

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

Property securityProtectionTypes: The edition of Anti-DDoS.

If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro/Premium is used.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags to attach to eip.

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


ZoneOptional

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

Property zone: Availability zone of the elastic public network IP.