ภาษา

WorkloadSpaceResource.GetRuntimeLinkAsync(String, CancellationToken) Method

Definition

Gets a runtime link.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource>> GetRuntimeLinkAsync(string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRuntimeLinkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource>>
override this.GetRuntimeLinkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource>>
Public Overridable Function GetRuntimeLinkAsync (linkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RuntimeLinkResource))

Parameters

linkName
String

The name of the RuntimeLink.

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