다음을 통해 공유


Scale Constructors

Definition

Overloads

Scale()

Initializes a new instance of the Scale class.

Scale(Nullable<Int32>, Nullable<Int32>, IList<ScaleRule>)

Initializes a new instance of the Scale class.

Scale()

Initializes a new instance of the Scale class.

public Scale ();
Public Sub New ()

Applies to

Scale(Nullable<Int32>, Nullable<Int32>, IList<ScaleRule>)

Initializes a new instance of the Scale class.

public Scale (int? minReplicas = default, int? maxReplicas = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.ScaleRule> rules = default);
new Microsoft.Azure.Management.WebSites.Models.Scale : Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.ScaleRule> -> Microsoft.Azure.Management.WebSites.Models.Scale
Public Sub New (Optional minReplicas As Nullable(Of Integer) = Nothing, Optional maxReplicas As Nullable(Of Integer) = Nothing, Optional rules As IList(Of ScaleRule) = Nothing)

Parameters

minReplicas
Nullable<Int32>

Optional. Minimum number of container replicas.

maxReplicas
Nullable<Int32>

Optional. Maximum number of container replicas. Defaults to 10 if not set.

rules
IList<ScaleRule>

Scaling rules.

Applies to