Documentation

1.Load Balancer
1.1.createLoadBalancerRule
Parameter Name Description Required
algorithm load balancer algorithm (source, roundrobin, leastconn) true
name name of the load balancer rule true
privateport the private port of the private IP address/virtual machine where the network traffic will be load balanced to true
publicport the public port from where the network traffic will be load balanced from true
account the account associated with the load balancer. Must be used with the domainId parameter. false
cidrlist the CIDR list to forward traffic from false
description the description of the load balancer rule false
domainid the domain ID associated with the load balancer false
fordisplay an optional field, whether to the display the rule to the end user or not false
networkid The guest network this rule will be created for. Required when public Ip address is not associated with any Guest network yet (VPC case) false
openfirewall if true, firewall rule for source/end public port is automatically created; if false - firewall rule has to be created explicitely. If not specified 1) defaulted to false when LB rule is being created for VPC guest network 2) in all other cases defaulted to true false
protocol The protocol for the LB false
publicipid public IP address ID from where the network traffic will be load balanced from false
zoneid zone where the load balancer is going to be created. This parameter is required when LB service provider is ElasticLoadBalancerVm false
Response Name Description
id the load balancer rule ID
account the account of the load balancer rule
algorithm the load balancer algorithm (source, roundrobin, leastconn)
cidrlist the cidr list to forward traffic from
description the description of the load balancer
domain the domain of the load balancer rule
domainid the domain ID of the load balancer rule
fordisplay is rule for display to the regular user
name the name of the load balancer
networkid the id of the guest network the lb rule belongs to
privateport the private port
project the project name of the load balancer
projectid the project id of the load balancer
protocol the protocol of the loadbalanacer rule
publicip the public ip address
publicipid the public ip address id
publicport the public port
state the state of the rule
zoneid the id of the zone the rule belongs to
tags(*) the list of resource tags associated with load balancer
account the account associated with the tag
customer customer associated with the tag
domain the domain associated with the tag
domainid the ID of the domain associated with the tag
key tag key name
project the project name where tag belongs to
projectid the project id the tag belongs to
resourceid id of the resource
resourcetype resource type
value tag value
Suggest Edit