openstack.network.v2.health_monitor¶
The HealthMonitor Class¶
The HealthMonitor
class inherits from Resource
.
-
class
openstack.network.v2.health_monitor.
HealthMonitor
(attrs=None, loaded=False)¶ Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See
Resource.new()
andResource.existing()
.Parameters: -
delay
= None¶ The time, in milliseconds, between sending probes to members.
-
expected_codes
= None¶ Expected HTTP codes for a passing HTTP(S) monitor.
-
http_method
= None¶ The HTTP method that the monitor uses for requests.
-
is_admin_state_up
= None¶ The administrative state of the health monitor, which is up
True
or downFalse
. Type: bool
-
max_retries
= None¶ Maximum consecutive health probe tries.
-
name
= None¶ Name of the health monitor.
-
pool_ids
= None¶ List of pools associated with this health monitor Type: list of dicts which contain the pool IDs
-
project_id
= None¶ The ID of the project this health monitor is associated with.
-
timeout
= None¶ The maximum number of milliseconds for a monitor to wait for a connection to be established before it times out. This value must be less than the delay value.
-
type
= None¶ The type of probe sent by the load balancer to verify the member state, which is PING, TCP, HTTP, or HTTPS.
-
url_path
= None¶ Path portion of URI that will be probed if type is HTTP(S).
-