AzureEventHubResource(String, String, AzureEventHubsResource) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an Azure Event Hub. Initializes a new instance of the AzureEventHubResource class.
public AzureEventHubResource(string name, string hubName, Aspire.Hosting.Azure.AzureEventHubsResource parent);
new Aspire.Hosting.Azure.AzureEventHubResource : string * string * Aspire.Hosting.Azure.AzureEventHubsResource -> Aspire.Hosting.Azure.AzureEventHubResource
Public Sub New (name As String, hubName As String, parent As AzureEventHubsResource)
Parameters
- name
- String
- hubName
- String
- parent
- AzureEventHubsResource
Remarks
Use ConfigureInfrastructure<T>(IResourceBuilder<T>, Action<AzureResourceInfrastructure>) to configure specific Aspire.Hosting.Azure.Provisioning properties.