Firewall
Manages an Azure Firewall.
Create a Firewall Resource
new Firewall(name: string, args: FirewallArgs, opts?: CustomResourceOptions);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:
- Ip
Configurations List<FirewallIp Configuration Args> A
ip_configurationblock as documented below.- Resource
Group stringName 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.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Threat
Intel stringMode The operation mode for threat intelligence-based filtering. Possible values are:
Off,AlertandDeny. Defaults toAlert- Zones List<string>
Specifies the availability zones in which the Azure Firewall should be created.
- Ip
Configurations []FirewallIp Configuration A
ip_configurationblock as documented below.- Resource
Group stringName 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.
- map[string]string
A mapping of tags to assign to the resource.
- Threat
Intel stringMode The operation mode for threat intelligence-based filtering. Possible values are:
Off,AlertandDeny. Defaults toAlert- Zones []string
Specifies the availability zones in which the Azure Firewall should be created.
- ip
Configurations FirewallIp Configuration[] A
ip_configurationblock as documented below.- resource
Group stringName 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.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- threat
Intel stringMode The operation mode for threat intelligence-based filtering. Possible values are:
Off,AlertandDeny. Defaults toAlert- zones string[]
Specifies the availability zones in which the Azure Firewall should be created.
- ip_
configurations List[FirewallIp Configuration] A
ip_configurationblock as documented below.- resource_
group_ strname 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.
- Dict[str, str]
A mapping of tags to assign to the resource.
- threat_
intel_ strmode The operation mode for threat intelligence-based filtering. Possible values are:
Off,AlertandDeny. Defaults toAlert- 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:
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): Firewallstatic 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:
- Ip
Configurations List<FirewallIp Configuration Args> A
ip_configurationblock 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.
- Resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Threat
Intel stringMode The operation mode for threat intelligence-based filtering. Possible values are:
Off,AlertandDeny. Defaults toAlert- Zones List<string>
Specifies the availability zones in which the Azure Firewall should be created.
- Ip
Configurations []FirewallIp Configuration A
ip_configurationblock 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.
- Resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- Threat
Intel stringMode The operation mode for threat intelligence-based filtering. Possible values are:
Off,AlertandDeny. Defaults toAlert- Zones []string
Specifies the availability zones in which the Azure Firewall should be created.
- ip
Configurations FirewallIp Configuration[] A
ip_configurationblock 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.
- resource
Group stringName The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- threat
Intel stringMode The operation mode for threat intelligence-based filtering. Possible values are:
Off,AlertandDeny. Defaults toAlert- zones string[]
Specifies the availability zones in which the Azure Firewall should be created.
- ip_
configurations List[FirewallIp Configuration] A
ip_configurationblock 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_ strname The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource.
- threat_
intel_ strmode The operation mode for threat intelligence-based filtering. Possible values are:
Off,AlertandDeny. Defaults toAlert- zones List[str]
Specifies the availability zones in which the Azure Firewall should be created.
Supporting Types
FirewallIpConfiguration
- Name string
Specifies the name of the IP Configuration.
- Public
Ip stringAddress Id The Resource ID of the Public IP Address associated with the firewall.
- Private
Ip stringAddress The private IP address of the Azure Firewall.
- Subnet
Id string Reference to the subnet associated with the IP Configuration.
- Name string
Specifies the name of the IP Configuration.
- Public
Ip stringAddress Id The Resource ID of the Public IP Address associated with the firewall.
- Private
Ip stringAddress The private IP address of the Azure Firewall.
- Subnet
Id string Reference to the subnet associated with the IP Configuration.
- name string
Specifies the name of the IP Configuration.
- public
Ip stringAddress Id The Resource ID of the Public IP Address associated with the firewall.
- private
Ip stringAddress The private IP address of the Azure Firewall.
- subnet
Id string Reference to the subnet associated with the IP Configuration.
- name str
Specifies the name of the IP Configuration.
- public_
ip_ straddress_ id The Resource ID of the Public IP Address associated with the firewall.
- private_
ip_ straddress 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
azurermTerraform Provider.