Applies for an elastic IP address (EIP).
Operation description
- You can call this operation up to 5,000 times per second per account.
- You can call this operation up to 50 times per second per user.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
EnsRegionId | string | Yes | The ID of the Edge Node Service (ENS) node. | cn-suzhou-telecom |
Bandwidth | long | No | The peak bandwidth of the EIP. Default value: 5. Valid values: 5 to 10000. Unit: Mbit/s. | 5 |
InstanceChargeType | string | Yes | The billing method of the EIP. Set the value to PostPaid. | PostPaid |
InternetChargeType | string | Yes | The metering method of the EIP. Set the value to 95BandwidthByMonth. | 95BandwidthByMonth |
Name | string | No | The name of the EIP. | EIP1 |
Isp | string | No | The Internet service provider. Valid values:
| cmcc |
Description | string | No | The description of the EIP. | yourDescription |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9DB6123F-470D-510A-A9EB-EBA799340452",
"AllocationId": "eip-25877c70gddh****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | NoPermission | Permission denied. |
400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2023-11-14 | The request parameters of the API has changed | see changesets | ||||
|