Sdílet prostřednictvím


TestJobStreamsOperationsExtensions.GetAsync Metoda

Definice

Načtěte stream testovací úlohy testovací úlohy identifikovaný názvem runbooku a ID streamu. http://aka.ms/azureautomationsdk/jobstreamoperations

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

Parametry

operations
ITestJobStreamsOperations

Skupina operací pro tuto metodu rozšíření.

resourceGroupName
String

Název skupiny prostředků Azure.

automationAccountName
String

Název účtu Automation.

runbookName
String

Název runbooku.

jobStreamId
String

ID streamu úlohy

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro