Partilhar via


VirtualNetworkGatewayConnectionResource.GetSharedKey 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 Azure.Response<Azure.ResourceManager.Network.Models.ConnectionSharedKey> GetSharedKey (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSharedKey : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.ConnectionSharedKey>
override this.GetSharedKey : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.ConnectionSharedKey>
Public Overridable Function GetSharedKey (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConnectionSharedKey)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a