Dela via


CosmosDBAccountCapability Class

Definition

Cosmos DB capability object.

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

Constructors

CosmosDBAccountCapability()

Initializes a new instance of CosmosDBAccountCapability.

Properties

Name

Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBAccountCapability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBAccountCapability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBAccountCapability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBAccountCapability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBAccountCapability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to