Bagikan melalui


IndexingPolicy Constructors

Definition

Overloads

IndexingPolicy()

Initializes a new instance of the IndexingPolicy class.

IndexingPolicy(Nullable<Boolean>, String, IList<IncludedPath>, IList<ExcludedPath>, IList<IList<CompositePath>>, IList<SpatialSpec>)

Initializes a new instance of the IndexingPolicy class.

IndexingPolicy()

Initializes a new instance of the IndexingPolicy class.

public IndexingPolicy ();
Public Sub New ()

Applies to

IndexingPolicy(Nullable<Boolean>, String, IList<IncludedPath>, IList<ExcludedPath>, IList<IList<CompositePath>>, IList<SpatialSpec>)

Initializes a new instance of the IndexingPolicy class.

public IndexingPolicy (bool? automatic = default, string indexingMode = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.IncludedPath> includedPaths = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.ExcludedPath> excludedPaths = default, System.Collections.Generic.IList<System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.CompositePath>> compositeIndexes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SpatialSpec> spatialIndexes = default);
new Microsoft.Azure.Management.CosmosDB.Models.IndexingPolicy : Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.IncludedPath> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.ExcludedPath> * System.Collections.Generic.IList<System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.CompositePath>> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.SpatialSpec> -> Microsoft.Azure.Management.CosmosDB.Models.IndexingPolicy
Public Sub New (Optional automatic As Nullable(Of Boolean) = Nothing, Optional indexingMode As String = Nothing, Optional includedPaths As IList(Of IncludedPath) = Nothing, Optional excludedPaths As IList(Of ExcludedPath) = Nothing, Optional compositeIndexes As IList(Of IList(Of CompositePath)) = Nothing, Optional spatialIndexes As IList(Of SpatialSpec) = Nothing)

Parameters

automatic
Nullable<Boolean>

Indicates if the indexing policy is automatic

indexingMode
String

Indicates the indexing mode. Possible values include: 'consistent', 'lazy', 'none'

includedPaths
IList<IncludedPath>

List of paths to include in the indexing

excludedPaths
IList<ExcludedPath>

List of paths to exclude from indexing

compositeIndexes
IList<IList<CompositePath>>

List of composite path list

spatialIndexes
IList<SpatialSpec>

List of spatial specifics

Applies to