Skip to main content

job_stream

Creates, updates, deletes, gets or lists a job_stream resource.

Overview

Namejob_stream
TypeResource
Idazure.automation.job_stream

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringGets or sets the id of the resource.
jobStreamIdstringGets or sets the id of the job stream.
streamTextstringGets or sets the stream text.
streamTypestringGets or sets the stream type. Known values are: "Progress", "Output", "Warning", "Error", "Debug", "Verbose", and "Any". (Progress, Output, Warning, Error, Debug, Verbose, Any)
summarystringGets or sets the summary.
timestring (date-time)Gets or sets the creation time of the job.
valueobjectGets or sets the values of the job stream.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, automation_account_name, job_name, job_stream_id, subscription_idclientRequestIdRetrieve the job stream identified by job stream id.
list_by_jobselectresource_group_name, automation_account_name, job_name, subscription_id$filter, clientRequestIdRetrieve a list of jobs streams identified by job name.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
automation_account_namestringThe name of the automation account. Required.
job_namestringThe job name. Required.
job_stream_idstringThe job stream id. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Default value is None.
clientRequestIdstringIdentifies this specific client request. Default value is None.

SELECT examples

Retrieve the job stream identified by job stream id.

SELECT
id,
jobStreamId,
streamText,
streamType,
summary,
time,
value
FROM azure.automation.job_stream
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND job_name = '{{ job_name }}' -- required
AND job_stream_id = '{{ job_stream_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND clientRequestId = '{{ clientRequestId }}'
;