Skip to main content

test_job_streams

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

Overview

Nametest_job_streams
TypeResource
Idazure.automation.test_job_streams

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, runbook_name, job_stream_id, subscription_idRetrieve a test job stream of the test job identified by runbook name and stream id.
list_by_test_jobselectresource_group_name, automation_account_name, runbook_name, subscription_id$filterRetrieve a list of test job streams identified by runbook 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_stream_idstringThe job stream id. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
runbook_namestringThe runbook name. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Default value is None.

SELECT examples

Retrieve a test job stream of the test job identified by runbook name and stream id.

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