Class: Ansible::Ruby::Modules::Netapp_e_lun_mapping
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Netapp_e_lun_mapping
- 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
-
#lun ⇒ Object?
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.
-
#state ⇒ :present, :absent
Present will ensure the mapping exists, absent will remove the mapping.
-
#target ⇒ String?
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.
-
#target_type ⇒ :host, ...
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.
-
#volume_name ⇒ Object
The name of the volume you wish to include in the mapping.
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
#lun ⇒ Object?
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.
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.
12 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_lun_mapping.rb', line 12 attribute :state |
#target ⇒ String?
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.
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.
27 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_lun_mapping.rb', line 27 attribute :target_type |
#volume_name ⇒ Object
Returns 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 |