otcextensions.sdk.vlb.v3.health_monitor

The HealthMonitor Class

The HealthMonitor class inherits from Resource.

class otcextensions.sdk.vlb.v3.health_monitor.HealthMonitor(_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] = 'healthmonitor'

Singular form of key for resource.

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

Plural form of key for resource.

base_path: str = '/elb/healthmonitors'

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.

delay

Specifies the interval between health checks, in seconds.

domain_name

Specifies the domain name that HTTP requests are sent to during the health check.

expected_codes

Specifies the expected HTTP status code.

http_method

Specifies the HTTP method.

is_admin_state_up

Specifies the administrative status of the health check.

max_retries

Specifies the number of consecutive health checks when the health check result of a backend server changes from OFFLINE to ONLINE.

max_retries_down

Specifies the number of consecutive health checks when the health check result of a backend server changes from ONLINE to OFFLINE

monitor_port

Specifies the port used for the health check.

pool_id

Specifies the ID of the backend server group for which the health check is configured.

pools

Lists the IDs of backend server groups for which the health check is configured.

project_id

Specifies the project ID.

timeout

Specifies the maximum time required for waiting for a response from the health check, in seconds.

type

Specifies the health check protocol.

url_path

Specifies the HTTP request path for the health check.

created_at

Specifies the time when the health check was configured.

updated_at

Specifies the time when the health check was updated.