Class: Ansible::Ruby::Modules::Gcp_compute_instance_template

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

Overview

Defines an Instance Template resource that provides configuration settings for your virtual machine instances. Instance templates are not tied to the lifetime of an instance and can be used and reused as to deploy virtual machines. You can also use different templates to create different virtual machine configurations. Instance templates are required when you create a managed instance group. Tip: Disks should be set to autoDelete=true so that leftover disks are not left behind on machine deletion.

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?



17
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_template.rb', line 17

attribute :description

#nameString



20
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_template.rb', line 20

attribute :name

#propertiesHash?



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

attribute :properties

#state:present, ...



13
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_template.rb', line 13

attribute :state