Share via


IJobStreamOperations.ListAsync Method

Retrieve a list of jobs streams identified by job id. (see https://aka.ms/azureautomationsdk/jobstreamoperations for more information)

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

Usage

'Usage
Dim instance As IJobStreamOperations
Dim automationAccount As String
Dim jobId As Guid
Dim parameters As JobStreamListParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of JobStreamListResponse)

returnValue = instance.ListAsync(automationAccount, jobId, parameters, cancellationToken)

Syntax

'Declaration
Function ListAsync ( _
    automationAccount As String, _
    jobId As Guid, _
    parameters As JobStreamListParameters, _
    cancellationToken As CancellationToken _
) As Task(Of JobStreamListResponse)
Task<JobStreamListResponse> ListAsync (
    string automationAccount,
    Guid jobId,
    JobStreamListParameters parameters,
    CancellationToken cancellationToken
)
Task<JobStreamListResponse^>^ ListAsync (
    String^ automationAccount, 
    Guid jobId, 
    JobStreamListParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<JobStreamListResponse> ListAsync (
    String automationAccount, 
    Guid jobId, 
    JobStreamListParameters parameters, 
    CancellationToken cancellationToken
)
function ListAsync (
    automationAccount : String, 
    jobId : Guid, 
    parameters : JobStreamListParameters, 
    cancellationToken : CancellationToken
) : Task<JobStreamListResponse>

Parameters

  • automationAccount
    The automation account name.
  • jobId
    The job Id.
  • parameters
    The parameters supplied to the list job stream's stream items operation.
  • cancellationToken
    Cancellation token.

Return Value

The response model for the list job stream 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

IJobStreamOperations Interface
IJobStreamOperations Members
Microsoft.WindowsAzure.Management.Automation Namespace