CosmosDBSqlContainerResourceInfo Class

Definition

Cosmos DB SQL container resource object.

public class CosmosDBSqlContainerResourceInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlContainerResourceInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlContainerResourceInfo>
type CosmosDBSqlContainerResourceInfo = class
    interface IJsonModel<CosmosDBSqlContainerResourceInfo>
    interface IPersistableModel<CosmosDBSqlContainerResourceInfo>
Public Class CosmosDBSqlContainerResourceInfo
Implements IJsonModel(Of CosmosDBSqlContainerResourceInfo), IPersistableModel(Of CosmosDBSqlContainerResourceInfo)
Inheritance
CosmosDBSqlContainerResourceInfo
Derived
Implements

Constructors

CosmosDBSqlContainerResourceInfo(String)

Initializes a new instance of CosmosDBSqlContainerResourceInfo.

Properties

AnalyticalStorageTtl

Analytical TTL.

ClientEncryptionPolicy

The client encryption policy for the container.

ComputedProperties

List of computed properties.

ConflictResolutionPolicy

The conflict resolution policy for the container.

ContainerName

Name of the Cosmos DB SQL container.

CreateMode

Enum to indicate the mode of resource creation.

DefaultTtl

Default time to live.

IndexingPolicy

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

MaterializedViewDefinition

The configuration for defining Materialized Views. This must be specified only for creating a Materialized View container.

PartitionKey

The configuration of the partition key to be used for partitioning data into multiple partitions.

RestoreParameters

Parameters to indicate the information about the restore.

UniqueKeys

List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBSqlContainerResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CosmosDBSqlContainerResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlContainerResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBSqlContainerResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CosmosDBSqlContainerResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to