Class: Ansible::Ruby::Modules::Cs_staticnat

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

Overview

Create, update and remove static NATs.

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, 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 static NAT is related to.

Returns:

  • (Object, nil)

    Account the static NAT is related to.



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

attribute :account

#domainObject?

Returns Domain the static NAT is related to.

Returns:

  • (Object, nil)

    Domain the static NAT is related to.



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

attribute :domain

#ip_addressString

Returns Public IP address the static NAT is assigned to.

Returns:

  • (String)

    Public IP address the static NAT is assigned to.



11
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_staticnat.rb', line 11

attribute :ip_address

#poll_asyncBoolean?

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    Poll async jobs until job has finished.



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

attribute :poll_async

#projectObject?

Returns Name of the project the static NAT is related to.

Returns:

  • (Object, nil)

    Name of the project the static NAT is related to.



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

attribute :project

#state:present, ...

Returns State of the static NAT.

Returns:

  • (:present, :absent, nil)

    State of the static NAT.



23
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_staticnat.rb', line 23

attribute :state

#vmString?

Returns Name of virtual machine which we make the static NAT for.,Required if C(state=present).

Returns:

  • (String, nil)

    Name of virtual machine which we make the static NAT for.,Required if C(state=present).



15
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_staticnat.rb', line 15

attribute :vm

#vm_guest_ipBoolean?

Returns VM guest NIC secondary IP address for the static NAT.

Returns:

  • (Boolean, nil)

    VM guest NIC secondary IP address for the static NAT.



19
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_staticnat.rb', line 19

attribute :vm_guest_ip

#zoneObject?

Returns Name of the zone in which the virtual machine is in.,If not set, default zone is used.

Returns:

  • (Object, nil)

    Name of the zone in which the virtual machine is in.,If not set, default zone is used.



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

attribute :zone