otcextensions.sdk.vlb.v3.l7_rule¶
The L7Rule Class¶
The L7Rule
class inherits from
Resource
.
- class otcextensions.sdk.vlb.v3.l7_rule.L7Rule(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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] = 'rule'¶
Singular form of key for resource.
- resources_key: ty.Optional[str] = 'rules'¶
Plural form of key for resource.
- base_path: str = '/elb/l7policies/%(l7policy_id)s/rules'¶
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.
- l7policy_id¶
Specifies the forwarding policy ID.
- compare_type¶
Specifies how requests are matched and forwarded.
- conditions¶
Specifies the matching conditions of the forwarding rule.
- invert¶
Specifies whether reverse matching is supported.
- is_admin_state_up¶
Specifies the administrative status of the forwarding rule.
- key¶
Specifies the key of the match item.
- project_id¶
Specifies the project ID.
- provisioning_status¶
Specifies the provisioning status of the forwarding rule.
- type¶
Specifies the match content.
- rule_value¶
Specifies the value of the match item.