次の方法で共有


IGatewayOperations.GetSharedKeyV2Async メソッド

定義

Get Virtual Network Gateway Shared Key V2 操作は、ゲートウェイと顧客 vpn の間で使用される共有キーを取得します。

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponse> GetSharedKeyV2Async (string gatewayId, string connectedentityId, System.Threading.CancellationToken cancellationToken);
abstract member GetSharedKeyV2Async : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponse>
Public Function GetSharedKeyV2Async (gatewayId As String, connectedentityId As String, cancellationToken As CancellationToken) As Task(Of GatewayGetSharedKeyResponse)

パラメーター

gatewayId
String

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

connectedentityId
String

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

共有キーの取得要求への応答。

適用対象