Show / Hide Table of Contents

Class FirewallNatRuleCollection

Manages a NAT Rule Collection within an Azure Firewall.

Inheritance
System.Object
Resource
CustomResource
FirewallNatRuleCollection
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class FirewallNatRuleCollection : CustomResource

Constructors

View Source

FirewallNatRuleCollection(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 Source

Action

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.