import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a Email integration for a Bot Channel
 *
 * > **Note:** A bot can only have a single Email Channel associated with it.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const current = azure.core.getClientConfig({});
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleChannelsRegistration = new azure.bot.ChannelsRegistration("example", {
 *     name: "example",
 *     location: "global",
 *     resourceGroupName: example.name,
 *     sku: "F0",
 *     microsoftAppId: current.then(current => current.clientId),
 * });
 * const exampleChannelEmail = new azure.bot.ChannelEmail("example", {
 *     botName: exampleChannelsRegistration.name,
 *     location: exampleChannelsRegistration.location,
 *     resourceGroupName: example.name,
 *     emailAddress: "example.com",
 *     emailPassword: "123456",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.BotService` - 2022-09-15
 *
 * ## Import
 *
 * The Email Integration for a Bot Channel can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:bot/channelEmail:ChannelEmail example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.BotService/botServices/example/channels/EmailChannel
 * ```
 */
export declare class ChannelEmail extends pulumi.CustomResource {
    /**
     * Get an existing ChannelEmail 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?: ChannelEmailState, opts?: pulumi.CustomResourceOptions): ChannelEmail;
    /**
     * Returns true if the given object is an instance of ChannelEmail.  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 ChannelEmail;
    /**
     * The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
     */
    readonly botName: pulumi.Output<string>;
    /**
     * The email address that the Bot will authenticate with.
     */
    readonly emailAddress: pulumi.Output<string>;
    /**
     * The email password that the Bot will authenticate with.
     */
    readonly emailPassword: pulumi.Output<string | undefined>;
    /**
     * The supported Azure location where the resource exists. Changing this forces a new resource to be created.
     */
    readonly location: pulumi.Output<string>;
    /**
     * The magic code used to set up OAUTH authentication.
     */
    readonly magicCode: pulumi.Output<string | undefined>;
    /**
     * The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * Create a ChannelEmail 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: ChannelEmailArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ChannelEmail resources.
 */
export interface ChannelEmailState {
    /**
     * The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
     */
    botName?: pulumi.Input<string | undefined>;
    /**
     * The email address that the Bot will authenticate with.
     */
    emailAddress?: pulumi.Input<string | undefined>;
    /**
     * The email password that the Bot will authenticate with.
     */
    emailPassword?: pulumi.Input<string | undefined>;
    /**
     * The supported Azure location where the resource exists. Changing this forces a new resource to be created.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * The magic code used to set up OAUTH authentication.
     */
    magicCode?: pulumi.Input<string | undefined>;
    /**
     * The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ChannelEmail resource.
 */
export interface ChannelEmailArgs {
    /**
     * The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
     */
    botName: pulumi.Input<string>;
    /**
     * The email address that the Bot will authenticate with.
     */
    emailAddress: pulumi.Input<string>;
    /**
     * The email password that the Bot will authenticate with.
     */
    emailPassword?: pulumi.Input<string | undefined>;
    /**
     * The supported Azure location where the resource exists. Changing this forces a new resource to be created.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * The magic code used to set up OAUTH authentication.
     */
    magicCode?: pulumi.Input<string | undefined>;
    /**
     * The name of the resource group in which to create the Bot Channel. Changing this forces a new resource to be created.
     */
    resourceGroupName: pulumi.Input<string>;
}
//# sourceMappingURL=channelEmail.d.ts.map