Share via


az acr taskrun

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

Manage taskruns using Azure Container Registries.

Commands

Name Description Type Status
az acr taskrun delete

Delete a taskrun from an Azure Container Registry.

Core Preview
az acr taskrun list

List the taskruns for an Azure Container Registry.

Core Preview
az acr taskrun logs

Show run logs for a particular taskrun.

Core Preview
az acr taskrun show

Get the properties of a named taskrun for an Azure Container Registry.

Core Preview

az acr taskrun delete

Preview

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

Delete a taskrun from an Azure Container Registry.

az acr taskrun delete --name
                      --registry
                      [--resource-group]
                      [--yes]

Examples

Delete a taskrun from an Azure Container Registry.

az acr taskrun delete -r myregistry -n MyTaskRun -g MyResourceGroup

Required Parameters

--name -n

The name of the taskrun.

--registry -r

The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--resource-group -g

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

--yes -y

Do not prompt for confirmation.

Default value: False
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 taskrun list

Preview

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

List the taskruns for an Azure Container Registry.

az acr taskrun list --registry
                    [--resource-group]

Examples

List taskruns and show the results in a table.

az acr taskrun list -r myregistry -g MyResourceGroup -o table

Required Parameters

--registry -r

The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--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 taskrun logs

Preview

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

Show run logs for a particular taskrun.

az acr taskrun logs --name
                    --registry
                    [--no-format]
                    [--resource-group]

Examples

Show run logs for a particular taskrun.

az acr taskrun logs -r myregistry -n MyTaskRun

Required Parameters

--name -n

The name of the taskrun.

--registry -r

The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--no-format

Indicates whether the logs should be displayed in raw format.

Default value: False
--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 taskrun show

Preview

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

Get the properties of a named taskrun for an Azure Container Registry.

az acr taskrun show --name
                    --registry
                    [--resource-group]

Examples

Get the properties of a taskrun, displaying the results in a table.

az acr taskrun show -r myregistry -n MyTaskRun -o table

Required Parameters

--name -n

The name of the taskrun.

--registry -r

The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

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