Class: Ansible::Ruby::Modules::Os_volume_snapshot

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

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

#availability_zoneObject?

Returns Availability zone in which to create the snapshot.

Returns:

  • (Object, nil)

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

Returns String describing the snapshot.

Returns:

  • (Object, nil)

    String describing the snapshot



16
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 16

attribute :display_description

#display_nameObject

Returns Name of the snapshot.

Returns:

  • (Object)

    Name of the snapshot



12
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 12

attribute :display_name

#forceSymbol?

Returns Allows or disallows snapshot of a volume to be created when the volume is attached to an instance.

Returns:

  • (Symbol, nil)

    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.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



27
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_volume_snapshot.rb', line 27

attribute :state

#volumeObject

Returns The volume name or id to create/delete the snapshot.

Returns:

  • (Object)

    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