RestorableSqlContainerPropertiesResourceContainer Class
Cosmos DB SQL container resource object.
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.ExtendedResourcePropertiesRestorableSqlContainerPropertiesResourceContainerazure.mgmt.cosmosdb.models._models_py3.SqlContainerResourceRestorableSqlContainerPropertiesResourceContainer
Constructor
RestorableSqlContainerPropertiesResourceContainer(*, id: str, indexing_policy: Optional[_models.IndexingPolicy] = None, partition_key: Optional[_models.ContainerPartitionKey] = None, default_ttl: Optional[int] = None, unique_key_policy: Optional[_models.UniqueKeyPolicy] = None, conflict_resolution_policy: Optional[_models.ConflictResolutionPolicy] = None, analytical_storage_ttl: Optional[int] = None, **kwargs)
Variables
- id
- str
Required. Name of the Cosmos DB SQL container.
- indexing_policy
- IndexingPolicy
The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container.
- partition_key
- ContainerPartitionKey
The configuration of the partition key to be used for partitioning data into multiple partitions.
- default_ttl
- int
Default time to live.
- unique_key_policy
- UniqueKeyPolicy
The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
- conflict_resolution_policy
- ConflictResolutionPolicy
The conflict resolution policy for the container.
- analytical_storage_ttl
- <xref:long>
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.
- self_property
- str
A system generated property that specifies the addressable path of the container resource.
Feedback
Submit and view feedback for