Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

AzureEventHubResource.addConsumerGroup

Method
📦 Aspire.Hosting.Azure.EventHubs v13.6.0
interface AzureEventHubResource {
// ... omitted for brevity
addConsumerGroup(
name: string,
groupName?: string): AzureEventHubConsumerGroupResource;
}

Signature

methodaddConsumerGroupbuilder
Adds an Azure Event Hub Consumer Group resource to the application model.
addConsumerGroup(
name: string,
groupName?: string): AzureEventHubConsumerGroupResource
namestring
groupNamestringoptional
AzureEventHubConsumerGroupResource

Defined on

This method is defined on the following type: