Class: Ansible::Ruby::Modules::Profitbricks

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.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

#assign_public_ipBoolean?

Returns This will assign the machine to the public LAN. If no LAN exists with public Internet access it is created.

Returns:

  • (Boolean, nil)

    This will assign the machine to the public LAN. If no LAN exists with public Internet access it is created.



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

attribute :assign_public_ip

#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.



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

attribute :auto_increment

#bus:IDE, ...

Returns The bus type for the volume.

Returns:

  • (:IDE, :VIRTIO, nil)

    The bus type for the volume.



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

attribute :bus

#coresInteger?

Returns The number of CPU cores to allocate to the virtual machine.

Returns:

  • (Integer, nil)

    The number of CPU cores to allocate to the virtual machine.



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

attribute :cores

#countInteger?

Returns The number of virtual machines to create.

Returns:

  • (Integer, nil)

    The number of virtual machines to create.



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

attribute :count

#datacenterString?

Returns The Datacenter to provision this virtual machine.

Returns:

  • (String, nil)

    The Datacenter to provision this virtual machine.



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

attribute :datacenter

#imageString

Returns The system image ID for creating the virtual machine, e.g. a3eae284-a2fe-11e4-b187-5f1f641608c8.

Returns:

  • (String)

    The system image ID for creating the virtual machine, e.g. a3eae284-a2fe-11e4-b187-5f1f641608c8.



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

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.



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

attribute :instance_ids

#lanInteger?

Returns The ID of the LAN you wish to add the servers to.

Returns:

  • (Integer, nil)

    The ID of the LAN you wish to add the servers to.



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

attribute :lan

#location:"us/las", ...

Returns The datacenter location. Use only if you want to create the Datacenter or else this value is ignored.

Returns:

  • (:"us/las", :"us/lasdev", :"de/fra", :"de/fkb", nil)

    The datacenter location. Use only if you want to create the Datacenter or else this value is ignored.



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

attribute :location

#nameString

Returns The name of the virtual machine.

Returns:

  • (String)

    The name of the virtual machine.



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

attribute :name

#ramInteger?

Returns The amount of memory to allocate to the virtual machine.

Returns:

  • (Integer, nil)

    The amount of memory to allocate to the virtual machine.



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

attribute :ram

#remove_boot_volume:yes, ...

Returns remove the bootVolume of the virtual machine you’re destroying.

Returns:

  • (:yes, :no, nil)

    remove the bootVolume of the virtual machine you’re destroying.



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

attribute :remove_boot_volume

#state:running, ...

Returns create or terminate instances.

Returns:

  • (:running, :stopped, :absent, :present, nil)

    create or terminate instances



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

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.



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

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.



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

attribute :subscription_user

#volume_sizeInteger?

Returns The size in GB of the boot volume.

Returns:

  • (Integer, nil)

    The size in GB of the boot volume.



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

attribute :volume_size

#wait:yes, ...

Returns wait for the instance to be in state ‘running’ before returning.

Returns:

  • (:yes, :no, nil)

    wait for the instance to be in state ‘running’ before returning



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

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



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

attribute :wait_timeout