EventHub.FromExisting(IConstruct, String, EventHubsNamespace) Method

Definition

Creates a new instance of the EventHub class referencing an existing instance.

public static Azure.Provisioning.EventHubs.EventHub FromExisting (Azure.Provisioning.IConstruct scope, string name, Azure.Provisioning.EventHubs.EventHubsNamespace parent);
static member FromExisting : Azure.Provisioning.IConstruct * string * Azure.Provisioning.EventHubs.EventHubsNamespace -> Azure.Provisioning.EventHubs.EventHub
Public Shared Function FromExisting (scope As IConstruct, name As String, parent As EventHubsNamespace) As EventHub

Parameters

scope
IConstruct

The scope.

name
String

The resource name.

parent
EventHubsNamespace

The resource group.

Returns

The KeyVault instance.

Applies to