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/extras/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, #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.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb', line 15 attribute :description |
#location ⇒ :"us/las", ...
Returns The datacenter location.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb', line 18 attribute :location |
#name ⇒ Object
Returns The name of the virtual datacenter.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb', line 11 attribute :name |
#state ⇒ :present, ...
Returns create or terminate datacenters.
36 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb', line 36 attribute :state |
#subscription_password ⇒ Object?
Returns THe ProfitBricks password. Overrides the PB_PASSWORD environement variable.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb', line 25 attribute :subscription_password |
#subscription_user ⇒ Object?
Returns The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environement variable.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb', line 22 attribute :subscription_user |
#wait ⇒ :yes, ...
Returns wait for the datacenter to be created before returning.
28 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb', line 28 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb', line 32 attribute :wait_timeout |