"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.getCertificatesOutput = exports.getCertificates = 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,
 * });
 * ```
 */
function getCertificates(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:cdn/getCertificates:getCertificates", {
        "name": args.name,
        "outputFile": args.outputFile,
        "source": args.source,
        "status": args.status,
    }, opts);
}
exports.getCertificates = getCertificates;
/**
 * 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,
 * });
 * ```
 */
function getCertificatesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getCertificates(a, opts));
}
exports.getCertificatesOutput = getCertificatesOutput;
//# sourceMappingURL=getCertificates.js.map