Aspire.Hosting.Azure.EventHubs
Official
📦 Aspire.Hosting.Azure.EventHubs v13.4.0 8 Functions
5 Types
5 types and 6 members
Types
Functions
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 method
addConsumerGroup builder Adds an Azure Event Hub Consumer Group resource to the application model.
addConsumerGroup(name: string, groupName?: string): AzureEventHubConsumerGroupResource method
addHub builder Adds an Azure Event Hubs hub resource to the application model.
addHub(name: string, hubName?: string): AzureEventHubResource method
runAsEmulator builder Configures the Azure Event Hubs resource to run with the local emulator
runAsEmulator(configureContainer?: (obj: AzureEventHubsEmulatorResource) => Promise<void>): AzureEventHubsResource method
withConfigurationFile builder Adds a bind mount for the configuration file of an Azure Event Hubs emulator resource.
withConfigurationFile(path: string): AzureEventHubsEmulatorResource method
withEventHubsRoleAssignments builder Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure Event Hubs Namespace resource. This replaces the default role assignments for the resource.
withEventHubsRoleAssignments(target: AzureEventHubsResource, roles: AzureEventHubsRole[]): IResource method
withHostPort builder Configures the host port for the Azure Event Hubs emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureEventHubsEmulatorResource method
withProperties builder Allows setting the properties of an Azure Event Hub resource.
withProperties(configure: (obj: AzureEventHubResource) => Promise<void>): AzureEventHubResource