Skip to content
DocsTry Aspire
DocsTry

AzureEventHubsResource Constructors

ClassConstructors1 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)
{
// ...
}
}
namestringThe name of the resource.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure Event Hubs resource.