Class: Ansible::Ruby::Modules::Profitbricks_datacenter

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/profitbricks/profitbricks_datacenter.rb

Instance Method Summary collapse

Methods inherited from Base

#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

#descriptionObject?

Returns The description of the virtual datacenter.

Returns:

  • (Object, nil)

    The description of the virtual datacenter.



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

attribute :description

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

Returns The datacenter location.

Returns:

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

    The datacenter location.



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

attribute :location

#nameObject

Returns The name of the virtual datacenter.

Returns:

  • (Object)

    The name of the virtual datacenter.



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

attribute :name

#state:present, ...

Returns create or terminate datacenters.

Returns:

  • (:present, :absent, nil)

    create or terminate datacenters



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

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.



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

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.



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

attribute :subscription_user

#wait:yes, ...

Returns wait for the datacenter to be created before returning.

Returns:

  • (:yes, :no, nil)

    wait for the datacenter to be created before returning



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

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



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

attribute :wait_timeout