Language

WorkloadSpaceResource.GetRuntimeLink(String, CancellationToken) Method

Definition

Gets a runtime link.

public virtual Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource> GetRuntimeLink(string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRuntimeLink : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource>
override this.GetRuntimeLink : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.WorkloadManager.RuntimeLinkResource>
Public Overridable Function GetRuntimeLink (linkName As String, Optional cancellationToken As CancellationToken = Nothing) As 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