addCosmosDBService

Method
📦 Aspire.Hosting.Azure.Provisioning.CosmosDB v17.0.0-preview.1.26567.5
interface AzureResourceInfrastructure {
// ... omitted for brevity
addCosmosDBService(
bicepIdentifier: string,
resourceVersion?: string): CosmosDBServiceProxy;
}

Signature

methodaddCosmosDBService
Adds a CosmosDBService provisioning model.
addCosmosDBService(
bicepIdentifier: string,
resourceVersion?: string): CosmosDBServiceProxy
bicepIdentifierstringThe bicepIdentifier value.
resourceVersionstringoptionalThe resourceVersion value.
CosmosDBServiceProxy

Applies to

This method applies to the following types: