getMongoDBCollectionByIdentifier

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

Signature

methodgetMongoDBCollectionByIdentifier
Gets a MongoDBCollection provisioning resource by its Bicep identifier.
getMongoDBCollectionByIdentifier(bicepIdentifier: string): MongoDBCollectionProxy
bicepIdentifierstringThe Bicep identifier of the provisioning resource to return.
MongoDBCollectionProxy

Applies to

This method applies to the following types: