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/extras/cloud/centurylink/clc_publicip.rb
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 ⇒ Boolean?
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, #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’.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_publicip.rb', line 14 attribute :ports |
#protocol ⇒ :TCP, ...
Returns The protocol that the public IP will listen for.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_publicip.rb', line 10 attribute :protocol |
#server_ids ⇒ Object
Returns A list of servers to create public ips on.
17 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_publicip.rb', line 17 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.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_publicip.rb', line 21 attribute :state |
#wait ⇒ Boolean?
Returns Whether to wait for the tasks to finish before returning.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_publicip.rb', line 25 attribute :wait |