Udostępnij za pośrednictwem


NamedPartitionAddOrRemoveScalingMechanism Class

Definition

Represents a scaling mechanism for adding or removing named partitions of a stateless service. Partition names are in the format '0','1'...'N-1'.

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

Constructors

NamedPartitionAddOrRemoveScalingMechanism(Int32, Int32, Int32)

Initializes a new instance of NamedPartitionAddOrRemoveScalingMechanism.

Properties

MaxPartitionCount

Maximum number of named partitions of the service.

MinPartitionCount

Minimum number of named partitions of the service.

ScaleIncrement

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ManagedServiceScalingMechanism)

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<NamedPartitionAddOrRemoveScalingMechanism>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NamedPartitionAddOrRemoveScalingMechanism>.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<NamedPartitionAddOrRemoveScalingMechanism>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NamedPartitionAddOrRemoveScalingMechanism>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NamedPartitionAddOrRemoveScalingMechanism>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to