Share via


DscCompilationJobStreamOperationsExtensions.ListByJobAsync Method

Definition

Retrieve all the job streams for the compilation Job. http://aka.ms/azureautomationsdk/jobstreamoperations

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

Parameters

operations
IDscCompilationJobStreamOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

jobId
Guid

The job id.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to