addConsumerGroup
Method
interface AzureEventHubResource { // ... omitted for brevity addConsumerGroup( name: string, groupName?: string): AzureEventHubConsumerGroupResource;}Signature
method
addConsumerGroup builderAdds an Azure Event Hub Consumer Group resource to the application model.
addConsumerGroup( name: string, groupName?: string): AzureEventHubConsumerGroupResourceParameters
namestringThe name of the Event Hub Consumer Group resource.groupName stringoptionalThe name of the Consumer Group. If not provided, this defaults to the same value as `name`.Returns
AzureEventHubConsumerGroupResource Applies to
This method applies to the following types: