次の方法で共有


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.

AddConsumerGroup(IResourceBuilder<AzureEventHubResource>, String, String)

Adds an Azure Event Hub Consumer Group resource to the application model.

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)
Obsolete.

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

AddHub(IResourceBuilder<AzureEventHubsResource>, String, String)

Adds an Azure Event Hubs hub resource 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.

WithConfiguration(IResourceBuilder<AzureEventHubsEmulatorResource>, Action<JsonNode>)

Alters the JSON configuration document used by the emulator.

WithConfigurationFile(IResourceBuilder<AzureEventHubsEmulatorResource>, String)

Adds a bind mount for the configuration file of an Azure Event Hubs emulator resource.

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>)
Obsolete.

Configures the host port for the Azure Event Hubs emulator is exposed on instead of using randomly assigned port.

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

Configures the host port for the Azure Event Hubs emulator is exposed on instead of using randomly assigned port.

WithProperties(IResourceBuilder<AzureEventHubResource>, Action<AzureEventHubResource>)

Allows setting the properties of an Azure Event Hub resource.

Applies to