Azure Native

v1.87.0 published on Tuesday, Nov 22, 2022 by Pulumi

Peering

Peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location. API Version: 2021-01-01.

Example Usage

Create a direct peering

using System.Collections.Generic;
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 = "Peer",
                    UseForPeeringService = false,
                },
                new AzureNative.Peering.Inputs.DirectConnectionArgs
                {
                    BandwidthInMbps = 10000,
                    ConnectionIdentifier = "8AB00818-D533-4504-A25A-03A17F61201C",
                    PeeringDBFacilityId = 99999,
                    SessionAddressProvider = "Microsoft",
                    UseForPeeringService = true,
                },
            },
            DirectPeeringType = "Edge",
            PeerAsn = new AzureNative.Peering.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
            },
        },
        Kind = "Direct",
        Location = "eastus",
        PeeringLocation = "peeringLocation0",
        PeeringName = "peeringName",
        ResourceGroupName = "rgName",
        Sku = new AzureNative.Peering.Inputs.PeeringSkuArgs
        {
            Name = "Basic_Direct_Free",
        },
    });

});

Coming soon!

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 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(Map.ofEntries(
                Map.entry("connections",                 
                    Map.ofEntries(
                        Map.entry("bandwidthInMbps", 10000),
                        Map.entry("bgpSession", Map.ofEntries(
                            Map.entry("maxPrefixesAdvertisedV4", 1000),
                            Map.entry("maxPrefixesAdvertisedV6", 100),
                            Map.entry("md5AuthenticationKey", "test-md5-auth-key"),
                            Map.entry("sessionPrefixV4", "192.168.0.0/31"),
                            Map.entry("sessionPrefixV6", "fd00::0/127")
                        )),
                        Map.entry("connectionIdentifier", "5F4CB5C7-6B43-4444-9338-9ABC72606C16"),
                        Map.entry("peeringDBFacilityId", 99999),
                        Map.entry("sessionAddressProvider", "Peer"),
                        Map.entry("useForPeeringService", false)
                    ),
                    Map.ofEntries(
                        Map.entry("bandwidthInMbps", 10000),
                        Map.entry("connectionIdentifier", "8AB00818-D533-4504-A25A-03A17F61201C"),
                        Map.entry("peeringDBFacilityId", 99999),
                        Map.entry("sessionAddressProvider", "Microsoft"),
                        Map.entry("useForPeeringService", true)
                    )),
                Map.entry("directPeeringType", "Edge"),
                Map.entry("peerAsn", Map.of("id", "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"))
            ))
            .kind("Direct")
            .location("eastus")
            .peeringLocation("peeringLocation0")
            .peeringName("peeringName")
            .resourceGroupName("rgName")
            .sku(Map.of("name", "Basic_Direct_Free"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

peering = azure_native.peering.Peering("peering",
    direct=azure_native.peering.PeeringPropertiesDirectResponseArgs(
        connections=[
            {
                "bandwidthInMbps": 10000,
                "bgpSession": azure_native.peering.BgpSessionArgs(
                    max_prefixes_advertised_v4=1000,
                    max_prefixes_advertised_v6=100,
                    md5_authentication_key="test-md5-auth-key",
                    session_prefix_v4="192.168.0.0/31",
                    session_prefix_v6="fd00::0/127",
                ),
                "connectionIdentifier": "5F4CB5C7-6B43-4444-9338-9ABC72606C16",
                "peeringDBFacilityId": 99999,
                "sessionAddressProvider": "Peer",
                "useForPeeringService": False,
            },
            azure_native.peering.DirectConnectionArgs(
                bandwidth_in_mbps=10000,
                connection_identifier="8AB00818-D533-4504-A25A-03A17F61201C",
                peering_db_facility_id=99999,
                session_address_provider="Microsoft",
                use_for_peering_service=True,
            ),
        ],
        direct_peering_type="Edge",
        peer_asn=azure_native.peering.SubResourceArgs(
            id="/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
        ),
    ),
    kind="Direct",
    location="eastus",
    peering_location="peeringLocation0",
    peering_name="peeringName",
    resource_group_name="rgName",
    sku=azure_native.peering.PeeringSkuArgs(
        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: "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",
    },
});
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 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 = "Peer",
                    UseForPeeringService = true,
                },
            },
            DirectPeeringType = "IxRs",
            PeerAsn = new AzureNative.Peering.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
            },
        },
        Kind = "Direct",
        Location = "eastus",
        PeeringLocation = "peeringLocation0",
        PeeringName = "peeringName",
        ResourceGroupName = "rgName",
        Sku = new AzureNative.Peering.Inputs.PeeringSkuArgs
        {
            Name = "Premium_Direct_Free",
        },
    });

});

Coming soon!

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 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(Map.ofEntries(
                Map.entry("connections", Map.ofEntries(
                    Map.entry("bandwidthInMbps", 10000),
                    Map.entry("bgpSession", Map.ofEntries(
                        Map.entry("maxPrefixesAdvertisedV4", 1000),
                        Map.entry("maxPrefixesAdvertisedV6", 100),
                        Map.entry("microsoftSessionIPv4Address", "192.168.0.123"),
                        Map.entry("peerSessionIPv4Address", "192.168.0.234"),
                        Map.entry("sessionPrefixV4", "192.168.0.0/24")
                    )),
                    Map.entry("connectionIdentifier", "5F4CB5C7-6B43-4444-9338-9ABC72606C16"),
                    Map.entry("peeringDBFacilityId", 99999),
                    Map.entry("sessionAddressProvider", "Peer"),
                    Map.entry("useForPeeringService", true)
                )),
                Map.entry("directPeeringType", "IxRs"),
                Map.entry("peerAsn", Map.of("id", "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"))
            ))
            .kind("Direct")
            .location("eastus")
            .peeringLocation("peeringLocation0")
            .peeringName("peeringName")
            .resourceGroupName("rgName")
            .sku(Map.of("name", "Premium_Direct_Free"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

peering = azure_native.peering.Peering("peering",
    direct=azure_native.peering.PeeringPropertiesDirectResponseArgs(
        connections=[{
            "bandwidthInMbps": 10000,
            "bgpSession": azure_native.peering.BgpSessionArgs(
                max_prefixes_advertised_v4=1000,
                max_prefixes_advertised_v6=100,
                microsoft_session_i_pv4_address="192.168.0.123",
                peer_session_i_pv4_address="192.168.0.234",
                session_prefix_v4="192.168.0.0/24",
            ),
            "connectionIdentifier": "5F4CB5C7-6B43-4444-9338-9ABC72606C16",
            "peeringDBFacilityId": 99999,
            "sessionAddressProvider": "Peer",
            "useForPeeringService": True,
        }],
        direct_peering_type="IxRs",
        peer_asn=azure_native.peering.SubResourceArgs(
            id="/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
        ),
    ),
    kind="Direct",
    location="eastus",
    peering_location="peeringLocation0",
    peering_name="peeringName",
    resource_group_name="rgName",
    sku=azure_native.peering.PeeringSkuArgs(
        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: "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",
    },
});
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 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 = "Exchange",
        Location = "eastus",
        PeeringLocation = "peeringLocation0",
        PeeringName = "peeringName",
        ResourceGroupName = "rgName",
        Sku = new AzureNative.Peering.Inputs.PeeringSkuArgs
        {
            Name = "Basic_Exchange_Free",
        },
    });

});

Coming soon!

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 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(Map.ofEntries(
                Map.entry("connections",                 
                    Map.ofEntries(
                        Map.entry("bgpSession", Map.ofEntries(
                            Map.entry("maxPrefixesAdvertisedV4", 1000),
                            Map.entry("maxPrefixesAdvertisedV6", 100),
                            Map.entry("md5AuthenticationKey", "test-md5-auth-key"),
                            Map.entry("peerSessionIPv4Address", "192.168.2.1"),
                            Map.entry("peerSessionIPv6Address", "fd00::1")
                        )),
                        Map.entry("connectionIdentifier", "CE495334-0E94-4E51-8164-8116D6CD284D"),
                        Map.entry("peeringDBFacilityId", 99999)
                    ),
                    Map.ofEntries(
                        Map.entry("bgpSession", Map.ofEntries(
                            Map.entry("maxPrefixesAdvertisedV4", 1000),
                            Map.entry("maxPrefixesAdvertisedV6", 100),
                            Map.entry("md5AuthenticationKey", "test-md5-auth-key"),
                            Map.entry("peerSessionIPv4Address", "192.168.2.2"),
                            Map.entry("peerSessionIPv6Address", "fd00::2")
                        )),
                        Map.entry("connectionIdentifier", "CDD8E673-CB07-47E6-84DE-3739F778762B"),
                        Map.entry("peeringDBFacilityId", 99999)
                    )),
                Map.entry("peerAsn", Map.of("id", "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"))
            ))
            .kind("Exchange")
            .location("eastus")
            .peeringLocation("peeringLocation0")
            .peeringName("peeringName")
            .resourceGroupName("rgName")
            .sku(Map.of("name", "Basic_Exchange_Free"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

peering = azure_native.peering.Peering("peering",
    exchange=azure_native.peering.PeeringPropertiesExchangeResponseArgs(
        connections=[
            {
                "bgpSession": azure_native.peering.BgpSessionArgs(
                    max_prefixes_advertised_v4=1000,
                    max_prefixes_advertised_v6=100,
                    md5_authentication_key="test-md5-auth-key",
                    peer_session_i_pv4_address="192.168.2.1",
                    peer_session_i_pv6_address="fd00::1",
                ),
                "connectionIdentifier": "CE495334-0E94-4E51-8164-8116D6CD284D",
                "peeringDBFacilityId": 99999,
            },
            {
                "bgpSession": azure_native.peering.BgpSessionArgs(
                    max_prefixes_advertised_v4=1000,
                    max_prefixes_advertised_v6=100,
                    md5_authentication_key="test-md5-auth-key",
                    peer_session_i_pv4_address="192.168.2.2",
                    peer_session_i_pv6_address="fd00::2",
                ),
                "connectionIdentifier": "CDD8E673-CB07-47E6-84DE-3739F778762B",
                "peeringDBFacilityId": 99999,
            },
        ],
        peer_asn=azure_native.peering.SubResourceArgs(
            id="/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1",
        ),
    ),
    kind="Exchange",
    location="eastus",
    peering_location="peeringLocation0",
    peering_name="peeringName",
    resource_group_name="rgName",
    sku=azure_native.peering.PeeringSkuArgs(
        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: "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

new Peering(name: string, args: PeeringArgs, opts?: CustomResourceOptions);
@overload
def Peering(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            direct: Optional[PeeringPropertiesDirectArgs] = None,
            exchange: Optional[PeeringPropertiesExchangeArgs] = None,
            kind: Optional[Union[str, Kind]] = None,
            location: Optional[str] = None,
            peering_location: Optional[str] = None,
            peering_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            sku: Optional[PeeringSkuArgs] = None,
            tags: Optional[Mapping[str, str]] = None)
@overload
def Peering(resource_name: str,
            args: PeeringArgs,
            opts: Optional[ResourceOptions] = 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.

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.

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.PeeringSkuArgs

The SKU that defines the tier and kind of the peering.

Direct Pulumi.AzureNative.Peering.Inputs.PeeringPropertiesDirectArgs

The properties that define a direct peering.

Exchange Pulumi.AzureNative.Peering.Inputs.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 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 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 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 {[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

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

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

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

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

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

ExchangeConnection

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

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.

Family

Direct
Direct
Exchange
Exchange
FamilyDirect
Direct
FamilyExchange
Exchange
Direct
Direct
Exchange
Exchange
Direct
Direct
Exchange
Exchange
DIRECT
Direct
EXCHANGE
Exchange
"Direct"
Direct
"Exchange"
Exchange

Kind

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

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"

The type of direct peering.

peerAsn Property Map

The reference of the peer ASN.

PeeringPropertiesDirectResponse

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

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

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

Family string | Pulumi.AzureNative.Peering.Family

The family of the peering SKU.

Name string

The name of the peering SKU.

Size string | Pulumi.AzureNative.Peering.Size

The size of the peering SKU.

Tier string | Pulumi.AzureNative.Peering.Tier

The tier of the peering SKU.

Family string | Family

The family of the peering SKU.

Name string

The name of the peering SKU.

Size string | Size

The size of the peering SKU.

Tier string | Tier

The tier of the peering SKU.

family String | Family

The family of the peering SKU.

name String

The name of the peering SKU.

size String | Size

The size of the peering SKU.

tier String | Tier

The tier of the peering SKU.

family string | Family

The family of the peering SKU.

name string

The name of the peering SKU.

size string | Size

The size of the peering SKU.

tier string | Tier

The tier of the peering SKU.

family str | Family

The family of the peering SKU.

name str

The name of the peering SKU.

size str | Size

The size of the peering SKU.

tier str | Tier

The tier of the peering SKU.

family String | "Direct" | "Exchange"

The family of the peering SKU.

name String

The name of the peering SKU.

size String | "Free" | "Metered" | "Unlimited"

The size of the peering SKU.

tier String | "Basic" | "Premium"

The tier of the peering SKU.

PeeringSkuResponse

Family string

The family of the peering SKU.

Name string

The name of the peering SKU.

Size string

The size of the peering SKU.

Tier string

The tier of the peering SKU.

Family string

The family of the peering SKU.

Name string

The name of the peering SKU.

Size string

The size of the peering SKU.

Tier string

The tier of the peering SKU.

family String

The family of the peering SKU.

name String

The name of the peering SKU.

size String

The size of the peering SKU.

tier String

The tier of the peering SKU.

family string

The family of the peering SKU.

name string

The name of the peering SKU.

size string

The size of the peering SKU.

tier string

The tier of the peering SKU.

family str

The family of the peering SKU.

name str

The name of the peering SKU.

size str

The size of the peering SKU.

tier str

The tier of the peering SKU.

family String

The family of the peering SKU.

name String

The name of the peering SKU.

size String

The size of the peering SKU.

tier String

The tier of the peering SKU.

SessionAddressProvider

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

Size

Free
Free
Metered
Metered
Unlimited
Unlimited
SizeFree
Free
SizeMetered
Metered
SizeUnlimited
Unlimited
Free
Free
Metered
Metered
Unlimited
Unlimited
Free
Free
Metered
Metered
Unlimited
Unlimited
FREE
Free
METERED
Metered
UNLIMITED
Unlimited
"Free"
Free
"Metered"
Metered
"Unlimited"
Unlimited

SubResource

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.

SubResourceResponse

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.

Tier

Basic
Basic
Premium
Premium
TierBasic
Basic
TierPremium
Premium
Basic
Basic
Premium
Premium
Basic
Basic
Premium
Premium
BASIC
Basic
PREMIUM
Premium
"Basic"
Basic
"Premium"
Premium

Import

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

$ pulumi import azure-native:peering:Peering peeringName /subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0