The NetworkTapRule resource definition.
Uses Azure REST API version 2023-06-15. In version 2.x of the Azure Native provider, it used API version 2023-06-15.
Other available API versions: 2024-02-15-preview, 2024-06-15-preview, 2025-07-15. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native managednetworkfabric [ApiVersion]. See the version guide for details.
Example Usage
NetworkTapRules_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var networkTapRule = new AzureNative.ManagedNetworkFabric.NetworkTapRule("networkTapRule", new()
{
Annotation = "annotation",
ConfigurationType = AzureNative.ManagedNetworkFabric.ConfigurationType.File,
DynamicMatchConfigurations = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.CommonDynamicMatchConfigurationArgs
{
IpGroups = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.IpGroupPropertiesArgs
{
IpAddressType = AzureNative.ManagedNetworkFabric.IPAddressType.IPv4,
IpPrefixes = new[]
{
"10.10.10.10/30",
},
Name = "example-ipGroup1",
},
},
PortGroups = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.PortGroupPropertiesArgs
{
Name = "example-portGroup1",
Ports = new[]
{
"100-200",
},
},
new AzureNative.ManagedNetworkFabric.Inputs.PortGroupPropertiesArgs
{
Name = "example-portGroup2",
Ports = new[]
{
"900",
"1000-2000",
},
},
},
VlanGroups = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.VlanGroupPropertiesArgs
{
Name = "exmaple-vlanGroup",
Vlans = new[]
{
"10",
"100-200",
},
},
},
},
},
Location = "eastus",
MatchConfigurations = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.NetworkTapRuleMatchConfigurationArgs
{
Actions = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.NetworkTapRuleActionArgs
{
DestinationId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup",
IsTimestampEnabled = AzureNative.ManagedNetworkFabric.BooleanEnumProperty.True,
MatchConfigurationName = "match1",
Truncate = "100",
Type = AzureNative.ManagedNetworkFabric.TapRuleActionType.Drop,
},
},
IpAddressType = AzureNative.ManagedNetworkFabric.IPAddressType.IPv4,
MatchConditions = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.NetworkTapRuleMatchConditionArgs
{
EncapsulationType = AzureNative.ManagedNetworkFabric.EncapsulationType.None,
IpCondition = new AzureNative.ManagedNetworkFabric.Inputs.IpMatchConditionArgs
{
IpGroupNames = new[]
{
"example-ipGroup",
},
IpPrefixValues = new[]
{
"10.10.10.10/20",
},
PrefixType = AzureNative.ManagedNetworkFabric.PrefixType.Prefix,
Type = AzureNative.ManagedNetworkFabric.SourceDestinationType.SourceIP,
},
PortCondition = new AzureNative.ManagedNetworkFabric.Inputs.PortConditionArgs
{
Layer4Protocol = AzureNative.ManagedNetworkFabric.Layer4Protocol.TCP,
PortGroupNames = new[]
{
"example-portGroup1",
},
PortType = AzureNative.ManagedNetworkFabric.PortType.SourcePort,
Ports = new[]
{
"100",
},
},
ProtocolTypes = new[]
{
"TCP",
},
VlanMatchCondition = new AzureNative.ManagedNetworkFabric.Inputs.VlanMatchConditionArgs
{
InnerVlans = new[]
{
"11-20",
},
VlanGroupNames = new[]
{
"exmaple-vlanGroup",
},
Vlans = new[]
{
"10",
},
},
},
},
MatchConfigurationName = "config1",
SequenceNumber = 10.0,
},
},
NetworkTapRuleName = "example-tapRule",
PollingIntervalInSeconds = 30,
ResourceGroupName = "example-rg",
Tags =
{
{ "keyID", "keyValue" },
},
TapRulesUrl = "https://microsoft.com/a",
});
});
package main
import (
managednetworkfabric "github.com/pulumi/pulumi-azure-native-sdk/managednetworkfabric/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := managednetworkfabric.NewNetworkTapRule(ctx, "networkTapRule", &managednetworkfabric.NetworkTapRuleArgs{
Annotation: pulumi.String("annotation"),
ConfigurationType: pulumi.String(managednetworkfabric.ConfigurationTypeFile),
DynamicMatchConfigurations: managednetworkfabric.CommonDynamicMatchConfigurationArray{
&managednetworkfabric.CommonDynamicMatchConfigurationArgs{
IpGroups: managednetworkfabric.IpGroupPropertiesArray{
&managednetworkfabric.IpGroupPropertiesArgs{
IpAddressType: pulumi.String(managednetworkfabric.IPAddressTypeIPv4),
IpPrefixes: pulumi.StringArray{
pulumi.String("10.10.10.10/30"),
},
Name: pulumi.String("example-ipGroup1"),
},
},
PortGroups: managednetworkfabric.PortGroupPropertiesArray{
&managednetworkfabric.PortGroupPropertiesArgs{
Name: pulumi.String("example-portGroup1"),
Ports: pulumi.StringArray{
pulumi.String("100-200"),
},
},
&managednetworkfabric.PortGroupPropertiesArgs{
Name: pulumi.String("example-portGroup2"),
Ports: pulumi.StringArray{
pulumi.String("900"),
pulumi.String("1000-2000"),
},
},
},
VlanGroups: managednetworkfabric.VlanGroupPropertiesArray{
&managednetworkfabric.VlanGroupPropertiesArgs{
Name: pulumi.String("exmaple-vlanGroup"),
Vlans: pulumi.StringArray{
pulumi.String("10"),
pulumi.String("100-200"),
},
},
},
},
},
Location: pulumi.String("eastus"),
MatchConfigurations: managednetworkfabric.NetworkTapRuleMatchConfigurationArray{
&managednetworkfabric.NetworkTapRuleMatchConfigurationArgs{
Actions: managednetworkfabric.NetworkTapRuleActionArray{
&managednetworkfabric.NetworkTapRuleActionArgs{
DestinationId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup"),
IsTimestampEnabled: pulumi.String(managednetworkfabric.BooleanEnumPropertyTrue),
MatchConfigurationName: pulumi.String("match1"),
Truncate: pulumi.String("100"),
Type: pulumi.String(managednetworkfabric.TapRuleActionTypeDrop),
},
},
IpAddressType: pulumi.String(managednetworkfabric.IPAddressTypeIPv4),
MatchConditions: managednetworkfabric.NetworkTapRuleMatchConditionArray{
&managednetworkfabric.NetworkTapRuleMatchConditionArgs{
EncapsulationType: pulumi.String(managednetworkfabric.EncapsulationTypeNone),
IpCondition: &managednetworkfabric.IpMatchConditionArgs{
IpGroupNames: pulumi.StringArray{
pulumi.String("example-ipGroup"),
},
IpPrefixValues: pulumi.StringArray{
pulumi.String("10.10.10.10/20"),
},
PrefixType: pulumi.String(managednetworkfabric.PrefixTypePrefix),
Type: pulumi.String(managednetworkfabric.SourceDestinationTypeSourceIP),
},
PortCondition: &managednetworkfabric.PortConditionArgs{
Layer4Protocol: pulumi.String(managednetworkfabric.Layer4ProtocolTCP),
PortGroupNames: pulumi.StringArray{
pulumi.String("example-portGroup1"),
},
PortType: pulumi.String(managednetworkfabric.PortTypeSourcePort),
Ports: pulumi.StringArray{
pulumi.String("100"),
},
},
ProtocolTypes: pulumi.StringArray{
pulumi.String("TCP"),
},
VlanMatchCondition: &managednetworkfabric.VlanMatchConditionArgs{
InnerVlans: pulumi.StringArray{
pulumi.String("11-20"),
},
VlanGroupNames: pulumi.StringArray{
pulumi.String("exmaple-vlanGroup"),
},
Vlans: pulumi.StringArray{
pulumi.String("10"),
},
},
},
},
MatchConfigurationName: pulumi.String("config1"),
SequenceNumber: pulumi.Float64(10),
},
},
NetworkTapRuleName: pulumi.String("example-tapRule"),
PollingIntervalInSeconds: pulumi.Int(30),
ResourceGroupName: pulumi.String("example-rg"),
Tags: pulumi.StringMap{
"keyID": pulumi.String("keyValue"),
},
TapRulesUrl: pulumi.String("https://microsoft.com/a"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_managednetworkfabric_network_tap_rule" "networkTapRule" {
lifecycle {
create_before_destroy = true
}
annotation = "annotation"
configuration_type = "File"
dynamic_match_configurations {
ip_groups {
ip_address_type = "IPv4"
ip_prefixes = ["10.10.10.10/30"]
name = "example-ipGroup1"
}
port_groups {
name = "example-portGroup1"
ports = ["100-200"]
}
port_groups {
name = "example-portGroup2"
ports = ["900", "1000-2000"]
}
vlan_groups {
name = "exmaple-vlanGroup"
vlans = ["10", "100-200"]
}
}
location = "eastus"
match_configurations {
actions {
destination_id = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup"
is_timestamp_enabled = "True"
match_configuration_name = "match1"
truncate = "100"
type = "Drop"
}
ip_address_type = "IPv4"
match_conditions {
encapsulation_type = "None"
ip_condition = {
ip_group_names = ["example-ipGroup"]
ip_prefix_values = ["10.10.10.10/20"]
prefix_type = "Prefix"
type = "SourceIP"
}
port_condition = {
layer4_protocol = "TCP"
port_group_names = ["example-portGroup1"]
port_type = "SourcePort"
ports = ["100"]
}
protocol_types = ["TCP"]
vlan_match_condition = {
inner_vlans = ["11-20"]
vlan_group_names = ["exmaple-vlanGroup"]
vlans = ["10"]
}
}
match_configuration_name = "config1"
sequence_number = 10
}
network_tap_rule_name = "example-tapRule"
polling_interval_in_seconds = 30
resource_group_name = "example-rg"
tags = {
"keyID" = "keyValue"
}
tap_rules_url = "https://microsoft.com/a"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.managednetworkfabric.NetworkTapRule;
import com.pulumi.azurenative.managednetworkfabric.NetworkTapRuleArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.CommonDynamicMatchConfigurationArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.IpGroupPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.PortGroupPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.VlanGroupPropertiesArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.NetworkTapRuleMatchConfigurationArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.NetworkTapRuleActionArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.NetworkTapRuleMatchConditionArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.IpMatchConditionArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.PortConditionArgs;
import com.pulumi.azurenative.managednetworkfabric.inputs.VlanMatchConditionArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 networkTapRule = new NetworkTapRule("networkTapRule", NetworkTapRuleArgs.builder()
.annotation("annotation")
.configurationType("File")
.dynamicMatchConfigurations(CommonDynamicMatchConfigurationArgs.builder()
.ipGroups(IpGroupPropertiesArgs.builder()
.ipAddressType("IPv4")
.ipPrefixes("10.10.10.10/30")
.name("example-ipGroup1")
.build())
.portGroups(
PortGroupPropertiesArgs.builder()
.name("example-portGroup1")
.ports("100-200")
.build(),
PortGroupPropertiesArgs.builder()
.name("example-portGroup2")
.ports(
"900",
"1000-2000")
.build())
.vlanGroups(VlanGroupPropertiesArgs.builder()
.name("exmaple-vlanGroup")
.vlans(
"10",
"100-200")
.build())
.build())
.location("eastus")
.matchConfigurations(NetworkTapRuleMatchConfigurationArgs.builder()
.actions(NetworkTapRuleActionArgs.builder()
.destinationId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup")
.isTimestampEnabled("True")
.matchConfigurationName("match1")
.truncate("100")
.type("Drop")
.build())
.ipAddressType("IPv4")
.matchConditions(NetworkTapRuleMatchConditionArgs.builder()
.encapsulationType("None")
.ipCondition(IpMatchConditionArgs.builder()
.ipGroupNames("example-ipGroup")
.ipPrefixValues("10.10.10.10/20")
.prefixType("Prefix")
.type("SourceIP")
.build())
.portCondition(PortConditionArgs.builder()
.layer4Protocol("TCP")
.portGroupNames("example-portGroup1")
.portType("SourcePort")
.ports("100")
.build())
.protocolTypes("TCP")
.vlanMatchCondition(VlanMatchConditionArgs.builder()
.innerVlans("11-20")
.vlanGroupNames("exmaple-vlanGroup")
.vlans("10")
.build())
.build())
.matchConfigurationName("config1")
.sequenceNumber(10.0)
.build())
.networkTapRuleName("example-tapRule")
.pollingIntervalInSeconds(30)
.resourceGroupName("example-rg")
.tags(Map.of("keyID", "keyValue"))
.tapRulesUrl("https://microsoft.com/a")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const networkTapRule = new azure_native.managednetworkfabric.NetworkTapRule("networkTapRule", {
annotation: "annotation",
configurationType: azure_native.managednetworkfabric.ConfigurationType.File,
dynamicMatchConfigurations: [{
ipGroups: [{
ipAddressType: azure_native.managednetworkfabric.IPAddressType.IPv4,
ipPrefixes: ["10.10.10.10/30"],
name: "example-ipGroup1",
}],
portGroups: [
{
name: "example-portGroup1",
ports: ["100-200"],
},
{
name: "example-portGroup2",
ports: [
"900",
"1000-2000",
],
},
],
vlanGroups: [{
name: "exmaple-vlanGroup",
vlans: [
"10",
"100-200",
],
}],
}],
location: "eastus",
matchConfigurations: [{
actions: [{
destinationId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup",
isTimestampEnabled: azure_native.managednetworkfabric.BooleanEnumProperty.True,
matchConfigurationName: "match1",
truncate: "100",
type: azure_native.managednetworkfabric.TapRuleActionType.Drop,
}],
ipAddressType: azure_native.managednetworkfabric.IPAddressType.IPv4,
matchConditions: [{
encapsulationType: azure_native.managednetworkfabric.EncapsulationType.None,
ipCondition: {
ipGroupNames: ["example-ipGroup"],
ipPrefixValues: ["10.10.10.10/20"],
prefixType: azure_native.managednetworkfabric.PrefixType.Prefix,
type: azure_native.managednetworkfabric.SourceDestinationType.SourceIP,
},
portCondition: {
layer4Protocol: azure_native.managednetworkfabric.Layer4Protocol.TCP,
portGroupNames: ["example-portGroup1"],
portType: azure_native.managednetworkfabric.PortType.SourcePort,
ports: ["100"],
},
protocolTypes: ["TCP"],
vlanMatchCondition: {
innerVlans: ["11-20"],
vlanGroupNames: ["exmaple-vlanGroup"],
vlans: ["10"],
},
}],
matchConfigurationName: "config1",
sequenceNumber: 10,
}],
networkTapRuleName: "example-tapRule",
pollingIntervalInSeconds: 30,
resourceGroupName: "example-rg",
tags: {
keyID: "keyValue",
},
tapRulesUrl: "https://microsoft.com/a",
});
import pulumi
import pulumi_azure_native as azure_native
network_tap_rule = azure_native.managednetworkfabric.NetworkTapRule("networkTapRule",
annotation="annotation",
configuration_type=azure_native.managednetworkfabric.ConfigurationType.FILE,
dynamic_match_configurations=[{
"ip_groups": [{
"ip_address_type": azure_native.managednetworkfabric.IPAddressType.I_PV4,
"ip_prefixes": ["10.10.10.10/30"],
"name": "example-ipGroup1",
}],
"port_groups": [
{
"name": "example-portGroup1",
"ports": ["100-200"],
},
{
"name": "example-portGroup2",
"ports": [
"900",
"1000-2000",
],
},
],
"vlan_groups": [{
"name": "exmaple-vlanGroup",
"vlans": [
"10",
"100-200",
],
}],
}],
location="eastus",
match_configurations=[{
"actions": [{
"destination_id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup",
"is_timestamp_enabled": azure_native.managednetworkfabric.BooleanEnumProperty.TRUE,
"match_configuration_name": "match1",
"truncate": "100",
"type": azure_native.managednetworkfabric.TapRuleActionType.DROP,
}],
"ip_address_type": azure_native.managednetworkfabric.IPAddressType.I_PV4,
"match_conditions": [{
"encapsulation_type": azure_native.managednetworkfabric.EncapsulationType.NONE,
"ip_condition": {
"ip_group_names": ["example-ipGroup"],
"ip_prefix_values": ["10.10.10.10/20"],
"prefix_type": azure_native.managednetworkfabric.PrefixType.PREFIX,
"type": azure_native.managednetworkfabric.SourceDestinationType.SOURCE_IP,
},
"port_condition": {
"layer4_protocol": azure_native.managednetworkfabric.Layer4Protocol.TCP,
"port_group_names": ["example-portGroup1"],
"port_type": azure_native.managednetworkfabric.PortType.SOURCE_PORT,
"ports": ["100"],
},
"protocol_types": ["TCP"],
"vlan_match_condition": {
"inner_vlans": ["11-20"],
"vlan_group_names": ["exmaple-vlanGroup"],
"vlans": ["10"],
},
}],
"match_configuration_name": "config1",
"sequence_number": float(10),
}],
network_tap_rule_name="example-tapRule",
polling_interval_in_seconds=30,
resource_group_name="example-rg",
tags={
"keyID": "keyValue",
},
tap_rules_url="https://microsoft.com/a")
resources:
networkTapRule:
type: azure-native:managednetworkfabric:NetworkTapRule
properties:
annotation: annotation
configurationType: File
dynamicMatchConfigurations:
- ipGroups:
- ipAddressType: IPv4
ipPrefixes:
- 10.10.10.10/30
name: example-ipGroup1
portGroups:
- name: example-portGroup1
ports:
- 100-200
- name: example-portGroup2
ports:
- '900'
- 1000-2000
vlanGroups:
- name: exmaple-vlanGroup
vlans:
- '10'
- 100-200
location: eastus
matchConfigurations:
- actions:
- destinationId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup
isTimestampEnabled: True
matchConfigurationName: match1
truncate: '100'
type: Drop
ipAddressType: IPv4
matchConditions:
- encapsulationType: None
ipCondition:
ipGroupNames:
- example-ipGroup
ipPrefixValues:
- 10.10.10.10/20
prefixType: Prefix
type: SourceIP
portCondition:
layer4Protocol: TCP
portGroupNames:
- example-portGroup1
portType: SourcePort
ports:
- '100'
protocolTypes:
- TCP
vlanMatchCondition:
innerVlans:
- 11-20
vlanGroupNames:
- exmaple-vlanGroup
vlans:
- '10'
matchConfigurationName: config1
sequenceNumber: 10
networkTapRuleName: example-tapRule
pollingIntervalInSeconds: 30
resourceGroupName: example-rg
tags:
keyID: keyValue
tapRulesUrl: https://microsoft.com/a
Create NetworkTapRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def NetworkTapRule(resource_name: str,
args: NetworkTapRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkTapRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration_type: Optional[Union[str, ConfigurationType]] = None,
resource_group_name: Optional[str] = None,
annotation: Optional[str] = None,
dynamic_match_configurations: Optional[Sequence[CommonDynamicMatchConfigurationArgs]] = None,
location: Optional[str] = None,
match_configurations: Optional[Sequence[NetworkTapRuleMatchConfigurationArgs]] = None,
network_tap_rule_name: Optional[str] = None,
polling_interval_in_seconds: Optional[int] = None,
tags: Optional[Mapping[str, str]] = None,
tap_rules_url: Optional[str] = None)
type: azure-native:managednetworkfabric:NetworkTapRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_managednetworkfabric_network_tap_rule" "name" {
# resource properties
}
Parameters
- resource_name
str
- The unique name of the resource.
- args
NetworkTapRuleArgs
- 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
NetworkTapRuleArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
NetworkTapRuleArgs
- 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 networkTapRuleResource = new AzureNative.ManagedNetworkFabric.NetworkTapRule("networkTapRuleResource", new()
{
ConfigurationType = "string",
ResourceGroupName = "string",
Annotation = "string",
DynamicMatchConfigurations = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.CommonDynamicMatchConfigurationArgs
{
IpGroups = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.IpGroupPropertiesArgs
{
IpAddressType = "string",
IpPrefixes = new[]
{
"string",
},
Name = "string",
},
},
PortGroups = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.PortGroupPropertiesArgs
{
Name = "string",
Ports = new[]
{
"string",
},
},
},
VlanGroups = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.VlanGroupPropertiesArgs
{
Name = "string",
Vlans = new[]
{
"string",
},
},
},
},
},
Location = "string",
MatchConfigurations = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.NetworkTapRuleMatchConfigurationArgs
{
Actions = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.NetworkTapRuleActionArgs
{
DestinationId = "string",
IsTimestampEnabled = "string",
MatchConfigurationName = "string",
Truncate = "string",
Type = "string",
},
},
IpAddressType = "string",
MatchConditions = new[]
{
new AzureNative.ManagedNetworkFabric.Inputs.NetworkTapRuleMatchConditionArgs
{
EncapsulationType = "string",
IpCondition = new AzureNative.ManagedNetworkFabric.Inputs.IpMatchConditionArgs
{
IpGroupNames = new[]
{
"string",
},
IpPrefixValues = new[]
{
"string",
},
PrefixType = "string",
Type = "string",
},
PortCondition = new AzureNative.ManagedNetworkFabric.Inputs.PortConditionArgs
{
Layer4Protocol = "string",
PortGroupNames = new[]
{
"string",
},
PortType = "string",
Ports = new[]
{
"string",
},
},
ProtocolTypes = new[]
{
"string",
},
VlanMatchCondition = new AzureNative.ManagedNetworkFabric.Inputs.VlanMatchConditionArgs
{
InnerVlans = new[]
{
"string",
},
VlanGroupNames = new[]
{
"string",
},
Vlans = new[]
{
"string",
},
},
},
},
MatchConfigurationName = "string",
SequenceNumber = 0.0,
},
},
NetworkTapRuleName = "string",
PollingIntervalInSeconds = 0,
Tags =
{
{ "string", "string" },
},
TapRulesUrl = "string",
});
example, err := managednetworkfabric.NewNetworkTapRule(ctx, "networkTapRuleResource", &managednetworkfabric.NetworkTapRuleArgs{
ConfigurationType: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Annotation: pulumi.String("string"),
DynamicMatchConfigurations: managednetworkfabric.CommonDynamicMatchConfigurationArray{
&managednetworkfabric.CommonDynamicMatchConfigurationArgs{
IpGroups: managednetworkfabric.IpGroupPropertiesArray{
&managednetworkfabric.IpGroupPropertiesArgs{
IpAddressType: pulumi.String("string"),
IpPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
},
},
PortGroups: managednetworkfabric.PortGroupPropertiesArray{
&managednetworkfabric.PortGroupPropertiesArgs{
Name: pulumi.String("string"),
Ports: pulumi.StringArray{
pulumi.String("string"),
},
},
},
VlanGroups: managednetworkfabric.VlanGroupPropertiesArray{
&managednetworkfabric.VlanGroupPropertiesArgs{
Name: pulumi.String("string"),
Vlans: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
Location: pulumi.String("string"),
MatchConfigurations: managednetworkfabric.NetworkTapRuleMatchConfigurationArray{
&managednetworkfabric.NetworkTapRuleMatchConfigurationArgs{
Actions: managednetworkfabric.NetworkTapRuleActionArray{
&managednetworkfabric.NetworkTapRuleActionArgs{
DestinationId: pulumi.String("string"),
IsTimestampEnabled: pulumi.String("string"),
MatchConfigurationName: pulumi.String("string"),
Truncate: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
IpAddressType: pulumi.String("string"),
MatchConditions: managednetworkfabric.NetworkTapRuleMatchConditionArray{
&managednetworkfabric.NetworkTapRuleMatchConditionArgs{
EncapsulationType: pulumi.String("string"),
IpCondition: &managednetworkfabric.IpMatchConditionArgs{
IpGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
IpPrefixValues: pulumi.StringArray{
pulumi.String("string"),
},
PrefixType: pulumi.String("string"),
Type: pulumi.String("string"),
},
PortCondition: &managednetworkfabric.PortConditionArgs{
Layer4Protocol: pulumi.String("string"),
PortGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
PortType: pulumi.String("string"),
Ports: pulumi.StringArray{
pulumi.String("string"),
},
},
ProtocolTypes: pulumi.StringArray{
pulumi.String("string"),
},
VlanMatchCondition: &managednetworkfabric.VlanMatchConditionArgs{
InnerVlans: pulumi.StringArray{
pulumi.String("string"),
},
VlanGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
Vlans: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
MatchConfigurationName: pulumi.String("string"),
SequenceNumber: pulumi.Float64(0),
},
},
NetworkTapRuleName: pulumi.String("string"),
PollingIntervalInSeconds: pulumi.Int(0),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TapRulesUrl: pulumi.String("string"),
})
resource "azure-native_managednetworkfabric_network_tap_rule" "networkTapRuleResource" {
lifecycle {
create_before_destroy = true
}
configuration_type = "string"
resource_group_name = "string"
annotation = "string"
dynamic_match_configurations {
ip_groups {
ip_address_type = "string"
ip_prefixes = ["string"]
name = "string"
}
port_groups {
name = "string"
ports = ["string"]
}
vlan_groups {
name = "string"
vlans = ["string"]
}
}
location = "string"
match_configurations {
actions {
destination_id = "string"
is_timestamp_enabled = "string"
match_configuration_name = "string"
truncate = "string"
type = "string"
}
ip_address_type = "string"
match_conditions {
encapsulation_type = "string"
ip_condition = {
ip_group_names = ["string"]
ip_prefix_values = ["string"]
prefix_type = "string"
type = "string"
}
port_condition = {
layer4_protocol = "string"
port_group_names = ["string"]
port_type = "string"
ports = ["string"]
}
protocol_types = ["string"]
vlan_match_condition = {
inner_vlans = ["string"]
vlan_group_names = ["string"]
vlans = ["string"]
}
}
match_configuration_name = "string"
sequence_number = 0
}
network_tap_rule_name = "string"
polling_interval_in_seconds = 0
tags = {
"string" = "string"
}
tap_rules_url = "string"
}
var networkTapRuleResource = new NetworkTapRule("networkTapRuleResource", NetworkTapRuleArgs.builder()
.configurationType("string")
.resourceGroupName("string")
.annotation("string")
.dynamicMatchConfigurations(CommonDynamicMatchConfigurationArgs.builder()
.ipGroups(IpGroupPropertiesArgs.builder()
.ipAddressType("string")
.ipPrefixes("string")
.name("string")
.build())
.portGroups(PortGroupPropertiesArgs.builder()
.name("string")
.ports("string")
.build())
.vlanGroups(VlanGroupPropertiesArgs.builder()
.name("string")
.vlans("string")
.build())
.build())
.location("string")
.matchConfigurations(NetworkTapRuleMatchConfigurationArgs.builder()
.actions(NetworkTapRuleActionArgs.builder()
.destinationId("string")
.isTimestampEnabled("string")
.matchConfigurationName("string")
.truncate("string")
.type("string")
.build())
.ipAddressType("string")
.matchConditions(NetworkTapRuleMatchConditionArgs.builder()
.encapsulationType("string")
.ipCondition(IpMatchConditionArgs.builder()
.ipGroupNames("string")
.ipPrefixValues("string")
.prefixType("string")
.type("string")
.build())
.portCondition(PortConditionArgs.builder()
.layer4Protocol("string")
.portGroupNames("string")
.portType("string")
.ports("string")
.build())
.protocolTypes("string")
.vlanMatchCondition(VlanMatchConditionArgs.builder()
.innerVlans("string")
.vlanGroupNames("string")
.vlans("string")
.build())
.build())
.matchConfigurationName("string")
.sequenceNumber(0.0)
.build())
.networkTapRuleName("string")
.pollingIntervalInSeconds(0)
.tags(Map.of("string", "string"))
.tapRulesUrl("string")
.build());
network_tap_rule_resource = azure_native.managednetworkfabric.NetworkTapRule("networkTapRuleResource",
configuration_type="string",
resource_group_name="string",
annotation="string",
dynamic_match_configurations=[{
"ip_groups": [{
"ip_address_type": "string",
"ip_prefixes": ["string"],
"name": "string",
}],
"port_groups": [{
"name": "string",
"ports": ["string"],
}],
"vlan_groups": [{
"name": "string",
"vlans": ["string"],
}],
}],
location="string",
match_configurations=[{
"actions": [{
"destination_id": "string",
"is_timestamp_enabled": "string",
"match_configuration_name": "string",
"truncate": "string",
"type": "string",
}],
"ip_address_type": "string",
"match_conditions": [{
"encapsulation_type": "string",
"ip_condition": {
"ip_group_names": ["string"],
"ip_prefix_values": ["string"],
"prefix_type": "string",
"type": "string",
},
"port_condition": {
"layer4_protocol": "string",
"port_group_names": ["string"],
"port_type": "string",
"ports": ["string"],
},
"protocol_types": ["string"],
"vlan_match_condition": {
"inner_vlans": ["string"],
"vlan_group_names": ["string"],
"vlans": ["string"],
},
}],
"match_configuration_name": "string",
"sequence_number": float(0),
}],
network_tap_rule_name="string",
polling_interval_in_seconds=0,
tags={
"string": "string",
},
tap_rules_url="string")
const networkTapRuleResource = new azure_native.managednetworkfabric.NetworkTapRule("networkTapRuleResource", {
configurationType: "string",
resourceGroupName: "string",
annotation: "string",
dynamicMatchConfigurations: [{
ipGroups: [{
ipAddressType: "string",
ipPrefixes: ["string"],
name: "string",
}],
portGroups: [{
name: "string",
ports: ["string"],
}],
vlanGroups: [{
name: "string",
vlans: ["string"],
}],
}],
location: "string",
matchConfigurations: [{
actions: [{
destinationId: "string",
isTimestampEnabled: "string",
matchConfigurationName: "string",
truncate: "string",
type: "string",
}],
ipAddressType: "string",
matchConditions: [{
encapsulationType: "string",
ipCondition: {
ipGroupNames: ["string"],
ipPrefixValues: ["string"],
prefixType: "string",
type: "string",
},
portCondition: {
layer4Protocol: "string",
portGroupNames: ["string"],
portType: "string",
ports: ["string"],
},
protocolTypes: ["string"],
vlanMatchCondition: {
innerVlans: ["string"],
vlanGroupNames: ["string"],
vlans: ["string"],
},
}],
matchConfigurationName: "string",
sequenceNumber: 0,
}],
networkTapRuleName: "string",
pollingIntervalInSeconds: 0,
tags: {
string: "string",
},
tapRulesUrl: "string",
});
type: azure-native:managednetworkfabric:NetworkTapRule
properties:
annotation: string
configurationType: string
dynamicMatchConfigurations:
- ipGroups:
- ipAddressType: string
ipPrefixes:
- string
name: string
portGroups:
- name: string
ports:
- string
vlanGroups:
- name: string
vlans:
- string
location: string
matchConfigurations:
- actions:
- destinationId: string
isTimestampEnabled: string
matchConfigurationName: string
truncate: string
type: string
ipAddressType: string
matchConditions:
- encapsulationType: string
ipCondition:
ipGroupNames:
- string
ipPrefixValues:
- string
prefixType: string
type: string
portCondition:
layer4Protocol: string
portGroupNames:
- string
portType: string
ports:
- string
protocolTypes:
- string
vlanMatchCondition:
innerVlans:
- string
vlanGroupNames:
- string
vlans:
- string
matchConfigurationName: string
sequenceNumber: 0
networkTapRuleName: string
pollingIntervalInSeconds: 0
resourceGroupName: string
tags:
string: string
tapRulesUrl: string
NetworkTapRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NetworkTapRule resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkTapRule resource produces the following output properties:
- AdministrativeState
string
- Administrative state of the resource.
- AzureApiVersion
string
- The Azure API version of the resource.
- ConfigurationState
string
- Configuration state of the resource.
- Id
string
- The provider-assigned unique ID for this managed resource.
- LastSyncedTime
string
- The last sync timestamp.
- Name
string
- The name of the resource
- NetworkTapId
string
- The ARM resource Id of the NetworkTap.
- ProvisioningState
string
- Provisioning state of the resource.
- SystemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrative_state
string
- Administrative state of the resource.
- azure_api_version
string
- The Azure API version of the resource.
- configuration_state
string
- Configuration state of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- last_synced_time
string
- The last sync timestamp.
- name
string
- The name of the resource
- network_tap_id
string
- The ARM resource Id of the NetworkTap.
- provisioning_state
string
- Provisioning state of the resource.
- system_data
object
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrativeState
String
- Administrative state of the resource.
- azureApiVersion
String
- The Azure API version of the resource.
- configurationState
String
- Configuration state of the resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- lastSyncedTime
String
- The last sync timestamp.
- name
String
- The name of the resource
- networkTapId
String
- The ARM resource Id of the NetworkTap.
- provisioningState
String
- Provisioning state of the resource.
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrativeState
string
- Administrative state of the resource.
- azureApiVersion
string
- The Azure API version of the resource.
- configurationState
string
- Configuration state of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- lastSyncedTime
string
- The last sync timestamp.
- name
string
- The name of the resource
- networkTapId
string
- The ARM resource Id of the NetworkTap.
- provisioningState
string
- Provisioning state of the resource.
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrativeState
String
- Administrative state of the resource.
- azureApiVersion
String
- The Azure API version of the resource.
- configurationState
String
- Configuration state of the resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- lastSyncedTime
String
- The last sync timestamp.
- name
String
- The name of the resource
- networkTapId
String
- The ARM resource Id of the NetworkTap.
- provisioningState
String
- Provisioning state of the resource.
- systemData
Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Look up Existing NetworkTapRule Resource
Get an existing NetworkTapRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static NetworkTapRule get(String name, Output<String> id, CustomResourceOptions options)
resources: existingNetworkTapRule: type: azure-native:managednetworkfabric:NetworkTapRule get: id: ${id}
import {
to = azure-native_managednetworkfabric_network_tap_rule.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
NetworkTapRuleState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
BooleanEnumProperty
Based on this option layer3 parameters are mandatory. Example: True/False
| Name | Value |
|---|
| True | True |
| False | False |
| Name | Value |
|---|
| BooleanEnumPropertyTrue | True |
| BooleanEnumPropertyFalse | False |
| Name | Value |
|---|
| True | True |
| False | False |
| Name | Value |
|---|
| True | True |
| False | False |
| Name | Value |
|---|
| TRUE | True |
| FALSE | False |
CommonDynamicMatchConfiguration, CommonDynamicMatchConfigurationArgs
Dynamic match configuration object.
CommonDynamicMatchConfigurationResponse
Dynamic match configuration object.
ConfigurationType
Input method to configure Network Tap Rule.
| Name | Value |
|---|
| File | File |
| Inline | Inline |
| Name | Value |
|---|
| ConfigurationTypeFile | File |
| ConfigurationTypeInline | Inline |
| Name | Value |
|---|
| File | File |
| Inline | Inline |
| Name | Value |
|---|
| File | File |
| Inline | Inline |
| Name | Value |
|---|
| FILE | File |
| INLINE | Inline |
EncapsulationType
Encapsulation Type that needs to be matched.
| Name | Value |
|---|
| None | None |
| GTPv1 | GTPv1 |
| Name | Value |
|---|
| EncapsulationTypeNone | None |
| EncapsulationTypeGTPv1 | GTPv1 |
| Name | Value |
|---|
| None | None |
| GTPv1 | GTPv1 |
| Name | Value |
|---|
| None | None |
| GTPv1 | GTPv1 |
| Name | Value |
|---|
| NONE | None |
| GT_PV1 | GTPv1 |
IPAddressType
Type of IP Address. IPv4 or IPv6
| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| IPAddressTypeIPv4 | IPv4 |
| IPAddressTypeIPv6 | IPv6 |
| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| I_PV4 | IPv4 |
| I_PV6 | IPv6 |
IpGroupProperties, IpGroupPropertiesArgs
IP Group properties.
IpGroupPropertiesResponse
IP Group properties.
IpMatchCondition, IpMatchConditionArgs
Defines the condition that can be filtered using the selected IPs.
IpMatchConditionResponse
Defines the condition that can be filtered using the selected IPs.
- IpGroupNames
List<string>
- The List of IP Group Names that need to be matched.
- IpPrefixValues
List<string>
- The list of IP Prefixes that need to be matched.
- PrefixType
string
- IP Prefix Type that needs to be matched.
- Type
string
- IP Address type that needs to be matched.
- IpGroupNames
[]string
- The List of IP Group Names that need to be matched.
- IpPrefixValues
[]string
- The list of IP Prefixes that need to be matched.
- PrefixType
string
- IP Prefix Type that needs to be matched.
- Type
string
- IP Address type that needs to be matched.
- ip_group_names
list(string)
- The List of IP Group Names that need to be matched.
- ip_prefix_values
list(string)
- The list of IP Prefixes that need to be matched.
- prefix_type
string
- IP Prefix Type that needs to be matched.
- type
string
- IP Address type that needs to be matched.
- ipGroupNames
List<String>
- The List of IP Group Names that need to be matched.
- ipPrefixValues
List<String>
- The list of IP Prefixes that need to be matched.
- prefixType
String
- IP Prefix Type that needs to be matched.
- type
String
- IP Address type that needs to be matched.
- ipGroupNames
string[]
- The List of IP Group Names that need to be matched.
- ipPrefixValues
string[]
- The list of IP Prefixes that need to be matched.
- prefixType
string
- IP Prefix Type that needs to be matched.
- type
string
- IP Address type that needs to be matched.
- ip_group_names
Sequence[str]
- The List of IP Group Names that need to be matched.
- ip_prefix_values
Sequence[str]
- The list of IP Prefixes that need to be matched.
- prefix_type
str
- IP Prefix Type that needs to be matched.
- type
str
- IP Address type that needs to be matched.
- ipGroupNames
List<String>
- The List of IP Group Names that need to be matched.
- ipPrefixValues
List<String>
- The list of IP Prefixes that need to be matched.
- prefixType
String
- IP Prefix Type that needs to be matched.
- type
String
- IP Address type that needs to be matched.
Layer4Protocol
Layer4 protocol type that needs to be matched.
| Name | Value |
|---|
| Layer4ProtocolTCP | TCP |
| Layer4ProtocolUDP | UDP |
NetworkTapRuleAction, NetworkTapRuleActionArgs
Action that need to performed.
- DestinationId
string
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- IsTimestampEnabled
string | BooleanEnumProperty
- The parameter to enable or disable the timestamp.
- MatchConfigurationName
string
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- Truncate
string
- Truncate. 0 indicates do not truncate.
- Type
string | TapRuleActionType
- Type of actions that can be performed.
- destinationId
String
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- isTimestampEnabled
String | BooleanEnumProperty
- The parameter to enable or disable the timestamp.
- matchConfigurationName
String
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- truncate
String
- Truncate. 0 indicates do not truncate.
- type
String | TapRuleActionType
- Type of actions that can be performed.
- destinationId
string
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- isTimestampEnabled
string | BooleanEnumProperty
- The parameter to enable or disable the timestamp.
- matchConfigurationName
string
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- truncate
string
- Truncate. 0 indicates do not truncate.
- type
string | TapRuleActionType
- Type of actions that can be performed.
- destination_id
str
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- is_timestamp_enabled
str | BooleanEnumProperty
- The parameter to enable or disable the timestamp.
- match_configuration_name
str
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- truncate
str
- Truncate. 0 indicates do not truncate.
- type
str | TapRuleActionType
- Type of actions that can be performed.
NetworkTapRuleActionResponse
Action that need to performed.
- DestinationId
string
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- IsTimestampEnabled
string
- The parameter to enable or disable the timestamp.
- MatchConfigurationName
string
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- Truncate
string
- Truncate. 0 indicates do not truncate.
- Type
string
- Type of actions that can be performed.
- DestinationId
string
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- IsTimestampEnabled
string
- The parameter to enable or disable the timestamp.
- MatchConfigurationName
string
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- Truncate
string
- Truncate. 0 indicates do not truncate.
- Type
string
- Type of actions that can be performed.
- destination_id
string
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- is_timestamp_enabled
string
- The parameter to enable or disable the timestamp.
- match_configuration_name
string
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- truncate
string
- Truncate. 0 indicates do not truncate.
- type
string
- Type of actions that can be performed.
- destinationId
String
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- isTimestampEnabled
String
- The parameter to enable or disable the timestamp.
- matchConfigurationName
String
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- truncate
String
- Truncate. 0 indicates do not truncate.
- type
String
- Type of actions that can be performed.
- destinationId
string
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- isTimestampEnabled
string
- The parameter to enable or disable the timestamp.
- matchConfigurationName
string
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- truncate
string
- Truncate. 0 indicates do not truncate.
- type
string
- Type of actions that can be performed.
- destination_id
str
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- is_timestamp_enabled
str
- The parameter to enable or disable the timestamp.
- match_configuration_name
str
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- truncate
str
- Truncate. 0 indicates do not truncate.
- type
str
- Type of actions that can be performed.
- destinationId
String
- Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
- isTimestampEnabled
String
- The parameter to enable or disable the timestamp.
- matchConfigurationName
String
- The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
- truncate
String
- Truncate. 0 indicates do not truncate.
- type
String
- Type of actions that can be performed.
NetworkTapRuleMatchCondition, NetworkTapRuleMatchConditionArgs
Defines the match condition that is supported to filter the traffic.
NetworkTapRuleMatchConditionResponse
Defines the match condition that is supported to filter the traffic.
NetworkTapRuleMatchConfiguration, NetworkTapRuleMatchConfigurationArgs
Defines the match configuration that are supported to filter the traffic.
NetworkTapRuleMatchConfigurationResponse
Defines the match configuration that are supported to filter the traffic.
PortCondition, PortConditionArgs
Port condition that needs to be matched.
PortConditionResponse
Port condition that needs to be matched.
- Layer4Protocol
string
- Layer4 protocol type that needs to be matched.
- PortGroupNames
List<string>
- List of the port Group Names that need to be matched.
- PortType
string
- Port type that needs to be matched.
- Ports
List<string>
- List of the Ports that need to be matched.
- Layer4Protocol
string
- Layer4 protocol type that needs to be matched.
- PortGroupNames
[]string
- List of the port Group Names that need to be matched.
- PortType
string
- Port type that needs to be matched.
- Ports
[]string
- List of the Ports that need to be matched.
- layer4_protocol
string
- Layer4 protocol type that needs to be matched.
- port_group_names
list(string)
- List of the port Group Names that need to be matched.
- port_type
string
- Port type that needs to be matched.
- ports
list(string)
- List of the Ports that need to be matched.
- layer4Protocol
String
- Layer4 protocol type that needs to be matched.
- portGroupNames
List<String>
- List of the port Group Names that need to be matched.
- portType
String
- Port type that needs to be matched.
- ports
List<String>
- List of the Ports that need to be matched.
- layer4Protocol
string
- Layer4 protocol type that needs to be matched.
- portGroupNames
string[]
- List of the port Group Names that need to be matched.
- portType
string
- Port type that needs to be matched.
- ports
string[]
- List of the Ports that need to be matched.
- layer4_protocol
str
- Layer4 protocol type that needs to be matched.
- port_group_names
Sequence[str]
- List of the port Group Names that need to be matched.
- port_type
str
- Port type that needs to be matched.
- ports
Sequence[str]
- List of the Ports that need to be matched.
- layer4Protocol
String
- Layer4 protocol type that needs to be matched.
- portGroupNames
List<String>
- List of the port Group Names that need to be matched.
- portType
String
- Port type that needs to be matched.
- ports
List<String>
- List of the Ports that need to be matched.
PortGroupProperties, PortGroupPropertiesArgs
Port Group properties.
- Name
string
- The name of the port group.
- Ports
List<string>
- List of the ports that need to be matched.
- Name
string
- The name of the port group.
- Ports
[]string
- List of the ports that need to be matched.
- name
string
- The name of the port group.
- ports
list(string)
- List of the ports that need to be matched.
- name
String
- The name of the port group.
- ports
List<String>
- List of the ports that need to be matched.
- name
string
- The name of the port group.
- ports
string[]
- List of the ports that need to be matched.
- name
str
- The name of the port group.
- ports
Sequence[str]
- List of the ports that need to be matched.
- name
String
- The name of the port group.
- ports
List<String>
- List of the ports that need to be matched.
PortGroupPropertiesResponse
Port Group properties.
- Name
string
- The name of the port group.
- Ports
List<string>
- List of the ports that need to be matched.
- Name
string
- The name of the port group.
- Ports
[]string
- List of the ports that need to be matched.
- name
string
- The name of the port group.
- ports
list(string)
- List of the ports that need to be matched.
- name
String
- The name of the port group.
- ports
List<String>
- List of the ports that need to be matched.
- name
string
- The name of the port group.
- ports
string[]
- List of the ports that need to be matched.
- name
str
- The name of the port group.
- ports
Sequence[str]
- List of the ports that need to be matched.
- name
String
- The name of the port group.
- ports
List<String>
- List of the ports that need to be matched.
PortType
Port type that needs to be matched.
| Name | Value |
|---|
| SourcePort | SourcePort |
| DestinationPort | DestinationPort |
| Name | Value |
|---|
| PortTypeSourcePort | SourcePort |
| PortTypeDestinationPort | DestinationPort |
| Value |
|---|
SourcePort |
DestinationPort |
| Name | Value |
|---|
| SourcePort | SourcePort |
| DestinationPort | DestinationPort |
| Name | Value |
|---|
| SourcePort | SourcePort |
| DestinationPort | DestinationPort |
| Name | Value |
|---|
| SOURCE_PORT | SourcePort |
| DESTINATION_PORT | DestinationPort |
| Value |
|---|
SourcePort |
DestinationPort |
PrefixType
IP Prefix Type that needs to be matched.
| Name | Value |
|---|
| Prefix | Prefix |
| LongestPrefix | LongestPrefix |
| Name | Value |
|---|
| PrefixTypePrefix | Prefix |
| PrefixTypeLongestPrefix | LongestPrefix |
| Name | Value |
|---|
| Prefix | Prefix |
| LongestPrefix | LongestPrefix |
| Name | Value |
|---|
| Prefix | Prefix |
| LongestPrefix | LongestPrefix |
| Name | Value |
|---|
| PREFIX | Prefix |
| LONGEST_PREFIX | LongestPrefix |
SourceDestinationType
IP Address type that needs to be matched.
| Name | Value |
|---|
| SourceIP | SourceIP |
| DestinationIP | DestinationIP |
| Name | Value |
|---|
| SourceDestinationTypeSourceIP | SourceIP |
| SourceDestinationTypeDestinationIP | DestinationIP |
| Value |
|---|
SourceIP |
DestinationIP |
| Name | Value |
|---|
| SourceIP | SourceIP |
| DestinationIP | DestinationIP |
| Name | Value |
|---|
| SourceIP | SourceIP |
| DestinationIP | DestinationIP |
| Name | Value |
|---|
| SOURCE_IP | SourceIP |
| DESTINATION_IP | DestinationIP |
| Value |
|---|
SourceIP |
DestinationIP |
SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
- createdAt
string
- The timestamp of resource creation (UTC).
- createdBy
string
- The identity that created the resource.
- createdByType
string
- The type of identity that created the resource.
- lastModifiedAt
string
- The timestamp of resource last modification (UTC)
- lastModifiedBy
string
- The identity that last modified the resource.
- lastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
TapRuleActionType
Type of actions that can be performed.
| Name | Value |
|---|
| Drop | Drop |
| Count | Count |
| Log | Log |
| Replicate | Replicate |
| Goto | Goto |
| Redirect | Redirect |
| Mirror | Mirror |
| Name | Value |
|---|
| TapRuleActionTypeDrop | Drop |
| TapRuleActionTypeCount | Count |
| TapRuleActionTypeLog | Log |
| TapRuleActionTypeReplicate | Replicate |
| TapRuleActionTypeGoto | Goto |
| TapRuleActionTypeRedirect | Redirect |
| TapRuleActionTypeMirror | Mirror |
| Value |
|---|
Drop |
Count |
Log |
Replicate |
Goto |
Redirect |
Mirror |
| Name | Value |
|---|
| Drop | Drop |
| Count | Count |
| Log | Log |
| Replicate | Replicate |
| Goto | Goto |
| Redirect | Redirect |
| Mirror | Mirror |
| Name | Value |
|---|
| Drop | Drop |
| Count | Count |
| Log | Log |
| Replicate | Replicate |
| Goto | Goto |
| Redirect | Redirect |
| Mirror | Mirror |
| Name | Value |
|---|
| DROP | Drop |
| COUNT | Count |
| LOG | Log |
| REPLICATE | Replicate |
| GOTO | Goto |
| REDIRECT | Redirect |
| MIRROR | Mirror |
| Value |
|---|
Drop |
Count |
Log |
Replicate |
Goto |
Redirect |
Mirror |
VlanGroupProperties, VlanGroupPropertiesArgs
Vlan group properties.
- Name
string
- Vlan group name.
- Vlans
List<string>
- List of vlans.
- Name
string
- Vlan group name.
- Vlans
[]string
- List of vlans.
- name
string
- Vlan group name.
- vlans
list(string)
- List of vlans.
- name
String
- Vlan group name.
- vlans
List<String>
- List of vlans.
- name
string
- Vlan group name.
- vlans
string[]
- List of vlans.
- name
str
- Vlan group name.
- vlans
Sequence[str]
- List of vlans.
- name
String
- Vlan group name.
- vlans
List<String>
- List of vlans.
VlanGroupPropertiesResponse
Vlan group properties.
- Name
string
- Vlan group name.
- Vlans
List<string>
- List of vlans.
- Name
string
- Vlan group name.
- Vlans
[]string
- List of vlans.
- name
string
- Vlan group name.
- vlans
list(string)
- List of vlans.
- name
String
- Vlan group name.
- vlans
List<String>
- List of vlans.
- name
string
- Vlan group name.
- vlans
string[]
- List of vlans.
- name
str
- Vlan group name.
- vlans
Sequence[str]
- List of vlans.
- name
String
- Vlan group name.
- vlans
List<String>
- List of vlans.
VlanMatchCondition, VlanMatchConditionArgs
The vlan match conditions that need to be matched.
- InnerVlans
List<string>
- List of inner vlans that need to be matched.
- VlanGroupNames
List<string>
- List of vlan group names that need to be matched.
- Vlans
List<string>
- List of vlans that need to be matched.
- InnerVlans
[]string
- List of inner vlans that need to be matched.
- VlanGroupNames
[]string
- List of vlan group names that need to be matched.
- Vlans
[]string
- List of vlans that need to be matched.
- inner_vlans
list(string)
- List of inner vlans that need to be matched.
- vlan_group_names
list(string)
- List of vlan group names that need to be matched.
- vlans
list(string)
- List of vlans that need to be matched.
- innerVlans
List<String>
- List of inner vlans that need to be matched.
- vlanGroupNames
List<String>
- List of vlan group names that need to be matched.
- vlans
List<String>
- List of vlans that need to be matched.
- innerVlans
string[]
- List of inner vlans that need to be matched.
- vlanGroupNames
string[]
- List of vlan group names that need to be matched.
- vlans
string[]
- List of vlans that need to be matched.
- inner_vlans
Sequence[str]
- List of inner vlans that need to be matched.
- vlan_group_names
Sequence[str]
- List of vlan group names that need to be matched.
- vlans
Sequence[str]
- List of vlans that need to be matched.
- innerVlans
List<String>
- List of inner vlans that need to be matched.
- vlanGroupNames
List<String>
- List of vlan group names that need to be matched.
- vlans
List<String>
- List of vlans that need to be matched.
VlanMatchConditionResponse
The vlan match conditions that need to be matched.
- InnerVlans
List<string>
- List of inner vlans that need to be matched.
- VlanGroupNames
List<string>
- List of vlan group names that need to be matched.
- Vlans
List<string>
- List of vlans that need to be matched.
- InnerVlans
[]string
- List of inner vlans that need to be matched.
- VlanGroupNames
[]string
- List of vlan group names that need to be matched.
- Vlans
[]string
- List of vlans that need to be matched.
- inner_vlans
list(string)
- List of inner vlans that need to be matched.
- vlan_group_names
list(string)
- List of vlan group names that need to be matched.
- vlans
list(string)
- List of vlans that need to be matched.
- innerVlans
List<String>
- List of inner vlans that need to be matched.
- vlanGroupNames
List<String>
- List of vlan group names that need to be matched.
- vlans
List<String>
- List of vlans that need to be matched.
- innerVlans
string[]
- List of inner vlans that need to be matched.
- vlanGroupNames
string[]
- List of vlan group names that need to be matched.
- vlans
string[]
- List of vlans that need to be matched.
- inner_vlans
Sequence[str]
- List of inner vlans that need to be matched.
- vlan_group_names
Sequence[str]
- List of vlan group names that need to be matched.
- vlans
Sequence[str]
- List of vlans that need to be matched.
- innerVlans
List<String>
- List of inner vlans that need to be matched.
- vlanGroupNames
List<String>
- List of vlan group names that need to be matched.
- vlans
List<String>
- List of vlans that need to be matched.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:managednetworkfabric:NetworkTapRule example-tapRule /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0