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

Preview

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

Name of the release component (e.g. main, contrib).

--registry -r

Name of the parent APR registry.

--release

Name or ID of the release the component belongs to.

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

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 component delete

Preview

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

Name of the release component (e.g. main, contrib).

--registry -r

Name of the parent APR registry.

--release

Name or ID of the release the component belongs to.

--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 component list

Preview

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

--registry -r

Name of the parent APR registry.

--release

Name or ID of the release the component belongs to.

--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 components to return. Omit to return all.

--name -n

Name of the release component (e.g. main, contrib).

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