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: - attrs (dict) – The attributes to set when constructing this Resource.
- loaded (bool) –
Trueif this Resource exists on the server,Falseif it does not.
-
admin_state_up= None¶ The administrative state of the health monitor, which is up
Trueor downFalse. Type: bool
-
delay= None¶ The time, in seconds, 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.
-
max_retries= None¶ Maximum consecutive health probe tries.
-
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 seconds 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).