ModifyLoadBalancerAttributes
Description
Modifies the attributes of the specified load balancer.
You can modify the period for maintaining the connection to the front and back ends of a load balancer in an idle state.
Request parameters
Refer to "Common Parameters" for details on standard parameter information used by all actions.
- LoadBalancerAttributes
Information about the load balancer attributes.
- Type: LoadBalancerAttributes
- Required: Yes
- LoadBalancerName
Name of the load balancer.
- Type: String
- Required: Yes
Response
The following status code is returned.
- Normal response code
This operation was accepted normally.
- HTTP Status Code: 200
Response Elements
The following element is returned in a structure called the ModifyLoadBalancerAttributesResult.
- LoadBalancerAttributes
Information about the load balancer attributes.
- Type: LoadBalancerAttributes
- LoadBalancerName
Name of the load balancer.
- Type: String
Errors
Refer to "Common Errors" for details on error information common to all operations.
- AccessPointNotFound
The specified load balancer could not be found.
- HTTP Status Code: 400
Examples
Sample Request
The example below modifies the ConnectionSettings attribute of the load balancer named MyLB01.
https://loadbalancing.(regionName).cloud.global.fujitsu.com/?LoadBalancerAttributes.ConnectionSettings.IdleTimeout=30
&LoadBalancerName=MyLB01
&Version=2014-11-01
&Action= ModifyLoadBalancerAttributes
Sample Response (XML)
<ModifyLoadBalancerAttributesResponse xmlns="http://docs.cloudcommunity.global.fujitsu.com/loadbalancing/api/v1.0">
<ModifyLoadBalancerAttributesResult>
<LoadBalancerName>MyLB01</LoadBalancerName>
<LoadBalancerAttributes>
<ConnectionSettings>
<IdleTimeout>30</IdleTimeout>
</ConnectionSettings>
</LoadBalancerAttributes>
</ModifyLoadBalancerAttributesResult>
<ResponseMetadata>
<RequestId>83c88b9d-12b7-11e3-8b82-87b13EXAMPLE</RequestId>
</ResponseMetadata>
</ModifyLoadBalancerAttributesResponse>
Sample Response (JSON)
{
"ModifyLoadBalancerAttributesResponse": {
"ModifyLoadBalancerAttributesResult": {
"LoadBalancerName": "MyLB01",
"LoadBalancerAttributes": {
"ConnectionSettings": {
"IdleTimeout": "30"
}
}
},
"ResponseMetadata": {
"RequestId": "83c88b9d-12b7-11e3-8b82-87b13XAMPLE"
}
}
}