Condividi tramite


DataPartition Class

Definition

Defines the properties of an individual data partition.

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

Properties

Name

Name of the data partition.

ProvisioningState

Name of the data partition.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataPartition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataPartition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataPartition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataPartition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataPartition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to