test_job_streams
Creates, updates, deletes, gets or lists a test_job_streams resource.
Overview
| Name | test_job_streams |
| Type | Resource |
| Id | azure.automation.test_job_streams |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_test_job
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the id of the resource. |
jobStreamId | string | Gets or sets the id of the job stream. |
streamText | string | Gets or sets the stream text. |
streamType | string | Gets or sets the stream type. Known values are: "Progress", "Output", "Warning", "Error", "Debug", "Verbose", and "Any". (Progress, Output, Warning, Error, Debug, Verbose, Any) |
summary | string | Gets or sets the summary. |
time | string (date-time) | Gets or sets the creation time of the job. |
value | object | Gets or sets the values of the job stream. |
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the id of the resource. |
jobStreamId | string | Gets or sets the id of the job stream. |
streamText | string | Gets or sets the stream text. |
streamType | string | Gets or sets the stream type. Known values are: "Progress", "Output", "Warning", "Error", "Debug", "Verbose", and "Any". (Progress, Output, Warning, Error, Debug, Verbose, Any) |
summary | string | Gets or sets the summary. |
time | string (date-time) | Gets or sets the creation time of the job. |
value | object | Gets or sets the values of the job stream. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, automation_account_name, runbook_name, job_stream_id, subscription_id | Retrieve a test job stream of the test job identified by runbook name and stream id. | |
list_by_test_job | select | resource_group_name, automation_account_name, runbook_name, subscription_id | $filter | Retrieve 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.
| Name | Datatype | Description |
|---|---|---|
automation_account_name | string | The name of the automation account. Required. |
job_stream_id | string | The job stream id. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
runbook_name | string | The runbook name. Required. |
subscription_id | string | |
$filter | string | The filter to apply on the operation. Default value is None. |
SELECT examples
- get
- list_by_test_job
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
;
Retrieve a list of test job streams identified by runbook name.
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 subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;