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
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
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
The container registry name.
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
The container registry password.
The container registry sever.
The container registry username.
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 spring container-registry delete
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
The container registry name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
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 spring container-registry list
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
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<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 spring container-registry show
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
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
The container registry 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 spring container-registry update
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
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
The container registry name.
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
The container registry password.
The container registry sever.
The container registry username.
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 |