"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.getAllCertificatesOutput = exports.getAllCertificates = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of alb all certificates
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.alb.getAllCertificates({
 *     ids: [
 *         "cert-1pf4a8k8tokcg845wfariphc2",
 *         "cert-xoekc6lpu9s054ov5eohm3bj",
 *     ],
 *     projectName: "default",
 *     tags: [{
 *         key: "key1",
 *         value: "value2",
 *     }],
 * });
 * ```
 */
function getAllCertificates(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:alb/getAllCertificates:getAllCertificates", {
        "certificateName": args.certificateName,
        "certificateType": args.certificateType,
        "ids": args.ids,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "tags": args.tags,
    }, opts);
}
exports.getAllCertificates = getAllCertificates;
/**
 * Use this data source to query detailed information of alb all certificates
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.alb.getAllCertificates({
 *     ids: [
 *         "cert-1pf4a8k8tokcg845wfariphc2",
 *         "cert-xoekc6lpu9s054ov5eohm3bj",
 *     ],
 *     projectName: "default",
 *     tags: [{
 *         key: "key1",
 *         value: "value2",
 *     }],
 * });
 * ```
 */
function getAllCertificatesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getAllCertificates(a, opts));
}
exports.getAllCertificatesOutput = getAllCertificatesOutput;
//# sourceMappingURL=getAllCertificates.js.map