[Load Balancers] editAutoScalingBalancer

editAutoScalingBalancer

Summary of the Process by the Function

Edit the setting of a auto scale type load balancer.

Request Parameters

Specify the following parameter(s) when executing this function.

ParameterDescriptionRequired
cluster_id

Cluster ID

Specify Cluster ID
Load balancer identifier can be obtained through 13.1. listClusters function
It is the id of autoscale field or cluster field in the response object, 13.1. listCluster function

autoscaling_in_cpu

Node deleting CPU condition[Duration Time,Deleting number of nodes,CPU load[%]]

Specify the value after the change as a condition when auto scale in based on CPU load
Duration Time can be specified by the multiple of 5 minutes and between 5 and 60 minutes
Use comma to separator condition parameters

×
autoscaling_in_memory

Memory condition for node deletion[Duration Time,Deleting number of nodes,Remaining memory[MB]]

Specify the value after the change as a condition when auto scale in based on remaining memory
Duration Time can be specified by the multiple of 5 minutes and between 5 and 60 minutes
Use comma to separator condition parameters

×
autoscaling_out_cpu

CPU condition for node addition[Duration Time,Additional number of nodes,CPU load[%]]

Specify the value after the change as a condition when auto scale out based on CPU load
Duration Time can be specified by the multiple of 5 minutes and between 5 and 60 minutes

Use comma to separator condition parameters

×
autoscaling_out_memory

Memory condition for node addition[Duration Time,Additional number of nodes,Remaining memory[MB]]

Specify the value after the change as a condition when auto scale out based on remaining memory
Duration Time can be specified by the multiple of 5 minutes and between 5 and 60 minutes
Use comma to separator condition parameters

×
max_node_amount

The maximum number of nodes

Specify the value after the change for the maximum number of nodes on the virtual server integrated by auto scale out

×
min_node_amount

The minimum number of nodes

Specify the value after the change for the minimum number of virtual servers when deleting nodes by auto scale in

×

Response Objects

If the request to edit the specified auto scaling load balancer is successful then true is returned.
If the request to edit the specified auto scaling load balancer failed then the resulting error message is returned.

Request Sample

https://api.gmocloud.com/Cloud-Zone-Id/?Action=editAutoScalingBalancer&AccessKeyId=AccessKeyId&Version=1.0&cluster_id=ID_of_Cluster&max_node_amount=4&min_node_amount=1&auto_scaling_in_memory=30%2C3%2C44&auto_scaling_out_memory=15%2C1%2C3&auto_scaling_in_cpu=30%2C3%2C80&auto_scaling_out_cpu=15%2C1%2C2&Signature=Signature

Response Sample

true

Note: GMO CLOUD AMERICA INC. does not make any guarantee with regard to the content of this manual and will not be held responsible for any damages resulting from customers or third parties.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk