PartitionInstanceCountScalingMechanism Class

Definition

Represents a scaling mechanism for adding or removing instances of stateless service partition.

public class PartitionInstanceCountScalingMechanism : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingMechanism
public class PartitionInstanceCountScalingMechanism : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingMechanism, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.PartitionInstanceCountScalingMechanism>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.PartitionInstanceCountScalingMechanism>
type PartitionInstanceCountScalingMechanism = class
    inherit ManagedServiceScalingMechanism
type PartitionInstanceCountScalingMechanism = class
    inherit ManagedServiceScalingMechanism
    interface IJsonModel<PartitionInstanceCountScalingMechanism>
    interface IPersistableModel<PartitionInstanceCountScalingMechanism>
Public Class PartitionInstanceCountScalingMechanism
Inherits ManagedServiceScalingMechanism
Public Class PartitionInstanceCountScalingMechanism
Inherits ManagedServiceScalingMechanism
Implements IJsonModel(Of PartitionInstanceCountScalingMechanism), IPersistableModel(Of PartitionInstanceCountScalingMechanism)
Inheritance
PartitionInstanceCountScalingMechanism
Implements

Constructors

PartitionInstanceCountScalingMechanism(Int32, Int32, Int32)

Initializes a new instance of PartitionInstanceCountScalingMechanism.

Properties

MaxInstanceCount

Maximum number of instances of the partition.

MinInstanceCount

Minimum number of instances of the partition.

ScaleIncrement

The number of instances to add or remove during a scaling operation.

Explicit Interface Implementations

IJsonModel<ManagedServiceScalingMechanism>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ManagedServiceScalingMechanism)
IJsonModel<ManagedServiceScalingMechanism>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ManagedServiceScalingMechanism)
IJsonModel<PartitionInstanceCountScalingMechanism>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PartitionInstanceCountScalingMechanism>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedServiceScalingMechanism>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ManagedServiceScalingMechanism)
IPersistableModel<ManagedServiceScalingMechanism>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ManagedServiceScalingMechanism)
IPersistableModel<ManagedServiceScalingMechanism>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ManagedServiceScalingMechanism)
IPersistableModel<PartitionInstanceCountScalingMechanism>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartitionInstanceCountScalingMechanism>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PartitionInstanceCountScalingMechanism>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to