Class: Ansible::Ruby::Modules::Gcp_compute_instance_template
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_instance_template
- 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
-
#description ⇒ Object?
An optional description of this resource.
-
#name ⇒ String
Name of the resource.
-
#properties ⇒ Hash?
The instance properties for this instance template.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
Methods inherited from Base
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
#description ⇒ Object?
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_template.rb', line 17 attribute :description |
#name ⇒ String
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_template.rb', line 20 attribute :name |
#properties ⇒ Hash?
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 |