Share via


EventHubsConsumerGroup.FromExisting(IConstruct, String, EventHub) Method

Definition

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

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

Parameters

scope
IConstruct

The scope.

name
String

The resource name.

parent
EventHub

The resource group.

Returns

The KeyVault instance.

Applies to