IndexingPolicy クラス

Cosmos DB インデックス作成ポリシー。

継承
azure.mgmt.cosmosdb._serialization.Model
IndexingPolicy

コンストラクター

IndexingPolicy(*, automatic: bool | None = None, indexing_mode: str | _models.IndexingMode = 'consistent', included_paths: List[_models.IncludedPath] | None = None, excluded_paths: List[_models.ExcludedPath] | None = None, composite_indexes: List[List[_models.CompositePath]] | None = None, spatial_indexes: List[_models.SpatialSpec] | None = None, **kwargs: Any)

変数

automatic
bool

インデックス作成ポリシーが自動かどうかを示します。

indexing_mode
str または IndexingMode

インデックス作成モードを示します。 既知の値は、"consistent"、"lazy"、および "none" です。

included_paths
list[IncludedPath]

インデックス作成に含めるパスの一覧。

excluded_paths
list[ExcludedPath]

インデックス作成から除外するパスの一覧。

composite_indexes
list[list[CompositePath]]

複合パス リストの一覧。

spatial_indexes
list[SpatialSpec]

空間の詳細の一覧。