Watch Aspire live streamsDocsTry Aspire

getMongoClusterByIdentifier

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

Signature

methodgetMongoClusterByIdentifier
Gets a MongoCluster provisioning resource by its Bicep identifier.
getMongoClusterByIdentifier(bicepIdentifier: string): MongoClusterProxy
bicepIdentifierstring
MongoClusterProxy

Applies to

This method applies to the following types: