Class: Ansible::Ruby::Modules::Na_elementsw_drive

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

Overview

Add, Erase or Remove drive for nodes on Element Software Cluster.

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

#drive_idString?

Returns Drive ID or Serial Name of Node drive.,If not specified, add and remove action will be performed on all drives of node_id.

Returns:

  • (String, nil)

    Drive ID or Serial Name of Node drive.,If not specified, add and remove action will be performed on all drives of node_id



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

attribute :drive_id

#force_during_bin_syncSymbol?

Returns Flag to force during a bin sync operation.

Returns:

  • (Symbol, nil)

    Flag to force during a bin sync operation.



28
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_drive.rb', line 28

attribute :force_during_bin_sync

#force_during_upgradeSymbol?

Returns Flag to force drive operation during upgrade.

Returns:

  • (Symbol, nil)

    Flag to force drive operation during upgrade.



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

attribute :force_during_upgrade

#node_idString

Returns ID or Name of cluster node.

Returns:

  • (String)

    ID or Name of cluster node.



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

attribute :node_id

#state:present, ...

Returns Element SW Storage Drive operation state.,present - To add drive of node to participate in cluster data storage.,absent - To remove the drive from being part of active cluster.,clean - Clean-up any residual data persistent on a removed drive in a secured method.

Returns:

  • (:present, :absent, :clean, nil)

    Element SW Storage Drive operation state.,present - To add drive of node to participate in cluster data storage.,absent - To remove the drive from being part of active cluster.,clean - Clean-up any residual data persistent on a removed drive in a secured method.



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

attribute :state