Class: Ansible::Ruby::Modules::Gcp_compute_health_check
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_health_check
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb
Overview
An HealthCheck resource. This resource defines a template for how individual virtual machines should be checked for health, via one of the supported protocols.
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.
-
#http_health_check ⇒ Object?
A nested object resource.
-
#https_health_check ⇒ Object?
A nested object resource.
-
#name ⇒ String?
Name of the resource.
-
#ssl_health_check ⇒ Object?
A nested object resource.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#tcp_health_check ⇒ Hash?
A nested object resource.
-
#timeout_sec ⇒ Integer?
How long (in seconds) to wait before claiming failure.,The default value is 5 seconds.
-
#type ⇒ :TCP, ...
Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS.
-
#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_health_check.rb', line 16 attribute :check_interval_sec |
#description ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 20 attribute :description |
#healthy_threshold ⇒ Integer?
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 23 attribute :healthy_threshold |
#http_health_check ⇒ Object?
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 43 attribute :http_health_check |
#https_health_check ⇒ Object?
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 46 attribute :https_health_check |
#name ⇒ String?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 27 attribute :name |
#ssl_health_check ⇒ Object?
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 53 attribute :ssl_health_check |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 12 attribute :state |
#tcp_health_check ⇒ Hash?
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 49 attribute :tcp_health_check |
#timeout_sec ⇒ Integer?
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 31 attribute :timeout_sec |
#type ⇒ :TCP, ...
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 39 attribute :type |
#unhealthy_threshold ⇒ Integer?
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_health_check.rb', line 35 attribute :unhealthy_threshold |