MicrosoftAzureCosmosSettings Properties
Class Properties 6 members
The settings relevant to accessing Azure Cosmos DB.
A
Uri referencing the Azure Cosmos DB Endpoint. This is likely to be similar to "https://{account_name}.documents.azure.com". public Uri? AccountEndpoint { get; set; }Remarks
Must not contain shared access signature. Used along with
MicrosoftAzureCosmosSettings.Credential to establish the connection. Gets or sets the connection string of the Azure Cosmos database to connect to.
public string? ConnectionString { get; set; } Gets or sets the name of the container to connect to.
public string? ContainerName { get; set; } Gets or sets the credential used to authenticate to the Azure Cosmos DB endpoint.
public TokenCredential? Credential { get; set; } Gets or sets the name of the database to connect to.
public string? DatabaseName { get; set; } Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }