Class: Ansible::Ruby::Modules::Cs_ip_address

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

Overview

Acquires and associates a public IP to an account or project. Due to API limitations this is not an idempotent call, so be sure to only conditionally call this when C(state=present). Tagging the IP address can also make the call idempotent.

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 IP address is related to.

Returns:

  • (Object, nil)

    Account the IP address is related to.



28
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 28

attribute :account

#domainObject?

Returns Domain the IP address is related to.

Returns:

  • (Object, nil)

    Domain the IP address is related to.



18
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 18

attribute :domain

#ip_addressString?

Returns Public IP address.,Required if C(state=absent) and C(tags) is not set.

Returns:

  • (String, nil)

    Public IP address.,Required if C(state=absent) and C(tags) is not set



14
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 14

attribute :ip_address

#networkString?

Returns Network the IP address is related to.

Returns:

  • (String, nil)

    Network the IP address is related to.



21
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 21

attribute :network

#poll_async:yes, ...

Returns Poll async jobs until job has finished.

Returns:

  • (:yes, :no, nil)

    Poll async jobs until job has finished.



45
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 45

attribute :poll_async

#projectObject?

Returns Name of the project the IP address is related to.

Returns:

  • (Object, nil)

    Name of the project the IP address is related to.



31
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 31

attribute :project

#state:present, ...

Returns State of the IP address.

Returns:

  • (:present, :absent, nil)

    State of the IP address.



37
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 37

attribute :state

#tagsArray<Hash>, ...

Returns List of tags. Tags are a list of dictionaries having keys C(key) and C(value).,Tags can be used as an unique identifier for the IP Addresses.,In this case, at least one of them must be unique to ensure idempontency.

Returns:

  • (Array<Hash>, Hash, nil)

    List of tags. Tags are a list of dictionaries having keys C(key) and C(value).,Tags can be used as an unique identifier for the IP Addresses.,In this case, at least one of them must be unique to ensure idempontency.



41
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 41

attribute :tags

#vpcObject?

Returns VPC the IP address is related to.

Returns:

  • (Object, nil)

    VPC the IP address is related to.



25
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 25

attribute :vpc

#zoneObject?

Returns Name of the zone in which the IP address is in.,If not set, default zone is used.

Returns:

  • (Object, nil)

    Name of the zone in which the IP address is in.,If not set, default zone is used.



34
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 34

attribute :zone