# 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/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ReplicaAnnotation.cs#L18)

Gets the number of replicas for the application.

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