Class: Ansible::Ruby::Modules::Aix_lvol

Inherits:
Base show all
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

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

#copiesString?

Returns The number of copies of the logical volume. Maximum copies are 3.

Returns:

  • (String, nil)

    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

#lvString

Returns The name of the logical volume.

Returns:

  • (String)

    The name of the logical volume.



16
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 16

attribute :lv

#lv_typeString?

Returns The type of the logical volume.

Returns:

  • (String, nil)

    The type of the logical volume.



20
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 20

attribute :lv_type

#optsString?

Returns Free-form options to be passed to the mklv command.

Returns:

  • (String, nil)

    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.

Returns:

  • (:maximum, :minimum, nil)

    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

#pvsArray<String>, ...

Returns Comma separated list of physical volumes e.g. C(hdisk1,hdisk2).

Returns:

  • (Array<String>, String, nil)

    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

#sizeString?

Returns The size of the logical volume with one of the [MGT] units.

Returns:

  • (String, nil)

    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.

Returns:

  • (:absent, :present, nil)

    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

#vgString

Returns The volume group this logical volume is part of.

Returns:

  • (String)

    The volume group this logical volume is part of.



12
# File 'lib/ansible/ruby/modules/generated/system/aix_lvol.rb', line 12

attribute :vg