The load_balancer high-level interface is available through the
load_balancer member of a Connection object.
The load_balancer member will only be added if the service is detected.
openstack.load_balancer.v2._proxy.Proxy(session)¶create_load_balancer(**attrs)¶Create a new load balancer from attributes
| Parameters: | attrs (dict) – Keyword arguments which will be used to create
a LoadBalancer,
comprised of the properties on the
LoadBalancer class. |
|---|---|
| Returns: | The results of load balancer creation |
| Return type: | LoadBalancer |
get_load_balancer(*attrs)¶Get a load balancer
| Parameters: | load_balancer – The value can be the name of a load balancer
or LoadBalancer
instance. |
|---|---|
| Returns: | One
LoadBalancer |
load_balancers(**query)¶Retrieve a generator of load balancers
| Returns: | A generator of load balancer instances |
|---|
delete_load_balancer(load_balancer, ignore_missing=True)¶Delete a load balancer
| Parameters: |
|
|---|---|
| Returns: |
|
find_load_balancer(name_or_id, ignore_missing=True)¶Find a single load balancer
| Parameters: |
|
|---|---|
| Returns: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.