Delen via


SynapsePrivateLinkHubCollection.GetAsync(String, CancellationToken) Method

Definition

Gets a privateLinkHub

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