Class: Ansible::Ruby::Modules::Profitbricks
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Profitbricks
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb
Instance Method Summary collapse
-
#assign_public_ip ⇒ Boolean?
This will assign the machine to the public LAN.
-
#auto_increment ⇒ Boolean?
Whether or not to increment a single number in the name for created virtual machines.
-
#bus ⇒ :IDE, ...
The bus type for the volume.
-
#cores ⇒ Integer?
The number of CPU cores to allocate to the virtual machine.
-
#count ⇒ Integer?
The number of virtual machines to create.
-
#datacenter ⇒ String?
The Datacenter to provision this virtual machine.
-
#image ⇒ String
The system image ID for creating the virtual machine, e.g.
-
#instance_ids ⇒ Array<String>, ...
List of instance ids, currently only used when state=‘absent’ to remove instances.
-
#lan ⇒ Integer?
The ID of the LAN you wish to add the servers to.
-
#location ⇒ :"us/las", ...
The datacenter location.
-
#name ⇒ String
The name of the virtual machine.
-
#ram ⇒ Integer?
The amount of memory to allocate to the virtual machine.
-
#remove_boot_volume ⇒ :yes, ...
Remove the bootVolume of the virtual machine you’re destroying.
-
#state ⇒ :running, ...
Create or terminate instances.
-
#subscription_password ⇒ Object?
THe ProfitBricks password.
-
#subscription_user ⇒ Object?
The ProfitBricks username.
-
#volume_size ⇒ Integer?
The size in GB of the boot volume.
-
#wait ⇒ :yes, ...
Wait for the instance to be in state ‘running’ before returning.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
Methods inherited from Base
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_ip ⇒ Boolean?
Returns 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_increment ⇒ Boolean?
Returns 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.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb', line 38 attribute :bus |
#cores ⇒ Integer?
Returns 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 |
#count ⇒ Integer?
Returns The number of virtual machines to create.
46 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb', line 46 attribute :count |
#datacenter ⇒ String?
Returns The Datacenter to provision this virtual machine.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb', line 22 attribute :datacenter |
#image ⇒ String
Returns 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_ids ⇒ Array<String>, ...
Returns 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 |
#lan ⇒ Integer?
Returns 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.
50 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb', line 50 attribute :location |
#name ⇒ String
Returns The name of the virtual machine.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb', line 14 attribute :name |
#ram ⇒ Integer?
Returns 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.
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.
80 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb', line 80 attribute :state |
#subscription_password ⇒ Object?
Returns 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_user ⇒ Object?
Returns 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_size ⇒ Integer?
Returns 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.
68 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks.rb', line 68 attribute :wait |
#wait_timeout ⇒ Integer?
Returns 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 |