1. Packages
  2. Azure Native
  3. API Docs
  4. managednetworkfabric
  5. NetworkToNetworkInterconnect
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.NetworkToNetworkInterconnect

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 Network To Network Interconnect 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

    NetworkToNetworkInterconnects_Create_MaximumSet_Gen

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var networkToNetworkInterconnect = new AzureNative.ManagedNetworkFabric.NetworkToNetworkInterconnect("networkToNetworkInterconnect", new()
        {
            EgressAclId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl",
            ExportRoutePolicy = new AzureNative.ManagedNetworkFabric.Inputs.ExportRoutePolicyInformationArgs
            {
                ExportIpv4RoutePolicyId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
                ExportIpv6RoutePolicyId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
            },
            ImportRoutePolicy = new AzureNative.ManagedNetworkFabric.Inputs.ImportRoutePolicyInformationArgs
            {
                ImportIpv4RoutePolicyId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
                ImportIpv6RoutePolicyId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
            },
            IngressAclId = "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl",
            IsManagementType = AzureNative.ManagedNetworkFabric.IsManagementType.True,
            Layer2Configuration = new AzureNative.ManagedNetworkFabric.Inputs.Layer2ConfigurationArgs
            {
                Interfaces = new[]
                {
                    "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface",
                },
                Mtu = 1500,
            },
            NetworkFabricName = "example-fabric",
            NetworkToNetworkInterconnectName = "example-nni",
            NniType = AzureNative.ManagedNetworkFabric.NniType.CE,
            NpbStaticRouteConfiguration = new AzureNative.ManagedNetworkFabric.Inputs.NpbStaticRouteConfigurationArgs
            {
                BfdConfiguration = new AzureNative.ManagedNetworkFabric.Inputs.BfdConfigurationArgs
                {
                    IntervalInMilliSeconds = 300,
                    Multiplier = 25,
                },
                Ipv4Routes = new[]
                {
                    new AzureNative.ManagedNetworkFabric.Inputs.StaticRoutePropertiesArgs
                    {
                        NextHop = new[]
                        {
                            "21.20.20.20",
                        },
                        Prefix = "20.0.0.12/30",
                    },
                },
                Ipv6Routes = new[]
                {
                    new AzureNative.ManagedNetworkFabric.Inputs.StaticRoutePropertiesArgs
                    {
                        NextHop = new[]
                        {
                            "4FFE:FFFF:0:CD30::ac",
                        },
                        Prefix = "3FFE:FFFF:0:CD30::ac/127",
                    },
                },
            },
            OptionBLayer3Configuration = new AzureNative.ManagedNetworkFabric.Inputs.NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs
            {
                PeerASN = 61234,
                PrimaryIpv4Prefix = "10.0.0.12/30",
                PrimaryIpv6Prefix = "4FFE:FFFF:0:CD30::a8/127",
                SecondaryIpv4Prefix = "40.0.0.14/30",
                SecondaryIpv6Prefix = "6FFE:FFFF:0:CD30::ac/127",
                VlanId = 1234,
            },
            ResourceGroupName = "example-rg",
            UseOptionB = AzureNative.ManagedNetworkFabric.BooleanEnumProperty.True,
        });
    
    });
    
    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.NewNetworkToNetworkInterconnect(ctx, "networkToNetworkInterconnect", &managednetworkfabric.NetworkToNetworkInterconnectArgs{
    			EgressAclId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl"),
    			ExportRoutePolicy: &managednetworkfabric.ExportRoutePolicyInformationArgs{
    				ExportIpv4RoutePolicyId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy"),
    				ExportIpv6RoutePolicyId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy"),
    			},
    			ImportRoutePolicy: &managednetworkfabric.ImportRoutePolicyInformationArgs{
    				ImportIpv4RoutePolicyId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy"),
    				ImportIpv6RoutePolicyId: pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy"),
    			},
    			IngressAclId:     pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl"),
    			IsManagementType: pulumi.String(managednetworkfabric.IsManagementTypeTrue),
    			Layer2Configuration: &managednetworkfabric.Layer2ConfigurationArgs{
    				Interfaces: pulumi.StringArray{
    					pulumi.String("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface"),
    				},
    				Mtu: pulumi.Int(1500),
    			},
    			NetworkFabricName:                pulumi.String("example-fabric"),
    			NetworkToNetworkInterconnectName: pulumi.String("example-nni"),
    			NniType:                          pulumi.String(managednetworkfabric.NniTypeCE),
    			NpbStaticRouteConfiguration: &managednetworkfabric.NpbStaticRouteConfigurationArgs{
    				BfdConfiguration: &managednetworkfabric.BfdConfigurationArgs{
    					IntervalInMilliSeconds: pulumi.Int(300),
    					Multiplier:             pulumi.Int(25),
    				},
    				Ipv4Routes: managednetworkfabric.StaticRoutePropertiesArray{
    					&managednetworkfabric.StaticRoutePropertiesArgs{
    						NextHop: pulumi.StringArray{
    							pulumi.String("21.20.20.20"),
    						},
    						Prefix: pulumi.String("20.0.0.12/30"),
    					},
    				},
    				Ipv6Routes: managednetworkfabric.StaticRoutePropertiesArray{
    					&managednetworkfabric.StaticRoutePropertiesArgs{
    						NextHop: pulumi.StringArray{
    							pulumi.String("4FFE:FFFF:0:CD30::ac"),
    						},
    						Prefix: pulumi.String("3FFE:FFFF:0:CD30::ac/127"),
    					},
    				},
    			},
    			OptionBLayer3Configuration: &managednetworkfabric.NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs{
    				PeerASN:             pulumi.Float64(61234),
    				PrimaryIpv4Prefix:   pulumi.String("10.0.0.12/30"),
    				PrimaryIpv6Prefix:   pulumi.String("4FFE:FFFF:0:CD30::a8/127"),
    				SecondaryIpv4Prefix: pulumi.String("40.0.0.14/30"),
    				SecondaryIpv6Prefix: pulumi.String("6FFE:FFFF:0:CD30::ac/127"),
    				VlanId:              pulumi.Int(1234),
    			},
    			ResourceGroupName: pulumi.String("example-rg"),
    			UseOptionB:        pulumi.String(managednetworkfabric.BooleanEnumPropertyTrue),
    		})
    		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.NetworkToNetworkInterconnect;
    import com.pulumi.azurenative.managednetworkfabric.NetworkToNetworkInterconnectArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.ExportRoutePolicyInformationArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.ImportRoutePolicyInformationArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.Layer2ConfigurationArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.NpbStaticRouteConfigurationArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.BfdConfigurationArgs;
    import com.pulumi.azurenative.managednetworkfabric.inputs.NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs;
    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 networkToNetworkInterconnect = new NetworkToNetworkInterconnect("networkToNetworkInterconnect", NetworkToNetworkInterconnectArgs.builder()
                .egressAclId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
                .exportRoutePolicy(ExportRoutePolicyInformationArgs.builder()
                    .exportIpv4RoutePolicyId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
                    .exportIpv6RoutePolicyId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
                    .build())
                .importRoutePolicy(ImportRoutePolicyInformationArgs.builder()
                    .importIpv4RoutePolicyId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
                    .importIpv6RoutePolicyId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy")
                    .build())
                .ingressAclId("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl")
                .isManagementType("True")
                .layer2Configuration(Layer2ConfigurationArgs.builder()
                    .interfaces("/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface")
                    .mtu(1500)
                    .build())
                .networkFabricName("example-fabric")
                .networkToNetworkInterconnectName("example-nni")
                .nniType("CE")
                .npbStaticRouteConfiguration(NpbStaticRouteConfigurationArgs.builder()
                    .bfdConfiguration(BfdConfigurationArgs.builder()
                        .intervalInMilliSeconds(300)
                        .multiplier(25)
                        .build())
                    .ipv4Routes(StaticRoutePropertiesArgs.builder()
                        .nextHop("21.20.20.20")
                        .prefix("20.0.0.12/30")
                        .build())
                    .ipv6Routes(StaticRoutePropertiesArgs.builder()
                        .nextHop("4FFE:FFFF:0:CD30::ac")
                        .prefix("3FFE:FFFF:0:CD30::ac/127")
                        .build())
                    .build())
                .optionBLayer3Configuration(NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs.builder()
                    .peerASN(61234.0)
                    .primaryIpv4Prefix("10.0.0.12/30")
                    .primaryIpv6Prefix("4FFE:FFFF:0:CD30::a8/127")
                    .secondaryIpv4Prefix("40.0.0.14/30")
                    .secondaryIpv6Prefix("6FFE:FFFF:0:CD30::ac/127")
                    .vlanId(1234)
                    .build())
                .resourceGroupName("example-rg")
                .useOptionB("True")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const networkToNetworkInterconnect = new azure_native.managednetworkfabric.NetworkToNetworkInterconnect("networkToNetworkInterconnect", {
        egressAclId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl",
        exportRoutePolicy: {
            exportIpv4RoutePolicyId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
            exportIpv6RoutePolicyId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
        },
        importRoutePolicy: {
            importIpv4RoutePolicyId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
            importIpv6RoutePolicyId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
        },
        ingressAclId: "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl",
        isManagementType: azure_native.managednetworkfabric.IsManagementType.True,
        layer2Configuration: {
            interfaces: ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface"],
            mtu: 1500,
        },
        networkFabricName: "example-fabric",
        networkToNetworkInterconnectName: "example-nni",
        nniType: azure_native.managednetworkfabric.NniType.CE,
        npbStaticRouteConfiguration: {
            bfdConfiguration: {
                intervalInMilliSeconds: 300,
                multiplier: 25,
            },
            ipv4Routes: [{
                nextHop: ["21.20.20.20"],
                prefix: "20.0.0.12/30",
            }],
            ipv6Routes: [{
                nextHop: ["4FFE:FFFF:0:CD30::ac"],
                prefix: "3FFE:FFFF:0:CD30::ac/127",
            }],
        },
        optionBLayer3Configuration: {
            peerASN: 61234,
            primaryIpv4Prefix: "10.0.0.12/30",
            primaryIpv6Prefix: "4FFE:FFFF:0:CD30::a8/127",
            secondaryIpv4Prefix: "40.0.0.14/30",
            secondaryIpv6Prefix: "6FFE:FFFF:0:CD30::ac/127",
            vlanId: 1234,
        },
        resourceGroupName: "example-rg",
        useOptionB: azure_native.managednetworkfabric.BooleanEnumProperty.True,
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    network_to_network_interconnect = azure_native.managednetworkfabric.NetworkToNetworkInterconnect("networkToNetworkInterconnect",
        egress_acl_id="/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl",
        export_route_policy={
            "export_ipv4_route_policy_id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
            "export_ipv6_route_policy_id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
        },
        import_route_policy={
            "import_ipv4_route_policy_id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
            "import_ipv6_route_policy_id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy",
        },
        ingress_acl_id="/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl",
        is_management_type=azure_native.managednetworkfabric.IsManagementType.TRUE,
        layer2_configuration={
            "interfaces": ["/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface"],
            "mtu": 1500,
        },
        network_fabric_name="example-fabric",
        network_to_network_interconnect_name="example-nni",
        nni_type=azure_native.managednetworkfabric.NniType.CE,
        npb_static_route_configuration={
            "bfd_configuration": {
                "interval_in_milli_seconds": 300,
                "multiplier": 25,
            },
            "ipv4_routes": [{
                "next_hop": ["21.20.20.20"],
                "prefix": "20.0.0.12/30",
            }],
            "ipv6_routes": [{
                "next_hop": ["4FFE:FFFF:0:CD30::ac"],
                "prefix": "3FFE:FFFF:0:CD30::ac/127",
            }],
        },
        option_b_layer3_configuration={
            "peer_asn": 61234,
            "primary_ipv4_prefix": "10.0.0.12/30",
            "primary_ipv6_prefix": "4FFE:FFFF:0:CD30::a8/127",
            "secondary_ipv4_prefix": "40.0.0.14/30",
            "secondary_ipv6_prefix": "6FFE:FFFF:0:CD30::ac/127",
            "vlan_id": 1234,
        },
        resource_group_name="example-rg",
        use_option_b=azure_native.managednetworkfabric.BooleanEnumProperty.TRUE)
    
    resources:
      networkToNetworkInterconnect:
        type: azure-native:managednetworkfabric:NetworkToNetworkInterconnect
        properties:
          egressAclId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl
          exportRoutePolicy:
            exportIpv4RoutePolicyId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy
            exportIpv6RoutePolicyId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy
          importRoutePolicy:
            importIpv4RoutePolicyId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy
            importIpv6RoutePolicyId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy
          ingressAclId: /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl
          isManagementType: True
          layer2Configuration:
            interfaces:
              - /subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface
            mtu: 1500
          networkFabricName: example-fabric
          networkToNetworkInterconnectName: example-nni
          nniType: CE
          npbStaticRouteConfiguration:
            bfdConfiguration:
              intervalInMilliSeconds: 300
              multiplier: 25
            ipv4Routes:
              - nextHop:
                  - 21.20.20.20
                prefix: 20.0.0.12/30
            ipv6Routes:
              - nextHop:
                  - 4FFE:FFFF:0:CD30::ac
                prefix: 3FFE:FFFF:0:CD30::ac/127
          optionBLayer3Configuration:
            peerASN: 61234
            primaryIpv4Prefix: 10.0.0.12/30
            primaryIpv6Prefix: 4FFE:FFFF:0:CD30::a8/127
            secondaryIpv4Prefix: 40.0.0.14/30
            secondaryIpv6Prefix: 6FFE:FFFF:0:CD30::ac/127
            vlanId: 1234
          resourceGroupName: example-rg
          useOptionB: True
    

    Create NetworkToNetworkInterconnect Resource

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

    Constructor syntax

    new NetworkToNetworkInterconnect(name: string, args: NetworkToNetworkInterconnectArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkToNetworkInterconnect(resource_name: str,
                                     args: NetworkToNetworkInterconnectArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkToNetworkInterconnect(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     network_fabric_name: Optional[str] = None,
                                     use_option_b: Optional[Union[str, BooleanEnumProperty]] = None,
                                     resource_group_name: Optional[str] = None,
                                     ingress_acl_id: Optional[str] = None,
                                     is_management_type: Optional[Union[str, IsManagementType]] = None,
                                     layer2_configuration: Optional[Layer2ConfigurationArgs] = None,
                                     egress_acl_id: Optional[str] = None,
                                     network_to_network_interconnect_name: Optional[str] = None,
                                     nni_type: Optional[Union[str, NniType]] = None,
                                     npb_static_route_configuration: Optional[NpbStaticRouteConfigurationArgs] = None,
                                     option_b_layer3_configuration: Optional[NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs] = None,
                                     import_route_policy: Optional[ImportRoutePolicyInformationArgs] = None,
                                     export_route_policy: Optional[ExportRoutePolicyInformationArgs] = None)
    func NewNetworkToNetworkInterconnect(ctx *Context, name string, args NetworkToNetworkInterconnectArgs, opts ...ResourceOption) (*NetworkToNetworkInterconnect, error)
    public NetworkToNetworkInterconnect(string name, NetworkToNetworkInterconnectArgs args, CustomResourceOptions? opts = null)
    public NetworkToNetworkInterconnect(String name, NetworkToNetworkInterconnectArgs args)
    public NetworkToNetworkInterconnect(String name, NetworkToNetworkInterconnectArgs args, CustomResourceOptions options)
    
    type: azure-native:managednetworkfabric:NetworkToNetworkInterconnect
    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 NetworkToNetworkInterconnectArgs
    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 NetworkToNetworkInterconnectArgs
    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 NetworkToNetworkInterconnectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkToNetworkInterconnectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkToNetworkInterconnectArgs
    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 networkToNetworkInterconnectResource = new AzureNative.ManagedNetworkFabric.NetworkToNetworkInterconnect("networkToNetworkInterconnectResource", new()
    {
        NetworkFabricName = "string",
        UseOptionB = "string",
        ResourceGroupName = "string",
        IngressAclId = "string",
        IsManagementType = "string",
        Layer2Configuration = new AzureNative.ManagedNetworkFabric.Inputs.Layer2ConfigurationArgs
        {
            Interfaces = new[]
            {
                "string",
            },
            Mtu = 0,
        },
        EgressAclId = "string",
        NetworkToNetworkInterconnectName = "string",
        NniType = "string",
        NpbStaticRouteConfiguration = new AzureNative.ManagedNetworkFabric.Inputs.NpbStaticRouteConfigurationArgs
        {
            BfdConfiguration = new AzureNative.ManagedNetworkFabric.Inputs.BfdConfigurationArgs
            {
                IntervalInMilliSeconds = 0,
                Multiplier = 0,
            },
            Ipv4Routes = new[]
            {
                new AzureNative.ManagedNetworkFabric.Inputs.StaticRoutePropertiesArgs
                {
                    NextHop = new[]
                    {
                        "string",
                    },
                    Prefix = "string",
                },
            },
            Ipv6Routes = new[]
            {
                new AzureNative.ManagedNetworkFabric.Inputs.StaticRoutePropertiesArgs
                {
                    NextHop = new[]
                    {
                        "string",
                    },
                    Prefix = "string",
                },
            },
        },
        OptionBLayer3Configuration = new AzureNative.ManagedNetworkFabric.Inputs.NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs
        {
            PeerASN = 0,
            VlanId = 0,
            PrimaryIpv4Prefix = "string",
            PrimaryIpv6Prefix = "string",
            SecondaryIpv4Prefix = "string",
            SecondaryIpv6Prefix = "string",
        },
        ImportRoutePolicy = new AzureNative.ManagedNetworkFabric.Inputs.ImportRoutePolicyInformationArgs
        {
            ImportIpv4RoutePolicyId = "string",
            ImportIpv6RoutePolicyId = "string",
        },
        ExportRoutePolicy = new AzureNative.ManagedNetworkFabric.Inputs.ExportRoutePolicyInformationArgs
        {
            ExportIpv4RoutePolicyId = "string",
            ExportIpv6RoutePolicyId = "string",
        },
    });
    
    example, err := managednetworkfabric.NewNetworkToNetworkInterconnect(ctx, "networkToNetworkInterconnectResource", &managednetworkfabric.NetworkToNetworkInterconnectArgs{
    	NetworkFabricName: pulumi.String("string"),
    	UseOptionB:        pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	IngressAclId:      pulumi.String("string"),
    	IsManagementType:  pulumi.String("string"),
    	Layer2Configuration: &managednetworkfabric.Layer2ConfigurationArgs{
    		Interfaces: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Mtu: pulumi.Int(0),
    	},
    	EgressAclId:                      pulumi.String("string"),
    	NetworkToNetworkInterconnectName: pulumi.String("string"),
    	NniType:                          pulumi.String("string"),
    	NpbStaticRouteConfiguration: &managednetworkfabric.NpbStaticRouteConfigurationArgs{
    		BfdConfiguration: &managednetworkfabric.BfdConfigurationArgs{
    			IntervalInMilliSeconds: pulumi.Int(0),
    			Multiplier:             pulumi.Int(0),
    		},
    		Ipv4Routes: managednetworkfabric.StaticRoutePropertiesArray{
    			&managednetworkfabric.StaticRoutePropertiesArgs{
    				NextHop: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Prefix: pulumi.String("string"),
    			},
    		},
    		Ipv6Routes: managednetworkfabric.StaticRoutePropertiesArray{
    			&managednetworkfabric.StaticRoutePropertiesArgs{
    				NextHop: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Prefix: pulumi.String("string"),
    			},
    		},
    	},
    	OptionBLayer3Configuration: &managednetworkfabric.NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs{
    		PeerASN:             pulumi.Float64(0),
    		VlanId:              pulumi.Int(0),
    		PrimaryIpv4Prefix:   pulumi.String("string"),
    		PrimaryIpv6Prefix:   pulumi.String("string"),
    		SecondaryIpv4Prefix: pulumi.String("string"),
    		SecondaryIpv6Prefix: pulumi.String("string"),
    	},
    	ImportRoutePolicy: &managednetworkfabric.ImportRoutePolicyInformationArgs{
    		ImportIpv4RoutePolicyId: pulumi.String("string"),
    		ImportIpv6RoutePolicyId: pulumi.String("string"),
    	},
    	ExportRoutePolicy: &managednetworkfabric.ExportRoutePolicyInformationArgs{
    		ExportIpv4RoutePolicyId: pulumi.String("string"),
    		ExportIpv6RoutePolicyId: pulumi.String("string"),
    	},
    })
    
    var networkToNetworkInterconnectResource = new NetworkToNetworkInterconnect("networkToNetworkInterconnectResource", NetworkToNetworkInterconnectArgs.builder()
        .networkFabricName("string")
        .useOptionB("string")
        .resourceGroupName("string")
        .ingressAclId("string")
        .isManagementType("string")
        .layer2Configuration(Layer2ConfigurationArgs.builder()
            .interfaces("string")
            .mtu(0)
            .build())
        .egressAclId("string")
        .networkToNetworkInterconnectName("string")
        .nniType("string")
        .npbStaticRouteConfiguration(NpbStaticRouteConfigurationArgs.builder()
            .bfdConfiguration(BfdConfigurationArgs.builder()
                .intervalInMilliSeconds(0)
                .multiplier(0)
                .build())
            .ipv4Routes(StaticRoutePropertiesArgs.builder()
                .nextHop("string")
                .prefix("string")
                .build())
            .ipv6Routes(StaticRoutePropertiesArgs.builder()
                .nextHop("string")
                .prefix("string")
                .build())
            .build())
        .optionBLayer3Configuration(NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs.builder()
            .peerASN(0)
            .vlanId(0)
            .primaryIpv4Prefix("string")
            .primaryIpv6Prefix("string")
            .secondaryIpv4Prefix("string")
            .secondaryIpv6Prefix("string")
            .build())
        .importRoutePolicy(ImportRoutePolicyInformationArgs.builder()
            .importIpv4RoutePolicyId("string")
            .importIpv6RoutePolicyId("string")
            .build())
        .exportRoutePolicy(ExportRoutePolicyInformationArgs.builder()
            .exportIpv4RoutePolicyId("string")
            .exportIpv6RoutePolicyId("string")
            .build())
        .build());
    
    network_to_network_interconnect_resource = azure_native.managednetworkfabric.NetworkToNetworkInterconnect("networkToNetworkInterconnectResource",
        network_fabric_name="string",
        use_option_b="string",
        resource_group_name="string",
        ingress_acl_id="string",
        is_management_type="string",
        layer2_configuration={
            "interfaces": ["string"],
            "mtu": 0,
        },
        egress_acl_id="string",
        network_to_network_interconnect_name="string",
        nni_type="string",
        npb_static_route_configuration={
            "bfd_configuration": {
                "interval_in_milli_seconds": 0,
                "multiplier": 0,
            },
            "ipv4_routes": [{
                "next_hop": ["string"],
                "prefix": "string",
            }],
            "ipv6_routes": [{
                "next_hop": ["string"],
                "prefix": "string",
            }],
        },
        option_b_layer3_configuration={
            "peer_asn": 0,
            "vlan_id": 0,
            "primary_ipv4_prefix": "string",
            "primary_ipv6_prefix": "string",
            "secondary_ipv4_prefix": "string",
            "secondary_ipv6_prefix": "string",
        },
        import_route_policy={
            "import_ipv4_route_policy_id": "string",
            "import_ipv6_route_policy_id": "string",
        },
        export_route_policy={
            "export_ipv4_route_policy_id": "string",
            "export_ipv6_route_policy_id": "string",
        })
    
    const networkToNetworkInterconnectResource = new azure_native.managednetworkfabric.NetworkToNetworkInterconnect("networkToNetworkInterconnectResource", {
        networkFabricName: "string",
        useOptionB: "string",
        resourceGroupName: "string",
        ingressAclId: "string",
        isManagementType: "string",
        layer2Configuration: {
            interfaces: ["string"],
            mtu: 0,
        },
        egressAclId: "string",
        networkToNetworkInterconnectName: "string",
        nniType: "string",
        npbStaticRouteConfiguration: {
            bfdConfiguration: {
                intervalInMilliSeconds: 0,
                multiplier: 0,
            },
            ipv4Routes: [{
                nextHop: ["string"],
                prefix: "string",
            }],
            ipv6Routes: [{
                nextHop: ["string"],
                prefix: "string",
            }],
        },
        optionBLayer3Configuration: {
            peerASN: 0,
            vlanId: 0,
            primaryIpv4Prefix: "string",
            primaryIpv6Prefix: "string",
            secondaryIpv4Prefix: "string",
            secondaryIpv6Prefix: "string",
        },
        importRoutePolicy: {
            importIpv4RoutePolicyId: "string",
            importIpv6RoutePolicyId: "string",
        },
        exportRoutePolicy: {
            exportIpv4RoutePolicyId: "string",
            exportIpv6RoutePolicyId: "string",
        },
    });
    
    type: azure-native:managednetworkfabric:NetworkToNetworkInterconnect
    properties:
        egressAclId: string
        exportRoutePolicy:
            exportIpv4RoutePolicyId: string
            exportIpv6RoutePolicyId: string
        importRoutePolicy:
            importIpv4RoutePolicyId: string
            importIpv6RoutePolicyId: string
        ingressAclId: string
        isManagementType: string
        layer2Configuration:
            interfaces:
                - string
            mtu: 0
        networkFabricName: string
        networkToNetworkInterconnectName: string
        nniType: string
        npbStaticRouteConfiguration:
            bfdConfiguration:
                intervalInMilliSeconds: 0
                multiplier: 0
            ipv4Routes:
                - nextHop:
                    - string
                  prefix: string
            ipv6Routes:
                - nextHop:
                    - string
                  prefix: string
        optionBLayer3Configuration:
            peerASN: 0
            primaryIpv4Prefix: string
            primaryIpv6Prefix: string
            secondaryIpv4Prefix: string
            secondaryIpv6Prefix: string
            vlanId: 0
        resourceGroupName: string
        useOptionB: string
    

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

    NetworkFabricName string
    Name of the Network Fabric.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    UseOptionB string | Pulumi.AzureNative.ManagedNetworkFabric.BooleanEnumProperty
    Based on this option layer3 parameters are mandatory. Example: True/False
    EgressAclId string
    Egress Acl. ARM resource ID of Access Control Lists.
    ExportRoutePolicy Pulumi.AzureNative.ManagedNetworkFabric.Inputs.ExportRoutePolicyInformation
    Export Route Policy configuration.
    ImportRoutePolicy Pulumi.AzureNative.ManagedNetworkFabric.Inputs.ImportRoutePolicyInformation
    Import Route Policy configuration.
    IngressAclId string
    Ingress Acl. ARM resource ID of Access Control Lists.
    IsManagementType string | Pulumi.AzureNative.ManagedNetworkFabric.IsManagementType
    Configuration to use NNI for Infrastructure Management. Example: True/False.
    Layer2Configuration Pulumi.AzureNative.ManagedNetworkFabric.Inputs.Layer2Configuration
    Common properties for Layer2 Configuration.
    NetworkToNetworkInterconnectName string
    Name of the Network to Network Interconnect.
    NniType string | Pulumi.AzureNative.ManagedNetworkFabric.NniType
    Type of NNI used. Example: CE | NPB
    NpbStaticRouteConfiguration Pulumi.AzureNative.ManagedNetworkFabric.Inputs.NpbStaticRouteConfiguration
    NPB Static Route Configuration properties.
    OptionBLayer3Configuration Pulumi.AzureNative.ManagedNetworkFabric.Inputs.NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration
    Common properties for Layer3Configuration.
    NetworkFabricName string
    Name of the Network Fabric.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    UseOptionB string | BooleanEnumProperty
    Based on this option layer3 parameters are mandatory. Example: True/False
    EgressAclId string
    Egress Acl. ARM resource ID of Access Control Lists.
    ExportRoutePolicy ExportRoutePolicyInformationArgs
    Export Route Policy configuration.
    ImportRoutePolicy ImportRoutePolicyInformationArgs
    Import Route Policy configuration.
    IngressAclId string
    Ingress Acl. ARM resource ID of Access Control Lists.
    IsManagementType string | IsManagementType
    Configuration to use NNI for Infrastructure Management. Example: True/False.
    Layer2Configuration Layer2ConfigurationArgs
    Common properties for Layer2 Configuration.
    NetworkToNetworkInterconnectName string
    Name of the Network to Network Interconnect.
    NniType string | NniType
    Type of NNI used. Example: CE | NPB
    NpbStaticRouteConfiguration NpbStaticRouteConfigurationArgs
    NPB Static Route Configuration properties.
    OptionBLayer3Configuration NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs
    Common properties for Layer3Configuration.
    networkFabricName String
    Name of the Network Fabric.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    useOptionB String | BooleanEnumProperty
    Based on this option layer3 parameters are mandatory. Example: True/False
    egressAclId String
    Egress Acl. ARM resource ID of Access Control Lists.
    exportRoutePolicy ExportRoutePolicyInformation
    Export Route Policy configuration.
    importRoutePolicy ImportRoutePolicyInformation
    Import Route Policy configuration.
    ingressAclId String
    Ingress Acl. ARM resource ID of Access Control Lists.
    isManagementType String | IsManagementType
    Configuration to use NNI for Infrastructure Management. Example: True/False.
    layer2Configuration Layer2Configuration
    Common properties for Layer2 Configuration.
    networkToNetworkInterconnectName String
    Name of the Network to Network Interconnect.
    nniType String | NniType
    Type of NNI used. Example: CE | NPB
    npbStaticRouteConfiguration NpbStaticRouteConfiguration
    NPB Static Route Configuration properties.
    optionBLayer3Configuration NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration
    Common properties for Layer3Configuration.
    networkFabricName string
    Name of the Network Fabric.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    useOptionB string | BooleanEnumProperty
    Based on this option layer3 parameters are mandatory. Example: True/False
    egressAclId string
    Egress Acl. ARM resource ID of Access Control Lists.
    exportRoutePolicy ExportRoutePolicyInformation
    Export Route Policy configuration.
    importRoutePolicy ImportRoutePolicyInformation
    Import Route Policy configuration.
    ingressAclId string
    Ingress Acl. ARM resource ID of Access Control Lists.
    isManagementType string | IsManagementType
    Configuration to use NNI for Infrastructure Management. Example: True/False.
    layer2Configuration Layer2Configuration
    Common properties for Layer2 Configuration.
    networkToNetworkInterconnectName string
    Name of the Network to Network Interconnect.
    nniType string | NniType
    Type of NNI used. Example: CE | NPB
    npbStaticRouteConfiguration NpbStaticRouteConfiguration
    NPB Static Route Configuration properties.
    optionBLayer3Configuration NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration
    Common properties for Layer3Configuration.
    network_fabric_name str
    Name of the Network Fabric.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    use_option_b str | BooleanEnumProperty
    Based on this option layer3 parameters are mandatory. Example: True/False
    egress_acl_id str
    Egress Acl. ARM resource ID of Access Control Lists.
    export_route_policy ExportRoutePolicyInformationArgs
    Export Route Policy configuration.
    import_route_policy ImportRoutePolicyInformationArgs
    Import Route Policy configuration.
    ingress_acl_id str
    Ingress Acl. ARM resource ID of Access Control Lists.
    is_management_type str | IsManagementType
    Configuration to use NNI for Infrastructure Management. Example: True/False.
    layer2_configuration Layer2ConfigurationArgs
    Common properties for Layer2 Configuration.
    network_to_network_interconnect_name str
    Name of the Network to Network Interconnect.
    nni_type str | NniType
    Type of NNI used. Example: CE | NPB
    npb_static_route_configuration NpbStaticRouteConfigurationArgs
    NPB Static Route Configuration properties.
    option_b_layer3_configuration NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs
    Common properties for Layer3Configuration.
    networkFabricName String
    Name of the Network Fabric.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    useOptionB String | "True" | "False"
    Based on this option layer3 parameters are mandatory. Example: True/False
    egressAclId String
    Egress Acl. ARM resource ID of Access Control Lists.
    exportRoutePolicy Property Map
    Export Route Policy configuration.
    importRoutePolicy Property Map
    Import Route Policy configuration.
    ingressAclId String
    Ingress Acl. ARM resource ID of Access Control Lists.
    isManagementType String | "True" | "False"
    Configuration to use NNI for Infrastructure Management. Example: True/False.
    layer2Configuration Property Map
    Common properties for Layer2 Configuration.
    networkToNetworkInterconnectName String
    Name of the Network to Network Interconnect.
    nniType String | "CE" | "NPB"
    Type of NNI used. Example: CE | NPB
    npbStaticRouteConfiguration Property Map
    NPB Static Route Configuration properties.
    optionBLayer3Configuration Property Map
    Common properties for Layer3Configuration.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkToNetworkInterconnect 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

    BfdConfiguration, BfdConfigurationArgs

    IntervalInMilliSeconds int
    Interval in milliseconds. Example: 300.
    Multiplier int
    Multiplier for the Bfd Configuration. Example: 5.
    IntervalInMilliSeconds int
    Interval in milliseconds. Example: 300.
    Multiplier int
    Multiplier for the Bfd Configuration. Example: 5.
    intervalInMilliSeconds Integer
    Interval in milliseconds. Example: 300.
    multiplier Integer
    Multiplier for the Bfd Configuration. Example: 5.
    intervalInMilliSeconds number
    Interval in milliseconds. Example: 300.
    multiplier number
    Multiplier for the Bfd Configuration. Example: 5.
    interval_in_milli_seconds int
    Interval in milliseconds. Example: 300.
    multiplier int
    Multiplier for the Bfd Configuration. Example: 5.
    intervalInMilliSeconds Number
    Interval in milliseconds. Example: 300.
    multiplier Number
    Multiplier for the Bfd Configuration. Example: 5.

    BfdConfigurationResponse, BfdConfigurationResponseArgs

    AdministrativeState string
    Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
    IntervalInMilliSeconds int
    Interval in milliseconds. Example: 300.
    Multiplier int
    Multiplier for the Bfd Configuration. Example: 5.
    AdministrativeState string
    Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
    IntervalInMilliSeconds int
    Interval in milliseconds. Example: 300.
    Multiplier int
    Multiplier for the Bfd Configuration. Example: 5.
    administrativeState String
    Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
    intervalInMilliSeconds Integer
    Interval in milliseconds. Example: 300.
    multiplier Integer
    Multiplier for the Bfd Configuration. Example: 5.
    administrativeState string
    Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
    intervalInMilliSeconds number
    Interval in milliseconds. Example: 300.
    multiplier number
    Multiplier for the Bfd Configuration. Example: 5.
    administrative_state str
    Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
    interval_in_milli_seconds int
    Interval in milliseconds. Example: 300.
    multiplier int
    Multiplier for the Bfd Configuration. Example: 5.
    administrativeState String
    Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
    intervalInMilliSeconds Number
    Interval in milliseconds. Example: 300.
    multiplier Number
    Multiplier for the Bfd Configuration. Example: 5.

    BooleanEnumProperty, BooleanEnumPropertyArgs

    True
    True
    False
    False
    BooleanEnumPropertyTrue
    True
    BooleanEnumPropertyFalse
    False
    True
    True
    False
    False
    True
    True
    False
    False
    TRUE
    True
    FALSE
    False
    "True"
    True
    "False"
    False

    ExportRoutePolicyInformation, ExportRoutePolicyInformationArgs

    ExportIpv4RoutePolicyId string
    Export IPv4 Route Policy Id.
    ExportIpv6RoutePolicyId string
    Export IPv6 Route Policy Id.
    ExportIpv4RoutePolicyId string
    Export IPv4 Route Policy Id.
    ExportIpv6RoutePolicyId string
    Export IPv6 Route Policy Id.
    exportIpv4RoutePolicyId String
    Export IPv4 Route Policy Id.
    exportIpv6RoutePolicyId String
    Export IPv6 Route Policy Id.
    exportIpv4RoutePolicyId string
    Export IPv4 Route Policy Id.
    exportIpv6RoutePolicyId string
    Export IPv6 Route Policy Id.
    export_ipv4_route_policy_id str
    Export IPv4 Route Policy Id.
    export_ipv6_route_policy_id str
    Export IPv6 Route Policy Id.
    exportIpv4RoutePolicyId String
    Export IPv4 Route Policy Id.
    exportIpv6RoutePolicyId String
    Export IPv6 Route Policy Id.

    ExportRoutePolicyInformationResponse, ExportRoutePolicyInformationResponseArgs

    ExportIpv4RoutePolicyId string
    Export IPv4 Route Policy Id.
    ExportIpv6RoutePolicyId string
    Export IPv6 Route Policy Id.
    ExportIpv4RoutePolicyId string
    Export IPv4 Route Policy Id.
    ExportIpv6RoutePolicyId string
    Export IPv6 Route Policy Id.
    exportIpv4RoutePolicyId String
    Export IPv4 Route Policy Id.
    exportIpv6RoutePolicyId String
    Export IPv6 Route Policy Id.
    exportIpv4RoutePolicyId string
    Export IPv4 Route Policy Id.
    exportIpv6RoutePolicyId string
    Export IPv6 Route Policy Id.
    export_ipv4_route_policy_id str
    Export IPv4 Route Policy Id.
    export_ipv6_route_policy_id str
    Export IPv6 Route Policy Id.
    exportIpv4RoutePolicyId String
    Export IPv4 Route Policy Id.
    exportIpv6RoutePolicyId String
    Export IPv6 Route Policy Id.

    ImportRoutePolicyInformation, ImportRoutePolicyInformationArgs

    ImportIpv4RoutePolicyId string
    Import IPv4 Route Policy Id.
    ImportIpv6RoutePolicyId string
    Import IPv6 Route Policy Id.
    ImportIpv4RoutePolicyId string
    Import IPv4 Route Policy Id.
    ImportIpv6RoutePolicyId string
    Import IPv6 Route Policy Id.
    importIpv4RoutePolicyId String
    Import IPv4 Route Policy Id.
    importIpv6RoutePolicyId String
    Import IPv6 Route Policy Id.
    importIpv4RoutePolicyId string
    Import IPv4 Route Policy Id.
    importIpv6RoutePolicyId string
    Import IPv6 Route Policy Id.
    import_ipv4_route_policy_id str
    Import IPv4 Route Policy Id.
    import_ipv6_route_policy_id str
    Import IPv6 Route Policy Id.
    importIpv4RoutePolicyId String
    Import IPv4 Route Policy Id.
    importIpv6RoutePolicyId String
    Import IPv6 Route Policy Id.

    ImportRoutePolicyInformationResponse, ImportRoutePolicyInformationResponseArgs

    ImportIpv4RoutePolicyId string
    Import IPv4 Route Policy Id.
    ImportIpv6RoutePolicyId string
    Import IPv6 Route Policy Id.
    ImportIpv4RoutePolicyId string
    Import IPv4 Route Policy Id.
    ImportIpv6RoutePolicyId string
    Import IPv6 Route Policy Id.
    importIpv4RoutePolicyId String
    Import IPv4 Route Policy Id.
    importIpv6RoutePolicyId String
    Import IPv6 Route Policy Id.
    importIpv4RoutePolicyId string
    Import IPv4 Route Policy Id.
    importIpv6RoutePolicyId string
    Import IPv6 Route Policy Id.
    import_ipv4_route_policy_id str
    Import IPv4 Route Policy Id.
    import_ipv6_route_policy_id str
    Import IPv6 Route Policy Id.
    importIpv4RoutePolicyId String
    Import IPv4 Route Policy Id.
    importIpv6RoutePolicyId String
    Import IPv6 Route Policy Id.

    IsManagementType, IsManagementTypeArgs

    True
    True
    False
    False
    IsManagementTypeTrue
    True
    IsManagementTypeFalse
    False
    True
    True
    False
    False
    True
    True
    False
    False
    TRUE
    True
    FALSE
    False
    "True"
    True
    "False"
    False

    Layer2Configuration, Layer2ConfigurationArgs

    Interfaces List<string>
    List of network device interfaces resource IDs.
    Mtu int
    MTU of the packets between PE & CE.
    Interfaces []string
    List of network device interfaces resource IDs.
    Mtu int
    MTU of the packets between PE & CE.
    interfaces List<String>
    List of network device interfaces resource IDs.
    mtu Integer
    MTU of the packets between PE & CE.
    interfaces string[]
    List of network device interfaces resource IDs.
    mtu number
    MTU of the packets between PE & CE.
    interfaces Sequence[str]
    List of network device interfaces resource IDs.
    mtu int
    MTU of the packets between PE & CE.
    interfaces List<String>
    List of network device interfaces resource IDs.
    mtu Number
    MTU of the packets between PE & CE.

    Layer2ConfigurationResponse, Layer2ConfigurationResponseArgs

    Interfaces List<string>
    List of network device interfaces resource IDs.
    Mtu int
    MTU of the packets between PE & CE.
    Interfaces []string
    List of network device interfaces resource IDs.
    Mtu int
    MTU of the packets between PE & CE.
    interfaces List<String>
    List of network device interfaces resource IDs.
    mtu Integer
    MTU of the packets between PE & CE.
    interfaces string[]
    List of network device interfaces resource IDs.
    mtu number
    MTU of the packets between PE & CE.
    interfaces Sequence[str]
    List of network device interfaces resource IDs.
    mtu int
    MTU of the packets between PE & CE.
    interfaces List<String>
    List of network device interfaces resource IDs.
    mtu Number
    MTU of the packets between PE & CE.

    NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration, NetworkToNetworkInterconnectPropertiesOptionBLayer3ConfigurationArgs

    PeerASN double
    ASN of PE devices for CE/PE connectivity.Example : 28
    VlanId int
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    PrimaryIpv4Prefix string
    IPv4 Address Prefix.
    PrimaryIpv6Prefix string
    IPv6 Address Prefix.
    SecondaryIpv4Prefix string
    Secondary IPv4 Address Prefix.
    SecondaryIpv6Prefix string
    Secondary IPv6 Address Prefix.
    PeerASN float64
    ASN of PE devices for CE/PE connectivity.Example : 28
    VlanId int
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    PrimaryIpv4Prefix string
    IPv4 Address Prefix.
    PrimaryIpv6Prefix string
    IPv6 Address Prefix.
    SecondaryIpv4Prefix string
    Secondary IPv4 Address Prefix.
    SecondaryIpv6Prefix string
    Secondary IPv6 Address Prefix.
    peerASN Double
    ASN of PE devices for CE/PE connectivity.Example : 28
    vlanId Integer
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    primaryIpv4Prefix String
    IPv4 Address Prefix.
    primaryIpv6Prefix String
    IPv6 Address Prefix.
    secondaryIpv4Prefix String
    Secondary IPv4 Address Prefix.
    secondaryIpv6Prefix String
    Secondary IPv6 Address Prefix.
    peerASN number
    ASN of PE devices for CE/PE connectivity.Example : 28
    vlanId number
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    primaryIpv4Prefix string
    IPv4 Address Prefix.
    primaryIpv6Prefix string
    IPv6 Address Prefix.
    secondaryIpv4Prefix string
    Secondary IPv4 Address Prefix.
    secondaryIpv6Prefix string
    Secondary IPv6 Address Prefix.
    peer_asn float
    ASN of PE devices for CE/PE connectivity.Example : 28
    vlan_id int
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    primary_ipv4_prefix str
    IPv4 Address Prefix.
    primary_ipv6_prefix str
    IPv6 Address Prefix.
    secondary_ipv4_prefix str
    Secondary IPv4 Address Prefix.
    secondary_ipv6_prefix str
    Secondary IPv6 Address Prefix.
    peerASN Number
    ASN of PE devices for CE/PE connectivity.Example : 28
    vlanId Number
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    primaryIpv4Prefix String
    IPv4 Address Prefix.
    primaryIpv6Prefix String
    IPv6 Address Prefix.
    secondaryIpv4Prefix String
    Secondary IPv4 Address Prefix.
    secondaryIpv6Prefix String
    Secondary IPv6 Address Prefix.

    NetworkToNetworkInterconnectPropertiesResponseOptionBLayer3Configuration, NetworkToNetworkInterconnectPropertiesResponseOptionBLayer3ConfigurationArgs

    FabricASN double
    ASN of CE devices for CE/PE connectivity.
    PeerASN double
    ASN of PE devices for CE/PE connectivity.Example : 28
    VlanId int
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    PrimaryIpv4Prefix string
    IPv4 Address Prefix.
    PrimaryIpv6Prefix string
    IPv6 Address Prefix.
    SecondaryIpv4Prefix string
    Secondary IPv4 Address Prefix.
    SecondaryIpv6Prefix string
    Secondary IPv6 Address Prefix.
    FabricASN float64
    ASN of CE devices for CE/PE connectivity.
    PeerASN float64
    ASN of PE devices for CE/PE connectivity.Example : 28
    VlanId int
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    PrimaryIpv4Prefix string
    IPv4 Address Prefix.
    PrimaryIpv6Prefix string
    IPv6 Address Prefix.
    SecondaryIpv4Prefix string
    Secondary IPv4 Address Prefix.
    SecondaryIpv6Prefix string
    Secondary IPv6 Address Prefix.
    fabricASN Double
    ASN of CE devices for CE/PE connectivity.
    peerASN Double
    ASN of PE devices for CE/PE connectivity.Example : 28
    vlanId Integer
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    primaryIpv4Prefix String
    IPv4 Address Prefix.
    primaryIpv6Prefix String
    IPv6 Address Prefix.
    secondaryIpv4Prefix String
    Secondary IPv4 Address Prefix.
    secondaryIpv6Prefix String
    Secondary IPv6 Address Prefix.
    fabricASN number
    ASN of CE devices for CE/PE connectivity.
    peerASN number
    ASN of PE devices for CE/PE connectivity.Example : 28
    vlanId number
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    primaryIpv4Prefix string
    IPv4 Address Prefix.
    primaryIpv6Prefix string
    IPv6 Address Prefix.
    secondaryIpv4Prefix string
    Secondary IPv4 Address Prefix.
    secondaryIpv6Prefix string
    Secondary IPv6 Address Prefix.
    fabric_asn float
    ASN of CE devices for CE/PE connectivity.
    peer_asn float
    ASN of PE devices for CE/PE connectivity.Example : 28
    vlan_id int
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    primary_ipv4_prefix str
    IPv4 Address Prefix.
    primary_ipv6_prefix str
    IPv6 Address Prefix.
    secondary_ipv4_prefix str
    Secondary IPv4 Address Prefix.
    secondary_ipv6_prefix str
    Secondary IPv6 Address Prefix.
    fabricASN Number
    ASN of CE devices for CE/PE connectivity.
    peerASN Number
    ASN of PE devices for CE/PE connectivity.Example : 28
    vlanId Number
    VLAN for CE/PE Layer 3 connectivity.Example : 501
    primaryIpv4Prefix String
    IPv4 Address Prefix.
    primaryIpv6Prefix String
    IPv6 Address Prefix.
    secondaryIpv4Prefix String
    Secondary IPv4 Address Prefix.
    secondaryIpv6Prefix String
    Secondary IPv6 Address Prefix.

    NniType, NniTypeArgs

    CE
    CE
    NPB
    NPB
    NniTypeCE
    CE
    NniTypeNPB
    NPB
    CE
    CE
    NPB
    NPB
    CE
    CE
    NPB
    NPB
    CE
    CE
    NPB
    NPB
    "CE"
    CE
    "NPB"
    NPB

    NpbStaticRouteConfiguration, NpbStaticRouteConfigurationArgs

    BfdConfiguration BfdConfiguration
    BFD Configuration properties.
    Ipv4Routes []StaticRouteProperties
    List of IPv4 Routes.
    Ipv6Routes []StaticRouteProperties
    List of IPv6 Routes.
    bfdConfiguration BfdConfiguration
    BFD Configuration properties.
    ipv4Routes List<StaticRouteProperties>
    List of IPv4 Routes.
    ipv6Routes List<StaticRouteProperties>
    List of IPv6 Routes.
    bfdConfiguration BfdConfiguration
    BFD Configuration properties.
    ipv4Routes StaticRouteProperties[]
    List of IPv4 Routes.
    ipv6Routes StaticRouteProperties[]
    List of IPv6 Routes.
    bfdConfiguration Property Map
    BFD Configuration properties.
    ipv4Routes List<Property Map>
    List of IPv4 Routes.
    ipv6Routes List<Property Map>
    List of IPv6 Routes.

    NpbStaticRouteConfigurationResponse, NpbStaticRouteConfigurationResponseArgs

    bfdConfiguration Property Map
    BFD Configuration properties.
    ipv4Routes List<Property Map>
    List of IPv4 Routes.
    ipv6Routes List<Property Map>
    List of IPv6 Routes.

    StaticRouteProperties, StaticRoutePropertiesArgs

    NextHop List<string>
    List of next hop addresses.
    Prefix string
    Prefix of the route.
    NextHop []string
    List of next hop addresses.
    Prefix string
    Prefix of the route.
    nextHop List<String>
    List of next hop addresses.
    prefix String
    Prefix of the route.
    nextHop string[]
    List of next hop addresses.
    prefix string
    Prefix of the route.
    next_hop Sequence[str]
    List of next hop addresses.
    prefix str
    Prefix of the route.
    nextHop List<String>
    List of next hop addresses.
    prefix String
    Prefix of the route.

    StaticRoutePropertiesResponse, StaticRoutePropertiesResponseArgs

    NextHop List<string>
    List of next hop addresses.
    Prefix string
    Prefix of the route.
    NextHop []string
    List of next hop addresses.
    Prefix string
    Prefix of the route.
    nextHop List<String>
    List of next hop addresses.
    prefix String
    Prefix of the route.
    nextHop string[]
    List of next hop addresses.
    prefix string
    Prefix of the route.
    next_hop Sequence[str]
    List of next hop addresses.
    prefix str
    Prefix of the route.
    nextHop List<String>
    List of next hop addresses.
    prefix String
    Prefix of the route.

    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:NetworkToNetworkInterconnect example-nni /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName} 
    

    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