getMongoDBDatabaseByIdentifier

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

Signature

methodgetMongoDBDatabaseByIdentifier
Gets a MongoDBDatabase provisioning resource by its Bicep identifier.
getMongoDBDatabaseByIdentifier(bicepIdentifier: string): MongoDBDatabaseProxy
bicepIdentifierstringThe Bicep identifier of the provisioning resource to return.
MongoDBDatabaseProxy

Applies to

This method applies to the following types: