Class: Ansible::Ruby::Modules::Digital_ocean_tag
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Digital_ocean_tag
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_tag.rb
Overview
Create and remove tag(s) to DigitalOcean resource.
Instance Method Summary collapse
-
#name ⇒ String
The name of the tag.
-
#resource_id ⇒ String?
The ID of the resource to operate on.,The data type of resource_id is changed from integer to string, from version 2.5.
-
#resource_type ⇒ :droplet?
The type of resource to operate on.
-
#state ⇒ :present, ...
Whether the tag should be present or absent on the resource.
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
#name ⇒ String
Returns The name of the tag. The supported characters for names include alphanumeric characters, dashes, and underscores.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_tag.rb', line 12 attribute :name |
#resource_id ⇒ String?
Returns The ID of the resource to operate on.,The data type of resource_id is changed from integer to string, from version 2.5.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_tag.rb', line 16 attribute :resource_id |
#resource_type ⇒ :droplet?
Returns The type of resource to operate on. Currently, only tagging of droplets is supported.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_tag.rb', line 20 attribute :resource_type |
#state ⇒ :present, ...
Returns Whether the tag should be present or absent on the resource.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_tag.rb', line 24 attribute :state |