az apr repository release component
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 component command. Learn more about extensions.
Command group 'apr repository release' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage the components of an apt release.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| 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 component create
Command group 'apr repository release component' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a release component.
az apr repository release component create --name
--registry
--release
--repository
[--acquire-policy-token]
[--change-reference]
[--no-wait]
[--resource-group]
Examples
Add a component to an existing release.
az apr repository release component create -g myrg -r myregistry --repository myrepo --release jammy -n contrib
Required Parameters
Name of the release component (e.g. main, contrib).
Name of the parent APR registry.
Name or ID of the release the component belongs to.
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>.
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 component delete
Command group 'apr repository release component' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a release component.
az apr repository release component delete --name
--registry
--release
--repository
[--acquire-policy-token]
[--change-reference]
[--no-wait]
[--resource-group]
[--yes]
Examples
Delete a component from a release by name.
az apr repository release component delete -g myrg -r myregistry --repository myrepo --release jammy -n contrib
Required Parameters
Name of the release component (e.g. main, contrib).
Name of the parent APR registry.
Name or ID of the release the component belongs to.
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 component list
Command group 'apr repository release component' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List the components of a release.
az apr repository release component list --registry
--release
--repository
[--limit]
[--name]
[--resource-group]
Examples
List the components of a release.
az apr repository release component list -g myrg -r myregistry --repository myrepo --release jammy
Required Parameters
Name of the parent APR registry.
Name or ID of the release the component belongs to.
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 components to return. Omit to return all.
Name of the release component (e.g. main, contrib).
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 |