We recommend using Azure Native.
azure.network.FirewallPolicy
Explore with Pulumi AI
Manages a Firewall Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleFirewallPolicy = new azure.network.FirewallPolicy("example", {
    name: "example-policy",
    resourceGroupName: example.name,
    location: example.location,
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_firewall_policy = azure.network.FirewallPolicy("example",
    name="example-policy",
    resource_group_name=example.name,
    location=example.location)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = network.NewFirewallPolicy(ctx, "example", &network.FirewallPolicyArgs{
			Name:              pulumi.String("example-policy"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var exampleFirewallPolicy = new Azure.Network.FirewallPolicy("example", new()
    {
        Name = "example-policy",
        ResourceGroupName = example.Name,
        Location = example.Location,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.network.FirewallPolicy;
import com.pulumi.azure.network.FirewallPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var exampleFirewallPolicy = new FirewallPolicy("exampleFirewallPolicy", FirewallPolicyArgs.builder()
            .name("example-policy")
            .resourceGroupName(example.name())
            .location(example.location())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleFirewallPolicy:
    type: azure:network:FirewallPolicy
    name: example
    properties:
      name: example-policy
      resourceGroupName: ${example.name}
      location: ${example.location}
Create FirewallPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FirewallPolicy(name: string, args: FirewallPolicyArgs, opts?: CustomResourceOptions);@overload
def FirewallPolicy(resource_name: str,
                   args: FirewallPolicyArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def FirewallPolicy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   resource_group_name: Optional[str] = None,
                   name: Optional[str] = None,
                   location: Optional[str] = None,
                   explicit_proxy: Optional[FirewallPolicyExplicitProxyArgs] = None,
                   identity: Optional[FirewallPolicyIdentityArgs] = None,
                   private_ip_ranges: Optional[Sequence[str]] = None,
                   intrusion_detection: Optional[FirewallPolicyIntrusionDetectionArgs] = None,
                   dns: Optional[FirewallPolicyDnsArgs] = None,
                   auto_learn_private_ranges_enabled: Optional[bool] = None,
                   insights: Optional[FirewallPolicyInsightsArgs] = None,
                   base_policy_id: Optional[str] = None,
                   sku: Optional[str] = None,
                   sql_redirect_allowed: Optional[bool] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   threat_intelligence_allowlist: Optional[FirewallPolicyThreatIntelligenceAllowlistArgs] = None,
                   threat_intelligence_mode: Optional[str] = None,
                   tls_certificate: Optional[FirewallPolicyTlsCertificateArgs] = None)func NewFirewallPolicy(ctx *Context, name string, args FirewallPolicyArgs, opts ...ResourceOption) (*FirewallPolicy, error)public FirewallPolicy(string name, FirewallPolicyArgs args, CustomResourceOptions? opts = null)
public FirewallPolicy(String name, FirewallPolicyArgs args)
public FirewallPolicy(String name, FirewallPolicyArgs args, CustomResourceOptions options)
type: azure:network:FirewallPolicy
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 FirewallPolicyArgs
- 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 FirewallPolicyArgs
- 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 FirewallPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirewallPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FirewallPolicyArgs
- 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 azureFirewallPolicyResource = new Azure.Network.FirewallPolicy("azureFirewallPolicyResource", new()
{
    ResourceGroupName = "string",
    Name = "string",
    Location = "string",
    ExplicitProxy = new Azure.Network.Inputs.FirewallPolicyExplicitProxyArgs
    {
        EnablePacFile = false,
        Enabled = false,
        HttpPort = 0,
        HttpsPort = 0,
        PacFile = "string",
        PacFilePort = 0,
    },
    Identity = new Azure.Network.Inputs.FirewallPolicyIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    PrivateIpRanges = new[]
    {
        "string",
    },
    IntrusionDetection = new Azure.Network.Inputs.FirewallPolicyIntrusionDetectionArgs
    {
        Mode = "string",
        PrivateRanges = new[]
        {
            "string",
        },
        SignatureOverrides = new[]
        {
            new Azure.Network.Inputs.FirewallPolicyIntrusionDetectionSignatureOverrideArgs
            {
                Id = "string",
                State = "string",
            },
        },
        TrafficBypasses = new[]
        {
            new Azure.Network.Inputs.FirewallPolicyIntrusionDetectionTrafficBypassArgs
            {
                Name = "string",
                Protocol = "string",
                Description = "string",
                DestinationAddresses = new[]
                {
                    "string",
                },
                DestinationIpGroups = new[]
                {
                    "string",
                },
                DestinationPorts = new[]
                {
                    "string",
                },
                SourceAddresses = new[]
                {
                    "string",
                },
                SourceIpGroups = new[]
                {
                    "string",
                },
            },
        },
    },
    Dns = new Azure.Network.Inputs.FirewallPolicyDnsArgs
    {
        ProxyEnabled = false,
        Servers = new[]
        {
            "string",
        },
    },
    AutoLearnPrivateRangesEnabled = false,
    Insights = new Azure.Network.Inputs.FirewallPolicyInsightsArgs
    {
        DefaultLogAnalyticsWorkspaceId = "string",
        Enabled = false,
        LogAnalyticsWorkspaces = new[]
        {
            new Azure.Network.Inputs.FirewallPolicyInsightsLogAnalyticsWorkspaceArgs
            {
                FirewallLocation = "string",
                Id = "string",
            },
        },
        RetentionInDays = 0,
    },
    BasePolicyId = "string",
    Sku = "string",
    SqlRedirectAllowed = false,
    Tags = 
    {
        { "string", "string" },
    },
    ThreatIntelligenceAllowlist = new Azure.Network.Inputs.FirewallPolicyThreatIntelligenceAllowlistArgs
    {
        Fqdns = new[]
        {
            "string",
        },
        IpAddresses = new[]
        {
            "string",
        },
    },
    ThreatIntelligenceMode = "string",
    TlsCertificate = new Azure.Network.Inputs.FirewallPolicyTlsCertificateArgs
    {
        KeyVaultSecretId = "string",
        Name = "string",
    },
});
example, err := network.NewFirewallPolicy(ctx, "azureFirewallPolicyResource", &network.FirewallPolicyArgs{
	ResourceGroupName: pulumi.String("string"),
	Name:              pulumi.String("string"),
	Location:          pulumi.String("string"),
	ExplicitProxy: &network.FirewallPolicyExplicitProxyArgs{
		EnablePacFile: pulumi.Bool(false),
		Enabled:       pulumi.Bool(false),
		HttpPort:      pulumi.Int(0),
		HttpsPort:     pulumi.Int(0),
		PacFile:       pulumi.String("string"),
		PacFilePort:   pulumi.Int(0),
	},
	Identity: &network.FirewallPolicyIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	PrivateIpRanges: pulumi.StringArray{
		pulumi.String("string"),
	},
	IntrusionDetection: &network.FirewallPolicyIntrusionDetectionArgs{
		Mode: pulumi.String("string"),
		PrivateRanges: pulumi.StringArray{
			pulumi.String("string"),
		},
		SignatureOverrides: network.FirewallPolicyIntrusionDetectionSignatureOverrideArray{
			&network.FirewallPolicyIntrusionDetectionSignatureOverrideArgs{
				Id:    pulumi.String("string"),
				State: pulumi.String("string"),
			},
		},
		TrafficBypasses: network.FirewallPolicyIntrusionDetectionTrafficBypassArray{
			&network.FirewallPolicyIntrusionDetectionTrafficBypassArgs{
				Name:        pulumi.String("string"),
				Protocol:    pulumi.String("string"),
				Description: pulumi.String("string"),
				DestinationAddresses: pulumi.StringArray{
					pulumi.String("string"),
				},
				DestinationIpGroups: pulumi.StringArray{
					pulumi.String("string"),
				},
				DestinationPorts: pulumi.StringArray{
					pulumi.String("string"),
				},
				SourceAddresses: pulumi.StringArray{
					pulumi.String("string"),
				},
				SourceIpGroups: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
	},
	Dns: &network.FirewallPolicyDnsArgs{
		ProxyEnabled: pulumi.Bool(false),
		Servers: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	AutoLearnPrivateRangesEnabled: pulumi.Bool(false),
	Insights: &network.FirewallPolicyInsightsArgs{
		DefaultLogAnalyticsWorkspaceId: pulumi.String("string"),
		Enabled:                        pulumi.Bool(false),
		LogAnalyticsWorkspaces: network.FirewallPolicyInsightsLogAnalyticsWorkspaceArray{
			&network.FirewallPolicyInsightsLogAnalyticsWorkspaceArgs{
				FirewallLocation: pulumi.String("string"),
				Id:               pulumi.String("string"),
			},
		},
		RetentionInDays: pulumi.Int(0),
	},
	BasePolicyId:       pulumi.String("string"),
	Sku:                pulumi.String("string"),
	SqlRedirectAllowed: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ThreatIntelligenceAllowlist: &network.FirewallPolicyThreatIntelligenceAllowlistArgs{
		Fqdns: pulumi.StringArray{
			pulumi.String("string"),
		},
		IpAddresses: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	ThreatIntelligenceMode: pulumi.String("string"),
	TlsCertificate: &network.FirewallPolicyTlsCertificateArgs{
		KeyVaultSecretId: pulumi.String("string"),
		Name:             pulumi.String("string"),
	},
})
var azureFirewallPolicyResource = new FirewallPolicy("azureFirewallPolicyResource", FirewallPolicyArgs.builder()
    .resourceGroupName("string")
    .name("string")
    .location("string")
    .explicitProxy(FirewallPolicyExplicitProxyArgs.builder()
        .enablePacFile(false)
        .enabled(false)
        .httpPort(0)
        .httpsPort(0)
        .pacFile("string")
        .pacFilePort(0)
        .build())
    .identity(FirewallPolicyIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .privateIpRanges("string")
    .intrusionDetection(FirewallPolicyIntrusionDetectionArgs.builder()
        .mode("string")
        .privateRanges("string")
        .signatureOverrides(FirewallPolicyIntrusionDetectionSignatureOverrideArgs.builder()
            .id("string")
            .state("string")
            .build())
        .trafficBypasses(FirewallPolicyIntrusionDetectionTrafficBypassArgs.builder()
            .name("string")
            .protocol("string")
            .description("string")
            .destinationAddresses("string")
            .destinationIpGroups("string")
            .destinationPorts("string")
            .sourceAddresses("string")
            .sourceIpGroups("string")
            .build())
        .build())
    .dns(FirewallPolicyDnsArgs.builder()
        .proxyEnabled(false)
        .servers("string")
        .build())
    .autoLearnPrivateRangesEnabled(false)
    .insights(FirewallPolicyInsightsArgs.builder()
        .defaultLogAnalyticsWorkspaceId("string")
        .enabled(false)
        .logAnalyticsWorkspaces(FirewallPolicyInsightsLogAnalyticsWorkspaceArgs.builder()
            .firewallLocation("string")
            .id("string")
            .build())
        .retentionInDays(0)
        .build())
    .basePolicyId("string")
    .sku("string")
    .sqlRedirectAllowed(false)
    .tags(Map.of("string", "string"))
    .threatIntelligenceAllowlist(FirewallPolicyThreatIntelligenceAllowlistArgs.builder()
        .fqdns("string")
        .ipAddresses("string")
        .build())
    .threatIntelligenceMode("string")
    .tlsCertificate(FirewallPolicyTlsCertificateArgs.builder()
        .keyVaultSecretId("string")
        .name("string")
        .build())
    .build());
azure_firewall_policy_resource = azure.network.FirewallPolicy("azureFirewallPolicyResource",
    resource_group_name="string",
    name="string",
    location="string",
    explicit_proxy={
        "enable_pac_file": False,
        "enabled": False,
        "http_port": 0,
        "https_port": 0,
        "pac_file": "string",
        "pac_file_port": 0,
    },
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    private_ip_ranges=["string"],
    intrusion_detection={
        "mode": "string",
        "private_ranges": ["string"],
        "signature_overrides": [{
            "id": "string",
            "state": "string",
        }],
        "traffic_bypasses": [{
            "name": "string",
            "protocol": "string",
            "description": "string",
            "destination_addresses": ["string"],
            "destination_ip_groups": ["string"],
            "destination_ports": ["string"],
            "source_addresses": ["string"],
            "source_ip_groups": ["string"],
        }],
    },
    dns={
        "proxy_enabled": False,
        "servers": ["string"],
    },
    auto_learn_private_ranges_enabled=False,
    insights={
        "default_log_analytics_workspace_id": "string",
        "enabled": False,
        "log_analytics_workspaces": [{
            "firewall_location": "string",
            "id": "string",
        }],
        "retention_in_days": 0,
    },
    base_policy_id="string",
    sku="string",
    sql_redirect_allowed=False,
    tags={
        "string": "string",
    },
    threat_intelligence_allowlist={
        "fqdns": ["string"],
        "ip_addresses": ["string"],
    },
    threat_intelligence_mode="string",
    tls_certificate={
        "key_vault_secret_id": "string",
        "name": "string",
    })
const azureFirewallPolicyResource = new azure.network.FirewallPolicy("azureFirewallPolicyResource", {
    resourceGroupName: "string",
    name: "string",
    location: "string",
    explicitProxy: {
        enablePacFile: false,
        enabled: false,
        httpPort: 0,
        httpsPort: 0,
        pacFile: "string",
        pacFilePort: 0,
    },
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    privateIpRanges: ["string"],
    intrusionDetection: {
        mode: "string",
        privateRanges: ["string"],
        signatureOverrides: [{
            id: "string",
            state: "string",
        }],
        trafficBypasses: [{
            name: "string",
            protocol: "string",
            description: "string",
            destinationAddresses: ["string"],
            destinationIpGroups: ["string"],
            destinationPorts: ["string"],
            sourceAddresses: ["string"],
            sourceIpGroups: ["string"],
        }],
    },
    dns: {
        proxyEnabled: false,
        servers: ["string"],
    },
    autoLearnPrivateRangesEnabled: false,
    insights: {
        defaultLogAnalyticsWorkspaceId: "string",
        enabled: false,
        logAnalyticsWorkspaces: [{
            firewallLocation: "string",
            id: "string",
        }],
        retentionInDays: 0,
    },
    basePolicyId: "string",
    sku: "string",
    sqlRedirectAllowed: false,
    tags: {
        string: "string",
    },
    threatIntelligenceAllowlist: {
        fqdns: ["string"],
        ipAddresses: ["string"],
    },
    threatIntelligenceMode: "string",
    tlsCertificate: {
        keyVaultSecretId: "string",
        name: "string",
    },
});
type: azure:network:FirewallPolicy
properties:
    autoLearnPrivateRangesEnabled: false
    basePolicyId: string
    dns:
        proxyEnabled: false
        servers:
            - string
    explicitProxy:
        enablePacFile: false
        enabled: false
        httpPort: 0
        httpsPort: 0
        pacFile: string
        pacFilePort: 0
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    insights:
        defaultLogAnalyticsWorkspaceId: string
        enabled: false
        logAnalyticsWorkspaces:
            - firewallLocation: string
              id: string
        retentionInDays: 0
    intrusionDetection:
        mode: string
        privateRanges:
            - string
        signatureOverrides:
            - id: string
              state: string
        trafficBypasses:
            - description: string
              destinationAddresses:
                - string
              destinationIpGroups:
                - string
              destinationPorts:
                - string
              name: string
              protocol: string
              sourceAddresses:
                - string
              sourceIpGroups:
                - string
    location: string
    name: string
    privateIpRanges:
        - string
    resourceGroupName: string
    sku: string
    sqlRedirectAllowed: false
    tags:
        string: string
    threatIntelligenceAllowlist:
        fqdns:
            - string
        ipAddresses:
            - string
    threatIntelligenceMode: string
    tlsCertificate:
        keyVaultSecretId: string
        name: string
FirewallPolicy 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 FirewallPolicy resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- AutoLearn boolPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- BasePolicy stringId 
- The ID of the base Firewall Policy.
- Dns
FirewallPolicy Dns 
- A dnsblock as defined below.
- ExplicitProxy FirewallPolicy Explicit Proxy 
- A explicit_proxyblock as defined below.
- Identity
FirewallPolicy Identity 
- An identityblock as defined below.
- Insights
FirewallPolicy Insights 
- An insightsblock as defined below.
- IntrusionDetection FirewallPolicy Intrusion Detection 
- A intrusion_detectionblock as defined below.
- Location string
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- Name string
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- PrivateIp List<string>Ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- Sku string
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- SqlRedirect boolAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Firewall Policy.
- ThreatIntelligence FirewallAllowlist Policy Threat Intelligence Allowlist 
- A threat_intelligence_allowlistblock as defined below.
- ThreatIntelligence stringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- TlsCertificate FirewallPolicy Tls Certificate 
- A tls_certificateblock as defined below.
- ResourceGroup stringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- AutoLearn boolPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- BasePolicy stringId 
- The ID of the base Firewall Policy.
- Dns
FirewallPolicy Dns Args 
- A dnsblock as defined below.
- ExplicitProxy FirewallPolicy Explicit Proxy Args 
- A explicit_proxyblock as defined below.
- Identity
FirewallPolicy Identity Args 
- An identityblock as defined below.
- Insights
FirewallPolicy Insights Args 
- An insightsblock as defined below.
- IntrusionDetection FirewallPolicy Intrusion Detection Args 
- A intrusion_detectionblock as defined below.
- Location string
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- Name string
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- PrivateIp []stringRanges 
- A list of private IP ranges to which traffic will not be SNAT.
- Sku string
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- SqlRedirect boolAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- map[string]string
- A mapping of tags which should be assigned to the Firewall Policy.
- ThreatIntelligence FirewallAllowlist Policy Threat Intelligence Allowlist Args 
- A threat_intelligence_allowlistblock as defined below.
- ThreatIntelligence stringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- TlsCertificate FirewallPolicy Tls Certificate Args 
- A tls_certificateblock as defined below.
- resourceGroup StringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- autoLearn BooleanPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- basePolicy StringId 
- The ID of the base Firewall Policy.
- dns
FirewallPolicy Dns 
- A dnsblock as defined below.
- explicitProxy FirewallPolicy Explicit Proxy 
- A explicit_proxyblock as defined below.
- identity
FirewallPolicy Identity 
- An identityblock as defined below.
- insights
FirewallPolicy Insights 
- An insightsblock as defined below.
- intrusionDetection FirewallPolicy Intrusion Detection 
- A intrusion_detectionblock as defined below.
- location String
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- name String
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- privateIp List<String>Ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- sku String
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- sqlRedirect BooleanAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- Map<String,String>
- A mapping of tags which should be assigned to the Firewall Policy.
- threatIntelligence FirewallAllowlist Policy Threat Intelligence Allowlist 
- A threat_intelligence_allowlistblock as defined below.
- threatIntelligence StringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- tlsCertificate FirewallPolicy Tls Certificate 
- A tls_certificateblock as defined below.
- resourceGroup stringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- autoLearn booleanPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- basePolicy stringId 
- The ID of the base Firewall Policy.
- dns
FirewallPolicy Dns 
- A dnsblock as defined below.
- explicitProxy FirewallPolicy Explicit Proxy 
- A explicit_proxyblock as defined below.
- identity
FirewallPolicy Identity 
- An identityblock as defined below.
- insights
FirewallPolicy Insights 
- An insightsblock as defined below.
- intrusionDetection FirewallPolicy Intrusion Detection 
- A intrusion_detectionblock as defined below.
- location string
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- name string
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- privateIp string[]Ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- sku string
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- sqlRedirect booleanAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Firewall Policy.
- threatIntelligence FirewallAllowlist Policy Threat Intelligence Allowlist 
- A threat_intelligence_allowlistblock as defined below.
- threatIntelligence stringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- tlsCertificate FirewallPolicy Tls Certificate 
- A tls_certificateblock as defined below.
- resource_group_ strname 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- auto_learn_ boolprivate_ ranges_ enabled 
- Whether enable auto learn private ip range.
- base_policy_ strid 
- The ID of the base Firewall Policy.
- dns
FirewallPolicy Dns Args 
- A dnsblock as defined below.
- explicit_proxy FirewallPolicy Explicit Proxy Args 
- A explicit_proxyblock as defined below.
- identity
FirewallPolicy Identity Args 
- An identityblock as defined below.
- insights
FirewallPolicy Insights Args 
- An insightsblock as defined below.
- intrusion_detection FirewallPolicy Intrusion Detection Args 
- A intrusion_detectionblock as defined below.
- location str
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- name str
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- private_ip_ Sequence[str]ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- sku str
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- sql_redirect_ boolallowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Firewall Policy.
- threat_intelligence_ Firewallallowlist Policy Threat Intelligence Allowlist Args 
- A threat_intelligence_allowlistblock as defined below.
- threat_intelligence_ strmode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- tls_certificate FirewallPolicy Tls Certificate Args 
- A tls_certificateblock as defined below.
- resourceGroup StringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- autoLearn BooleanPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- basePolicy StringId 
- The ID of the base Firewall Policy.
- dns Property Map
- A dnsblock as defined below.
- explicitProxy Property Map
- A explicit_proxyblock as defined below.
- identity Property Map
- An identityblock as defined below.
- insights Property Map
- An insightsblock as defined below.
- intrusionDetection Property Map
- A intrusion_detectionblock as defined below.
- location String
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- name String
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- privateIp List<String>Ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- sku String
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- sqlRedirect BooleanAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- Map<String>
- A mapping of tags which should be assigned to the Firewall Policy.
- threatIntelligence Property MapAllowlist 
- A threat_intelligence_allowlistblock as defined below.
- threatIntelligence StringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- tlsCertificate Property Map
- A tls_certificateblock as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the FirewallPolicy resource produces the following output properties:
- ChildPolicies List<string>
- A list of reference to child Firewall Policies of this Firewall Policy.
- Firewalls List<string>
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- Id string
- The provider-assigned unique ID for this managed resource.
- RuleCollection List<string>Groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- ChildPolicies []string
- A list of reference to child Firewall Policies of this Firewall Policy.
- Firewalls []string
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- Id string
- The provider-assigned unique ID for this managed resource.
- RuleCollection []stringGroups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- childPolicies List<String>
- A list of reference to child Firewall Policies of this Firewall Policy.
- firewalls List<String>
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- id String
- The provider-assigned unique ID for this managed resource.
- ruleCollection List<String>Groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- childPolicies string[]
- A list of reference to child Firewall Policies of this Firewall Policy.
- firewalls string[]
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- id string
- The provider-assigned unique ID for this managed resource.
- ruleCollection string[]Groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- child_policies Sequence[str]
- A list of reference to child Firewall Policies of this Firewall Policy.
- firewalls Sequence[str]
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- id str
- The provider-assigned unique ID for this managed resource.
- rule_collection_ Sequence[str]groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- childPolicies List<String>
- A list of reference to child Firewall Policies of this Firewall Policy.
- firewalls List<String>
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- id String
- The provider-assigned unique ID for this managed resource.
- ruleCollection List<String>Groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
Look up Existing FirewallPolicy Resource
Get an existing FirewallPolicy 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?: FirewallPolicyState, opts?: CustomResourceOptions): FirewallPolicy@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_learn_private_ranges_enabled: Optional[bool] = None,
        base_policy_id: Optional[str] = None,
        child_policies: Optional[Sequence[str]] = None,
        dns: Optional[FirewallPolicyDnsArgs] = None,
        explicit_proxy: Optional[FirewallPolicyExplicitProxyArgs] = None,
        firewalls: Optional[Sequence[str]] = None,
        identity: Optional[FirewallPolicyIdentityArgs] = None,
        insights: Optional[FirewallPolicyInsightsArgs] = None,
        intrusion_detection: Optional[FirewallPolicyIntrusionDetectionArgs] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        private_ip_ranges: Optional[Sequence[str]] = None,
        resource_group_name: Optional[str] = None,
        rule_collection_groups: Optional[Sequence[str]] = None,
        sku: Optional[str] = None,
        sql_redirect_allowed: Optional[bool] = None,
        tags: Optional[Mapping[str, str]] = None,
        threat_intelligence_allowlist: Optional[FirewallPolicyThreatIntelligenceAllowlistArgs] = None,
        threat_intelligence_mode: Optional[str] = None,
        tls_certificate: Optional[FirewallPolicyTlsCertificateArgs] = None) -> FirewallPolicyfunc GetFirewallPolicy(ctx *Context, name string, id IDInput, state *FirewallPolicyState, opts ...ResourceOption) (*FirewallPolicy, error)public static FirewallPolicy Get(string name, Input<string> id, FirewallPolicyState? state, CustomResourceOptions? opts = null)public static FirewallPolicy get(String name, Output<String> id, FirewallPolicyState state, CustomResourceOptions options)resources:  _:    type: azure:network:FirewallPolicy    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.
- AutoLearn boolPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- BasePolicy stringId 
- The ID of the base Firewall Policy.
- ChildPolicies List<string>
- A list of reference to child Firewall Policies of this Firewall Policy.
- Dns
FirewallPolicy Dns 
- A dnsblock as defined below.
- ExplicitProxy FirewallPolicy Explicit Proxy 
- A explicit_proxyblock as defined below.
- Firewalls List<string>
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- Identity
FirewallPolicy Identity 
- An identityblock as defined below.
- Insights
FirewallPolicy Insights 
- An insightsblock as defined below.
- IntrusionDetection FirewallPolicy Intrusion Detection 
- A intrusion_detectionblock as defined below.
- Location string
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- Name string
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- PrivateIp List<string>Ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- ResourceGroup stringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- RuleCollection List<string>Groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- Sku string
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- SqlRedirect boolAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Firewall Policy.
- ThreatIntelligence FirewallAllowlist Policy Threat Intelligence Allowlist 
- A threat_intelligence_allowlistblock as defined below.
- ThreatIntelligence stringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- TlsCertificate FirewallPolicy Tls Certificate 
- A tls_certificateblock as defined below.
- AutoLearn boolPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- BasePolicy stringId 
- The ID of the base Firewall Policy.
- ChildPolicies []string
- A list of reference to child Firewall Policies of this Firewall Policy.
- Dns
FirewallPolicy Dns Args 
- A dnsblock as defined below.
- ExplicitProxy FirewallPolicy Explicit Proxy Args 
- A explicit_proxyblock as defined below.
- Firewalls []string
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- Identity
FirewallPolicy Identity Args 
- An identityblock as defined below.
- Insights
FirewallPolicy Insights Args 
- An insightsblock as defined below.
- IntrusionDetection FirewallPolicy Intrusion Detection Args 
- A intrusion_detectionblock as defined below.
- Location string
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- Name string
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- PrivateIp []stringRanges 
- A list of private IP ranges to which traffic will not be SNAT.
- ResourceGroup stringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- RuleCollection []stringGroups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- Sku string
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- SqlRedirect boolAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- map[string]string
- A mapping of tags which should be assigned to the Firewall Policy.
- ThreatIntelligence FirewallAllowlist Policy Threat Intelligence Allowlist Args 
- A threat_intelligence_allowlistblock as defined below.
- ThreatIntelligence stringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- TlsCertificate FirewallPolicy Tls Certificate Args 
- A tls_certificateblock as defined below.
- autoLearn BooleanPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- basePolicy StringId 
- The ID of the base Firewall Policy.
- childPolicies List<String>
- A list of reference to child Firewall Policies of this Firewall Policy.
- dns
FirewallPolicy Dns 
- A dnsblock as defined below.
- explicitProxy FirewallPolicy Explicit Proxy 
- A explicit_proxyblock as defined below.
- firewalls List<String>
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- identity
FirewallPolicy Identity 
- An identityblock as defined below.
- insights
FirewallPolicy Insights 
- An insightsblock as defined below.
- intrusionDetection FirewallPolicy Intrusion Detection 
- A intrusion_detectionblock as defined below.
- location String
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- name String
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- privateIp List<String>Ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- resourceGroup StringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- ruleCollection List<String>Groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- sku String
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- sqlRedirect BooleanAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- Map<String,String>
- A mapping of tags which should be assigned to the Firewall Policy.
- threatIntelligence FirewallAllowlist Policy Threat Intelligence Allowlist 
- A threat_intelligence_allowlistblock as defined below.
- threatIntelligence StringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- tlsCertificate FirewallPolicy Tls Certificate 
- A tls_certificateblock as defined below.
- autoLearn booleanPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- basePolicy stringId 
- The ID of the base Firewall Policy.
- childPolicies string[]
- A list of reference to child Firewall Policies of this Firewall Policy.
- dns
FirewallPolicy Dns 
- A dnsblock as defined below.
- explicitProxy FirewallPolicy Explicit Proxy 
- A explicit_proxyblock as defined below.
- firewalls string[]
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- identity
FirewallPolicy Identity 
- An identityblock as defined below.
- insights
FirewallPolicy Insights 
- An insightsblock as defined below.
- intrusionDetection FirewallPolicy Intrusion Detection 
- A intrusion_detectionblock as defined below.
- location string
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- name string
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- privateIp string[]Ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- resourceGroup stringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- ruleCollection string[]Groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- sku string
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- sqlRedirect booleanAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Firewall Policy.
- threatIntelligence FirewallAllowlist Policy Threat Intelligence Allowlist 
- A threat_intelligence_allowlistblock as defined below.
- threatIntelligence stringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- tlsCertificate FirewallPolicy Tls Certificate 
- A tls_certificateblock as defined below.
- auto_learn_ boolprivate_ ranges_ enabled 
- Whether enable auto learn private ip range.
- base_policy_ strid 
- The ID of the base Firewall Policy.
- child_policies Sequence[str]
- A list of reference to child Firewall Policies of this Firewall Policy.
- dns
FirewallPolicy Dns Args 
- A dnsblock as defined below.
- explicit_proxy FirewallPolicy Explicit Proxy Args 
- A explicit_proxyblock as defined below.
- firewalls Sequence[str]
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- identity
FirewallPolicy Identity Args 
- An identityblock as defined below.
- insights
FirewallPolicy Insights Args 
- An insightsblock as defined below.
- intrusion_detection FirewallPolicy Intrusion Detection Args 
- A intrusion_detectionblock as defined below.
- location str
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- name str
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- private_ip_ Sequence[str]ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- resource_group_ strname 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- rule_collection_ Sequence[str]groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- sku str
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- sql_redirect_ boolallowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Firewall Policy.
- threat_intelligence_ Firewallallowlist Policy Threat Intelligence Allowlist Args 
- A threat_intelligence_allowlistblock as defined below.
- threat_intelligence_ strmode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- tls_certificate FirewallPolicy Tls Certificate Args 
- A tls_certificateblock as defined below.
- autoLearn BooleanPrivate Ranges Enabled 
- Whether enable auto learn private ip range.
- basePolicy StringId 
- The ID of the base Firewall Policy.
- childPolicies List<String>
- A list of reference to child Firewall Policies of this Firewall Policy.
- dns Property Map
- A dnsblock as defined below.
- explicitProxy Property Map
- A explicit_proxyblock as defined below.
- firewalls List<String>
- A list of references to Azure Firewalls that this Firewall Policy is associated with.
- identity Property Map
- An identityblock as defined below.
- insights Property Map
- An insightsblock as defined below.
- intrusionDetection Property Map
- A intrusion_detectionblock as defined below.
- location String
- The Azure Region where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- name String
- The name which should be used for this Firewall Policy. Changing this forces a new Firewall Policy to be created.
- privateIp List<String>Ranges 
- A list of private IP ranges to which traffic will not be SNAT.
- resourceGroup StringName 
- The name of the Resource Group where the Firewall Policy should exist. Changing this forces a new Firewall Policy to be created.
- ruleCollection List<String>Groups 
- A list of references to Firewall Policy Rule Collection Groups that belongs to this Firewall Policy.
- sku String
- The SKU Tier of the Firewall Policy. Possible values are Standard,PremiumandBasic. Defaults toStandard. Changing this forces a new Firewall Policy to be created.
- sqlRedirect BooleanAllowed 
- Whether SQL Redirect traffic filtering is allowed. Enabling this flag requires no rule using ports between 11000-11999.
- Map<String>
- A mapping of tags which should be assigned to the Firewall Policy.
- threatIntelligence Property MapAllowlist 
- A threat_intelligence_allowlistblock as defined below.
- threatIntelligence StringMode 
- The operation mode for Threat Intelligence. Possible values are Alert,DenyandOff. Defaults toAlert.
- tlsCertificate Property Map
- A tls_certificateblock as defined below.
Supporting Types
FirewallPolicyDns, FirewallPolicyDnsArgs      
- ProxyEnabled bool
- Whether to enable DNS proxy on Firewalls attached to this Firewall Policy? Defaults to false.
- Servers List<string>
- A list of custom DNS servers' IP addresses.
- ProxyEnabled bool
- Whether to enable DNS proxy on Firewalls attached to this Firewall Policy? Defaults to false.
- Servers []string
- A list of custom DNS servers' IP addresses.
- proxyEnabled Boolean
- Whether to enable DNS proxy on Firewalls attached to this Firewall Policy? Defaults to false.
- servers List<String>
- A list of custom DNS servers' IP addresses.
- proxyEnabled boolean
- Whether to enable DNS proxy on Firewalls attached to this Firewall Policy? Defaults to false.
- servers string[]
- A list of custom DNS servers' IP addresses.
- proxy_enabled bool
- Whether to enable DNS proxy on Firewalls attached to this Firewall Policy? Defaults to false.
- servers Sequence[str]
- A list of custom DNS servers' IP addresses.
- proxyEnabled Boolean
- Whether to enable DNS proxy on Firewalls attached to this Firewall Policy? Defaults to false.
- servers List<String>
- A list of custom DNS servers' IP addresses.
FirewallPolicyExplicitProxy, FirewallPolicyExplicitProxyArgs        
- EnablePac boolFile 
- Whether the pac file port and url need to be provided.
- Enabled bool
- Whether the explicit proxy is enabled for this Firewall Policy.
- HttpPort int
- The port number for explicit http protocol.
- HttpsPort int
- The port number for explicit proxy https protocol.
- PacFile string
- Specifies a SAS URL for PAC file.
- PacFile intPort 
- Specifies a port number for firewall to serve PAC file.
- EnablePac boolFile 
- Whether the pac file port and url need to be provided.
- Enabled bool
- Whether the explicit proxy is enabled for this Firewall Policy.
- HttpPort int
- The port number for explicit http protocol.
- HttpsPort int
- The port number for explicit proxy https protocol.
- PacFile string
- Specifies a SAS URL for PAC file.
- PacFile intPort 
- Specifies a port number for firewall to serve PAC file.
- enablePac BooleanFile 
- Whether the pac file port and url need to be provided.
- enabled Boolean
- Whether the explicit proxy is enabled for this Firewall Policy.
- httpPort Integer
- The port number for explicit http protocol.
- httpsPort Integer
- The port number for explicit proxy https protocol.
- pacFile String
- Specifies a SAS URL for PAC file.
- pacFile IntegerPort 
- Specifies a port number for firewall to serve PAC file.
- enablePac booleanFile 
- Whether the pac file port and url need to be provided.
- enabled boolean
- Whether the explicit proxy is enabled for this Firewall Policy.
- httpPort number
- The port number for explicit http protocol.
- httpsPort number
- The port number for explicit proxy https protocol.
- pacFile string
- Specifies a SAS URL for PAC file.
- pacFile numberPort 
- Specifies a port number for firewall to serve PAC file.
- enable_pac_ boolfile 
- Whether the pac file port and url need to be provided.
- enabled bool
- Whether the explicit proxy is enabled for this Firewall Policy.
- http_port int
- The port number for explicit http protocol.
- https_port int
- The port number for explicit proxy https protocol.
- pac_file str
- Specifies a SAS URL for PAC file.
- pac_file_ intport 
- Specifies a port number for firewall to serve PAC file.
- enablePac BooleanFile 
- Whether the pac file port and url need to be provided.
- enabled Boolean
- Whether the explicit proxy is enabled for this Firewall Policy.
- httpPort Number
- The port number for explicit http protocol.
- httpsPort Number
- The port number for explicit proxy https protocol.
- pacFile String
- Specifies a SAS URL for PAC file.
- pacFile NumberPort 
- Specifies a port number for firewall to serve PAC file.
FirewallPolicyIdentity, FirewallPolicyIdentityArgs      
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Firewall Policy. Only possible value is UserAssigned.
- IdentityIds List<string>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Firewall Policy.
- PrincipalId string
- TenantId string
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Firewall Policy. Only possible value is UserAssigned.
- IdentityIds []string
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Firewall Policy.
- PrincipalId string
- TenantId string
- type String
- Specifies the type of Managed Service Identity that should be configured on this Firewall Policy. Only possible value is UserAssigned.
- identityIds List<String>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Firewall Policy.
- principalId String
- tenantId String
- type string
- Specifies the type of Managed Service Identity that should be configured on this Firewall Policy. Only possible value is UserAssigned.
- identityIds string[]
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Firewall Policy.
- principalId string
- tenantId string
- type str
- Specifies the type of Managed Service Identity that should be configured on this Firewall Policy. Only possible value is UserAssigned.
- identity_ids Sequence[str]
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Firewall Policy.
- principal_id str
- tenant_id str
- type String
- Specifies the type of Managed Service Identity that should be configured on this Firewall Policy. Only possible value is UserAssigned.
- identityIds List<String>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Firewall Policy.
- principalId String
- tenantId String
FirewallPolicyInsights, FirewallPolicyInsightsArgs      
- DefaultLog stringAnalytics Workspace Id 
- The ID of the default Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to, when there is no location matches in the log_analytics_workspace.
- Enabled bool
- Whether the insights functionality is enabled for this Firewall Policy.
- LogAnalytics List<FirewallWorkspaces Policy Insights Log Analytics Workspace> 
- A list of log_analytics_workspaceblock as defined below.
- RetentionIn intDays 
- The log retention period in days.
- DefaultLog stringAnalytics Workspace Id 
- The ID of the default Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to, when there is no location matches in the log_analytics_workspace.
- Enabled bool
- Whether the insights functionality is enabled for this Firewall Policy.
- LogAnalytics []FirewallWorkspaces Policy Insights Log Analytics Workspace 
- A list of log_analytics_workspaceblock as defined below.
- RetentionIn intDays 
- The log retention period in days.
- defaultLog StringAnalytics Workspace Id 
- The ID of the default Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to, when there is no location matches in the log_analytics_workspace.
- enabled Boolean
- Whether the insights functionality is enabled for this Firewall Policy.
- logAnalytics List<FirewallWorkspaces Policy Insights Log Analytics Workspace> 
- A list of log_analytics_workspaceblock as defined below.
- retentionIn IntegerDays 
- The log retention period in days.
- defaultLog stringAnalytics Workspace Id 
- The ID of the default Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to, when there is no location matches in the log_analytics_workspace.
- enabled boolean
- Whether the insights functionality is enabled for this Firewall Policy.
- logAnalytics FirewallWorkspaces Policy Insights Log Analytics Workspace[] 
- A list of log_analytics_workspaceblock as defined below.
- retentionIn numberDays 
- The log retention period in days.
- default_log_ stranalytics_ workspace_ id 
- The ID of the default Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to, when there is no location matches in the log_analytics_workspace.
- enabled bool
- Whether the insights functionality is enabled for this Firewall Policy.
- log_analytics_ Sequence[Firewallworkspaces Policy Insights Log Analytics Workspace] 
- A list of log_analytics_workspaceblock as defined below.
- retention_in_ intdays 
- The log retention period in days.
- defaultLog StringAnalytics Workspace Id 
- The ID of the default Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to, when there is no location matches in the log_analytics_workspace.
- enabled Boolean
- Whether the insights functionality is enabled for this Firewall Policy.
- logAnalytics List<Property Map>Workspaces 
- A list of log_analytics_workspaceblock as defined below.
- retentionIn NumberDays 
- The log retention period in days.
FirewallPolicyInsightsLogAnalyticsWorkspace, FirewallPolicyInsightsLogAnalyticsWorkspaceArgs            
- FirewallLocation string
- The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
- Id string
- The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the firewall_location.
- FirewallLocation string
- The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
- Id string
- The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the firewall_location.
- firewallLocation String
- The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
- id String
- The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the firewall_location.
- firewallLocation string
- The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
- id string
- The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the firewall_location.
- firewall_location str
- The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
- id str
- The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the firewall_location.
- firewallLocation String
- The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
- id String
- The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the firewall_location.
FirewallPolicyIntrusionDetection, FirewallPolicyIntrusionDetectionArgs        
- Mode string
- In which mode you want to run intrusion detection: Off,AlertorDeny.
- PrivateRanges List<string>
- A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
- SignatureOverrides List<FirewallPolicy Intrusion Detection Signature Override> 
- One or more signature_overridesblocks as defined below.
- TrafficBypasses List<FirewallPolicy Intrusion Detection Traffic Bypass> 
- One or more traffic_bypassblocks as defined below.
- Mode string
- In which mode you want to run intrusion detection: Off,AlertorDeny.
- PrivateRanges []string
- A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
- SignatureOverrides []FirewallPolicy Intrusion Detection Signature Override 
- One or more signature_overridesblocks as defined below.
- TrafficBypasses []FirewallPolicy Intrusion Detection Traffic Bypass 
- One or more traffic_bypassblocks as defined below.
- mode String
- In which mode you want to run intrusion detection: Off,AlertorDeny.
- privateRanges List<String>
- A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
- signatureOverrides List<FirewallPolicy Intrusion Detection Signature Override> 
- One or more signature_overridesblocks as defined below.
- trafficBypasses List<FirewallPolicy Intrusion Detection Traffic Bypass> 
- One or more traffic_bypassblocks as defined below.
- mode string
- In which mode you want to run intrusion detection: Off,AlertorDeny.
- privateRanges string[]
- A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
- signatureOverrides FirewallPolicy Intrusion Detection Signature Override[] 
- One or more signature_overridesblocks as defined below.
- trafficBypasses FirewallPolicy Intrusion Detection Traffic Bypass[] 
- One or more traffic_bypassblocks as defined below.
- mode str
- In which mode you want to run intrusion detection: Off,AlertorDeny.
- private_ranges Sequence[str]
- A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
- signature_overrides Sequence[FirewallPolicy Intrusion Detection Signature Override] 
- One or more signature_overridesblocks as defined below.
- traffic_bypasses Sequence[FirewallPolicy Intrusion Detection Traffic Bypass] 
- One or more traffic_bypassblocks as defined below.
- mode String
- In which mode you want to run intrusion detection: Off,AlertorDeny.
- privateRanges List<String>
- A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
- signatureOverrides List<Property Map>
- One or more signature_overridesblocks as defined below.
- trafficBypasses List<Property Map>
- One or more traffic_bypassblocks as defined below.
FirewallPolicyIntrusionDetectionSignatureOverride, FirewallPolicyIntrusionDetectionSignatureOverrideArgs            
FirewallPolicyIntrusionDetectionTrafficBypass, FirewallPolicyIntrusionDetectionTrafficBypassArgs            
- Name string
- The name which should be used for this bypass traffic setting.
- Protocol string
- The protocols any of ANY,TCP,ICMP,UDPthat shall be bypassed by intrusion detection.
- Description string
- The description for this bypass traffic setting.
- DestinationAddresses List<string>
- Specifies a list of destination IP addresses that shall be bypassed by intrusion detection.
- DestinationIp List<string>Groups 
- Specifies a list of destination IP groups that shall be bypassed by intrusion detection.
- DestinationPorts List<string>
- Specifies a list of destination IP ports that shall be bypassed by intrusion detection.
- SourceAddresses List<string>
- Specifies a list of source addresses that shall be bypassed by intrusion detection.
- SourceIp List<string>Groups 
- Specifies a list of source IP groups that shall be bypassed by intrusion detection.
- Name string
- The name which should be used for this bypass traffic setting.
- Protocol string
- The protocols any of ANY,TCP,ICMP,UDPthat shall be bypassed by intrusion detection.
- Description string
- The description for this bypass traffic setting.
- DestinationAddresses []string
- Specifies a list of destination IP addresses that shall be bypassed by intrusion detection.
- DestinationIp []stringGroups 
- Specifies a list of destination IP groups that shall be bypassed by intrusion detection.
- DestinationPorts []string
- Specifies a list of destination IP ports that shall be bypassed by intrusion detection.
- SourceAddresses []string
- Specifies a list of source addresses that shall be bypassed by intrusion detection.
- SourceIp []stringGroups 
- Specifies a list of source IP groups that shall be bypassed by intrusion detection.
- name String
- The name which should be used for this bypass traffic setting.
- protocol String
- The protocols any of ANY,TCP,ICMP,UDPthat shall be bypassed by intrusion detection.
- description String
- The description for this bypass traffic setting.
- destinationAddresses List<String>
- Specifies a list of destination IP addresses that shall be bypassed by intrusion detection.
- destinationIp List<String>Groups 
- Specifies a list of destination IP groups that shall be bypassed by intrusion detection.
- destinationPorts List<String>
- Specifies a list of destination IP ports that shall be bypassed by intrusion detection.
- sourceAddresses List<String>
- Specifies a list of source addresses that shall be bypassed by intrusion detection.
- sourceIp List<String>Groups 
- Specifies a list of source IP groups that shall be bypassed by intrusion detection.
- name string
- The name which should be used for this bypass traffic setting.
- protocol string
- The protocols any of ANY,TCP,ICMP,UDPthat shall be bypassed by intrusion detection.
- description string
- The description for this bypass traffic setting.
- destinationAddresses string[]
- Specifies a list of destination IP addresses that shall be bypassed by intrusion detection.
- destinationIp string[]Groups 
- Specifies a list of destination IP groups that shall be bypassed by intrusion detection.
- destinationPorts string[]
- Specifies a list of destination IP ports that shall be bypassed by intrusion detection.
- sourceAddresses string[]
- Specifies a list of source addresses that shall be bypassed by intrusion detection.
- sourceIp string[]Groups 
- Specifies a list of source IP groups that shall be bypassed by intrusion detection.
- name str
- The name which should be used for this bypass traffic setting.
- protocol str
- The protocols any of ANY,TCP,ICMP,UDPthat shall be bypassed by intrusion detection.
- description str
- The description for this bypass traffic setting.
- destination_addresses Sequence[str]
- Specifies a list of destination IP addresses that shall be bypassed by intrusion detection.
- destination_ip_ Sequence[str]groups 
- Specifies a list of destination IP groups that shall be bypassed by intrusion detection.
- destination_ports Sequence[str]
- Specifies a list of destination IP ports that shall be bypassed by intrusion detection.
- source_addresses Sequence[str]
- Specifies a list of source addresses that shall be bypassed by intrusion detection.
- source_ip_ Sequence[str]groups 
- Specifies a list of source IP groups that shall be bypassed by intrusion detection.
- name String
- The name which should be used for this bypass traffic setting.
- protocol String
- The protocols any of ANY,TCP,ICMP,UDPthat shall be bypassed by intrusion detection.
- description String
- The description for this bypass traffic setting.
- destinationAddresses List<String>
- Specifies a list of destination IP addresses that shall be bypassed by intrusion detection.
- destinationIp List<String>Groups 
- Specifies a list of destination IP groups that shall be bypassed by intrusion detection.
- destinationPorts List<String>
- Specifies a list of destination IP ports that shall be bypassed by intrusion detection.
- sourceAddresses List<String>
- Specifies a list of source addresses that shall be bypassed by intrusion detection.
- sourceIp List<String>Groups 
- Specifies a list of source IP groups that shall be bypassed by intrusion detection.
FirewallPolicyThreatIntelligenceAllowlist, FirewallPolicyThreatIntelligenceAllowlistArgs          
- Fqdns List<string>
- A list of FQDNs that will be skipped for threat detection.
- IpAddresses List<string>
- A list of IP addresses or CIDR ranges that will be skipped for threat detection.
- Fqdns []string
- A list of FQDNs that will be skipped for threat detection.
- IpAddresses []string
- A list of IP addresses or CIDR ranges that will be skipped for threat detection.
- fqdns List<String>
- A list of FQDNs that will be skipped for threat detection.
- ipAddresses List<String>
- A list of IP addresses or CIDR ranges that will be skipped for threat detection.
- fqdns string[]
- A list of FQDNs that will be skipped for threat detection.
- ipAddresses string[]
- A list of IP addresses or CIDR ranges that will be skipped for threat detection.
- fqdns Sequence[str]
- A list of FQDNs that will be skipped for threat detection.
- ip_addresses Sequence[str]
- A list of IP addresses or CIDR ranges that will be skipped for threat detection.
- fqdns List<String>
- A list of FQDNs that will be skipped for threat detection.
- ipAddresses List<String>
- A list of IP addresses or CIDR ranges that will be skipped for threat detection.
FirewallPolicyTlsCertificate, FirewallPolicyTlsCertificateArgs        
- KeyVault stringSecret Id 
- The ID of the Key Vault, where the secret or certificate is stored.
- Name string
- The name of the certificate.
- KeyVault stringSecret Id 
- The ID of the Key Vault, where the secret or certificate is stored.
- Name string
- The name of the certificate.
- keyVault StringSecret Id 
- The ID of the Key Vault, where the secret or certificate is stored.
- name String
- The name of the certificate.
- keyVault stringSecret Id 
- The ID of the Key Vault, where the secret or certificate is stored.
- name string
- The name of the certificate.
- key_vault_ strsecret_ id 
- The ID of the Key Vault, where the secret or certificate is stored.
- name str
- The name of the certificate.
- keyVault StringSecret Id 
- The ID of the Key Vault, where the secret or certificate is stored.
- name String
- The name of the certificate.
Import
Firewall Policies can be imported using the resource id, e.g.
$ pulumi import azure:network/firewallPolicy:FirewallPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/firewallPolicies/policy1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.