"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.certificatesOutput = exports.certificates = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of cdn certificates
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", {
 *     certificate: "",
 *     privateKey: "",
 *     desc: "tftest",
 *     source: "cdn_cert_hosting",
 * });
 * const fooCertificates = volcengine.cdn.getCertificatesOutput({
 *     source: fooCdnCertificate.source,
 * });
 * ```
 */
/** @deprecated volcengine.cdn.Certificates has been deprecated in favor of volcengine.cdn.getCertificates */
function certificates(args, opts) {
    pulumi.log.warn("certificates is deprecated: volcengine.cdn.Certificates has been deprecated in favor of volcengine.cdn.getCertificates");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:cdn/certificates:Certificates", {
        "name": args.name,
        "outputFile": args.outputFile,
        "source": args.source,
        "status": args.status,
    }, opts);
}
exports.certificates = certificates;
/**
 * Use this data source to query detailed information of cdn certificates
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooCdnCertificate = new volcengine.cdn.CdnCertificate("fooCdnCertificate", {
 *     certificate: "",
 *     privateKey: "",
 *     desc: "tftest",
 *     source: "cdn_cert_hosting",
 * });
 * const fooCertificates = volcengine.cdn.getCertificatesOutput({
 *     source: fooCdnCertificate.source,
 * });
 * ```
 */
/** @deprecated volcengine.cdn.Certificates has been deprecated in favor of volcengine.cdn.getCertificates */
function certificatesOutput(args, opts) {
    return pulumi.output(args).apply((a) => certificates(a, opts));
}
exports.certificatesOutput = certificatesOutput;
//# sourceMappingURL=certificates.js.map