Skip to content
Docs Try Aspire

AzureEventHubsResource Constructors

Class Constructors 1 member
Represents an Azure Event Hubs resource.
Constructor(string, Action<AzureResourceInfrastructure>) Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an Azure Event Hubs resource.
public class AzureEventHubsResource
{
public AzureEventHubsResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
name string The name of the resource.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure Event Hubs resource.