共用方式為


DscCompilationJobOperationsExtensions.GetStreamAsync 方法

定義

擷取作業資料流程識別碼所識別的作業資料流程。 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)

參數

operations
IDscCompilationJobOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

jobId
Guid

作業識別碼。

jobStreamId
String

作業資料流程識別碼。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於