次の方法で共有


BorderGatewayProtocolPeeringOperationsExtensions.New メソッド

定義

New Border Gateway Protocol Peering 操作では、指定されたサービス キーで指定された専用回線に関連付けられた新しいボーダー ゲートウェイ プロトコル ピアリングが作成されます。

public static Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationStatusResponse New (this Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations operations, string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringNewParameters parameters);
static member New : Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations * string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringNewParameters -> Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationStatusResponse
<Extension()>
Public Function New (operations As IBorderGatewayProtocolPeeringOperations, serviceKey As String, accessType As BgpPeeringAccessType, parameters As BorderGatewayProtocolPeeringNewParameters) As ExpressRouteOperationStatusResponse

パラメーター

operations
IBorderGatewayProtocolPeeringOperations

Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations への参照。

serviceKey
String

必須。 Azure と顧客の関係を表すサービス キー。

accessType
BgpPeeringAccessType

必須。 ピアリングがプライベートかパブリックか。

parameters
BorderGatewayProtocolPeeringNewParameters

必須。 新しい Bgp ピアリング操作に指定されたパラメーター。

戻り値

応答本文には、指定された非同期操作の状態が含まれています。指定した非同期操作が成功したか、失敗したかを示します。 この状態は、操作状態の取得操作自体に対して返される HTTP 状態コードとは異なります。 非同期操作が正常に終了した場合、応答本文には正常終了した要求の HTTP ステータス コードが含まれます。 非同期操作が失敗した場合、応答本文には、失敗した要求の HTTP ステータス コードに加え、失敗に関するエラー情報が含まれます。

適用対象