Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 2.63 KB

google_compute_region_commitments.md

File metadata and controls

50 lines (43 loc) · 2.63 KB
title platform
About the google_compute_region_commitments resource
gcp

Syntax

A google_compute_region_commitments is used to test a Google RegionCommitment resource

Examples

    describe google_compute_region_commitments(project: 'chef-gcp-inspec', region: ' value_region') do
    it { should exist }
  end

Properties

Properties that can be accessed from the google_compute_region_commitments resource:

See google_compute_region_commitment.md for more detailed information

  • kinds: an array of google_compute_region_commitment kind
  • ids: an array of google_compute_region_commitment id
  • creation_timestamps: an array of google_compute_region_commitment creation_timestamp
  • names: an array of google_compute_region_commitment name
  • descriptions: an array of google_compute_region_commitment description
  • regions: an array of google_compute_region_commitment region
  • self_links: an array of google_compute_region_commitment self_link
  • self_link_with_ids: an array of google_compute_region_commitment self_link_with_id
  • statuses: an array of google_compute_region_commitment status
  • status_messages: an array of google_compute_region_commitment status_message
  • plans: an array of google_compute_region_commitment plan
  • start_timestamps: an array of google_compute_region_commitment start_timestamp
  • end_timestamps: an array of google_compute_region_commitment end_timestamp
  • resources: an array of google_compute_region_commitment resources
  • types: an array of google_compute_region_commitment type
  • reservations: an array of google_compute_region_commitment reservations
  • categories: an array of google_compute_region_commitment category
  • license_resources: an array of google_compute_region_commitment license_resource
  • auto_renews: an array of google_compute_region_commitment auto_renew
  • merge_source_commitments: an array of google_compute_region_commitment merge_source_commitments
  • split_source_commitments: an array of google_compute_region_commitment split_source_commitment
  • resource_statuses: an array of google_compute_region_commitment resource_status
  • existing_reservations: an array of google_compute_region_commitment existing_reservations

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.