az apr repository release

Note

This reference is part of the apr extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az apr repository release command. Learn more about extensions.

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

Manage the apt releases (dists) of a repository.

Commands

Name Description Type Status
az apr repository release component

Manage the components of an apt release.

Extension Preview
az apr repository release component create

Create a release component.

Extension Preview
az apr repository release component delete

Delete a release component.

Extension Preview
az apr repository release component list

List the components of a release.

Extension Preview
az apr repository release create

Create a release.

Extension Preview
az apr repository release delete

Delete a release.

Extension Preview
az apr repository release list

List releases.

Extension Preview

az apr repository release create

Preview

Command group 'apr repository release' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create a release.

az apr repository release create --name
                                 --registry
                                 --repository
                                 [--acquire-policy-token]
                                 [--architectures]
                                 [--change-reference]
                                 [--codename]
                                 [--components]
                                 [--no-wait]
                                 [--resource-group]
                                 [--suite]

Examples

Create a release with default components and architectures.

az apr repository release create -g myrg -r myregistry --repository myrepo         -n jammy

Create a release with explicit components and architectures.

az apr repository release create -g myrg -r myregistry --repository myrepo         -n jammy --suite stable --components main,contrib --architectures amd64,arm64

Required Parameters

--name -n

Name to distribute the release under (the apt distribution/dist name).

--registry -r

Name of the parent APR registry.

--repository

Name or ID of the parent repository.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--architectures

Comma-separated list of architectures. Defaults to 'amd64,arm64,armhf'.

--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--codename

Release codename. Defaults to the release name.

--components

Comma-separated list of components. Defaults to 'main'.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--resource-group -g

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

--suite

Release suite (e.g. stable). Defaults to the release name.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az apr repository release delete

Preview

Command group 'apr repository release' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete a release.

az apr repository release delete --name
                                 --registry
                                 --repository
                                 [--acquire-policy-token]
                                 [--change-reference]
                                 [--no-wait]
                                 [--resource-group]
                                 [--yes]

Examples

Delete a release by name.

az apr repository release delete -g myrg -r myregistry --repository myrepo -n jammy

Required Parameters

--name -n

Name or ID of the release.

--registry -r

Name of the parent APR registry.

--repository

Name or ID of the parent repository.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--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.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az apr repository release list

Preview

Command group 'apr repository release' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List releases.

az apr repository release list --registry
                               --repository
                               [--limit]
                               [--name]
                               [--resource-group]

Examples

List all releases in a repository.

az apr repository release list -g myrg -r myregistry --repository myrepo

Required Parameters

--registry -r

Name of the parent APR registry.

--repository

Name or ID of the parent repository.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--limit

Max number of releases to return. Omit to return all.

--name -n

Filter to releases with this name.

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

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False