# DeploymentPrerequisitesAnnotation

- Kind: `class`
- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/DeploymentPrerequisitesAnnotation.cs)
- Implements: `IResourceAnnotation`

An annotation that tracks Azure resources (such as role assignments and private endpoints) that must be provisioned before a compute resource can be deployed.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public sealed class DeploymentPrerequisitesAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Constructors

- [DeploymentPrerequisitesAnnotation(IReadOnlySet<AzureBicepResource>)](/reference/api/csharp/aspire.hosting.azure/deploymentprerequisitesannotation/constructors.md#constructor-ireadonlyset-azurebicepresource) -- An annotation that tracks Azure resources (such as role assignments and private endpoints) that must be provisioned before a compute resource can be deployed.

## Properties

- [Resources](/reference/api/csharp/aspire.hosting.azure/deploymentprerequisitesannotation/properties.md#resources) : [IReadOnlySet<AzureBicepResource>](/reference/api/csharp/aspire.hosting.azure/azurebicepresource.md) `get` -- Gets the Azure resources that must be provisioned before the annotated resource is deployed.
