AzureEventHubResource.addConsumerGroup

Method
📦 Aspire.Hosting.Azure.EventHubs v17.0.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
namestringThe name of the Event Hub Consumer Group resource.
groupNamestringoptionalThe name of the Consumer Group. If not provided, this defaults to the same value as `name`.
AzureEventHubConsumerGroupResource

Defined on

This method is defined on the following type: