Editar

Compartir a través de


New-AzPeeringDirectConnectionObject

Create an in-memory object for DirectConnection.

Syntax

New-AzPeeringDirectConnectionObject
   [-BandwidthInMbps <Int32>]
   [-BgpSessionMaxPrefixesAdvertisedV4 <Int32>]
   [-BgpSessionMaxPrefixesAdvertisedV6 <Int32>]
   [-BgpSessionMd5AuthenticationKey <String>]
   [-BgpSessionMicrosoftSessionIPv4Address <String>]
   [-BgpSessionMicrosoftSessionIPv6Address <String>]
   [-BgpSessionPeerSessionIPv4Address <String>]
   [-BgpSessionPeerSessionIPv6Address <String>]
   [-BgpSessionPrefixV4 <String>]
   [-BgpSessionPrefixV6 <String>]
   [-ConnectionIdentifier <String>]
   [-PeeringDbFacilityId <Int32>]
   [-SessionAddressProvider <SessionAddressProvider>]
   [-UseForPeeringService <Boolean>]
   [<CommonParameters>]

Description

Create an in-memory object for DirectConnection.

Examples

Example 1: Create a direct connection object

$md5Key = "******"

New-AzPeeringDirectConnectionObject -BandwidthInMbps 10000 -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -SessionAddressProvider Peer -ConnectionIdentifier c111111111111

BandwidthInMbps ConnectionIdentifier ConnectionState ErrorMessage MicrosoftTrackingId PeeringDbFacilityId ProvisionedBandwidthInMbps
--------------- -------------------- --------------- ------------ ------------------- ------------------- --------------------------
10000           c111111111111        PendingApproval                                  82

Creates an in-memory direct connection object

Parameters

-BandwidthInMbps

The bandwidth of the connection.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionMaxPrefixesAdvertisedV4

The maximum number of prefixes advertised over the IPv4 session.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionMaxPrefixesAdvertisedV6

The maximum number of prefixes advertised over the IPv6 session.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionMd5AuthenticationKey

The MD5 authentication key of the session.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionMicrosoftSessionIPv4Address

The IPv4 session address on Microsoft's end.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionMicrosoftSessionIPv6Address

The IPv6 session address on Microsoft's end.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionPeerSessionIPv4Address

The IPv4 session address on peer's end.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionPeerSessionIPv6Address

The IPv6 session address on peer's end.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionPrefixV4

The IPv4 prefix that contains both ends' IPv4 addresses.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BgpSessionPrefixV6

The IPv6 prefix that contains both ends' IPv6 addresses.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConnectionIdentifier

The unique identifier (GUID) for the connection.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PeeringDbFacilityId

The PeeringDB.com ID of the facility at which the connection has to be set up.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SessionAddressProvider

The field indicating if Microsoft provides session ip addresses.

Type:SessionAddressProvider
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UseForPeeringService

The flag that indicates whether or not the connection is used for peering service.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

DirectConnection