az acr import-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 import-pipeline command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage ACR import pipelines.
Commands
Name | Description | Type | Status |
---|---|---|---|
az acr import-pipeline create |
Create an import pipeline. |
Extension | Preview |
az acr import-pipeline delete |
Delete an import pipeline. |
Extension | Preview |
az acr import-pipeline list |
List import pipelines on a Container Registry. |
Extension | Preview |
az acr import-pipeline show |
Show an import pipeline in detail. |
Extension | Preview |
az acr import-pipeline create
Command group 'acr import-pipeline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create an import pipeline.
az acr import-pipeline create --name
--registry
--resource-group
--secret-uri
--storage-container-uri
[--assign-identity]
[--options]
[--source-trigger-enabled {false, true}]
Examples
Create an import pipeline.
az acr import-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 import pipeline with a user-assigned identity, all available options, and source trigger disabled.
az acr import-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 DeleteSourceBlobOnSuccess OverwriteTags ContinueOnErrors --assign-identity /subscriptions/$MySubID/resourceGroups/$MyRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$MyIdentity --source-trigger-enabled False
Required Parameters
Name of the import pipeline.
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 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
User assigned identity resource ID of the form /subscriptions/$MySubID/resourceGroups/$MyRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$MyIdentity.
Space-separated list of options. May only contain the following options: DeleteSourceBlobOnSuccess,OverwriteTags,ContinueOnErrors,DisableSourceTrigger.
Boolean parameter that determines whether source trigger is enabled on the pipeline. Must be either True or False. True by default.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az acr import-pipeline delete
Command group 'acr import-pipeline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete an import pipeline.
az acr import-pipeline delete --name
--registry
--resource-group
Examples
Delete an import pipeline.
az acr import-pipeline delete --resource-group $MyRG --registry $MyReg --name $MyPipeline
Required Parameters
Name of the import pipeline.
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az acr import-pipeline list
Command group 'acr import-pipeline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List import pipelines on a Container Registry.
az acr import-pipeline list --registry
--resource-group
Examples
List import pipelines on a container registry
az acr import-pipeline list --resource-group $MyRG --registry $MyReg
Required Parameters
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az acr import-pipeline show
Command group 'acr import-pipeline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show an import pipeline in detail.
az acr import-pipeline show --name
--registry
--resource-group
Examples
Show a specific import pipeline in detail.
az acr import-pipeline show --resource-group $MyRG --registry $MyReg --name $MyPipeline
Required Parameters
Name of the import pipeline.
Name of registry.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.