Class: Ansible::Ruby::Modules::Netapp_e_volume

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

Overview

Create or remove volumes (standard and thin) for NetApp E/EF-series storage arrays.

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

#data_assurance_enabled:yes, ...

Returns If data assurance should be enabled for the volume.

Returns:

  • (:yes, :no, nil)

    If data assurance should be enabled for the volume



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

attribute :data_assurance_enabled

#nameString

Returns The name of the volume to manage.

Returns:

  • (String)

    The name of the volume to manage



16
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_volume.rb', line 16

attribute :name

#segment_size_kbInteger?

Returns The segment size of the new volume.

Returns:

  • (Integer, nil)

    The segment size of the new volume



32
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_volume.rb', line 32

attribute :segment_size_kb

#sizeObject

Returns Required only when state = ‘present’. The size of the volume in (size_unit).

Returns:

  • (Object)

    Required only when state = ‘present’. The size of the volume in (size_unit).



28
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_volume.rb', line 28

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



24
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_volume.rb', line 24

attribute :size_unit

#ssd_cache_enabledSymbol?

Returns Whether an existing SSD cache should be enabled on the volume (fails if no SSD cache defined),The default value is to ignore existing SSD cache setting.

Returns:

  • (Symbol, nil)

    Whether an existing SSD cache should be enabled on the volume (fails if no SSD cache defined),The default value is to ignore existing SSD cache setting.



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

attribute :ssd_cache_enabled

#state:present, :absent

Returns Whether the specified volume should exist or not.

Returns:

  • (:present, :absent)

    Whether the specified volume should exist or not.



12
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_volume.rb', line 12

attribute :state

#storage_pool_nameObject

Returns Required only when requested state is ‘present’. The name of the storage pool the volume should exist on.

Returns:

  • (Object)

    Required only when requested state is ‘present’. The name of the storage pool the volume should exist on.



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

attribute :storage_pool_name

#thin_provision:yes, ...

Returns Whether the volume should be thin provisioned. Thin volumes can only be created on disk pools (raidDiskPool).

Returns:

  • (:yes, :no, nil)

    Whether the volume should be thin provisioned. Thin volumes can only be created on disk pools (raidDiskPool).



36
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_volume.rb', line 36

attribute :thin_provision

#thin_volume_max_repo_sizeString?

Returns Maximum size that the thin volume repository volume will automatically expand to.

Returns:

  • (String, nil)

    Maximum size that the thin volume repository volume will automatically expand to



44
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_volume.rb', line 44

attribute :thin_volume_max_repo_size

#thin_volume_repo_sizeObject

Returns Initial size of the thin volume repository volume (in size_unit).

Returns:

  • (Object)

    Initial size of the thin volume repository volume (in size_unit)



40
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_volume.rb', line 40

attribute :thin_volume_repo_size