Class: Ansible::Ruby::Modules::Panos_nat_rule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Panos_nat_rule
- Defined in:
- lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb
Overview
-
Create a policy nat rule. Keep in mind that we can either end up configuring source NAT, destination NAT, or both. Instead of splitting it into two we will make a fair attempt to determine which one the user wants.
Instance Method Summary collapse
-
#api_key ⇒ Object?
API key that can be used instead of I(username)/I(password) credentials.
-
#commit ⇒ :yes, ...
Commit configuration if changed.
-
#destination_ip ⇒ String?
List of destination addresses.
-
#destination_zone ⇒ String
Destination zone.
-
#dnat_address ⇒ String?
Dnat translated address.
-
#dnat_port ⇒ String?
Dnat translated port.
-
#ip_address ⇒ String
IP address (or hostname) of PAN-OS device being configured.
-
#operation ⇒ Object?
The action to be taken.
-
#password ⇒ String
Password credentials to use for auth unless I(api_key) is set.
-
#rule_name ⇒ String
Name of the SNAT rule.
-
#service ⇒ String?
Service.
-
#snat_address_type ⇒ String?
Type of source translation.
-
#snat_bidirectional ⇒ :yes, ...
Bidirectional flag.
-
#snat_dynamic_address ⇒ Object?
Source NAT translated address.
-
#snat_interface ⇒ String?
Snat interface.
-
#snat_interface_address ⇒ Object?
Snat interface address.
-
#snat_static_address ⇒ Object?
Source NAT translated address.
-
#snat_type ⇒ String?
Type of source translation.
-
#source_ip ⇒ String?
List of source addresses.
-
#source_zone ⇒ Array<String>, String
List of source zones.
-
#username ⇒ String?
Username credentials to use for auth unless I(api_key) is set.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#api_key ⇒ Object?
Returns API key that can be used instead of I(username)/I(password) credentials.
25 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 25 attribute :api_key |
#commit ⇒ :yes, ...
Returns Commit configuration if changed.
88 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 88 attribute :commit |
#destination_ip ⇒ String?
Returns list of destination addresses.
47 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 47 attribute :destination_ip |
#destination_zone ⇒ String
Returns destination zone.
39 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 39 attribute :destination_zone |
#dnat_address ⇒ String?
Returns dnat translated address.
80 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 80 attribute :dnat_address |
#dnat_port ⇒ String?
Returns dnat translated port.
84 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 84 attribute :dnat_port |
#ip_address ⇒ String
Returns IP address (or hostname) of PAN-OS device being configured.
13 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 13 attribute :ip_address |
#operation ⇒ Object?
Returns The action to be taken. Supported values are I(add)/I(update)/I(find)/I(delete).
28 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 28 attribute :operation |
#password ⇒ String
Returns Password credentials to use for auth unless I(api_key) is set.
21 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 21 attribute :password |
#rule_name ⇒ String
Returns name of the SNAT rule.
31 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 31 attribute :rule_name |
#service ⇒ String?
Returns service.
51 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 51 attribute :service |
#snat_address_type ⇒ String?
Returns type of source translation. Supported values are I(translated-address)/I(translated-address).
59 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 59 attribute :snat_address_type |
#snat_bidirectional ⇒ :yes, ...
Returns bidirectional flag.
76 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 76 attribute :snat_bidirectional |
#snat_dynamic_address ⇒ Object?
Returns Source NAT translated address. Used with Dynamic-IP and Dynamic-IP-and-Port.
66 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 66 attribute :snat_dynamic_address |
#snat_interface ⇒ String?
Returns snat interface.
69 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 69 attribute :snat_interface |
#snat_interface_address ⇒ Object?
Returns snat interface address.
73 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 73 attribute :snat_interface_address |
#snat_static_address ⇒ Object?
Returns Source NAT translated address. Used with Static-IP translation.
63 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 63 attribute :snat_static_address |
#snat_type ⇒ String?
Returns type of source translation.
55 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 55 attribute :snat_type |
#source_ip ⇒ String?
Returns list of source addresses.
43 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 43 attribute :source_ip |
#source_zone ⇒ Array<String>, String
Returns list of source zones.
35 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 35 attribute :source_zone |
#username ⇒ String?
Returns Username credentials to use for auth unless I(api_key) is set.
17 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 17 attribute :username |