This API is used to modify the name, description, bandwidth, and administrative status of a load balancer.
PUT /v1.0/{project_id}/elbaas/loadbalancers/{loadbalancer_id}
{
"description": "simple lb",
"name": "loadbalancer1",
"bandwidth": 200,
"admin_state_up": true
}
Parameter |
Type |
Description |
|---|---|---|
uri |
String |
Specifies the URI returned by Combined API after the job for modifying a load balancer is delivered. |
job_id |
String |
Specifies the unique ID assigned to the job for modifying a load balancer in Combined API. |
{
"uri": "/v1/73cd9140bec7427ab9952b4ed75924e0/jobs/4010b39d4fbb4645014fcfddf4b32d15",
"job_id": "4010b39d4fbb4645014fcfddf4b32d15"
}
Status Code |
Message |
Description |
|---|---|---|
400 |
badRequest |
Request error. |
401 |
unauthorized |
Authentication failed. |
403 |
userDisabled |
You do not have the permission to perform the operation. |
404 |
Not Found |
The requested page does not exist. |
500 |
authFault |
System error. |
503 |
serviceUnavailable |
The service is unavailable. |