import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Event Hubs Consumer Group within an Event Hub. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const test = azure.eventhub.getConsumeGroup({ * name: testAzurermEventhubConsumerGroup.name, * namespaceName: testAzurermEventhubNamespace.name, * eventhubName: testAzurermEventhub.name, * resourceGroupName: testAzurermResourceGroup.name, * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.EventHub` - 2024-01-01 */ export declare function getConsumeGroup(args: GetConsumeGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConsumeGroup. */ export interface GetConsumeGroupArgs { /** * Specifies the name of the EventHub. */ eventhubName: string; /** * Specifies the name of the EventHub Consumer Group resource. */ name: string; /** * Specifies the name of the grandparent EventHub Namespace. */ namespaceName: string; /** * The name of the resource group in which the EventHub Consumer Group's grandparent Namespace exists. */ resourceGroupName: string; } /** * A collection of values returned by getConsumeGroup. */ export interface GetConsumeGroupResult { readonly eventhubName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly namespaceName: string; readonly resourceGroupName: string; /** * Specifies the user metadata. */ readonly userMetadata: string; } /** * Use this data source to access information about an existing Event Hubs Consumer Group within an Event Hub. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const test = azure.eventhub.getConsumeGroup({ * name: testAzurermEventhubConsumerGroup.name, * namespaceName: testAzurermEventhubNamespace.name, * eventhubName: testAzurermEventhub.name, * resourceGroupName: testAzurermResourceGroup.name, * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.EventHub` - 2024-01-01 */ export declare function getConsumeGroupOutput(args: GetConsumeGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConsumeGroup. */ export interface GetConsumeGroupOutputArgs { /** * Specifies the name of the EventHub. */ eventhubName: pulumi.Input; /** * Specifies the name of the EventHub Consumer Group resource. */ name: pulumi.Input; /** * Specifies the name of the grandparent EventHub Namespace. */ namespaceName: pulumi.Input; /** * The name of the resource group in which the EventHub Consumer Group's grandparent Namespace exists. */ resourceGroupName: pulumi.Input; }