azure-native.network.FirewallPolicyRuleGroup
Explore with Pulumi AI
Rule Group resource. Azure REST API version: 2020-04-01. Prior API version in Azure Native 1.x: 2020-04-01.
Example Usage
Create FirewallPolicyRuleGroup
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var firewallPolicyRuleGroup = new AzureNative.Network.FirewallPolicyRuleGroup("firewallPolicyRuleGroup", new()
{
FirewallPolicyName = "firewallPolicy",
Priority = 110,
ResourceGroupName = "rg1",
RuleGroupName = "ruleGroup1",
Rules = new[]
{
new AzureNative.Network.Inputs.FirewallPolicyFilterRuleArgs
{
Action = new AzureNative.Network.Inputs.FirewallPolicyFilterRuleActionArgs
{
Type = AzureNative.Network.FirewallPolicyFilterRuleActionType.Deny,
},
Name = "Example-Filter-Rule",
RuleConditions = new[]
{
new AzureNative.Network.Inputs.NetworkRuleConditionArgs
{
DestinationAddresses = new[]
{
"*",
},
DestinationPorts = new[]
{
"*",
},
IpProtocols = new[]
{
AzureNative.Network.FirewallPolicyRuleConditionNetworkProtocol.TCP,
},
Name = "network-condition1",
RuleConditionType = "NetworkRuleCondition",
SourceAddresses = new[]
{
"10.1.25.0/24",
},
},
},
RuleType = "FirewallPolicyFilterRule",
},
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewFirewallPolicyRuleGroup(ctx, "firewallPolicyRuleGroup", &network.FirewallPolicyRuleGroupArgs{
FirewallPolicyName: pulumi.String("firewallPolicy"),
Priority: pulumi.Int(110),
ResourceGroupName: pulumi.String("rg1"),
RuleGroupName: pulumi.String("ruleGroup1"),
Rules: pulumi.Array{
network.FirewallPolicyFilterRule{
Action: network.FirewallPolicyFilterRuleAction{
Type: network.FirewallPolicyFilterRuleActionTypeDeny,
},
Name: "Example-Filter-Rule",
RuleConditions: []interface{}{
network.NetworkRuleCondition{
DestinationAddresses: []string{
"*",
},
DestinationPorts: []string{
"*",
},
IpProtocols: []network.FirewallPolicyRuleConditionNetworkProtocol{
network.FirewallPolicyRuleConditionNetworkProtocolTCP,
},
Name: "network-condition1",
RuleConditionType: "NetworkRuleCondition",
SourceAddresses: []string{
"10.1.25.0/24",
},
},
},
RuleType: "FirewallPolicyFilterRule",
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.FirewallPolicyRuleGroup;
import com.pulumi.azurenative.network.FirewallPolicyRuleGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var firewallPolicyRuleGroup = new FirewallPolicyRuleGroup("firewallPolicyRuleGroup", FirewallPolicyRuleGroupArgs.builder()
.firewallPolicyName("firewallPolicy")
.priority(110)
.resourceGroupName("rg1")
.ruleGroupName("ruleGroup1")
.rules(FirewallPolicyFilterRuleArgs.builder()
.action(FirewallPolicyFilterRuleActionArgs.builder()
.type("Deny")
.build())
.name("Example-Filter-Rule")
.ruleConditions(NetworkRuleConditionArgs.builder()
.destinationAddresses("*")
.destinationPorts("*")
.ipProtocols("TCP")
.name("network-condition1")
.ruleConditionType("NetworkRuleCondition")
.sourceAddresses("10.1.25.0/24")
.build())
.ruleType("FirewallPolicyFilterRule")
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
firewall_policy_rule_group = azure_native.network.FirewallPolicyRuleGroup("firewallPolicyRuleGroup",
firewall_policy_name="firewallPolicy",
priority=110,
resource_group_name="rg1",
rule_group_name="ruleGroup1",
rules=[{
"action": {
"type": azure_native.network.FirewallPolicyFilterRuleActionType.DENY,
},
"name": "Example-Filter-Rule",
"rule_conditions": [{
"destination_addresses": ["*"],
"destination_ports": ["*"],
"ip_protocols": [azure_native.network.FirewallPolicyRuleConditionNetworkProtocol.TCP],
"name": "network-condition1",
"rule_condition_type": "NetworkRuleCondition",
"source_addresses": ["10.1.25.0/24"],
}],
"rule_type": "FirewallPolicyFilterRule",
}])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const firewallPolicyRuleGroup = new azure_native.network.FirewallPolicyRuleGroup("firewallPolicyRuleGroup", {
firewallPolicyName: "firewallPolicy",
priority: 110,
resourceGroupName: "rg1",
ruleGroupName: "ruleGroup1",
rules: [{
action: {
type: azure_native.network.FirewallPolicyFilterRuleActionType.Deny,
},
name: "Example-Filter-Rule",
ruleConditions: [{
destinationAddresses: ["*"],
destinationPorts: ["*"],
ipProtocols: [azure_native.network.FirewallPolicyRuleConditionNetworkProtocol.TCP],
name: "network-condition1",
ruleConditionType: "NetworkRuleCondition",
sourceAddresses: ["10.1.25.0/24"],
}],
ruleType: "FirewallPolicyFilterRule",
}],
});
resources:
firewallPolicyRuleGroup:
type: azure-native:network:FirewallPolicyRuleGroup
properties:
firewallPolicyName: firewallPolicy
priority: 110
resourceGroupName: rg1
ruleGroupName: ruleGroup1
rules:
- action:
type: Deny
name: Example-Filter-Rule
ruleConditions:
- destinationAddresses:
- '*'
destinationPorts:
- '*'
ipProtocols:
- TCP
name: network-condition1
ruleConditionType: NetworkRuleCondition
sourceAddresses:
- 10.1.25.0/24
ruleType: FirewallPolicyFilterRule
Create FirewallPolicyRuleGroup With IpGroups
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var firewallPolicyRuleGroup = new AzureNative.Network.FirewallPolicyRuleGroup("firewallPolicyRuleGroup", new()
{
FirewallPolicyName = "firewallPolicy",
Priority = 110,
ResourceGroupName = "rg1",
RuleGroupName = "ruleGroup1",
Rules = new[]
{
new AzureNative.Network.Inputs.FirewallPolicyFilterRuleArgs
{
Action = new AzureNative.Network.Inputs.FirewallPolicyFilterRuleActionArgs
{
Type = AzureNative.Network.FirewallPolicyFilterRuleActionType.Deny,
},
Name = "Example-Filter-Rule",
RuleConditions = new[]
{
new AzureNative.Network.Inputs.NetworkRuleConditionArgs
{
DestinationIpGroups = new[]
{
"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2",
},
DestinationPorts = new[]
{
"*",
},
IpProtocols = new[]
{
AzureNative.Network.FirewallPolicyRuleConditionNetworkProtocol.TCP,
},
Name = "network-condition1",
RuleConditionType = "NetworkRuleCondition",
SourceIpGroups = new[]
{
"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1",
},
},
},
RuleType = "FirewallPolicyFilterRule",
},
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewFirewallPolicyRuleGroup(ctx, "firewallPolicyRuleGroup", &network.FirewallPolicyRuleGroupArgs{
FirewallPolicyName: pulumi.String("firewallPolicy"),
Priority: pulumi.Int(110),
ResourceGroupName: pulumi.String("rg1"),
RuleGroupName: pulumi.String("ruleGroup1"),
Rules: pulumi.Array{
network.FirewallPolicyFilterRule{
Action: network.FirewallPolicyFilterRuleAction{
Type: network.FirewallPolicyFilterRuleActionTypeDeny,
},
Name: "Example-Filter-Rule",
RuleConditions: []interface{}{
network.NetworkRuleCondition{
DestinationIpGroups: []string{
"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2",
},
DestinationPorts: []string{
"*",
},
IpProtocols: []network.FirewallPolicyRuleConditionNetworkProtocol{
network.FirewallPolicyRuleConditionNetworkProtocolTCP,
},
Name: "network-condition1",
RuleConditionType: "NetworkRuleCondition",
SourceIpGroups: []string{
"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1",
},
},
},
RuleType: "FirewallPolicyFilterRule",
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.FirewallPolicyRuleGroup;
import com.pulumi.azurenative.network.FirewallPolicyRuleGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var firewallPolicyRuleGroup = new FirewallPolicyRuleGroup("firewallPolicyRuleGroup", FirewallPolicyRuleGroupArgs.builder()
.firewallPolicyName("firewallPolicy")
.priority(110)
.resourceGroupName("rg1")
.ruleGroupName("ruleGroup1")
.rules(FirewallPolicyFilterRuleArgs.builder()
.action(FirewallPolicyFilterRuleActionArgs.builder()
.type("Deny")
.build())
.name("Example-Filter-Rule")
.ruleConditions(NetworkRuleConditionArgs.builder()
.destinationIpGroups("/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2")
.destinationPorts("*")
.ipProtocols("TCP")
.name("network-condition1")
.ruleConditionType("NetworkRuleCondition")
.sourceIpGroups("/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1")
.build())
.ruleType("FirewallPolicyFilterRule")
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
firewall_policy_rule_group = azure_native.network.FirewallPolicyRuleGroup("firewallPolicyRuleGroup",
firewall_policy_name="firewallPolicy",
priority=110,
resource_group_name="rg1",
rule_group_name="ruleGroup1",
rules=[{
"action": {
"type": azure_native.network.FirewallPolicyFilterRuleActionType.DENY,
},
"name": "Example-Filter-Rule",
"rule_conditions": [{
"destination_ip_groups": ["/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2"],
"destination_ports": ["*"],
"ip_protocols": [azure_native.network.FirewallPolicyRuleConditionNetworkProtocol.TCP],
"name": "network-condition1",
"rule_condition_type": "NetworkRuleCondition",
"source_ip_groups": ["/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1"],
}],
"rule_type": "FirewallPolicyFilterRule",
}])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const firewallPolicyRuleGroup = new azure_native.network.FirewallPolicyRuleGroup("firewallPolicyRuleGroup", {
firewallPolicyName: "firewallPolicy",
priority: 110,
resourceGroupName: "rg1",
ruleGroupName: "ruleGroup1",
rules: [{
action: {
type: azure_native.network.FirewallPolicyFilterRuleActionType.Deny,
},
name: "Example-Filter-Rule",
ruleConditions: [{
destinationIpGroups: ["/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2"],
destinationPorts: ["*"],
ipProtocols: [azure_native.network.FirewallPolicyRuleConditionNetworkProtocol.TCP],
name: "network-condition1",
ruleConditionType: "NetworkRuleCondition",
sourceIpGroups: ["/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1"],
}],
ruleType: "FirewallPolicyFilterRule",
}],
});
resources:
firewallPolicyRuleGroup:
type: azure-native:network:FirewallPolicyRuleGroup
properties:
firewallPolicyName: firewallPolicy
priority: 110
resourceGroupName: rg1
ruleGroupName: ruleGroup1
rules:
- action:
type: Deny
name: Example-Filter-Rule
ruleConditions:
- destinationIpGroups:
- /subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2
destinationPorts:
- '*'
ipProtocols:
- TCP
name: network-condition1
ruleConditionType: NetworkRuleCondition
sourceIpGroups:
- /subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1
ruleType: FirewallPolicyFilterRule
Create FirewallPolicyRuleGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FirewallPolicyRuleGroup(name: string, args: FirewallPolicyRuleGroupArgs, opts?: CustomResourceOptions);
@overload
def FirewallPolicyRuleGroup(resource_name: str,
args: FirewallPolicyRuleGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FirewallPolicyRuleGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
firewall_policy_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
priority: Optional[int] = None,
rule_group_name: Optional[str] = None,
rules: Optional[Sequence[Union[FirewallPolicyFilterRuleArgs, FirewallPolicyNatRuleArgs]]] = None)
func NewFirewallPolicyRuleGroup(ctx *Context, name string, args FirewallPolicyRuleGroupArgs, opts ...ResourceOption) (*FirewallPolicyRuleGroup, error)
public FirewallPolicyRuleGroup(string name, FirewallPolicyRuleGroupArgs args, CustomResourceOptions? opts = null)
public FirewallPolicyRuleGroup(String name, FirewallPolicyRuleGroupArgs args)
public FirewallPolicyRuleGroup(String name, FirewallPolicyRuleGroupArgs args, CustomResourceOptions options)
type: azure-native:network:FirewallPolicyRuleGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FirewallPolicyRuleGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FirewallPolicyRuleGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FirewallPolicyRuleGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirewallPolicyRuleGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FirewallPolicyRuleGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var firewallPolicyRuleGroupResource = new AzureNative.Network.FirewallPolicyRuleGroup("firewallPolicyRuleGroupResource", new()
{
FirewallPolicyName = "string",
ResourceGroupName = "string",
Id = "string",
Name = "string",
Priority = 0,
RuleGroupName = "string",
Rules = new[]
{
new AzureNative.Network.Inputs.FirewallPolicyFilterRuleArgs
{
RuleType = "FirewallPolicyFilterRule",
Action = new AzureNative.Network.Inputs.FirewallPolicyFilterRuleActionArgs
{
Type = "string",
},
Name = "string",
Priority = 0,
RuleConditions = new[]
{
new AzureNative.Network.Inputs.ApplicationRuleConditionArgs
{
RuleConditionType = "ApplicationRuleCondition",
Description = "string",
DestinationAddresses = new[]
{
"string",
},
FqdnTags = new[]
{
"string",
},
Name = "string",
Protocols = new[]
{
new AzureNative.Network.Inputs.FirewallPolicyRuleConditionApplicationProtocolArgs
{
Port = 0,
ProtocolType = "string",
},
},
SourceAddresses = new[]
{
"string",
},
SourceIpGroups = new[]
{
"string",
},
TargetFqdns = new[]
{
"string",
},
},
},
},
},
});
example, err := network.NewFirewallPolicyRuleGroup(ctx, "firewallPolicyRuleGroupResource", &network.FirewallPolicyRuleGroupArgs{
FirewallPolicyName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Priority: pulumi.Int(0),
RuleGroupName: pulumi.String("string"),
Rules: pulumi.Array{
network.FirewallPolicyFilterRule{
RuleType: "FirewallPolicyFilterRule",
Action: network.FirewallPolicyFilterRuleAction{
Type: "string",
},
Name: "string",
Priority: 0,
RuleConditions: []interface{}{
network.ApplicationRuleCondition{
RuleConditionType: "ApplicationRuleCondition",
Description: "string",
DestinationAddresses: []string{
"string",
},
FqdnTags: []string{
"string",
},
Name: "string",
Protocols: []network.FirewallPolicyRuleConditionApplicationProtocol{
{
Port: 0,
ProtocolType: "string",
},
},
SourceAddresses: []string{
"string",
},
SourceIpGroups: []string{
"string",
},
TargetFqdns: []string{
"string",
},
},
},
},
},
})
var firewallPolicyRuleGroupResource = new FirewallPolicyRuleGroup("firewallPolicyRuleGroupResource", FirewallPolicyRuleGroupArgs.builder()
.firewallPolicyName("string")
.resourceGroupName("string")
.id("string")
.name("string")
.priority(0)
.ruleGroupName("string")
.rules(FirewallPolicyFilterRuleArgs.builder()
.ruleType("FirewallPolicyFilterRule")
.action(FirewallPolicyFilterRuleActionArgs.builder()
.type("string")
.build())
.name("string")
.priority(0)
.ruleConditions(ApplicationRuleConditionArgs.builder()
.ruleConditionType("ApplicationRuleCondition")
.description("string")
.destinationAddresses("string")
.fqdnTags("string")
.name("string")
.protocols(FirewallPolicyRuleConditionApplicationProtocolArgs.builder()
.port(0)
.protocolType("string")
.build())
.sourceAddresses("string")
.sourceIpGroups("string")
.targetFqdns("string")
.build())
.build())
.build());
firewall_policy_rule_group_resource = azure_native.network.FirewallPolicyRuleGroup("firewallPolicyRuleGroupResource",
firewall_policy_name="string",
resource_group_name="string",
id="string",
name="string",
priority=0,
rule_group_name="string",
rules=[{
"ruleType": "FirewallPolicyFilterRule",
"action": {
"type": "string",
},
"name": "string",
"priority": 0,
"ruleConditions": [{
"ruleConditionType": "ApplicationRuleCondition",
"description": "string",
"destinationAddresses": ["string"],
"fqdnTags": ["string"],
"name": "string",
"protocols": [{
"port": 0,
"protocolType": "string",
}],
"sourceAddresses": ["string"],
"sourceIpGroups": ["string"],
"targetFqdns": ["string"],
}],
}])
const firewallPolicyRuleGroupResource = new azure_native.network.FirewallPolicyRuleGroup("firewallPolicyRuleGroupResource", {
firewallPolicyName: "string",
resourceGroupName: "string",
id: "string",
name: "string",
priority: 0,
ruleGroupName: "string",
rules: [{
ruleType: "FirewallPolicyFilterRule",
action: {
type: "string",
},
name: "string",
priority: 0,
ruleConditions: [{
ruleConditionType: "ApplicationRuleCondition",
description: "string",
destinationAddresses: ["string"],
fqdnTags: ["string"],
name: "string",
protocols: [{
port: 0,
protocolType: "string",
}],
sourceAddresses: ["string"],
sourceIpGroups: ["string"],
targetFqdns: ["string"],
}],
}],
});
type: azure-native:network:FirewallPolicyRuleGroup
properties:
firewallPolicyName: string
id: string
name: string
priority: 0
resourceGroupName: string
ruleGroupName: string
rules:
- action:
type: string
name: string
priority: 0
ruleConditions:
- description: string
destinationAddresses:
- string
fqdnTags:
- string
name: string
protocols:
- port: 0
protocolType: string
ruleConditionType: ApplicationRuleCondition
sourceAddresses:
- string
sourceIpGroups:
- string
targetFqdns:
- string
ruleType: FirewallPolicyFilterRule
FirewallPolicyRuleGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The FirewallPolicyRuleGroup resource accepts the following input properties:
- Firewall
Policy stringName - The name of the Firewall Policy.
- Resource
Group stringName - The name of the resource group.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Priority int
- Priority of the Firewall Policy Rule Group resource.
- Rule
Group stringName - The name of the FirewallPolicyRuleGroup.
- Rules
List<Union<Pulumi.
Azure Native. Network. Inputs. Firewall Policy Filter Rule, Pulumi. Azure Native. Network. Inputs. Firewall Policy Nat Rule Args>> - Group of Firewall Policy rules.
- Firewall
Policy stringName - The name of the Firewall Policy.
- Resource
Group stringName - The name of the resource group.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Priority int
- Priority of the Firewall Policy Rule Group resource.
- Rule
Group stringName - The name of the FirewallPolicyRuleGroup.
- Rules []interface{}
- Group of Firewall Policy rules.
- firewall
Policy StringName - The name of the Firewall Policy.
- resource
Group StringName - The name of the resource group.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- priority Integer
- Priority of the Firewall Policy Rule Group resource.
- rule
Group StringName - The name of the FirewallPolicyRuleGroup.
- rules
List<Either<Firewall
Policy Filter Rule,Firewall Policy Nat Rule Args>> - Group of Firewall Policy rules.
- firewall
Policy stringName - The name of the Firewall Policy.
- resource
Group stringName - The name of the resource group.
- id string
- Resource ID.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- priority number
- Priority of the Firewall Policy Rule Group resource.
- rule
Group stringName - The name of the FirewallPolicyRuleGroup.
- rules
(Firewall
Policy Filter Rule | Firewall Policy Nat Rule Args)[] - Group of Firewall Policy rules.
- firewall_
policy_ strname - The name of the Firewall Policy.
- resource_
group_ strname - The name of the resource group.
- id str
- Resource ID.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- priority int
- Priority of the Firewall Policy Rule Group resource.
- rule_
group_ strname - The name of the FirewallPolicyRuleGroup.
- rules
Sequence[Union[Firewall
Policy Filter Rule Args, Firewall Policy Nat Rule Args]] - Group of Firewall Policy rules.
- firewall
Policy StringName - The name of the Firewall Policy.
- resource
Group StringName - The name of the resource group.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- priority Number
- Priority of the Firewall Policy Rule Group resource.
- rule
Group StringName - The name of the FirewallPolicyRuleGroup.
- rules List<Property Map | Property Map>
- Group of Firewall Policy rules.
Outputs
All input properties are implicitly available as output properties. Additionally, the FirewallPolicyRuleGroup resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the firewall policy rule group resource.
- Type string
- Rule Group type.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the firewall policy rule group resource.
- Type string
- Rule Group type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the firewall policy rule group resource.
- type String
- Rule Group type.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning state of the firewall policy rule group resource.
- type string
- Rule Group type.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
state str - The provisioning state of the firewall policy rule group resource.
- type str
- Rule Group type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the firewall policy rule group resource.
- type String
- Rule Group type.
Supporting Types
ApplicationRuleCondition, ApplicationRuleConditionArgs
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- List<string>
- List of FQDN Tags for this rule condition.
- Name string
- Name of the rule condition.
- Protocols
List<Pulumi.
Azure Native. Network. Inputs. Firewall Policy Rule Condition Application Protocol> - Array of Application Protocols.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Target
Fqdns List<string> - List of FQDNs for this rule condition.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- []string
- List of FQDN Tags for this rule condition.
- Name string
- Name of the rule condition.
- Protocols
[]Firewall
Policy Rule Condition Application Protocol - Array of Application Protocols.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- Target
Fqdns []string - List of FQDNs for this rule condition.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- List<String>
- List of FQDN Tags for this rule condition.
- name String
- Name of the rule condition.
- protocols
List<Firewall
Policy Rule Condition Application Protocol> - Array of Application Protocols.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- target
Fqdns List<String> - List of FQDNs for this rule condition.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- string[]
- List of FQDN Tags for this rule condition.
- name string
- Name of the rule condition.
- protocols
Firewall
Policy Rule Condition Application Protocol[] - Array of Application Protocols.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- target
Fqdns string[] - List of FQDNs for this rule condition.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- Sequence[str]
- List of FQDN Tags for this rule condition.
- name str
- Name of the rule condition.
- protocols
Sequence[Firewall
Policy Rule Condition Application Protocol] - Array of Application Protocols.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- target_
fqdns Sequence[str] - List of FQDNs for this rule condition.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- List<String>
- List of FQDN Tags for this rule condition.
- name String
- Name of the rule condition.
- protocols List<Property Map>
- Array of Application Protocols.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- target
Fqdns List<String> - List of FQDNs for this rule condition.
ApplicationRuleConditionResponse, ApplicationRuleConditionResponseArgs
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- List<string>
- List of FQDN Tags for this rule condition.
- Name string
- Name of the rule condition.
- Protocols
List<Pulumi.
Azure Native. Network. Inputs. Firewall Policy Rule Condition Application Protocol Response> - Array of Application Protocols.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Target
Fqdns List<string> - List of FQDNs for this rule condition.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- []string
- List of FQDN Tags for this rule condition.
- Name string
- Name of the rule condition.
- Protocols
[]Firewall
Policy Rule Condition Application Protocol Response - Array of Application Protocols.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- Target
Fqdns []string - List of FQDNs for this rule condition.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- List<String>
- List of FQDN Tags for this rule condition.
- name String
- Name of the rule condition.
- protocols
List<Firewall
Policy Rule Condition Application Protocol Response> - Array of Application Protocols.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- target
Fqdns List<String> - List of FQDNs for this rule condition.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- string[]
- List of FQDN Tags for this rule condition.
- name string
- Name of the rule condition.
- protocols
Firewall
Policy Rule Condition Application Protocol Response[] - Array of Application Protocols.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- target
Fqdns string[] - List of FQDNs for this rule condition.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- Sequence[str]
- List of FQDN Tags for this rule condition.
- name str
- Name of the rule condition.
- protocols
Sequence[Firewall
Policy Rule Condition Application Protocol Response] - Array of Application Protocols.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- target_
fqdns Sequence[str] - List of FQDNs for this rule condition.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- List<String>
- List of FQDN Tags for this rule condition.
- name String
- Name of the rule condition.
- protocols List<Property Map>
- Array of Application Protocols.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- target
Fqdns List<String> - List of FQDNs for this rule condition.
FirewallPolicyFilterRule, FirewallPolicyFilterRuleArgs
- Action
Pulumi.
Azure Native. Network. Inputs. Firewall Policy Filter Rule Action - The action type of a Filter rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Conditions List<object> - Collection of rule conditions used by a rule.
- Action
Firewall
Policy Filter Rule Action - The action type of a Filter rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Conditions []interface{} - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action - The action type of a Filter rule.
- name String
- The name of the rule.
- priority Integer
- Priority of the Firewall Policy Rule resource.
- rule
Conditions List<Object> - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action - The action type of a Filter rule.
- name string
- The name of the rule.
- priority number
- Priority of the Firewall Policy Rule resource.
- rule
Conditions (ApplicationRule Condition | Nat Rule Condition | Network Rule Condition)[] - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action - The action type of a Filter rule.
- name str
- The name of the rule.
- priority int
- Priority of the Firewall Policy Rule resource.
- rule_
conditions Sequence[Union[ApplicationRule Condition, Nat Rule Condition, Network Rule Condition]] - Collection of rule conditions used by a rule.
- action Property Map
- The action type of a Filter rule.
- name String
- The name of the rule.
- priority Number
- Priority of the Firewall Policy Rule resource.
- rule
Conditions List<Property Map | Property Map | Property Map> - Collection of rule conditions used by a rule.
FirewallPolicyFilterRuleAction, FirewallPolicyFilterRuleActionArgs
- Type
string | Pulumi.
Azure Native. Network. Firewall Policy Filter Rule Action Type - The type of action.
- Type
string | Firewall
Policy Filter Rule Action Type - The type of action.
- type
String | Firewall
Policy Filter Rule Action Type - The type of action.
- type
string | Firewall
Policy Filter Rule Action Type - The type of action.
- type
str | Firewall
Policy Filter Rule Action Type - The type of action.
- type String | "Allow" | "Deny"
- The type of action.
FirewallPolicyFilterRuleActionResponse, FirewallPolicyFilterRuleActionResponseArgs
- Type string
- The type of action.
- Type string
- The type of action.
- type String
- The type of action.
- type string
- The type of action.
- type str
- The type of action.
- type String
- The type of action.
FirewallPolicyFilterRuleActionType, FirewallPolicyFilterRuleActionTypeArgs
- Allow
- Allow
- Deny
- Deny
- Firewall
Policy Filter Rule Action Type Allow - Allow
- Firewall
Policy Filter Rule Action Type Deny - Deny
- Allow
- Allow
- Deny
- Deny
- Allow
- Allow
- Deny
- Deny
- ALLOW
- Allow
- DENY
- Deny
- "Allow"
- Allow
- "Deny"
- Deny
FirewallPolicyFilterRuleResponse, FirewallPolicyFilterRuleResponseArgs
- Action
Pulumi.
Azure Native. Network. Inputs. Firewall Policy Filter Rule Action Response - The action type of a Filter rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Conditions List<object> - Collection of rule conditions used by a rule.
- Action
Firewall
Policy Filter Rule Action Response - The action type of a Filter rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Conditions []interface{} - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action Response - The action type of a Filter rule.
- name String
- The name of the rule.
- priority Integer
- Priority of the Firewall Policy Rule resource.
- rule
Conditions List<Object> - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action Response - The action type of a Filter rule.
- name string
- The name of the rule.
- priority number
- Priority of the Firewall Policy Rule resource.
- rule
Conditions (ApplicationRule Condition Response | Nat Rule Condition Response | Network Rule Condition Response)[] - Collection of rule conditions used by a rule.
- action
Firewall
Policy Filter Rule Action Response - The action type of a Filter rule.
- name str
- The name of the rule.
- priority int
- Priority of the Firewall Policy Rule resource.
- rule_
conditions Sequence[Union[ApplicationRule Condition Response, Nat Rule Condition Response, Network Rule Condition Response]] - Collection of rule conditions used by a rule.
- action Property Map
- The action type of a Filter rule.
- name String
- The name of the rule.
- priority Number
- Priority of the Firewall Policy Rule resource.
- rule
Conditions List<Property Map | Property Map | Property Map> - Collection of rule conditions used by a rule.
FirewallPolicyNatRule, FirewallPolicyNatRuleArgs
- Action
Pulumi.
Azure Native. Network. Inputs. Firewall Policy Nat Rule Action - The action type of a Nat rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Condition Pulumi.Azure | Pulumi.Native. Network. Inputs. Application Rule Condition Azure | Pulumi.Native. Network. Inputs. Nat Rule Condition Azure Native. Network. Inputs. Network Rule Condition - The match conditions for incoming traffic.
- Translated
Address string - The translated address for this NAT rule.
- Translated
Port string - The translated port for this NAT rule.
- Action
Firewall
Policy Nat Rule Action - The action type of a Nat rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Condition ApplicationRule | NatCondition Rule | NetworkCondition Rule Condition - The match conditions for incoming traffic.
- Translated
Address string - The translated address for this NAT rule.
- Translated
Port string - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action - The action type of a Nat rule.
- name String
- The name of the rule.
- priority Integer
- Priority of the Firewall Policy Rule resource.
- rule
Condition ApplicationRule | NatCondition Rule | NetworkCondition Rule Condition - The match conditions for incoming traffic.
- translated
Address String - The translated address for this NAT rule.
- translated
Port String - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action - The action type of a Nat rule.
- name string
- The name of the rule.
- priority number
- Priority of the Firewall Policy Rule resource.
- rule
Condition ApplicationRule | NatCondition Rule | NetworkCondition Rule Condition - The match conditions for incoming traffic.
- translated
Address string - The translated address for this NAT rule.
- translated
Port string - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action - The action type of a Nat rule.
- name str
- The name of the rule.
- priority int
- Priority of the Firewall Policy Rule resource.
- rule_
condition ApplicationRule | NatCondition Rule | NetworkCondition Rule Condition - The match conditions for incoming traffic.
- translated_
address str - The translated address for this NAT rule.
- translated_
port str - The translated port for this NAT rule.
- action Property Map
- The action type of a Nat rule.
- name String
- The name of the rule.
- priority Number
- Priority of the Firewall Policy Rule resource.
- rule
Condition Property Map | Property Map | Property Map - The match conditions for incoming traffic.
- translated
Address String - The translated address for this NAT rule.
- translated
Port String - The translated port for this NAT rule.
FirewallPolicyNatRuleAction, FirewallPolicyNatRuleActionArgs
- Type
string | Pulumi.
Azure Native. Network. Firewall Policy Nat Rule Action Type - The type of action.
- Type
string | Firewall
Policy Nat Rule Action Type - The type of action.
- type
String | Firewall
Policy Nat Rule Action Type - The type of action.
- type
string | Firewall
Policy Nat Rule Action Type - The type of action.
- type
str | Firewall
Policy Nat Rule Action Type - The type of action.
FirewallPolicyNatRuleActionResponse, FirewallPolicyNatRuleActionResponseArgs
- Type string
- The type of action.
- Type string
- The type of action.
- type String
- The type of action.
- type string
- The type of action.
- type str
- The type of action.
- type String
- The type of action.
FirewallPolicyNatRuleActionType, FirewallPolicyNatRuleActionTypeArgs
- DNAT
- DNAT
- Firewall
Policy Nat Rule Action Type DNAT - DNAT
- DNAT
- DNAT
- DNAT
- DNAT
- DNAT
- DNAT
- "DNAT"
- DNAT
FirewallPolicyNatRuleResponse, FirewallPolicyNatRuleResponseArgs
- Action
Pulumi.
Azure Native. Network. Inputs. Firewall Policy Nat Rule Action Response - The action type of a Nat rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Condition Pulumi.Azure | Pulumi.Native. Network. Inputs. Application Rule Condition Response Azure | Pulumi.Native. Network. Inputs. Nat Rule Condition Response Azure Native. Network. Inputs. Network Rule Condition Response - The match conditions for incoming traffic.
- Translated
Address string - The translated address for this NAT rule.
- Translated
Port string - The translated port for this NAT rule.
- Action
Firewall
Policy Nat Rule Action Response - The action type of a Nat rule.
- Name string
- The name of the rule.
- Priority int
- Priority of the Firewall Policy Rule resource.
- Rule
Condition ApplicationRule | NatCondition Response Rule | NetworkCondition Response Rule Condition Response - The match conditions for incoming traffic.
- Translated
Address string - The translated address for this NAT rule.
- Translated
Port string - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action Response - The action type of a Nat rule.
- name String
- The name of the rule.
- priority Integer
- Priority of the Firewall Policy Rule resource.
- rule
Condition ApplicationRule | NatCondition Response Rule | NetworkCondition Response Rule Condition Response - The match conditions for incoming traffic.
- translated
Address String - The translated address for this NAT rule.
- translated
Port String - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action Response - The action type of a Nat rule.
- name string
- The name of the rule.
- priority number
- Priority of the Firewall Policy Rule resource.
- rule
Condition ApplicationRule | NatCondition Response Rule | NetworkCondition Response Rule Condition Response - The match conditions for incoming traffic.
- translated
Address string - The translated address for this NAT rule.
- translated
Port string - The translated port for this NAT rule.
- action
Firewall
Policy Nat Rule Action Response - The action type of a Nat rule.
- name str
- The name of the rule.
- priority int
- Priority of the Firewall Policy Rule resource.
- rule_
condition ApplicationRule | NatCondition Response Rule | NetworkCondition Response Rule Condition Response - The match conditions for incoming traffic.
- translated_
address str - The translated address for this NAT rule.
- translated_
port str - The translated port for this NAT rule.
- action Property Map
- The action type of a Nat rule.
- name String
- The name of the rule.
- priority Number
- Priority of the Firewall Policy Rule resource.
- rule
Condition Property Map | Property Map | Property Map - The match conditions for incoming traffic.
- translated
Address String - The translated address for this NAT rule.
- translated
Port String - The translated port for this NAT rule.
FirewallPolicyRuleConditionApplicationProtocol, FirewallPolicyRuleConditionApplicationProtocolArgs
- Port int
- Port number for the protocol, cannot be greater than 64000.
- Protocol
Type string | Pulumi.Azure Native. Network. Firewall Policy Rule Condition Application Protocol Type - Protocol type.
- Port int
- Port number for the protocol, cannot be greater than 64000.
- Protocol
Type string | FirewallPolicy Rule Condition Application Protocol Type - Protocol type.
- port Integer
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type String | FirewallPolicy Rule Condition Application Protocol Type - Protocol type.
- port number
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type string | FirewallPolicy Rule Condition Application Protocol Type - Protocol type.
- port int
- Port number for the protocol, cannot be greater than 64000.
- protocol_
type str | FirewallPolicy Rule Condition Application Protocol Type - Protocol type.
- port Number
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type String | "Http" | "Https" - Protocol type.
FirewallPolicyRuleConditionApplicationProtocolResponse, FirewallPolicyRuleConditionApplicationProtocolResponseArgs
- Port int
- Port number for the protocol, cannot be greater than 64000.
- Protocol
Type string - Protocol type.
- Port int
- Port number for the protocol, cannot be greater than 64000.
- Protocol
Type string - Protocol type.
- port Integer
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type String - Protocol type.
- port number
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type string - Protocol type.
- port int
- Port number for the protocol, cannot be greater than 64000.
- protocol_
type str - Protocol type.
- port Number
- Port number for the protocol, cannot be greater than 64000.
- protocol
Type String - Protocol type.
FirewallPolicyRuleConditionApplicationProtocolType, FirewallPolicyRuleConditionApplicationProtocolTypeArgs
- Http
- Http
- Https
- Https
- Firewall
Policy Rule Condition Application Protocol Type Http - Http
- Firewall
Policy Rule Condition Application Protocol Type Https - Https
- Http
- Http
- Https
- Https
- Http
- Http
- Https
- Https
- HTTP
- Http
- HTTPS
- Https
- "Http"
- Http
- "Https"
- Https
FirewallPolicyRuleConditionNetworkProtocol, FirewallPolicyRuleConditionNetworkProtocolArgs
- TCP
- TCP
- UDP
- UDP
- Any
- Any
- ICMP
- ICMP
- Firewall
Policy Rule Condition Network Protocol TCP - TCP
- Firewall
Policy Rule Condition Network Protocol UDP - UDP
- Firewall
Policy Rule Condition Network Protocol Any - Any
- Firewall
Policy Rule Condition Network Protocol ICMP - ICMP
- TCP
- TCP
- UDP
- UDP
- Any
- Any
- ICMP
- ICMP
- TCP
- TCP
- UDP
- UDP
- Any
- Any
- ICMP
- ICMP
- TCP
- TCP
- UDP
- UDP
- ANY
- Any
- ICMP
- ICMP
- "TCP"
- TCP
- "UDP"
- UDP
- "Any"
- Any
- "ICMP"
- ICMP
NatRuleCondition, NatRuleConditionArgs
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- Destination
Ports List<string> - List of destination ports.
- Ip
Protocols List<Union<string, Pulumi.Azure Native. Network. Firewall Policy Rule Condition Network Protocol>> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- Destination
Ports []string - List of destination ports.
- Ip
Protocols []string - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<Either<String,FirewallPolicy Rule Condition Network Protocol>> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- destination
Ports string[] - List of destination ports.
- ip
Protocols (string | FirewallPolicy Rule Condition Network Protocol)[] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name string
- Name of the rule condition.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- destination_
ports Sequence[str] - List of destination ports.
- ip_
protocols Sequence[Union[str, FirewallPolicy Rule Condition Network Protocol]] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name str
- Name of the rule condition.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String | "TCP" | "UDP" | "Any" | "ICMP"> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
NatRuleConditionResponse, NatRuleConditionResponseArgs
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- Destination
Ports List<string> - List of destination ports.
- Ip
Protocols List<string> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- Destination
Ports []string - List of destination ports.
- Ip
Protocols []string - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- destination
Ports string[] - List of destination ports.
- ip
Protocols string[] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name string
- Name of the rule condition.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- destination_
ports Sequence[str] - List of destination ports.
- ip_
protocols Sequence[str] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name str
- Name of the rule condition.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
NetworkRuleCondition, NetworkRuleConditionArgs
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- Destination
Ip List<string>Groups - List of destination IpGroups for this rule.
- Destination
Ports List<string> - List of destination ports.
- Ip
Protocols List<Union<string, Pulumi.Azure Native. Network. Firewall Policy Rule Condition Network Protocol>> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- Destination
Ip []stringGroups - List of destination IpGroups for this rule.
- Destination
Ports []string - List of destination ports.
- Ip
Protocols []string - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ip List<String>Groups - List of destination IpGroups for this rule.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<Either<String,FirewallPolicy Rule Condition Network Protocol>> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- destination
Ip string[]Groups - List of destination IpGroups for this rule.
- destination
Ports string[] - List of destination ports.
- ip
Protocols (string | FirewallPolicy Rule Condition Network Protocol)[] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name string
- Name of the rule condition.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- destination_
ip_ Sequence[str]groups - List of destination IpGroups for this rule.
- destination_
ports Sequence[str] - List of destination ports.
- ip_
protocols Sequence[Union[str, FirewallPolicy Rule Condition Network Protocol]] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name str
- Name of the rule condition.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ip List<String>Groups - List of destination IpGroups for this rule.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String | "TCP" | "UDP" | "Any" | "ICMP"> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
NetworkRuleConditionResponse, NetworkRuleConditionResponseArgs
- Description string
- Description of the rule condition.
- Destination
Addresses List<string> - List of destination IP addresses or Service Tags.
- Destination
Ip List<string>Groups - List of destination IpGroups for this rule.
- Destination
Ports List<string> - List of destination ports.
- Ip
Protocols List<string> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses List<string> - List of source IP addresses for this rule.
- Source
Ip List<string>Groups - List of source IpGroups for this rule.
- Description string
- Description of the rule condition.
- Destination
Addresses []string - List of destination IP addresses or Service Tags.
- Destination
Ip []stringGroups - List of destination IpGroups for this rule.
- Destination
Ports []string - List of destination ports.
- Ip
Protocols []string - Array of FirewallPolicyRuleConditionNetworkProtocols.
- Name string
- Name of the rule condition.
- Source
Addresses []string - List of source IP addresses for this rule.
- Source
Ip []stringGroups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ip List<String>Groups - List of destination IpGroups for this rule.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
- description string
- Description of the rule condition.
- destination
Addresses string[] - List of destination IP addresses or Service Tags.
- destination
Ip string[]Groups - List of destination IpGroups for this rule.
- destination
Ports string[] - List of destination ports.
- ip
Protocols string[] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name string
- Name of the rule condition.
- source
Addresses string[] - List of source IP addresses for this rule.
- source
Ip string[]Groups - List of source IpGroups for this rule.
- description str
- Description of the rule condition.
- destination_
addresses Sequence[str] - List of destination IP addresses or Service Tags.
- destination_
ip_ Sequence[str]groups - List of destination IpGroups for this rule.
- destination_
ports Sequence[str] - List of destination ports.
- ip_
protocols Sequence[str] - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name str
- Name of the rule condition.
- source_
addresses Sequence[str] - List of source IP addresses for this rule.
- source_
ip_ Sequence[str]groups - List of source IpGroups for this rule.
- description String
- Description of the rule condition.
- destination
Addresses List<String> - List of destination IP addresses or Service Tags.
- destination
Ip List<String>Groups - List of destination IpGroups for this rule.
- destination
Ports List<String> - List of destination ports.
- ip
Protocols List<String> - Array of FirewallPolicyRuleConditionNetworkProtocols.
- name String
- Name of the rule condition.
- source
Addresses List<String> - List of source IP addresses for this rule.
- source
Ip List<String>Groups - List of source IpGroups for this rule.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:FirewallPolicyRuleGroup ruleGroup1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0