Class: Ansible::Ruby::Modules::Na_elementsw_volume_clone
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Na_elementsw_volume_clone
- Defined in:
- lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb
Overview
Create volume clones on Element OS
Instance Method Summary collapse
-
#access ⇒ :readOnly, ...
Access allowed for the volume.,If unspecified, the access settings of the clone will be the same as the source.,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 cloned volume.
-
#attributes ⇒ Hash?
A YAML dictionary of attributes that you would like to apply on this cloned volume.
-
#name ⇒ String
The name of the clone.
-
#size ⇒ Integer?
The size of the cloned volume in (size_unit).
-
#size_unit ⇒ :bytes, ...
The unit used to interpret the size parameter.
-
#src_snapshot_id ⇒ Integer?
The id of the snapshot to clone.
-
#src_volume_id ⇒ Integer
The id of the src volume to clone.
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.,If unspecified, the access settings of the clone will be the same as the source.,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.
40 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb', line 40 attribute :access |
#account_id ⇒ Integer
Returns Account ID for the owner of this cloned volume. id may be a numeric identifier or an account name.
24 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb', line 24 attribute :account_id |
#attributes ⇒ Hash?
Returns A YAML dictionary of attributes that you would like to apply on this cloned volume.
28 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb', line 28 attribute :attributes |
#name ⇒ String
Returns The name of the clone.
12 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb', line 12 attribute :name |
#size ⇒ Integer?
Returns The size of the cloned volume in (size_unit).
32 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb', line 32 attribute :size |
#size_unit ⇒ :bytes, ...
Returns The unit used to interpret the size parameter.
36 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb', line 36 attribute :size_unit |
#src_snapshot_id ⇒ Integer?
Returns The id of the snapshot to clone. id may be a numeric identifier or a snapshot name.
20 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb', line 20 attribute :src_snapshot_id |
#src_volume_id ⇒ Integer
Returns The id of the src volume to clone. id may be a numeric identifier or a volume name.
16 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_volume_clone.rb', line 16 attribute :src_volume_id |