# IAzureComputeEnvironmentResource

- Kind: `interface`
- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting.Azure/IAzureComputeEnvironmentResource.cs)
- Implements: `IComputeEnvironmentResource`, `IResource`

Represents an Azure compute environment resource.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public interface IAzureComputeEnvironmentResource
    : Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource,
      Aspire.Hosting.ApplicationModel.IResource
{
    // ...
}
```

## Properties

- [ContainerRegistry](/reference/api/csharp/aspire.hosting.azure/iazurecomputeenvironmentresource/properties.md#containerregistry) : [IAzureContainerRegistryResource?](/reference/api/csharp/aspire.hosting.azure/iazurecontainerregistryresource.md) `virtual` `get` -- Gets the Azure Container Registry resource used by this compute environment.
