Share via


MicrosoftAzureCosmosSettings Class

Definition

The settings relevant to accessing Azure Cosmos DB.

public sealed class MicrosoftAzureCosmosSettings
type MicrosoftAzureCosmosSettings = class
Public NotInheritable Class MicrosoftAzureCosmosSettings
Inheritance
MicrosoftAzureCosmosSettings

Constructors

MicrosoftAzureCosmosSettings()

Properties

AccountEndpoint

A Uri referencing the Azure Cosmos DB Endpoint. This is likely to be similar to "https://{account_name}.documents.azure.com".

ConnectionString

Gets or sets the connection string of the Azure Cosmos database to connect to.

ContainerName

Gets or sets the name of the container to connect to.

Credential

Gets or sets the credential used to authenticate to the Azure Cosmos DB endpoint.

DatabaseName

Gets or sets the name of the database to connect to.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

Applies to