Class: Ansible::Ruby::Modules::Na_ontap_lun

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

Overview

Create, destroy, resize LUNs on NetApp ONTAP.

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.

Returns:

  • (String)

    The name of the FlexVol the LUN should exist on.



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

attribute :flexvol_name

#force_removeSymbol?

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:

  • (Symbol, 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_ontap_lun.rb', line 36

attribute :force_remove

#force_remove_fencedSymbol?

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:

  • (Symbol, 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_ontap_lun.rb', line 40

attribute :force_remove_fenced

#force_resizeSymbol?

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

Returns:

  • (Symbol, 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_ontap_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_ontap_lun.rb', line 16

attribute :name

#ostypeString?

Returns The os type for the LUN.

Returns:

  • (String, nil)

    The os type for the LUN.



48
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 48

attribute :ostype

#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_ontap_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_ontap_lun.rb', line 28

attribute :size_unit

#space_allocationSymbol?

Returns This enables support for the SCSI Thin Provisioning features. If the Host and file system do not support this do not enable it.

Returns:

  • (Symbol, nil)

    This enables support for the SCSI Thin Provisioning features. If the Host and file system do not support this do not enable it.



56
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 56

attribute :space_allocation

#space_reserveBoolean?

Returns This can be set to “false” which will create a LUN without any space being reserved.

Returns:

  • (Boolean, nil)

    This can be set to “false” which will create a LUN without any space being reserved.



52
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 52

attribute :space_reserve

#state:present, ...

Returns Whether the specified LUN should exist or not.

Returns:

  • (:present, :absent, nil)

    Whether the specified LUN should exist or not.



12
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_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_ontap_lun.rb', line 44

attribute :vserver