Class: Ansible::Ruby::Modules::Cs_nic

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#accountObject?

Returns Account the instance is related to.

Returns:

  • (Object, nil)

    Account the instance is related to.



29
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 29

attribute :account

#domainObject?

Returns Domain the instance is related to.

Returns:

  • (Object, nil)

    Domain the instance is related to.



26
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 26

attribute :domain

#networkObject?

Returns Name of the network.,Required to find the NIC if instance has multiple networks assigned.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:yes, :no, nil)

    Poll async jobs until job has finished.



42
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 42

attribute :poll_async

#projectObject?

Returns Name of the project the instance is deployed in.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:absent, :present, nil)

    State of the ipaddress.



38
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 38

attribute :state

#vmString

Returns Name of instance.

Returns:

  • (String)

    Name of instance.



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_nic.rb', line 12

attribute :vm

#vm_guest_ipString?

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.

Returns:

  • (String, nil)

    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

#vpcObject?

Returns Name of the VPC the C(vm) is related to.

Returns:

  • (Object, nil)

    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

#zoneObject?

Returns Name of the zone in which the instance is deployed in.,If not set, default zone is used.

Returns:

  • (Object, nil)

    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