Language

RuntimeLinkCollection.GetAsync(String, CancellationToken) Method

Definition

Gets a runtime link.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/workloadSpaces/{spaceName}/runtimeLinks/{linkName}.
  • Operation Id. : RuntimeLinks_Get.
  • Default Api Version. : 2026-11-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource>> GetAsync(string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource>>
Public Overridable Function GetAsync (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