ContainerDefinition<T> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Azure Cosmos container fluent definition.
public abstract class ContainerDefinition<T> where T : ContainerDefinition<T>
type ContainerDefinition<'T (requires 'T :> ContainerDefinition<'T>)> = class
Public MustInherit Class ContainerDefinition(Of T)
- T
- Inheritance
-
ContainerDefinition<T>
- Derived
Container |
Creates an instance for unit-testing |
Build() |
Applies the current Fluent definition and creates a container configuration. |
With |
ComputedProperty definition for Azure Cosmos container. |
With |
DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live. |
With |
DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live. |
With |
IndexingPolicy definition for the current Azure Cosmos container. |
With |
Sets the PartitionKeyDefinitionVersion The partition key definition version 1 uses a hash function that computes hash based on the first 100 bytes of the partition key. This can cause conflicts for documents with partition keys greater than 100 bytes. The partition key definition version 2 uses a hash function that computes hash based on the first 2 KB of the partition key. |
With |
Sets the time to live base timestamp property path. |
Produk | Versi |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET maklum balas
Azure SDK for .NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: