az devops migrations pipelines
Note
This reference is part of the azure-devops extension for the Azure CLI (version 2.30.0 or higher). The extension will automatically install the first time you run an az devops migrations pipelines command. Learn more about extensions.
Command group 'devops migrations' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage pipeline rewiring for migrations. (Preview).
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az devops migrations pipelines delete |
Delete pipeline rewiring data for a migration. (Preview). |
Extension | Preview |
| az devops migrations pipelines list |
List pipeline rewiring configuration and per-pipeline status. |
Extension | Preview |
| az devops migrations pipelines retry |
Retry failed pipeline rewiring entries. (Preview). |
Extension | Preview |
| az devops migrations pipelines submit |
Submit pipelines for rewiring. (Preview). |
Extension | Preview |
| az devops migrations pipelines update |
Bulk update pipeline rewiring configuration. (Preview). |
Extension | Preview |
az devops migrations pipelines delete
Command group 'devops migrations pipelines' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete pipeline rewiring data for a migration. (Preview).
az devops migrations pipelines delete [--acquire-policy-token]
[--change-reference]
[--detect {false, true}]
[--migration-id]
[--org --organization]
[--repository-id]
[--yes]
Examples
Delete rewiring config and cloned definitions.
az devops migrations pipelines delete --org https://dev.azure.com/myorg --repository-id 00000000-0000-0000-0000-000000000000 --migration-id 7 --yes
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Automatically detect organization.
| Property | Value |
|---|---|
| Accepted values: | false, true |
Migration ID used for pipeline rewiring cleanup.
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
ID of the Azure Repos repository (GUID).
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az devops migrations pipelines list
Command group 'devops migrations pipelines' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List pipeline rewiring configuration and per-pipeline status.
az devops migrations pipelines list [--detect {false, true}]
[--org --organization]
[--repository-id]
Examples
List pipeline rewiring status.
az devops migrations pipelines list --org https://dev.azure.com/myorg --repository-id 00000000-0000-0000-0000-000000000000
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Automatically detect organization.
| Property | Value |
|---|---|
| Accepted values: | false, true |
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
ID of the Azure Repos repository (GUID).
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az devops migrations pipelines retry
Command group 'devops migrations pipelines' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Retry failed pipeline rewiring entries. (Preview).
az devops migrations pipelines retry [--acquire-policy-token]
[--change-reference]
[--detect {false, true}]
[--org --organization]
[--pipeline-ids]
[--repository-id]
Examples
Retry specific failed pipelines.
az devops migrations pipelines retry --org https://dev.azure.com/myorg --repository-id 00000000-0000-0000-0000-000000000000 --pipeline-ids 42 43
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Automatically detect organization.
| Property | Value |
|---|---|
| Accepted values: | false, true |
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
Pipeline definition IDs to retry. Accepts space-separated or comma-separated values.
ID of the Azure Repos repository (GUID).
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az devops migrations pipelines submit
Command group 'devops migrations pipelines' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Submit pipelines for rewiring. (Preview).
az devops migrations pipelines submit [--acquire-policy-token]
[--change-reference]
[--detect {false, true}]
[--org --organization]
[--pipeline-ids]
[--repository-id]
[--repository-mapping]
[--service-connection-id]
Examples
Submit pipelines with service connection and repository mappings.
az devops migrations pipelines submit --org https://dev.azure.com/myorg --repository-id 00000000-0000-0000-0000-000000000000 --pipeline-ids 42 43 44 --service-connection-id 11111111-1111-1111-1111-111111111111 --repository-mapping aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa=myorg/shared-templates
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Automatically detect organization.
| Property | Value |
|---|---|
| Accepted values: | false, true |
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
Pipeline definition IDs. Accepts space-separated values (for example, 42 43 44) or comma-separated values (for example, 42,43,44).
ID of the Azure Repos repository (GUID).
Repository mapping in the format <sourceRepoId>=<targetOwner>/<targetRepo>. Can be provided multiple times.
Project-scoped GitHub service connection ID (GUID). Optional if a connection was already attached via migrations create --pipeline-service-connection-id or pipelines update --service-connection-id.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az devops migrations pipelines update
Command group 'devops migrations pipelines' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Bulk update pipeline rewiring configuration. (Preview).
az devops migrations pipelines update [--acquire-policy-token]
[--add-ids]
[--change-reference]
[--detect {false, true}]
[--org --organization]
[--remove-ids]
[--repository-id]
[--repository-mapping]
[--retry-ids]
[--service-connection-id]
Examples
Add, remove, and update service connection.
az devops migrations pipelines update --org https://dev.azure.com/myorg --repository-id 00000000-0000-0000-0000-000000000000 --add-ids 50 51 --remove-ids 42 --service-connection-id 22222222-2222-2222-2222-222222222222
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Pipeline IDs to add. Accepts space-separated or comma-separated values.
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Automatically detect organization.
| Property | Value |
|---|---|
| Accepted values: | false, true |
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/.
Pipeline IDs to remove. Accepts space-separated or comma-separated values.
ID of the Azure Repos repository (GUID).
Repository mapping in the format <sourceRepoId>=<targetOwner>/<targetRepo>. Can be provided multiple times.
Failed pipeline IDs to retry. Accepts space-separated or comma-separated values.
Project-scoped GitHub service connection ID (GUID).
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |