Share via


az acr connected-registry install

Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command group has been deprecated and will be removed in a future release. Use 'acr connected-registry get-settings' instead.

Help to access the necessary information for installing a connected registry. Please see https://aka.ms/acr/connected-registry for more information.

Commands

Name Description Type Status
az acr connected-registry install info

Retrieve information required to activate a connected registry.

Core Preview and Deprecated
az acr connected-registry install renew-credentials

Retrieve information required to activate a connected registry, and renews the sync token credentials.

Core Preview and Deprecated

az acr connected-registry install info

Preview Deprecated

Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'acr connected-registry install' is deprecated and will be removed in a future release. Use 'acr connected-registry get-settings' instead.

Retrieve information required to activate a connected registry.

az acr connected-registry install info --name
                                       --parent-protocol {http, https}
                                       --registry
                                       [--resource-group]

Examples

Set http as the parent protocol, and prints the values required to activate a connected registry in json format

az acr connected-registry install info --registry mycloudregistry --name myconnectedregistry --parent-protocol http

Required Parameters

--name -n

Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.

--parent-protocol

Specify the protocol used to communicate with its parent.

Accepted values: http, https
--registry -r

The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.

Optional Parameters

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

--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 acr connected-registry install renew-credentials

Preview Deprecated

Command group 'acr connected-registry' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

This command is implicitly deprecated because command group 'acr connected-registry install' is deprecated and will be removed in a future release. Use 'acr connected-registry get-settings' instead.

Retrieve information required to activate a connected registry, and renews the sync token credentials.

az acr connected-registry install renew-credentials --name
                                                    --parent-protocol {http, https}
                                                    --registry
                                                    [--resource-group]
                                                    [--yes]

Examples

Set http as the parent protocol, and prints the values in json format required to activate a connected registry and the newly generated sync token credentials.

az acr connected-registry install renew-credentials -r mycloudregistry -n myconnectedregistry --parent-protocol http

Required Parameters

--name -n

Name for the connected registry. Name must be between 5 to 40 character long, start with a letter and contain only alphanumeric characters (including ‘_’ or ‘-’). Name must be unique under the Cloud ACR hierarchy.

--parent-protocol

Specify the protocol used to communicate with its parent.

Accepted values: http, https
--registry -r

The login server of the Cloud ACR registry. Must be the FQDN to support also Azure Stack.

Optional Parameters

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

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.