Class: Ansible::Ruby::Modules::Os_volume_snapshot
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_volume_snapshot
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb
Overview
Create or Delete cinder block storage volume snapshots
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Availability zone in which to create the snapshot.
-
#display_description ⇒ Object?
String describing the snapshot.
-
#display_name ⇒ Object
Name of the snapshot.
-
#force ⇒ Symbol?
Allows or disallows snapshot of a volume to be created when the volume is attached to an instance.
-
#state ⇒ :present, ...
Should the resource be present or absent.
-
#volume ⇒ Object
The volume name or id to create/delete the snapshot.
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
#availability_zone ⇒ Object?
Returns Availability zone in which to create the snapshot.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 31 attribute :availability_zone |
#display_description ⇒ Object?
Returns String describing the snapshot.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 16 attribute :display_description |
#display_name ⇒ Object
Returns Name of the snapshot.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 12 attribute :display_name |
#force ⇒ Symbol?
Returns Allows or disallows snapshot of a volume to be created when the volume is attached to an instance.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 23 attribute :force |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 27 attribute :state |
#volume ⇒ Object
Returns The volume name or id to create/delete the snapshot.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 19 attribute :volume |