Class: Ansible::Ruby::Modules::Profitbricks_nic
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Profitbricks_nic
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb
Overview
This module allows you to create or restore a volume snapshot. This module has a dependency on profitbricks >= 1.0.0
Instance Method Summary collapse
-
#datacenter ⇒ String
The datacenter in which to operate.
-
#lan ⇒ Integer
The LAN to place the NIC on.
-
#name ⇒ String
The name or ID of the NIC.
-
#server ⇒ String
The server name or ID.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
-
#subscription_password ⇒ Object?
THe ProfitBricks password.
-
#subscription_user ⇒ Object?
The ProfitBricks username.
-
#wait ⇒ :yes, ...
Wait for the operation to complete 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
#datacenter ⇒ String
Returns The datacenter in which to operate.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 12 attribute :datacenter |
#lan ⇒ Integer
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.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 24 attribute :lan |
#name ⇒ String
Returns The name or ID of the NIC. This is only required on deletes, but not on create.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 20 attribute :name |
#server ⇒ String
Returns The server name or ID.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 16 attribute :server |
#state ⇒ :present, ...
Returns Indicate desired state of the resource.
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 42 attribute :state |
#subscription_password ⇒ Object?
Returns THe ProfitBricks password. Overrides the PB_PASSWORD environment variable.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 31 attribute :subscription_password |
#subscription_user ⇒ Object?
Returns The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 28 attribute :subscription_user |
#wait ⇒ :yes, ...
Returns wait for the operation to complete before returning.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 34 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/profitbricks/profitbricks_nic.rb', line 38 attribute :wait_timeout |