MicrosoftAzureCosmosSettings
Classsealednet10.0
The settings relevant to accessing Azure Cosmos DB.
namespace Aspire.Microsoft.Azure.Cosmos;
public sealed class MicrosoftAzureCosmosSettings{ // ...}8 members
Constructors1
Section titled ConstructorsProperties7
Section titled PropertiesAccountEndpoint get; setUri? A
Uri referencing the Azure Cosmos DB Endpoint. This is likely to be similar to "https://{account_name}.documents.azure.com". ConnectionString get; setstring? Gets or sets the connection string of the Azure Cosmos database to connect to.
Credentialget; setTokenCredential? Gets or sets the credential used to authenticate to the Azure Cosmos DB endpoint.
DisableHealthChecks get; setbool Gets or sets a boolean value that indicates whether the Azure Cosmos DB health check is disabled or not.
DisableTracing get; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.