Udostępnij za pośrednictwem


SynapseExtensions.GetSynapsePrivateLinkHubAsync Method

Definition

Gets a privateLinkHub

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}
  • Operation Id: PrivateLinkHubs_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapsePrivateLinkHubResource>> GetSynapsePrivateLinkHubAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string privateLinkHubName, System.Threading.CancellationToken cancellationToken = default);
static member GetSynapsePrivateLinkHubAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapsePrivateLinkHubResource>>
<Extension()>
Public Function GetSynapsePrivateLinkHubAsync (resourceGroupResource As ResourceGroupResource, privateLinkHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapsePrivateLinkHubResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

privateLinkHubName
String

Name of the privateLinkHub.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or privateLinkHubName is null.

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

Applies to