MongoDBCollectionResource Class
Cosmos DB MongoDB collection resource object.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
MongoDBCollectionResource
Constructor
MongoDBCollectionResource(*, id: str, shard_key: Optional[Dict[str, str]] = None, indexes: Optional[List[_models.MongoIndex]] = None, analytical_storage_ttl: Optional[int] = None, **kwargs)
Variables
- id
- str
Required. Name of the Cosmos DB MongoDB collection.
- indexes
- list[MongoIndex]
List of index keys.
- analytical_storage_ttl
- int
Analytical TTL.
Feedback
Submit and view feedback for