Share via


AutomationAccountOperationsExtensions.GetAsync Method

Definition

Overloads

GetAsync(IAutomationAccountOperations, String, String)
GetAsync(IAutomationAccountOperations, String, String, CancellationToken)

Get information about an Automation Account. http://aka.ms/azureautomationsdk/automationaccountoperations

GetAsync(IAutomationAccountOperations, String, String)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IAutomationAccountOperations operations, string resourceGroupName, string automationAccount);
static member GetAsync : Microsoft.Azure.Management.Automation.IAutomationAccountOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountGetResponse>
<Extension()>
Public Function GetAsync (operations As IAutomationAccountOperations, resourceGroupName As String, automationAccount As String) As Task(Of AutomationAccountGetResponse)

Parameters

resourceGroupName
String
automationAccount
String

Returns

Applies to

GetAsync(IAutomationAccountOperations, String, String, CancellationToken)

Get information about an Automation Account. http://aka.ms/azureautomationsdk/automationaccountoperations

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

Parameters

operations
IAutomationAccountOperations

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