ModifyLoadBalancerBandwidth
1. API Description
The API is used to modify the bandwidth of a load balancer instance.
2. Input Parameters
The following request parameter list only provides API request parameters.
Parameter Name
Required
Type
Description
loadBalancerId
Yes
String
Load balancer instance ID.
bandwidth
Yes
Integer
Bandwidth value. Valid value: 1 to 10240. Unit: Mbps.
3. Output Parameters
Parameter Name
Type
Description
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4. Code Example
Modify the bandwidth of a load balancer instance to 100 Mbps.
POST / HTTP/1.1
Host: console.harmonynetworks.net/api/v2/bmc
Content-Type: application/json
X-ZC-Action: ModifyLoadBalancerBandwidth
<Common Request Params>
Request:
{
"loadBalancerId": "xxxx",
"bandwidth": 100
}
Response:
{
"requestId": "TEEFDCA5B-76FB-4E91-A18E-DF7F5D2CE41F",
"response": {
"requestId": "TEEFDCA5B-76FB-4E91-A18E-DF7F5D2CE41F"
}
}5. Error Codes
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Last updated