DscCompilationJobOperationsExtensions.GetStreamAsync Method

Definition

Retrieve the job stream identified by job stream id. http://aka.ms/azureautomationsdk/jobstreamoperations

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

Parameters

operations
IDscCompilationJobOperations

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.

jobStreamId
String

The job stream id.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to