Freigeben über


AutomationJobResource.GetJobStreamAsync Methode

Definition

Rufen Sie den Auftragsdatenstrom ab, der anhand der Auftragsdatenstrom-ID identifiziert wird.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccounts/{automationAccountName}/jobs/{jobName}/streams/{jobStreamId}
  • Vorgangs-IdJobStream_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AutomationJobStream>> GetJobStreamAsync (string jobStreamId, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetJobStreamAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AutomationJobStream>>
override this.GetJobStreamAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AutomationJobStream>>
Public Overridable Function GetJobStreamAsync (jobStreamId As String, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationJobStream))

Parameter

jobStreamId
String

Die Auftragsdatenstrom-ID.

clientRequestId
String

Identifiziert diese spezifische Clientanforderung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

jobStreamId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

jobStreamId ist NULL.

Gilt für: