Class: Ansible::Ruby::Modules::Cs_instance_nic

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb

Overview

Add and remove nic to and from network

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.



30
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb', line 30

attribute :account

#domainObject?

Returns Domain the instance is related to.

Returns:

  • (Object, nil)

    Domain the instance is related to.



27
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb', line 27

attribute :domain

#ip_addressString?

Returns IP address to be used for the nic.

Returns:

  • (String, nil)

    IP address to be used for the nic.



20
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb', line 20

attribute :ip_address

#networkString

Returns Name of the network.

Returns:

  • (String)

    Name of the network.



16
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_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.



43
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb', line 43

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.



33
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb', line 33

attribute :project

#state:present, ...

Returns State of the nic.

Returns:

  • (:present, :absent, nil)

    State of the nic.



39
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb', line 39

attribute :state

#vmString

Returns Name of instance.

Returns:

  • (String)

    Name of instance.



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

attribute :vm

#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.



24
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb', line 24

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.



36
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_instance_nic.rb', line 36

attribute :zone