다음을 통해 공유


SpatialSpec Class

Definition

The SpatialSpec.

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

Constructors

SpatialSpec()

Initializes a new instance of SpatialSpec.

Properties

Path

The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*).

Types

List of path's spatial type.

Explicit Interface Implementations

IJsonModel<SpatialSpec>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SpatialSpec>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SpatialSpec>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SpatialSpec>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SpatialSpec>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to