Microsoft.ContainerRegistry registries/scopeMaps 2022-12-01

Bicep resource definition

The registries/scopeMaps resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ContainerRegistry/registries/scopeMaps resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.ContainerRegistry/registries/scopeMaps@2022-12-01' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    actions: [
      'string'
    ]
    description: 'string'
  }
}

Property values

registries/scopeMaps

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)

Character limit: 5-50

Valid characters:
Alphanumerics, hyphens, and underscores.
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: registries
properties The properties of the scope map. ScopeMapProperties

ScopeMapProperties

Name Description Value
actions The list of scoped permissions for registry artifacts.
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
string[] (required)
description The user friendly description of the scope map. string

ARM template resource definition

The registries/scopeMaps resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

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

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

Property values

registries/scopeMaps

Name Description Value
type The resource type 'Microsoft.ContainerRegistry/registries/scopeMaps'
apiVersion The resource api version '2022-12-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)

Character limit: 5-50

Valid characters:
Alphanumerics, hyphens, and underscores.
properties The properties of the scope map. ScopeMapProperties

ScopeMapProperties

Name Description Value
actions The list of scoped permissions for registry artifacts.
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
string[] (required)
description The user friendly description of the scope map. string

Terraform (AzAPI provider) resource definition

The registries/scopeMaps resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ContainerRegistry/registries/scopeMaps resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ContainerRegistry/registries/scopeMaps@2022-12-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      actions = [
        "string"
      ]
      description = "string"
    }
  })
}

Property values

registries/scopeMaps

Name Description Value
type The resource type "Microsoft.ContainerRegistry/registries/scopeMaps@2022-12-01"
name The resource name string (required)

Character limit: 5-50

Valid characters:
Alphanumerics, hyphens, and underscores.
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: registries
properties The properties of the scope map. ScopeMapProperties

ScopeMapProperties

Name Description Value
actions The list of scoped permissions for registry artifacts.
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
string[] (required)
description The user friendly description of the scope map. string