Share via


AzureEventHubsExtensions Class

Definition

Provides extension methods for adding the Azure Event Hubs resources to the application model.

public static class AzureEventHubsExtensions
type AzureEventHubsExtensions = class
Public Module AzureEventHubsExtensions
Inheritance
AzureEventHubsExtensions

Methods

AddAzureEventHubs(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureEventHubsResource>, ResourceModuleConstruct,EventHubsNamespace>)

Adds an Azure Event Hubs Namespace resource to the application model. This resource can be used to create Event Hub resources.

AddAzureEventHubs(IDistributedApplicationBuilder, String)

Adds an Azure Event Hubs Namespace resource to the application model. This resource can be used to create Event Hub resources.

AddEventHub(IResourceBuilder<AzureEventHubsResource>, String, Action<IResourceBuilder<AzureEventHubsResource>,ResourceModuleConstruct,EventHub>)

Adds an Azure Event Hubs hub resource to the application model. This resource requires an AzureEventHubsResource to be added to the application model.

AddEventHub(IResourceBuilder<AzureEventHubsResource>, String)

Adds an Azure Event Hubs hub resource to the application model. This resource requires an AzureEventHubsResource to be added to the application model.

RunAsEmulator(IResourceBuilder<AzureEventHubsResource>, Action<IResourceBuilder<AzureEventHubsEmulatorResource>>)

Configures an Azure Event Hubs resource to be emulated. This resource requires an AzureEventHubsResource to be added to the application model.

WithDataBindMount(IResourceBuilder<AzureEventHubsEmulatorResource>, String)

Adds a bind mount for the data folder to an Azure Event Hubs emulator resource.

WithDataVolume(IResourceBuilder<AzureEventHubsEmulatorResource>, String)

Adds a named volume for the data folder to an Azure Event Hubs emulator resource.

WithGatewayPort(IResourceBuilder<AzureEventHubsEmulatorResource>, Nullable<Int32>)

Configures the gateway port for the Azure Event Hubs emulator.

Applies to