LinkResourceFormatCollection.GetAsync(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>> GetAsync (string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.LinkResourceFormatResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.LinkResourceFormatResource>>
Public Overridable Function GetAsync (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 an empty string, and was expected to be non-empty.

linkName is null.

Applies to