Watch Aspire live streamsDocsTry Aspire

getCosmosDBServiceByIdentifier

Method
📦 Aspire.Hosting.Azure.Provisioning.CosmosDB v13.6.0-preview.1.26478.8
interface AzureResourceInfrastructure {
// ... omitted for brevity
getCosmosDBServiceByIdentifier(bicepIdentifier: string): CosmosDBServiceProxy;
}

Signature

methodgetCosmosDBServiceByIdentifier
Gets a CosmosDBService provisioning resource by its Bicep identifier.
getCosmosDBServiceByIdentifier(bicepIdentifier: string): CosmosDBServiceProxy
bicepIdentifierstring
CosmosDBServiceProxy

Applies to

This method applies to the following types: