azure-native.network.FirewallPolicyRuleGroup
Explore with Pulumi AI
Rule Group resource. API Version: 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 = "Deny",
},
Name = "Example-Filter-Rule",
RuleConditions = new[]
{
new AzureNative.Network.Inputs.NetworkRuleConditionArgs
{
DestinationAddresses = new[]
{
"*",
},
DestinationPorts = new[]
{
"*",
},
IpProtocols = new[]
{
"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"
"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.AnyArray{
network.FirewallPolicyFilterRule{
Action: network.FirewallPolicyFilterRuleAction{
Type: "Deny",
},
Name: "Example-Filter-Rule",
RuleConditions: []interface{}{
network.NetworkRuleCondition{
DestinationAddresses: []string{
"*",
},
DestinationPorts: []string{
"*",
},
IpProtocols: []network.FirewallPolicyRuleConditionNetworkProtocol{
"TCP",
},
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(Map.ofEntries(
Map.entry("action", Map.of("type", "Deny")),
Map.entry("name", "Example-Filter-Rule"),
Map.entry("ruleConditions", Map.ofEntries(
Map.entry("destinationAddresses", "*"),
Map.entry("destinationPorts", "*"),
Map.entry("ipProtocols", "TCP"),
Map.entry("name", "network-condition1"),
Map.entry("ruleConditionType", "NetworkRuleCondition"),
Map.entry("sourceAddresses", "10.1.25.0/24")
)),
Map.entry("ruleType", "FirewallPolicyFilterRule")
))
.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=[azure_native.network.FirewallPolicyFilterRuleArgs(
action=azure_native.network.FirewallPolicyFilterRuleActionArgs(
type="Deny",
),
name="Example-Filter-Rule",
rule_conditions=[azure_native.network.NetworkRuleConditionArgs(
destination_addresses=["*"],
destination_ports=["*"],
ip_protocols=["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: "Deny",
},
name: "Example-Filter-Rule",
ruleConditions: [{
destinationAddresses: ["*"],
destinationPorts: ["*"],
ipProtocols: ["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 = "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[]
{
"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"
"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.AnyArray{
network.FirewallPolicyFilterRule{
Action: network.FirewallPolicyFilterRuleAction{
Type: "Deny",
},
Name: "Example-Filter-Rule",
RuleConditions: []interface{}{
network.NetworkRuleCondition{
DestinationIpGroups: []string{
"/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2",
},
DestinationPorts: []string{
"*",
},
IpProtocols: []network.FirewallPolicyRuleConditionNetworkProtocol{
"TCP",
},
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(Map.ofEntries(
Map.entry("action", Map.of("type", "Deny")),
Map.entry("name", "Example-Filter-Rule"),
Map.entry("ruleConditions", Map.ofEntries(
Map.entry("destinationIpGroups", "/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2"),
Map.entry("destinationPorts", "*"),
Map.entry("ipProtocols", "TCP"),
Map.entry("name", "network-condition1"),
Map.entry("ruleConditionType", "NetworkRuleCondition"),
Map.entry("sourceIpGroups", "/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups1")
)),
Map.entry("ruleType", "FirewallPolicyFilterRule")
))
.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=[azure_native.network.FirewallPolicyFilterRuleArgs(
action=azure_native.network.FirewallPolicyFilterRuleActionArgs(
type="Deny",
),
name="Example-Filter-Rule",
rule_conditions=[azure_native.network.NetworkRuleConditionArgs(
destination_ip_groups=["/subscriptions/subid/providers/Microsoft.Network/resourceGroup/rg1/ipGroups/ipGroups2"],
destination_ports=["*"],
ip_protocols=["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: "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",
}],
});
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[]
{
{
{ "ruleType", "FirewallPolicyFilterRule" },
{ "action",
{
{ "type", "string" },
} },
{ "name", "string" },
{ "priority", 0 },
{ "ruleConditions", new[]
{
{
{ "ruleConditionType", "ApplicationRuleCondition" },
{ "description", "string" },
{ "destinationAddresses", new[]
{
"string",
} },
{ "fqdnTags", new[]
{
"string",
} },
{ "name", "string" },
{ "protocols", new[]
{
{
{ "port", 0 },
{ "protocolType", "string" },
},
} },
{ "sourceAddresses", new[]
{
"string",
} },
{ "sourceIpGroups", new[]
{
"string",
} },
{ "targetFqdns", new[]
{
"string",
} },
},
} },
},
},
});
example, err := network.NewFirewallPolicyRuleGroup(ctx, "firewallPolicyRuleGroupResource", &network.FirewallPolicyRuleGroupArgs{
FirewallPolicyName: "string",
ResourceGroupName: "string",
Id: "string",
Name: "string",
Priority: 0,
RuleGroupName: "string",
Rules: []map[string]interface{}{
map[string]interface{}{
"ruleType": "FirewallPolicyFilterRule",
"action": map[string]interface{}{
"type": "string",
},
"name": "string",
"priority": 0,
"ruleConditions": []map[string]interface{}{
map[string]interface{}{
"ruleConditionType": "ApplicationRuleCondition",
"description": "string",
"destinationAddresses": []string{
"string",
},
"fqdnTags": []string{
"string",
},
"name": "string",
"protocols": []map[string]interface{}{
map[string]interface{}{
"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(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0