1. Packages
  2. Azure Native
  3. API Docs
  4. peering
  5. Peering
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.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

azure-native.peering.Peering

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.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

    Peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location. Azure REST API version: 2022-10-01. Prior API version in Azure Native 1.x: 2021-01-01.

    Example Usage

    Create a direct peering

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var peering = new AzureNative.Peering.Peering("peering", new()
        {
            Direct = new AzureNative.Peering.Inputs.PeeringPropertiesDirectArgs
            {
                Connections = new[]
                {
                    new AzureNative.Peering.Inputs.DirectConnectionArgs
                    {
                        BandwidthInMbps = 10000,
                        BgpSession = new AzureNative.Peering.Inputs.BgpSessionArgs
                        {
                            MaxPrefixesAdvertisedV4 = 1000,
                            MaxPrefixesAdvertisedV6 = 100,
                            Md5AuthenticationKey = "test-md5-auth-key",
                            SessionPrefixV4 = "192.168.0.0/31",
                            SessionPrefixV6 = "fd00::0/127",
                        },
                        ConnectionIdentifier = "5F4CB5C7-6B43-4444-9338-9ABC72606C16",
                        PeeringDBFacilityId = 99999,
                        SessionAddressProvider = AzureNative.Peering.SessionAddressProvider.Peer,
                        UseForPeeringService = false,
                    },
                    new AzureNative.Peering.Inputs.DirectConnectionArgs
                    {
                        BandwidthInMbps = 10000,
                        ConnectionIdentifier = "8AB00818-D533-4504-A25A-03A17F61201C",
                        PeeringDBFacilityId = 99999,
                        SessionAddressProvider = AzureNative.Peering.SessionAddressProvider.Microsoft,
                        UseForPeeringService = true,
                    },
                },
                DirectPeeringType = AzureNative.Peering.DirectPeeringType.Edge,
                PeerAsn = new AzureNative.Peering.Inputs.SubResourceArgs
                {
                    Id = "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
                },
            },
            Kind = AzureNative.Peering.Kind.Direct,
            Location = "eastus",
            PeeringLocation = "peeringLocation0",
            PeeringName = "peeringName",
            ResourceGroupName = "rgName",
            Sku = new AzureNative.Peering.Inputs.PeeringSkuArgs
            {
                Name = "Basic_Direct_Free",
            },
        });
    
    });
    
    package main
    
    import (
    	peering "github.com/pulumi/pulumi-azure-native-sdk/peering/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := peering.NewPeering(ctx, "peering", &peering.PeeringArgs{
    			Direct: &peering.PeeringPropertiesDirectArgs{
    				Connections: peering.DirectConnectionArray{
    					&peering.DirectConnectionArgs{
    						BandwidthInMbps: pulumi.Int(10000),
    						BgpSession: &peering.BgpSessionArgs{
    							MaxPrefixesAdvertisedV4: pulumi.Int(1000),
    							MaxPrefixesAdvertisedV6: pulumi.Int(100),
    							Md5AuthenticationKey:    pulumi.String("test-md5-auth-key"),
    							SessionPrefixV4:         pulumi.String("192.168.0.0/31"),
    							SessionPrefixV6:         pulumi.String("fd00::0/127"),
    						},
    						ConnectionIdentifier:   pulumi.String("5F4CB5C7-6B43-4444-9338-9ABC72606C16"),
    						PeeringDBFacilityId:    pulumi.Int(99999),
    						SessionAddressProvider: pulumi.String(peering.SessionAddressProviderPeer),
    						UseForPeeringService:   pulumi.Bool(false),
    					},
    					&peering.DirectConnectionArgs{
    						BandwidthInMbps:        pulumi.Int(10000),
    						ConnectionIdentifier:   pulumi.String("8AB00818-D533-4504-A25A-03A17F61201C"),
    						PeeringDBFacilityId:    pulumi.Int(99999),
    						SessionAddressProvider: pulumi.String(peering.SessionAddressProviderMicrosoft),
    						UseForPeeringService:   pulumi.Bool(true),
    					},
    				},
    				DirectPeeringType: pulumi.String(peering.DirectPeeringTypeEdge),
    				PeerAsn: &peering.SubResourceArgs{
    					Id: pulumi.String("/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"),
    				},
    			},
    			Kind:              pulumi.String(peering.KindDirect),
    			Location:          pulumi.String("eastus"),
    			PeeringLocation:   pulumi.String("peeringLocation0"),
    			PeeringName:       pulumi.String("peeringName"),
    			ResourceGroupName: pulumi.String("rgName"),
    			Sku: &peering.PeeringSkuArgs{
    				Name: pulumi.String("Basic_Direct_Free"),
    			},
    		})
    		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.peering.Peering;
    import com.pulumi.azurenative.peering.PeeringArgs;
    import com.pulumi.azurenative.peering.inputs.PeeringPropertiesDirectArgs;
    import com.pulumi.azurenative.peering.inputs.SubResourceArgs;
    import com.pulumi.azurenative.peering.inputs.PeeringSkuArgs;
    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 peering = new Peering("peering", PeeringArgs.builder()
                .direct(PeeringPropertiesDirectArgs.builder()
                    .connections(                
                        DirectConnectionArgs.builder()
                            .bandwidthInMbps(10000)
                            .bgpSession(BgpSessionArgs.builder()
                                .maxPrefixesAdvertisedV4(1000)
                                .maxPrefixesAdvertisedV6(100)
                                .md5AuthenticationKey("test-md5-auth-key")
                                .sessionPrefixV4("192.168.0.0/31")
                                .sessionPrefixV6("fd00::0/127")
                                .build())
                            .connectionIdentifier("5F4CB5C7-6B43-4444-9338-9ABC72606C16")
                            .peeringDBFacilityId(99999)
                            .sessionAddressProvider("Peer")
                            .useForPeeringService(false)
                            .build(),
                        DirectConnectionArgs.builder()
                            .bandwidthInMbps(10000)
                            .connectionIdentifier("8AB00818-D533-4504-A25A-03A17F61201C")
                            .peeringDBFacilityId(99999)
                            .sessionAddressProvider("Microsoft")
                            .useForPeeringService(true)
                            .build())
                    .directPeeringType("Edge")
                    .peerAsn(SubResourceArgs.builder()
                        .id("/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1")
                        .build())
                    .build())
                .kind("Direct")
                .location("eastus")
                .peeringLocation("peeringLocation0")
                .peeringName("peeringName")
                .resourceGroupName("rgName")
                .sku(PeeringSkuArgs.builder()
                    .name("Basic_Direct_Free")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    peering = azure_native.peering.Peering("peering",
        direct={
            "connections": [
                {
                    "bandwidthInMbps": 10000,
                    "bgpSession": {
                        "maxPrefixesAdvertisedV4": 1000,
                        "maxPrefixesAdvertisedV6": 100,
                        "md5AuthenticationKey": "test-md5-auth-key",
                        "sessionPrefixV4": "192.168.0.0/31",
                        "sessionPrefixV6": "fd00::0/127",
                    },
                    "connectionIdentifier": "5F4CB5C7-6B43-4444-9338-9ABC72606C16",
                    "peeringDBFacilityId": 99999,
                    "sessionAddressProvider": azure_native.peering.SessionAddressProvider.PEER,
                    "useForPeeringService": False,
                },
                {
                    "bandwidthInMbps": 10000,
                    "connectionIdentifier": "8AB00818-D533-4504-A25A-03A17F61201C",
                    "peeringDBFacilityId": 99999,
                    "sessionAddressProvider": azure_native.peering.SessionAddressProvider.MICROSOFT,
                    "useForPeeringService": True,
                },
            ],
            "directPeeringType": azure_native.peering.DirectPeeringType.EDGE,
            "peerAsn": {
                "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
            },
        },
        kind=azure_native.peering.Kind.DIRECT,
        location="eastus",
        peering_location="peeringLocation0",
        peering_name="peeringName",
        resource_group_name="rgName",
        sku={
            "name": "Basic_Direct_Free",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const peering = new azure_native.peering.Peering("peering", {
        direct: {
            connections: [
                {
                    bandwidthInMbps: 10000,
                    bgpSession: {
                        maxPrefixesAdvertisedV4: 1000,
                        maxPrefixesAdvertisedV6: 100,
                        md5AuthenticationKey: "test-md5-auth-key",
                        sessionPrefixV4: "192.168.0.0/31",
                        sessionPrefixV6: "fd00::0/127",
                    },
                    connectionIdentifier: "5F4CB5C7-6B43-4444-9338-9ABC72606C16",
                    peeringDBFacilityId: 99999,
                    sessionAddressProvider: azure_native.peering.SessionAddressProvider.Peer,
                    useForPeeringService: false,
                },
                {
                    bandwidthInMbps: 10000,
                    connectionIdentifier: "8AB00818-D533-4504-A25A-03A17F61201C",
                    peeringDBFacilityId: 99999,
                    sessionAddressProvider: azure_native.peering.SessionAddressProvider.Microsoft,
                    useForPeeringService: true,
                },
            ],
            directPeeringType: azure_native.peering.DirectPeeringType.Edge,
            peerAsn: {
                id: "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
            },
        },
        kind: azure_native.peering.Kind.Direct,
        location: "eastus",
        peeringLocation: "peeringLocation0",
        peeringName: "peeringName",
        resourceGroupName: "rgName",
        sku: {
            name: "Basic_Direct_Free",
        },
    });
    
    resources:
      peering:
        type: azure-native:peering:Peering
        properties:
          direct:
            connections:
              - bandwidthInMbps: 10000
                bgpSession:
                  maxPrefixesAdvertisedV4: 1000
                  maxPrefixesAdvertisedV6: 100
                  md5AuthenticationKey: test-md5-auth-key
                  sessionPrefixV4: 192.168.0.0/31
                  sessionPrefixV6: fd00::0/127
                connectionIdentifier: 5F4CB5C7-6B43-4444-9338-9ABC72606C16
                peeringDBFacilityId: 99999
                sessionAddressProvider: Peer
                useForPeeringService: false
              - bandwidthInMbps: 10000
                connectionIdentifier: 8AB00818-D533-4504-A25A-03A17F61201C
                peeringDBFacilityId: 99999
                sessionAddressProvider: Microsoft
                useForPeeringService: true
            directPeeringType: Edge
            peerAsn:
              id: /subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1
          kind: Direct
          location: eastus
          peeringLocation: peeringLocation0
          peeringName: peeringName
          resourceGroupName: rgName
          sku:
            name: Basic_Direct_Free
    

    Create a peering with exchange route server

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var peering = new AzureNative.Peering.Peering("peering", new()
        {
            Direct = new AzureNative.Peering.Inputs.PeeringPropertiesDirectArgs
            {
                Connections = new[]
                {
                    new AzureNative.Peering.Inputs.DirectConnectionArgs
                    {
                        BandwidthInMbps = 10000,
                        BgpSession = new AzureNative.Peering.Inputs.BgpSessionArgs
                        {
                            MaxPrefixesAdvertisedV4 = 1000,
                            MaxPrefixesAdvertisedV6 = 100,
                            MicrosoftSessionIPv4Address = "192.168.0.123",
                            PeerSessionIPv4Address = "192.168.0.234",
                            SessionPrefixV4 = "192.168.0.0/24",
                        },
                        ConnectionIdentifier = "5F4CB5C7-6B43-4444-9338-9ABC72606C16",
                        PeeringDBFacilityId = 99999,
                        SessionAddressProvider = AzureNative.Peering.SessionAddressProvider.Peer,
                        UseForPeeringService = true,
                    },
                },
                DirectPeeringType = AzureNative.Peering.DirectPeeringType.IxRs,
                PeerAsn = new AzureNative.Peering.Inputs.SubResourceArgs
                {
                    Id = "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
                },
            },
            Kind = AzureNative.Peering.Kind.Direct,
            Location = "eastus",
            PeeringLocation = "peeringLocation0",
            PeeringName = "peeringName",
            ResourceGroupName = "rgName",
            Sku = new AzureNative.Peering.Inputs.PeeringSkuArgs
            {
                Name = "Premium_Direct_Free",
            },
        });
    
    });
    
    package main
    
    import (
    	peering "github.com/pulumi/pulumi-azure-native-sdk/peering/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := peering.NewPeering(ctx, "peering", &peering.PeeringArgs{
    			Direct: &peering.PeeringPropertiesDirectArgs{
    				Connections: peering.DirectConnectionArray{
    					&peering.DirectConnectionArgs{
    						BandwidthInMbps: pulumi.Int(10000),
    						BgpSession: &peering.BgpSessionArgs{
    							MaxPrefixesAdvertisedV4:     pulumi.Int(1000),
    							MaxPrefixesAdvertisedV6:     pulumi.Int(100),
    							MicrosoftSessionIPv4Address: pulumi.String("192.168.0.123"),
    							PeerSessionIPv4Address:      pulumi.String("192.168.0.234"),
    							SessionPrefixV4:             pulumi.String("192.168.0.0/24"),
    						},
    						ConnectionIdentifier:   pulumi.String("5F4CB5C7-6B43-4444-9338-9ABC72606C16"),
    						PeeringDBFacilityId:    pulumi.Int(99999),
    						SessionAddressProvider: pulumi.String(peering.SessionAddressProviderPeer),
    						UseForPeeringService:   pulumi.Bool(true),
    					},
    				},
    				DirectPeeringType: pulumi.String(peering.DirectPeeringTypeIxRs),
    				PeerAsn: &peering.SubResourceArgs{
    					Id: pulumi.String("/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"),
    				},
    			},
    			Kind:              pulumi.String(peering.KindDirect),
    			Location:          pulumi.String("eastus"),
    			PeeringLocation:   pulumi.String("peeringLocation0"),
    			PeeringName:       pulumi.String("peeringName"),
    			ResourceGroupName: pulumi.String("rgName"),
    			Sku: &peering.PeeringSkuArgs{
    				Name: pulumi.String("Premium_Direct_Free"),
    			},
    		})
    		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.peering.Peering;
    import com.pulumi.azurenative.peering.PeeringArgs;
    import com.pulumi.azurenative.peering.inputs.PeeringPropertiesDirectArgs;
    import com.pulumi.azurenative.peering.inputs.SubResourceArgs;
    import com.pulumi.azurenative.peering.inputs.PeeringSkuArgs;
    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 peering = new Peering("peering", PeeringArgs.builder()
                .direct(PeeringPropertiesDirectArgs.builder()
                    .connections(DirectConnectionArgs.builder()
                        .bandwidthInMbps(10000)
                        .bgpSession(BgpSessionArgs.builder()
                            .maxPrefixesAdvertisedV4(1000)
                            .maxPrefixesAdvertisedV6(100)
                            .microsoftSessionIPv4Address("192.168.0.123")
                            .peerSessionIPv4Address("192.168.0.234")
                            .sessionPrefixV4("192.168.0.0/24")
                            .build())
                        .connectionIdentifier("5F4CB5C7-6B43-4444-9338-9ABC72606C16")
                        .peeringDBFacilityId(99999)
                        .sessionAddressProvider("Peer")
                        .useForPeeringService(true)
                        .build())
                    .directPeeringType("IxRs")
                    .peerAsn(SubResourceArgs.builder()
                        .id("/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1")
                        .build())
                    .build())
                .kind("Direct")
                .location("eastus")
                .peeringLocation("peeringLocation0")
                .peeringName("peeringName")
                .resourceGroupName("rgName")
                .sku(PeeringSkuArgs.builder()
                    .name("Premium_Direct_Free")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    peering = azure_native.peering.Peering("peering",
        direct={
            "connections": [{
                "bandwidthInMbps": 10000,
                "bgpSession": {
                    "maxPrefixesAdvertisedV4": 1000,
                    "maxPrefixesAdvertisedV6": 100,
                    "microsoftSessionIPv4Address": "192.168.0.123",
                    "peerSessionIPv4Address": "192.168.0.234",
                    "sessionPrefixV4": "192.168.0.0/24",
                },
                "connectionIdentifier": "5F4CB5C7-6B43-4444-9338-9ABC72606C16",
                "peeringDBFacilityId": 99999,
                "sessionAddressProvider": azure_native.peering.SessionAddressProvider.PEER,
                "useForPeeringService": True,
            }],
            "directPeeringType": azure_native.peering.DirectPeeringType.IX_RS,
            "peerAsn": {
                "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
            },
        },
        kind=azure_native.peering.Kind.DIRECT,
        location="eastus",
        peering_location="peeringLocation0",
        peering_name="peeringName",
        resource_group_name="rgName",
        sku={
            "name": "Premium_Direct_Free",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const peering = new azure_native.peering.Peering("peering", {
        direct: {
            connections: [{
                bandwidthInMbps: 10000,
                bgpSession: {
                    maxPrefixesAdvertisedV4: 1000,
                    maxPrefixesAdvertisedV6: 100,
                    microsoftSessionIPv4Address: "192.168.0.123",
                    peerSessionIPv4Address: "192.168.0.234",
                    sessionPrefixV4: "192.168.0.0/24",
                },
                connectionIdentifier: "5F4CB5C7-6B43-4444-9338-9ABC72606C16",
                peeringDBFacilityId: 99999,
                sessionAddressProvider: azure_native.peering.SessionAddressProvider.Peer,
                useForPeeringService: true,
            }],
            directPeeringType: azure_native.peering.DirectPeeringType.IxRs,
            peerAsn: {
                id: "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
            },
        },
        kind: azure_native.peering.Kind.Direct,
        location: "eastus",
        peeringLocation: "peeringLocation0",
        peeringName: "peeringName",
        resourceGroupName: "rgName",
        sku: {
            name: "Premium_Direct_Free",
        },
    });
    
    resources:
      peering:
        type: azure-native:peering:Peering
        properties:
          direct:
            connections:
              - bandwidthInMbps: 10000
                bgpSession:
                  maxPrefixesAdvertisedV4: 1000
                  maxPrefixesAdvertisedV6: 100
                  microsoftSessionIPv4Address: 192.168.0.123
                  peerSessionIPv4Address: 192.168.0.234
                  sessionPrefixV4: 192.168.0.0/24
                connectionIdentifier: 5F4CB5C7-6B43-4444-9338-9ABC72606C16
                peeringDBFacilityId: 99999
                sessionAddressProvider: Peer
                useForPeeringService: true
            directPeeringType: IxRs
            peerAsn:
              id: /subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1
          kind: Direct
          location: eastus
          peeringLocation: peeringLocation0
          peeringName: peeringName
          resourceGroupName: rgName
          sku:
            name: Premium_Direct_Free
    

    Create an exchange peering

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var peering = new AzureNative.Peering.Peering("peering", new()
        {
            Exchange = new AzureNative.Peering.Inputs.PeeringPropertiesExchangeArgs
            {
                Connections = new[]
                {
                    new AzureNative.Peering.Inputs.ExchangeConnectionArgs
                    {
                        BgpSession = new AzureNative.Peering.Inputs.BgpSessionArgs
                        {
                            MaxPrefixesAdvertisedV4 = 1000,
                            MaxPrefixesAdvertisedV6 = 100,
                            Md5AuthenticationKey = "test-md5-auth-key",
                            PeerSessionIPv4Address = "192.168.2.1",
                            PeerSessionIPv6Address = "fd00::1",
                        },
                        ConnectionIdentifier = "CE495334-0E94-4E51-8164-8116D6CD284D",
                        PeeringDBFacilityId = 99999,
                    },
                    new AzureNative.Peering.Inputs.ExchangeConnectionArgs
                    {
                        BgpSession = new AzureNative.Peering.Inputs.BgpSessionArgs
                        {
                            MaxPrefixesAdvertisedV4 = 1000,
                            MaxPrefixesAdvertisedV6 = 100,
                            Md5AuthenticationKey = "test-md5-auth-key",
                            PeerSessionIPv4Address = "192.168.2.2",
                            PeerSessionIPv6Address = "fd00::2",
                        },
                        ConnectionIdentifier = "CDD8E673-CB07-47E6-84DE-3739F778762B",
                        PeeringDBFacilityId = 99999,
                    },
                },
                PeerAsn = new AzureNative.Peering.Inputs.SubResourceArgs
                {
                    Id = "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
                },
            },
            Kind = AzureNative.Peering.Kind.Exchange,
            Location = "eastus",
            PeeringLocation = "peeringLocation0",
            PeeringName = "peeringName",
            ResourceGroupName = "rgName",
            Sku = new AzureNative.Peering.Inputs.PeeringSkuArgs
            {
                Name = "Basic_Exchange_Free",
            },
        });
    
    });
    
    package main
    
    import (
    	peering "github.com/pulumi/pulumi-azure-native-sdk/peering/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := peering.NewPeering(ctx, "peering", &peering.PeeringArgs{
    			Exchange: &peering.PeeringPropertiesExchangeArgs{
    				Connections: peering.ExchangeConnectionArray{
    					&peering.ExchangeConnectionArgs{
    						BgpSession: &peering.BgpSessionArgs{
    							MaxPrefixesAdvertisedV4: pulumi.Int(1000),
    							MaxPrefixesAdvertisedV6: pulumi.Int(100),
    							Md5AuthenticationKey:    pulumi.String("test-md5-auth-key"),
    							PeerSessionIPv4Address:  pulumi.String("192.168.2.1"),
    							PeerSessionIPv6Address:  pulumi.String("fd00::1"),
    						},
    						ConnectionIdentifier: pulumi.String("CE495334-0E94-4E51-8164-8116D6CD284D"),
    						PeeringDBFacilityId:  pulumi.Int(99999),
    					},
    					&peering.ExchangeConnectionArgs{
    						BgpSession: &peering.BgpSessionArgs{
    							MaxPrefixesAdvertisedV4: pulumi.Int(1000),
    							MaxPrefixesAdvertisedV6: pulumi.Int(100),
    							Md5AuthenticationKey:    pulumi.String("test-md5-auth-key"),
    							PeerSessionIPv4Address:  pulumi.String("192.168.2.2"),
    							PeerSessionIPv6Address:  pulumi.String("fd00::2"),
    						},
    						ConnectionIdentifier: pulumi.String("CDD8E673-CB07-47E6-84DE-3739F778762B"),
    						PeeringDBFacilityId:  pulumi.Int(99999),
    					},
    				},
    				PeerAsn: &peering.SubResourceArgs{
    					Id: pulumi.String("/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"),
    				},
    			},
    			Kind:              pulumi.String(peering.KindExchange),
    			Location:          pulumi.String("eastus"),
    			PeeringLocation:   pulumi.String("peeringLocation0"),
    			PeeringName:       pulumi.String("peeringName"),
    			ResourceGroupName: pulumi.String("rgName"),
    			Sku: &peering.PeeringSkuArgs{
    				Name: pulumi.String("Basic_Exchange_Free"),
    			},
    		})
    		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.peering.Peering;
    import com.pulumi.azurenative.peering.PeeringArgs;
    import com.pulumi.azurenative.peering.inputs.PeeringPropertiesExchangeArgs;
    import com.pulumi.azurenative.peering.inputs.SubResourceArgs;
    import com.pulumi.azurenative.peering.inputs.PeeringSkuArgs;
    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 peering = new Peering("peering", PeeringArgs.builder()
                .exchange(PeeringPropertiesExchangeArgs.builder()
                    .connections(                
                        ExchangeConnectionArgs.builder()
                            .bgpSession(BgpSessionArgs.builder()
                                .maxPrefixesAdvertisedV4(1000)
                                .maxPrefixesAdvertisedV6(100)
                                .md5AuthenticationKey("test-md5-auth-key")
                                .peerSessionIPv4Address("192.168.2.1")
                                .peerSessionIPv6Address("fd00::1")
                                .build())
                            .connectionIdentifier("CE495334-0E94-4E51-8164-8116D6CD284D")
                            .peeringDBFacilityId(99999)
                            .build(),
                        ExchangeConnectionArgs.builder()
                            .bgpSession(BgpSessionArgs.builder()
                                .maxPrefixesAdvertisedV4(1000)
                                .maxPrefixesAdvertisedV6(100)
                                .md5AuthenticationKey("test-md5-auth-key")
                                .peerSessionIPv4Address("192.168.2.2")
                                .peerSessionIPv6Address("fd00::2")
                                .build())
                            .connectionIdentifier("CDD8E673-CB07-47E6-84DE-3739F778762B")
                            .peeringDBFacilityId(99999)
                            .build())
                    .peerAsn(SubResourceArgs.builder()
                        .id("/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1")
                        .build())
                    .build())
                .kind("Exchange")
                .location("eastus")
                .peeringLocation("peeringLocation0")
                .peeringName("peeringName")
                .resourceGroupName("rgName")
                .sku(PeeringSkuArgs.builder()
                    .name("Basic_Exchange_Free")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    peering = azure_native.peering.Peering("peering",
        exchange={
            "connections": [
                {
                    "bgpSession": {
                        "maxPrefixesAdvertisedV4": 1000,
                        "maxPrefixesAdvertisedV6": 100,
                        "md5AuthenticationKey": "test-md5-auth-key",
                        "peerSessionIPv4Address": "192.168.2.1",
                        "peerSessionIPv6Address": "fd00::1",
                    },
                    "connectionIdentifier": "CE495334-0E94-4E51-8164-8116D6CD284D",
                    "peeringDBFacilityId": 99999,
                },
                {
                    "bgpSession": {
                        "maxPrefixesAdvertisedV4": 1000,
                        "maxPrefixesAdvertisedV6": 100,
                        "md5AuthenticationKey": "test-md5-auth-key",
                        "peerSessionIPv4Address": "192.168.2.2",
                        "peerSessionIPv6Address": "fd00::2",
                    },
                    "connectionIdentifier": "CDD8E673-CB07-47E6-84DE-3739F778762B",
                    "peeringDBFacilityId": 99999,
                },
            ],
            "peerAsn": {
                "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
            },
        },
        kind=azure_native.peering.Kind.EXCHANGE,
        location="eastus",
        peering_location="peeringLocation0",
        peering_name="peeringName",
        resource_group_name="rgName",
        sku={
            "name": "Basic_Exchange_Free",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const peering = new azure_native.peering.Peering("peering", {
        exchange: {
            connections: [
                {
                    bgpSession: {
                        maxPrefixesAdvertisedV4: 1000,
                        maxPrefixesAdvertisedV6: 100,
                        md5AuthenticationKey: "test-md5-auth-key",
                        peerSessionIPv4Address: "192.168.2.1",
                        peerSessionIPv6Address: "fd00::1",
                    },
                    connectionIdentifier: "CE495334-0E94-4E51-8164-8116D6CD284D",
                    peeringDBFacilityId: 99999,
                },
                {
                    bgpSession: {
                        maxPrefixesAdvertisedV4: 1000,
                        maxPrefixesAdvertisedV6: 100,
                        md5AuthenticationKey: "test-md5-auth-key",
                        peerSessionIPv4Address: "192.168.2.2",
                        peerSessionIPv6Address: "fd00::2",
                    },
                    connectionIdentifier: "CDD8E673-CB07-47E6-84DE-3739F778762B",
                    peeringDBFacilityId: 99999,
                },
            ],
            peerAsn: {
                id: "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
            },
        },
        kind: azure_native.peering.Kind.Exchange,
        location: "eastus",
        peeringLocation: "peeringLocation0",
        peeringName: "peeringName",
        resourceGroupName: "rgName",
        sku: {
            name: "Basic_Exchange_Free",
        },
    });
    
    resources:
      peering:
        type: azure-native:peering:Peering
        properties:
          exchange:
            connections:
              - bgpSession:
                  maxPrefixesAdvertisedV4: 1000
                  maxPrefixesAdvertisedV6: 100
                  md5AuthenticationKey: test-md5-auth-key
                  peerSessionIPv4Address: 192.168.2.1
                  peerSessionIPv6Address: fd00::1
                connectionIdentifier: CE495334-0E94-4E51-8164-8116D6CD284D
                peeringDBFacilityId: 99999
              - bgpSession:
                  maxPrefixesAdvertisedV4: 1000
                  maxPrefixesAdvertisedV6: 100
                  md5AuthenticationKey: test-md5-auth-key
                  peerSessionIPv4Address: 192.168.2.2
                  peerSessionIPv6Address: fd00::2
                connectionIdentifier: CDD8E673-CB07-47E6-84DE-3739F778762B
                peeringDBFacilityId: 99999
            peerAsn:
              id: /subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1
          kind: Exchange
          location: eastus
          peeringLocation: peeringLocation0
          peeringName: peeringName
          resourceGroupName: rgName
          sku:
            name: Basic_Exchange_Free
    

    Create Peering Resource

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

    Constructor syntax

    new Peering(name: string, args: PeeringArgs, opts?: CustomResourceOptions);
    @overload
    def Peering(resource_name: str,
                args: PeeringArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Peering(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                kind: Optional[Union[str, Kind]] = None,
                resource_group_name: Optional[str] = None,
                sku: Optional[PeeringSkuArgs] = None,
                direct: Optional[PeeringPropertiesDirectArgs] = None,
                exchange: Optional[PeeringPropertiesExchangeArgs] = None,
                location: Optional[str] = None,
                peering_location: Optional[str] = None,
                peering_name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewPeering(ctx *Context, name string, args PeeringArgs, opts ...ResourceOption) (*Peering, error)
    public Peering(string name, PeeringArgs args, CustomResourceOptions? opts = null)
    public Peering(String name, PeeringArgs args)
    public Peering(String name, PeeringArgs args, CustomResourceOptions options)
    
    type: azure-native:peering:Peering
    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 PeeringArgs
    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 PeeringArgs
    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 PeeringArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PeeringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PeeringArgs
    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 peeringResource = new AzureNative.Peering.Peering("peeringResource", new()
    {
        Kind = "string",
        ResourceGroupName = "string",
        Sku = new AzureNative.Peering.Inputs.PeeringSkuArgs
        {
            Name = "string",
        },
        Direct = new AzureNative.Peering.Inputs.PeeringPropertiesDirectArgs
        {
            Connections = new[]
            {
                new AzureNative.Peering.Inputs.DirectConnectionArgs
                {
                    BandwidthInMbps = 0,
                    BgpSession = new AzureNative.Peering.Inputs.BgpSessionArgs
                    {
                        MaxPrefixesAdvertisedV4 = 0,
                        MaxPrefixesAdvertisedV6 = 0,
                        Md5AuthenticationKey = "string",
                        MicrosoftSessionIPv4Address = "string",
                        MicrosoftSessionIPv6Address = "string",
                        PeerSessionIPv4Address = "string",
                        PeerSessionIPv6Address = "string",
                        SessionPrefixV4 = "string",
                        SessionPrefixV6 = "string",
                    },
                    ConnectionIdentifier = "string",
                    PeeringDBFacilityId = 0,
                    SessionAddressProvider = "string",
                    UseForPeeringService = false,
                },
            },
            DirectPeeringType = "string",
            PeerAsn = new AzureNative.Peering.Inputs.SubResourceArgs
            {
                Id = "string",
            },
        },
        Exchange = new AzureNative.Peering.Inputs.PeeringPropertiesExchangeArgs
        {
            Connections = new[]
            {
                new AzureNative.Peering.Inputs.ExchangeConnectionArgs
                {
                    BgpSession = new AzureNative.Peering.Inputs.BgpSessionArgs
                    {
                        MaxPrefixesAdvertisedV4 = 0,
                        MaxPrefixesAdvertisedV6 = 0,
                        Md5AuthenticationKey = "string",
                        MicrosoftSessionIPv4Address = "string",
                        MicrosoftSessionIPv6Address = "string",
                        PeerSessionIPv4Address = "string",
                        PeerSessionIPv6Address = "string",
                        SessionPrefixV4 = "string",
                        SessionPrefixV6 = "string",
                    },
                    ConnectionIdentifier = "string",
                    PeeringDBFacilityId = 0,
                },
            },
            PeerAsn = new AzureNative.Peering.Inputs.SubResourceArgs
            {
                Id = "string",
            },
        },
        Location = "string",
        PeeringLocation = "string",
        PeeringName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := peering.NewPeering(ctx, "peeringResource", &peering.PeeringArgs{
    Kind: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    Sku: &peering.PeeringSkuArgs{
    Name: pulumi.String("string"),
    },
    Direct: &peering.PeeringPropertiesDirectArgs{
    Connections: peering.DirectConnectionArray{
    &peering.DirectConnectionArgs{
    BandwidthInMbps: pulumi.Int(0),
    BgpSession: &peering.BgpSessionArgs{
    MaxPrefixesAdvertisedV4: pulumi.Int(0),
    MaxPrefixesAdvertisedV6: pulumi.Int(0),
    Md5AuthenticationKey: pulumi.String("string"),
    MicrosoftSessionIPv4Address: pulumi.String("string"),
    MicrosoftSessionIPv6Address: pulumi.String("string"),
    PeerSessionIPv4Address: pulumi.String("string"),
    PeerSessionIPv6Address: pulumi.String("string"),
    SessionPrefixV4: pulumi.String("string"),
    SessionPrefixV6: pulumi.String("string"),
    },
    ConnectionIdentifier: pulumi.String("string"),
    PeeringDBFacilityId: pulumi.Int(0),
    SessionAddressProvider: pulumi.String("string"),
    UseForPeeringService: pulumi.Bool(false),
    },
    },
    DirectPeeringType: pulumi.String("string"),
    PeerAsn: &peering.SubResourceArgs{
    Id: pulumi.String("string"),
    },
    },
    Exchange: &peering.PeeringPropertiesExchangeArgs{
    Connections: peering.ExchangeConnectionArray{
    &peering.ExchangeConnectionArgs{
    BgpSession: &peering.BgpSessionArgs{
    MaxPrefixesAdvertisedV4: pulumi.Int(0),
    MaxPrefixesAdvertisedV6: pulumi.Int(0),
    Md5AuthenticationKey: pulumi.String("string"),
    MicrosoftSessionIPv4Address: pulumi.String("string"),
    MicrosoftSessionIPv6Address: pulumi.String("string"),
    PeerSessionIPv4Address: pulumi.String("string"),
    PeerSessionIPv6Address: pulumi.String("string"),
    SessionPrefixV4: pulumi.String("string"),
    SessionPrefixV6: pulumi.String("string"),
    },
    ConnectionIdentifier: pulumi.String("string"),
    PeeringDBFacilityId: pulumi.Int(0),
    },
    },
    PeerAsn: &peering.SubResourceArgs{
    Id: pulumi.String("string"),
    },
    },
    Location: pulumi.String("string"),
    PeeringLocation: pulumi.String("string"),
    PeeringName: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var peeringResource = new Peering("peeringResource", PeeringArgs.builder()
        .kind("string")
        .resourceGroupName("string")
        .sku(PeeringSkuArgs.builder()
            .name("string")
            .build())
        .direct(PeeringPropertiesDirectArgs.builder()
            .connections(DirectConnectionArgs.builder()
                .bandwidthInMbps(0)
                .bgpSession(BgpSessionArgs.builder()
                    .maxPrefixesAdvertisedV4(0)
                    .maxPrefixesAdvertisedV6(0)
                    .md5AuthenticationKey("string")
                    .microsoftSessionIPv4Address("string")
                    .microsoftSessionIPv6Address("string")
                    .peerSessionIPv4Address("string")
                    .peerSessionIPv6Address("string")
                    .sessionPrefixV4("string")
                    .sessionPrefixV6("string")
                    .build())
                .connectionIdentifier("string")
                .peeringDBFacilityId(0)
                .sessionAddressProvider("string")
                .useForPeeringService(false)
                .build())
            .directPeeringType("string")
            .peerAsn(SubResourceArgs.builder()
                .id("string")
                .build())
            .build())
        .exchange(PeeringPropertiesExchangeArgs.builder()
            .connections(ExchangeConnectionArgs.builder()
                .bgpSession(BgpSessionArgs.builder()
                    .maxPrefixesAdvertisedV4(0)
                    .maxPrefixesAdvertisedV6(0)
                    .md5AuthenticationKey("string")
                    .microsoftSessionIPv4Address("string")
                    .microsoftSessionIPv6Address("string")
                    .peerSessionIPv4Address("string")
                    .peerSessionIPv6Address("string")
                    .sessionPrefixV4("string")
                    .sessionPrefixV6("string")
                    .build())
                .connectionIdentifier("string")
                .peeringDBFacilityId(0)
                .build())
            .peerAsn(SubResourceArgs.builder()
                .id("string")
                .build())
            .build())
        .location("string")
        .peeringLocation("string")
        .peeringName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    peering_resource = azure_native.peering.Peering("peeringResource",
        kind="string",
        resource_group_name="string",
        sku={
            "name": "string",
        },
        direct={
            "connections": [{
                "bandwidthInMbps": 0,
                "bgpSession": {
                    "maxPrefixesAdvertisedV4": 0,
                    "maxPrefixesAdvertisedV6": 0,
                    "md5AuthenticationKey": "string",
                    "microsoftSessionIPv4Address": "string",
                    "microsoftSessionIPv6Address": "string",
                    "peerSessionIPv4Address": "string",
                    "peerSessionIPv6Address": "string",
                    "sessionPrefixV4": "string",
                    "sessionPrefixV6": "string",
                },
                "connectionIdentifier": "string",
                "peeringDBFacilityId": 0,
                "sessionAddressProvider": "string",
                "useForPeeringService": False,
            }],
            "directPeeringType": "string",
            "peerAsn": {
                "id": "string",
            },
        },
        exchange={
            "connections": [{
                "bgpSession": {
                    "maxPrefixesAdvertisedV4": 0,
                    "maxPrefixesAdvertisedV6": 0,
                    "md5AuthenticationKey": "string",
                    "microsoftSessionIPv4Address": "string",
                    "microsoftSessionIPv6Address": "string",
                    "peerSessionIPv4Address": "string",
                    "peerSessionIPv6Address": "string",
                    "sessionPrefixV4": "string",
                    "sessionPrefixV6": "string",
                },
                "connectionIdentifier": "string",
                "peeringDBFacilityId": 0,
            }],
            "peerAsn": {
                "id": "string",
            },
        },
        location="string",
        peering_location="string",
        peering_name="string",
        tags={
            "string": "string",
        })
    
    const peeringResource = new azure_native.peering.Peering("peeringResource", {
        kind: "string",
        resourceGroupName: "string",
        sku: {
            name: "string",
        },
        direct: {
            connections: [{
                bandwidthInMbps: 0,
                bgpSession: {
                    maxPrefixesAdvertisedV4: 0,
                    maxPrefixesAdvertisedV6: 0,
                    md5AuthenticationKey: "string",
                    microsoftSessionIPv4Address: "string",
                    microsoftSessionIPv6Address: "string",
                    peerSessionIPv4Address: "string",
                    peerSessionIPv6Address: "string",
                    sessionPrefixV4: "string",
                    sessionPrefixV6: "string",
                },
                connectionIdentifier: "string",
                peeringDBFacilityId: 0,
                sessionAddressProvider: "string",
                useForPeeringService: false,
            }],
            directPeeringType: "string",
            peerAsn: {
                id: "string",
            },
        },
        exchange: {
            connections: [{
                bgpSession: {
                    maxPrefixesAdvertisedV4: 0,
                    maxPrefixesAdvertisedV6: 0,
                    md5AuthenticationKey: "string",
                    microsoftSessionIPv4Address: "string",
                    microsoftSessionIPv6Address: "string",
                    peerSessionIPv4Address: "string",
                    peerSessionIPv6Address: "string",
                    sessionPrefixV4: "string",
                    sessionPrefixV6: "string",
                },
                connectionIdentifier: "string",
                peeringDBFacilityId: 0,
            }],
            peerAsn: {
                id: "string",
            },
        },
        location: "string",
        peeringLocation: "string",
        peeringName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:peering:Peering
    properties:
        direct:
            connections:
                - bandwidthInMbps: 0
                  bgpSession:
                    maxPrefixesAdvertisedV4: 0
                    maxPrefixesAdvertisedV6: 0
                    md5AuthenticationKey: string
                    microsoftSessionIPv4Address: string
                    microsoftSessionIPv6Address: string
                    peerSessionIPv4Address: string
                    peerSessionIPv6Address: string
                    sessionPrefixV4: string
                    sessionPrefixV6: string
                  connectionIdentifier: string
                  peeringDBFacilityId: 0
                  sessionAddressProvider: string
                  useForPeeringService: false
            directPeeringType: string
            peerAsn:
                id: string
        exchange:
            connections:
                - bgpSession:
                    maxPrefixesAdvertisedV4: 0
                    maxPrefixesAdvertisedV6: 0
                    md5AuthenticationKey: string
                    microsoftSessionIPv4Address: string
                    microsoftSessionIPv6Address: string
                    peerSessionIPv4Address: string
                    peerSessionIPv6Address: string
                    sessionPrefixV4: string
                    sessionPrefixV6: string
                  connectionIdentifier: string
                  peeringDBFacilityId: 0
            peerAsn:
                id: string
        kind: string
        location: string
        peeringLocation: string
        peeringName: string
        resourceGroupName: string
        sku:
            name: string
        tags:
            string: string
    

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

    Kind string | Pulumi.AzureNative.Peering.Kind
    The kind of the peering.
    ResourceGroupName string
    The name of the resource group.
    Sku Pulumi.AzureNative.Peering.Inputs.PeeringSku
    The SKU that defines the tier and kind of the peering.
    Direct Pulumi.AzureNative.Peering.Inputs.PeeringPropertiesDirect
    The properties that define a direct peering.
    Exchange Pulumi.AzureNative.Peering.Inputs.PeeringPropertiesExchange
    The properties that define an exchange peering.
    Location string
    The location of the resource.
    PeeringLocation string
    The location of the peering.
    PeeringName string
    The name of the peering.
    Tags Dictionary<string, string>
    The resource tags.
    Kind string | Kind
    The kind of the peering.
    ResourceGroupName string
    The name of the resource group.
    Sku PeeringSkuArgs
    The SKU that defines the tier and kind of the peering.
    Direct PeeringPropertiesDirectArgs
    The properties that define a direct peering.
    Exchange PeeringPropertiesExchangeArgs
    The properties that define an exchange peering.
    Location string
    The location of the resource.
    PeeringLocation string
    The location of the peering.
    PeeringName string
    The name of the peering.
    Tags map[string]string
    The resource tags.
    kind String | Kind
    The kind of the peering.
    resourceGroupName String
    The name of the resource group.
    sku PeeringSku
    The SKU that defines the tier and kind of the peering.
    direct PeeringPropertiesDirect
    The properties that define a direct peering.
    exchange PeeringPropertiesExchange
    The properties that define an exchange peering.
    location String
    The location of the resource.
    peeringLocation String
    The location of the peering.
    peeringName String
    The name of the peering.
    tags Map<String,String>
    The resource tags.
    kind string | Kind
    The kind of the peering.
    resourceGroupName string
    The name of the resource group.
    sku PeeringSku
    The SKU that defines the tier and kind of the peering.
    direct PeeringPropertiesDirect
    The properties that define a direct peering.
    exchange PeeringPropertiesExchange
    The properties that define an exchange peering.
    location string
    The location of the resource.
    peeringLocation string
    The location of the peering.
    peeringName string
    The name of the peering.
    tags {[key: string]: string}
    The resource tags.
    kind str | Kind
    The kind of the peering.
    resource_group_name str
    The name of the resource group.
    sku PeeringSkuArgs
    The SKU that defines the tier and kind of the peering.
    direct PeeringPropertiesDirectArgs
    The properties that define a direct peering.
    exchange PeeringPropertiesExchangeArgs
    The properties that define an exchange peering.
    location str
    The location of the resource.
    peering_location str
    The location of the peering.
    peering_name str
    The name of the peering.
    tags Mapping[str, str]
    The resource tags.
    kind String | "Direct" | "Exchange"
    The kind of the peering.
    resourceGroupName String
    The name of the resource group.
    sku Property Map
    The SKU that defines the tier and kind of the peering.
    direct Property Map
    The properties that define a direct peering.
    exchange Property Map
    The properties that define an exchange peering.
    location String
    The location of the resource.
    peeringLocation String
    The location of the peering.
    peeringName String
    The name of the peering.
    tags Map<String>
    The resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Peering 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
    The provisioning state of the resource.
    Type string
    The type of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of the resource.
    Type string
    The type of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of the resource.
    type String
    The type of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    provisioningState string
    The provisioning state of the resource.
    type string
    The type of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    provisioning_state str
    The provisioning state of the resource.
    type str
    The type of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of the resource.
    type String
    The type of the resource.

    Supporting Types

    BgpSession, BgpSessionArgs

    MaxPrefixesAdvertisedV4 int
    The maximum number of prefixes advertised over the IPv4 session.
    MaxPrefixesAdvertisedV6 int
    The maximum number of prefixes advertised over the IPv6 session.
    Md5AuthenticationKey string
    The MD5 authentication key of the session.
    MicrosoftSessionIPv4Address string
    The IPv4 session address on Microsoft's end.
    MicrosoftSessionIPv6Address string
    The IPv6 session address on Microsoft's end.
    PeerSessionIPv4Address string
    The IPv4 session address on peer's end.
    PeerSessionIPv6Address string
    The IPv6 session address on peer's end.
    SessionPrefixV4 string
    The IPv4 prefix that contains both ends' IPv4 addresses.
    SessionPrefixV6 string
    The IPv6 prefix that contains both ends' IPv6 addresses.
    MaxPrefixesAdvertisedV4 int
    The maximum number of prefixes advertised over the IPv4 session.
    MaxPrefixesAdvertisedV6 int
    The maximum number of prefixes advertised over the IPv6 session.
    Md5AuthenticationKey string
    The MD5 authentication key of the session.
    MicrosoftSessionIPv4Address string
    The IPv4 session address on Microsoft's end.
    MicrosoftSessionIPv6Address string
    The IPv6 session address on Microsoft's end.
    PeerSessionIPv4Address string
    The IPv4 session address on peer's end.
    PeerSessionIPv6Address string
    The IPv6 session address on peer's end.
    SessionPrefixV4 string
    The IPv4 prefix that contains both ends' IPv4 addresses.
    SessionPrefixV6 string
    The IPv6 prefix that contains both ends' IPv6 addresses.
    maxPrefixesAdvertisedV4 Integer
    The maximum number of prefixes advertised over the IPv4 session.
    maxPrefixesAdvertisedV6 Integer
    The maximum number of prefixes advertised over the IPv6 session.
    md5AuthenticationKey String
    The MD5 authentication key of the session.
    microsoftSessionIPv4Address String
    The IPv4 session address on Microsoft's end.
    microsoftSessionIPv6Address String
    The IPv6 session address on Microsoft's end.
    peerSessionIPv4Address String
    The IPv4 session address on peer's end.
    peerSessionIPv6Address String
    The IPv6 session address on peer's end.
    sessionPrefixV4 String
    The IPv4 prefix that contains both ends' IPv4 addresses.
    sessionPrefixV6 String
    The IPv6 prefix that contains both ends' IPv6 addresses.
    maxPrefixesAdvertisedV4 number
    The maximum number of prefixes advertised over the IPv4 session.
    maxPrefixesAdvertisedV6 number
    The maximum number of prefixes advertised over the IPv6 session.
    md5AuthenticationKey string
    The MD5 authentication key of the session.
    microsoftSessionIPv4Address string
    The IPv4 session address on Microsoft's end.
    microsoftSessionIPv6Address string
    The IPv6 session address on Microsoft's end.
    peerSessionIPv4Address string
    The IPv4 session address on peer's end.
    peerSessionIPv6Address string
    The IPv6 session address on peer's end.
    sessionPrefixV4 string
    The IPv4 prefix that contains both ends' IPv4 addresses.
    sessionPrefixV6 string
    The IPv6 prefix that contains both ends' IPv6 addresses.
    max_prefixes_advertised_v4 int
    The maximum number of prefixes advertised over the IPv4 session.
    max_prefixes_advertised_v6 int
    The maximum number of prefixes advertised over the IPv6 session.
    md5_authentication_key str
    The MD5 authentication key of the session.
    microsoft_session_i_pv4_address str
    The IPv4 session address on Microsoft's end.
    microsoft_session_i_pv6_address str
    The IPv6 session address on Microsoft's end.
    peer_session_i_pv4_address str
    The IPv4 session address on peer's end.
    peer_session_i_pv6_address str
    The IPv6 session address on peer's end.
    session_prefix_v4 str
    The IPv4 prefix that contains both ends' IPv4 addresses.
    session_prefix_v6 str
    The IPv6 prefix that contains both ends' IPv6 addresses.
    maxPrefixesAdvertisedV4 Number
    The maximum number of prefixes advertised over the IPv4 session.
    maxPrefixesAdvertisedV6 Number
    The maximum number of prefixes advertised over the IPv6 session.
    md5AuthenticationKey String
    The MD5 authentication key of the session.
    microsoftSessionIPv4Address String
    The IPv4 session address on Microsoft's end.
    microsoftSessionIPv6Address String
    The IPv6 session address on Microsoft's end.
    peerSessionIPv4Address String
    The IPv4 session address on peer's end.
    peerSessionIPv6Address String
    The IPv6 session address on peer's end.
    sessionPrefixV4 String
    The IPv4 prefix that contains both ends' IPv4 addresses.
    sessionPrefixV6 String
    The IPv6 prefix that contains both ends' IPv6 addresses.

    BgpSessionResponse, BgpSessionResponseArgs

    SessionStateV4 string
    The state of the IPv4 session.
    SessionStateV6 string
    The state of the IPv6 session.
    MaxPrefixesAdvertisedV4 int
    The maximum number of prefixes advertised over the IPv4 session.
    MaxPrefixesAdvertisedV6 int
    The maximum number of prefixes advertised over the IPv6 session.
    Md5AuthenticationKey string
    The MD5 authentication key of the session.
    MicrosoftSessionIPv4Address string
    The IPv4 session address on Microsoft's end.
    MicrosoftSessionIPv6Address string
    The IPv6 session address on Microsoft's end.
    PeerSessionIPv4Address string
    The IPv4 session address on peer's end.
    PeerSessionIPv6Address string
    The IPv6 session address on peer's end.
    SessionPrefixV4 string
    The IPv4 prefix that contains both ends' IPv4 addresses.
    SessionPrefixV6 string
    The IPv6 prefix that contains both ends' IPv6 addresses.
    SessionStateV4 string
    The state of the IPv4 session.
    SessionStateV6 string
    The state of the IPv6 session.
    MaxPrefixesAdvertisedV4 int
    The maximum number of prefixes advertised over the IPv4 session.
    MaxPrefixesAdvertisedV6 int
    The maximum number of prefixes advertised over the IPv6 session.
    Md5AuthenticationKey string
    The MD5 authentication key of the session.
    MicrosoftSessionIPv4Address string
    The IPv4 session address on Microsoft's end.
    MicrosoftSessionIPv6Address string
    The IPv6 session address on Microsoft's end.
    PeerSessionIPv4Address string
    The IPv4 session address on peer's end.
    PeerSessionIPv6Address string
    The IPv6 session address on peer's end.
    SessionPrefixV4 string
    The IPv4 prefix that contains both ends' IPv4 addresses.
    SessionPrefixV6 string
    The IPv6 prefix that contains both ends' IPv6 addresses.
    sessionStateV4 String
    The state of the IPv4 session.
    sessionStateV6 String
    The state of the IPv6 session.
    maxPrefixesAdvertisedV4 Integer
    The maximum number of prefixes advertised over the IPv4 session.
    maxPrefixesAdvertisedV6 Integer
    The maximum number of prefixes advertised over the IPv6 session.
    md5AuthenticationKey String
    The MD5 authentication key of the session.
    microsoftSessionIPv4Address String
    The IPv4 session address on Microsoft's end.
    microsoftSessionIPv6Address String
    The IPv6 session address on Microsoft's end.
    peerSessionIPv4Address String
    The IPv4 session address on peer's end.
    peerSessionIPv6Address String
    The IPv6 session address on peer's end.
    sessionPrefixV4 String
    The IPv4 prefix that contains both ends' IPv4 addresses.
    sessionPrefixV6 String
    The IPv6 prefix that contains both ends' IPv6 addresses.
    sessionStateV4 string
    The state of the IPv4 session.
    sessionStateV6 string
    The state of the IPv6 session.
    maxPrefixesAdvertisedV4 number
    The maximum number of prefixes advertised over the IPv4 session.
    maxPrefixesAdvertisedV6 number
    The maximum number of prefixes advertised over the IPv6 session.
    md5AuthenticationKey string
    The MD5 authentication key of the session.
    microsoftSessionIPv4Address string
    The IPv4 session address on Microsoft's end.
    microsoftSessionIPv6Address string
    The IPv6 session address on Microsoft's end.
    peerSessionIPv4Address string
    The IPv4 session address on peer's end.
    peerSessionIPv6Address string
    The IPv6 session address on peer's end.
    sessionPrefixV4 string
    The IPv4 prefix that contains both ends' IPv4 addresses.
    sessionPrefixV6 string
    The IPv6 prefix that contains both ends' IPv6 addresses.
    session_state_v4 str
    The state of the IPv4 session.
    session_state_v6 str
    The state of the IPv6 session.
    max_prefixes_advertised_v4 int
    The maximum number of prefixes advertised over the IPv4 session.
    max_prefixes_advertised_v6 int
    The maximum number of prefixes advertised over the IPv6 session.
    md5_authentication_key str
    The MD5 authentication key of the session.
    microsoft_session_i_pv4_address str
    The IPv4 session address on Microsoft's end.
    microsoft_session_i_pv6_address str
    The IPv6 session address on Microsoft's end.
    peer_session_i_pv4_address str
    The IPv4 session address on peer's end.
    peer_session_i_pv6_address str
    The IPv6 session address on peer's end.
    session_prefix_v4 str
    The IPv4 prefix that contains both ends' IPv4 addresses.
    session_prefix_v6 str
    The IPv6 prefix that contains both ends' IPv6 addresses.
    sessionStateV4 String
    The state of the IPv4 session.
    sessionStateV6 String
    The state of the IPv6 session.
    maxPrefixesAdvertisedV4 Number
    The maximum number of prefixes advertised over the IPv4 session.
    maxPrefixesAdvertisedV6 Number
    The maximum number of prefixes advertised over the IPv6 session.
    md5AuthenticationKey String
    The MD5 authentication key of the session.
    microsoftSessionIPv4Address String
    The IPv4 session address on Microsoft's end.
    microsoftSessionIPv6Address String
    The IPv6 session address on Microsoft's end.
    peerSessionIPv4Address String
    The IPv4 session address on peer's end.
    peerSessionIPv6Address String
    The IPv6 session address on peer's end.
    sessionPrefixV4 String
    The IPv4 prefix that contains both ends' IPv4 addresses.
    sessionPrefixV6 String
    The IPv6 prefix that contains both ends' IPv6 addresses.

    DirectConnection, DirectConnectionArgs

    BandwidthInMbps int
    The bandwidth of the connection.
    BgpSession Pulumi.AzureNative.Peering.Inputs.BgpSession
    The BGP session associated with the connection.
    ConnectionIdentifier string
    The unique identifier (GUID) for the connection.
    PeeringDBFacilityId int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    SessionAddressProvider string | Pulumi.AzureNative.Peering.SessionAddressProvider
    The field indicating if Microsoft provides session ip addresses.
    UseForPeeringService bool
    The flag that indicates whether or not the connection is used for peering service.
    BandwidthInMbps int
    The bandwidth of the connection.
    BgpSession BgpSession
    The BGP session associated with the connection.
    ConnectionIdentifier string
    The unique identifier (GUID) for the connection.
    PeeringDBFacilityId int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    SessionAddressProvider string | SessionAddressProvider
    The field indicating if Microsoft provides session ip addresses.
    UseForPeeringService bool
    The flag that indicates whether or not the connection is used for peering service.
    bandwidthInMbps Integer
    The bandwidth of the connection.
    bgpSession BgpSession
    The BGP session associated with the connection.
    connectionIdentifier String
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId Integer
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    sessionAddressProvider String | SessionAddressProvider
    The field indicating if Microsoft provides session ip addresses.
    useForPeeringService Boolean
    The flag that indicates whether or not the connection is used for peering service.
    bandwidthInMbps number
    The bandwidth of the connection.
    bgpSession BgpSession
    The BGP session associated with the connection.
    connectionIdentifier string
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId number
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    sessionAddressProvider string | SessionAddressProvider
    The field indicating if Microsoft provides session ip addresses.
    useForPeeringService boolean
    The flag that indicates whether or not the connection is used for peering service.
    bandwidth_in_mbps int
    The bandwidth of the connection.
    bgp_session BgpSession
    The BGP session associated with the connection.
    connection_identifier str
    The unique identifier (GUID) for the connection.
    peering_db_facility_id int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    session_address_provider str | SessionAddressProvider
    The field indicating if Microsoft provides session ip addresses.
    use_for_peering_service bool
    The flag that indicates whether or not the connection is used for peering service.
    bandwidthInMbps Number
    The bandwidth of the connection.
    bgpSession Property Map
    The BGP session associated with the connection.
    connectionIdentifier String
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId Number
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    sessionAddressProvider String | "Microsoft" | "Peer"
    The field indicating if Microsoft provides session ip addresses.
    useForPeeringService Boolean
    The flag that indicates whether or not the connection is used for peering service.

    DirectConnectionResponse, DirectConnectionResponseArgs

    ConnectionState string
    The state of the connection.
    ErrorMessage string
    The error message related to the connection state, if any.
    MicrosoftTrackingId string
    The ID used within Microsoft's peering provisioning system to track the connection
    ProvisionedBandwidthInMbps int
    The bandwidth that is actually provisioned.
    BandwidthInMbps int
    The bandwidth of the connection.
    BgpSession Pulumi.AzureNative.Peering.Inputs.BgpSessionResponse
    The BGP session associated with the connection.
    ConnectionIdentifier string
    The unique identifier (GUID) for the connection.
    PeeringDBFacilityId int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    SessionAddressProvider string
    The field indicating if Microsoft provides session ip addresses.
    UseForPeeringService bool
    The flag that indicates whether or not the connection is used for peering service.
    ConnectionState string
    The state of the connection.
    ErrorMessage string
    The error message related to the connection state, if any.
    MicrosoftTrackingId string
    The ID used within Microsoft's peering provisioning system to track the connection
    ProvisionedBandwidthInMbps int
    The bandwidth that is actually provisioned.
    BandwidthInMbps int
    The bandwidth of the connection.
    BgpSession BgpSessionResponse
    The BGP session associated with the connection.
    ConnectionIdentifier string
    The unique identifier (GUID) for the connection.
    PeeringDBFacilityId int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    SessionAddressProvider string
    The field indicating if Microsoft provides session ip addresses.
    UseForPeeringService bool
    The flag that indicates whether or not the connection is used for peering service.
    connectionState String
    The state of the connection.
    errorMessage String
    The error message related to the connection state, if any.
    microsoftTrackingId String
    The ID used within Microsoft's peering provisioning system to track the connection
    provisionedBandwidthInMbps Integer
    The bandwidth that is actually provisioned.
    bandwidthInMbps Integer
    The bandwidth of the connection.
    bgpSession BgpSessionResponse
    The BGP session associated with the connection.
    connectionIdentifier String
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId Integer
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    sessionAddressProvider String
    The field indicating if Microsoft provides session ip addresses.
    useForPeeringService Boolean
    The flag that indicates whether or not the connection is used for peering service.
    connectionState string
    The state of the connection.
    errorMessage string
    The error message related to the connection state, if any.
    microsoftTrackingId string
    The ID used within Microsoft's peering provisioning system to track the connection
    provisionedBandwidthInMbps number
    The bandwidth that is actually provisioned.
    bandwidthInMbps number
    The bandwidth of the connection.
    bgpSession BgpSessionResponse
    The BGP session associated with the connection.
    connectionIdentifier string
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId number
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    sessionAddressProvider string
    The field indicating if Microsoft provides session ip addresses.
    useForPeeringService boolean
    The flag that indicates whether or not the connection is used for peering service.
    connection_state str
    The state of the connection.
    error_message str
    The error message related to the connection state, if any.
    microsoft_tracking_id str
    The ID used within Microsoft's peering provisioning system to track the connection
    provisioned_bandwidth_in_mbps int
    The bandwidth that is actually provisioned.
    bandwidth_in_mbps int
    The bandwidth of the connection.
    bgp_session BgpSessionResponse
    The BGP session associated with the connection.
    connection_identifier str
    The unique identifier (GUID) for the connection.
    peering_db_facility_id int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    session_address_provider str
    The field indicating if Microsoft provides session ip addresses.
    use_for_peering_service bool
    The flag that indicates whether or not the connection is used for peering service.
    connectionState String
    The state of the connection.
    errorMessage String
    The error message related to the connection state, if any.
    microsoftTrackingId String
    The ID used within Microsoft's peering provisioning system to track the connection
    provisionedBandwidthInMbps Number
    The bandwidth that is actually provisioned.
    bandwidthInMbps Number
    The bandwidth of the connection.
    bgpSession Property Map
    The BGP session associated with the connection.
    connectionIdentifier String
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId Number
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    sessionAddressProvider String
    The field indicating if Microsoft provides session ip addresses.
    useForPeeringService Boolean
    The flag that indicates whether or not the connection is used for peering service.

    DirectPeeringType, DirectPeeringTypeArgs

    Edge
    Edge
    Transit
    Transit
    Cdn
    Cdn
    Internal
    Internal
    Ix
    Ix
    IxRs
    IxRs
    Voice
    Voice
    EdgeZoneForOperators
    EdgeZoneForOperators
    DirectPeeringTypeEdge
    Edge
    DirectPeeringTypeTransit
    Transit
    DirectPeeringTypeCdn
    Cdn
    DirectPeeringTypeInternal
    Internal
    DirectPeeringTypeIx
    Ix
    DirectPeeringTypeIxRs
    IxRs
    DirectPeeringTypeVoice
    Voice
    DirectPeeringTypeEdgeZoneForOperators
    EdgeZoneForOperators
    Edge
    Edge
    Transit
    Transit
    Cdn
    Cdn
    Internal
    Internal
    Ix
    Ix
    IxRs
    IxRs
    Voice
    Voice
    EdgeZoneForOperators
    EdgeZoneForOperators
    Edge
    Edge
    Transit
    Transit
    Cdn
    Cdn
    Internal
    Internal
    Ix
    Ix
    IxRs
    IxRs
    Voice
    Voice
    EdgeZoneForOperators
    EdgeZoneForOperators
    EDGE
    Edge
    TRANSIT
    Transit
    CDN
    Cdn
    INTERNAL
    Internal
    IX
    Ix
    IX_RS
    IxRs
    VOICE
    Voice
    EDGE_ZONE_FOR_OPERATORS
    EdgeZoneForOperators
    "Edge"
    Edge
    "Transit"
    Transit
    "Cdn"
    Cdn
    "Internal"
    Internal
    "Ix"
    Ix
    "IxRs"
    IxRs
    "Voice"
    Voice
    "EdgeZoneForOperators"
    EdgeZoneForOperators

    ExchangeConnection, ExchangeConnectionArgs

    BgpSession Pulumi.AzureNative.Peering.Inputs.BgpSession
    The BGP session associated with the connection.
    ConnectionIdentifier string
    The unique identifier (GUID) for the connection.
    PeeringDBFacilityId int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    BgpSession BgpSession
    The BGP session associated with the connection.
    ConnectionIdentifier string
    The unique identifier (GUID) for the connection.
    PeeringDBFacilityId int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    bgpSession BgpSession
    The BGP session associated with the connection.
    connectionIdentifier String
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId Integer
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    bgpSession BgpSession
    The BGP session associated with the connection.
    connectionIdentifier string
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId number
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    bgp_session BgpSession
    The BGP session associated with the connection.
    connection_identifier str
    The unique identifier (GUID) for the connection.
    peering_db_facility_id int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    bgpSession Property Map
    The BGP session associated with the connection.
    connectionIdentifier String
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId Number
    The PeeringDB.com ID of the facility at which the connection has to be set up.

    ExchangeConnectionResponse, ExchangeConnectionResponseArgs

    ConnectionState string
    The state of the connection.
    ErrorMessage string
    The error message related to the connection state, if any.
    BgpSession Pulumi.AzureNative.Peering.Inputs.BgpSessionResponse
    The BGP session associated with the connection.
    ConnectionIdentifier string
    The unique identifier (GUID) for the connection.
    PeeringDBFacilityId int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    ConnectionState string
    The state of the connection.
    ErrorMessage string
    The error message related to the connection state, if any.
    BgpSession BgpSessionResponse
    The BGP session associated with the connection.
    ConnectionIdentifier string
    The unique identifier (GUID) for the connection.
    PeeringDBFacilityId int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    connectionState String
    The state of the connection.
    errorMessage String
    The error message related to the connection state, if any.
    bgpSession BgpSessionResponse
    The BGP session associated with the connection.
    connectionIdentifier String
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId Integer
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    connectionState string
    The state of the connection.
    errorMessage string
    The error message related to the connection state, if any.
    bgpSession BgpSessionResponse
    The BGP session associated with the connection.
    connectionIdentifier string
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId number
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    connection_state str
    The state of the connection.
    error_message str
    The error message related to the connection state, if any.
    bgp_session BgpSessionResponse
    The BGP session associated with the connection.
    connection_identifier str
    The unique identifier (GUID) for the connection.
    peering_db_facility_id int
    The PeeringDB.com ID of the facility at which the connection has to be set up.
    connectionState String
    The state of the connection.
    errorMessage String
    The error message related to the connection state, if any.
    bgpSession Property Map
    The BGP session associated with the connection.
    connectionIdentifier String
    The unique identifier (GUID) for the connection.
    peeringDBFacilityId Number
    The PeeringDB.com ID of the facility at which the connection has to be set up.

    Kind, KindArgs

    Direct
    Direct
    Exchange
    Exchange
    KindDirect
    Direct
    KindExchange
    Exchange
    Direct
    Direct
    Exchange
    Exchange
    Direct
    Direct
    Exchange
    Exchange
    DIRECT
    Direct
    EXCHANGE
    Exchange
    "Direct"
    Direct
    "Exchange"
    Exchange

    PeeringPropertiesDirect, PeeringPropertiesDirectArgs

    Connections List<Pulumi.AzureNative.Peering.Inputs.DirectConnection>
    The set of connections that constitute a direct peering.
    DirectPeeringType string | Pulumi.AzureNative.Peering.DirectPeeringType
    The type of direct peering.
    PeerAsn Pulumi.AzureNative.Peering.Inputs.SubResource
    The reference of the peer ASN.
    Connections []DirectConnection
    The set of connections that constitute a direct peering.
    DirectPeeringType string | DirectPeeringType
    The type of direct peering.
    PeerAsn SubResource
    The reference of the peer ASN.
    connections List<DirectConnection>
    The set of connections that constitute a direct peering.
    directPeeringType String | DirectPeeringType
    The type of direct peering.
    peerAsn SubResource
    The reference of the peer ASN.
    connections DirectConnection[]
    The set of connections that constitute a direct peering.
    directPeeringType string | DirectPeeringType
    The type of direct peering.
    peerAsn SubResource
    The reference of the peer ASN.
    connections Sequence[DirectConnection]
    The set of connections that constitute a direct peering.
    direct_peering_type str | DirectPeeringType
    The type of direct peering.
    peer_asn SubResource
    The reference of the peer ASN.
    connections List<Property Map>
    The set of connections that constitute a direct peering.
    directPeeringType String | "Edge" | "Transit" | "Cdn" | "Internal" | "Ix" | "IxRs" | "Voice" | "EdgeZoneForOperators"
    The type of direct peering.
    peerAsn Property Map
    The reference of the peer ASN.

    PeeringPropertiesDirectResponse, PeeringPropertiesDirectResponseArgs

    UseForPeeringService bool
    The flag that indicates whether or not the peering is used for peering service.
    Connections List<Pulumi.AzureNative.Peering.Inputs.DirectConnectionResponse>
    The set of connections that constitute a direct peering.
    DirectPeeringType string
    The type of direct peering.
    PeerAsn Pulumi.AzureNative.Peering.Inputs.SubResourceResponse
    The reference of the peer ASN.
    UseForPeeringService bool
    The flag that indicates whether or not the peering is used for peering service.
    Connections []DirectConnectionResponse
    The set of connections that constitute a direct peering.
    DirectPeeringType string
    The type of direct peering.
    PeerAsn SubResourceResponse
    The reference of the peer ASN.
    useForPeeringService Boolean
    The flag that indicates whether or not the peering is used for peering service.
    connections List<DirectConnectionResponse>
    The set of connections that constitute a direct peering.
    directPeeringType String
    The type of direct peering.
    peerAsn SubResourceResponse
    The reference of the peer ASN.
    useForPeeringService boolean
    The flag that indicates whether or not the peering is used for peering service.
    connections DirectConnectionResponse[]
    The set of connections that constitute a direct peering.
    directPeeringType string
    The type of direct peering.
    peerAsn SubResourceResponse
    The reference of the peer ASN.
    use_for_peering_service bool
    The flag that indicates whether or not the peering is used for peering service.
    connections Sequence[DirectConnectionResponse]
    The set of connections that constitute a direct peering.
    direct_peering_type str
    The type of direct peering.
    peer_asn SubResourceResponse
    The reference of the peer ASN.
    useForPeeringService Boolean
    The flag that indicates whether or not the peering is used for peering service.
    connections List<Property Map>
    The set of connections that constitute a direct peering.
    directPeeringType String
    The type of direct peering.
    peerAsn Property Map
    The reference of the peer ASN.

    PeeringPropertiesExchange, PeeringPropertiesExchangeArgs

    Connections List<Pulumi.AzureNative.Peering.Inputs.ExchangeConnection>
    The set of connections that constitute an exchange peering.
    PeerAsn Pulumi.AzureNative.Peering.Inputs.SubResource
    The reference of the peer ASN.
    Connections []ExchangeConnection
    The set of connections that constitute an exchange peering.
    PeerAsn SubResource
    The reference of the peer ASN.
    connections List<ExchangeConnection>
    The set of connections that constitute an exchange peering.
    peerAsn SubResource
    The reference of the peer ASN.
    connections ExchangeConnection[]
    The set of connections that constitute an exchange peering.
    peerAsn SubResource
    The reference of the peer ASN.
    connections Sequence[ExchangeConnection]
    The set of connections that constitute an exchange peering.
    peer_asn SubResource
    The reference of the peer ASN.
    connections List<Property Map>
    The set of connections that constitute an exchange peering.
    peerAsn Property Map
    The reference of the peer ASN.

    PeeringPropertiesExchangeResponse, PeeringPropertiesExchangeResponseArgs

    Connections []ExchangeConnectionResponse
    The set of connections that constitute an exchange peering.
    PeerAsn SubResourceResponse
    The reference of the peer ASN.
    connections List<ExchangeConnectionResponse>
    The set of connections that constitute an exchange peering.
    peerAsn SubResourceResponse
    The reference of the peer ASN.
    connections ExchangeConnectionResponse[]
    The set of connections that constitute an exchange peering.
    peerAsn SubResourceResponse
    The reference of the peer ASN.
    connections Sequence[ExchangeConnectionResponse]
    The set of connections that constitute an exchange peering.
    peer_asn SubResourceResponse
    The reference of the peer ASN.
    connections List<Property Map>
    The set of connections that constitute an exchange peering.
    peerAsn Property Map
    The reference of the peer ASN.

    PeeringSku, PeeringSkuArgs

    Name string
    The name of the peering SKU.
    Name string
    The name of the peering SKU.
    name String
    The name of the peering SKU.
    name string
    The name of the peering SKU.
    name str
    The name of the peering SKU.
    name String
    The name of the peering SKU.

    PeeringSkuResponse, PeeringSkuResponseArgs

    Family string
    The family of the peering SKU.
    Size string
    The size of the peering SKU.
    Tier string
    The tier of the peering SKU.
    Name string
    The name of the peering SKU.
    Family string
    The family of the peering SKU.
    Size string
    The size of the peering SKU.
    Tier string
    The tier of the peering SKU.
    Name string
    The name of the peering SKU.
    family String
    The family of the peering SKU.
    size String
    The size of the peering SKU.
    tier String
    The tier of the peering SKU.
    name String
    The name of the peering SKU.
    family string
    The family of the peering SKU.
    size string
    The size of the peering SKU.
    tier string
    The tier of the peering SKU.
    name string
    The name of the peering SKU.
    family str
    The family of the peering SKU.
    size str
    The size of the peering SKU.
    tier str
    The tier of the peering SKU.
    name str
    The name of the peering SKU.
    family String
    The family of the peering SKU.
    size String
    The size of the peering SKU.
    tier String
    The tier of the peering SKU.
    name String
    The name of the peering SKU.

    SessionAddressProvider, SessionAddressProviderArgs

    Microsoft
    Microsoft
    Peer
    Peer
    SessionAddressProviderMicrosoft
    Microsoft
    SessionAddressProviderPeer
    Peer
    Microsoft
    Microsoft
    Peer
    Peer
    Microsoft
    Microsoft
    Peer
    Peer
    MICROSOFT
    Microsoft
    PEER
    Peer
    "Microsoft"
    Microsoft
    "Peer"
    Peer

    SubResource, SubResourceArgs

    Id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    Id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id String
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id string
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id str
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
    id String
    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    SubResourceResponse, SubResourceResponseArgs

    Id string
    The identifier of the referenced resource.
    Id string
    The identifier of the referenced resource.
    id String
    The identifier of the referenced resource.
    id string
    The identifier of the referenced resource.
    id str
    The identifier of the referenced resource.
    id String
    The identifier of the referenced resource.

    Import

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

    $ pulumi import azure-native:peering:Peering peeringName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName} 
    

    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.49.1 published on Tuesday, Jul 9, 2024 by Pulumi