Class: Ansible::Ruby::Modules::Na_cdot_lun

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

Overview

Create, destroy, resize luns on NetApp cDOT.

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

#flexvol_nameString?

Returns The name of the FlexVol the lun should exist on.,Required when C(state=present).

Returns:

  • (String, nil)

    The name of the FlexVol the lun should exist on.,Required when C(state=present).



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

attribute :flexvol_name

#force_removeBoolean?

Returns If “true”, override checks that prevent a LUN from being destroyed if it is online and mapped.,If “false”, destroying an online and mapped LUN will fail.

Returns:

  • (Boolean, nil)

    If “true”, override checks that prevent a LUN from being destroyed if it is online and mapped.,If “false”, destroying an online and mapped LUN will fail.



36
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_lun.rb', line 36

attribute :force_remove

#force_remove_fencedBoolean?

Returns If “true”, override checks that prevent a LUN from being destroyed while it is fenced.,If “false”, attempting to destroy a fenced LUN will fail.,The default if not specified is “false”. This field is available in Data ONTAP 8.2 and later.

Returns:

  • (Boolean, nil)

    If “true”, override checks that prevent a LUN from being destroyed while it is fenced.,If “false”, attempting to destroy a fenced LUN will fail.,The default if not specified is “false”. This field is available in Data ONTAP 8.2 and later.



40
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_lun.rb', line 40

attribute :force_remove_fenced

#force_resizeBoolean?

Returns Forcibly reduce the size. This is required for reducing the size of the LUN to avoid accidentally reducing the LUN size.

Returns:

  • (Boolean, nil)

    Forcibly reduce the size. This is required for reducing the size of the LUN to avoid accidentally reducing the LUN size.



32
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_lun.rb', line 32

attribute :force_resize

#nameString

Returns The name of the lun to manage.

Returns:

  • (String)

    The name of the lun to manage.



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

attribute :name

#sizeInteger?

Returns The size of the lun in C(size_unit).,Required when C(state=present).

Returns:

  • (Integer, nil)

    The size of the lun in C(size_unit).,Required when C(state=present).



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

attribute :size

#size_unit:bytes, ...

Returns The unit used to interpret the size parameter.

Returns:

  • (:bytes, :b, :kb, :mb, :gb, :tb, :pb, :eb, :zb, :yb, nil)

    The unit used to interpret the size parameter.



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

attribute :size_unit

#state:present, :absent

Returns Whether the specified lun should exist or not.

Returns:

  • (:present, :absent)

    Whether the specified lun should exist or not.



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

attribute :state

#vserverString

Returns The name of the vserver to use.

Returns:

  • (String)

    The name of the vserver to use.



44
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_lun.rb', line 44

attribute :vserver