Class: Ansible::Ruby::Modules::Aix_lvol
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aix_lvol
- Defined in:
- lib/ansible/ruby/modules/generated/system/aix_lvol.rb
Overview
This module creates, removes or resizes AIX logical volumes. Inspired by lvol module.
Instance Method Summary collapse
-
#copies ⇒ String?
The number of copies of the logical volume.
-
#lv ⇒ String
The name of the logical volume.
-
#lv_type ⇒ String?
The type of the logical volume.
-
#opts ⇒ String?
Free-form options to be passed to the mklv command.
-
#policy ⇒ :maximum, ...
Sets the interphysical volume allocation policy.
-
#pvs ⇒ Array<String>, ...
Comma separated list of physical volumes e.g.
-
#size ⇒ String?
The size of the logical volume with one of the [MGT] units.
-
#state ⇒ :absent, ...
Control if the logical volume exists.
-
#vg ⇒ String
The volume group this logical volume is part of.
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
#copies ⇒ String?
Returns The number of copies of the logical volume. Maximum copies are 3.
28 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 28 attribute :copies |
#lv ⇒ String
Returns The name of the logical volume.
16 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 16 attribute :lv |
#lv_type ⇒ String?
Returns The type of the logical volume.
20 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 20 attribute :lv_type |
#opts ⇒ String?
Returns Free-form options to be passed to the mklv command.
40 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 40 attribute :opts |
#policy ⇒ :maximum, ...
Returns Sets the interphysical volume allocation policy. C(maximum) allocates logical partitions across the maximum number of physical volumes. C(minimum) allocates logical partitions across the minimum number of physical volumes.
32 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 32 attribute :policy |
#pvs ⇒ Array<String>, ...
Returns Comma separated list of physical volumes e.g. C(hdisk1,hdisk2).
44 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 44 attribute :pvs |
#size ⇒ String?
Returns The size of the logical volume with one of the [MGT] units.
24 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 24 attribute :size |
#state ⇒ :absent, ...
Returns Control if the logical volume exists. If C(present) and the volume does not already exist then the C(size) option is required.
36 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 36 attribute :state |
#vg ⇒ String
Returns The volume group this logical volume is part of.
12 |
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 12 attribute :vg |