FirewallNetworkRuleCollection

Manages a Network Rule Collection within an Azure Firewall.

Create a FirewallNetworkRuleCollection Resource

def FirewallNetworkRuleCollection(resource_name, opts=None, action=None, azure_firewall_name=None, name=None, priority=None, resource_group_name=None, rules=None, __props__=None);
name string
The unique name of the resource.
args FirewallNetworkRuleCollectionArgs
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 FirewallNetworkRuleCollectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FirewallNetworkRuleCollectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

FirewallNetworkRuleCollection Resource Properties

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

Inputs

The FirewallNetworkRuleCollection resource accepts the following input properties:

Action string

Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.

AzureFirewallName string

Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.

Priority int

Specifies the priority of the rule collection. Possible values are between 100 - 65000.

ResourceGroupName string

Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.

Rules List<FirewallNetworkRuleCollectionRuleArgs>

One or more rule blocks as defined below.

Name string

Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.

Action string

Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.

AzureFirewallName string

Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.

Priority int

Specifies the priority of the rule collection. Possible values are between 100 - 65000.

ResourceGroupName string

Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.

Rules []FirewallNetworkRuleCollectionRule

One or more rule blocks as defined below.

Name string

Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.

action string

Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.

azureFirewallName string

Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.

priority number

Specifies the priority of the rule collection. Possible values are between 100 - 65000.

resourceGroupName string

Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.

rules FirewallNetworkRuleCollectionRule[]

One or more rule blocks as defined below.

name string

Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.

action str

Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.

azure_firewall_name str

Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.

priority float

Specifies the priority of the rule collection. Possible values are between 100 - 65000.

resource_group_name str

Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.

rules List[FirewallNetworkRuleCollectionRule]

One or more rule blocks as defined below.

name str

Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the FirewallNetworkRuleCollection 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 FirewallNetworkRuleCollection Resource

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

static get(resource_name, id, opts=None, action=None, azure_firewall_name=None, name=None, priority=None, resource_group_name=None, rules=None, __props__=None);
func GetFirewallNetworkRuleCollection(ctx *Context, name string, id IDInput, state *FirewallNetworkRuleCollectionState, opts ...ResourceOption) (*FirewallNetworkRuleCollection, error)
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:

Action string

Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.

AzureFirewallName string

Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.

Name string

Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.

Priority int

Specifies the priority of the rule collection. Possible values are between 100 - 65000.

ResourceGroupName string

Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.

Rules List<FirewallNetworkRuleCollectionRuleArgs>

One or more rule blocks as defined below.

Action string

Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.

AzureFirewallName string

Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.

Name string

Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.

Priority int

Specifies the priority of the rule collection. Possible values are between 100 - 65000.

ResourceGroupName string

Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.

Rules []FirewallNetworkRuleCollectionRule

One or more rule blocks as defined below.

action string

Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.

azureFirewallName string

Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.

name string

Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.

priority number

Specifies the priority of the rule collection. Possible values are between 100 - 65000.

resourceGroupName string

Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.

rules FirewallNetworkRuleCollectionRule[]

One or more rule blocks as defined below.

action str

Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.

azure_firewall_name str

Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.

name str

Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.

priority float

Specifies the priority of the rule collection. Possible values are between 100 - 65000.

resource_group_name str

Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.

rules List[FirewallNetworkRuleCollectionRule]

One or more rule blocks as defined below.

Supporting Types

FirewallNetworkRuleCollectionRule

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.

DestinationAddresses List<string>

A list of destination IP addresses and/or IP ranges.

DestinationPorts List<string>

A list of destination ports.

Name string

Specifies the name of the rule.

Protocols List<string>

A list of protocols. Possible values are Any, ICMP, TCP and UDP.

SourceAddresses List<string>

A list of source IP addresses and/or IP ranges.

Description string

Specifies a description for the rule.

DestinationAddresses []string

A list of destination IP addresses and/or IP ranges.

DestinationPorts []string

A list of destination ports.

Name string

Specifies the name of the rule.

Protocols []string

A list of protocols. Possible values are Any, ICMP, TCP and UDP.

SourceAddresses []string

A list of source IP addresses and/or IP ranges.

Description string

Specifies a description for the rule.

destinationAddresses string[]

A list of destination IP addresses and/or IP ranges.

destinationPorts string[]

A list of destination ports.

name string

Specifies the name of the rule.

protocols string[]

A list of protocols. Possible values are Any, ICMP, TCP and UDP.

sourceAddresses string[]

A list of source IP addresses and/or IP ranges.

description string

Specifies a description for the rule.

destinationAddresses List[str]

A list of destination IP addresses and/or IP ranges.

destinationPorts List[str]

A list of destination ports.

name str

Specifies the name of the rule.

protocols List[str]

A list of protocols. Possible values are Any, ICMP, TCP and UDP.

sourceAddresses List[str]

A list of source IP addresses and/or IP ranges.

description str

Specifies a description for the rule.

Package Details

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