共用方式為


ReplicaAnnotation(Int32) Constructor

Definition

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

public ReplicaAnnotation (int replicas = 1);
new Aspire.Hosting.ApplicationModel.ReplicaAnnotation : int -> Aspire.Hosting.ApplicationModel.ReplicaAnnotation
Public Sub New (Optional replicas As Integer = 1)

Parameters

replicas
Int32

The number of replicas for the resource.

Applies to