az acr export-pipeline

Note

This reference is part of the acrtransfer extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az acr export-pipeline command. Learn more about extensions.

Manage ACR export pipelines.

Commands

az acr export-pipeline create

Create an export pipeline.

az acr export-pipeline delete

Delete an export pipeline.

az acr export-pipeline list

List export pipelines on a Container Registry.

az acr export-pipeline show

Show an export pipeline in detail.

az acr export-pipeline create

Create an export pipeline.

az acr export-pipeline create --name
                              --registry
                              --resource-group
                              --secret-uri
                              --storage-container-uri
                              [--assign-identity]
                              [--options]

Examples

Create an export pipeline.

az acr export-pipeline create --resource-group $MyRG --registry $MyReg --name $MyPipeline --secret-uri https://$MyKV.vault.azure.net/secrets/$MySecret --storage-container-uri https://$MyStorage.blob.core.windows.net/$MyContainer

Create an export pipeline with a user-assigned identity and all available options.

az acr export-pipeline create --resource-group $MyRG --registry $MyReg --name $MyPipeline --secret-uri https://$MyKV.vault.azure.net/secrets/$MySecret --storage-container-uri https://$MyStorage.blob.core.windows.net/$MyContainer --options OverwriteBlobs ContinueOnErrors --assign-identity /subscriptions/$MySubID/resourceGroups/$MyRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$MyIdentity

Required Parameters

--name -n

Name of the export pipeline.

--registry -r

Name of registry.

--resource-group -g

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

--secret-uri -s

Keyvault secret URI containing a valid SAS token to the associated storage account of the form https://$MyKeyvault.vault.azure.net/secrets/$MySecret. Note that the URI may be different outside of AzureCloud.

--storage-container-uri -c

Storage account container URI of the source or target storage account container of the form https://$MyStorageAccount.blob.core.windows.net/$MyContainer. Note that the URI may be different outside of AzureCloud.

Optional Parameters

--assign-identity -i

User assigned identity resource ID of the form /subscriptions/$MySubID/resourceGroups/$MyRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$MyIdentity.

--options -z

Space-separated list of options. May only container the following options: OverwriteBlobs,ContinueOnErrors.

az acr export-pipeline delete

Delete an export pipeline.

az acr export-pipeline delete --name
                              --registry
                              --resource-group

Examples

Delete an export pipeline.

az acr export-pipeline delete --resource-group $MyRG --registry $MyReg --name $MyPipeline

Required Parameters

--name -n

Name of the export pipeline.

--registry -r

Name of registry.

--resource-group -g

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

az acr export-pipeline list

List export pipelines on a Container Registry.

az acr export-pipeline list --registry
                            --resource-group

Examples

List export pipelines on a container registry

az acr export-pipeline list --resource-group $MyRG --registry $MyReg

Required Parameters

--registry -r

Name of registry.

--resource-group -g

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

az acr export-pipeline show

Show an export pipeline in detail.

az acr export-pipeline show --name
                            --registry
                            --resource-group

Examples

Show a specific export pipeline in detail.

az acr export-pipeline show --resource-group $MyRG --registry $MyReg --name $MyPipeline

Required Parameters

--name -n

Name of the export pipeline.

--registry -r

Name of registry.

--resource-group -g

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