Share via


HubResource.GetLinkResourceFormat(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 Azure.Response<Azure.ResourceManager.CustomerInsights.LinkResourceFormatResource> GetLinkResourceFormat (string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLinkResourceFormat : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.LinkResourceFormatResource>
override this.GetLinkResourceFormat : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.LinkResourceFormatResource>
Public Overridable Function GetLinkResourceFormat (linkName As String, Optional cancellationToken As CancellationToken = Nothing) As 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