panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks
panos.getNatPolicyRules
Explore with Pulumi AI
panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks
Using getNatPolicyRules
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNatPolicyRules(args: GetNatPolicyRulesArgs, opts?: InvokeOptions): Promise<GetNatPolicyRulesResult>
function getNatPolicyRulesOutput(args: GetNatPolicyRulesOutputArgs, opts?: InvokeOptions): Output<GetNatPolicyRulesResult>
def get_nat_policy_rules(location: Optional[GetNatPolicyRulesLocation] = None,
position: Optional[GetNatPolicyRulesPosition] = None,
rules: Optional[Sequence[GetNatPolicyRulesRule]] = None,
opts: Optional[InvokeOptions] = None) -> GetNatPolicyRulesResult
def get_nat_policy_rules_output(location: Optional[pulumi.Input[GetNatPolicyRulesLocationArgs]] = None,
position: Optional[pulumi.Input[GetNatPolicyRulesPositionArgs]] = None,
rules: Optional[pulumi.Input[Sequence[pulumi.Input[GetNatPolicyRulesRuleArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNatPolicyRulesResult]
func LookupNatPolicyRules(ctx *Context, args *LookupNatPolicyRulesArgs, opts ...InvokeOption) (*LookupNatPolicyRulesResult, error)
func LookupNatPolicyRulesOutput(ctx *Context, args *LookupNatPolicyRulesOutputArgs, opts ...InvokeOption) LookupNatPolicyRulesResultOutput
> Note: This function is named LookupNatPolicyRules
in the Go SDK.
public static class GetNatPolicyRules
{
public static Task<GetNatPolicyRulesResult> InvokeAsync(GetNatPolicyRulesArgs args, InvokeOptions? opts = null)
public static Output<GetNatPolicyRulesResult> Invoke(GetNatPolicyRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNatPolicyRulesResult> getNatPolicyRules(GetNatPolicyRulesArgs args, InvokeOptions options)
public static Output<GetNatPolicyRulesResult> getNatPolicyRules(GetNatPolicyRulesArgs args, InvokeOptions options)
fn::invoke:
function: panos:index/getNatPolicyRules:getNatPolicyRules
arguments:
# arguments dictionary
The following arguments are supported:
- Location
Get
Nat Policy Rules Location - The location of this object.
- Position
Get
Nat Policy Rules Position - Rules
List<Get
Nat Policy Rules Rule>
- Location
Get
Nat Policy Rules Location - The location of this object.
- Position
Get
Nat Policy Rules Position - Rules
[]Get
Nat Policy Rules Rule
- location
Get
Nat Policy Rules Location - The location of this object.
- position
Get
Nat Policy Rules Position - rules
List<Get
Nat Policy Rules Rule>
- location
Get
Nat Policy Rules Location - The location of this object.
- position
Get
Nat Policy Rules Position - rules
Get
Nat Policy Rules Rule[]
- location
Get
Nat Policy Rules Location - The location of this object.
- position
Get
Nat Policy Rules Position - rules
Sequence[Get
Nat Policy Rules Rule]
- location Property Map
- The location of this object.
- position Property Map
- rules List<Property Map>
getNatPolicyRules Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Get
Nat Policy Rules Location - The location of this object.
- Position
Get
Nat Policy Rules Position - Rules
List<Get
Nat Policy Rules Rule>
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Get
Nat Policy Rules Location - The location of this object.
- Position
Get
Nat Policy Rules Position - Rules
[]Get
Nat Policy Rules Rule
- id String
- The provider-assigned unique ID for this managed resource.
- location
Get
Nat Policy Rules Location - The location of this object.
- position
Get
Nat Policy Rules Position - rules
List<Get
Nat Policy Rules Rule>
- id string
- The provider-assigned unique ID for this managed resource.
- location
Get
Nat Policy Rules Location - The location of this object.
- position
Get
Nat Policy Rules Position - rules
Get
Nat Policy Rules Rule[]
- id str
- The provider-assigned unique ID for this managed resource.
- location
Get
Nat Policy Rules Location - The location of this object.
- position
Get
Nat Policy Rules Position - rules
Sequence[Get
Nat Policy Rules Rule]
- id String
- The provider-assigned unique ID for this managed resource.
- location Property Map
- The location of this object.
- position Property Map
- rules List<Property Map>
Supporting Types
GetNatPolicyRulesLocation
- Device
Group GetNat Policy Rules Location Device Group - Located in a specific device group.
- Get
Nat Policy Rules Location Shared - Located in a shared rulebase
- Vsys
Get
Nat Policy Rules Location Vsys - Located in a specific vsys.
- Device
Group GetNat Policy Rules Location Device Group - Located in a specific device group.
- Get
Nat Policy Rules Location Shared - Located in a shared rulebase
- Vsys
Get
Nat Policy Rules Location Vsys - Located in a specific vsys.
- device
Group GetNat Policy Rules Location Device Group - Located in a specific device group.
- Get
Nat Policy Rules Location Shared - Located in a shared rulebase
- vsys
Get
Nat Policy Rules Location Vsys - Located in a specific vsys.
- device
Group GetNat Policy Rules Location Device Group - Located in a specific device group.
- Get
Nat Policy Rules Location Shared - Located in a shared rulebase
- vsys
Get
Nat Policy Rules Location Vsys - Located in a specific vsys.
- device_
group GetNat Policy Rules Location Device Group - Located in a specific device group.
- Get
Nat Policy Rules Location Shared - Located in a shared rulebase
- vsys
Get
Nat Policy Rules Location Vsys - Located in a specific vsys.
- device
Group Property Map - Located in a specific device group.
- Property Map
- Located in a shared rulebase
- vsys Property Map
- Located in a specific vsys.
GetNatPolicyRulesLocationDeviceGroup
- Name string
- The device group.
- Panorama
Device string - The panorama device.
- Rulebase string
- The rulebase.
- Name string
- The device group.
- Panorama
Device string - The panorama device.
- Rulebase string
- The rulebase.
- name String
- The device group.
- panorama
Device String - The panorama device.
- rulebase String
- The rulebase.
- name string
- The device group.
- panorama
Device string - The panorama device.
- rulebase string
- The rulebase.
- name str
- The device group.
- panorama_
device str - The panorama device.
- rulebase str
- The rulebase.
- name String
- The device group.
- panorama
Device String - The panorama device.
- rulebase String
- The rulebase.
GetNatPolicyRulesLocationShared
- Rulebase string
- Rulebase name
- Rulebase string
- Rulebase name
- rulebase String
- Rulebase name
- rulebase string
- Rulebase name
- rulebase str
- Rulebase name
- rulebase String
- Rulebase name
GetNatPolicyRulesLocationVsys
- Name string
- The vsys name
- Ngfw
Device string - The NGFW device
- Name string
- The vsys name
- Ngfw
Device string - The NGFW device
- name String
- The vsys name
- ngfw
Device String - The NGFW device
- name string
- The vsys name
- ngfw
Device string - The NGFW device
- name str
- The vsys name
- ngfw_
device str - The NGFW device
- name String
- The vsys name
- ngfw
Device String - The NGFW device
GetNatPolicyRulesPosition
GetNatPolicyRulesRule
- Active
Active stringDevice Binding - Device binding configuration in HA Active-Active mode
- Description string
- Destination
Addresses List<string> - Destination
Translation GetNat Policy Rules Rule Destination Translation - Destination
Zones List<string> - Disabled bool
- Disable the rule
- Dynamic
Destination GetTranslation Nat Policy Rules Rule Dynamic Destination Translation - Group
Tag string - Name string
- Nat
Type string - type of nat
- Service string
- Source
Addresses List<string> - Source
Translation GetNat Policy Rules Rule Source Translation - Source
Zones List<string> - List<string>
- Target
Get
Nat Policy Rules Rule Target - To
Interface string - Egress interface from route lookup
- Active
Active stringDevice Binding - Device binding configuration in HA Active-Active mode
- Description string
- Destination
Addresses []string - Destination
Translation GetNat Policy Rules Rule Destination Translation - Destination
Zones []string - Disabled bool
- Disable the rule
- Dynamic
Destination GetTranslation Nat Policy Rules Rule Dynamic Destination Translation - Group
Tag string - Name string
- Nat
Type string - type of nat
- Service string
- Source
Addresses []string - Source
Translation GetNat Policy Rules Rule Source Translation - Source
Zones []string - []string
- Target
Get
Nat Policy Rules Rule Target - To
Interface string - Egress interface from route lookup
- active
Active StringDevice Binding - Device binding configuration in HA Active-Active mode
- description String
- destination
Addresses List<String> - destination
Translation GetNat Policy Rules Rule Destination Translation - destination
Zones List<String> - disabled Boolean
- Disable the rule
- dynamic
Destination GetTranslation Nat Policy Rules Rule Dynamic Destination Translation - group
Tag String - name String
- nat
Type String - type of nat
- service String
- source
Addresses List<String> - source
Translation GetNat Policy Rules Rule Source Translation - source
Zones List<String> - List<String>
- target
Get
Nat Policy Rules Rule Target - to
Interface String - Egress interface from route lookup
- active
Active stringDevice Binding - Device binding configuration in HA Active-Active mode
- description string
- destination
Addresses string[] - destination
Translation GetNat Policy Rules Rule Destination Translation - destination
Zones string[] - disabled boolean
- Disable the rule
- dynamic
Destination GetTranslation Nat Policy Rules Rule Dynamic Destination Translation - group
Tag string - name string
- nat
Type string - type of nat
- service string
- source
Addresses string[] - source
Translation GetNat Policy Rules Rule Source Translation - source
Zones string[] - string[]
- target
Get
Nat Policy Rules Rule Target - to
Interface string - Egress interface from route lookup
- active_
active_ strdevice_ binding - Device binding configuration in HA Active-Active mode
- description str
- destination_
addresses Sequence[str] - destination_
translation GetNat Policy Rules Rule Destination Translation - destination_
zones Sequence[str] - disabled bool
- Disable the rule
- dynamic_
destination_ Gettranslation Nat Policy Rules Rule Dynamic Destination Translation - group_
tag str - name str
- nat_
type str - type of nat
- service str
- source_
addresses Sequence[str] - source_
translation GetNat Policy Rules Rule Source Translation - source_
zones Sequence[str] - Sequence[str]
- target
Get
Nat Policy Rules Rule Target - to_
interface str - Egress interface from route lookup
- active
Active StringDevice Binding - Device binding configuration in HA Active-Active mode
- description String
- destination
Addresses List<String> - destination
Translation Property Map - destination
Zones List<String> - disabled Boolean
- Disable the rule
- dynamic
Destination Property MapTranslation - group
Tag String - name String
- nat
Type String - type of nat
- service String
- source
Addresses List<String> - source
Translation Property Map - source
Zones List<String> - List<String>
- target Property Map
- to
Interface String - Egress interface from route lookup
GetNatPolicyRulesRuleDestinationTranslation
- dns
Rewrite Property Map - translated
Address String - translated
Port Number
GetNatPolicyRulesRuleDestinationTranslationDnsRewrite
- Direction string
- Select direction to apply DNS rewrite
- Direction string
- Select direction to apply DNS rewrite
- direction String
- Select direction to apply DNS rewrite
- direction string
- Select direction to apply DNS rewrite
- direction str
- Select direction to apply DNS rewrite
- direction String
- Select direction to apply DNS rewrite
GetNatPolicyRulesRuleDynamicDestinationTranslation
- Distribution string
- Distribution algorithm for destination address pool
- Translated
Address string - Translated
Port double
- Distribution string
- Distribution algorithm for destination address pool
- Translated
Address string - Translated
Port float64
- distribution String
- Distribution algorithm for destination address pool
- translated
Address String - translated
Port Double
- distribution string
- Distribution algorithm for destination address pool
- translated
Address string - translated
Port number
- distribution str
- Distribution algorithm for destination address pool
- translated_
address str - translated_
port float
- distribution String
- Distribution algorithm for destination address pool
- translated
Address String - translated
Port Number
GetNatPolicyRulesRuleSourceTranslation
GetNatPolicyRulesRuleSourceTranslationDynamicIp
- fallback Property Map
- translated
Addresses List<String>
GetNatPolicyRulesRuleSourceTranslationDynamicIpAndPort
- interface
Address Property Map - translated
Addresses List<String>
GetNatPolicyRulesRuleSourceTranslationDynamicIpAndPortInterfaceAddress
- Floating
Ip string - Floating IP address in HA Active-Active configuration
- Interface string
- Interface name
- Ip string
- specify exact IP address if interface has multiple addresses
- Floating
Ip string - Floating IP address in HA Active-Active configuration
- Interface string
- Interface name
- Ip string
- specify exact IP address if interface has multiple addresses
- floating
Ip String - Floating IP address in HA Active-Active configuration
- interface_ String
- Interface name
- ip String
- specify exact IP address if interface has multiple addresses
- floating
Ip string - Floating IP address in HA Active-Active configuration
- interface string
- Interface name
- ip string
- specify exact IP address if interface has multiple addresses
- floating_
ip str - Floating IP address in HA Active-Active configuration
- interface str
- Interface name
- ip str
- specify exact IP address if interface has multiple addresses
- floating
Ip String - Floating IP address in HA Active-Active configuration
- interface String
- Interface name
- ip String
- specify exact IP address if interface has multiple addresses
GetNatPolicyRulesRuleSourceTranslationDynamicIpFallback
- interface
Address Property Map - translated
Addresses List<String>
GetNatPolicyRulesRuleSourceTranslationDynamicIpFallbackInterfaceAddress
- Floating
Ip string - Floating IP address in HA Active-Active configuration
- Interface string
- Interface name
- Ip string
- specify exact IP address if interface has multiple addresses
- Floating
Ip string - Floating IP address in HA Active-Active configuration
- Interface string
- Interface name
- Ip string
- specify exact IP address if interface has multiple addresses
- floating
Ip String - Floating IP address in HA Active-Active configuration
- interface_ String
- Interface name
- ip String
- specify exact IP address if interface has multiple addresses
- floating
Ip string - Floating IP address in HA Active-Active configuration
- interface string
- Interface name
- ip string
- specify exact IP address if interface has multiple addresses
- floating_
ip str - Floating IP address in HA Active-Active configuration
- interface str
- Interface name
- ip str
- specify exact IP address if interface has multiple addresses
- floating
Ip String - Floating IP address in HA Active-Active configuration
- interface String
- Interface name
- ip String
- specify exact IP address if interface has multiple addresses
GetNatPolicyRulesRuleSourceTranslationStaticIp
- Bi
Directional string - allow reverse translation from translated address to original address
- Translated
Address string
- Bi
Directional string - allow reverse translation from translated address to original address
- Translated
Address string
- bi
Directional String - allow reverse translation from translated address to original address
- translated
Address String
- bi
Directional string - allow reverse translation from translated address to original address
- translated
Address string
- bi_
directional str - allow reverse translation from translated address to original address
- translated_
address str
- bi
Directional String - allow reverse translation from translated address to original address
- translated
Address String
GetNatPolicyRulesRuleTarget
- Devices
List<Get
Nat Policy Rules Rule Target Device> - Negate bool
- Target to all but these specified devices and tags
- List<string>
- Devices
[]Get
Nat Policy Rules Rule Target Device - Negate bool
- Target to all but these specified devices and tags
- []string
- devices
List<Get
Nat Policy Rules Rule Target Device> - negate Boolean
- Target to all but these specified devices and tags
- List<String>
- devices
Get
Nat Policy Rules Rule Target Device[] - negate boolean
- Target to all but these specified devices and tags
- string[]
- devices
Sequence[Get
Nat Policy Rules Rule Target Device] - negate bool
- Target to all but these specified devices and tags
- Sequence[str]
- devices List<Property Map>
- negate Boolean
- Target to all but these specified devices and tags
- List<String>
GetNatPolicyRulesRuleTargetDevice
- name String
- vsys List<Property Map>
GetNatPolicyRulesRuleTargetDeviceVsy
- Name string
- Name string
- name String
- name string
- name str
- name String
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panos
Terraform Provider.
panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks