# IAzureComputeEnvironmentResource Properties

- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Type: [IAzureComputeEnvironmentResource](/reference/api/csharp/aspire.hosting.azure/iazurecomputeenvironmentresource.md)
- Kind: `Properties`
- Members: `1`

Represents an Azure compute environment resource.

## ContainerRegistry

- Name: `ContainerRegistry`
- Modifiers: `virtual` `nullable` `get`
- Returns: [IAzureContainerRegistryResource?](/reference/api/csharp/aspire.hosting.azure/iazurecontainerregistryresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/IAzureComputeEnvironmentResource.cs#L16)

Gets the Azure Container Registry resource used by this compute environment.

```csharp
public virtual IAzureContainerRegistryResource? ContainerRegistry { get; }
```
