Udostępnij za pośrednictwem


IGatewayOperations.GetSharedKeyV2Async Method

Definition

The Get Virtual Network Gateway Shared Key V2 operation gets the shared key used between the gateway and customer 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)

Parameters

gatewayId
String

The virtual network for this gateway Id.

connectedentityId
String

The connected entity Id.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response to the get shared key request.

Applies to