Skip to content
Docs Try Aspire

ReplicaAnnotation Constructors

Class Constructors 1 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)
{
// ...
}
}
replicas int optional The number of replicas for the resource.