次の方法で共有


GatewayOperationsExtensions.ResetSharedKeyV2Async メソッド

定義

[ゲートウェイ共有キー V2 Virtual Networkリセット] 操作では、ゲートウェイと顧客 VPN の間で使用される共有キーがリセットされます。

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetOperationStatusResponse> ResetSharedKeyV2Async (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, string connectedentityId, Microsoft.WindowsAzure.Management.Network.Models.GatewayResetSharedKeyParameters parameters);
static member ResetSharedKeyV2Async : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string * Microsoft.WindowsAzure.Management.Network.Models.GatewayResetSharedKeyParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetOperationStatusResponse>
<Extension()>
Public Function ResetSharedKeyV2Async (operations As IGatewayOperations, gatewayId As String, connectedentityId As String, parameters As GatewayResetSharedKeyParameters) As Task(Of GatewayGetOperationStatusResponse)

パラメーター

operations
IGatewayOperations

Microsoft.WindowsAzure.Management.Network.IGatewayOperations への参照。

gatewayId
String

必須。 このゲートウェイ ID の仮想ネットワーク。

connectedentityId
String

必須。 接続されたエンティティ ID。

parameters
GatewayResetSharedKeyParameters

必須。 Begin Virtual Network Gateway Reset Shared Key 要求に指定されたパラメーター。

戻り値

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

適用対象