Class: Ansible::Ruby::Modules::Profitbricks_datacenter
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Profitbricks_datacenter
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb
Overview
This is a simple module that supports creating or removing vDCs. A vDC is required before you can create servers. This module has a dependency on profitbricks >= 1.0.0
Instance Method Summary collapse
-
#description ⇒ Object?
The description of the virtual datacenter.
-
#location ⇒ :"us/las", ...
The datacenter location.
-
#name ⇒ Object
The name of the virtual datacenter.
-
#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
#description ⇒ Object?
Returns The description of the virtual datacenter.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb', line 16 attribute :description |
#location ⇒ :"us/las", ...
Returns The datacenter location.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb', line 19 attribute :location |
#name ⇒ Object
Returns The name of the virtual datacenter.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns create or terminate datacenters.
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb', line 37 attribute :state |
#subscription_password ⇒ Object?
Returns THe ProfitBricks password. Overrides the PB_PASSWORD environment variable.
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb', line 26 attribute :subscription_password |
#subscription_user ⇒ Object?
Returns The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb', line 23 attribute :subscription_user |
#wait ⇒ :yes, ...
Returns wait for the datacenter to be created before returning.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb', line 29 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_datacenter.rb', line 33 attribute :wait_timeout |