Class: Ansible::Ruby::Modules::Gcp_compute_https_health_check
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_https_health_check
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb
Overview
An HttpsHealthCheck resource. This resource defines a template for how individual VMs should be checked for health, via HTTPS.
Instance Method Summary collapse
-
#check_interval_sec ⇒ Object?
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 HTTPS health check request.
-
#name ⇒ String
Name of the resource.
-
#port ⇒ Integer?
The TCP port number for the HTTPS health check request.,The default value is 80.
-
#request_path ⇒ Object?
The request path of the HTTPS 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 ⇒ Object?
Returns How often (in seconds) to send a health check. The default value is 5 seconds.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 16 attribute :check_interval_sec |
#description ⇒ Object?
Returns An optional description of this resource. Provide this property when you create the resource.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 19 attribute :description |
#healthy_threshold ⇒ Integer?
Returns A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
22 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 22 attribute :healthy_threshold |
#host ⇒ Object?
Returns The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 26 attribute :host |
#name ⇒ String
Returns Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression ‘[a-z](*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 29 attribute :name |
#port ⇒ Integer?
Returns The TCP port number for the HTTPS health check request.,The default value is 80.
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 33 attribute :port |
#request_path ⇒ Object?
Returns The request path of the HTTPS health check request.,The default value is /.
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 37 attribute :request_path |
#state ⇒ :present, ...
Returns Whether the given object should exist in GCP.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 12 attribute :state |
#timeout_sec ⇒ Integer?
Returns How long (in seconds) to wait before claiming failure.,The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 40 attribute :timeout_sec |
#unhealthy_threshold ⇒ Integer?
Returns A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_https_health_check.rb', line 44 attribute :unhealthy_threshold |