Table of Contents

Class Indexes

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

The indexes for the path.

public class Indexes
Inheritance
Indexes
Inherited Members

Constructors

Indexes()

Initializes a new instance of the Indexes class.

public Indexes()

Indexes(DataType, int?, IndexKind)

Initializes a new instance of the Indexes class.

public Indexes(DataType dataType = null, int? precision = null, IndexKind kind = null)

Parameters

dataType DataType

The datatype for which the indexing behavior is applied to. Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon'

precision int?

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

kind IndexKind

Indicates the type of index. Possible values include: 'Hash', 'Range', 'Spatial'

Properties

DataType

Gets or sets the datatype for which the indexing behavior is applied to. Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon'

public DataType DataType { get; set; }

Property Value

DataType

Kind

Gets or sets indicates the type of index. Possible values include: 'Hash', 'Range', 'Spatial'

public IndexKind Kind { get; set; }

Property Value

IndexKind

Precision

Gets or sets the precision of the index. -1 is maximum precision.

public int? Precision { get; set; }

Property Value

int?