Class: Ansible::Ruby::Modules::Clc_firewall_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Clc_firewall_policy
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb
Overview
Create or delete or update firewall polices on Centurylink Cloud
Instance Method Summary collapse
-
#destination ⇒ Object?
The list of destination addresses for traffic on the terminating firewall.
-
#destination_account_alias ⇒ Object?
CLC alias for the destination account.
-
#enabled ⇒ Boolean?
Whether the firewall policy is enabled or disabled.
-
#firewall_policy_id ⇒ Object?
Id of the firewall policy.
-
#location ⇒ Object
Target datacenter for the firewall policy.
-
#ports ⇒ :any, ...
The list of ports associated with the policy.
-
#source ⇒ Object?
The list of source addresses for traffic on the originating firewall.
-
#source_account_alias ⇒ Object
CLC alias for the source account.
-
#state ⇒ :present, ...
Whether to create or delete the firewall policy.
-
#wait ⇒ Boolean?
Whether to wait for the provisioning 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
#destination ⇒ Object?
Returns The list of destination addresses for traffic on the terminating firewall. This is required when state is ‘present’.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 22 attribute :destination |
#destination_account_alias ⇒ Object?
Returns CLC alias for the destination account.
36 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 36 attribute :destination_account_alias |
#enabled ⇒ Boolean?
Returns Whether the firewall policy is enabled or disabled.
43 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 43 attribute :enabled |
#firewall_policy_id ⇒ Object?
Returns Id of the firewall policy. This is required to update or delete an existing firewall policy.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 29 attribute :firewall_policy_id |
#location ⇒ Object
Returns Target datacenter for the firewall policy.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 11 attribute :location |
#ports ⇒ :any, ...
Returns The list of ports associated with the policy. TCP and UDP can take in single ports or port ranges.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 25 attribute :ports |
#source ⇒ Object?
Returns The list of source addresses for traffic on the originating firewall. This is required when state is ‘present“.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 19 attribute :source |
#source_account_alias ⇒ Object
Returns CLC alias for the source account.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 32 attribute :source_account_alias |
#state ⇒ :present, ...
Returns Whether to create or delete the firewall policy.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 15 attribute :state |
#wait ⇒ Boolean?
Returns Whether to wait for the provisioning tasks to finish before returning.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 39 attribute :wait |