שתף באמצעות


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.

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage ACR export pipelines.

Commands

Name Description Type Status
az acr export-pipeline create

Create an export pipeline.

Extension Preview
az acr export-pipeline delete

Delete an export pipeline.

Extension Preview
az acr export-pipeline list

List export pipelines on a Container Registry.

Extension Preview
az acr export-pipeline show

Show an export pipeline in detail.

Extension Preview

az acr export-pipeline create

Preview

Command group 'acr export-pipeline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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.

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 acr export-pipeline delete

Preview

Command group 'acr export-pipeline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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>.

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 acr export-pipeline list

Preview

Command group 'acr export-pipeline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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>.

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 acr export-pipeline show

Preview

Command group 'acr export-pipeline' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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>.

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.