Class: Ansible::Ruby::Modules::Gcp_compute_instance_group
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_instance_group
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb
Overview
Represents an Instance Group resource. Instance groups are self-managed and can contain identical or different instances. Instance groups do not use an instance template. Unlike managed instance groups, you must create and add instances to an instance group manually.
Instance Method Summary collapse
-
#description ⇒ Object?
An optional description of this resource.
-
#name ⇒ String?
The name of the instance group.,The name must be 1-63 characters long, and comply with RFC1035.
-
#named_ports ⇒ Array<Hash>, ...
Assigns a name to a port number.,For example: “http”, port: 80.,This allows the system to reference ports by the assigned name instead of a port number.
-
#network ⇒ String?
The network to which all instances in the instance group belong.
-
#region ⇒ Object?
The region where the instance group is located (for regional resources).
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#subnetwork ⇒ Object?
The subnetwork to which all instances in the instance group belong.
-
#zone ⇒ String
A reference to the zone where the instance group 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
#description ⇒ Object?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb', line 16 attribute :description |
#name ⇒ String?
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb', line 19 attribute :name |
#named_ports ⇒ Array<Hash>, ...
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb', line 23 attribute :named_ports |
#network ⇒ String?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb', line 27 attribute :network |
#region ⇒ Object?
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb', line 31 attribute :region |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb', line 12 attribute :state |
#subnetwork ⇒ Object?
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb', line 34 attribute :subnetwork |
#zone ⇒ String
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_instance_group.rb', line 37 attribute :zone |