az acr connected-registry install

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

Commands

az acr connected-registry install info

Retrieve information required to activate a connected registry.

az acr connected-registry install renew-credentials

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

az acr connected-registry install info

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

az acr connected-registry install renew-credentials

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.