Class: Ansible::Ruby::Modules::Gcp_compute_disk

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb

Overview

Persistent disks are durable storage devices that function similarly to the physical disks in a desktop or a server. Compute Engine manages the hardware behind these devices to ensure data redundancy and optimize performance for you. Persistent disks are available as either standard hard disk drives (HDD) or solid-state drives (SSD). Persistent disks are located independently from your virtual machine instances, so you can detach or move persistent disks to keep your data even after you delete your instances. Persistent disk performance scales automatically with size, so you can resize your existing persistent disks or add more persistent disks to an instance to meet your performance and storage space requirements. Add a persistent disk to your instance when you need reliable and affordable storage with consistent performance characteristics.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#descriptionObject?



18
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 18

attribute :description

#disk_encryption_keyHash?



48
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 48

attribute :disk_encryption_key

#labelsObject?



21
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 21

attribute :labels

#licensesObject?



24
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 24

attribute :licenses

#nameString



27
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 27

attribute :name

#size_gbInteger?



31
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 31

attribute :size_gb

#source_imageObject?



38
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 38

attribute :source_image

#source_image_encryption_keyObject?



45
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 45

attribute :source_image_encryption_key

#source_snapshotObject?



52
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 52

attribute :source_snapshot

#source_snapshot_encryption_keyObject?



55
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 55

attribute :source_snapshot_encryption_key

#state:present, ...



14
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 14

attribute :state

#typeObject?



35
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 35

attribute :type

#zoneString



41
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_disk.rb', line 41

attribute :zone