openstack.load_balancer.v2.health_monitor¶
The HealthMonitor Class¶
The HealthMonitor class inherits from
Resource.
-
class
openstack.load_balancer.v2.health_monitor.HealthMonitor(_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._connectionin Resource code should protect itself with a check for None.
-
created_at¶ Properties Timestamp when the health monitor was created.
-
delay¶ The time, in seconds, between sending probes to members.
-
expected_codes¶ The expected http status codes to get from a successful health check
-
http_method¶ The HTTP method that the monitor uses for requests
-
is_admin_state_up¶ The administrative state of the health monitor Type: bool
-
max_retries¶ The number of successful checks before changing the operating status of the member to ONLINE.
-
max_retries_down¶ The number of allowed check failures before changing the operating status of the member to ERROR.
-
name¶ The health monitor name
-
operating_status¶ Operating status of the member.
-
pools¶ List of associated pools. Type: list of dicts which contain the pool IDs
-
pool_id¶ The ID of the associated Pool
-
project_id¶ The ID of the project
-
provisioning_status¶ The provisioning status of this member.
-
timeout¶ The time, in seconds, after which a health check times out
-
type¶ The type of health monitor
-
updated_at¶ Timestamp when the member was last updated.
-
url_path¶ The HTTP path of the request to test the health of a member