google_compute_interconnects resource
Use the google_compute_interconnects InSpec audit resource to to test a Google Cloud Interconnect resource.
Examples
describe google_compute_interconnects(project: 'chef-gcp-inspec') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_interconnects resource:
See google_compute_interconnect for more detailed information.
admin_enableds: an array ofgoogle_compute_interconnectadmin_enabledcreation_timestamps: an array ofgoogle_compute_interconnectcreation_timestampdescriptions: an array ofgoogle_compute_interconnectdescriptionlocations: an array ofgoogle_compute_interconnectlocationids: an array ofgoogle_compute_interconnectidnames: an array ofgoogle_compute_interconnectnamenoc_contact_emails: an array ofgoogle_compute_interconnectnoc_contact_emailpeer_ip_addresses: an array ofgoogle_compute_interconnectpeer_ip_addressgoogle_ip_addresses: an array ofgoogle_compute_interconnectgoogle_ip_addressclient_operation_ids: an array ofgoogle_compute_interconnectclient_operation_idgoogle_reference_ids: an array ofgoogle_compute_interconnectgoogle_reference_idprovisioned_link_counts: an array ofgoogle_compute_interconnectprovisioned_link_countcustomer_names: an array ofgoogle_compute_interconnectcustomer_namerequested_link_counts: an array ofgoogle_compute_interconnectrequested_link_countoperational_statuses: an array ofgoogle_compute_interconnectoperational_statuslink_types: an array ofgoogle_compute_interconnectlink_typeinterconnect_types: an array ofgoogle_compute_interconnectinterconnect_typeinterconnect_attachments: an array ofgoogle_compute_interconnectinterconnect_attachmentsexpected_outages: an array ofgoogle_compute_interconnectexpected_outagescircuit_infos: an array ofgoogle_compute_interconnectcircuit_infossatisfies_pzs: an array ofgoogle_compute_interconnectsatisfies_pzs
Filter criteria
This resource supports all of the above properties as filter criteria, which can be used
with where as a block or a method.
GCP permissions
Ensure the Compute Engine API is enabled for the current project.