createLoadBalancerRule

Creates a load balancer rule

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
openfirewall if true, firewall rule for source/end pubic port is automatically created; if false - firewall rule has to be created explicitely. Has value true by default false
publicipid public ip address id from where the network traffic will be load balanced from false
zoneid public ip address id from where the network traffic will be load balanced from 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
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
Related Pages: listNetworks, restartNetwork, updateNetwork, associateIpAddress, disassociateIpAddress, listPublicIpAddresses, deleteLoadBalancerRule, removeFromLoadBalancerRule, assignToLoadBalancerRule, listLoadBalancerRules, listLoadBalancerRuleInstances, updateLoadBalancerRule, listPortForwardingRules, createPortForwardingRule, deletePortForwardingRule, createFirewallRule, deleteFirewallRule, listFirewallRules, createRemoteAccessVpn, deleteRemoteAccessVpn, listRemoteAccessVpns, enableStaticNat, createIpForwardingRule, deleteIpForwardingRule, listIpForwardingRules, disableStaticNat, extractVolume, listZones, login, logout, listAccounts, queryAsyncJobResult, listAsyncJobs, listServiceOfferings, listDiskOfferings, registerSSHKeyPair, createSSHKeyPair, deleteSSHKeyPair, listSSHKeyPairs, listVirtualMachines, destroyVirtualMachine, rebootVirtualMachine, stopVirtualMachine, resetPasswordForVirtualMachine, changeServiceForVirtualMachine, updateVirtualMachine, getVMPassword, deployVirtualMachine, startVirtualMachine, listSnapshots, listSnapshotPolicies, deleteSnapshot, createSnapshot, createSnapshotPolicy, deleteSnapshotPolicies, listTemplates, createTemplate, registerTemplate, updateTemplate, copyTemplate, deleteTemplate, updateTemplatePermissions, listTemplatePermissions, extractTemplate, listSecurityGroups, createSecurityGroup, deleteSecurityGroup, authorizeSecurityGroupIngress, revokeSecurityGroupIngress, listVolumes, createVolume, attachVolume, detachVolume, deleteVolume, listNetworkOfferings, createNetwork, deleteNetwork, listTags, createTags, deleteTags