MongoDBCollectionGetPropertiesResource Class

MongoDBCollectionGetPropertiesResource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.cosmosdb.models._models_py3.ExtendedResourceProperties
MongoDBCollectionGetPropertiesResource
azure.mgmt.cosmosdb.models._models_py3.MongoDBCollectionResource
MongoDBCollectionGetPropertiesResource

Constructor

MongoDBCollectionGetPropertiesResource(*, 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.

shard_key
dict[str, str]

A key-value pair of shard keys to be applied for the request.

indexes
list[MongoIndex]

List of index keys.

analytical_storage_ttl
int

Analytical TTL.

rid
str

A system generated property. A unique identifier.

ts
float

A system generated property that denotes the last updated timestamp of the resource.

etag
str

A system generated property representing the resource etag required for optimistic concurrency control.