Share via


CosmosDBPathIndexes Class

Definition

The indexes for the path.

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

Constructors

CosmosDBPathIndexes()

Initializes a new instance of CosmosDBPathIndexes.

Properties

DataType

The datatype for which the indexing behavior is applied to.

Kind

Indicates the type of index.

Precision

The precision of the index. -1 is maximum precision.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBPathIndexes>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBPathIndexes>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBPathIndexes>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBPathIndexes>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBPathIndexes>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to