Watch Aspire live streamsDocsTry Aspire

getEventHubByIdentifier

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

Signature

methodgetEventHubByIdentifier
Gets a EventHub provisioning resource by its Bicep identifier.
getEventHubByIdentifier(bicepIdentifier: string): EventHubProxy
bicepIdentifierstring
EventHubProxy

Applies to

This method applies to the following types: