EventHub Constructor

Definition

Initializes a new instance of the EventHub.

public EventHub (Azure.Provisioning.IConstruct scope, Azure.Provisioning.EventHubs.EventHubsNamespace? parent = default, string name = "hub", string version = "2021-11-01", Azure.Core.AzureLocation? location = default);
new Azure.Provisioning.EventHubs.EventHub : Azure.Provisioning.IConstruct * Azure.Provisioning.EventHubs.EventHubsNamespace * string * string * Nullable<Azure.Core.AzureLocation> -> Azure.Provisioning.EventHubs.EventHub
Public Sub New (scope As IConstruct, Optional parent As EventHubsNamespace = Nothing, Optional name As String = "hub", Optional version As String = "2021-11-01", Optional location As Nullable(Of AzureLocation) = Nothing)

Parameters

scope
IConstruct

The scope.

parent
EventHubsNamespace

The parent.

name
String

The name.

version
String

The version.

location
Nullable<AzureLocation>

The location.

Applies to