# DeploymentPrerequisitesAnnotation Constructors

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

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

## DeploymentPrerequisitesAnnotation(IReadOnlySet<AzureBicepResource>)

- Name: `Constructor(IReadOnlySet<AzureBicepResource>)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/DeploymentPrerequisitesAnnotation.cs#L13-L18)

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

```csharp
public sealed class DeploymentPrerequisitesAnnotation
{
    public DeploymentPrerequisitesAnnotation(
        IReadOnlySet<AzureBicepResource> resources)
    {
        // ...
    }
}
```

## Parameters

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