Udostępnij za pośrednictwem


SynapseExtensions.GetSynapsePrivateLinkHub Method

Definition

Gets a privateLinkHub

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