title | platform |
---|---|
About the google_compute_region_backend_services resource |
gcp |
A google_compute_region_backend_services
is used to test a Google RegionBackendService resource
This resource has beta fields available. To retrieve these fields, include beta: true
in the constructor for the resource
describe google_compute_region_backend_services(project: 'chef-gcp-inspec', region: 'europe-west2') do
its('count') { should be >= 1 }
its('names') { should include 'inspec-gcp-region-backend-service' }
its('protocols') { should include 'TCP' }
its('timeout_secs') { should include '15' }
end
Properties that can be accessed from the google_compute_region_backend_services
resource:
See google_compute_region_backend_service.md for more detailed information
affinity_cookie_ttl_secs
: an array ofgoogle_compute_region_backend_service
affinity_cookie_ttl_secbackends
: an array ofgoogle_compute_region_backend_service
backendscircuit_breakers
: an array ofgoogle_compute_region_backend_service
circuit_breakersconsistent_hashes
: an array ofgoogle_compute_region_backend_service
consistent_hashcdn_policies
: an array ofgoogle_compute_region_backend_service
cdn_policyconnection_drainings
: an array ofgoogle_compute_region_backend_service
connection_drainingcreation_timestamps
: an array ofgoogle_compute_region_backend_service
creation_timestampdescriptions
: an array ofgoogle_compute_region_backend_service
descriptionfailover_policies
: an array ofgoogle_compute_region_backend_service
failover_policyenable_cdns
: an array ofgoogle_compute_region_backend_service
enable_cdnfingerprints
: an array ofgoogle_compute_region_backend_service
fingerprinthealth_checks
: an array ofgoogle_compute_region_backend_service
health_checksids
: an array ofgoogle_compute_region_backend_service
idload_balancing_schemes
: an array ofgoogle_compute_region_backend_service
load_balancing_schemelocality_lb_policies
: an array ofgoogle_compute_region_backend_service
locality_lb_policynames
: an array ofgoogle_compute_region_backend_service
nameoutlier_detections
: an array ofgoogle_compute_region_backend_service
outlier_detectionport_names
: an array ofgoogle_compute_region_backend_service
port_nameprotocols
: an array ofgoogle_compute_region_backend_service
protocolsession_affinities
: an array ofgoogle_compute_region_backend_service
session_affinitytimeout_secs
: an array ofgoogle_compute_region_backend_service
timeout_seclog_configs
: an array ofgoogle_compute_region_backend_service
log_confignetworks
: an array ofgoogle_compute_region_backend_service
networkregions
: an array ofgoogle_compute_region_backend_service
region
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.