Share via


LinkedWorkspaceOperationsExtensions.GetAsync Method

Definition

Retrieve the linked workspace for the account id. http://aka.ms/azureautomationsdk/linkedworkspaceoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.LinkedWorkspace> GetAsync (this Microsoft.Azure.Management.Automation.ILinkedWorkspaceOperations operations, string resourceGroupName, string automationAccountName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.ILinkedWorkspaceOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.LinkedWorkspace>
<Extension()>
Public Function GetAsync (operations As ILinkedWorkspaceOperations, resourceGroupName As String, automationAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LinkedWorkspace)

Parameters

operations
ILinkedWorkspaceOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to