Class: Ansible::Ruby::Modules::Profitbricks_nic

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #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

#datacenterString

Returns The datacenter in which to operate.

Returns:

  • (String)

    The datacenter in which to operate.



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

attribute :datacenter

#lanInteger

Returns The LAN to place the NIC on. You can pass a LAN that doesn’t exist and it will be created. Required on create.

Returns:

  • (Integer)

    The LAN to place the NIC on. You can pass a LAN that doesn’t exist and it will be created. Required on create.



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

attribute :lan

#nameString

Returns The name or ID of the NIC. This is only required on deletes, but not on create.

Returns:

  • (String)

    The name or ID of the NIC. This is only required on deletes, but not on create.



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

attribute :name

#serverString

Returns The server name or ID.

Returns:

  • (String)

    The server name or ID.



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

attribute :server

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource



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

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.



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

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.



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

attribute :subscription_user

#wait:yes, ...

Returns wait for the operation to complete before returning.

Returns:

  • (:yes, :no, nil)

    wait for the operation to complete before returning



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

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



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

attribute :wait_timeout