MicrosoftAzureCosmosSettings
Class sealed net10.0
The settings relevant to accessing Azure Cosmos DB.
namespace Aspire.Microsoft.Azure.Cosmos;
public sealed class MicrosoftAzureCosmosSettings{ // ...} 7 members
Constructors1
Section titled ConstructorsProperties6
Section titled PropertiesAccountEndpointget; setUri? A
Uri referencing the Azure Cosmos DB Endpoint. This is likely to be similar to "https://{account_name}.documents.azure.com". ConnectionStringget; setstring? Gets or sets the connection string of the Azure Cosmos database to connect to.
ContainerNameget; setstring? Gets or sets the name of the container to connect to.
Credentialget; setTokenCredential? Gets or sets the credential used to authenticate to the Azure Cosmos DB endpoint.
DatabaseNameget; setstring? Gets or sets the name of the database to connect to.
DisableTracingget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.