Class FirewallNatRuleCollection
Manages a NAT Rule Collection within an Azure Firewall.
Inherited Members
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class FirewallNatRuleCollection : CustomResource
Constructors
View SourceFirewallNatRuleCollection(String, FirewallNatRuleCollectionArgs, CustomResourceOptions)
Create a FirewallNatRuleCollection resource with the given unique name, arguments, and options.
Declaration
public FirewallNatRuleCollection(string name, FirewallNatRuleCollectionArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| FirewallNatRuleCollectionArgs | 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 Dnat and Snat.
Declaration
public Output<string> Action { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AzureFirewallName
Specifies the name of the Firewall in which the NAT 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 NAT 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<FirewallNatRuleCollectionRule>> Rules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<FirewallNatRuleCollectionRule>> |
Methods
View SourceGet(String, Input<String>, FirewallNatRuleCollectionState, CustomResourceOptions)
Get an existing FirewallNatRuleCollection resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static FirewallNatRuleCollection Get(string name, Input<string> id, FirewallNatRuleCollectionState 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. |
| FirewallNatRuleCollectionState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| FirewallNatRuleCollection |