Partilhar via


VirtualNetworkGatewayConnectionResource.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.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey
  • IdVirtualNetworkGatewayConnections_GetSharedKey de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ConnectionSharedKey>> GetSharedKeyAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSharedKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ConnectionSharedKey>>
override this.GetSharedKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ConnectionSharedKey>>
Public Overridable Function GetSharedKeyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConnectionSharedKey))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a