Share via


CassandraViewResource Class

Definition

Cosmos DB Cassandra view resource object.

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

Constructors

CassandraViewResource(String, String)

Initializes a new instance of CassandraViewResource.

Properties

Id

Name of the Cosmos DB Cassandra view.

ViewDefinition

View Definition of the Cosmos DB Cassandra view.

Explicit Interface Implementations

IJsonModel<CassandraViewResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CassandraViewResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraViewResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraViewResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CassandraViewResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to