JobOperationsExtensions.GetAsync Method

Retrieve the job identified by job id. (see https://aka.ms/azureautomationsdk/joboperations for more information)

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim operations As IJobOperations
Dim automationAccount As String
Dim jobId As Guid
Dim returnValue As Task(Of JobGetResponse)

returnValue = JobOperationsExtensions.GetAsync(operations, automationAccount, jobId)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetAsync ( _
    operations As IJobOperations, _
    automationAccount As String, _
    jobId As Guid _
) As Task(Of JobGetResponse)
[ExtensionAttribute] 
public static Task<JobGetResponse> GetAsync (
    IJobOperations operations,
    string automationAccount,
    Guid jobId
)
[ExtensionAttribute] 
public:
static Task<JobGetResponse^>^ GetAsync (
    IJobOperations^ operations, 
    String^ automationAccount, 
    Guid jobId
)
/** @attribute ExtensionAttribute() */ 
public static Task<JobGetResponse> GetAsync (
    IJobOperations operations, 
    String automationAccount, 
    Guid jobId
)
ExtensionAttribute 
public static function GetAsync (
    operations : IJobOperations, 
    automationAccount : String, 
    jobId : Guid
) : Task<JobGetResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IJobOperations.
  • automationAccount
    Required. The automation account name.
  • jobId
    Required. The job id.

Return Value

The response model for the get job operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

JobOperationsExtensions Class
JobOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace