Class: Ansible::Ruby::Modules::Clc_firewall_policy

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/centurylink/clc_firewall_policy.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#destinationObject?

Returns The list of destination addresses for traffic on the terminating firewall. This is required when state is ‘present’.

Returns:

  • (Object, nil)

    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_aliasObject?

Returns CLC alias for the destination account.

Returns:

  • (Object, nil)

    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

#enabledBoolean?

Returns Whether the firewall policy is enabled or disabled.

Returns:

  • (Boolean, nil)

    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_idObject?

Returns Id of the firewall policy. This is required to update or delete an existing firewall policy.

Returns:

  • (Object, nil)

    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

#locationObject

Returns Target datacenter for the firewall policy.

Returns:

  • (Object)

    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.

Returns:

  • (:any, :icmp, :"TCP/123", :"UDP/123", :"TCP/123-456", :"UDP/123-456", nil)

    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

#sourceObject?

Returns The list of source addresses for traffic on the originating firewall. This is required when state is ‘present“.

Returns:

  • (Object, nil)

    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_aliasObject

Returns CLC alias for the source account.

Returns:

  • (Object)

    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.

Returns:

  • (:present, :absent, nil)

    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

#waitBoolean?

Returns Whether to wait for the provisioning tasks to finish before returning.

Returns:

  • (Boolean, nil)

    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