Class: Ansible::Ruby::Modules::Rax_cbs

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb

Overview

Manipulate Rackspace Cloud Block Storage Volumes

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#descriptionObject?

Returns Description to give the volume being created.

Returns:

  • (Object, nil)

    Description to give the volume being created



12
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 12

attribute :description

#imageObject?

Returns image to use for bootable volumes. Can be an C(id), C(human_id) or C(name). This option requires C(pyrax>=1.9.3).

Returns:

  • (Object, nil)

    image to use for bootable volumes. Can be an C(id), C(human_id) or C(name). This option requires C(pyrax>=1.9.3)



15
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 15

attribute :image

#metaObject?

Returns A hash of metadata to associate with the volume.

Returns:

  • (Object, nil)

    A hash of metadata to associate with the volume



18
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 18

attribute :meta

#nameString

Returns Name to give the volume being created.

Returns:

  • (String)

    Name to give the volume being created



21
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 21

attribute :name

#sizeInteger

Returns Size of the volume to create in Gigabytes.

Returns:

  • (Integer)

    Size of the volume to create in Gigabytes



25
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 25

attribute :size

#snapshot_idObject?

Returns The id of the snapshot to create the volume from.

Returns:

  • (Object, nil)

    The id of the snapshot to create the volume from



29
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 29

attribute :snapshot_id

#state:present, :absent

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent)

    Indicate desired state of the resource



32
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 32

attribute :state

#volume_type:SATA, :SSD

Returns Type of the volume being created.

Returns:

  • (:SATA, :SSD)

    Type of the volume being created



36
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 36

attribute :volume_type

#wait:yes, ...

Returns wait for the volume to be in state ‘available’ before returning.

Returns:

  • (:yes, :no, nil)

    wait for the volume to be in state ‘available’ before returning



40
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 40

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



44
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 44

attribute :wait_timeout