Class SpatialSpec
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
public class SpatialSpec
- Inheritance
-
SpatialSpec
- Inherited Members
Constructors
SpatialSpec()
Initializes a new instance of the SpatialSpec class.
public SpatialSpec()
SpatialSpec(string, IList<SpatialType>)
Initializes a new instance of the SpatialSpec class.
public SpatialSpec(string path = null, IList<SpatialType> types = null)
Parameters
path
stringThe path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
types
IList<SpatialType>List of path's spatial type
Properties
Path
Gets or sets the path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
public string Path { get; set; }
Property Value
Types
Gets or sets list of path's spatial type
public IList<SpatialType> Types { get; set; }