Class: Ansible::Ruby::Modules::Gcp_compute_instance
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_instance
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb
Overview
An instance is a virtual machine (VM) hosted on Google’s infrastructure.
Instance Method Summary collapse
-
#can_ip_forward ⇒ Symbol?
Allows this instance to send and receive packets with non-matching destination or source IPs.
-
#disks ⇒ Array<Hash>, ...
An array of disks that are associated with the instances that are created from this template.
-
#guest_accelerators ⇒ Object?
List of the type and count of accelerator cards attached to the instance .
-
#label_fingerprint ⇒ Object?
A fingerprint for this request, which is essentially a hash of the metadata’s contents and used for optimistic locking.
-
#machine_type ⇒ String?
A reference to a machine type which defines VM kind.
-
#metadata ⇒ Hash?
The metadata key/value pairs to assign to instances that are created from this template.
-
#min_cpu_platform ⇒ Object?
Specifies a minimum CPU platform for the VM instance.
-
#name ⇒ String?
The name of the resource, provided by the client when initially creating the resource.
-
#network_interfaces ⇒ Array<Hash>, ...
An array of configurations for this interface.
-
#scheduling ⇒ Object?
Sets the scheduling options for this instance.
-
#service_accounts ⇒ Object?
A list of service accounts, with their specified scopes, authorized for this instance.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#tags ⇒ Object?
A list of tags to apply to this instance.
-
#zone ⇒ String
A reference to the zone where the machine resides.
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
#can_ip_forward ⇒ Symbol?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 16 attribute :can_ip_forward |
#disks ⇒ Array<Hash>, ...
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 20 attribute :disks |
#guest_accelerators ⇒ Object?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 24 attribute :guest_accelerators |
#label_fingerprint ⇒ Object?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 27 attribute :label_fingerprint |
#machine_type ⇒ String?
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 34 attribute :machine_type |
#metadata ⇒ Hash?
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 30 attribute :metadata |
#min_cpu_platform ⇒ Object?
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 38 attribute :min_cpu_platform |
#name ⇒ String?
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 41 attribute :name |
#network_interfaces ⇒ Array<Hash>, ...
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 45 attribute :network_interfaces |
#scheduling ⇒ Object?
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 49 attribute :scheduling |
#service_accounts ⇒ Object?
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 52 attribute :service_accounts |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 12 attribute :state |
#tags ⇒ Object?
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 55 attribute :tags |
#zone ⇒ String
58 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance.rb', line 58 attribute :zone |