SqlContainerResource interface
Cosmos DB SQL container resource object
Properties
analytical |
Analytical TTL. |
client |
The client encryption policy for the container. |
computed |
List of computed properties |
conflict |
The conflict resolution policy for the container. |
create |
Enum to indicate the mode of resource creation. |
default |
Default time to live |
id | Name of the Cosmos DB SQL container |
indexing |
The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container |
partition |
The configuration of the partition key to be used for partitioning data into multiple partitions |
restore |
Parameters to indicate the information about the restore |
unique |
The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. |
Property Details
analyticalStorageTtl
Analytical TTL.
analyticalStorageTtl?: number
Property Value
number
clientEncryptionPolicy
The client encryption policy for the container.
clientEncryptionPolicy?: ClientEncryptionPolicy
Property Value
computedProperties
List of computed properties
computedProperties?: ComputedProperty[]
Property Value
conflictResolutionPolicy
The conflict resolution policy for the container.
conflictResolutionPolicy?: ConflictResolutionPolicy
Property Value
createMode
Enum to indicate the mode of resource creation.
createMode?: string
Property Value
string
defaultTtl
Default time to live
defaultTtl?: number
Property Value
number
id
Name of the Cosmos DB SQL container
id: string
Property Value
string
indexingPolicy
The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
indexingPolicy?: IndexingPolicy
Property Value
partitionKey
The configuration of the partition key to be used for partitioning data into multiple partitions
partitionKey?: ContainerPartitionKey
Property Value
restoreParameters
Parameters to indicate the information about the restore
restoreParameters?: ResourceRestoreParameters
Property Value
uniqueKeyPolicy
The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
uniqueKeyPolicy?: UniqueKeyPolicy