Dijeli putem


az automation source-control sync-job stream

Note

This reference is part of the automation extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az automation source-control sync-job stream command. Learn more about extensions.

Manage sync job stream.

Commands

Name Description Type Status
az automation source-control sync-job stream list

List a list of sync job streams identified by sync job id.

Extension GA
az automation source-control sync-job stream show

Get a sync job stream identified by stream id.

Extension GA

az automation source-control sync-job stream list

List a list of sync job streams identified by sync job id.

az automation source-control sync-job stream list --account
                                                  --resource-group
                                                  --source-control-name
                                                  --sync-job-id
                                                  [--filter]
                                                  [--max-items]
                                                  [--next-token]

Examples

List sync job streams

az automation source-control sync-job stream list -g rg --automation-account-name myAutomationAccount --source-control-name sourceControl --sync-job-id abcdef01-2345-6789-9bed-a01234567890

Required Parameters

--account --automation-account-name

The name of the automation account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--source-control-name

The source control name.

--sync-job-id

The source control sync job id.

Optional Parameters

--filter

The filter to apply on the operation.

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az automation source-control sync-job stream show

Get a sync job stream identified by stream id.

az automation source-control sync-job stream show [--account]
                                                  [--ids]
                                                  [--resource-group]
                                                  [--source-control-name]
                                                  [--stream-id]
                                                  [--subscription]
                                                  [--sync-job-id]

Examples

Show detail of sync job stream

az automation source-control sync-job stream show -g rg --automation-account-name myAutomationAccount --source-control-name sourceControl --sync-job-id abcdef01-2345-6789-9bed-a01234567890 --stream-id b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007

Optional Parameters

--account --automation-account-name

The name of the automation account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--source-control-name

The source control name.

--stream-id

The id of the sync job stream.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--sync-job-id

The source control sync job id.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.