Watch Aspire live streamsDocsTry Aspire

getMongoDBCollectionByIdentifier

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

Signature

methodgetMongoDBCollectionByIdentifier
Gets a MongoDBCollection provisioning resource by its Bicep identifier.
getMongoDBCollectionByIdentifier(bicepIdentifier: string): MongoDBCollectionProxy
bicepIdentifierstring
MongoDBCollectionProxy

Applies to

This method applies to the following types: