Skip to content

EIPProProps

Properties for defining a EIPPro.

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

Initializer

import com.aliyun.ros.cdk.vpc.EIPProProps;
EIPProProps.builder()
//  .autoPay(java.lang.Boolean)
//  .autoPay(IResolvable)
//  .bandwidth(java.lang.Number)
//  .bandwidth(IResolvable)
//  .deletionProtection(java.lang.Boolean)
//  .deletionProtection(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .instanceChargeType(java.lang.String)
//  .instanceChargeType(IResolvable)
//  .instanceId(java.lang.String)
//  .instanceId(IResolvable)
//  .internetChargeType(java.lang.String)
//  .internetChargeType(IResolvable)
//  .ipAddress(java.lang.String)
//  .ipAddress(IResolvable)
//  .isp(java.lang.String)
//  .isp(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .netmode(java.lang.String)
//  .netmode(IResolvable)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .pricingCycle(java.lang.String)
//  .pricingCycle(IResolvable)
//  .publicIpAddressPoolId(java.lang.String)
//  .publicIpAddressPoolId(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .securityProtectionTypes(IResolvable)
//  .securityProtectionTypes(java.util.List<java.lang.String)
//  .securityProtectionTypes(IResolvable>)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
autoPay java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoPay: Automatic Payment.
bandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property bandwidth: Bandwidth for the output network.
deletionProtection java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property deletionProtection: Whether to enable deletion protection.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Optional.
instanceChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceChargeType: The resource charge type.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the requested EIP.
internetChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property internetChargeType: The network charge type.
ipAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ipAddress: The IP address of the requested EIP.
isp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property isp: The line type.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the EIP.
netmode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property netmode: The network type.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: Prepaid time period.
pricingCycle java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property pricingCycle: Price cycle of the resource.
publicIpAddressPoolId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property publicIpAddressPoolId: The ID of the IP address pool.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group id.
securityProtectionTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property securityProtectionTypes: The edition of Anti-DDoS.
tags java.util.List<TagsProperty> Property tags: Tags to attach to eip.

autoPayOptional

public java.lang.Object getAutoPay();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property autoPay: Automatic Payment.

Default is true.


bandwidthOptional

public java.lang.Object getBandwidth();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property bandwidth: Bandwidth for the output network.

Default is 5MB.


deletionProtectionOptional

public java.lang.Object getDeletionProtection();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property deletionProtection: Whether to enable deletion protection.

Default to False.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getInstanceChargeType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceChargeType: The resource charge type.

Default value is Postpaid


instanceIdOptional

public java.lang.Object getInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceId: The ID of the requested EIP.


internetChargeTypeOptional

public java.lang.Object getInternetChargeType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property internetChargeType: The network charge type.

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


ipAddressOptional

public java.lang.Object getIpAddress();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ipAddress: The IP address of the requested EIP.


ispOptional

public java.lang.Object getIsp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getNetmode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property netmode: The network type.

Valid value: public (public network).


periodOptional

public java.lang.Object getPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getPricingCycle();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getPublicIpAddressPoolId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property publicIpAddressPoolId: The ID of the IP address pool.

The EIP is allocated from the IP address pool.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: Resource group id.


securityProtectionTypesOptional

public java.lang.Object getSecurityProtectionTypes();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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 java.util.List<TagsProperty> getTags();

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.