다음을 통해 공유


CassandraClusterKey Class

Definition

Cosmos DB Cassandra table cluster key.

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

Constructors

CassandraClusterKey()

Initializes a new instance of CassandraClusterKey.

Properties

Name

Name of the Cosmos DB Cassandra table cluster key.

OrderBy

Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CassandraClusterKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CassandraClusterKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraClusterKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraClusterKey>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CassandraClusterKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to