Share via


EventHub(String, String) Constructor

Definition

Creates a new EventHub.

public EventHub (string identifierName, string? resourceVersion = default);
new Azure.Provisioning.EventHubs.EventHub : string * string -> Azure.Provisioning.EventHubs.EventHub
Public Sub New (identifierName As String, Optional resourceVersion As String = Nothing)

Parameters

identifierName
String

The the Bicep identifier name of the EventHub resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

resourceVersion
String

Version of the EventHub.

Applies to