Compartilhar via


VirtualNetworkGatewayConnectionsOperationsExtensions.GetSharedKeyAsync Método

Definição

A operação Get VirtualNetworkGatewayConnectionSharedKey recupera informações sobre a chave compartilhada de conexão de gateway de rede virtual especificada por meio do provedor de recursos de rede.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ConnectionSharedKeyInner> GetSharedKeyAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetSharedKeyAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewayConnectionsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ConnectionSharedKeyInner>
<Extension()>
Public Function GetSharedKeyAsync (operations As IVirtualNetworkGatewayConnectionsOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConnectionSharedKeyInner)

Parâmetros

operations
IVirtualNetworkGatewayConnectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayConnectionName
String

O nome da chave compartilhada da conexão do gateway de rede virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a