Class: Ansible::Ruby::Modules::Os_server_metadata
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_server_metadata
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_server_metadata.rb
Overview
Add, Update or Remove metadata in compute instances from OpenStack.
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Availability zone in which to create the snapshot.
-
#meta ⇒ Object
A list of key value pairs that should be provided as a metadata to the instance or a string containing a list of key-value pairs.
-
#server ⇒ Object
Name of the instance to update the metadata.
-
#state ⇒ :present, ...
Should the resource be present or absent.
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
#availability_zone ⇒ Object?
Returns Availability zone in which to create the snapshot.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_metadata.rb', line 24 attribute :availability_zone |
#meta ⇒ Object
Returns A list of key value pairs that should be provided as a metadata to the instance or a string containing a list of key-value pairs. Eg: meta: “key1=value1,key2=value2”.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_metadata.rb', line 16 attribute :meta |
#server ⇒ Object
Returns Name of the instance to update the metadata.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_metadata.rb', line 12 attribute :server |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_metadata.rb', line 20 attribute :state |