Class: Ansible::Ruby::Modules::Na_cdot_lun
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Na_cdot_lun
- 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
-
#flexvol_name ⇒ String?
The name of the FlexVol the lun should exist on.,Required when C(state=present).
-
#force_remove ⇒ Boolean?
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 ⇒ Boolean?
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 ⇒ Boolean?
Forcibly reduce the size.
-
#name ⇒ String
The name of the lun to manage.
-
#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.
-
#state ⇒ :present, :absent
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, 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_name ⇒ String?
Returns 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_remove ⇒ Boolean?
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_cdot_lun.rb', line 36 attribute :force_remove |
#force_remove_fenced ⇒ Boolean?
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_cdot_lun.rb', line 40 attribute :force_remove_fenced |
#force_resize ⇒ Boolean?
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_cdot_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_cdot_lun.rb', line 16 attribute :name |
#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_cdot_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_cdot_lun.rb', line 28 attribute :size_unit |
#state ⇒ :present, :absent
Returns 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 |
#vserver ⇒ String
Returns The name of the vserver to use.
44 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_lun.rb', line 44 attribute :vserver |