otcextensions.sdk.vlb.v3.l7_policy

The L7Policy Class

The L7Policy class inherits from Resource.

class otcextensions.sdk.vlb.v3.l7_policy.L7Policy(_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] = 'l7policy'

Singular form of key for resource.

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

Plural form of key for resource.

base_path: str = '/elb/l7policies'

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.

action

Specifies where requests will be forwarded.

created_at

Specifies the time when the forwarding policy was added.

description

Provides supplementary information about the forwarding policy.

is_admin_state_up

Specifies the administrative status of the forwarding policy.

listener_id

Specifies the ID of the listener to which the forwarding policy is added.

name: ty.Union[Body, URI]

Specifies the forwarding policy name.

priority

Specifies the forwarding policy priority.

project_id

Specifies the ID of the project where the forwarding policy is used.

provisioning_status

Specifies the provisioning status of the forwarding policy.

redirect_pool_id

Specifies the ID of the backend server group that requests are forwarded to.

position

Specifies the forwarding policy priority.

redirect_listener_id

Specifies the ID of the listener to which requests are redirected.

redirect_url

Specifies the URL to which requests are forwarded.

rules

Lists the forwarding rules in the forwarding policy.

redirect_url_config

Specifies the URL to which requests are forwarded.

fixed_response_config

Specifies the configuration of the page that will be returned.

updated_at

Specifies the time when the forwarding policy was updated.