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
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, #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’.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 21 attribute :destination |
#destination_account_alias ⇒ Object?
Returns CLC alias for the destination account.
35 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 35 attribute :destination_account_alias |
#enabled ⇒ Boolean?
Returns Whether the firewall policy is enabled or disabled.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 42 attribute :enabled |
#firewall_policy_id ⇒ Object?
Returns Id of the firewall policy. This is required to update or delete an existing firewall policy.
28 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 28 attribute :firewall_policy_id |
#location ⇒ Object
Returns Target datacenter for the firewall policy.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 10 attribute :location |
#ports ⇒ :any, ...
Returns The list of ports associated with the policy. TCP and UDP can take in single ports or port ranges.
24 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 24 attribute :ports |
#source ⇒ Object?
Returns The list of source addresses for traffic on the originating firewall. This is required when state is ‘present“.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 18 attribute :source |
#source_account_alias ⇒ Object
Returns CLC alias for the source account.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 31 attribute :source_account_alias |
#state ⇒ :present, ...
Returns Whether to create or delete the firewall policy.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 14 attribute :state |
#wait ⇒ Boolean?
Returns Whether to wait for the provisioning tasks to finish before returning.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb', line 38 attribute :wait |