1. Packages
  2. Panos Provider
  3. API Docs
  4. getNatPolicy
panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks

panos.getNatPolicy

Explore with Pulumi AI

panos logo
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 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 GetNatPolicyLocation
    The location of this object.
    Rules List<GetNatPolicyRule>
    Id string
    The provider-assigned unique ID for this managed resource.
    Location GetNatPolicyLocation
    The location of this object.
    Rules []GetNatPolicyRule
    id String
    The provider-assigned unique ID for this managed resource.
    location GetNatPolicyLocation
    The location of this object.
    rules List<GetNatPolicyRule>
    id string
    The provider-assigned unique ID for this managed resource.
    location GetNatPolicyLocation
    The location of this object.
    rules GetNatPolicyRule[]
    id str
    The provider-assigned unique ID for this managed resource.
    location GetNatPolicyLocation
    The location of this object.
    rules Sequence[GetNatPolicyRule]
    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 GetNatPolicyLocationDeviceGroup
    Located in a specific device group.
    Shared GetNatPolicyLocationShared
    Located in a shared rulebase
    Vsys GetNatPolicyLocationVsys
    Located in a specific vsys.
    DeviceGroup GetNatPolicyLocationDeviceGroup
    Located in a specific device group.
    Shared GetNatPolicyLocationShared
    Located in a shared rulebase
    Vsys GetNatPolicyLocationVsys
    Located in a specific vsys.
    deviceGroup GetNatPolicyLocationDeviceGroup
    Located in a specific device group.
    shared GetNatPolicyLocationShared
    Located in a shared rulebase
    vsys GetNatPolicyLocationVsys
    Located in a specific vsys.
    deviceGroup GetNatPolicyLocationDeviceGroup
    Located in a specific device group.
    shared GetNatPolicyLocationShared
    Located in a shared rulebase
    vsys GetNatPolicyLocationVsys
    Located in a specific vsys.
    device_group GetNatPolicyLocationDeviceGroup
    Located in a specific device group.
    shared GetNatPolicyLocationShared
    Located in a shared rulebase
    vsys GetNatPolicyLocationVsys
    Located in a specific vsys.
    deviceGroup Property Map
    Located in a specific device group.
    shared 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

    activeActiveDeviceBinding String
    Device binding configuration in HA Active-Active mode
    description String
    destinationAddresses List<String>
    destinationTranslation GetNatPolicyRuleDestinationTranslation
    destinationZones List<String>
    disabled Boolean
    Disable the rule
    dynamicDestinationTranslation GetNatPolicyRuleDynamicDestinationTranslation
    groupTag String
    name String
    natType String
    type of nat
    service String
    sourceAddresses List<String>
    sourceTranslation GetNatPolicyRuleSourceTranslation
    sourceZones List<String>
    tags List<String>
    target GetNatPolicyRuleTarget
    toInterface String
    Egress interface from route lookup
    activeActiveDeviceBinding String
    Device binding configuration in HA Active-Active mode
    description String
    destinationAddresses List<String>
    destinationTranslation Property Map
    destinationZones List<String>
    disabled Boolean
    Disable the rule
    dynamicDestinationTranslation Property Map
    groupTag String
    name String
    natType String
    type of nat
    service String
    sourceAddresses List<String>
    sourceTranslation Property Map
    sourceZones List<String>
    tags List<String>
    target Property Map
    toInterface String
    Egress interface from route lookup

    GetNatPolicyRuleDestinationTranslation

    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

    GetNatPolicyRuleSourceTranslationDynamicIpAndPort

    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

    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<GetNatPolicyRuleTargetDevice>
    Negate bool
    Target to all but these specified devices and tags
    Tags List<string>
    Devices []GetNatPolicyRuleTargetDevice
    Negate bool
    Target to all but these specified devices and tags
    Tags []string
    devices List<GetNatPolicyRuleTargetDevice>
    negate Boolean
    Target to all but these specified devices and tags
    tags List<String>
    devices GetNatPolicyRuleTargetDevice[]
    negate boolean
    Target to all but these specified devices and tags
    tags string[]
    devices Sequence[GetNatPolicyRuleTargetDevice]
    negate bool
    Target to all but these specified devices and tags
    tags Sequence[str]
    devices List<Property Map>
    negate Boolean
    Target to all but these specified devices and tags
    tags List<String>

    GetNatPolicyRuleTargetDevice

    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 logo
    panos 2.0.0 published on Tuesday, Apr 15, 2025 by paloaltonetworks