PartitionInstanceCountScaleMechanism Class

Definition

Represents a scaling mechanism for adding or removing instances of stateless service partition. When this mechanism is used this will affect all partitions of a service and do independent scaling of each of them. Should be used with AveragePartitionLoadScalingTrigger.

public class PartitionInstanceCountScaleMechanism : System.Fabric.Description.ScalingMechanismDescription
type PartitionInstanceCountScaleMechanism = class
    inherit ScalingMechanismDescription
Public Class PartitionInstanceCountScaleMechanism
Inherits ScalingMechanismDescription
Inheritance
PartitionInstanceCountScaleMechanism

Constructors

PartitionInstanceCountScaleMechanism()

Initializes a new instance of the PartitionInstanceCountScaleMechanism class of a particular kind.

Properties

Kind

Gets the kind of the scaling mechanism.

(Inherited from ScalingMechanismDescription)
MaxInstanceCount

Gets or sets the maximum number of instances which the service should have according to this scaling policy.

MinInstanceCount

Gets or sets the minimum number of instances which the service should have according to this scaling policy.

ScaleIncrement

Gets or sets the amount of instances that should be added/removed when scaling is performed.

Methods

ToString()

Returns a string representation of the PartitionInstanceCountScaleMechanism.

Applies to