Class: Ansible::Ruby::Modules::Gcp_compute_image

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

Overview

Represents an Image resource. Google Compute Engine uses operating system images to create the root persistent disks for your instances. You specify an image when you create an instance. Images contain a boot loader, an operating system, and a root file system. Linux operating system images are also capable of running containers on Compute Engine. Images can be either public or custom. Public images are provided and maintained by Google, open-source communities, and third-party vendors. By default, all projects have access to these images and can use them to create instances. Custom images are available only to your project. You can create a custom image from root persistent disks and other images. Then, use the custom image to create an instance.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#descriptionObject?



19
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 19

attribute :description

#disk_size_gbObject?



22
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 22

attribute :disk_size_gb

#familyObject?



25
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 25

attribute :family

#guest_os_featuresObject?



28
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 28

attribute :guest_os_features

#image_encryption_keyObject?



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

attribute :image_encryption_key

#licensesObject?



34
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 34

attribute :licenses

#nameString



37
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 37

attribute :name

#raw_diskObject?



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

attribute :raw_disk

#source_diskString?



44
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 44

attribute :source_disk

#source_disk_encryption_keyObject?



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

attribute :source_disk_encryption_key

#source_disk_idObject?



51
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 51

attribute :source_disk_id

#source_type:RAW?



54
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 54

attribute :source_type

#state:present, ...



15
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_image.rb', line 15

attribute :state