FirewallNatRuleCollection

Manages a NAT Rule Collection within an Azure Firewall.

Create a FirewallNatRuleCollection Resource

def FirewallNatRuleCollection(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 FirewallNatRuleCollectionArgs
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 FirewallNatRuleCollectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FirewallNatRuleCollectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

FirewallNatRuleCollection Resource Properties

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

Inputs

The FirewallNatRuleCollection resource accepts the following input properties:

Action string

Specifies the action the rule will apply to matching traffic. Possible values are Dnat and Snat.

AzureFirewallName string

Specifies the name of the Firewall in which the NAT 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<FirewallNatRuleCollectionRuleArgs>

One or more rule blocks as defined below.

Name string

Specifies the name of the NAT 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 Dnat and Snat.

AzureFirewallName string

Specifies the name of the Firewall in which the NAT 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 []FirewallNatRuleCollectionRule

One or more rule blocks as defined below.

Name string

Specifies the name of the NAT 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 Dnat and Snat.

azureFirewallName string

Specifies the name of the Firewall in which the NAT 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 FirewallNatRuleCollectionRule[]

One or more rule blocks as defined below.

name string

Specifies the name of the NAT 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 Dnat and Snat.

azure_firewall_name str

Specifies the name of the Firewall in which the NAT 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[FirewallNatRuleCollectionRule]

One or more rule blocks as defined below.

name str

Specifies the name of the NAT 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 FirewallNatRuleCollection 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 FirewallNatRuleCollection Resource

Get an existing FirewallNatRuleCollection 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 GetFirewallNatRuleCollection(ctx *Context, name string, id IDInput, state *FirewallNatRuleCollectionState, opts ...ResourceOption) (*FirewallNatRuleCollection, 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 Dnat and Snat.

AzureFirewallName string

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

Name string

Specifies the name of the NAT 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<FirewallNatRuleCollectionRuleArgs>

One or more rule blocks as defined below.

Action string

Specifies the action the rule will apply to matching traffic. Possible values are Dnat and Snat.

AzureFirewallName string

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

Name string

Specifies the name of the NAT 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 []FirewallNatRuleCollectionRule

One or more rule blocks as defined below.

action string

Specifies the action the rule will apply to matching traffic. Possible values are Dnat and Snat.

azureFirewallName string

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

name string

Specifies the name of the NAT 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 FirewallNatRuleCollectionRule[]

One or more rule blocks as defined below.

action str

Specifies the action the rule will apply to matching traffic. Possible values are Dnat and Snat.

azure_firewall_name str

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

name str

Specifies the name of the NAT 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[FirewallNatRuleCollectionRule]

One or more rule blocks as defined below.

Supporting Types

FirewallNatRuleCollectionRule

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. If action is Dnat, protocols can only be TCP and UDP.

SourceAddresses List<string>

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

TranslatedAddress string

The address of the service behind the Firewall.

TranslatedPort string

The port of the service behind the Firewall.

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. If action is Dnat, protocols can only be TCP and UDP.

SourceAddresses []string

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

TranslatedAddress string

The address of the service behind the Firewall.

TranslatedPort string

The port of the service behind the Firewall.

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. If action is Dnat, protocols can only be TCP and UDP.

sourceAddresses string[]

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

translatedAddress string

The address of the service behind the Firewall.

translatedPort string

The port of the service behind the Firewall.

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. If action is Dnat, protocols can only be TCP and UDP.

sourceAddresses List[str]

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

translatedAddress str

The address of the service behind the Firewall.

translatedPort str

The port of the service behind the Firewall.

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.