Class: Ansible::Ruby::Modules::Profitbricks_volume
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Profitbricks_volume
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb
Overview
Allows you to create or remove a volume from a ProfitBricks datacenter. This module has a dependency on profitbricks >= 1.0.0
Instance Method Summary collapse
-
#auto_increment ⇒ Boolean?
Whether or not to increment a single number in the name for created virtual machines.
-
#bus ⇒ :IDE, ...
The bus type.
-
#count ⇒ Integer?
The number of volumes you wish to create.
-
#datacenter ⇒ String
The datacenter in which to create the volumes.
-
#disk_type ⇒ :HDD, ...
The disk type of the volume.
-
#image ⇒ Object
The system image ID for the volume, e.g.
-
#image_password ⇒ Object?
Password set for the administrative user.
-
#instance_ids ⇒ Array<String>, ...
List of instance ids, currently only used when state=‘absent’ to remove instances.
-
#licence_type ⇒ :LINUX, ...
The licence type for the volume.
-
#name ⇒ String
The name of the volumes.
-
#size ⇒ Integer?
The size of the volume.
-
#ssh_keys ⇒ Object?
Public SSH keys allowing access to the virtual machine.
-
#state ⇒ :present, ...
Create or terminate datacenters.
-
#subscription_password ⇒ Object?
THe ProfitBricks password.
-
#subscription_user ⇒ Object?
The ProfitBricks username.
-
#wait ⇒ :yes, ...
Wait for the datacenter to be created 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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#auto_increment ⇒ Boolean?
Returns Whether or not to increment a single number in the name for created virtual machines.
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 50 attribute :auto_increment |
#bus ⇒ :IDE, ...
Returns The bus type.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 24 attribute :bus |
#count ⇒ Integer?
Returns The number of volumes you wish to create.
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 46 attribute :count |
#datacenter ⇒ String
Returns The datacenter in which to create the volumes.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 12 attribute :datacenter |
#disk_type ⇒ :HDD, ...
Returns The disk type of the volume.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 38 attribute :disk_type |
#image ⇒ Object
Returns The system image ID for the volume, e.g. a3eae284-a2fe-11e4-b187-5f1f641608c8. This can also be a snapshot image ID.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 28 attribute :image |
#image_password ⇒ Object?
Returns Password set for the administrative user.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 32 attribute :image_password |
#instance_ids ⇒ Array<String>, ...
Returns list of instance ids, currently only used when state=‘absent’ to remove instances.
54 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 54 attribute :instance_ids |
#licence_type ⇒ :LINUX, ...
Returns The licence type for the volume. This is used when the image is non-standard.
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 42 attribute :licence_type |
#name ⇒ String
Returns The name of the volumes. You can enumerate the names using auto_increment.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 16 attribute :name |
#size ⇒ Integer?
Returns The size of the volume.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 20 attribute :size |
#ssh_keys ⇒ Object?
Returns Public SSH keys allowing access to the virtual machine.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 35 attribute :ssh_keys |
#state ⇒ :present, ...
Returns create or terminate datacenters.
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 72 attribute :state |
#subscription_password ⇒ Object?
Returns THe ProfitBricks password. Overrides the PB_PASSWORD environment variable.
61 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 61 attribute :subscription_password |
#subscription_user ⇒ Object?
Returns The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
58 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 58 attribute :subscription_user |
#wait ⇒ :yes, ...
Returns wait for the datacenter to be created before returning.
64 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 64 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
68 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_volume.rb', line 68 attribute :wait_timeout |