Class: Ansible::Ruby::Modules::Gce_tag
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gce_tag
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb
Overview
This module can add or remove tags U(cloud.google.com/compute/docs/label-or-tag-resources#tags) to/from GCE instances. Use ‘instance_pattern’ to update multiple instances in a specify zone.
Instance Method Summary collapse
-
#instance_name ⇒ String?
The name of the GCE instance to add/remove tags.,Required if C(instance_pattern) is not specified.
-
#instance_pattern ⇒ String?
The pattern of GCE instance names to match for adding/removing tags.
-
#pem_file ⇒ Object?
Path to the PEM file associated with the service account email.
-
#project_id ⇒ Object?
Your GCE project ID.
-
#service_account_email ⇒ Object?
Service account email.
-
#state ⇒ :absent, ...
Desired state of the tags.
-
#tags ⇒ Array<String>, String
Comma-separated list of tags to add or remove.
-
#zone ⇒ String?
The zone of the disk specified by source.
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
#instance_name ⇒ String?
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb', line 12 attribute :instance_name |
#instance_pattern ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb', line 16 attribute :instance_pattern |
#pem_file ⇒ Object?
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb', line 35 attribute :pem_file |
#project_id ⇒ Object?
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb', line 38 attribute :project_id |
#service_account_email ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb', line 32 attribute :service_account_email |
#state ⇒ :absent, ...
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb', line 24 attribute :state |
#tags ⇒ Array<String>, String
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb', line 20 attribute :tags |
#zone ⇒ String?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_tag.rb', line 28 attribute :zone |