共用方式為


New-AzPeeringDirectConnectionObject

建立 Direct 連線 ion 的記憶體內部物件。

語法

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

建立 Direct 連線 ion 的記憶體內部物件。

範例

範例 1:建立直接連接物件

$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

建立記憶體內部直接連接物件

參數

-BandwidthInMbps

線上的頻寬。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMaxPrefixesAdvertisedV4

在 IPv4 工作階段上公告的前置詞數目上限。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMaxPrefixesAdvertisedV6

在 IPv6 會話上公告的前置詞數目上限。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMd5AuthenticationKey

工作階段的 MD5 驗證金鑰。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMicrosoftSessionIPv4Address

Microsoft 端的 IPv4 工作話位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMicrosoftSessionIPv6Address

Microsoft 端的 IPv6 工作話位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionPeerSessionIPv4Address

對等端的 IPv4 工作階段位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionPeerSessionIPv6Address

對等端的 IPv6 工作話位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionPrefixV4

包含兩端 IPv4 位址的 IPv4 前置詞。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionPrefixV6

包含兩端 IPv6 位址的 IPv6 前置詞。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ConnectionIdentifier

連接的唯一標識碼 (GUID)。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-PeeringDbFacilityId

必須設定連線之設施的 PeeringDB.com 標識碼。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-SessionAddressProvider

欄位,指出 Microsoft 是否提供工作階段 IP 位址。

類型:SessionAddressProvider
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-UseForPeeringService

指出連接是否用於對等互連服務的旗標。

類型:Boolean
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸出

DirectConnection