CmdID

CmdID / az / az acr / az acr scope-map

az acr scope-map update

Update a scope map for an Azure Container Registry. Azure CLI reference

1 example 4 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Update the scope map 'MyScopeMap' removing metadata/read and content/read actions for `hello-world` repository, and message/write action for `connectedRegistry`.

az acr scope-map update -n MyScopeMap -r myregistry --remove-repo hello-world metadata/read content/read --remove-gateway connectedRegistry message/writeIdentify
-nThe name of the scope map.
-rName of registry.
--remove-gatewaygateway permissions to be removed.

Options

4 in the Azure CLI reference
--add-gatewaygateway permissions to be added.
--add-repositoryrepository permissions to be added.
--remove-gatewaygateway permissions to be removed.
--remove-repositoryrepository permissions to be removed.