Property | Type | Required | Editable | Description | Constraint |
Description | String | No | Yes | The description of the EIP. | The description must start with a letter but cannot start with http:// or https:// . |
ResourceGroupId | String | No | Yes | The ID of the resource group to which the EIP belongs. | None |
InstanceId | String | No | No | The ID of the EIP. | You must specify one of the IpAddress and InstanceId properties. If you leave both properties empty, the system randomly allocates an EIP. |
InstanceChargeType | String | No | No | The billing method of the EIP. | Valid values: |
PricingCycle | String | No | No | The billing cycle of the subscription EIP. | You must specify this property if InstanceChargeType is set to Prepaid. Valid values: |
ISP | String | No | No | The line type of the EIP. | Valid values: BGP: BGP (Multi-ISP). This type of line is supported in all regions. BGP_PRO: BGP (Multi-ISP) Pro. This type of line is supported only in the China (Hong Kong) region. BGP_FinanceCloud: This type of line is supported only in the China East 1 Finance region.
Note If your Alibaba Cloud account is added to the whitelist for single-ISP bandwidth, you can set this property to ChinaTelecom, ChinaUnicom, or ChinaMobile. |
Period | Number | No | No | The subscription period. | You must specify this property if InstanceChargeType is set to Prepaid. |
DeletionProtection | Boolean | No | Yes | Specifies whether to enable deletion protection. | Valid values: |
AutoPay | Boolean | No | No | Specifies whether to enable automatic payment. | You must specify this property if InstanceChargeType is set to Prepaid. Valid values: false: disables automatic payment. After an order is generated, you must manually complete the payment in the order center. true (default): enables automatic payment.
|
Name | String | No | Yes | The name of the EIP. | The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https:// . |
InternetChargeType | String | No | No | The metering method of the EIP. | Valid values: |
Netmode | String | No | No | The network type of the EIP. | Set the value to public. A value of public specifies that data is transferred over the Internet. |
Bandwidth | Number | No | Yes | The bandwidth of the EIP. | Default value: 5. Unit: Mbit/s. |
IpAddress | String | No | No | The IP address of the EIP. | You must specify one of the IpAddress and InstanceId properties. If you leave both properties empty, the system randomly allocates an EIP. |
Tags | List | No | Yes | The tags. | You can specify up to 20 tags. For more information, see Tags properties. |
SecurityProtectionTypes | List | No | No | The editions of Anti-DDoS. | Valid values: Null: If you set this property to Null, Anti-DDoS Origin is used by default. AntiDDoS_Enhanced: If you set this property to AntiDDoS_Enhanced, Anti-DDoS Pro or Premium is used.
Note You can specify up to 10 editions of Anti-DDoS. |
PublicIpAddressPoolId | String | No | No | The ID of the IP address pool. | EIPs are allocated from the specified IP address pool. The IP address pool feature is available only to users whose accounts are granted the required permissions for trial use. To use the feature, submit a ticket. |