Partilhar via


VpnLinkConnectionSharedKeyResource.Get(CancellationToken) Method

Definition

Gets the shared key of VpnLink connection specified.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default
  • Operation Id: VpnLinkConnections_GetDefaultSharedKey
  • Default Api Version: 2024-03-01
  • Resource: VpnLinkConnectionSharedKeyResource
public virtual Azure.Response<Azure.ResourceManager.Network.VpnLinkConnectionSharedKeyResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.VpnLinkConnectionSharedKeyResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.VpnLinkConnectionSharedKeyResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of VpnLinkConnectionSharedKeyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to