Skip to main content

source_control_sync_job_streams

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

Overview

Namesource_control_sync_job_streams
TypeResource
Idazure.automation.source_control_sync_job_streams

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource id.
sourceControlSyncJobStreamIdstringThe sync job stream id.
streamTextstringThe text of the sync job stream.
streamTypestringThe type of the sync job stream. Known values are: "Error" and "Output". (Error, Output)
summarystringThe summary of the sync job stream.
timestring (date-time)The time of the sync job stream.
valueobjectThe values of the job stream.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, automation_account_name, source_control_name, source_control_sync_job_id, stream_id, subscription_idRetrieve a sync job stream identified by stream id.
list_by_sync_jobselectresource_group_name, automation_account_name, source_control_name, source_control_sync_job_id, subscription_id$filterRetrieve a list of sync job streams identified by sync job id.

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.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
source_control_namestringThe name of source control. Required.
source_control_sync_job_idstringThe source control sync job id. Required.
stream_idstringThe id of the sync job stream. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Default value is None.

SELECT examples

Retrieve a sync job stream identified by stream id.

SELECT
id,
sourceControlSyncJobStreamId,
streamText,
streamType,
summary,
time,
value
FROM azure.automation.source_control_sync_job_streams
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND source_control_name = '{{ source_control_name }}' -- required
AND source_control_sync_job_id = '{{ source_control_sync_job_id }}' -- required
AND stream_id = '{{ stream_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;