Compartilhar via


GatewayOperationsExtensions.GetSharedKeyV2Async Método

Definição

A operação Obter Rede Virtual Chave Compartilhada V2 do Gateway obtém a chave compartilhada usada entre o gateway e a VPN do cliente.

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

Parâmetros

operations
IGatewayOperations

Referência ao Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

gatewayId
String

Obrigatórios. A rede virtual para essa ID de gateway.

connectedentityId
String

Obrigatórios. A ID da entidade conectada.

Retornos

A resposta à solicitação obter chave compartilhada.

Aplica-se a