EIPProProps
Properties for defining a EIPPro.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-eippro
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
&alicloudroscdkvpc.EIPProProps {
AutoPay: interface{},
Bandwidth: interface{},
DeletionProtection: interface{},
Description: interface{},
InstanceChargeType: interface{},
InstanceId: interface{},
InternetChargeType: interface{},
IpAddress: interface{},
Isp: interface{},
Name: interface{},
Netmode: interface{},
Period: interface{},
PricingCycle: interface{},
PublicIpAddressPoolId: interface{},
ResourceGroupId: interface{},
SecurityProtectionTypes: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc.RosEIPPro.TagsProperty,
}
Properties
| Name | Type | Description |
|---|---|---|
AutoPay |
interface{} |
Property autoPay: Automatic Payment. |
Bandwidth |
interface{} |
Property bandwidth: Bandwidth for the output network. |
DeletionProtection |
interface{} |
Property deletionProtection: Whether to enable deletion protection. |
Description |
interface{} |
Property description: Optional. |
InstanceChargeType |
interface{} |
Property instanceChargeType: The resource charge type. |
InstanceId |
interface{} |
Property instanceId: The ID of the requested EIP. |
InternetChargeType |
interface{} |
Property internetChargeType: The network charge type. |
IpAddress |
interface{} |
Property ipAddress: The IP address of the requested EIP. |
Isp |
interface{} |
Property isp: The line type. |
Name |
interface{} |
Property name: The name of the EIP. |
Netmode |
interface{} |
Property netmode: The network type. |
Period |
interface{} |
Property period: Prepaid time period. |
PricingCycle |
interface{} |
Property pricingCycle: Price cycle of the resource. |
PublicIpAddressPoolId |
interface{} |
Property publicIpAddressPoolId: The ID of the IP address pool. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
SecurityProtectionTypes |
interface{} |
Property securityProtectionTypes: The edition of Anti-DDoS. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to eip. |
AutoPayOptional
AutoPay interface{}
- Type: interface{}
Property autoPay: Automatic Payment.
Default is true.
BandwidthOptional
Bandwidth interface{}
- Type: interface{}
Property bandwidth: Bandwidth for the output network.
Default is 5MB.
DeletionProtectionOptional
DeletionProtection interface{}
- Type: interface{}
Property deletionProtection: Whether to enable deletion protection.
Default to False.
DescriptionOptional
Description interface{}
- Type: interface{}
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
InstanceChargeType interface{}
- Type: interface{}
Property instanceChargeType: The resource charge type.
Default value is Postpaid
InstanceIdOptional
InstanceId interface{}
- Type: interface{}
Property instanceId: The ID of the requested EIP.
InternetChargeTypeOptional
InternetChargeType interface{}
- Type: interface{}
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
IpAddress interface{}
- Type: interface{}
Property ipAddress: The IP address of the requested EIP.
IspOptional
Isp interface{}
- Type: interface{}
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
Name interface{}
- Type: interface{}
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
Netmode interface{}
- Type: interface{}
Property netmode: The network type.
Valid value: public (public network).
PeriodOptional
Period interface{}
- Type: interface{}
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
PricingCycle interface{}
- Type: interface{}
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
PublicIpAddressPoolId interface{}
- Type: interface{}
Property publicIpAddressPoolId: The ID of the IP address pool.
The EIP is allocated from the IP address pool.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
SecurityProtectionTypesOptional
SecurityProtectionTypes interface{}
- Type: interface{}
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
Tags *[]TagsProperty
- Type: *[]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.