panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks
panos.getNatPolicy
Explore with Pulumi AI
panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks
Using getNatPolicy
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 getNatPolicy(args: GetNatPolicyArgs, opts?: InvokeOptions): Promise<GetNatPolicyResult>
function getNatPolicyOutput(args: GetNatPolicyOutputArgs, opts?: InvokeOptions): Output<GetNatPolicyResult>
def get_nat_policy(location: Optional[GetNatPolicyLocation] = None,
rules: Optional[Sequence[GetNatPolicyRule]] = None,
opts: Optional[InvokeOptions] = None) -> GetNatPolicyResult
def get_nat_policy_output(location: Optional[pulumi.Input[GetNatPolicyLocationArgs]] = None,
rules: Optional[pulumi.Input[Sequence[pulumi.Input[GetNatPolicyRuleArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNatPolicyResult]
func LookupNatPolicy(ctx *Context, args *LookupNatPolicyArgs, opts ...InvokeOption) (*LookupNatPolicyResult, error)
func LookupNatPolicyOutput(ctx *Context, args *LookupNatPolicyOutputArgs, opts ...InvokeOption) LookupNatPolicyResultOutput
> Note: This function is named LookupNatPolicy
in the Go SDK.
public static class GetNatPolicy
{
public static Task<GetNatPolicyResult> InvokeAsync(GetNatPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetNatPolicyResult> Invoke(GetNatPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNatPolicyResult> getNatPolicy(GetNatPolicyArgs args, InvokeOptions options)
public static Output<GetNatPolicyResult> getNatPolicy(GetNatPolicyArgs args, InvokeOptions options)
fn::invoke:
function: panos:index/getNatPolicy:getNatPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Location
Get
Nat Policy Location - The location of this object.
- Rules
List<Get
Nat Policy Rule>
- Location
Get
Nat Policy Location - The location of this object.
- Rules
[]Get
Nat Policy Rule
- location
Get
Nat Policy Location - The location of this object.
- rules
List<Get
Nat Policy Rule>
- location
Get
Nat Policy Location - The location of this object.
- rules
Get
Nat Policy Rule[]
- location
Get
Nat Policy Location - The location of this object.
- rules
Sequence[Get
Nat Policy Rule]
- location Property Map
- The location of this object.
- rules List<Property Map>
getNatPolicy Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Get
Nat Policy Location - The location of this object.
- Rules
List<Get
Nat Policy Rule>
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Get
Nat Policy Location - The location of this object.
- Rules
[]Get
Nat Policy Rule
- id String
- The provider-assigned unique ID for this managed resource.
- location
Get
Nat Policy Location - The location of this object.
- rules
List<Get
Nat Policy Rule>
- id string
- The provider-assigned unique ID for this managed resource.
- location
Get
Nat Policy Location - The location of this object.
- rules
Get
Nat Policy Rule[]
- id str
- The provider-assigned unique ID for this managed resource.
- location
Get
Nat Policy Location - The location of this object.
- rules
Sequence[Get
Nat Policy Rule]
- id String
- The provider-assigned unique ID for this managed resource.
- location Property Map
- The location of this object.
- rules List<Property Map>
Supporting Types
GetNatPolicyLocation
- Device
Group GetNat Policy Location Device Group - Located in a specific device group.
- Get
Nat Policy Location Shared - Located in a shared rulebase
- Vsys
Get
Nat Policy Location Vsys - Located in a specific vsys.
- Device
Group GetNat Policy Location Device Group - Located in a specific device group.
- Get
Nat Policy Location Shared - Located in a shared rulebase
- Vsys
Get
Nat Policy Location Vsys - Located in a specific vsys.
- device
Group GetNat Policy Location Device Group - Located in a specific device group.
- Get
Nat Policy Location Shared - Located in a shared rulebase
- vsys
Get
Nat Policy Location Vsys - Located in a specific vsys.
- device
Group GetNat Policy Location Device Group - Located in a specific device group.
- Get
Nat Policy Location Shared - Located in a shared rulebase
- vsys
Get
Nat Policy Location Vsys - Located in a specific vsys.
- device_
group GetNat Policy Location Device Group - Located in a specific device group.
- Get
Nat Policy Location Shared - Located in a shared rulebase
- vsys
Get
Nat Policy 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.
GetNatPolicyLocationDeviceGroup
- 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.
GetNatPolicyLocationShared
- Rulebase string
- Rulebase name
- Rulebase string
- Rulebase name
- rulebase String
- Rulebase name
- rulebase string
- Rulebase name
- rulebase str
- Rulebase name
- rulebase String
- Rulebase name
GetNatPolicyLocationVsys
- 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
GetNatPolicyRule
- Active
Active stringDevice Binding - Device binding configuration in HA Active-Active mode
- Description string
- Destination
Addresses List<string> - Destination
Translation GetNat Policy Rule Destination Translation - Destination
Zones List<string> - Disabled bool
- Disable the rule
- Dynamic
Destination GetTranslation Nat Policy 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 Rule Source Translation - Source
Zones List<string> - List<string>
- Target
Get
Nat Policy 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 Rule Destination Translation - Destination
Zones []string - Disabled bool
- Disable the rule
- Dynamic
Destination GetTranslation Nat Policy Rule Dynamic Destination Translation - Group
Tag string - Name string
- Nat
Type string - type of nat
- Service string
- Source
Addresses []string - Source
Translation GetNat Policy Rule Source Translation - Source
Zones []string - []string
- Target
Get
Nat Policy 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 Rule Destination Translation - destination
Zones List<String> - disabled Boolean
- Disable the rule
- dynamic
Destination GetTranslation Nat Policy 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 Rule Source Translation - source
Zones List<String> - List<String>
- target
Get
Nat Policy 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 Rule Destination Translation - destination
Zones string[] - disabled boolean
- Disable the rule
- dynamic
Destination GetTranslation Nat Policy Rule Dynamic Destination Translation - group
Tag string - name string
- nat
Type string - type of nat
- service string
- source
Addresses string[] - source
Translation GetNat Policy Rule Source Translation - source
Zones string[] - string[]
- target
Get
Nat Policy 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 Rule Destination Translation - destination_
zones Sequence[str] - disabled bool
- Disable the rule
- dynamic_
destination_ Gettranslation Nat Policy 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 Rule Source Translation - source_
zones Sequence[str] - Sequence[str]
- target
Get
Nat Policy 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
GetNatPolicyRuleDestinationTranslation
- dns
Rewrite Property Map - translated
Address String - translated
Port Number
GetNatPolicyRuleDestinationTranslationDnsRewrite
- 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
GetNatPolicyRuleDynamicDestinationTranslation
- 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
GetNatPolicyRuleSourceTranslation
GetNatPolicyRuleSourceTranslationDynamicIp
- fallback Property Map
- translated
Addresses List<String>
GetNatPolicyRuleSourceTranslationDynamicIpAndPort
- interface
Address Property Map - translated
Addresses List<String>
GetNatPolicyRuleSourceTranslationDynamicIpAndPortInterfaceAddress
- 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
GetNatPolicyRuleSourceTranslationDynamicIpFallback
- interface
Address Property Map - translated
Addresses List<String>
GetNatPolicyRuleSourceTranslationDynamicIpFallbackInterfaceAddress
- 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
GetNatPolicyRuleSourceTranslationStaticIp
- 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
GetNatPolicyRuleTarget
- Devices
List<Get
Nat Policy Rule Target Device> - Negate bool
- Target to all but these specified devices and tags
- List<string>
- Devices
[]Get
Nat Policy Rule Target Device - Negate bool
- Target to all but these specified devices and tags
- []string
- devices
List<Get
Nat Policy Rule Target Device> - negate Boolean
- Target to all but these specified devices and tags
- List<String>
- devices
Get
Nat Policy Rule Target Device[] - negate boolean
- Target to all but these specified devices and tags
- string[]
- devices
Sequence[Get
Nat Policy 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>
GetNatPolicyRuleTargetDevice
- name String
- vsys List<Property Map>
GetNatPolicyRuleTargetDeviceVsy
- 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