Skip to content
Docs Try Aspire
Docs Try

addAzureEventHubs

Method
📦 Aspire.Hosting.Azure.EventHubs v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureEventHubs(name: string): AzureEventHubsResource;
}

Signature

method addAzureEventHubs builder
Adds an Azure Event Hubs Namespace resource to the application model. This resource can be used to create Event Hub resources.
addAzureEventHubs(name: string): AzureEventHubsResource
name string
AzureEventHubsResource

Applies to

This method applies to the following types: