import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a CAS Certificate resource.
 *
 * For information about SSL Certificates Certificate and how to use it, see [What is Certificate](https://www.alibabacloud.com/help/product/28533.html).
 *
 * > **NOTE:** Available since v1.35.0.
 *
 * > **NOTE:** Deprecated since v1.129.0.
 *
 * > **NOTE:** The Certificate name which you want to add must be already registered and had not added by another account. Every Certificate name can only exist in a unique group.
 *
 * > **NOTE:** The Cas Certificate region only support cn-hangzhou, me-east-1, eu-central-1, ap-northeast-1.
 *
 * > **DEPRECATED:** This resource has been deprecated from version `1.129.0`. Please use new resource alicloud_ssl_certificates_service_certificate.
 *
 * ## Example Usage
 *
 * Basic Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as alicloud from "@pulumi/alicloud";
 * import * as random from "@pulumi/random";
 *
 * const _default = new random.index.Integer("default", {
 *     min: 10000,
 *     max: 99999,
 * });
 * const defaultCertificate = new alicloud.cas.Certificate("default", {
 *     name: `tf-example-${_default.result}`,
 *     cert: `-----BEGIN CERTIFICATE-----
 * MIIDeDCCAmCgAwIBAgIEN3ZT6zANBgkqhkiG9w0BAQsFADBVMQswCQYDVQQGEwJD
 * TjEVMBMGA1UEAwwMKi50ZnRlc3QudG9wMRAwDgYDVQQIDAdCZWlKaW5nMRAwDgYD
 * VQQHDAdCZWlKaW5nMQswCQYDVQQKDAJBQTAeFw0yMzA4MjgwNjQ5NDNaFw0yNTA4
 * MjcwNjQ5NDNaMFUxCzAJBgNVBAYTAkNOMRUwEwYDVQQDDAwqLnRmdGVzdC50b3Ax
 * EDAOBgNVBAgMB0JlaUppbmcxEDAOBgNVBAcMB0JlaUppbmcxCzAJBgNVBAoMAkFB
 * MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzkk9NJUH7PLSQK4RRrGQ
 * Y5dVsftkhnKh9HhI6yrnlowWIDPS1PZHOU/5gQ7xPUPGdKQV5S7x8wROnAaXEimx
 * N4GdQw25pGhRJvlwme9f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9+OV4yrq3AoGAYFZo
 * ZmfrN2Kdkt7Z6dLTEVPlsMfGQ6pyNmxdM9rkzzNC0JcGymfDIb7RE35T3+hTy6La
 * AMiCXv3xn6qAzY2NFh87tpPlyymWMOLTnf3Kkcfszlfp45idOBGCu46V9NDVbppT
 * 2UmrSIR/H5dbTXsNcAlt/hhlpeInjhkU1VqmH10CgYEA7Kk+QhWq705SczpWjm5J
 * 9kHqfFzJLwAWNBduiia0WypgPhLe/4wT1rYQkBtKMVKrgFo7Cvi4YKlrtlDnXyeU
 * CIFqfEL5NriQelqrFsvgHsmD+MpvDoSWm5C8IrTubtlNyWUzXSVT4OIwzPobzPqG
 * LILJ+e7bLw8RrM0HfgFnl8c=
 * -----END PRIVATE KEY-----
 * `,
 * });
 * ```
 *
 * 📚 Need more examples? VIEW MORE EXAMPLES
 *
 * @deprecated This resource has been deprecated in favour of ServiceCertificate
 */
export declare class Certificate extends pulumi.CustomResource {
    /**
     * Get an existing Certificate 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?: CertificateState, opts?: pulumi.CustomResourceOptions): Certificate;
    /**
     * Returns true if the given object is an instance of Certificate.  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 Certificate;
    /**
     * Cert of the Certificate in which the Certificate will add.
     */
    readonly cert: pulumi.Output<string | undefined>;
    readonly certificateName: pulumi.Output<string>;
    readonly encryptCert: pulumi.Output<string | undefined>;
    readonly encryptPrivateKey: pulumi.Output<string | undefined>;
    /**
     * Key of the Certificate in which the Certificate will add.
     */
    readonly key: pulumi.Output<string | undefined>;
    /**
     * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
     */
    readonly lang: pulumi.Output<string | undefined>;
    /**
     * Name of the Certificate. This name must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
     *
     * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
     */
    readonly name: pulumi.Output<string>;
    readonly resourceGroupId: pulumi.Output<string>;
    readonly signCert: pulumi.Output<string | undefined>;
    readonly signPrivateKey: pulumi.Output<string | undefined>;
    readonly tags: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * Create a Certificate 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.
     */
    /** @deprecated This resource has been deprecated in favour of ServiceCertificate */
    constructor(name: string, args?: CertificateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Certificate resources.
 */
export interface CertificateState {
    /**
     * Cert of the Certificate in which the Certificate will add.
     */
    cert?: pulumi.Input<string | undefined>;
    certificateName?: pulumi.Input<string | undefined>;
    encryptCert?: pulumi.Input<string | undefined>;
    encryptPrivateKey?: pulumi.Input<string | undefined>;
    /**
     * Key of the Certificate in which the Certificate will add.
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
     */
    lang?: pulumi.Input<string | undefined>;
    /**
     * Name of the Certificate. This name must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
     *
     * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
     */
    name?: pulumi.Input<string | undefined>;
    resourceGroupId?: pulumi.Input<string | undefined>;
    signCert?: pulumi.Input<string | undefined>;
    signPrivateKey?: pulumi.Input<string | undefined>;
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
}
/**
 * The set of arguments for constructing a Certificate resource.
 */
export interface CertificateArgs {
    /**
     * Cert of the Certificate in which the Certificate will add.
     */
    cert?: pulumi.Input<string | undefined>;
    certificateName?: pulumi.Input<string | undefined>;
    encryptCert?: pulumi.Input<string | undefined>;
    encryptPrivateKey?: pulumi.Input<string | undefined>;
    /**
     * Key of the Certificate in which the Certificate will add.
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
     */
    lang?: pulumi.Input<string | undefined>;
    /**
     * Name of the Certificate. This name must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
     *
     * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
     */
    name?: pulumi.Input<string | undefined>;
    resourceGroupId?: pulumi.Input<string | undefined>;
    signCert?: pulumi.Input<string | undefined>;
    signPrivateKey?: pulumi.Input<string | undefined>;
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
}
//# sourceMappingURL=certificate.d.ts.map