AzureEventHubResource
Handle
interface AzureEventHubResource extends IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithConnectionString, IResourceWithParent, AzureEventHubsResource]], IValueProvider, IValueWithReferences, IResourceWithAzureFunctionsConfig { readonly connectionStringExpression: ReferenceExpression; hubName: string; readonly parent: AzureEventHubsResource; partitionCount: number; addConsumerGroup( name: string, groupName?: string): AzureEventHubConsumerGroupResource; withProperties(configure: (obj: AzureEventHubResource) => Promise<void>): AzureEventHubResource;}8 members
Properties
property
connectionStringExpressionReferenceExpressiongetGets the connection string expression for the Azure Event Hub.
property
hubNamestringget · setThe event hub name.
property
parentAzureEventHubsResourcegetGets the parent Azure Event Hubs resource.
property
partitionCountnumberget · setNumber of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
Methods
Adds an Azure Event Hub Consumer Group resource to the application model.
addConsumerGroup( name: string, groupName?: string): AzureEventHubConsumerGroupResourceParameters
namestringgroupNamestringoptionalReturns
AzureEventHubConsumerGroupResourceAllows setting the properties of an Azure Event Hub resource.
withProperties(configure: (obj: AzureEventHubResource) => Promise<void>): AzureEventHubResourceParameters
configure(obj: AzureEventHubResource) => Promise<void>Returns
AzureEventHubResource