Class Indexes
- 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
DataTypeThe 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
IndexKindIndicates 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
Kind
Gets or sets indicates the type of index. Possible values include: 'Hash', 'Range', 'Spatial'
public IndexKind Kind { get; set; }
Property Value
Precision
Gets or sets the precision of the index. -1 is maximum precision.
public int? Precision { get; set; }
Property Value
- int?