1. Packages
  2. Azure Native
  3. API Docs
  4. managednetworkfabric
  5. RoutePolicy
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.managednetworkfabric.RoutePolicy

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    The RoutePolicy resource definition.

    Uses Azure REST API version 2023-06-15. In version 2.x of the Azure Native provider, it used API version 2023-02-01-preview.

    Other available API versions: 2023-02-01-preview. 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

    RoutePolicies_Create_MaximumSet_Gen

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var routePolicy = new AzureNative.ManagedNetworkFabric.RoutePolicy("routePolicy", new()
        {
            AddressFamilyType = AzureNative.ManagedNetworkFabric.AddressFamilyType.IPv4,
            Annotation = "annotation",
            DefaultAction = AzureNative.ManagedNetworkFabric.CommunityActionTypes.Deny,
            Location = "eastus",
            NetworkFabricId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric",
            ResourceGroupName = "example-rg",
            RoutePolicyName = "example-routePolicy",
            Statements = new[]
            {
                new AzureNative.ManagedNetworkFabric.Inputs.RoutePolicyStatementPropertiesArgs
                {
                    Action = new AzureNative.ManagedNetworkFabric.Inputs.StatementActionPropertiesArgs
                    {
                        ActionType = AzureNative.ManagedNetworkFabric.RoutePolicyActionType.Permit,
                        IpCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpCommunityPropertiesArgs
                        {
                            Add = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                            {
                                IpCommunityIds = new[]
                                {
                                    "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity",
                                },
                            },
                            Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                            {
                                IpCommunityIds = new[]
                                {
                                    "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity",
                                },
                            },
                            Set = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                            {
                                IpCommunityIds = new[]
                                {
                                    "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity",
                                },
                            },
                        },
                        IpExtendedCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpExtendedCommunityPropertiesArgs
                        {
                            Add = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                            {
                                IpExtendedCommunityIds = new[]
                                {
                                    "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity",
                                },
                            },
                            Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                            {
                                IpExtendedCommunityIds = new[]
                                {
                                    "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity",
                                },
                            },
                            Set = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                            {
                                IpExtendedCommunityIds = new[]
                                {
                                    "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity",
                                },
                            },
                        },
                        LocalPreference = 20,
                    },
                    Annotation = "annotation",
                    Condition = new AzureNative.ManagedNetworkFabric.Inputs.StatementConditionPropertiesArgs
                    {
                        IpCommunityIds = new[]
                        {
                            "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity",
                        },
                        IpExtendedCommunityIds = new[]
                        {
                            "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity",
                        },
                        IpPrefixId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
                        Type = AzureNative.ManagedNetworkFabric.RoutePolicyConditionType.Or,
                    },
                    SequenceNumber = 7,
                },
            },
            Tags = 
            {
                { "keyID", "keyValue" },
            },
        });
    
    });
    
    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.NewRoutePolicy(ctx, "routePolicy", &managednetworkfabric.RoutePolicyArgs{
    			AddressFamilyType: pulumi.String(managednetworkfabric.AddressFamilyTypeIPv4),
    			Annotation:        pulumi.String("annotation"),
    			DefaultAction:     pulumi.String(managednetworkfabric.CommunityActionTypesDeny),
    			Location:          pulumi.String("eastus"),
    			NetworkFabricId:   pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric"),
    			ResourceGroupName: pulumi.String("example-rg"),
    			RoutePolicyName:   pulumi.String("example-routePolicy"),
    			Statements: managednetworkfabric.RoutePolicyStatementPropertiesArray{
    				&managednetworkfabric.RoutePolicyStatementPropertiesArgs{
    					Action: &managednetworkfabric.StatementActionPropertiesArgs{
    						ActionType: pulumi.String(managednetworkfabric.RoutePolicyActionTypePermit),
    						IpCommunityProperties: &managednetworkfabric.ActionIpCommunityPropertiesArgs{
    							Add: &managednetworkfabric.IpCommunityIdListArgs{
    								IpCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"),
    								},
    							},
    							Delete: &managednetworkfabric.IpCommunityIdListArgs{
    								IpCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"),
    								},
    							},
    							Set: &managednetworkfabric.IpCommunityIdListArgs{
    								IpCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"),
    								},
    							},
    						},
    						IpExtendedCommunityProperties: &managednetworkfabric.ActionIpExtendedCommunityPropertiesArgs{
    							Add: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    								IpExtendedCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"),
    								},
    							},
    							Delete: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    								IpExtendedCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"),
    								},
    							},
    							Set: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    								IpExtendedCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"),
    								},
    							},
    						},
    						LocalPreference: pulumi.Float64(20),
    					},
    					Annotation: pulumi.String("annotation"),
    					Condition: &managednetworkfabric.StatementConditionPropertiesArgs{
    						IpCommunityIds: pulumi.StringArray{
    							pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"),
    						},
    						IpExtendedCommunityIds: pulumi.StringArray{
    							pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"),
    						},
    						IpPrefixId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix"),
    						Type:       pulumi.String(managednetworkfabric.RoutePolicyConditionTypeOr),
    					},
    					SequenceNumber: pulumi.Float64(7),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"keyID": pulumi.String("keyValue"),
    			},
    		})
    		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.managednetworkfabric.RoutePolicy;
    import com.pulumi.azurenative.managednetworkfabric.RoutePolicyArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.RoutePolicyStatementPropertiesArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.StatementActionPropertiesArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.ActionIpCommunityPropertiesArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.IpCommunityIdListArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.ActionIpExtendedCommunityPropertiesArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.IpExtendedCommunityIdListArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.StatementConditionPropertiesArgs;
    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 routePolicy = new RoutePolicy("routePolicy", RoutePolicyArgs.builder()
                .addressFamilyType("IPv4")
                .annotation("annotation")
                .defaultAction("Deny")
                .location("eastus")
                .networkFabricId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric")
                .resourceGroupName("example-rg")
                .routePolicyName("example-routePolicy")
                .statements(RoutePolicyStatementPropertiesArgs.builder()
                    .action(StatementActionPropertiesArgs.builder()
                        .actionType("Permit")
                        .ipCommunityProperties(ActionIpCommunityPropertiesArgs.builder()
                            .add(IpCommunityIdListArgs.builder()
                                .ipCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")
                                .build())
                            .delete(IpCommunityIdListArgs.builder()
                                .ipCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")
                                .build())
                            .set(IpCommunityIdListArgs.builder()
                                .ipCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")
                                .build())
                            .build())
                        .ipExtendedCommunityProperties(ActionIpExtendedCommunityPropertiesArgs.builder()
                            .add(IpExtendedCommunityIdListArgs.builder()
                                .ipExtendedCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")
                                .build())
                            .delete(IpExtendedCommunityIdListArgs.builder()
                                .ipExtendedCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")
                                .build())
                            .set(IpExtendedCommunityIdListArgs.builder()
                                .ipExtendedCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")
                                .build())
                            .build())
                        .localPreference(20.0)
                        .build())
                    .annotation("annotation")
                    .condition(StatementConditionPropertiesArgs.builder()
                        .ipCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity")
                        .ipExtendedCommunityIds("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity")
                        .ipPrefixId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix")
                        .type("Or")
                        .build())
                    .sequenceNumber(7.0)
                    .build())
                .tags(Map.of("keyID", "keyValue"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const routePolicy = new azure_native.managednetworkfabric.RoutePolicy("routePolicy", {
        addressFamilyType: azure_native.managednetworkfabric.AddressFamilyType.IPv4,
        annotation: "annotation",
        defaultAction: azure_native.managednetworkfabric.CommunityActionTypes.Deny,
        location: "eastus",
        networkFabricId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric",
        resourceGroupName: "example-rg",
        routePolicyName: "example-routePolicy",
        statements: [{
            action: {
                actionType: azure_native.managednetworkfabric.RoutePolicyActionType.Permit,
                ipCommunityProperties: {
                    add: {
                        ipCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
                    },
                    "delete": {
                        ipCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
                    },
                    set: {
                        ipCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
                    },
                },
                ipExtendedCommunityProperties: {
                    add: {
                        ipExtendedCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
                    },
                    "delete": {
                        ipExtendedCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
                    },
                    set: {
                        ipExtendedCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
                    },
                },
                localPreference: 20,
            },
            annotation: "annotation",
            condition: {
                ipCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
                ipExtendedCommunityIds: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
                ipPrefixId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
                type: azure_native.managednetworkfabric.RoutePolicyConditionType.Or,
            },
            sequenceNumber: 7,
        }],
        tags: {
            keyID: "keyValue",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    route_policy = azure_native.managednetworkfabric.RoutePolicy("routePolicy",
        address_family_type=azure_native.managednetworkfabric.AddressFamilyType.I_PV4,
        annotation="annotation",
        default_action=azure_native.managednetworkfabric.CommunityActionTypes.DENY,
        location="eastus",
        network_fabric_id="/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric",
        resource_group_name="example-rg",
        route_policy_name="example-routePolicy",
        statements=[{
            "action": {
                "action_type": azure_native.managednetworkfabric.RoutePolicyActionType.PERMIT,
                "ip_community_properties": {
                    "add": {
                        "ip_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
                    },
                    "delete": {
                        "ip_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
                    },
                    "set": {
                        "ip_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
                    },
                },
                "ip_extended_community_properties": {
                    "add": {
                        "ip_extended_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
                    },
                    "delete": {
                        "ip_extended_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
                    },
                    "set": {
                        "ip_extended_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
                    },
                },
                "local_preference": 20,
            },
            "annotation": "annotation",
            "condition": {
                "ip_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity"],
                "ip_extended_community_ids": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity"],
                "ip_prefix_id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
                "type": azure_native.managednetworkfabric.RoutePolicyConditionType.OR_,
            },
            "sequence_number": 7,
        }],
        tags={
            "keyID": "keyValue",
        })
    
    resources:
      routePolicy:
        type: azure-native:managednetworkfabric:RoutePolicy
        properties:
          addressFamilyType: IPv4
          annotation: annotation
          defaultAction: Deny
          location: eastus
          networkFabricId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric
          resourceGroupName: example-rg
          routePolicyName: example-routePolicy
          statements:
            - action:
                actionType: Permit
                ipCommunityProperties:
                  add:
                    ipCommunityIds:
                      - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity
                  delete:
                    ipCommunityIds:
                      - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity
                  set:
                    ipCommunityIds:
                      - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity
                ipExtendedCommunityProperties:
                  add:
                    ipExtendedCommunityIds:
                      - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity
                  delete:
                    ipExtendedCommunityIds:
                      - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity
                  set:
                    ipExtendedCommunityIds:
                      - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity
                localPreference: 20
              annotation: annotation
              condition:
                ipCommunityIds:
                  - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity
                ipExtendedCommunityIds:
                  - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity
                ipPrefixId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix
                type: Or
              sequenceNumber: 7
          tags:
            keyID: keyValue
    

    Create RoutePolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RoutePolicy(name: string, args: RoutePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def RoutePolicy(resource_name: str,
                    args: RoutePolicyArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def RoutePolicy(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    network_fabric_id: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    statements: Optional[Sequence[RoutePolicyStatementPropertiesArgs]] = None,
                    address_family_type: Optional[Union[str, AddressFamilyType]] = None,
                    annotation: Optional[str] = None,
                    default_action: Optional[Union[str, CommunityActionTypes]] = None,
                    location: Optional[str] = None,
                    route_policy_name: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
    func NewRoutePolicy(ctx *Context, name string, args RoutePolicyArgs, opts ...ResourceOption) (*RoutePolicy, error)
    public RoutePolicy(string name, RoutePolicyArgs args, CustomResourceOptions? opts = null)
    public RoutePolicy(String name, RoutePolicyArgs args)
    public RoutePolicy(String name, RoutePolicyArgs args, CustomResourceOptions options)
    
    type: azure-native:managednetworkfabric:RoutePolicy
    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 RoutePolicyArgs
    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 RoutePolicyArgs
    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 RoutePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RoutePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RoutePolicyArgs
    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 routePolicyResource = new AzureNative.ManagedNetworkFabric.RoutePolicy("routePolicyResource", new()
    {
        NetworkFabricId = "string",
        ResourceGroupName = "string",
        Statements = new[]
        {
            new AzureNative.ManagedNetworkFabric.Inputs.RoutePolicyStatementPropertiesArgs
            {
                Action = new AzureNative.ManagedNetworkFabric.Inputs.StatementActionPropertiesArgs
                {
                    ActionType = "string",
                    IpCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpCommunityPropertiesArgs
                    {
                        Add = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                        {
                            IpCommunityIds = new[]
                            {
                                "string",
                            },
                        },
                        Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                        {
                            IpCommunityIds = new[]
                            {
                                "string",
                            },
                        },
                        Set = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                        {
                            IpCommunityIds = new[]
                            {
                                "string",
                            },
                        },
                    },
                    IpExtendedCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpExtendedCommunityPropertiesArgs
                    {
                        Add = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                        {
                            IpExtendedCommunityIds = new[]
                            {
                                "string",
                            },
                        },
                        Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                        {
                            IpExtendedCommunityIds = new[]
                            {
                                "string",
                            },
                        },
                        Set = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                        {
                            IpExtendedCommunityIds = new[]
                            {
                                "string",
                            },
                        },
                    },
                    LocalPreference = 0,
                },
                Condition = new AzureNative.ManagedNetworkFabric.Inputs.StatementConditionPropertiesArgs
                {
                    IpCommunityIds = new[]
                    {
                        "string",
                    },
                    IpExtendedCommunityIds = new[]
                    {
                        "string",
                    },
                    IpPrefixId = "string",
                    Type = "string",
                },
                SequenceNumber = 0,
                Annotation = "string",
            },
        },
        AddressFamilyType = "string",
        Annotation = "string",
        DefaultAction = "string",
        Location = "string",
        RoutePolicyName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := managednetworkfabric.NewRoutePolicy(ctx, "routePolicyResource", &managednetworkfabric.RoutePolicyArgs{
    	NetworkFabricId:   pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Statements: managednetworkfabric.RoutePolicyStatementPropertiesArray{
    		&managednetworkfabric.RoutePolicyStatementPropertiesArgs{
    			Action: &managednetworkfabric.StatementActionPropertiesArgs{
    				ActionType: pulumi.String("string"),
    				IpCommunityProperties: &managednetworkfabric.ActionIpCommunityPropertiesArgs{
    					Add: &managednetworkfabric.IpCommunityIdListArgs{
    						IpCommunityIds: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					Delete: &managednetworkfabric.IpCommunityIdListArgs{
    						IpCommunityIds: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					Set: &managednetworkfabric.IpCommunityIdListArgs{
    						IpCommunityIds: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    				IpExtendedCommunityProperties: &managednetworkfabric.ActionIpExtendedCommunityPropertiesArgs{
    					Add: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    						IpExtendedCommunityIds: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					Delete: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    						IpExtendedCommunityIds: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					Set: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    						IpExtendedCommunityIds: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    				LocalPreference: pulumi.Float64(0),
    			},
    			Condition: &managednetworkfabric.StatementConditionPropertiesArgs{
    				IpCommunityIds: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				IpExtendedCommunityIds: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				IpPrefixId: pulumi.String("string"),
    				Type:       pulumi.String("string"),
    			},
    			SequenceNumber: pulumi.Float64(0),
    			Annotation:     pulumi.String("string"),
    		},
    	},
    	AddressFamilyType: pulumi.String("string"),
    	Annotation:        pulumi.String("string"),
    	DefaultAction:     pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	RoutePolicyName:   pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var routePolicyResource = new RoutePolicy("routePolicyResource", RoutePolicyArgs.builder()
        .networkFabricId("string")
        .resourceGroupName("string")
        .statements(RoutePolicyStatementPropertiesArgs.builder()
            .action(StatementActionPropertiesArgs.builder()
                .actionType("string")
                .ipCommunityProperties(ActionIpCommunityPropertiesArgs.builder()
                    .add(IpCommunityIdListArgs.builder()
                        .ipCommunityIds("string")
                        .build())
                    .delete(IpCommunityIdListArgs.builder()
                        .ipCommunityIds("string")
                        .build())
                    .set(IpCommunityIdListArgs.builder()
                        .ipCommunityIds("string")
                        .build())
                    .build())
                .ipExtendedCommunityProperties(ActionIpExtendedCommunityPropertiesArgs.builder()
                    .add(IpExtendedCommunityIdListArgs.builder()
                        .ipExtendedCommunityIds("string")
                        .build())
                    .delete(IpExtendedCommunityIdListArgs.builder()
                        .ipExtendedCommunityIds("string")
                        .build())
                    .set(IpExtendedCommunityIdListArgs.builder()
                        .ipExtendedCommunityIds("string")
                        .build())
                    .build())
                .localPreference(0)
                .build())
            .condition(StatementConditionPropertiesArgs.builder()
                .ipCommunityIds("string")
                .ipExtendedCommunityIds("string")
                .ipPrefixId("string")
                .type("string")
                .build())
            .sequenceNumber(0)
            .annotation("string")
            .build())
        .addressFamilyType("string")
        .annotation("string")
        .defaultAction("string")
        .location("string")
        .routePolicyName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    route_policy_resource = azure_native.managednetworkfabric.RoutePolicy("routePolicyResource",
        network_fabric_id="string",
        resource_group_name="string",
        statements=[{
            "action": {
                "action_type": "string",
                "ip_community_properties": {
                    "add": {
                        "ip_community_ids": ["string"],
                    },
                    "delete": {
                        "ip_community_ids": ["string"],
                    },
                    "set": {
                        "ip_community_ids": ["string"],
                    },
                },
                "ip_extended_community_properties": {
                    "add": {
                        "ip_extended_community_ids": ["string"],
                    },
                    "delete": {
                        "ip_extended_community_ids": ["string"],
                    },
                    "set": {
                        "ip_extended_community_ids": ["string"],
                    },
                },
                "local_preference": 0,
            },
            "condition": {
                "ip_community_ids": ["string"],
                "ip_extended_community_ids": ["string"],
                "ip_prefix_id": "string",
                "type": "string",
            },
            "sequence_number": 0,
            "annotation": "string",
        }],
        address_family_type="string",
        annotation="string",
        default_action="string",
        location="string",
        route_policy_name="string",
        tags={
            "string": "string",
        })
    
    const routePolicyResource = new azure_native.managednetworkfabric.RoutePolicy("routePolicyResource", {
        networkFabricId: "string",
        resourceGroupName: "string",
        statements: [{
            action: {
                actionType: "string",
                ipCommunityProperties: {
                    add: {
                        ipCommunityIds: ["string"],
                    },
                    "delete": {
                        ipCommunityIds: ["string"],
                    },
                    set: {
                        ipCommunityIds: ["string"],
                    },
                },
                ipExtendedCommunityProperties: {
                    add: {
                        ipExtendedCommunityIds: ["string"],
                    },
                    "delete": {
                        ipExtendedCommunityIds: ["string"],
                    },
                    set: {
                        ipExtendedCommunityIds: ["string"],
                    },
                },
                localPreference: 0,
            },
            condition: {
                ipCommunityIds: ["string"],
                ipExtendedCommunityIds: ["string"],
                ipPrefixId: "string",
                type: "string",
            },
            sequenceNumber: 0,
            annotation: "string",
        }],
        addressFamilyType: "string",
        annotation: "string",
        defaultAction: "string",
        location: "string",
        routePolicyName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:managednetworkfabric:RoutePolicy
    properties:
        addressFamilyType: string
        annotation: string
        defaultAction: string
        location: string
        networkFabricId: string
        resourceGroupName: string
        routePolicyName: string
        statements:
            - action:
                actionType: string
                ipCommunityProperties:
                    add:
                        ipCommunityIds:
                            - string
                    delete:
                        ipCommunityIds:
                            - string
                    set:
                        ipCommunityIds:
                            - string
                ipExtendedCommunityProperties:
                    add:
                        ipExtendedCommunityIds:
                            - string
                    delete:
                        ipExtendedCommunityIds:
                            - string
                    set:
                        ipExtendedCommunityIds:
                            - string
                localPreference: 0
              annotation: string
              condition:
                ipCommunityIds:
                    - string
                ipExtendedCommunityIds:
                    - string
                ipPrefixId: string
                type: string
              sequenceNumber: 0
        tags:
            string: string
    

    RoutePolicy 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 RoutePolicy resource accepts the following input properties:

    NetworkFabricId string
    Arm Resource ID of Network Fabric.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Statements List<Pulumi.AzureNative.ManagedNetworkFabric.Inputs.RoutePolicyStatementProperties>
    Route Policy statements.
    AddressFamilyType string | Pulumi.AzureNative.ManagedNetworkFabric.AddressFamilyType
    AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
    Annotation string
    Switch configuration description.
    DefaultAction string | Pulumi.AzureNative.ManagedNetworkFabric.CommunityActionTypes
    Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
    Location string
    The geo-location where the resource lives
    RoutePolicyName string
    Name of the Route Policy.
    Tags Dictionary<string, string>
    Resource tags.
    NetworkFabricId string
    Arm Resource ID of Network Fabric.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Statements []RoutePolicyStatementPropertiesArgs
    Route Policy statements.
    AddressFamilyType string | AddressFamilyType
    AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
    Annotation string
    Switch configuration description.
    DefaultAction string | CommunityActionTypes
    Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
    Location string
    The geo-location where the resource lives
    RoutePolicyName string
    Name of the Route Policy.
    Tags map[string]string
    Resource tags.
    networkFabricId String
    Arm Resource ID of Network Fabric.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    statements List<RoutePolicyStatementProperties>
    Route Policy statements.
    addressFamilyType String | AddressFamilyType
    AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
    annotation String
    Switch configuration description.
    defaultAction String | CommunityActionTypes
    Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
    location String
    The geo-location where the resource lives
    routePolicyName String
    Name of the Route Policy.
    tags Map<String,String>
    Resource tags.
    networkFabricId string
    Arm Resource ID of Network Fabric.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    statements RoutePolicyStatementProperties[]
    Route Policy statements.
    addressFamilyType string | AddressFamilyType
    AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
    annotation string
    Switch configuration description.
    defaultAction string | CommunityActionTypes
    Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
    location string
    The geo-location where the resource lives
    routePolicyName string
    Name of the Route Policy.
    tags {[key: string]: string}
    Resource tags.
    network_fabric_id str
    Arm Resource ID of Network Fabric.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    statements Sequence[RoutePolicyStatementPropertiesArgs]
    Route Policy statements.
    address_family_type str | AddressFamilyType
    AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
    annotation str
    Switch configuration description.
    default_action str | CommunityActionTypes
    Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
    location str
    The geo-location where the resource lives
    route_policy_name str
    Name of the Route Policy.
    tags Mapping[str, str]
    Resource tags.
    networkFabricId String
    Arm Resource ID of Network Fabric.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    statements List<Property Map>
    Route Policy statements.
    addressFamilyType String | "IPv4" | "IPv6"
    AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
    annotation String
    Switch configuration description.
    defaultAction String | "Permit" | "Deny"
    Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
    location String
    The geo-location where the resource lives
    routePolicyName String
    Name of the Route Policy.
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RoutePolicy 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.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the resource.
    SystemData Pulumi.AzureNative.ManagedNetworkFabric.Outputs.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.
    Name string
    The name of the resource
    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.
    name String
    The name of the resource
    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.
    name string
    The name of the resource
    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 str
    Administrative state of the resource.
    azure_api_version str
    The Azure API version of the resource.
    configuration_state str
    Configuration state of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Provisioning state of the resource.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    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.
    name String
    The name of the resource
    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"

    Supporting Types

    ActionIpCommunityProperties, ActionIpCommunityPropertiesArgs

    Add IpCommunityIdList
    List of IP Community IDs.
    Delete IpCommunityIdList
    List of IP Community IDs.
    Set IpCommunityIdList
    List of IP Community IDs.
    add IpCommunityIdList
    List of IP Community IDs.
    delete IpCommunityIdList
    List of IP Community IDs.
    set IpCommunityIdList
    List of IP Community IDs.
    add IpCommunityIdList
    List of IP Community IDs.
    delete IpCommunityIdList
    List of IP Community IDs.
    set IpCommunityIdList
    List of IP Community IDs.
    add IpCommunityIdList
    List of IP Community IDs.
    delete IpCommunityIdList
    List of IP Community IDs.
    set IpCommunityIdList
    List of IP Community IDs.
    add Property Map
    List of IP Community IDs.
    delete Property Map
    List of IP Community IDs.
    set Property Map
    List of IP Community IDs.

    ActionIpCommunityPropertiesResponse, ActionIpCommunityPropertiesResponseArgs

    Add IpCommunityIdListResponse
    List of IP Community IDs.
    Delete IpCommunityIdListResponse
    List of IP Community IDs.
    Set IpCommunityIdListResponse
    List of IP Community IDs.
    add IpCommunityIdListResponse
    List of IP Community IDs.
    delete IpCommunityIdListResponse
    List of IP Community IDs.
    set IpCommunityIdListResponse
    List of IP Community IDs.
    add IpCommunityIdListResponse
    List of IP Community IDs.
    delete IpCommunityIdListResponse
    List of IP Community IDs.
    set IpCommunityIdListResponse
    List of IP Community IDs.
    add IpCommunityIdListResponse
    List of IP Community IDs.
    delete IpCommunityIdListResponse
    List of IP Community IDs.
    set IpCommunityIdListResponse
    List of IP Community IDs.
    add Property Map
    List of IP Community IDs.
    delete Property Map
    List of IP Community IDs.
    set Property Map
    List of IP Community IDs.

    ActionIpExtendedCommunityProperties, ActionIpExtendedCommunityPropertiesArgs

    Add IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    Delete IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    Set IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    add IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    delete IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    set IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    add IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    delete IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    set IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    add IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    delete IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    set IpExtendedCommunityIdList
    List of IP Extended Community IDs.
    add Property Map
    List of IP Extended Community IDs.
    delete Property Map
    List of IP Extended Community IDs.
    set Property Map
    List of IP Extended Community IDs.

    ActionIpExtendedCommunityPropertiesResponse, ActionIpExtendedCommunityPropertiesResponseArgs

    Add IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    Delete IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    Set IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    add IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    delete IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    set IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    add IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    delete IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    set IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    add IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    delete IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    set IpExtendedCommunityIdListResponse
    List of IP Extended Community IDs.
    add Property Map
    List of IP Extended Community IDs.
    delete Property Map
    List of IP Extended Community IDs.
    set Property Map
    List of IP Extended Community IDs.

    AddressFamilyType, AddressFamilyTypeArgs

    IPv4
    IPv4
    IPv6
    IPv6
    AddressFamilyTypeIPv4
    IPv4
    AddressFamilyTypeIPv6
    IPv6
    IPv4
    IPv4
    IPv6
    IPv6
    IPv4
    IPv4
    IPv6
    IPv6
    I_PV4
    IPv4
    I_PV6
    IPv6
    "IPv4"
    IPv4
    "IPv6"
    IPv6

    CommunityActionTypes, CommunityActionTypesArgs

    Permit
    Permit
    Deny
    Deny
    CommunityActionTypesPermit
    Permit
    CommunityActionTypesDeny
    Deny
    Permit
    Permit
    Deny
    Deny
    Permit
    Permit
    Deny
    Deny
    PERMIT
    Permit
    DENY
    Deny
    "Permit"
    Permit
    "Deny"
    Deny

    IpCommunityIdList, IpCommunityIdListArgs

    IpCommunityIds List<string>
    List of IP Community resource IDs.
    IpCommunityIds []string
    List of IP Community resource IDs.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipCommunityIds string[]
    List of IP Community resource IDs.
    ip_community_ids Sequence[str]
    List of IP Community resource IDs.
    ipCommunityIds List<String>
    List of IP Community resource IDs.

    IpCommunityIdListResponse, IpCommunityIdListResponseArgs

    IpCommunityIds List<string>
    List of IP Community resource IDs.
    IpCommunityIds []string
    List of IP Community resource IDs.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipCommunityIds string[]
    List of IP Community resource IDs.
    ip_community_ids Sequence[str]
    List of IP Community resource IDs.
    ipCommunityIds List<String>
    List of IP Community resource IDs.

    IpExtendedCommunityIdList, IpExtendedCommunityIdListArgs

    IpExtendedCommunityIds List<string>
    List of IP Extended Community resource IDs.
    IpExtendedCommunityIds []string
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds string[]
    List of IP Extended Community resource IDs.
    ip_extended_community_ids Sequence[str]
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.

    IpExtendedCommunityIdListResponse, IpExtendedCommunityIdListResponseArgs

    IpExtendedCommunityIds List<string>
    List of IP Extended Community resource IDs.
    IpExtendedCommunityIds []string
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds string[]
    List of IP Extended Community resource IDs.
    ip_extended_community_ids Sequence[str]
    List of IP Extended Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.

    RoutePolicyActionType, RoutePolicyActionTypeArgs

    Permit
    Permit
    Deny
    Deny
    Continue
    Continue
    RoutePolicyActionTypePermit
    Permit
    RoutePolicyActionTypeDeny
    Deny
    RoutePolicyActionTypeContinue
    Continue
    Permit
    Permit
    Deny
    Deny
    Continue
    Continue
    Permit
    Permit
    Deny
    Deny
    Continue
    Continue
    PERMIT
    Permit
    DENY
    Deny
    CONTINUE_
    Continue
    "Permit"
    Permit
    "Deny"
    Deny
    "Continue"
    Continue

    RoutePolicyConditionType, RoutePolicyConditionTypeArgs

    Or
    Or
    And
    And
    RoutePolicyConditionTypeOr
    Or
    RoutePolicyConditionTypeAnd
    And
    Or
    Or
    And
    And
    Or
    Or
    And
    And
    OR_
    Or
    AND_
    And
    "Or"
    Or
    "And"
    And

    RoutePolicyStatementProperties, RoutePolicyStatementPropertiesArgs

    Action Pulumi.AzureNative.ManagedNetworkFabric.Inputs.StatementActionProperties
    Route policy action properties.
    Condition Pulumi.AzureNative.ManagedNetworkFabric.Inputs.StatementConditionProperties
    Route policy condition properties.
    SequenceNumber double
    Sequence to insert to/delete from existing route.
    Annotation string
    Switch configuration description.
    Action StatementActionProperties
    Route policy action properties.
    Condition StatementConditionProperties
    Route policy condition properties.
    SequenceNumber float64
    Sequence to insert to/delete from existing route.
    Annotation string
    Switch configuration description.
    action StatementActionProperties
    Route policy action properties.
    condition StatementConditionProperties
    Route policy condition properties.
    sequenceNumber Double
    Sequence to insert to/delete from existing route.
    annotation String
    Switch configuration description.
    action StatementActionProperties
    Route policy action properties.
    condition StatementConditionProperties
    Route policy condition properties.
    sequenceNumber number
    Sequence to insert to/delete from existing route.
    annotation string
    Switch configuration description.
    action StatementActionProperties
    Route policy action properties.
    condition StatementConditionProperties
    Route policy condition properties.
    sequence_number float
    Sequence to insert to/delete from existing route.
    annotation str
    Switch configuration description.
    action Property Map
    Route policy action properties.
    condition Property Map
    Route policy condition properties.
    sequenceNumber Number
    Sequence to insert to/delete from existing route.
    annotation String
    Switch configuration description.

    RoutePolicyStatementPropertiesResponse, RoutePolicyStatementPropertiesResponseArgs

    Action Pulumi.AzureNative.ManagedNetworkFabric.Inputs.StatementActionPropertiesResponse
    Route policy action properties.
    Condition Pulumi.AzureNative.ManagedNetworkFabric.Inputs.StatementConditionPropertiesResponse
    Route policy condition properties.
    SequenceNumber double
    Sequence to insert to/delete from existing route.
    Annotation string
    Switch configuration description.
    Action StatementActionPropertiesResponse
    Route policy action properties.
    Condition StatementConditionPropertiesResponse
    Route policy condition properties.
    SequenceNumber float64
    Sequence to insert to/delete from existing route.
    Annotation string
    Switch configuration description.
    action StatementActionPropertiesResponse
    Route policy action properties.
    condition StatementConditionPropertiesResponse
    Route policy condition properties.
    sequenceNumber Double
    Sequence to insert to/delete from existing route.
    annotation String
    Switch configuration description.
    action StatementActionPropertiesResponse
    Route policy action properties.
    condition StatementConditionPropertiesResponse
    Route policy condition properties.
    sequenceNumber number
    Sequence to insert to/delete from existing route.
    annotation string
    Switch configuration description.
    action StatementActionPropertiesResponse
    Route policy action properties.
    condition StatementConditionPropertiesResponse
    Route policy condition properties.
    sequence_number float
    Sequence to insert to/delete from existing route.
    annotation str
    Switch configuration description.
    action Property Map
    Route policy action properties.
    condition Property Map
    Route policy condition properties.
    sequenceNumber Number
    Sequence to insert to/delete from existing route.
    annotation String
    Switch configuration description.

    StatementActionProperties, StatementActionPropertiesArgs

    ActionType string | RoutePolicyActionType
    Action type. Example: Permit | Deny | Continue.
    IpCommunityProperties ActionIpCommunityProperties
    IP Community Properties.
    IpExtendedCommunityProperties ActionIpExtendedCommunityProperties
    IP Extended Community Properties.
    LocalPreference float64
    Local Preference of the route policy.
    actionType String | RoutePolicyActionType
    Action type. Example: Permit | Deny | Continue.
    ipCommunityProperties ActionIpCommunityProperties
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityProperties
    IP Extended Community Properties.
    localPreference Double
    Local Preference of the route policy.
    actionType string | RoutePolicyActionType
    Action type. Example: Permit | Deny | Continue.
    ipCommunityProperties ActionIpCommunityProperties
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityProperties
    IP Extended Community Properties.
    localPreference number
    Local Preference of the route policy.
    action_type str | RoutePolicyActionType
    Action type. Example: Permit | Deny | Continue.
    ip_community_properties ActionIpCommunityProperties
    IP Community Properties.
    ip_extended_community_properties ActionIpExtendedCommunityProperties
    IP Extended Community Properties.
    local_preference float
    Local Preference of the route policy.
    actionType String | "Permit" | "Deny" | "Continue"
    Action type. Example: Permit | Deny | Continue.
    ipCommunityProperties Property Map
    IP Community Properties.
    ipExtendedCommunityProperties Property Map
    IP Extended Community Properties.
    localPreference Number
    Local Preference of the route policy.

    StatementActionPropertiesResponse, StatementActionPropertiesResponseArgs

    ActionType string
    Action type. Example: Permit | Deny | Continue.
    IpCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    IpExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    LocalPreference float64
    Local Preference of the route policy.
    actionType String
    Action type. Example: Permit | Deny | Continue.
    ipCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    localPreference Double
    Local Preference of the route policy.
    actionType string
    Action type. Example: Permit | Deny | Continue.
    ipCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    localPreference number
    Local Preference of the route policy.
    action_type str
    Action type. Example: Permit | Deny | Continue.
    ip_community_properties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ip_extended_community_properties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    local_preference float
    Local Preference of the route policy.
    actionType String
    Action type. Example: Permit | Deny | Continue.
    ipCommunityProperties Property Map
    IP Community Properties.
    ipExtendedCommunityProperties Property Map
    IP Extended Community Properties.
    localPreference Number
    Local Preference of the route policy.

    StatementConditionProperties, StatementConditionPropertiesArgs

    IpCommunityIds List<string>
    List of IP Community resource IDs.
    IpExtendedCommunityIds List<string>
    List of IP Extended Community resource IDs.
    IpPrefixId string
    Arm Resource Id of IpPrefix.
    Type string | Pulumi.AzureNative.ManagedNetworkFabric.RoutePolicyConditionType
    Type of the condition used.
    IpCommunityIds []string
    List of IP Community resource IDs.
    IpExtendedCommunityIds []string
    List of IP Extended Community resource IDs.
    IpPrefixId string
    Arm Resource Id of IpPrefix.
    Type string | RoutePolicyConditionType
    Type of the condition used.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipPrefixId String
    Arm Resource Id of IpPrefix.
    type String | RoutePolicyConditionType
    Type of the condition used.
    ipCommunityIds string[]
    List of IP Community resource IDs.
    ipExtendedCommunityIds string[]
    List of IP Extended Community resource IDs.
    ipPrefixId string
    Arm Resource Id of IpPrefix.
    type string | RoutePolicyConditionType
    Type of the condition used.
    ip_community_ids Sequence[str]
    List of IP Community resource IDs.
    ip_extended_community_ids Sequence[str]
    List of IP Extended Community resource IDs.
    ip_prefix_id str
    Arm Resource Id of IpPrefix.
    type str | RoutePolicyConditionType
    Type of the condition used.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipPrefixId String
    Arm Resource Id of IpPrefix.
    type String | "Or" | "And"
    Type of the condition used.

    StatementConditionPropertiesResponse, StatementConditionPropertiesResponseArgs

    IpCommunityIds List<string>
    List of IP Community resource IDs.
    IpExtendedCommunityIds List<string>
    List of IP Extended Community resource IDs.
    IpPrefixId string
    Arm Resource Id of IpPrefix.
    Type string
    Type of the condition used.
    IpCommunityIds []string
    List of IP Community resource IDs.
    IpExtendedCommunityIds []string
    List of IP Extended Community resource IDs.
    IpPrefixId string
    Arm Resource Id of IpPrefix.
    Type string
    Type of the condition used.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipPrefixId String
    Arm Resource Id of IpPrefix.
    type String
    Type of the condition used.
    ipCommunityIds string[]
    List of IP Community resource IDs.
    ipExtendedCommunityIds string[]
    List of IP Extended Community resource IDs.
    ipPrefixId string
    Arm Resource Id of IpPrefix.
    type string
    Type of the condition used.
    ip_community_ids Sequence[str]
    List of IP Community resource IDs.
    ip_extended_community_ids Sequence[str]
    List of IP Extended Community resource IDs.
    ip_prefix_id str
    Arm Resource Id of IpPrefix.
    type str
    Type of the condition used.
    ipCommunityIds List<String>
    List of IP Community resource IDs.
    ipExtendedCommunityIds List<String>
    List of IP Extended Community resource IDs.
    ipPrefixId String
    Arm Resource Id of IpPrefix.
    type String
    Type of the condition used.

    SystemDataResponse, SystemDataResponseArgs

    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.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:managednetworkfabric:RoutePolicy example-routePolicy /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi