Class: Ansible::Ruby::Modules::Na_ontap_lun
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Na_ontap_lun
- 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
-
#flexvol_name ⇒ String
The name of the FlexVol the LUN should exist on.
-
#force_remove ⇒ Symbol?
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.
-
#force_remove_fenced ⇒ Symbol?
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”.
-
#force_resize ⇒ Symbol?
Forcibly reduce the size.
-
#name ⇒ String
The name of the LUN to manage.
-
#ostype ⇒ String?
The os type for the LUN.
-
#size ⇒ Integer?
The size of the LUN in C(size_unit).,Required when C(state=present).
-
#size_unit ⇒ :bytes, ...
The unit used to interpret the size parameter.
-
#space_allocation ⇒ Symbol?
This enables support for the SCSI Thin Provisioning features.
-
#space_reserve ⇒ Boolean?
This can be set to “false” which will create a LUN without any space being reserved.
-
#state ⇒ :present, ...
Whether the specified LUN should exist or not.
-
#vserver ⇒ String
The name of the vserver to use.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#flexvol_name ⇒ String
Returns 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_remove ⇒ Symbol?
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.
36 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 36 attribute :force_remove |
#force_remove_fenced ⇒ Symbol?
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.
40 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 40 attribute :force_remove_fenced |
#force_resize ⇒ Symbol?
Returns 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 |
#name ⇒ String
Returns The name of the LUN to manage.
16 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 16 attribute :name |
#ostype ⇒ String?
Returns The os type for the LUN.
48 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 48 attribute :ostype |
#size ⇒ Integer?
Returns 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.
28 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 28 attribute :size_unit |
#space_allocation ⇒ Symbol?
Returns 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_reserve ⇒ Boolean?
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 12 attribute :state |
#vserver ⇒ String
Returns The name of the vserver to use.
44 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_lun.rb', line 44 attribute :vserver |