Creates an Edge Load Balancer (ELB) instance.
Operation description
- You can call this operation up to 100 times per second per account.
- You can call this operation up to 5 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-chengdu-telecom |
LoadBalancerSpec | string | Yes | The specification of the ELB instance. | elb.s2.medium |
LoadBalancerName | string | No | The name of the ELB instance. The name must be 1 to 80 characters in length. If you leave this parameter empty, the system randomly allocates a name as the value of this parameter. Note
The value cannot start with http:// or https:// .
| gcs-pre-websocket-eslb-telecom |
PayType | string | Yes | The billing method of the instance. Valid value: PostPaid. PostPaid specifies the pay-as-you-go billing method. | PostPaid |
NetworkId | string | Yes | The network ID of the created ELB instance. | n-5sax03dh2eyagujgsn7z9**** |
VSwitchId | string | Yes | The ID of the vSwitch to which the internal-facing ELB instance belongs. | vsw-5s78haoys9oylle6ln71m**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1ECC937A-AE0E-4626-BE51-DED1D6D1C888",
"LoadBalancerId": "lb-5s7crik3yo3bp03gqrbp5****",
"VSwitchId": "vsw-5savh5ngxh8sbj14bu7n****",
"LoadBalancerName": "gcs-pre-websocket-****",
"NetworkId": "n-5sax03dh2eyagujgsn7z9****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | - |
400 | NoPermission | Permission denied. | - |
400 | SaleControl.VerificationFailed | You did not pass the salecontrol verification.Please contact the product. | Failed to pass the sales constraint verification when you create the resource. |
400 | CallInterface | Call Interface Happen Error. | An error occurred when you call the operation. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2023-12-21 | The Error code has changed | see changesets | ||||
|