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.
propertiesobjectGets or sets the id of the job stream.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, automationAccountName, runbookName, jobStreamIdRetrieve a test job stream of the test job identified by runbook name and stream id.
list_by_test_jobselectsubscriptionId, resourceGroupName, automationAccountName, runbookName$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
automationAccountNamestringThe name of the automation account.
jobStreamIdstringThe job stream id.
resourceGroupNamestringName of an Azure Resource group.
runbookNamestringThe runbook name.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
$filterstringThe filter to apply on the operation.

SELECT examples

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

SELECT
id,
properties
FROM azure.automation.test_job_streams
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND automationAccountName = '{{ automationAccountName }}' -- required
AND runbookName = '{{ runbookName }}' -- required
AND jobStreamId = '{{ jobStreamId }}' -- required
;