Share via


AutomationJobResource.GetJobStream(String, String, CancellationToken) 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 Azure.Response<Azure.ResourceManager.Automation.Models.AutomationJobStream> GetJobStream (string jobStreamId, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetJobStream : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.Models.AutomationJobStream>
override this.GetJobStream : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.Models.AutomationJobStream>
Public Overridable Function GetJobStream (jobStreamId As String, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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