Class: Ansible::Ruby::Modules::Cs_ip_address
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_ip_address
- 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
-
#account ⇒ Object?
Account the IP address is related to.
-
#domain ⇒ Object?
Domain the IP address is related to.
-
#ip_address ⇒ String?
Public IP address.,Required if C(state=absent) and C(tags) is not set.
-
#network ⇒ String?
Network the IP address is related to.
-
#poll_async ⇒ :yes, ...
Poll async jobs until job has finished.
-
#project ⇒ Object?
Name of the project the IP address is related to.
-
#state ⇒ :present, ...
State of the IP address.
-
#tags ⇒ Array<Hash>, ...
List of tags.
-
#vpc ⇒ Object?
VPC the IP address is related to.
-
#zone ⇒ Object?
Name of the zone in which the IP address is in.,If not set, default zone is used.
Methods inherited from Base
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
#account ⇒ Object?
Returns Account the IP address is related to.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 28 attribute :account |
#domain ⇒ Object?
Returns 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_address ⇒ String?
Returns 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 |
#network ⇒ String?
Returns 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.
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 45 attribute :poll_async |
#project ⇒ Object?
Returns 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.
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 37 attribute :state |
#tags ⇒ Array<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.
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 41 attribute :tags |
#vpc ⇒ Object?
Returns VPC the IP address is related to.
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_ip_address.rb', line 25 attribute :vpc |
#zone ⇒ Object?
Returns 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 |