Class: Ansible::Ruby::Modules::Netapp_e_lun_mapping

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_lun_mapping.rb

Overview

Create, delete, or modify mappings between a volume and a targeted host/host+ group.

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

#lunObject?

Returns The LUN value you wish to give the mapping.,If the supplied I(volume_name) is associated with a different LUN, it will be updated to what is supplied here.,LUN value will be determine by the storage-system when not specified.

Returns:

  • (Object, nil)

    The LUN value you wish to give the mapping.,If the supplied I(volume_name) is associated with a different LUN, it will be updated to what is supplied here.,LUN value will be determine by the storage-system when not specified.



24
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_lun_mapping.rb', line 24

attribute :lun

#state:present, :absent

Returns Present will ensure the mapping exists, absent will remove the mapping.

Returns:

  • (:present, :absent)

    Present will ensure the mapping exists, absent will remove the mapping.



12
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_lun_mapping.rb', line 12

attribute :state

#targetString?

Returns The name of host or hostgroup you wish to assign to the mapping,If omitted, the default hostgroup is used.,If the supplied I(volume_name) is associated with a different target, it will be updated to what is supplied here.

Returns:

  • (String, nil)

    The name of host or hostgroup you wish to assign to the mapping,If omitted, the default hostgroup is used.,If the supplied I(volume_name) is associated with a different target, it will be updated to what is supplied here.



16
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_lun_mapping.rb', line 16

attribute :target

#target_type:host, ...

Returns This option specifies the whether the target should be a host or a group of hosts,Only necessary when the target name is used for both a host and a group of hosts.

Returns:

  • (:host, :group, nil)

    This option specifies the whether the target should be a host or a group of hosts,Only necessary when the target name is used for both a host and a group of hosts



27
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_lun_mapping.rb', line 27

attribute :target_type

#volume_nameObject

Returns The name of the volume you wish to include in the mapping.

Returns:

  • (Object)

    The name of the volume you wish to include in the mapping.



20
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_lun_mapping.rb', line 20

attribute :volume_name