Skip to content
Docs Try Aspire
Docs Try

ProjectResource.withReplicas

Method
📦 Aspire.Hosting v13.4.0
interface ProjectResource {
// ... omitted for brevity
withReplicas(replicas: number): ProjectResource;
}

Signature

method withReplicas builder
Configures how many replicas of the project should be created for the project.
withReplicas(replicas: number): ProjectResource
replicas number
ProjectResource

Defined on

This method is defined on the following type: