Skip to content
Docs Try Aspire

AzureCosmosDBResource Constructors

Class Constructors 1 member
A resource that represents an Azure Cosmos DB.
Constructor(string, Action<AzureResourceInfrastructure>) Section titled Constructor(string, Action<AzureResourceInfrastructure>)
A resource that represents an Azure Cosmos DB.
public class AzureCosmosDBResource
{
public AzureCosmosDBResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
name string
configureInfrastructure Action<AzureResourceInfrastructure>