az acr taskrun

Manage taskruns using Azure Container Registries.

Commands

az acr taskrun delete

Delete a taskrun from an Azure Container Registry.

az acr taskrun list

List the taskruns for an Azure Container Registry.

az acr taskrun logs

Show run logs for a particular taskrun.

az acr taskrun show

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

az acr taskrun delete

Delete a taskrun from an Azure Container Registry.

az acr taskrun delete --name
                      --registry
                      [--resource-group]
                      [--subscription]
                      [--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. 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>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--yes -y

Do not prompt for confirmation.

az acr taskrun list

List the taskruns for an Azure Container Registry.

az acr taskrun list --registry
                    [--query-examples]
                    [--resource-group]
                    [--subscription]

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. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az acr taskrun logs

Show run logs for a particular taskrun.

az acr taskrun logs --name
                    --registry
                    [--resource-group]
                    [--subscription]

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az acr taskrun show

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

az acr taskrun show --name
                    --registry
                    [--query-examples]
                    [--resource-group]
                    [--subscription]

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. You can configure the default registry name using az configure --defaults acr=<registry name>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.