Class: Ansible::Ruby::Modules::Profitbricks_volume

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb

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, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#auto_incrementBoolean?

Returns Whether or not to increment a single number in the name for created virtual machines.

Returns:

  • (Boolean, nil)

    Whether or not to increment a single number in the name for created virtual machines.



42
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 42

attribute :auto_increment

#bus:IDE, ...

Returns The bus type.

Returns:

  • (:IDE, :VIRTIO, nil)

    The bus type.



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 22

attribute :bus

#countInteger?

Returns The number of volumes you wish to create.

Returns:

  • (Integer, nil)

    The number of volumes you wish to create.



38
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 38

attribute :count

#datacenterString

Returns The datacenter in which to create the volumes.

Returns:

  • (String)

    The datacenter in which to create the volumes.



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 10

attribute :datacenter

#disk_typeString?

Returns The disk type. Currently only HDD.

Returns:

  • (String, nil)

    The disk type. Currently only HDD.



30
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 30

attribute :disk_type

#imageObject

Returns The system image ID for the volume, e.g. a3eae284-a2fe-11e4-b187-5f1f641608c8. This can also be a snapshot image ID.

Returns:

  • (Object)

    The system image ID for the volume, e.g. a3eae284-a2fe-11e4-b187-5f1f641608c8. This can also be a snapshot image ID.



26
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 26

attribute :image

#instance_idsArray<String>, ...

Returns list of instance ids, currently only used when state=‘absent’ to remove instances.

Returns:

  • (Array<String>, String, nil)

    list of instance ids, currently only used when state=‘absent’ to remove instances.



46
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 46

attribute :instance_ids

#licence_type:LINUX, ...

Returns The licence type for the volume. This is used when the image is non-standard.

Returns:

  • (:LINUX, :WINDOWS, :UNKNOWN, :OTHER, nil)

    The licence type for the volume. This is used when the image is non-standard.



34
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 34

attribute :licence_type

#nameString

Returns The name of the volumes. You can enumerate the names using auto_increment.

Returns:

  • (String)

    The name of the volumes. You can enumerate the names using auto_increment.



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 14

attribute :name

#sizeInteger?

Returns The size of the volume.

Returns:

  • (Integer, nil)

    The size of the volume.



18
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 18

attribute :size

#state:present, ...

Returns create or terminate datacenters.

Returns:

  • (:present, :absent, nil)

    create or terminate datacenters



64
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 64

attribute :state

#subscription_passwordObject?

Returns THe ProfitBricks password. Overrides the PB_PASSWORD environement variable.

Returns:

  • (Object, nil)

    THe ProfitBricks password. Overrides the PB_PASSWORD environement variable.



53
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 53

attribute :subscription_password

#subscription_userObject?

Returns The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environement variable.

Returns:

  • (Object, nil)

    The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environement variable.



50
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 50

attribute :subscription_user

#wait:yes, ...

Returns wait for the datacenter to be created before returning.

Returns:

  • (:yes, :no, nil)

    wait for the datacenter to be created before returning



56
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 56

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



60
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_volume.rb', line 60

attribute :wait_timeout