Class: Ansible::Ruby::Modules::Infini_host

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

Overview

This module creates, deletes or modifies hosts on Infinibox.

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

#nameString

Returns Host Name.

Returns:

  • (String)

    Host Name



12
# File 'lib/ansible/ruby/modules/generated/storage/infinidat/infini_host.rb', line 12

attribute :name

#state:present, ...

Returns Creates/Modifies Host when present or removes when absent.

Returns:

  • (:present, :absent, nil)

    Creates/Modifies Host when present or removes when absent



16
# File 'lib/ansible/ruby/modules/generated/storage/infinidat/infini_host.rb', line 16

attribute :state

#volumeString?

Returns Volume name to map to the host.

Returns:

  • (String, nil)

    Volume name to map to the host



24
# File 'lib/ansible/ruby/modules/generated/storage/infinidat/infini_host.rb', line 24

attribute :volume

#wwnsArray<String>, ...

Returns List of wwns of the host.

Returns:

  • (Array<String>, String, nil)

    List of wwns of the host



20
# File 'lib/ansible/ruby/modules/generated/storage/infinidat/infini_host.rb', line 20

attribute :wwns