import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a resource to manage alb listener domain extension
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooListener = new volcengine.alb.Listener("fooListener", {
 *     loadBalancerId: "alb-1iidd17v3klj474adhfrunyz9",
 *     listenerName: "acc-test-listener-1",
 *     protocol: "HTTPS",
 *     port: 6666,
 *     enabled: "on",
 *     certificateId: "cert-1iidd2pahdyio74adhfr9ajwg",
 *     caCertificateId: "cert-1iidd2r9ii0hs74adhfeodxo1",
 *     serverGroupId: "rsp-1g72w74y4umf42zbhq4k4hnln",
 *     enableHttp2: "on",
 *     enableQuic: "off",
 *     aclStatus: "on",
 *     aclType: "white",
 *     aclIds: ["acl-1g72w6z11ighs2zbhq4v3rvh4"],
 *     description: "acc test listener",
 * });
 * const fooListenerDomainExtension = new volcengine.alb.ListenerDomainExtension("fooListenerDomainExtension", {
 *     listenerId: fooListener.id,
 *     domain: "test-modify.com",
 *     certificateId: "cert-1iidd2pahdyio74adhfr9ajwg",
 * });
 * ```
 *
 * ## Import
 *
 * AlbListenerDomainExtension can be imported using the listener id and domain extension id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:alb/listenerDomainExtension:ListenerDomainExtension default listenerId:extensionId
 * ```
 */
export declare class ListenerDomainExtension extends pulumi.CustomResource {
    /**
     * Get an existing ListenerDomainExtension 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?: ListenerDomainExtensionState, opts?: pulumi.CustomResourceOptions): ListenerDomainExtension;
    /**
     * Returns true if the given object is an instance of ListenerDomainExtension.  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 ListenerDomainExtension;
    /**
     * The server certificate ID used by the domain name. Valid when the certificateSource is `certCenter`.
     */
    readonly certCenterCertificateId: pulumi.Output<string | undefined>;
    /**
     * Server certificate used for the domain name. Valid when the certificateSource is `alb`.
     */
    readonly certificateId: pulumi.Output<string | undefined>;
    /**
     * The source of the certificate. Valid values: `alb`, `certCenter`, `pcaLeaf`. Default is `alb`.
     */
    readonly certificateSource: pulumi.Output<string | undefined>;
    /**
     * The domain name. The maximum number of associated domain names for an HTTPS listener is 20, with a value range of 1 to 20.
     */
    readonly domain: pulumi.Output<string>;
    /**
     * The id of the domain extension.
     */
    readonly domainExtensionId: pulumi.Output<string>;
    /**
     * The listener id. Only HTTPS listener is effective.
     */
    readonly listenerId: pulumi.Output<string>;
    /**
     * The server certificate ID used by the domain name. Valid when the certificate source is `pcaLeaf`.
     */
    readonly pcaLeafCertificateId: pulumi.Output<string | undefined>;
    /**
     * Create a ListenerDomainExtension 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: ListenerDomainExtensionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ListenerDomainExtension resources.
 */
export interface ListenerDomainExtensionState {
    /**
     * The server certificate ID used by the domain name. Valid when the certificateSource is `certCenter`.
     */
    certCenterCertificateId?: pulumi.Input<string>;
    /**
     * Server certificate used for the domain name. Valid when the certificateSource is `alb`.
     */
    certificateId?: pulumi.Input<string>;
    /**
     * The source of the certificate. Valid values: `alb`, `certCenter`, `pcaLeaf`. Default is `alb`.
     */
    certificateSource?: pulumi.Input<string>;
    /**
     * The domain name. The maximum number of associated domain names for an HTTPS listener is 20, with a value range of 1 to 20.
     */
    domain?: pulumi.Input<string>;
    /**
     * The id of the domain extension.
     */
    domainExtensionId?: pulumi.Input<string>;
    /**
     * The listener id. Only HTTPS listener is effective.
     */
    listenerId?: pulumi.Input<string>;
    /**
     * The server certificate ID used by the domain name. Valid when the certificate source is `pcaLeaf`.
     */
    pcaLeafCertificateId?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a ListenerDomainExtension resource.
 */
export interface ListenerDomainExtensionArgs {
    /**
     * The server certificate ID used by the domain name. Valid when the certificateSource is `certCenter`.
     */
    certCenterCertificateId?: pulumi.Input<string>;
    /**
     * Server certificate used for the domain name. Valid when the certificateSource is `alb`.
     */
    certificateId?: pulumi.Input<string>;
    /**
     * The source of the certificate. Valid values: `alb`, `certCenter`, `pcaLeaf`. Default is `alb`.
     */
    certificateSource?: pulumi.Input<string>;
    /**
     * The domain name. The maximum number of associated domain names for an HTTPS listener is 20, with a value range of 1 to 20.
     */
    domain: pulumi.Input<string>;
    /**
     * The listener id. Only HTTPS listener is effective.
     */
    listenerId: pulumi.Input<string>;
    /**
     * The server certificate ID used by the domain name. Valid when the certificate source is `pcaLeaf`.
     */
    pcaLeafCertificateId?: pulumi.Input<string>;
}
