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

panos.getNatPolicyRules

Explore with Pulumi AI

panos logo
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:

    getNatPolicyRules Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Location GetNatPolicyRulesLocation
    The location of this object.
    Position GetNatPolicyRulesPosition
    Rules List<GetNatPolicyRulesRule>
    Id string
    The provider-assigned unique ID for this managed resource.
    Location GetNatPolicyRulesLocation
    The location of this object.
    Position GetNatPolicyRulesPosition
    Rules []GetNatPolicyRulesRule
    id String
    The provider-assigned unique ID for this managed resource.
    location GetNatPolicyRulesLocation
    The location of this object.
    position GetNatPolicyRulesPosition
    rules List<GetNatPolicyRulesRule>
    id string
    The provider-assigned unique ID for this managed resource.
    location GetNatPolicyRulesLocation
    The location of this object.
    position GetNatPolicyRulesPosition
    rules GetNatPolicyRulesRule[]
    id str
    The provider-assigned unique ID for this managed resource.
    location GetNatPolicyRulesLocation
    The location of this object.
    position GetNatPolicyRulesPosition
    rules Sequence[GetNatPolicyRulesRule]
    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

    DeviceGroup GetNatPolicyRulesLocationDeviceGroup
    Located in a specific device group.
    Shared GetNatPolicyRulesLocationShared
    Located in a shared rulebase
    Vsys GetNatPolicyRulesLocationVsys
    Located in a specific vsys.
    DeviceGroup GetNatPolicyRulesLocationDeviceGroup
    Located in a specific device group.
    Shared GetNatPolicyRulesLocationShared
    Located in a shared rulebase
    Vsys GetNatPolicyRulesLocationVsys
    Located in a specific vsys.
    deviceGroup GetNatPolicyRulesLocationDeviceGroup
    Located in a specific device group.
    shared GetNatPolicyRulesLocationShared
    Located in a shared rulebase
    vsys GetNatPolicyRulesLocationVsys
    Located in a specific vsys.
    deviceGroup GetNatPolicyRulesLocationDeviceGroup
    Located in a specific device group.
    shared GetNatPolicyRulesLocationShared
    Located in a shared rulebase
    vsys GetNatPolicyRulesLocationVsys
    Located in a specific vsys.
    device_group GetNatPolicyRulesLocationDeviceGroup
    Located in a specific device group.
    shared GetNatPolicyRulesLocationShared
    Located in a shared rulebase
    vsys GetNatPolicyRulesLocationVsys
    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.

    GetNatPolicyRulesLocationDeviceGroup

    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.

    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
    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

    GetNatPolicyRulesPosition

    Where string
    Directly bool
    Pivot string
    Where string
    Directly bool
    Pivot string
    where String
    directly Boolean
    pivot String
    where string
    directly boolean
    pivot string
    where str
    directly bool
    pivot str
    where String
    directly Boolean
    pivot String

    GetNatPolicyRulesRule

    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

    GetNatPolicyRulesRuleDestinationTranslation

    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
    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

    GetNatPolicyRulesRuleSourceTranslation

    GetNatPolicyRulesRuleSourceTranslationDynamicIp

    GetNatPolicyRulesRuleSourceTranslationDynamicIpAndPort

    GetNatPolicyRulesRuleSourceTranslationDynamicIpAndPortInterfaceAddress

    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

    GetNatPolicyRulesRuleSourceTranslationDynamicIpFallback

    GetNatPolicyRulesRuleSourceTranslationDynamicIpFallbackInterfaceAddress

    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

    GetNatPolicyRulesRuleSourceTranslationStaticIp

    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

    GetNatPolicyRulesRuleTarget

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

    GetNatPolicyRulesRuleTargetDevice

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