EntityFrameworkCoreCosmosSettings
Class sealed net10.0
The settings relevant to accessing Azure Cosmos DB database using EntityFrameworkCore.
namespace Aspire.Microsoft.EntityFrameworkCore.Cosmos;
public sealed class EntityFrameworkCoreCosmosSettings{ // ...} 8 members
Constructors1
Section titled ConstructorsProperties7
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? The connection string of the Azure Cosmos DB server database to connect to.
Credentialget; setTokenCredential? Gets or sets the credential used to authenticate to the Azure Cosmos DB endpoint.
DatabaseNameget; setstring? 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.
Regionget; setstring? Gets or sets a string value that indicates what Azure region this client will run in.
RequestTimeoutget; setTimeSpan? Gets or sets the time to wait for the response to come back from the network peer.