Skip to content
Docs Try Aspire

AzureCosmosDBDatabaseResource Properties

Class Properties 3 members
Represents an Azure Cosmos DB Database. Initializes a new instance of the AzureCosmosDBDatabaseResource class.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the Azure Cosmos DB database.
public ReferenceExpression ConnectionStringExpression { get; }
DatabaseName Section titled DatabaseName string
Gets or sets the database name.
public string DatabaseName { get; set; }
Gets the parent Azure Cosmos DB account resource.
public AzureCosmosDBResource Parent { get; }