Share via


CosmosDBAccountConnectionString Class

Definition

Connection string for the Cosmos DB account.

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

Properties

ConnectionString

Value of the connection string.

Description

Description of the connection string.

KeyKind

Kind of the connection string key.

KeyType

Type of the connection string.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBAccountConnectionString>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBAccountConnectionString>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBAccountConnectionString>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBAccountConnectionString>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBAccountConnectionString>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to