1. Packages
  2. Azure Native
  3. API Docs
  4. managednetworkfabric
  5. RoutePolicy
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.41.0 published on Tuesday, May 14, 2024 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 v1 docs if using the v1 version of this package.
Azure Native v2.41.0 published on Tuesday, May 14, 2024 by Pulumi

    The RoutePolicy resource definition. Azure REST API version: 2023-02-01-preview. Prior API version in Azure Native 1.x: 2023-02-01-preview.

    Other available API versions: 2023-06-15.

    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()
        {
            Annotation = "annotationValue",
            Location = "EastUS",
            ResourceGroupName = "rgRoutePolicies",
            RoutePolicyName = "routePolicyName",
            Statements = new[]
            {
                new AzureNative.ManagedNetworkFabric.Inputs.RoutePolicyStatementPropertiesArgs
                {
                    Action = new AzureNative.ManagedNetworkFabric.Inputs.StatementActionPropertiesArgs
                    {
                        ActionType = AzureNative.ManagedNetworkFabric.CommunityActionTypes.Permit,
                        IpCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpCommunityPropertiesArgs
                        {
                            Add = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                            {
                                IpCommunityIds = new[]
                                {
                                    "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName",
                                },
                            },
                            Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                            {
                                IpCommunityIds = new[]
                                {
                                    "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName",
                                },
                            },
                            Set = new AzureNative.ManagedNetworkFabric.Inputs.IpCommunityIdListArgs
                            {
                                IpCommunityIds = new[]
                                {
                                    "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName",
                                },
                            },
                        },
                        IpExtendedCommunityProperties = new AzureNative.ManagedNetworkFabric.Inputs.ActionIpExtendedCommunityPropertiesArgs
                        {
                            Add = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                            {
                                IpExtendedCommunityIds = new[]
                                {
                                    "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName",
                                },
                            },
                            Delete = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                            {
                                IpExtendedCommunityIds = new[]
                                {
                                    "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName",
                                },
                            },
                            Set = new AzureNative.ManagedNetworkFabric.Inputs.IpExtendedCommunityIdListArgs
                            {
                                IpExtendedCommunityIds = new[]
                                {
                                    "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName",
                                },
                            },
                        },
                        LocalPreference = 20,
                    },
                    Annotation = "annotationValue",
                    Condition = new AzureNative.ManagedNetworkFabric.Inputs.StatementConditionPropertiesArgs
                    {
                        IpCommunityIds = new[]
                        {
                            "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName",
                        },
                        IpExtendedCommunityIds = new[]
                        {
                            "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName",
                        },
                        IpPrefixId = "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
                    },
                    SequenceNumber = 7,
                },
            },
            Tags = 
            {
                { "key8254", "" },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/managednetworkfabric/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := managednetworkfabric.NewRoutePolicy(ctx, "routePolicy", &managednetworkfabric.RoutePolicyArgs{
    			Annotation:        pulumi.String("annotationValue"),
    			Location:          pulumi.String("EastUS"),
    			ResourceGroupName: pulumi.String("rgRoutePolicies"),
    			RoutePolicyName:   pulumi.String("routePolicyName"),
    			Statements: managednetworkfabric.RoutePolicyStatementPropertiesArray{
    				&managednetworkfabric.RoutePolicyStatementPropertiesArgs{
    					Action: &managednetworkfabric.StatementActionPropertiesArgs{
    						ActionType: pulumi.String(managednetworkfabric.CommunityActionTypesPermit),
    						IpCommunityProperties: &managednetworkfabric.ActionIpCommunityPropertiesArgs{
    							Add: &managednetworkfabric.IpCommunityIdListArgs{
    								IpCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"),
    								},
    							},
    							Delete: &managednetworkfabric.IpCommunityIdListArgs{
    								IpCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"),
    								},
    							},
    							Set: &managednetworkfabric.IpCommunityIdListArgs{
    								IpCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"),
    								},
    							},
    						},
    						IpExtendedCommunityProperties: &managednetworkfabric.ActionIpExtendedCommunityPropertiesArgs{
    							Add: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    								IpExtendedCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"),
    								},
    							},
    							Delete: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    								IpExtendedCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"),
    								},
    							},
    							Set: &managednetworkfabric.IpExtendedCommunityIdListArgs{
    								IpExtendedCommunityIds: pulumi.StringArray{
    									pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"),
    								},
    							},
    						},
    						LocalPreference: pulumi.Float64(20),
    					},
    					Annotation: pulumi.String("annotationValue"),
    					Condition: &managednetworkfabric.StatementConditionPropertiesArgs{
    						IpCommunityIds: pulumi.StringArray{
    							pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"),
    						},
    						IpExtendedCommunityIds: pulumi.StringArray{
    							pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"),
    						},
    						IpPrefixId: pulumi.String("subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix"),
    					},
    					SequenceNumber: pulumi.Float64(7),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"key8254": pulumi.String(""),
    			},
    		})
    		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()        
                .annotation("annotationValue")
                .location("EastUS")
                .resourceGroupName("rgRoutePolicies")
                .routePolicyName("routePolicyName")
                .statements(RoutePolicyStatementPropertiesArgs.builder()
                    .action(StatementActionPropertiesArgs.builder()
                        .actionType("Permit")
                        .ipCommunityProperties(ActionIpCommunityPropertiesArgs.builder()
                            .add(IpCommunityIdListArgs.builder()
                                .ipCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName")
                                .build())
                            .delete(IpCommunityIdListArgs.builder()
                                .ipCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName")
                                .build())
                            .set(IpCommunityIdListArgs.builder()
                                .ipCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName")
                                .build())
                            .build())
                        .ipExtendedCommunityProperties(ActionIpExtendedCommunityPropertiesArgs.builder()
                            .add(IpExtendedCommunityIdListArgs.builder()
                                .ipExtendedCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName")
                                .build())
                            .delete(IpExtendedCommunityIdListArgs.builder()
                                .ipExtendedCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName")
                                .build())
                            .set(IpExtendedCommunityIdListArgs.builder()
                                .ipExtendedCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName")
                                .build())
                            .build())
                        .localPreference(20)
                        .build())
                    .annotation("annotationValue")
                    .condition(StatementConditionPropertiesArgs.builder()
                        .ipCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName")
                        .ipExtendedCommunityIds("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName")
                        .ipPrefixId("subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix")
                        .build())
                    .sequenceNumber(7)
                    .build())
                .tags(Map.of("key8254", ""))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    route_policy = azure_native.managednetworkfabric.RoutePolicy("routePolicy",
        annotation="annotationValue",
        location="EastUS",
        resource_group_name="rgRoutePolicies",
        route_policy_name="routePolicyName",
        statements=[azure_native.managednetworkfabric.RoutePolicyStatementPropertiesArgs(
            action=azure_native.managednetworkfabric.StatementActionPropertiesArgs(
                action_type=azure_native.managednetworkfabric.CommunityActionTypes.PERMIT,
                ip_community_properties=azure_native.managednetworkfabric.ActionIpCommunityPropertiesArgs(
                    add=azure_native.managednetworkfabric.IpCommunityIdListArgs(
                        ip_community_ids=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
                    ),
                    delete=azure_native.managednetworkfabric.IpCommunityIdListArgs(
                        ip_community_ids=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
                    ),
                    set=azure_native.managednetworkfabric.IpCommunityIdListArgs(
                        ip_community_ids=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
                    ),
                ),
                ip_extended_community_properties=azure_native.managednetworkfabric.ActionIpExtendedCommunityPropertiesArgs(
                    add=azure_native.managednetworkfabric.IpExtendedCommunityIdListArgs(
                        ip_extended_community_ids=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
                    ),
                    delete=azure_native.managednetworkfabric.IpExtendedCommunityIdListArgs(
                        ip_extended_community_ids=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
                    ),
                    set=azure_native.managednetworkfabric.IpExtendedCommunityIdListArgs(
                        ip_extended_community_ids=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
                    ),
                ),
                local_preference=20,
            ),
            annotation="annotationValue",
            condition=azure_native.managednetworkfabric.StatementConditionPropertiesArgs(
                ip_community_ids=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
                ip_extended_community_ids=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
                ip_prefix_id="subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
            ),
            sequence_number=7,
        )],
        tags={
            "key8254": "",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const routePolicy = new azure_native.managednetworkfabric.RoutePolicy("routePolicy", {
        annotation: "annotationValue",
        location: "EastUS",
        resourceGroupName: "rgRoutePolicies",
        routePolicyName: "routePolicyName",
        statements: [{
            action: {
                actionType: azure_native.managednetworkfabric.CommunityActionTypes.Permit,
                ipCommunityProperties: {
                    add: {
                        ipCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
                    },
                    "delete": {
                        ipCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
                    },
                    set: {
                        ipCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
                    },
                },
                ipExtendedCommunityProperties: {
                    add: {
                        ipExtendedCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
                    },
                    "delete": {
                        ipExtendedCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
                    },
                    set: {
                        ipExtendedCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
                    },
                },
                localPreference: 20,
            },
            annotation: "annotationValue",
            condition: {
                ipCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName"],
                ipExtendedCommunityIds: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName"],
                ipPrefixId: "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix",
            },
            sequenceNumber: 7,
        }],
        tags: {
            key8254: "",
        },
    });
    
    resources:
      routePolicy:
        type: azure-native:managednetworkfabric:RoutePolicy
        properties:
          annotation: annotationValue
          location: EastUS
          resourceGroupName: rgRoutePolicies
          routePolicyName: routePolicyName
          statements:
            - action:
                actionType: Permit
                ipCommunityProperties:
                  add:
                    ipCommunityIds:
                      - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName
                  delete:
                    ipCommunityIds:
                      - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName
                  set:
                    ipCommunityIds:
                      - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName
                ipExtendedCommunityProperties:
                  add:
                    ipExtendedCommunityIds:
                      - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName
                  delete:
                    ipExtendedCommunityIds:
                      - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName
                  set:
                    ipExtendedCommunityIds:
                      - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName
                localPreference: 20
              annotation: annotationValue
              condition:
                ipCommunityIds:
                  - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName
                ipExtendedCommunityIds:
                  - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName
                ipPrefixId: subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix
              sequenceNumber: 7
          tags:
            key8254:
    

    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,
                    resource_group_name: Optional[str] = None,
                    statements: Optional[Sequence[RoutePolicyStatementPropertiesArgs]] = None,
                    annotation: Optional[str] = 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.

    Example

    The following reference example uses placeholder values for all input properties.

    var routePolicyResource = new AzureNative.ManagedNetworkFabric.RoutePolicy("routePolicyResource", new()
    {
        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",
                },
                SequenceNumber = 0,
                Annotation = "string",
            },
        },
        Annotation = "string",
        Location = "string",
        RoutePolicyName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := managednetworkfabric.NewRoutePolicy(ctx, "routePolicyResource", &managednetworkfabric.RoutePolicyArgs{
    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"),
    },
    SequenceNumber: pulumi.Float64(0),
    Annotation: pulumi.String("string"),
    },
    },
    Annotation: 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()        
        .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")
                .build())
            .sequenceNumber(0)
            .annotation("string")
            .build())
        .annotation("string")
        .location("string")
        .routePolicyName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    route_policy_resource = azure_native.managednetworkfabric.RoutePolicy("routePolicyResource",
        resource_group_name="string",
        statements=[azure_native.managednetworkfabric.RoutePolicyStatementPropertiesArgs(
            action=azure_native.managednetworkfabric.StatementActionPropertiesArgs(
                action_type="string",
                ip_community_properties=azure_native.managednetworkfabric.ActionIpCommunityPropertiesArgs(
                    add=azure_native.managednetworkfabric.IpCommunityIdListArgs(
                        ip_community_ids=["string"],
                    ),
                    delete=azure_native.managednetworkfabric.IpCommunityIdListArgs(
                        ip_community_ids=["string"],
                    ),
                    set=azure_native.managednetworkfabric.IpCommunityIdListArgs(
                        ip_community_ids=["string"],
                    ),
                ),
                ip_extended_community_properties=azure_native.managednetworkfabric.ActionIpExtendedCommunityPropertiesArgs(
                    add=azure_native.managednetworkfabric.IpExtendedCommunityIdListArgs(
                        ip_extended_community_ids=["string"],
                    ),
                    delete=azure_native.managednetworkfabric.IpExtendedCommunityIdListArgs(
                        ip_extended_community_ids=["string"],
                    ),
                    set=azure_native.managednetworkfabric.IpExtendedCommunityIdListArgs(
                        ip_extended_community_ids=["string"],
                    ),
                ),
                local_preference=0,
            ),
            condition=azure_native.managednetworkfabric.StatementConditionPropertiesArgs(
                ip_community_ids=["string"],
                ip_extended_community_ids=["string"],
                ip_prefix_id="string",
            ),
            sequence_number=0,
            annotation="string",
        )],
        annotation="string",
        location="string",
        route_policy_name="string",
        tags={
            "string": "string",
        })
    
    const routePolicyResource = new azure_native.managednetworkfabric.RoutePolicy("routePolicyResource", {
        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",
            },
            sequenceNumber: 0,
            annotation: "string",
        }],
        annotation: "string",
        location: "string",
        routePolicyName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:managednetworkfabric:RoutePolicy
    properties:
        annotation: string
        location: 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
              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

    The RoutePolicy resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Statements List<Pulumi.AzureNative.ManagedNetworkFabric.Inputs.RoutePolicyStatementProperties>
    Route Policy statements.
    Annotation string
    Switch configuration description.
    Location string
    The geo-location where the resource lives
    RoutePolicyName string
    Name of the Route Policy
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Statements []RoutePolicyStatementPropertiesArgs
    Route Policy statements.
    Annotation string
    Switch configuration description.
    Location string
    The geo-location where the resource lives
    RoutePolicyName string
    Name of the Route Policy
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    statements List<RoutePolicyStatementProperties>
    Route Policy statements.
    annotation String
    Switch configuration description.
    location String
    The geo-location where the resource lives
    routePolicyName String
    Name of the Route Policy
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    statements RoutePolicyStatementProperties[]
    Route Policy statements.
    annotation string
    Switch configuration description.
    location string
    The geo-location where the resource lives
    routePolicyName string
    Name of the Route Policy
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    statements Sequence[RoutePolicyStatementPropertiesArgs]
    Route Policy statements.
    annotation str
    Switch configuration description.
    location str
    The geo-location where the resource lives
    route_policy_name str
    Name of the Route Policy
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    statements List<Property Map>
    Route Policy statements.
    annotation String
    Switch configuration description.
    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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Gets the 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"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Gets the 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"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Gets the 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"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Gets the 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"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Gets the 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"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Gets the 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
    IP Community ID list properties.
    Delete IpCommunityIdList
    IP Community ID list properties.
    Set IpCommunityIdList
    IP Community ID list properties.
    add IpCommunityIdList
    IP Community ID list properties.
    delete IpCommunityIdList
    IP Community ID list properties.
    set IpCommunityIdList
    IP Community ID list properties.
    add IpCommunityIdList
    IP Community ID list properties.
    delete IpCommunityIdList
    IP Community ID list properties.
    set IpCommunityIdList
    IP Community ID list properties.
    add IpCommunityIdList
    IP Community ID list properties.
    delete IpCommunityIdList
    IP Community ID list properties.
    set IpCommunityIdList
    IP Community ID list properties.
    add Property Map
    IP Community ID list properties.
    delete Property Map
    IP Community ID list properties.
    set Property Map
    IP Community ID list properties.

    ActionIpCommunityPropertiesResponse, ActionIpCommunityPropertiesResponseArgs

    Add IpCommunityIdListResponse
    IP Community ID list properties.
    Delete IpCommunityIdListResponse
    IP Community ID list properties.
    Set IpCommunityIdListResponse
    IP Community ID list properties.
    add IpCommunityIdListResponse
    IP Community ID list properties.
    delete IpCommunityIdListResponse
    IP Community ID list properties.
    set IpCommunityIdListResponse
    IP Community ID list properties.
    add IpCommunityIdListResponse
    IP Community ID list properties.
    delete IpCommunityIdListResponse
    IP Community ID list properties.
    set IpCommunityIdListResponse
    IP Community ID list properties.
    add IpCommunityIdListResponse
    IP Community ID list properties.
    delete IpCommunityIdListResponse
    IP Community ID list properties.
    set IpCommunityIdListResponse
    IP Community ID list properties.
    add Property Map
    IP Community ID list properties.
    delete Property Map
    IP Community ID list properties.
    set Property Map
    IP Community ID list properties.

    ActionIpExtendedCommunityProperties, ActionIpExtendedCommunityPropertiesArgs

    Add IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    Delete IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    Set IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdList
    IP Extended Community Id list properties.
    add Property Map
    IP Extended Community Id list properties.
    delete Property Map
    IP Extended Community Id list properties.
    set Property Map
    IP Extended Community Id list properties.

    ActionIpExtendedCommunityPropertiesResponse, ActionIpExtendedCommunityPropertiesResponseArgs

    Add IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    Delete IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    Set IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    add IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    delete IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    set IpExtendedCommunityIdListResponse
    IP Extended Community Id list properties.
    add Property Map
    IP Extended Community Id list properties.
    delete Property Map
    IP Extended Community Id list properties.
    set Property Map
    IP Extended Community Id list properties.

    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.

    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 | CommunityActionTypes
    action. Example: Permit | Deny.
    IpCommunityProperties ActionIpCommunityProperties
    IP Community Properties.
    IpExtendedCommunityProperties ActionIpExtendedCommunityProperties
    IP Extended Community Properties.
    LocalPreference float64
    localPreference of the route policy.
    actionType String | CommunityActionTypes
    action. Example: Permit | Deny.
    ipCommunityProperties ActionIpCommunityProperties
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityProperties
    IP Extended Community Properties.
    localPreference Double
    localPreference of the route policy.
    actionType string | CommunityActionTypes
    action. Example: Permit | Deny.
    ipCommunityProperties ActionIpCommunityProperties
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityProperties
    IP Extended Community Properties.
    localPreference number
    localPreference of the route policy.
    action_type str | CommunityActionTypes
    action. Example: Permit | Deny.
    ip_community_properties ActionIpCommunityProperties
    IP Community Properties.
    ip_extended_community_properties ActionIpExtendedCommunityProperties
    IP Extended Community Properties.
    local_preference float
    localPreference of the route policy.
    actionType String | "Permit" | "Deny"
    action. Example: Permit | Deny.
    ipCommunityProperties Property Map
    IP Community Properties.
    ipExtendedCommunityProperties Property Map
    IP Extended Community Properties.
    localPreference Number
    localPreference of the route policy.

    StatementActionPropertiesResponse, StatementActionPropertiesResponseArgs

    ActionType string
    action. Example: Permit | Deny.
    IpCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    IpExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    LocalPreference float64
    localPreference of the route policy.
    actionType String
    action. Example: Permit | Deny.
    ipCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    localPreference Double
    localPreference of the route policy.
    actionType string
    action. Example: Permit | Deny.
    ipCommunityProperties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ipExtendedCommunityProperties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    localPreference number
    localPreference of the route policy.
    action_type str
    action. Example: Permit | Deny.
    ip_community_properties ActionIpCommunityPropertiesResponse
    IP Community Properties.
    ip_extended_community_properties ActionIpExtendedCommunityPropertiesResponse
    IP Extended Community Properties.
    local_preference float
    localPreference of the route policy.
    actionType String
    action. Example: Permit | Deny.
    ipCommunityProperties Property Map
    IP Community Properties.
    ipExtendedCommunityProperties Property Map
    IP Extended Community Properties.
    localPreference Number
    localPreference 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.
    IpCommunityIds []string
    List of IP Community resource IDs.
    IpExtendedCommunityIds []string
    List of IP Extended Community resource IDs.
    IpPrefixId string
    Arm Resource Id of IpPrefix.
    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.
    ipCommunityIds string[]
    List of IP Community resource IDs.
    ipExtendedCommunityIds string[]
    List of IP Extended Community resource IDs.
    ipPrefixId string
    Arm Resource Id of IpPrefix.
    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.
    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.

    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.
    IpCommunityIds []string
    List of IP Community resource IDs.
    IpExtendedCommunityIds []string
    List of IP Extended Community resource IDs.
    IpPrefixId string
    Arm Resource Id of IpPrefix.
    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.
    ipCommunityIds string[]
    List of IP Community resource IDs.
    ipExtendedCommunityIds string[]
    List of IP Extended Community resource IDs.
    ipPrefixId string
    Arm Resource Id of IpPrefix.
    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.
    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.

    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 routePolicyName /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 v1 docs if using the v1 version of this package.
    Azure Native v2.41.0 published on Tuesday, May 14, 2024 by Pulumi