Share via


JobOperationsExtensions.GetOutputAsync Method

Retrieve the job output 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 JobGetOutputResponse)

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

Syntax

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

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 output 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