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
Examples
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
--add-gatewaygateway permissions to be added.--add-repositoryrepository permissions to be added.--remove-gatewaygateway permissions to be removed.--remove-repositoryrepository permissions to be removed.