Freigeben über


VirtualNetworkGatewayConnectionResource.GetSharedKey Methode

Definition

Der Vorgang Get VirtualNetworkGatewayConnectionSharedKey ruft Informationen zum angegebenen virtuellen Netzwerkgatewayverbindungsschlüssel über den Netzwerkressourcenanbieter ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey
  • Vorgangs-IdVirtualNetworkGatewayConnections_GetSharedKey
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)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: