Share via


Indexes Constructors

Definition

Overloads

Indexes()

Initializes a new instance of the Indexes class.

Indexes(DataType, Nullable<Int32>, IndexKind)

Initializes a new instance of the Indexes class.

Indexes()

Initializes a new instance of the Indexes class.

public Indexes ();
Public Sub New ()

Applies to

Indexes(DataType, Nullable<Int32>, IndexKind)

Initializes a new instance of the Indexes class.

public Indexes (Microsoft.Azure.Management.CosmosDB.Fluent.Models.DataType dataType = default, int? precision = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.IndexKind kind = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.Indexes : Microsoft.Azure.Management.CosmosDB.Fluent.Models.DataType * Nullable<int> * Microsoft.Azure.Management.CosmosDB.Fluent.Models.IndexKind -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.Indexes
Public Sub New (Optional dataType As DataType = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional kind As IndexKind = Nothing)

Parameters

dataType
DataType

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

precision
Nullable<Int32>

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

kind
IndexKind

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

Applies to