共用方式為


AzureEventHubsResource Constructors

Definition

Overloads

AzureEventHubsResource(String, Action<AzureResourceInfrastructure>)

Represents an Azure Event Hubs resource.

AzureEventHubsResource(String, Action<ResourceModuleConstruct>)

Represents an Azure Event Hubs resource.

AzureEventHubsResource(String, Action<AzureResourceInfrastructure>)

Source:
AzureEventHubsResource.cs

Represents an Azure Event Hubs resource.

public AzureEventHubsResource (string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.Azure.AzureEventHubsResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.Azure.AzureEventHubsResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))

Parameters

name
String

The name of the resource.

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure Event Hubs resource.

Applies to

AzureEventHubsResource(String, Action<ResourceModuleConstruct>)

Source:
AzureEventHubsResource.cs

Represents an Azure Event Hubs resource.

public AzureEventHubsResource (string name, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.Azure.AzureEventHubsResource : string * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.Azure.AzureEventHubsResource
Public Sub New (name As String, configureConstruct As Action(Of ResourceModuleConstruct))

Parameters

name
String

The name of the resource.

configureConstruct
Action<ResourceModuleConstruct>

Callback to configure the Azure Event Hubs resource.

Applies to