Class: Ansible::Ruby::Modules::Ec2_snapshot
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_snapshot
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb
Instance Method Summary collapse
-
#description ⇒ String?
Description to be applied to the snapshot.
-
#device_name ⇒ String?
Device name of a mounted volume to be snapshotted.
-
#instance_id ⇒ String?
Instance that has the required volume to snapshot mounted.
-
#last_snapshot_min_age ⇒ Integer?
If the volume’s most recent snapshot has started less than ‘last_snapshot_min_age’ minutes ago, a new snapshot will not be created.
-
#snapshot_id ⇒ String?
Snapshot id to remove.
-
#snapshot_tags ⇒ Hash?
A hash/dictionary of tags to add to the snapshot.
-
#state ⇒ :absent, ...
Whether to add or create a snapshot.
-
#volume_id ⇒ String?
Volume from which to take the snapshot.
-
#wait ⇒ Boolean?
Wait for the snapshot to be ready.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds,specify 0 to wait forever.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#description ⇒ String?
Returns description to be applied to the snapshot.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 14 attribute :description |
#device_name ⇒ String?
Returns device name of a mounted volume to be snapshotted.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 22 attribute :device_name |
#instance_id ⇒ String?
Returns instance that has the required volume to snapshot mounted.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 18 attribute :instance_id |
#last_snapshot_min_age ⇒ Integer?
Returns If the volume’s most recent snapshot has started less than ‘last_snapshot_min_age’ minutes ago, a new snapshot will not be created.
46 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 46 attribute :last_snapshot_min_age |
#snapshot_id ⇒ String?
Returns snapshot id to remove.
42 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 42 attribute :snapshot_id |
#snapshot_tags ⇒ Hash?
Returns a hash/dictionary of tags to add to the snapshot.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 26 attribute :snapshot_tags |
#state ⇒ :absent, ...
Returns whether to add or create a snapshot.
38 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 38 attribute :state |
#volume_id ⇒ String?
Returns volume from which to take the snapshot.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 10 attribute :volume_id |
#wait ⇒ Boolean?
Returns wait for the snapshot to be ready.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 30 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds,specify 0 to wait forever.
34 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_snapshot.rb', line 34 attribute :wait_timeout |