Class LoadBalancer
A load balancer is a logical device which belongs to a cloud account. It is used to distribute workloads between multiple back-end systems or services, based on the criteria defined as part of its configuration.
- OpenCloud\Common\Base
-
OpenCloud\Common\PersistentObject
-
OpenCloud\LoadBalancer\Resources\LoadBalancer
Located at OpenCloud/LoadBalancer/Resources/LoadBalancer.php
public
|
|
public
HttpResponse
|
|
public
|
#
addVirtualIp( string $type = 'PUBLIC', integer $ipVersion = NULL )
adds a virtual IP to the load balancer |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
checkJsonError(),
getHttpRequestObject(),
getLogger(),
makeQueryString(),
populate(),
setLogger(),
setProperty()
|
public
mixed
|
$id |
|
|
public
string
|
$name |
|
#
Name of the load balancer to create. The name must be 128 characters or less in length, and all UTF-8 characters are valid. |
public
integer
|
$port |
|
#
Port number for the service you are load balancing. |
public
string
|
$protocol |
|
#
Protocol of the service which is being load balanced. |
public
array
|
$virtualIps | array() |
#
Type of virtual IP to add along with the creation of a load balancer. |
public
array
|
$nodes | array() |
#
Nodes to be added to the load balancer. |
public
Collection
|
$accessList |
|
#
The access list management feature allows fine-grained network access controls to be applied to the load balancer's virtual IP address. |
public
string
|
$algorithm |
|
#
Algorithm that defines how traffic should be directed between back-end nodes. |
public
string
|
$connectionLogging |
|
#
Current connection logging configuration. |
public
string
|
$connectionThrottle |
|
#
Specifies limits on the number of connections per IP address to help mitigate malicious or abusive traffic to your applications. |
public
string
|
$healthMonitor |
|
#
The type of health monitor check to perform to ensure that the service is performing properly. |
public
mixed
|
$sessionPersistence |
|
|
public
array| |
$metadata | array() |
#
Information (metadata) that can be associated with each load balancer for the client's personal use. |
public
integer
|
$timeout |
|
#
The timeout value for the load balancer and communications with its nodes. Defaults to 30 seconds with a maximum of 120 seconds. |
public
mixed
|
$created |
|
|
public
mixed
|
$updated |
|
|
public
mixed
|
$status |
|
|
public
mixed
|
$nodeCount |
|
|
public
mixed
|
$sourceAddresses |
|
|
public
mixed
|
$cluster |
|
|
protected static
string
|
$json_name | 'loadBalancer' |
|
protected static
string
|
$url_resource | 'loadbalancers' |