import * as pulumi from "@pulumi/pulumi";
/**
 * Use this data source to access information about an existing EventHub.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = azure.eventhub.getEventHub({
 *     name: "search-eventhub",
 *     resourceGroupName: "search-service",
 *     namespaceName: "search-eventhubns",
 * });
 * export const eventhubId = example.then(example => example.id);
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This data source uses the following Azure API Providers:
 *
 * * `Microsoft.EventHub` - 2024-01-01
 */
export declare function getEventHub(args: GetEventHubArgs, opts?: pulumi.InvokeOptions): Promise<GetEventHubResult>;
/**
 * A collection of arguments for invoking getEventHub.
 */
export interface GetEventHubArgs {
    /**
     * The name of this EventHub.
     */
    name: string;
    /**
     * The name of the EventHub Namespace where the EventHub exists.
     */
    namespaceName: string;
    /**
     * The name of the Resource Group where the EventHub exists.
     */
    resourceGroupName: string;
}
/**
 * A collection of values returned by getEventHub.
 */
export interface GetEventHubResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly name: string;
    readonly namespaceName: string;
    /**
     * The number of partitions in the EventHub.
     */
    readonly partitionCount: number;
    /**
     * The identifiers for the partitions of this EventHub.
     */
    readonly partitionIds: string[];
    readonly resourceGroupName: string;
}
/**
 * Use this data source to access information about an existing EventHub.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = azure.eventhub.getEventHub({
 *     name: "search-eventhub",
 *     resourceGroupName: "search-service",
 *     namespaceName: "search-eventhubns",
 * });
 * export const eventhubId = example.then(example => example.id);
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This data source uses the following Azure API Providers:
 *
 * * `Microsoft.EventHub` - 2024-01-01
 */
export declare function getEventHubOutput(args: GetEventHubOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEventHubResult>;
/**
 * A collection of arguments for invoking getEventHub.
 */
export interface GetEventHubOutputArgs {
    /**
     * The name of this EventHub.
     */
    name: pulumi.Input<string>;
    /**
     * The name of the EventHub Namespace where the EventHub exists.
     */
    namespaceName: pulumi.Input<string>;
    /**
     * The name of the Resource Group where the EventHub exists.
     */
    resourceGroupName: pulumi.Input<string>;
}
//# sourceMappingURL=getEventHub.d.ts.map