Class: Ansible::Ruby::Modules::Purefa_snap
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Purefa_snap
- Defined in:
- lib/ansible/ruby/modules/generated/storage/purestorage/purefa_snap.rb
Overview
Create or delete volumes and volume snapshots on Pure Storage FlashArray.
Instance Method Summary collapse
-
#eradicate ⇒ :yes, ...
Define whether to eradicate the snapshot on delete or leave in trash.
-
#name ⇒ String
The name of the source volume.
-
#overwrite ⇒ :yes, ...
Define whether to overwrite existing volume when creating from snapshot.
-
#state ⇒ :absent, ...
Define whether the volume snapshot should exist or not.
-
#suffix ⇒ String?
Suffix of snapshot name.
-
#target ⇒ String?
Name of target volume if creating from snapshot.
Methods inherited from Base
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
#eradicate ⇒ :yes, ...
Returns Define whether to eradicate the snapshot on delete or leave in trash.
32 |
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_snap.rb', line 32 attribute :eradicate |
#name ⇒ String
Returns The name of the source volume.
12 |
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_snap.rb', line 12 attribute :name |
#overwrite ⇒ :yes, ...
Returns Define whether to overwrite existing volume when creating from snapshot.
24 |
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_snap.rb', line 24 attribute :overwrite |
#state ⇒ :absent, ...
Returns Define whether the volume snapshot should exist or not.
28 |
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_snap.rb', line 28 attribute :state |
#suffix ⇒ String?
Returns Suffix of snapshot name.
16 |
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_snap.rb', line 16 attribute :suffix |
#target ⇒ String?
Returns Name of target volume if creating from snapshot.
20 |
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_snap.rb', line 20 attribute :target |