Share via


AutomationJobResource.GetJobStreamAsync Method

Definition

Retrieve the job stream identified by job stream id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/streams/{jobStreamId}
  • Operation Id: JobStream_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))

Parameters

jobStreamId
String

The job stream id.

clientRequestId
String

Identifies this specific client request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jobStreamId is an empty string, and was expected to be non-empty.

jobStreamId is null.

Applies to