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 dictionaryThe following arguments are supported:
- Location
GetNat Policy Location 
- The location of this object.
- Rules
List<GetNat Policy Rule> 
- Location
GetNat Policy Location 
- The location of this object.
- Rules
[]GetNat Policy Rule 
- location
GetNat Policy Location 
- The location of this object.
- rules
List<GetNat Policy Rule> 
- location
GetNat Policy Location 
- The location of this object.
- rules
GetNat Policy Rule[] 
- location
GetNat Policy Location 
- The location of this object.
- rules
Sequence[GetNat 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
GetNat Policy Location 
- The location of this object.
- Rules
List<GetNat Policy Rule> 
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
GetNat Policy Location 
- The location of this object.
- Rules
[]GetNat Policy Rule 
- id String
- The provider-assigned unique ID for this managed resource.
- location
GetNat Policy Location 
- The location of this object.
- rules
List<GetNat Policy Rule> 
- id string
- The provider-assigned unique ID for this managed resource.
- location
GetNat Policy Location 
- The location of this object.
- rules
GetNat Policy Rule[] 
- id str
- The provider-assigned unique ID for this managed resource.
- location
GetNat Policy Location 
- The location of this object.
- rules
Sequence[GetNat 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   
- DeviceGroup GetNat Policy Location Device Group 
- Located in a specific device group.
- 
GetNat Policy Location Shared 
- Located in a shared rulebase
- Vsys
GetNat Policy Location Vsys 
- Located in a specific vsys.
- DeviceGroup GetNat Policy Location Device Group 
- Located in a specific device group.
- 
GetNat Policy Location Shared 
- Located in a shared rulebase
- Vsys
GetNat Policy Location Vsys 
- Located in a specific vsys.
- deviceGroup GetNat Policy Location Device Group 
- Located in a specific device group.
- 
GetNat Policy Location Shared 
- Located in a shared rulebase
- vsys
GetNat Policy Location Vsys 
- Located in a specific vsys.
- deviceGroup GetNat Policy Location Device Group 
- Located in a specific device group.
- 
GetNat Policy Location Shared 
- Located in a shared rulebase
- vsys
GetNat Policy Location Vsys 
- Located in a specific vsys.
- device_group GetNat Policy Location Device Group 
- Located in a specific device group.
- 
GetNat Policy Location Shared 
- Located in a shared rulebase
- vsys
GetNat Policy Location Vsys 
- Located in a specific vsys.
- deviceGroup 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.
- PanoramaDevice string
- The panorama device.
- Rulebase string
- The rulebase.
- Name string
- The device group.
- PanoramaDevice string
- The panorama device.
- Rulebase string
- The rulebase.
- name String
- The device group.
- panoramaDevice String
- The panorama device.
- rulebase String
- The rulebase.
- name string
- The device group.
- panoramaDevice 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.
- panoramaDevice 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
- NgfwDevice string
- The NGFW device
- Name string
- The vsys name
- NgfwDevice string
- The NGFW device
- name String
- The vsys name
- ngfwDevice String
- The NGFW device
- name string
- The vsys name
- ngfwDevice string
- The NGFW device
- name str
- The vsys name
- ngfw_device str
- The NGFW device
- name String
- The vsys name
- ngfwDevice String
- The NGFW device
GetNatPolicyRule   
- ActiveActive stringDevice Binding 
- Device binding configuration in HA Active-Active mode
- Description string
- DestinationAddresses List<string>
- DestinationTranslation GetNat Policy Rule Destination Translation 
- DestinationZones List<string>
- Disabled bool
- Disable the rule
- DynamicDestination GetTranslation Nat Policy Rule Dynamic Destination Translation 
- GroupTag string
- Name string
- NatType string
- type of nat
- Service string
- SourceAddresses List<string>
- SourceTranslation GetNat Policy Rule Source Translation 
- SourceZones List<string>
- List<string>
- Target
GetNat Policy Rule Target 
- ToInterface string
- Egress interface from route lookup
- ActiveActive stringDevice Binding 
- Device binding configuration in HA Active-Active mode
- Description string
- DestinationAddresses []string
- DestinationTranslation GetNat Policy Rule Destination Translation 
- DestinationZones []string
- Disabled bool
- Disable the rule
- DynamicDestination GetTranslation Nat Policy Rule Dynamic Destination Translation 
- GroupTag string
- Name string
- NatType string
- type of nat
- Service string
- SourceAddresses []string
- SourceTranslation GetNat Policy Rule Source Translation 
- SourceZones []string
- []string
- Target
GetNat Policy Rule Target 
- ToInterface string
- Egress interface from route lookup
- activeActive StringDevice Binding 
- Device binding configuration in HA Active-Active mode
- description String
- destinationAddresses List<String>
- destinationTranslation GetNat Policy Rule Destination Translation 
- destinationZones List<String>
- disabled Boolean
- Disable the rule
- dynamicDestination GetTranslation Nat Policy Rule Dynamic Destination Translation 
- groupTag String
- name String
- natType String
- type of nat
- service String
- sourceAddresses List<String>
- sourceTranslation GetNat Policy Rule Source Translation 
- sourceZones List<String>
- List<String>
- target
GetNat Policy Rule Target 
- toInterface String
- Egress interface from route lookup
- activeActive stringDevice Binding 
- Device binding configuration in HA Active-Active mode
- description string
- destinationAddresses string[]
- destinationTranslation GetNat Policy Rule Destination Translation 
- destinationZones string[]
- disabled boolean
- Disable the rule
- dynamicDestination GetTranslation Nat Policy Rule Dynamic Destination Translation 
- groupTag string
- name string
- natType string
- type of nat
- service string
- sourceAddresses string[]
- sourceTranslation GetNat Policy Rule Source Translation 
- sourceZones string[]
- string[]
- target
GetNat Policy Rule Target 
- toInterface 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
GetNat Policy Rule Target 
- to_interface str
- Egress interface from route lookup
- activeActive StringDevice Binding 
- Device binding configuration in HA Active-Active mode
- description String
- destinationAddresses List<String>
- destinationTranslation Property Map
- destinationZones List<String>
- disabled Boolean
- Disable the rule
- dynamicDestination Property MapTranslation 
- groupTag String
- name String
- natType String
- type of nat
- service String
- sourceAddresses List<String>
- sourceTranslation Property Map
- sourceZones List<String>
- List<String>
- target Property Map
- toInterface String
- Egress interface from route lookup
GetNatPolicyRuleDestinationTranslation     
- dnsRewrite Property Map
- translatedAddress String
- translatedPort 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
- TranslatedAddress string
- TranslatedPort double
- Distribution string
- Distribution algorithm for destination address pool
- TranslatedAddress string
- TranslatedPort float64
- distribution String
- Distribution algorithm for destination address pool
- translatedAddress String
- translatedPort Double
- distribution string
- Distribution algorithm for destination address pool
- translatedAddress string
- translatedPort number
- distribution str
- Distribution algorithm for destination address pool
- translated_address str
- translated_port float
- distribution String
- Distribution algorithm for destination address pool
- translatedAddress String
- translatedPort Number
GetNatPolicyRuleSourceTranslation     
GetNatPolicyRuleSourceTranslationDynamicIp       
- fallback Property Map
- translatedAddresses List<String>
GetNatPolicyRuleSourceTranslationDynamicIpAndPort         
- interfaceAddress Property Map
- translatedAddresses List<String>
GetNatPolicyRuleSourceTranslationDynamicIpAndPortInterfaceAddress           
- FloatingIp string
- Floating IP address in HA Active-Active configuration
- Interface string
- Interface name
- Ip string
- specify exact IP address if interface has multiple addresses
- FloatingIp string
- Floating IP address in HA Active-Active configuration
- Interface string
- Interface name
- Ip string
- specify exact IP address if interface has multiple addresses
- floatingIp String
- Floating IP address in HA Active-Active configuration
- interface_ String
- Interface name
- ip String
- specify exact IP address if interface has multiple addresses
- floatingIp 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
- floatingIp 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        
- interfaceAddress Property Map
- translatedAddresses List<String>
GetNatPolicyRuleSourceTranslationDynamicIpFallbackInterfaceAddress          
- FloatingIp string
- Floating IP address in HA Active-Active configuration
- Interface string
- Interface name
- Ip string
- specify exact IP address if interface has multiple addresses
- FloatingIp string
- Floating IP address in HA Active-Active configuration
- Interface string
- Interface name
- Ip string
- specify exact IP address if interface has multiple addresses
- floatingIp String
- Floating IP address in HA Active-Active configuration
- interface_ String
- Interface name
- ip String
- specify exact IP address if interface has multiple addresses
- floatingIp 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
- floatingIp 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       
- BiDirectional string
- allow reverse translation from translated address to original address
- TranslatedAddress string
- BiDirectional string
- allow reverse translation from translated address to original address
- TranslatedAddress string
- biDirectional String
- allow reverse translation from translated address to original address
- translatedAddress String
- biDirectional string
- allow reverse translation from translated address to original address
- translatedAddress string
- bi_directional str
- allow reverse translation from translated address to original address
- translated_address str
- biDirectional String
- allow reverse translation from translated address to original address
- translatedAddress String
GetNatPolicyRuleTarget    
- Devices
List<GetNat Policy Rule Target Device> 
- Negate bool
- Target to all but these specified devices and tags
- List<string>
- Devices
[]GetNat Policy Rule Target Device 
- Negate bool
- Target to all but these specified devices and tags
- []string
- devices
List<GetNat Policy Rule Target Device> 
- negate Boolean
- Target to all but these specified devices and tags
- List<String>
- devices
GetNat Policy Rule Target Device[] 
- negate boolean
- Target to all but these specified devices and tags
- string[]
- devices
Sequence[GetNat 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 panosTerraform Provider.
panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks