Udostępnij za pośrednictwem


RestorableSqlContainerPropertiesResourceContainer Class

Definition

Cosmos DB SQL container resource object

public class RestorableSqlContainerPropertiesResourceContainer
type RestorableSqlContainerPropertiesResourceContainer = class
Public Class RestorableSqlContainerPropertiesResourceContainer
Inheritance
RestorableSqlContainerPropertiesResourceContainer

Constructors

RestorableSqlContainerPropertiesResourceContainer()

Initializes a new instance of the RestorableSqlContainerPropertiesResourceContainer class.

RestorableSqlContainerPropertiesResourceContainer(String, IndexingPolicy, ContainerPartitionKey, Nullable<Int32>, UniqueKeyPolicy, ConflictResolutionPolicy, Nullable<Int64>, String, Nullable<Double>, String, String)

Initializes a new instance of the RestorableSqlContainerPropertiesResourceContainer class.

Properties

_etag

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

_rid

Gets a system generated property. A unique identifier.

_self

Gets a system generated property that specifies the addressable path of the container resource.

_ts

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

AnalyticalStorageTtl

Gets or sets analytical TTL.

ConflictResolutionPolicy

Gets or sets the conflict resolution policy for the container.

DefaultTtl

Gets or sets default time to live

Id

Gets or sets name of the Cosmos DB SQL container

IndexingPolicy

Gets or sets the configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

PartitionKey

Gets or sets the configuration of the partition key to be used for partitioning data into multiple partitions

UniqueKeyPolicy

Gets or sets the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.

Methods

Validate()

Validate the object.

Applies to