Class: Ansible::Ruby::Modules::Netapp_e_host
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Netapp_e_host
- Defined in:
- lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb
Overview
Create, update, remove hosts on NetApp E-series storage arrays
Instance Method Summary collapse
-
#force_port ⇒ Symbol?
Allow ports that are already assigned to be re-assigned to your current host.
-
#group ⇒ Object?
The unique identifier of the host-group you want the host to be a member of; this is used for clustering.
-
#host_type_index ⇒ Integer?
The index that maps to host type you wish to create.
-
#log_path ⇒ Object?
A local path to a file to be used for debug logging.
-
#name ⇒ String
If the host doesn’t yet exist, the label/name to assign at creation time.,If the hosts already exists, this will be used to uniquely identify the host to make any required changes.
-
#ports ⇒ Array<Hash>, ...
A list of host ports you wish to associate with the host.,Host ports are uniquely identified by their WWN or IQN.
-
#state ⇒ :absent, ...
Set to absent to remove an existing host,Set to present to modify or create a new host definition.
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
#force_port ⇒ Symbol?
Returns Allow ports that are already assigned to be re-assigned to your current host.
28 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 28 attribute :force_port |
#group ⇒ Object?
Returns The unique identifier of the host-group you want the host to be a member of; this is used for clustering.
32 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 32 attribute :group |
#host_type_index ⇒ Integer?
Returns The index that maps to host type you wish to create. It is recommended to use the M(netapp_e_facts) module to gather this information. Alternatively you can use the WSP portal to retrieve the information.,Required when C(state=present).
20 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 20 attribute :host_type_index |
#log_path ⇒ Object?
Returns A local path to a file to be used for debug logging.
35 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 35 attribute :log_path |
#name ⇒ String
Returns If the host doesn’t yet exist, the label/name to assign at creation time.,If the hosts already exists, this will be used to uniquely identify the host to make any required changes.
12 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 12 attribute :name |
#ports ⇒ Array<Hash>, ...
Returns A list of host ports you wish to associate with the host.,Host ports are uniquely identified by their WWN or IQN. Their assignments to a particular host are uniquely identified by a label and these must be unique.
24 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 24 attribute :ports |
#state ⇒ :absent, ...
Returns Set to absent to remove an existing host,Set to present to modify or create a new host definition.
16 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 16 attribute :state |