Dela via


AutomationAccountResource.GetDscCompilationJobStreamsAsync Method

Definition

Retrieve all the job streams for the compilation Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams
  • Operation Id: DscCompilationJobStream_ListByJob
public virtual Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationJobStream> GetDscCompilationJobStreamsAsync (Guid jobId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDscCompilationJobStreamsAsync : Guid * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationJobStream>
override this.GetDscCompilationJobStreamsAsync : Guid * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationJobStream>
Public Overridable Function GetDscCompilationJobStreamsAsync (jobId As Guid, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutomationJobStream)

Parameters

jobId
Guid

The job id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AutomationJobStream that may take multiple service requests to iterate over.

Applies to