AttachVipToLoadBalancer

Attach a VIP to a load balancer. For example,
AttachVipToLoadBalancer loadBalancerUuid=7e331a2f61ed4c65b96d521115bc9f16 vipUuid=93dea4f116654754ac4d40e50b3c8cad

Parameters

Name Description Optional Valid Value Starting Version
loadBalancerUuid The load balance UUID. 5.0.0
vipUuid The VIP UUID. 5.0.0
userTags The user tags. For more information, see CreateUserTag. The resource type is LoadBalancerListenerVO Yes 5.0.0
systemTags The system tags. For more information, see CreateSystemTag. The resource type is LoadBalancerListenerVO. Yes 5.0.0
timeout Yes
Note:
  • When you add a VM NIC to a load balancer in ZStack Cloud, you can set the weight of the backend server by adding the balancerWeight option to SystemTags.
    • Format of the balancerWeight option: balancerWeight::{nicUuid}::{weight}. Here, weight is the weight of the backend server. Weight range: 0-100, integer. Default value: 100.
    • Example: balancerWeight::{"c44007641c9040c6b2587e19b1b3e2b0"}::{100}
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center