title | platform |
---|---|
About the google_compute_region_operations resource |
gcp |
A google_compute_region_operations
is used to test a Google RegionOperation resource
describe google_compute_region_operations(project: 'chef-gcp-inspec', region: '') do
it { should exist }
its('names') { should include 'operation-1641188435323-5d4a6f5b26934-9281422c-dce238f5' }
its('progress') { should include '100' }
end
Properties that can be accessed from the google_compute_region_operations
resource:
See google_compute_region_operation.md for more detailed information
creation_timestamps
: an array ofgoogle_compute_region_operation
creation_timestampdescriptions
: an array ofgoogle_compute_region_operation
descriptionids
: an array ofgoogle_compute_region_operation
idnames
: an array ofgoogle_compute_region_operation
nametarget_ids
: an array ofgoogle_compute_region_operation
target_idstatuses
: an array ofgoogle_compute_region_operation
statususers
: an array ofgoogle_compute_region_operation
userinsert_times
: an array ofgoogle_compute_region_operation
insert_timestart_times
: an array ofgoogle_compute_region_operation
start_timeend_times
: an array ofgoogle_compute_region_operation
end_timeprogresses
: an array ofgoogle_compute_region_operation
progresszones
: an array ofgoogle_compute_region_operation
zone
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.