Class: Ansible::Ruby::Modules::Cs_nic
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_nic
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb
Overview
Add and remove secondary IPs to and from a NIC.
Instance Method Summary collapse
-
#account ⇒ Object?
Account the instance is related to.
-
#domain ⇒ Object?
Domain the instance is related to.
-
#network ⇒ Object?
Name of the network.,Required to find the NIC if instance has multiple networks assigned.
-
#poll_async ⇒ :yes, ...
Poll async jobs until job has finished.
-
#project ⇒ Object?
Name of the project the instance is deployed in.
-
#state ⇒ :absent, ...
State of the ipaddress.
-
#vm ⇒ String
Name of instance.
-
#vm_guest_ip ⇒ String?
Secondary IP address to be added to the instance nic.,If not set, the API always returns a new IP address and idempotency is not given.
-
#vpc ⇒ Object?
Name of the VPC the C(vm) is related to.
-
#zone ⇒ Object?
Name of the zone in which the instance is deployed in.,If not set, default zone is used.
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
#account ⇒ Object?
Returns Account the instance is related to.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 29 attribute :account |
#domain ⇒ Object?
Returns Domain the instance is related to.
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 26 attribute :domain |
#network ⇒ Object?
Returns Name of the network.,Required to find the NIC if instance has multiple networks assigned.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 16 attribute :network |
#poll_async ⇒ :yes, ...
Returns Poll async jobs until job has finished.
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 42 attribute :poll_async |
#project ⇒ Object?
Returns Name of the project the instance is deployed in.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 32 attribute :project |
#state ⇒ :absent, ...
Returns State of the ipaddress.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 38 attribute :state |
#vm ⇒ String
Returns Name of instance.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 12 attribute :vm |
#vm_guest_ip ⇒ String?
Returns Secondary IP address to be added to the instance nic.,If not set, the API always returns a new IP address and idempotency is not given.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 19 attribute :vm_guest_ip |
#vpc ⇒ Object?
Returns Name of the VPC the C(vm) is related to.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 23 attribute :vpc |
#zone ⇒ Object?
Returns Name of the zone in which the instance is deployed in.,If not set, default zone is used.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 35 attribute :zone |