Udostępnij za pośrednictwem


ManagedServicePartitionScheme Class

Definition

Describes how the service is partitioned. Please note ManagedServicePartitionScheme is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include NamedPartitionScheme, SingletonPartitionScheme and UniformInt64RangePartitionScheme.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabricManagedClusters.Models.UnknownPartition))]
public abstract class ManagedServicePartitionScheme : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabricManagedClusters.Models.UnknownPartition))>]
type ManagedServicePartitionScheme = class
    interface IJsonModel<ManagedServicePartitionScheme>
    interface IPersistableModel<ManagedServicePartitionScheme>
Public MustInherit Class ManagedServicePartitionScheme
Implements IJsonModel(Of ManagedServicePartitionScheme), IPersistableModel(Of ManagedServicePartitionScheme)
Inheritance
ManagedServicePartitionScheme
Derived
Attributes
Implements

Constructors

ManagedServicePartitionScheme()

Initializes a new instance of ManagedServicePartitionScheme.

Explicit Interface Implementations

IJsonModel<ManagedServicePartitionScheme>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedServicePartitionScheme>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedServicePartitionScheme>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedServicePartitionScheme>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedServicePartitionScheme>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to