次の方法で共有


BorderGatewayProtocolPeeringOperationsExtensions.NewAsync メソッド

定義

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationStatusResponse> NewAsync (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 NewAsync : Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations * string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BorderGatewayProtocolPeeringNewParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationStatusResponse>
<Extension()>
Public Function NewAsync (operations As IBorderGatewayProtocolPeeringOperations, serviceKey As String, accessType As BgpPeeringAccessType, parameters As BorderGatewayProtocolPeeringNewParameters) As Task(Of ExpressRouteOperationStatusResponse)

パラメーター

operations
IBorderGatewayProtocolPeeringOperations

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

serviceKey
String

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

accessType
BgpPeeringAccessType

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

parameters
BorderGatewayProtocolPeeringNewParameters

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

戻り値

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

適用対象