---
type: resource-type
title: ContainerRegistry
description: azure resource type Microsoft.ContainerRegistry/registries
name: ContainerRegistry
lexicon: azure
resource_type: Microsoft.ContainerRegistry/registries
---
`Microsoft.ContainerRegistry/registries`, a resource type of the azure lexicon.

## Properties

- `name` (`string`, required): The name of the container registry.
- `properties` (`ContainerRegistry_RegistryProperties`, required): The properties of the container registry.
- `identity` (`ContainerRegistry_IdentityProperties`, optional): The identity of the container registry.
- `location` (`string`, optional): The geo-location where the resource lives
- `resources` (`any[]`, optional)
- `sku` (`ContainerRegistry_Sku`, optional): The SKU of the container registry.
- `tags` (`Record<string, unknown>`, optional): Resource tags.

## Attributes

- `id`
- `loginServer`
- `provisioningState`

## Governed by

- [AZR027](/rules/AZR027.md): Container Registry admin user enabled — disable admin and use Azure AD or service principals
