getCosmosDBAccountByIdentifier

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

Signature

methodgetCosmosDBAccountByIdentifier
Gets a CosmosDBAccount provisioning resource by its Bicep identifier.
getCosmosDBAccountByIdentifier(bicepIdentifier: string): CosmosDBAccountProxy
bicepIdentifierstringThe Bicep identifier of the provisioning resource to return.
CosmosDBAccountProxy

Applies to

This method applies to the following types: