EIPProProps
Properties for defining a EIPPro
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-eippro
Initializer
import ros_cdk_vpc
ros_cdk_vpc.EIPProProps(
auto_pay: typing.Union[bool, IResolvable] = None,
bandwidth: typing.Union[typing.Union[int, float], IResolvable] = None,
deletion_protection: typing.Union[bool, IResolvable] = None,
description: typing.Union[str, IResolvable] = None,
instance_charge_type: typing.Union[str, IResolvable] = None,
instance_id: typing.Union[str, IResolvable] = None,
internet_charge_type: typing.Union[str, IResolvable] = None,
ip_address: typing.Union[str, IResolvable] = None,
isp: typing.Union[str, IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
netmode: typing.Union[str, IResolvable] = None,
period: typing.Union[typing.Union[int, float], IResolvable] = None,
pricing_cycle: typing.Union[str, IResolvable] = None,
public_ip_address_pool_id: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
security_protection_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
tags: typing.List[TagsProperty] = None
)
Properties
Name | Type | Description |
---|---|---|
auto_pay |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property autoPay: Automatic Payment. |
bandwidth |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property bandwidth: Bandwidth for the output network. |
deletion_protection |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property deletionProtection: Whether to enable deletion protection. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: Optional. |
instance_charge_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceChargeType: The resource charge type. |
instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceId: The ID of the requested EIP. |
internet_charge_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property internetChargeType: The network charge type. |
ip_address |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ipAddress: The IP address of the requested EIP. |
isp |
typing.Union[str, ros_cdk_core.IResolvable] |
Property isp: The line type. |
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The name of the EIP. |
netmode |
typing.Union[str, ros_cdk_core.IResolvable] |
Property netmode: The network type. |
period |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property period: Prepaid time period. |
pricing_cycle |
typing.Union[str, ros_cdk_core.IResolvable] |
Property pricingCycle: Price cycle of the resource. |
public_ip_address_pool_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property publicIpAddressPoolId: The ID of the IP address pool. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: Resource group id. |
security_protection_types |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property securityProtectionTypes: The edition of Anti-DDoS. |
tags |
typing.List[TagsProperty] |
Property tags: Tags to attach to eip. |
auto_pay
Optional
auto_pay: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property autoPay: Automatic Payment.
Default is true.
bandwidth
Optional
bandwidth: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property bandwidth: Bandwidth for the output network.
Default is 5MB.
deletion_protection
Optional
deletion_protection: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property deletionProtection: Whether to enable deletion protection.
Default to False.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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://.
instance_charge_type
Optional
instance_charge_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceChargeType: The resource charge type.
Default value is Postpaid
instance_id
Optional
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The ID of the requested EIP.
internet_charge_type
Optional
internet_charge_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
ip_address
Optional
ip_address: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ipAddress: The IP address of the requested EIP.
isp
Optional
isp: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
name
Optional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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://
netmode
Optional
netmode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property netmode: The network type.
Valid value: public (public network).
period
Optional
period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
pricing_cycle
Optional
pricing_cycle: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
public_ip_address_pool_id
Optional
public_ip_address_pool_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property publicIpAddressPoolId: The ID of the IP address pool.
The EIP is allocated from the IP address pool.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Resource group id.
security_protection_types
Optional
security_protection_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
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.
tags
Optional
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
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.