Share via


PhysicalPartitionStorageInfo Class

Definition

The storage of a physical partition.

public class PhysicalPartitionStorageInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionStorageInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionStorageInfo>
type PhysicalPartitionStorageInfo = class
    interface IJsonModel<PhysicalPartitionStorageInfo>
    interface IPersistableModel<PhysicalPartitionStorageInfo>
Public Class PhysicalPartitionStorageInfo
Implements IJsonModel(Of PhysicalPartitionStorageInfo), IPersistableModel(Of PhysicalPartitionStorageInfo)
Inheritance
PhysicalPartitionStorageInfo
Implements

Properties

Id

The unique identifier of the partition.

StorageInKB

The storage in KB for the physical partition.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PhysicalPartitionStorageInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PhysicalPartitionStorageInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PhysicalPartitionStorageInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PhysicalPartitionStorageInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PhysicalPartitionStorageInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to