Class: Ansible::Ruby::Modules::Os_server_metadata

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_zoneObject?

Returns Availability zone in which to create the snapshot.

Returns:

  • (Object, nil)

    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

#metaObject

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”.

Returns:

  • (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. Eg: meta: “key1=value1,key2=value2”



16
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_metadata.rb', line 16

attribute :meta

#serverObject

Returns Name of the instance to update the metadata.

Returns:

  • (Object)

    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.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



20
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_metadata.rb', line 20

attribute :state