Class: Ansible::Ruby::Modules::Sf_volume_manager

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

Overview

Create, destroy, or update volumes on SolidFire

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

#access:readOnly, ...

Returns Access allowed for the volume.,readOnly: Only read operations are allowed.,readWrite: Reads and writes are allowed.,locked: No reads or writes are allowed.,replicationTarget: Identify a volume as the target volume for a paired set of volumes. If the volume is not paired, the access status is locked.,If unspecified, the access settings of the clone will be the same as the source.

Returns:

  • (:readOnly, :readWrite, :locked, :replicationTarget, nil)

    Access allowed for the volume.,readOnly: Only read operations are allowed.,readWrite: Reads and writes are allowed.,locked: No reads or writes are allowed.,replicationTarget: Identify a volume as the target volume for a paired set of volumes. If the volume is not paired, the access status is locked.,If unspecified, the access settings of the clone will be the same as the source.



45
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 45

attribute :access

#account_idInteger

Returns Account ID for the owner of this volume.

Returns:

  • (Integer)

    Account ID for the owner of this volume.



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

attribute :account_id

#attributesObject?

Returns A YAML dictionary of attributes that you would like to apply on this volume.

Returns:

  • (Object, nil)

    A YAML dictionary of attributes that you would like to apply on this volume.



31
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 31

attribute :attributes

#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/sf_volume_manager.rb', line 16

attribute :name

#qosHash?

Returns Initial quality of service settings for this volume. Configure as dict in playbooks.

Returns:

  • (Hash, nil)

    Initial quality of service settings for this volume. Configure as dict in playbooks.



27
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 27

attribute :qos

#sizeInteger?

Returns The size of the volume in (size_unit).,Required when C(state = present).

Returns:

  • (Integer, nil)

    The size of the volume in (size_unit).,Required when C(state = present).



37
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 37

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.



41
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 41

attribute :size_unit

#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/sf_volume_manager.rb', line 12

attribute :state

#volume_idObject?

Returns The ID of the volume to manage or update.,In order to create multiple volumes with the same name, but different volume_ids, please declare the I(volume_id) parameter with an arbitrary value. However, the specified volume_id will not be assigned to the newly created volume (since it’s an auto-generated property).

Returns:

  • (Object, nil)

    The ID of the volume to manage or update.,In order to create multiple volumes with the same name, but different volume_ids, please declare the I(volume_id) parameter with an arbitrary value. However, the specified volume_id will not be assigned to the newly created volume (since it’s an auto-generated property).



34
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 34

attribute :volume_id