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, #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?
25 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 25 attribute :api_key |
#commit ⇒ :yes, ...
88 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 88 attribute :commit |
#destination_ip ⇒ String?
47 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 47 attribute :destination_ip |
#destination_zone ⇒ String
39 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 39 attribute :destination_zone |
#dnat_address ⇒ String?
80 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 80 attribute :dnat_address |
#dnat_port ⇒ String?
84 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 84 attribute :dnat_port |
#ip_address ⇒ String
13 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 13 attribute :ip_address |
#operation ⇒ Object?
28 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 28 attribute :operation |
#password ⇒ String
21 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 21 attribute :password |
#rule_name ⇒ String
31 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 31 attribute :rule_name |
#service ⇒ String?
51 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 51 attribute :service |
#snat_address_type ⇒ String?
59 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 59 attribute :snat_address_type |
#snat_bidirectional ⇒ :yes, ...
76 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 76 attribute :snat_bidirectional |
#snat_dynamic_address ⇒ Object?
66 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 66 attribute :snat_dynamic_address |
#snat_interface ⇒ String?
69 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 69 attribute :snat_interface |
#snat_interface_address ⇒ Object?
73 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 73 attribute :snat_interface_address |
#snat_static_address ⇒ Object?
63 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 63 attribute :snat_static_address |
#snat_type ⇒ String?
55 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 55 attribute :snat_type |
#source_ip ⇒ String?
43 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 43 attribute :source_ip |
#source_zone ⇒ Array<String>, String
35 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 35 attribute :source_zone |
#username ⇒ String?
17 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_rule.rb', line 17 attribute :username |