# ReplicaAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ReplicaAnnotation](/reference/api/csharp/aspire.hosting/replicaannotation.md)
- Kind: `Properties`
- Members: `1`

Represents an annotation that specifies the number of replicas for a resource.

## Replicas

- Name: `Replicas`
- Modifiers: `get`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ApplicationModel/ReplicaAnnotation.cs#L18)

Gets the number of replicas for the application.

```csharp
public int Replicas { get; }
```
