Request parameters
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 |
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 pubic 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 |
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 Tags
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 |
name | the name of the load balancer |
privateport | the private port |
project | the project name of the load balancer |
projectid | the project id of the load balancer |
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 |