az apr publication
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 publication command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
View and delete publications.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az apr publication delete |
Delete a publication. |
Extension | Preview |
| az apr publication list |
List publications. |
Extension | Preview |
| az apr publication show |
Show details for a publication. |
Extension | Preview |
az apr publication delete
Command group 'apr publication' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a publication.
az apr publication delete --id
--registry
[--acquire-policy-token]
[--change-reference]
[--no-wait]
[--resource-group]
[--yes]
Examples
Delete a publication by id.
az apr publication delete -g myrg -r myregistry --id mypublicationid
Required Parameters
Publication id.
Name of the parent APR registry.
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 publication list
Command group 'apr publication' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List publications.
az apr publication list --registry
[--limit]
[--repository]
[--resource-group]
Examples
List all publications in a registry.
az apr publication list -g myrg -r myregistry
List publications for a given repository.
az apr publication list -g myrg -r myregistry --repository myrepo
Required Parameters
Name of the parent APR registry.
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 publications to return. Omit to return all.
Filter publications by repository (Name or ID).
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 |
az apr publication show
Command group 'apr publication' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show details for a publication.
az apr publication show --id
--registry
[--resource-group]
Examples
Show a publication by id.
az apr publication show -g myrg -r myregistry --id mypublicationid
Required Parameters
Publication id.
Name of the parent APR registry.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 |