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
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 to distribute the release under (the apt distribution/dist name).
Name of the parent APR registry.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Comma-separated list of architectures. Defaults to 'amd64,arm64,armhf'.
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Release codename. Defaults to the release name.
Comma-separated list of components. Defaults to 'main'.
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Release suite (e.g. stable). Defaults to the release name.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az apr repository release delete
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 or ID of the release.
Name of the parent APR registry.
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.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az apr repository release list
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
Name of the parent APR registry.
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.
Max number of releases to return. Omit to return all.
Filter to releases with this name.
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.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |