共用方式為


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

linkName is null.

Applies to