import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Event Hubs as a nested resource within a Event Hubs namespace.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleEventHubNamespace = new azure.eventhub.EventHubNamespace("example", {
 *     name: "acceptanceTestEventHubNamespace",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     sku: "Standard",
 *     capacity: 1,
 *     tags: {
 *         environment: "Production",
 *     },
 * });
 * const exampleEventHub = new azure.eventhub.EventHub("example", {
 *     name: "acceptanceTestEventHub",
 *     namespaceId: exampleEventHubNamespace.id,
 *     partitionCount: 2,
 *     messageRetention: 1,
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.EventHub` - 2024-01-01
 *
 * ## Import
 *
 * EventHubs can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:eventhub/eventHub:EventHub eventhub1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventHub/namespaces/namespace1/eventhubs/eventhub1
 * ```
 */
export declare class EventHub extends pulumi.CustomResource {
    /**
     * Get an existing EventHub resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EventHubState, opts?: pulumi.CustomResourceOptions): EventHub;
    /**
     * Returns true if the given object is an instance of EventHub.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is EventHub;
    /**
     * A `captureDescription` block as defined below.
     */
    readonly captureDescription: pulumi.Output<outputs.eventhub.EventHubCaptureDescription | undefined>;
    /**
     * Specifies the number of days to retain the events for this Event Hub.
     *
     * > **Note:** When using a dedicated Event Hubs cluster, maximum value of `messageRetention` is 90 days. When using a shared parent EventHub Namespace, maximum value is 7 days; or 1 day when using a Basic SKU for the shared parent EventHub Namespace.
     */
    readonly messageRetention: pulumi.Output<number>;
    /**
     * Specifies the name of the EventHub resource. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies the ID of the EventHub Namespace.
     */
    readonly namespaceId: pulumi.Output<string>;
    /**
     * @deprecated `namespaceName` has been deprecated in favour of `namespaceId` and will be removed in v5.0 of the AzureRM Provider
     */
    readonly namespaceName: pulumi.Output<string>;
    /**
     * Specifies the current number of shards on the Event Hub.
     *
     * > **Note:** When using a shared parent EventHub Namespace, `partitionCount` cannot be changed unless the Eventhub Namespace SKU is `Premium`. When using a dedicated Event Hubs cluster, this restriction doesn't apply. In either case though, the `partitionCount` cannot be decreased.
     *
     * > **Note:** When using a dedicated Event Hubs cluster, maximum value of `partitionCount` is 1024. When using a shared parent EventHub Namespace, maximum value is 32.
     */
    readonly partitionCount: pulumi.Output<number>;
    /**
     * The identifiers for partitions created for Event Hubs.
     */
    readonly partitionIds: pulumi.Output<string[]>;
    /**
     * @deprecated `resourceGroupName` has been deprecated in favour of `namespaceId` and will be removed in v5.0 of the AzureRM Provider
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * A `retentionDescription` block as defined below.
     */
    readonly retentionDescription: pulumi.Output<outputs.eventhub.EventHubRetentionDescription>;
    /**
     * Specifies the status of the Event Hub resource. Possible values are `Active`, `Disabled` and `SendDisabled`. Defaults to `Active`.
     */
    readonly status: pulumi.Output<string | undefined>;
    /**
     * Create a EventHub resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: EventHubArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering EventHub resources.
 */
export interface EventHubState {
    /**
     * A `captureDescription` block as defined below.
     */
    captureDescription?: pulumi.Input<inputs.eventhub.EventHubCaptureDescription | undefined>;
    /**
     * Specifies the number of days to retain the events for this Event Hub.
     *
     * > **Note:** When using a dedicated Event Hubs cluster, maximum value of `messageRetention` is 90 days. When using a shared parent EventHub Namespace, maximum value is 7 days; or 1 day when using a Basic SKU for the shared parent EventHub Namespace.
     */
    messageRetention?: pulumi.Input<number | undefined>;
    /**
     * Specifies the name of the EventHub resource. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies the ID of the EventHub Namespace.
     */
    namespaceId?: pulumi.Input<string | undefined>;
    /**
     * @deprecated `namespaceName` has been deprecated in favour of `namespaceId` and will be removed in v5.0 of the AzureRM Provider
     */
    namespaceName?: pulumi.Input<string | undefined>;
    /**
     * Specifies the current number of shards on the Event Hub.
     *
     * > **Note:** When using a shared parent EventHub Namespace, `partitionCount` cannot be changed unless the Eventhub Namespace SKU is `Premium`. When using a dedicated Event Hubs cluster, this restriction doesn't apply. In either case though, the `partitionCount` cannot be decreased.
     *
     * > **Note:** When using a dedicated Event Hubs cluster, maximum value of `partitionCount` is 1024. When using a shared parent EventHub Namespace, maximum value is 32.
     */
    partitionCount?: pulumi.Input<number | undefined>;
    /**
     * The identifiers for partitions created for Event Hubs.
     */
    partitionIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * @deprecated `resourceGroupName` has been deprecated in favour of `namespaceId` and will be removed in v5.0 of the AzureRM Provider
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * A `retentionDescription` block as defined below.
     */
    retentionDescription?: pulumi.Input<inputs.eventhub.EventHubRetentionDescription | undefined>;
    /**
     * Specifies the status of the Event Hub resource. Possible values are `Active`, `Disabled` and `SendDisabled`. Defaults to `Active`.
     */
    status?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a EventHub resource.
 */
export interface EventHubArgs {
    /**
     * A `captureDescription` block as defined below.
     */
    captureDescription?: pulumi.Input<inputs.eventhub.EventHubCaptureDescription | undefined>;
    /**
     * Specifies the number of days to retain the events for this Event Hub.
     *
     * > **Note:** When using a dedicated Event Hubs cluster, maximum value of `messageRetention` is 90 days. When using a shared parent EventHub Namespace, maximum value is 7 days; or 1 day when using a Basic SKU for the shared parent EventHub Namespace.
     */
    messageRetention?: pulumi.Input<number | undefined>;
    /**
     * Specifies the name of the EventHub resource. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies the ID of the EventHub Namespace.
     */
    namespaceId?: pulumi.Input<string | undefined>;
    /**
     * @deprecated `namespaceName` has been deprecated in favour of `namespaceId` and will be removed in v5.0 of the AzureRM Provider
     */
    namespaceName?: pulumi.Input<string | undefined>;
    /**
     * Specifies the current number of shards on the Event Hub.
     *
     * > **Note:** When using a shared parent EventHub Namespace, `partitionCount` cannot be changed unless the Eventhub Namespace SKU is `Premium`. When using a dedicated Event Hubs cluster, this restriction doesn't apply. In either case though, the `partitionCount` cannot be decreased.
     *
     * > **Note:** When using a dedicated Event Hubs cluster, maximum value of `partitionCount` is 1024. When using a shared parent EventHub Namespace, maximum value is 32.
     */
    partitionCount: pulumi.Input<number>;
    /**
     * @deprecated `resourceGroupName` has been deprecated in favour of `namespaceId` and will be removed in v5.0 of the AzureRM Provider
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * A `retentionDescription` block as defined below.
     */
    retentionDescription?: pulumi.Input<inputs.eventhub.EventHubRetentionDescription | undefined>;
    /**
     * Specifies the status of the Event Hub resource. Possible values are `Active`, `Disabled` and `SendDisabled`. Defaults to `Active`.
     */
    status?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=eventHub.d.ts.map