Freigeben über


VirtualNetworkGatewayConnectionResource.GetSharedKeyAsync Methode

Definition

Der Vorgang Get VirtualNetworkGatewayConnectionSharedKey ruft Informationen zum angegebenen freigegebenen Verbindungsschlüssel des virtuellen Netzwerkgateways über den Netzwerkressourcenanbieter ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey
  • Vorgang IdVirtualNetworkGatewayConnections_GetSharedKey
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))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: