Class: Ansible::Ruby::Modules::Sf_volume_manager
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Sf_volume_manager
- 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
-
#access ⇒ :readOnly, ...
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.
-
#account_id ⇒ Integer
Account ID for the owner of this volume.
-
#attributes ⇒ Object?
A YAML dictionary of attributes that you would like to apply on this volume.
-
#name ⇒ String
The name of the volume to manage.
-
#qos ⇒ Hash?
Initial quality of service settings for this volume.
-
#size ⇒ Integer?
The size of the volume in (size_unit).,Required when C(state = present).
-
#size_unit ⇒ :bytes, ...
The unit used to interpret the size parameter.
-
#state ⇒ :present, :absent
Whether the specified volume should exist or not.
-
#volume_id ⇒ Object?
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.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #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.
45 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 45 attribute :access |
#account_id ⇒ Integer
Returns 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 |
#attributes ⇒ Object?
Returns 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 |
#name ⇒ String
Returns The name of the volume to manage.
16 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 16 attribute :name |
#qos ⇒ Hash?
Returns 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 |
#size ⇒ Integer?
Returns 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.
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.
12 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 12 attribute :state |
#volume_id ⇒ Object?
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).
34 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/sf_volume_manager.rb', line 34 attribute :volume_id |