Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.33 KB

google_compute_disk_types.md

File metadata and controls

36 lines (29 loc) · 1.33 KB
title platform
About the google_compute_disk_types resource
gcp

Syntax

A google_compute_disk_types is used to test a Google DiskType resource

Examples

describe google_compute_disk_types(project: 'chef-gcp-inspec', zone: 'us-east1-b') do
it { should exist }
it { should be_up }
end

Properties

Properties that can be accessed from the google_compute_disk_types resource:

See google_compute_disk_type.md for more detailed information

  • creation_timestamps: an array of google_compute_disk_type creation_timestamp
  • default_disk_size_gbs: an array of google_compute_disk_type default_disk_size_gb
  • deprecateds: an array of google_compute_disk_type deprecated
  • descriptions: an array of google_compute_disk_type description
  • ids: an array of google_compute_disk_type id
  • names: an array of google_compute_disk_type name
  • valid_disk_sizes: an array of google_compute_disk_type valid_disk_size
  • zones: an array of google_compute_disk_type zone

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.