Dela via


HubResource.GetLinkResourceFormatAsync(String, CancellationToken) Method

Definition

Gets a link in the hub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/links/{linkName}
  • Operation Id: Links_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.LinkResourceFormatResource>> GetLinkResourceFormatAsync (string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLinkResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.LinkResourceFormatResource>>
override this.GetLinkResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.LinkResourceFormatResource>>
Public Overridable Function GetLinkResourceFormatAsync (linkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LinkResourceFormatResource))

Parameters

linkName
String

The name of the link.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

linkName is null.

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

Applies to