Κοινή χρήση μέσω


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.

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

Commands

Name Description Type Status
az spring container-registry create

Create a container registry.

Extension GA
az spring container-registry delete

Delete a container registry.

Extension GA
az spring container-registry list

List all container registries.

Extension GA
az spring container-registry show

Show a container registry.

Extension GA
az spring container-registry update

Update a container registry.

Extension GA

az spring container-registry create

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

Optional Parameters

--name -n

The container registry name.

--no-wait

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

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.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az spring container-registry delete

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

Optional Parameters

--no-wait

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

Default value: False
--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az spring container-registry list

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az spring container-registry show

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

Optional Parameters

--name -n

The container registry name.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az spring container-registry update

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

Optional Parameters

--name -n

The container registry name.

--no-wait

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

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.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.