Class: Ansible::Ruby::Modules::Clc_publicip
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Clc_publicip
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/centurylink/clc_publicip.rb
Overview
An Ansible module to add or delete public ip addresses on an existing server or servers in CenturyLink Cloud.
Instance Method Summary collapse
-
#ports ⇒ Object?
A list of ports to expose.
-
#protocol ⇒ :TCP, ...
The protocol that the public IP will listen for.
-
#server_ids ⇒ Object
A list of servers to create public ips on.
-
#state ⇒ :present, ...
Determine whether to create or delete public IPs.
-
#wait ⇒ :yes, ...
Whether to wait for the tasks to finish before returning.
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
#ports ⇒ Object?
Returns A list of ports to expose. This is required when state is ‘present’.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_publicip.rb', line 16 attribute :ports |
#protocol ⇒ :TCP, ...
Returns The protocol that the public IP will listen for.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_publicip.rb', line 12 attribute :protocol |
#server_ids ⇒ Object
Returns A list of servers to create public ips on.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_publicip.rb', line 19 attribute :server_ids |
#state ⇒ :present, ...
Returns Determine whether to create or delete public IPs. If present module will not create a second public ip if one already exists.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_publicip.rb', line 23 attribute :state |
#wait ⇒ :yes, ...
Returns Whether to wait for the tasks to finish before returning.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_publicip.rb', line 27 attribute :wait |