Class: Ansible::Ruby::Modules::Panos_nat_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Panos_nat_policy
- Defined in:
- lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.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
-
#commit ⇒ :yes, ...
Commit if changed.
-
#destination ⇒ String?
List of destination addresses.
-
#dnat_address ⇒ String?
Dnat translated address.
-
#dnat_port ⇒ String?
Dnat translated port.
-
#from_zone ⇒ Array<String>, String
List of source zones.
-
#ip_address ⇒ String
IP address (or hostname) of PAN-OS device.
-
#override ⇒ :yes, ...
Attempt to override rule if one with the same name already exists.
-
#password ⇒ String
Password for authentication.
-
#rule_name ⇒ String
Name of the SNAT rule.
-
#service ⇒ String?
Service.
-
#snat_address ⇒ Object?
Snat translated address.
-
#snat_bidirectional ⇒ :yes, ...
Bidirectional flag.
-
#snat_interface ⇒ String?
Snat interface.
-
#snat_interface_address ⇒ Object?
Snat interface address.
-
#snat_type ⇒ String?
Type of source translation.
-
#source ⇒ String?
List of source addresses.
-
#to_zone ⇒ String
Destination zone.
-
#username ⇒ String?
Username for authentication.
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
#commit ⇒ :yes, ...
Returns commit if changed.
78 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 78 attribute :commit |
#destination ⇒ String?
Returns list of destination addresses.
40 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 40 attribute :destination |
#dnat_address ⇒ String?
Returns dnat translated address.
66 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 66 attribute :dnat_address |
#dnat_port ⇒ String?
Returns dnat translated port.
70 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 70 attribute :dnat_port |
#from_zone ⇒ Array<String>, String
Returns list of source zones.
28 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 28 attribute :from_zone |
#ip_address ⇒ String
Returns IP address (or hostname) of PAN-OS device.
12 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 12 attribute :ip_address |
#override ⇒ :yes, ...
Returns attempt to override rule if one with the same name already exists.
74 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 74 attribute :override |
#password ⇒ String
Returns password for authentication.
16 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 16 attribute :password |
#rule_name ⇒ String
Returns name of the SNAT rule.
24 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 24 attribute :rule_name |
#service ⇒ String?
Returns service.
44 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 44 attribute :service |
#snat_address ⇒ Object?
Returns snat translated address.
52 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 52 attribute :snat_address |
#snat_bidirectional ⇒ :yes, ...
Returns bidirectional flag.
62 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 62 attribute :snat_bidirectional |
#snat_interface ⇒ String?
Returns snat interface.
55 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 55 attribute :snat_interface |
#snat_interface_address ⇒ Object?
Returns snat interface address.
59 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 59 attribute :snat_interface_address |
#snat_type ⇒ String?
Returns type of source translation.
48 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 48 attribute :snat_type |
#source ⇒ String?
Returns list of source addresses.
36 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 36 attribute :source |
#to_zone ⇒ String
Returns destination zone.
32 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 32 attribute :to_zone |
#username ⇒ String?
Returns username for authentication.
20 |
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_nat_policy.rb', line 20 attribute :username |