Delen via


SynapsePrivateLinkHubCollection.Get(String, CancellationToken) Method

Definition

Gets a privateLinkHub

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}
  • Operation Id: PrivateLinkHubs_Get
public virtual Azure.Response<Azure.ResourceManager.Synapse.SynapsePrivateLinkHubResource> Get (string privateLinkHubName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Synapse.SynapsePrivateLinkHubResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Synapse.SynapsePrivateLinkHubResource>
Public Overridable Function Get (privateLinkHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SynapsePrivateLinkHubResource)

Parameters

privateLinkHubName
String

Name of the privateLinkHub.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

privateLinkHubName is an empty string, and was expected to be non-empty.

privateLinkHubName is null.

Applies to