Skip to content
DocsTry Aspire
DocsTry

ReplicaAnnotation Constructors

ClassConstructors1 member
Represents an annotation that specifies the number of replicas for a resource.
Represents an annotation that specifies the number of replicas for a resource.
public sealed class ReplicaAnnotation
{
public ReplicaAnnotation(
int replicas = 1)
{
// ...
}
}
replicasintoptionalThe number of replicas for the resource.