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)

키워드 전용 매개 변수

Name Description
automatic

인덱싱 정책이 자동인지를 나타냅니다.

indexing_mode
str 또는 IndexingMode

인덱싱 모드를 나타냅니다. 알려진 값은 "consistent", "lazy" 및 "none"입니다.

기본값: consistent
included_paths

인덱싱에 포함할 경로 목록입니다.

excluded_paths

인덱싱에서 제외할 경로 목록입니다.

composite_indexes

복합 경로 목록입니다.

spatial_indexes

공간별 목록입니다.

변수

Name Description
automatic

인덱싱 정책이 자동인지를 나타냅니다.

indexing_mode
str 또는 IndexingMode

인덱싱 모드를 나타냅니다. 알려진 값은 "consistent", "lazy" 및 "none"입니다.

included_paths

인덱싱에 포함할 경로 목록입니다.

excluded_paths

인덱싱에서 제외할 경로 목록입니다.

composite_indexes

복합 경로 목록입니다.

spatial_indexes

공간별 목록입니다.