1. Packages
  2. Packages
  3. Panos Provider
  4. API Docs
  5. NatPolicy
Viewing docs for panos 2.0.11
published on Tuesday, Apr 28, 2026 by paloaltonetworks
Viewing docs for panos 2.0.11
published on Tuesday, Apr 28, 2026 by paloaltonetworks

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      # Manages the entire NAT policy
      example:
        type: panos:NatPolicy
        properties:
          location:
            deviceGroup:
              name: ${exampleDeviceGroup.name}
              rulebase: post-rulebase
          rules:
            - name: rule-1
              sourceZones:
                - ${trust.name}
              sourceAddresses:
                - 10.0.0.0/24
              destinationZones:
                - ${untrust.name}
              destinationAddresses:
                - 172.16.0.0/16
              services:
                - any
              sourceTranslation:
                staticIp:
                  translatedAddress: 192.168.0.1
            - name: rule-2
              sourceZones:
                - ${trust.name}
              sourceAddresses:
                - 10.0.0.0/24
              destinationZones:
                - ${untrust.name}
              destinationAddresses:
                - 172.16.0.0/16
              services:
                - any
              sourceTranslation:
                dynamicIpAndPort:
                  interfaceAddress:
                    interface: ${exampleEthernetInterface.name}
                    ip: 10.1.0.0/24
      exampleEthernetInterface:
        type: panos:EthernetInterface
        name: example
        properties:
          location:
            template:
              vsys: vsys1
              name: ${exampleTemplate.name}
          name: ethernet1/1
          layer3: {}
      trust:
        type: panos:Zone
        properties:
          location:
            template:
              name: ${exampleTemplate.name}
          name: Trust
      untrust:
        type: panos:Zone
        properties:
          location:
            template:
              name: ${exampleTemplate.name}
          name: Untrust
      exampleDeviceGroup:
        type: panos:DeviceGroup
        name: example
        properties:
          location:
            panorama: {}
          name: example-device-group
      exampleTemplate:
        type: panos:Template
        name: example
        properties:
          location:
            panorama: {}
          name: example-template
    

    Create NatPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NatPolicy(name: string, args: NatPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def NatPolicy(resource_name: str,
                  args: NatPolicyArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def NatPolicy(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  location: Optional[NatPolicyLocationArgs] = None,
                  rules: Optional[Sequence[NatPolicyRuleArgs]] = None)
    func NewNatPolicy(ctx *Context, name string, args NatPolicyArgs, opts ...ResourceOption) (*NatPolicy, error)
    public NatPolicy(string name, NatPolicyArgs args, CustomResourceOptions? opts = null)
    public NatPolicy(String name, NatPolicyArgs args)
    public NatPolicy(String name, NatPolicyArgs args, CustomResourceOptions options)
    
    type: panos:NatPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NatPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NatPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NatPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NatPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NatPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var natPolicyResource = new Panos.NatPolicy("natPolicyResource", new()
    {
        Location = new Panos.Inputs.NatPolicyLocationArgs
        {
            DeviceGroup = new Panos.Inputs.NatPolicyLocationDeviceGroupArgs
            {
                Name = "string",
                PanoramaDevice = "string",
                Rulebase = "string",
            },
            Shared = new Panos.Inputs.NatPolicyLocationSharedArgs
            {
                Rulebase = "string",
            },
            Vsys = new Panos.Inputs.NatPolicyLocationVsysArgs
            {
                Name = "string",
                NgfwDevice = "string",
            },
        },
        Rules = new[]
        {
            new Panos.Inputs.NatPolicyRuleArgs
            {
                Name = "string",
                DynamicDestinationTranslation = new Panos.Inputs.NatPolicyRuleDynamicDestinationTranslationArgs
                {
                    Distribution = "string",
                    TranslatedAddress = "string",
                    TranslatedPort = 0,
                },
                NatType = "string",
                Description = "string",
                DestinationAddresses = new[]
                {
                    "string",
                },
                DestinationTranslation = new Panos.Inputs.NatPolicyRuleDestinationTranslationArgs
                {
                    DnsRewrite = new Panos.Inputs.NatPolicyRuleDestinationTranslationDnsRewriteArgs
                    {
                        Direction = "string",
                    },
                    TranslatedAddress = "string",
                    TranslatedPort = 0,
                },
                DestinationZones = new[]
                {
                    "string",
                },
                Disabled = false,
                ActiveActiveDeviceBinding = "string",
                AuditCommentWo = "string",
                GroupTag = "string",
                AuditCommentVersion = "string",
                Service = "string",
                SourceAddresses = new[]
                {
                    "string",
                },
                SourceTranslation = new Panos.Inputs.NatPolicyRuleSourceTranslationArgs
                {
                    DynamicIp = new Panos.Inputs.NatPolicyRuleSourceTranslationDynamicIpArgs
                    {
                        Fallback = new Panos.Inputs.NatPolicyRuleSourceTranslationDynamicIpFallbackArgs
                        {
                            InterfaceAddress = new Panos.Inputs.NatPolicyRuleSourceTranslationDynamicIpFallbackInterfaceAddressArgs
                            {
                                FloatingIp = "string",
                                Interface = "string",
                                Ip = "string",
                            },
                            TranslatedAddresses = new[]
                            {
                                "string",
                            },
                        },
                        TranslatedAddresses = new[]
                        {
                            "string",
                        },
                    },
                    DynamicIpAndPort = new Panos.Inputs.NatPolicyRuleSourceTranslationDynamicIpAndPortArgs
                    {
                        InterfaceAddress = new Panos.Inputs.NatPolicyRuleSourceTranslationDynamicIpAndPortInterfaceAddressArgs
                        {
                            FloatingIp = "string",
                            Interface = "string",
                            Ip = "string",
                        },
                        TranslatedAddresses = new[]
                        {
                            "string",
                        },
                    },
                    StaticIp = new Panos.Inputs.NatPolicyRuleSourceTranslationStaticIpArgs
                    {
                        BiDirectional = "string",
                        TranslatedAddress = "string",
                    },
                },
                SourceZones = new[]
                {
                    "string",
                },
                Tags = new[]
                {
                    "string",
                },
                Target = new Panos.Inputs.NatPolicyRuleTargetArgs
                {
                    Devices = new[]
                    {
                        new Panos.Inputs.NatPolicyRuleTargetDeviceArgs
                        {
                            Name = "string",
                            Vsys = new[]
                            {
                                new Panos.Inputs.NatPolicyRuleTargetDeviceVsyArgs
                                {
                                    Name = "string",
                                },
                            },
                        },
                    },
                    Negate = false,
                    Tags = new[]
                    {
                        "string",
                    },
                },
                ToInterface = "string",
            },
        },
    });
    
    example, err := panos.NewNatPolicy(ctx, "natPolicyResource", &panos.NatPolicyArgs{
    	Location: &panos.NatPolicyLocationArgs{
    		DeviceGroup: &panos.NatPolicyLocationDeviceGroupArgs{
    			Name:           pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    			Rulebase:       pulumi.String("string"),
    		},
    		Shared: &panos.NatPolicyLocationSharedArgs{
    			Rulebase: pulumi.String("string"),
    		},
    		Vsys: &panos.NatPolicyLocationVsysArgs{
    			Name:       pulumi.String("string"),
    			NgfwDevice: pulumi.String("string"),
    		},
    	},
    	Rules: panos.NatPolicyRuleArray{
    		&panos.NatPolicyRuleArgs{
    			Name: pulumi.String("string"),
    			DynamicDestinationTranslation: &panos.NatPolicyRuleDynamicDestinationTranslationArgs{
    				Distribution:      pulumi.String("string"),
    				TranslatedAddress: pulumi.String("string"),
    				TranslatedPort:    pulumi.Float64(0),
    			},
    			NatType:     pulumi.String("string"),
    			Description: pulumi.String("string"),
    			DestinationAddresses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationTranslation: &panos.NatPolicyRuleDestinationTranslationArgs{
    				DnsRewrite: &panos.NatPolicyRuleDestinationTranslationDnsRewriteArgs{
    					Direction: pulumi.String("string"),
    				},
    				TranslatedAddress: pulumi.String("string"),
    				TranslatedPort:    pulumi.Float64(0),
    			},
    			DestinationZones: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Disabled:                  pulumi.Bool(false),
    			ActiveActiveDeviceBinding: pulumi.String("string"),
    			AuditCommentWo:            pulumi.String("string"),
    			GroupTag:                  pulumi.String("string"),
    			AuditCommentVersion:       pulumi.String("string"),
    			Service:                   pulumi.String("string"),
    			SourceAddresses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourceTranslation: &panos.NatPolicyRuleSourceTranslationArgs{
    				DynamicIp: &panos.NatPolicyRuleSourceTranslationDynamicIpArgs{
    					Fallback: &panos.NatPolicyRuleSourceTranslationDynamicIpFallbackArgs{
    						InterfaceAddress: &panos.NatPolicyRuleSourceTranslationDynamicIpFallbackInterfaceAddressArgs{
    							FloatingIp: pulumi.String("string"),
    							Interface:  pulumi.String("string"),
    							Ip:         pulumi.String("string"),
    						},
    						TranslatedAddresses: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					TranslatedAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				DynamicIpAndPort: &panos.NatPolicyRuleSourceTranslationDynamicIpAndPortArgs{
    					InterfaceAddress: &panos.NatPolicyRuleSourceTranslationDynamicIpAndPortInterfaceAddressArgs{
    						FloatingIp: pulumi.String("string"),
    						Interface:  pulumi.String("string"),
    						Ip:         pulumi.String("string"),
    					},
    					TranslatedAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				StaticIp: &panos.NatPolicyRuleSourceTranslationStaticIpArgs{
    					BiDirectional:     pulumi.String("string"),
    					TranslatedAddress: pulumi.String("string"),
    				},
    			},
    			SourceZones: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Target: &panos.NatPolicyRuleTargetArgs{
    				Devices: panos.NatPolicyRuleTargetDeviceArray{
    					&panos.NatPolicyRuleTargetDeviceArgs{
    						Name: pulumi.String("string"),
    						Vsys: panos.NatPolicyRuleTargetDeviceVsyArray{
    							&panos.NatPolicyRuleTargetDeviceVsyArgs{
    								Name: pulumi.String("string"),
    							},
    						},
    					},
    				},
    				Negate: pulumi.Bool(false),
    				Tags: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			ToInterface: pulumi.String("string"),
    		},
    	},
    })
    
    var natPolicyResource = new NatPolicy("natPolicyResource", NatPolicyArgs.builder()
        .location(NatPolicyLocationArgs.builder()
            .deviceGroup(NatPolicyLocationDeviceGroupArgs.builder()
                .name("string")
                .panoramaDevice("string")
                .rulebase("string")
                .build())
            .shared(NatPolicyLocationSharedArgs.builder()
                .rulebase("string")
                .build())
            .vsys(NatPolicyLocationVsysArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .build())
            .build())
        .rules(NatPolicyRuleArgs.builder()
            .name("string")
            .dynamicDestinationTranslation(NatPolicyRuleDynamicDestinationTranslationArgs.builder()
                .distribution("string")
                .translatedAddress("string")
                .translatedPort(0.0)
                .build())
            .natType("string")
            .description("string")
            .destinationAddresses("string")
            .destinationTranslation(NatPolicyRuleDestinationTranslationArgs.builder()
                .dnsRewrite(NatPolicyRuleDestinationTranslationDnsRewriteArgs.builder()
                    .direction("string")
                    .build())
                .translatedAddress("string")
                .translatedPort(0.0)
                .build())
            .destinationZones("string")
            .disabled(false)
            .activeActiveDeviceBinding("string")
            .auditCommentWo("string")
            .groupTag("string")
            .auditCommentVersion("string")
            .service("string")
            .sourceAddresses("string")
            .sourceTranslation(NatPolicyRuleSourceTranslationArgs.builder()
                .dynamicIp(NatPolicyRuleSourceTranslationDynamicIpArgs.builder()
                    .fallback(NatPolicyRuleSourceTranslationDynamicIpFallbackArgs.builder()
                        .interfaceAddress(NatPolicyRuleSourceTranslationDynamicIpFallbackInterfaceAddressArgs.builder()
                            .floatingIp("string")
                            .interface_("string")
                            .ip("string")
                            .build())
                        .translatedAddresses("string")
                        .build())
                    .translatedAddresses("string")
                    .build())
                .dynamicIpAndPort(NatPolicyRuleSourceTranslationDynamicIpAndPortArgs.builder()
                    .interfaceAddress(NatPolicyRuleSourceTranslationDynamicIpAndPortInterfaceAddressArgs.builder()
                        .floatingIp("string")
                        .interface_("string")
                        .ip("string")
                        .build())
                    .translatedAddresses("string")
                    .build())
                .staticIp(NatPolicyRuleSourceTranslationStaticIpArgs.builder()
                    .biDirectional("string")
                    .translatedAddress("string")
                    .build())
                .build())
            .sourceZones("string")
            .tags("string")
            .target(NatPolicyRuleTargetArgs.builder()
                .devices(NatPolicyRuleTargetDeviceArgs.builder()
                    .name("string")
                    .vsys(NatPolicyRuleTargetDeviceVsyArgs.builder()
                        .name("string")
                        .build())
                    .build())
                .negate(false)
                .tags("string")
                .build())
            .toInterface("string")
            .build())
        .build());
    
    nat_policy_resource = panos.NatPolicy("natPolicyResource",
        location={
            "device_group": {
                "name": "string",
                "panorama_device": "string",
                "rulebase": "string",
            },
            "shared": {
                "rulebase": "string",
            },
            "vsys": {
                "name": "string",
                "ngfw_device": "string",
            },
        },
        rules=[{
            "name": "string",
            "dynamic_destination_translation": {
                "distribution": "string",
                "translated_address": "string",
                "translated_port": float(0),
            },
            "nat_type": "string",
            "description": "string",
            "destination_addresses": ["string"],
            "destination_translation": {
                "dns_rewrite": {
                    "direction": "string",
                },
                "translated_address": "string",
                "translated_port": float(0),
            },
            "destination_zones": ["string"],
            "disabled": False,
            "active_active_device_binding": "string",
            "audit_comment_wo": "string",
            "group_tag": "string",
            "audit_comment_version": "string",
            "service": "string",
            "source_addresses": ["string"],
            "source_translation": {
                "dynamic_ip": {
                    "fallback": {
                        "interface_address": {
                            "floating_ip": "string",
                            "interface": "string",
                            "ip": "string",
                        },
                        "translated_addresses": ["string"],
                    },
                    "translated_addresses": ["string"],
                },
                "dynamic_ip_and_port": {
                    "interface_address": {
                        "floating_ip": "string",
                        "interface": "string",
                        "ip": "string",
                    },
                    "translated_addresses": ["string"],
                },
                "static_ip": {
                    "bi_directional": "string",
                    "translated_address": "string",
                },
            },
            "source_zones": ["string"],
            "tags": ["string"],
            "target": {
                "devices": [{
                    "name": "string",
                    "vsys": [{
                        "name": "string",
                    }],
                }],
                "negate": False,
                "tags": ["string"],
            },
            "to_interface": "string",
        }])
    
    const natPolicyResource = new panos.NatPolicy("natPolicyResource", {
        location: {
            deviceGroup: {
                name: "string",
                panoramaDevice: "string",
                rulebase: "string",
            },
            shared: {
                rulebase: "string",
            },
            vsys: {
                name: "string",
                ngfwDevice: "string",
            },
        },
        rules: [{
            name: "string",
            dynamicDestinationTranslation: {
                distribution: "string",
                translatedAddress: "string",
                translatedPort: 0,
            },
            natType: "string",
            description: "string",
            destinationAddresses: ["string"],
            destinationTranslation: {
                dnsRewrite: {
                    direction: "string",
                },
                translatedAddress: "string",
                translatedPort: 0,
            },
            destinationZones: ["string"],
            disabled: false,
            activeActiveDeviceBinding: "string",
            auditCommentWo: "string",
            groupTag: "string",
            auditCommentVersion: "string",
            service: "string",
            sourceAddresses: ["string"],
            sourceTranslation: {
                dynamicIp: {
                    fallback: {
                        interfaceAddress: {
                            floatingIp: "string",
                            "interface": "string",
                            ip: "string",
                        },
                        translatedAddresses: ["string"],
                    },
                    translatedAddresses: ["string"],
                },
                dynamicIpAndPort: {
                    interfaceAddress: {
                        floatingIp: "string",
                        "interface": "string",
                        ip: "string",
                    },
                    translatedAddresses: ["string"],
                },
                staticIp: {
                    biDirectional: "string",
                    translatedAddress: "string",
                },
            },
            sourceZones: ["string"],
            tags: ["string"],
            target: {
                devices: [{
                    name: "string",
                    vsys: [{
                        name: "string",
                    }],
                }],
                negate: false,
                tags: ["string"],
            },
            toInterface: "string",
        }],
    });
    
    type: panos:NatPolicy
    properties:
        location:
            deviceGroup:
                name: string
                panoramaDevice: string
                rulebase: string
            shared:
                rulebase: string
            vsys:
                name: string
                ngfwDevice: string
        rules:
            - activeActiveDeviceBinding: string
              auditCommentVersion: string
              auditCommentWo: string
              description: string
              destinationAddresses:
                - string
              destinationTranslation:
                dnsRewrite:
                    direction: string
                translatedAddress: string
                translatedPort: 0
              destinationZones:
                - string
              disabled: false
              dynamicDestinationTranslation:
                distribution: string
                translatedAddress: string
                translatedPort: 0
              groupTag: string
              name: string
              natType: string
              service: string
              sourceAddresses:
                - string
              sourceTranslation:
                dynamicIp:
                    fallback:
                        interfaceAddress:
                            floatingIp: string
                            interface: string
                            ip: string
                        translatedAddresses:
                            - string
                    translatedAddresses:
                        - string
                dynamicIpAndPort:
                    interfaceAddress:
                        floatingIp: string
                        interface: string
                        ip: string
                    translatedAddresses:
                        - string
                staticIp:
                    biDirectional: string
                    translatedAddress: string
              sourceZones:
                - string
              tags:
                - string
              target:
                devices:
                    - name: string
                      vsys:
                        - name: string
                negate: false
                tags:
                    - string
              toInterface: string
    

    NatPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NatPolicy resource accepts the following input properties:

    location NatPolicyLocation
    The location of this object.
    rules NatPolicyRule[]
    location Property Map
    The location of this object.
    rules List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NatPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NatPolicy Resource

    Get an existing NatPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NatPolicyState, opts?: CustomResourceOptions): NatPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            location: Optional[NatPolicyLocationArgs] = None,
            rules: Optional[Sequence[NatPolicyRuleArgs]] = None) -> NatPolicy
    func GetNatPolicy(ctx *Context, name string, id IDInput, state *NatPolicyState, opts ...ResourceOption) (*NatPolicy, error)
    public static NatPolicy Get(string name, Input<string> id, NatPolicyState? state, CustomResourceOptions? opts = null)
    public static NatPolicy get(String name, Output<String> id, NatPolicyState state, CustomResourceOptions options)
    resources:  _:    type: panos:NatPolicy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    location NatPolicyLocation
    The location of this object.
    rules NatPolicyRule[]
    location Property Map
    The location of this object.
    rules List<Property Map>

    Supporting Types

    NatPolicyLocation, NatPolicyLocationArgs

    DeviceGroup NatPolicyLocationDeviceGroup
    Located in a specific device group rulebase
    Shared NatPolicyLocationShared
    Located in a shared rulebase
    Vsys NatPolicyLocationVsys
    Located in a specific vsys rulebase
    DeviceGroup NatPolicyLocationDeviceGroup
    Located in a specific device group rulebase
    Shared NatPolicyLocationShared
    Located in a shared rulebase
    Vsys NatPolicyLocationVsys
    Located in a specific vsys rulebase
    deviceGroup NatPolicyLocationDeviceGroup
    Located in a specific device group rulebase
    shared NatPolicyLocationShared
    Located in a shared rulebase
    vsys NatPolicyLocationVsys
    Located in a specific vsys rulebase
    deviceGroup NatPolicyLocationDeviceGroup
    Located in a specific device group rulebase
    shared NatPolicyLocationShared
    Located in a shared rulebase
    vsys NatPolicyLocationVsys
    Located in a specific vsys rulebase
    device_group NatPolicyLocationDeviceGroup
    Located in a specific device group rulebase
    shared NatPolicyLocationShared
    Located in a shared rulebase
    vsys NatPolicyLocationVsys
    Located in a specific vsys rulebase
    deviceGroup Property Map
    Located in a specific device group rulebase
    shared Property Map
    Located in a shared rulebase
    vsys Property Map
    Located in a specific vsys rulebase

    NatPolicyLocationDeviceGroup, NatPolicyLocationDeviceGroupArgs

    Name string
    The device group name
    PanoramaDevice string
    The panorama device
    Rulebase string
    The rulebase
    Name string
    The device group name
    PanoramaDevice string
    The panorama device
    Rulebase string
    The rulebase
    name String
    The device group name
    panoramaDevice String
    The panorama device
    rulebase String
    The rulebase
    name string
    The device group name
    panoramaDevice string
    The panorama device
    rulebase string
    The rulebase
    name str
    The device group name
    panorama_device str
    The panorama device
    rulebase str
    The rulebase
    name String
    The device group name
    panoramaDevice String
    The panorama device
    rulebase String
    The rulebase

    NatPolicyLocationShared, NatPolicyLocationSharedArgs

    Rulebase string
    Rulebase name
    Rulebase string
    Rulebase name
    rulebase String
    Rulebase name
    rulebase string
    Rulebase name
    rulebase str
    Rulebase name
    rulebase String
    Rulebase name

    NatPolicyLocationVsys, NatPolicyLocationVsysArgs

    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

    NatPolicyRule, NatPolicyRuleArgs

    Name string
    ActiveActiveDeviceBinding string
    Device binding configuration in HA Active-Active mode
    AuditCommentVersion string
    Version trigger for audit comments. Change this value to send the auditcommentwo to PAN-OS. This attribute is not sent to PAN-OS itself, but serves as a trigger to detect when the audit comment should be updated.
    AuditCommentWo string
    Write-only audit comment for this rule. This value is sent to PAN-OS but not read back. Changes are only sent when auditcommentversion is modified. Each time auditcommentversion changes, this comment is added to the audit history with a timestamp.
    Description string
    DestinationAddresses List<string>
    DestinationTranslation NatPolicyRuleDestinationTranslation
    DestinationZones List<string>
    Disabled bool
    Disable the rule
    DynamicDestinationTranslation NatPolicyRuleDynamicDestinationTranslation
    GroupTag string
    NatType string
    type of nat
    Service string
    SourceAddresses List<string>
    SourceTranslation NatPolicyRuleSourceTranslation
    SourceZones List<string>
    Tags List<string>
    Target NatPolicyRuleTarget
    ToInterface string
    Egress interface from route lookup
    Name string
    ActiveActiveDeviceBinding string
    Device binding configuration in HA Active-Active mode
    AuditCommentVersion string
    Version trigger for audit comments. Change this value to send the auditcommentwo to PAN-OS. This attribute is not sent to PAN-OS itself, but serves as a trigger to detect when the audit comment should be updated.
    AuditCommentWo string
    Write-only audit comment for this rule. This value is sent to PAN-OS but not read back. Changes are only sent when auditcommentversion is modified. Each time auditcommentversion changes, this comment is added to the audit history with a timestamp.
    Description string
    DestinationAddresses []string
    DestinationTranslation NatPolicyRuleDestinationTranslation
    DestinationZones []string
    Disabled bool
    Disable the rule
    DynamicDestinationTranslation NatPolicyRuleDynamicDestinationTranslation
    GroupTag string
    NatType string
    type of nat
    Service string
    SourceAddresses []string
    SourceTranslation NatPolicyRuleSourceTranslation
    SourceZones []string
    Tags []string
    Target NatPolicyRuleTarget
    ToInterface string
    Egress interface from route lookup
    name String
    activeActiveDeviceBinding String
    Device binding configuration in HA Active-Active mode
    auditCommentVersion String
    Version trigger for audit comments. Change this value to send the auditcommentwo to PAN-OS. This attribute is not sent to PAN-OS itself, but serves as a trigger to detect when the audit comment should be updated.
    auditCommentWo String
    Write-only audit comment for this rule. This value is sent to PAN-OS but not read back. Changes are only sent when auditcommentversion is modified. Each time auditcommentversion changes, this comment is added to the audit history with a timestamp.
    description String
    destinationAddresses List<String>
    destinationTranslation NatPolicyRuleDestinationTranslation
    destinationZones List<String>
    disabled Boolean
    Disable the rule
    dynamicDestinationTranslation NatPolicyRuleDynamicDestinationTranslation
    groupTag String
    natType String
    type of nat
    service String
    sourceAddresses List<String>
    sourceTranslation NatPolicyRuleSourceTranslation
    sourceZones List<String>
    tags List<String>
    target NatPolicyRuleTarget
    toInterface String
    Egress interface from route lookup
    name string
    activeActiveDeviceBinding string
    Device binding configuration in HA Active-Active mode
    auditCommentVersion string
    Version trigger for audit comments. Change this value to send the auditcommentwo to PAN-OS. This attribute is not sent to PAN-OS itself, but serves as a trigger to detect when the audit comment should be updated.
    auditCommentWo string
    Write-only audit comment for this rule. This value is sent to PAN-OS but not read back. Changes are only sent when auditcommentversion is modified. Each time auditcommentversion changes, this comment is added to the audit history with a timestamp.
    description string
    destinationAddresses string[]
    destinationTranslation NatPolicyRuleDestinationTranslation
    destinationZones string[]
    disabled boolean
    Disable the rule
    dynamicDestinationTranslation NatPolicyRuleDynamicDestinationTranslation
    groupTag string
    natType string
    type of nat
    service string
    sourceAddresses string[]
    sourceTranslation NatPolicyRuleSourceTranslation
    sourceZones string[]
    tags string[]
    target NatPolicyRuleTarget
    toInterface string
    Egress interface from route lookup
    name str
    active_active_device_binding str
    Device binding configuration in HA Active-Active mode
    audit_comment_version str
    Version trigger for audit comments. Change this value to send the auditcommentwo to PAN-OS. This attribute is not sent to PAN-OS itself, but serves as a trigger to detect when the audit comment should be updated.
    audit_comment_wo str
    Write-only audit comment for this rule. This value is sent to PAN-OS but not read back. Changes are only sent when auditcommentversion is modified. Each time auditcommentversion changes, this comment is added to the audit history with a timestamp.
    description str
    destination_addresses Sequence[str]
    destination_translation NatPolicyRuleDestinationTranslation
    destination_zones Sequence[str]
    disabled bool
    Disable the rule
    dynamic_destination_translation NatPolicyRuleDynamicDestinationTranslation
    group_tag str
    nat_type str
    type of nat
    service str
    source_addresses Sequence[str]
    source_translation NatPolicyRuleSourceTranslation
    source_zones Sequence[str]
    tags Sequence[str]
    target NatPolicyRuleTarget
    to_interface str
    Egress interface from route lookup
    name String
    activeActiveDeviceBinding String
    Device binding configuration in HA Active-Active mode
    auditCommentVersion String
    Version trigger for audit comments. Change this value to send the auditcommentwo to PAN-OS. This attribute is not sent to PAN-OS itself, but serves as a trigger to detect when the audit comment should be updated.
    auditCommentWo String
    Write-only audit comment for this rule. This value is sent to PAN-OS but not read back. Changes are only sent when auditcommentversion is modified. Each time auditcommentversion changes, this comment is added to the audit history with a timestamp.
    description String
    destinationAddresses List<String>
    destinationTranslation Property Map
    destinationZones List<String>
    disabled Boolean
    Disable the rule
    dynamicDestinationTranslation Property Map
    groupTag 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

    NatPolicyRuleDestinationTranslation, NatPolicyRuleDestinationTranslationArgs

    NatPolicyRuleDestinationTranslationDnsRewrite, NatPolicyRuleDestinationTranslationDnsRewriteArgs

    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

    NatPolicyRuleDynamicDestinationTranslation, NatPolicyRuleDynamicDestinationTranslationArgs

    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

    NatPolicyRuleSourceTranslation, NatPolicyRuleSourceTranslationArgs

    NatPolicyRuleSourceTranslationDynamicIp, NatPolicyRuleSourceTranslationDynamicIpArgs

    NatPolicyRuleSourceTranslationDynamicIpAndPort, NatPolicyRuleSourceTranslationDynamicIpAndPortArgs

    NatPolicyRuleSourceTranslationDynamicIpAndPortInterfaceAddress, NatPolicyRuleSourceTranslationDynamicIpAndPortInterfaceAddressArgs

    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

    NatPolicyRuleSourceTranslationDynamicIpFallback, NatPolicyRuleSourceTranslationDynamicIpFallbackArgs

    NatPolicyRuleSourceTranslationDynamicIpFallbackInterfaceAddress, NatPolicyRuleSourceTranslationDynamicIpFallbackInterfaceAddressArgs

    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

    NatPolicyRuleSourceTranslationStaticIp, NatPolicyRuleSourceTranslationStaticIpArgs

    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

    NatPolicyRuleTarget, NatPolicyRuleTargetArgs

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

    NatPolicyRuleTargetDevice, NatPolicyRuleTargetDeviceArgs

    NatPolicyRuleTargetDeviceVsy, NatPolicyRuleTargetDeviceVsyArgs

    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.
    Viewing docs for panos 2.0.11
    published on Tuesday, Apr 28, 2026 by paloaltonetworks
      Try Pulumi Cloud free. Your team will thank you.