Condividi tramite


PartitionSchemeDescription Class

Definition

Describes how the service is partitioned. Please note PartitionSchemeDescription 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 NamedPartitionSchemeDescription, SingletonPartitionSchemeDescription and UniformInt64RangePartitionSchemeDescription.

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

Constructors

PartitionSchemeDescription()

Initializes a new instance of PartitionSchemeDescription.

Explicit Interface Implementations

IJsonModel<PartitionSchemeDescription>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartitionSchemeDescription>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PartitionSchemeDescription>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartitionSchemeDescription>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartitionSchemeDescription>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to