otcextensions.sdk.vlb.v3.load_balancer

The LoadBalancer Class

The LoadBalancer class inherits from Resource.

class otcextensions.sdk.vlb.v3.load_balancer.LoadBalancer(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resource_key: ty.Optional[str] = 'loadbalancer'

Singular form of key for resource.

resources_key: ty.Optional[str] = 'loadbalancers'

Plural form of key for resource.

base_path: str = '/elb/loadbalancers'

The base part of the URI for this resource.

allow_create = True

Allow create operation for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_commit = True

Allow update operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

availability_zones

Name of the target Octavia availability zone

created_at

Timestamp when the load balancer was created

description

The load balancer description

deletion_protection_enable

The load balancer description

eips

EIP bound to the load balancer.

floating_ip

FIP

floating_ips

Assigned FIPs

is_guaranteed

Specifies whether the load balancer is a dedicated load balancer.

is_admin_state_up

The administrative state of the load balancer Type: bool

ip_target_enable

Specifies whether to enable cross-VPC backend.

l4_flavor_id

The Layer-4 flavor.

l7_flavor_id

Specifies the Layer-7 flavor.

listeners

List of listeners associated with this load balancer

name: ty.Union[Body, URI]

Load balancer name.

network_ids

Network id

subnet_type

Subnet type

operating_status

Operating status of the load balancer

pools

List of pools associated with this load balancer

project_id

The ID of the project this load balancer is associated with.

provider

Provider name for the load balancer.

provisioning_status

The provisioning status of this load balancer

tags

Tags added to the load balancer

updated_at

Timestamp when the load balancer was last updated

ip_address

Specifies the private IP address of the load balancer.

subnet_id

VIP subnet ID

vpc_id

Router id