title | platform |
---|---|
About the google_compute_http_health_checks resource |
gcp |
A google_compute_http_health_checks
is used to test a Google HttpHealthCheck resource
describe google_compute_http_health_checks(project: 'chef-gcp-inspec') do
its('names') { should include 'inspec-gcp-http-health-check' }
its('timeout_secs') { should include '20' }
its('check_interval_secs') { should include '20' }
end
Properties that can be accessed from the google_compute_http_health_checks
resource:
See google_compute_http_health_check.md for more detailed information
check_interval_secs
: an array ofgoogle_compute_http_health_check
check_interval_seccreation_timestamps
: an array ofgoogle_compute_http_health_check
creation_timestampdescriptions
: an array ofgoogle_compute_http_health_check
descriptionhealthy_thresholds
: an array ofgoogle_compute_http_health_check
healthy_thresholdhosts
: an array ofgoogle_compute_http_health_check
hostids
: an array ofgoogle_compute_http_health_check
idnames
: an array ofgoogle_compute_http_health_check
nameports
: an array ofgoogle_compute_http_health_check
portrequest_paths
: an array ofgoogle_compute_http_health_check
request_pathtimeout_secs
: an array ofgoogle_compute_http_health_check
timeout_secunhealthy_thresholds
: an array ofgoogle_compute_http_health_check
unhealthy_threshold
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Compute Engine API is enabled for the current project.