Compartir a través de


VirtualNetworkGatewayConnectionsOperationsExtensions.GetSharedKeyAsync Método

Definición

La operación Get VirtualNetworkGatewayConnectionSharedKey recupera información sobre la clave compartida de conexión de puerta de enlace de red virtual especificada a través del proveedor de recursos de red.

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

Parámetros

operations
IVirtualNetworkGatewayConnectionsOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

virtualNetworkGatewayConnectionName
String

Nombre de clave compartida de conexión de puerta de enlace de red virtual.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a