Class: Ansible::Ruby::Modules::Gce_instance_template
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gce_instance_template
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb
Overview
Creates or destroy Google instance templates of Compute Engine of Google Cloud Platform.
Instance Method Summary collapse
-
#automatic_restart ⇒ Object?
Defines whether the instance should be automatically restarted when it is terminated by Compute Engine.
-
#can_ip_forward ⇒ :yes, ...
Set to C(yes) to allow instance to send/receive non-matching src/dst packets.
-
#credentials_file ⇒ String?
Path to the JSON file associated with the service account email.
-
#description ⇒ Object?
Description of instance template.
-
#disk_auto_delete ⇒ Boolean?
Indicate that the boot disk should be deleted when the Node is deleted.
-
#disk_type ⇒ String?
Specify a C(pd-standard) disk or C(pd-ssd) for an SSD disk.
-
#disks ⇒ Object?
A list of persistent disks to attach to the instance; a string value gives the name of the disk; alternatively, a dictionary value can define ‘name’ and ‘mode’ (‘READ_ONLY’ or ‘READ_WRITE’).
-
#disks_gce_struct ⇒ Object?
Support passing in the GCE-specific formatted formatted disks[] structure.
-
#external_ip ⇒ String?
The external IP address to use.
-
#image ⇒ Object?
The image to use to create the instance.
-
#image_family ⇒ String?
The image family to use to create the instance.
-
#metadata ⇒ Object?
A hash/dictionary of custom data for the instance; ‘…’.
-
#name ⇒ String?
The name of the GCE instance template.
-
#network ⇒ String?
The network to associate with the instance.
-
#nic_gce_struct ⇒ Object?
Support passing in the GCE-specific formatted networkInterfaces[] structure.
-
#pem_file ⇒ Object?
Path to the pem file associated with the service account email This option is deprecated.
-
#preemptible ⇒ Object?
Defines whether the instance is preemptible.
-
#project_id ⇒ String?
Your GCE project ID.
-
#service_account_email ⇒ String?
Service account email.
-
#service_account_permissions ⇒ :bigquery, ...
Service account permissions (see U(cloud.google.com/sdk/gcloud/reference/compute/instances/create), –scopes section for detailed information).
-
#size ⇒ String?
The desired machine type for the instance template.
-
#source ⇒ Object?
A source disk to attach to the instance.
-
#state ⇒ :present, ...
The desired state for the instance template.
-
#subnetwork ⇒ Object?
The Subnetwork resource name for this instance.
-
#subnetwork_region ⇒ Object?
Region that subnetwork resides in.
-
#tags ⇒ Object?
A comma-separated list of tags to associate with the instance.
Methods inherited from Base
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
#automatic_restart ⇒ Object?
65 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 65 attribute :automatic_restart |
#can_ip_forward ⇒ :yes, ...
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 49 attribute :can_ip_forward |
#credentials_file ⇒ String?
96 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 96 attribute :credentials_file |
#description ⇒ Object?
77 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 77 attribute :description |
#disk_auto_delete ⇒ Boolean?
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 38 attribute :disk_auto_delete |
#disk_type ⇒ String?
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 34 attribute :disk_type |
#disks ⇒ Object?
80 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 80 attribute :disks |
#disks_gce_struct ⇒ Object?
86 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 86 attribute :disks_gce_struct |
#external_ip ⇒ String?
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 53 attribute :external_ip |
#image ⇒ Object?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 27 attribute :image |
#image_family ⇒ String?
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 30 attribute :image_family |
#metadata ⇒ Object?
74 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 74 attribute :metadata |
#name ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 16 attribute :name |
#network ⇒ String?
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 42 attribute :network |
#nic_gce_struct ⇒ Object?
83 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 83 attribute :nic_gce_struct |
#pem_file ⇒ Object?
93 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 93 attribute :pem_file |
#preemptible ⇒ Object?
68 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 68 attribute :preemptible |
#project_id ⇒ String?
89 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 89 attribute :project_id |
#service_account_email ⇒ String?
57 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 57 attribute :service_account_email |
#service_account_permissions ⇒ :bigquery, ...
61 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 61 attribute :service_account_permissions |
#size ⇒ String?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 20 attribute :size |
#source ⇒ Object?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 24 attribute :source |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 12 attribute :state |
#subnetwork ⇒ Object?
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 46 attribute :subnetwork |
#subnetwork_region ⇒ Object?
100 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 100 attribute :subnetwork_region |
#tags ⇒ Object?
71 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_instance_template.rb', line 71 attribute :tags |