title | platform |
---|---|
About the google_compute_global_operations resource |
gcp |
A google_compute_global_operations
is used to test a Google GlobalOperation resource
describe google_compute_global_operations(project: 'chef-gcp-inspec') do
it { should exist }
it { should be_up }
its('operation_type') { should include 'delete' }
end
Properties that can be accessed from the google_compute_global_operations
resource:
See google_compute_global_operation.md for more detailed information
creation_timestamps
: an array ofgoogle_compute_global_operation
creation_timestampdescriptions
: an array ofgoogle_compute_global_operation
descriptionids
: an array ofgoogle_compute_global_operation
idnames
: an array ofgoogle_compute_global_operation
namezones
: an array ofgoogle_compute_global_operation
zoneclient_operation_ids
: an array ofgoogle_compute_global_operation
client_operation_idoperation_types
: an array ofgoogle_compute_global_operation
operation_typeusers
: an array ofgoogle_compute_global_operation
userprogresses
: an array ofgoogle_compute_global_operation
progressinsert_times
: an array ofgoogle_compute_global_operation
insert_timestart_times
: an array ofgoogle_compute_global_operation
start_timeend_times
: an array ofgoogle_compute_global_operation
end_timestatuses
: an array ofgoogle_compute_global_operation
statusstatus_messages
: an array ofgoogle_compute_global_operation
status_message
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.