source_control_sync_job_streams
Creates, updates, deletes, gets or lists a source_control_sync_job_streams resource.
Overview
| Name | source_control_sync_job_streams |
| Type | Resource |
| Id | azure.automation.source_control_sync_job_streams |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_sync_job
| Name | Datatype | Description |
|---|---|---|
id | string | Resource id. |
sourceControlSyncJobStreamId | string | The sync job stream id. |
streamText | string | The text of the sync job stream. |
streamType | string | The type of the sync job stream. Known values are: "Error" and "Output". (Error, Output) |
summary | string | The summary of the sync job stream. |
time | string (date-time) | The time of the sync job stream. |
value | object | The values of the job stream. |
| Name | Datatype | Description |
|---|---|---|
id | string | Resource id. |
sourceControlSyncJobStreamId | string | The sync job stream id. |
streamType | string | The type of the sync job stream. Known values are: "Error" and "Output". (Error, Output) |
summary | string | The summary of the sync job stream. |
time | string (date-time) | The time of the sync 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, source_control_name, source_control_sync_job_id, stream_id, subscription_id | Retrieve a sync job stream identified by stream id. | |
list_by_sync_job | select | resource_group_name, automation_account_name, source_control_name, source_control_sync_job_id, subscription_id | $filter | Retrieve 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.
| Name | Datatype | Description |
|---|---|---|
automation_account_name | string | The name of the automation account. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
source_control_name | string | The name of source control. Required. |
source_control_sync_job_id | string | The source control sync job id. Required. |
stream_id | string | The id of the sync job stream. Required. |
subscription_id | string | |
$filter | string | The filter to apply on the operation. Default value is None. |
SELECT examples
- get
- list_by_sync_job
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
;
Retrieve a list of sync job streams identified by sync job id.
SELECT
id,
sourceControlSyncJobStreamId,
streamType,
summary,
time
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 subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;