次の方法で共有


BorderGatewayProtocolPeeringOperationsExtensions.RemoveAsync メソッド

定義

境界ゲートウェイ プロトコル ピアリングの削除操作では、既存のボーダー ゲートウェイ プロトコル ピアリングが削除されます。

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationStatusResponse> RemoveAsync(this Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations operations, string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeerAddressType peerAddressType);
static member RemoveAsync : Microsoft.WindowsAzure.Management.ExpressRoute.IBorderGatewayProtocolPeeringOperations * string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeerAddressType -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationStatusResponse>
<Extension()>
Public Function RemoveAsync (operations As IBorderGatewayProtocolPeeringOperations, serviceKey As String, accessType As BgpPeeringAccessType, peerAddressType As BgpPeerAddressType) As Task(Of ExpressRouteOperationStatusResponse)

パラメーター

operations
IBorderGatewayProtocolPeeringOperations

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

serviceKey
String

必須。 削除するボーダー ゲートウェイ プロトコル ピアリングに関連付けられているサービス キー。

accessType
BgpPeeringAccessType

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

peerAddressType
BgpPeerAddressType

必須。 削除する BGP ピア アドレスの種類が IPv4、IPv6、またはすべてかどうか。

戻り値

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

適用対象