Firewall

Manages an Azure Firewall.

Create a Firewall Resource

def Firewall(resource_name, opts=None, ip_configurations=None, location=None, name=None, resource_group_name=None, tags=None, threat_intel_mode=None, zones=None, __props__=None);
func NewFirewall(ctx *Context, name string, args FirewallArgs, opts ...ResourceOption) (*Firewall, error)
public Firewall(string name, FirewallArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args FirewallArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FirewallArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FirewallArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Firewall Resource Properties

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

Inputs

The Firewall resource accepts the following input properties:

IpConfigurations List<FirewallIpConfigurationArgs>

A ip_configuration block as documented below.

ResourceGroupName string

The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Firewall. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

ThreatIntelMode string

The operation mode for threat intelligence-based filtering. Possible values are: Off, Alert and Deny. Defaults to Alert

Zones List<string>

Specifies the availability zones in which the Azure Firewall should be created.

IpConfigurations []FirewallIpConfiguration

A ip_configuration block as documented below.

ResourceGroupName string

The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Firewall. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

ThreatIntelMode string

The operation mode for threat intelligence-based filtering. Possible values are: Off, Alert and Deny. Defaults to Alert

Zones []string

Specifies the availability zones in which the Azure Firewall should be created.

ipConfigurations FirewallIpConfiguration[]

A ip_configuration block as documented below.

resourceGroupName string

The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the Firewall. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

threatIntelMode string

The operation mode for threat intelligence-based filtering. Possible values are: Off, Alert and Deny. Defaults to Alert

zones string[]

Specifies the availability zones in which the Azure Firewall should be created.

ip_configurations List[FirewallIpConfiguration]

A ip_configuration block as documented below.

resource_group_name str

The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the Firewall. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the resource.

threat_intel_mode str

The operation mode for threat intelligence-based filtering. Possible values are: Off, Alert and Deny. Defaults to Alert

zones List[str]

Specifies the availability zones in which the Azure Firewall should be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the Firewall 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing Firewall Resource

Get an existing Firewall 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?: FirewallState, opts?: CustomResourceOptions): Firewall
static get(resource_name, id, opts=None, ip_configurations=None, location=None, name=None, resource_group_name=None, tags=None, threat_intel_mode=None, zones=None, __props__=None);
func GetFirewall(ctx *Context, name string, id IDInput, state *FirewallState, opts ...ResourceOption) (*Firewall, error)
public static Firewall Get(string name, Input<string> id, FirewallState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

IpConfigurations List<FirewallIpConfigurationArgs>

A ip_configuration block as documented below.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Firewall. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

ThreatIntelMode string

The operation mode for threat intelligence-based filtering. Possible values are: Off, Alert and Deny. Defaults to Alert

Zones List<string>

Specifies the availability zones in which the Azure Firewall should be created.

IpConfigurations []FirewallIpConfiguration

A ip_configuration block as documented below.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of the Firewall. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

ThreatIntelMode string

The operation mode for threat intelligence-based filtering. Possible values are: Off, Alert and Deny. Defaults to Alert

Zones []string

Specifies the availability zones in which the Azure Firewall should be created.

ipConfigurations FirewallIpConfiguration[]

A ip_configuration block as documented below.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of the Firewall. Changing this forces a new resource to be created.

resourceGroupName string

The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

threatIntelMode string

The operation mode for threat intelligence-based filtering. Possible values are: Off, Alert and Deny. Defaults to Alert

zones string[]

Specifies the availability zones in which the Azure Firewall should be created.

ip_configurations List[FirewallIpConfiguration]

A ip_configuration block as documented below.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of the Firewall. Changing this forces a new resource to be created.

resource_group_name str

The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the resource.

threat_intel_mode str

The operation mode for threat intelligence-based filtering. Possible values are: Off, Alert and Deny. Defaults to Alert

zones List[str]

Specifies the availability zones in which the Azure Firewall should be created.

Supporting Types

FirewallIpConfiguration

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

Specifies the name of the IP Configuration.

PublicIpAddressId string

The Resource ID of the Public IP Address associated with the firewall.

PrivateIpAddress string

The private IP address of the Azure Firewall.

SubnetId string

Reference to the subnet associated with the IP Configuration.

Name string

Specifies the name of the IP Configuration.

PublicIpAddressId string

The Resource ID of the Public IP Address associated with the firewall.

PrivateIpAddress string

The private IP address of the Azure Firewall.

SubnetId string

Reference to the subnet associated with the IP Configuration.

name string

Specifies the name of the IP Configuration.

publicIpAddressId string

The Resource ID of the Public IP Address associated with the firewall.

privateIpAddress string

The private IP address of the Azure Firewall.

subnetId string

Reference to the subnet associated with the IP Configuration.

name str

Specifies the name of the IP Configuration.

public_ip_address_id str

The Resource ID of the Public IP Address associated with the firewall.

private_ip_address str

The private IP address of the Azure Firewall.

subnet_id str

Reference to the subnet associated with the IP Configuration.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.