FirewallNetworkRuleCollection
Manages a Network Rule Collection within an Azure Firewall.
Create a FirewallNetworkRuleCollection Resource
new FirewallNetworkRuleCollection(name: string, args: FirewallNetworkRuleCollectionArgs, opts?: CustomResourceOptions);def FirewallNetworkRuleCollection(resource_name, opts=None, action=None, azure_firewall_name=None, name=None, priority=None, resource_group_name=None, rules=None, __props__=None);func NewFirewallNetworkRuleCollection(ctx *Context, name string, args FirewallNetworkRuleCollectionArgs, opts ...ResourceOption) (*FirewallNetworkRuleCollection, error)public FirewallNetworkRuleCollection(string name, FirewallNetworkRuleCollectionArgs args, CustomResourceOptions? opts = null)- 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
AllowandDeny.- Azure
Firewall stringName 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.- Resource
Group stringName Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
- Rules
List<Firewall
Network Rule Collection Rule Args> One or more
ruleblocks 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
AllowandDeny.- Azure
Firewall stringName 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.- Resource
Group stringName Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
- Rules
[]Firewall
Network Rule Collection Rule One or more
ruleblocks 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
AllowandDeny.- azure
Firewall stringName 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.- resource
Group stringName Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
- rules
Firewall
Network Rule Collection Rule[] One or more
ruleblocks 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
AllowandDeny.- azure_
firewall_ strname 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_ strname Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
- rules
List[Firewall
Network Rule Collection Rule] One or more
ruleblocks 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:
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.
public static get(name: string, id: Input<ID>, state?: FirewallNetworkRuleCollectionState, opts?: CustomResourceOptions): FirewallNetworkRuleCollectionstatic 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)public static FirewallNetworkRuleCollection Get(string name, Input<string> id, FirewallNetworkRuleCollectionState? state, CustomResourceOptions? opts = null)- 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
AllowandDeny.- Azure
Firewall stringName 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.- Resource
Group stringName Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
- Rules
List<Firewall
Network Rule Collection Rule Args> One or more
ruleblocks as defined below.
- Action string
Specifies the action the rule will apply to matching traffic. Possible values are
AllowandDeny.- Azure
Firewall stringName 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.- Resource
Group stringName Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
- Rules
[]Firewall
Network Rule Collection Rule One or more
ruleblocks as defined below.
- action string
Specifies the action the rule will apply to matching traffic. Possible values are
AllowandDeny.- azure
Firewall stringName 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.- resource
Group stringName Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
- rules
Firewall
Network Rule Collection Rule[] One or more
ruleblocks as defined below.
- action str
Specifies the action the rule will apply to matching traffic. Possible values are
AllowandDeny.- azure_
firewall_ strname 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_ strname Specifies the name of the Resource Group in which the Firewall exists. Changing this forces a new resource to be created.
- rules
List[Firewall
Network Rule Collection Rule] One or more
ruleblocks as defined below.
Supporting Types
FirewallNetworkRuleCollectionRule
- Destination
Addresses List<string> A list of destination IP addresses and/or IP ranges.
- Destination
Ports 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,TCPandUDP.- Source
Addresses List<string> A list of source IP addresses and/or IP ranges.
- Description string
Specifies a description for the rule.
- Destination
Addresses []string A list of destination IP addresses and/or IP ranges.
- Destination
Ports []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,TCPandUDP.- Source
Addresses []string A list of source IP addresses and/or IP ranges.
- Description string
Specifies a description for the rule.
- destination
Addresses string[] A list of destination IP addresses and/or IP ranges.
- destination
Ports 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,TCPandUDP.- source
Addresses string[] A list of source IP addresses and/or IP ranges.
- description string
Specifies a description for the rule.
- destination
Addresses List[str] A list of destination IP addresses and/or IP ranges.
- destination
Ports 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,TCPandUDP.- source
Addresses 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
azurermTerraform Provider.