Share via


az spring container-registry

Note

This reference is part of the spring extension for the Azure CLI (version 2.56.0 or higher). The extension will automatically install the first time you run an az spring container-registry command. Learn more about extensions.

This command group is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

(Enterprise Tier Only) Commands to manage Container Registry Resource.

Commands

Name Description Type Status
az spring container-registry create

Create a container registry.

Extension Deprecated
az spring container-registry delete

Delete a container registry.

Extension Deprecated
az spring container-registry list

List all container registries.

Extension Deprecated
az spring container-registry show

Show a container registry.

Extension Deprecated
az spring container-registry update

Update a container registry.

Extension Deprecated

az spring container-registry create

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Create a container registry.

az spring container-registry create --resource-group
                                    --service
                                    [--name]
                                    [--no-wait]
                                    [--password]
                                    [--server]
                                    [--username]

Examples

Create a container registry.

az spring container-registry create --name my-acr --server test.azurecr.io --username test --password xxx --service clitest --resource-group cli

Required Parameters

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

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

The container registry name.

--no-wait

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

Property Value
Default value: False
--password

The container registry password.

--server

The container registry sever.

--username

The container registry username.

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 spring container-registry delete

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Delete a container registry.

az spring container-registry delete --name
                                    --resource-group
                                    --service
                                    [--no-wait]
                                    [--yes]

Examples

Delete a container registry.

az spring container-registry delete --name my-acr --service clitest --resource-group cli

Required Parameters

--name -n

The container registry name.

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

Optional Parameters

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

--no-wait

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

Property Value
Default value: False
--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 spring container-registry list

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

List all container registries.

az spring container-registry list --resource-group
                                  --service

Examples

List all container registries.

az spring container-registry list --service clitest --resource-group cli

Required Parameters

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<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 spring container-registry show

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Show a container registry.

az spring container-registry show --resource-group
                                  --service
                                  [--name]

Examples

Show a container registry.

az spring container-registry show --name my-acr --service clitest --resource-group cli

Required Parameters

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

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

The container registry 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 spring container-registry update

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a container registry.

az spring container-registry update --resource-group
                                    --service
                                    [--name]
                                    [--no-wait]
                                    [--password]
                                    [--server]
                                    [--username]

Examples

Update a container registry.

az spring container-registry update --name my-acr --server test.azurecr.io --username test --password xxx --service clitest --resource-group cli

Required Parameters

--resource-group -g

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

--service -s

The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.

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

The container registry name.

--no-wait

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

Property Value
Default value: False
--password

The container registry password.

--server

The container registry sever.

--username

The container registry username.

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