Microsoft.ContainerRegistry registries/scopeMaps template reference

Template format

To create a Microsoft.ContainerRegistry/registries/scopeMaps resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
  "apiVersion": "2019-05-01-preview",
  "properties": {
    "description": "string",
    "actions": [
      "string"
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ContainerRegistry/registries/scopeMaps object

Name Type Required Value
name string Yes The name of the scope map.
type enum Yes scopeMaps
-or-
Microsoft.ContainerRegistry/registries/scopeMaps

See Set name and type for child resources.
apiVersion enum Yes 2019-05-01-preview
properties object Yes The properties of the scope map. - ScopeMapProperties object

ScopeMapProperties object

Name Type Required Value
description string No The user friendly description of the scope map.
actions array Yes The list of scoped permissions for registry artifacts. E.g. repositories/repository-name/content/read, repositories/repository-name/metadata/write - string