Class: Ansible::Ruby::Modules::Na_elementsw_volume_clone

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

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.,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.

Returns:

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

    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_idInteger

Returns Account ID for the owner of this cloned volume. id may be a numeric identifier or an account name.

Returns:

  • (Integer)

    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

#attributesHash?

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

Returns:

  • (Hash, nil)

    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

#nameString

Returns The name of the clone.

Returns:

  • (String)

    The name of the clone.



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

attribute :name

#sizeInteger?

Returns The size of the cloned volume in (size_unit).

Returns:

  • (Integer, nil)

    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.

Returns:

  • (:bytes, :b, :kb, :mb, :gb, :tb, :pb, :eb, :zb, :yb, nil)

    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_idInteger?

Returns The id of the snapshot to clone. id may be a numeric identifier or a snapshot name.

Returns:

  • (Integer, nil)

    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_idInteger

Returns The id of the src volume to clone. id may be a numeric identifier or a volume name.

Returns:

  • (Integer)

    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