Class FirewallNetworkRuleCollection
Manages a Network Rule Collection within an Azure Firewall.
Inherited Members
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class FirewallNetworkRuleCollection : CustomResource
Constructors
View SourceFirewallNetworkRuleCollection(String, FirewallNetworkRuleCollectionArgs, CustomResourceOptions)
Create a FirewallNetworkRuleCollection resource with the given unique name, arguments, and options.
Declaration
public FirewallNetworkRuleCollection(string name, FirewallNetworkRuleCollectionArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| FirewallNetworkRuleCollectionArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAction
Specifies the action the rule will apply to matching traffic. Possible values are Allow and Deny.
Declaration
public Output<string> Action { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AzureFirewallName
Specifies the name of the Firewall in which the Network Rule Collection should be created. Changing this forces a new resource to be created.
Declaration
public Output<string> AzureFirewallName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Network Rule Collection which must be unique within the Firewall. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Priority
Specifies the priority of the rule collection. Possible values are between 100 - 65000.
Declaration
public Output<int> Priority { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
ResourceGroupName
Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Rules
One or more rule blocks as defined below.
Declaration
public Output<ImmutableArray<FirewallNetworkRuleCollectionRule>> Rules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<FirewallNetworkRuleCollectionRule>> |
Methods
View SourceGet(String, Input<String>, FirewallNetworkRuleCollectionState, CustomResourceOptions)
Get an existing FirewallNetworkRuleCollection resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static FirewallNetworkRuleCollection Get(string name, Input<string> id, FirewallNetworkRuleCollectionState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| FirewallNetworkRuleCollectionState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| FirewallNetworkRuleCollection |