Class: Ansible::Ruby::Modules::Gcp_compute_http_health_check
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_http_health_check
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb
Overview
An HttpHealthCheck resource. This resource defines a template for how individual VMs should be checked for health, via HTTP.
Instance Method Summary collapse
-
#check_interval_sec ⇒ Integer?
How often (in seconds) to send a health check.
-
#description ⇒ Object?
An optional description of this resource.
-
#healthy_threshold ⇒ Integer?
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
-
#host ⇒ Object?
The value of the host header in the HTTP health check request.
-
#name ⇒ String
Name of the resource.
-
#port ⇒ Integer?
The TCP port number for the HTTP health check request.,The default value is 80.
-
#request_path ⇒ Object?
The request path of the HTTP health check request.,The default value is /.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#timeout_sec ⇒ Integer?
How long (in seconds) to wait before claiming failure.,The default value is 5 seconds.
-
#unhealthy_threshold ⇒ Integer?
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#check_interval_sec ⇒ Integer?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 16 attribute :check_interval_sec |
#description ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 20 attribute :description |
#healthy_threshold ⇒ Integer?
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 23 attribute :healthy_threshold |
#host ⇒ Object?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 27 attribute :host |
#name ⇒ String
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 30 attribute :name |
#port ⇒ Integer?
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 34 attribute :port |
#request_path ⇒ Object?
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 38 attribute :request_path |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 12 attribute :state |
#timeout_sec ⇒ Integer?
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 41 attribute :timeout_sec |
#unhealthy_threshold ⇒ Integer?
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_http_health_check.rb', line 45 attribute :unhealthy_threshold |