Indexes Class
The indexes for the path.
- Inheritance
-
azure.mgmt.cosmosdb._serialization.ModelIndexes
Constructor
Indexes(*, data_type: str | _models.DataType = 'String', precision: int | None = None, kind: str | _models.IndexKind = 'Hash', **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
data_type
|
The datatype for which the indexing behavior is applied to. Known values are: "String", "Number", "Point", "Polygon", "LineString", and "MultiPolygon". Default value: String
|
precision
|
The precision of the index. -1 is maximum precision. |
kind
|
Indicates the type of index. Known values are: "Hash", "Range", and "Spatial". Default value: Hash
|
Variables
Name | Description |
---|---|
data_type
|
The datatype for which the indexing behavior is applied to. Known values are: "String", "Number", "Point", "Polygon", "LineString", and "MultiPolygon". |
precision
|
The precision of the index. -1 is maximum precision. |
kind
|
Indicates the type of index. Known values are: "Hash", "Range", and "Spatial". |
Azure SDK for Python