getCosmosDBServiceByIdentifier

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

Signature

methodgetCosmosDBServiceByIdentifier
Gets a CosmosDBService provisioning resource by its Bicep identifier.
getCosmosDBServiceByIdentifier(bicepIdentifier: string): CosmosDBServiceProxy
bicepIdentifierstringThe Bicep identifier of the provisioning resource to return.
CosmosDBServiceProxy

Applies to

This method applies to the following types: