"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.getTopicsOutput = exports.getTopics = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls topics
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getTopics({
 *     projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
 *     topicId: "9b756385-1dfb-4306-a094-0c88e04b34a5",
 * });
 * ```
 */
function getTopics(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/getTopics:getTopics", {
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectId": args.projectId,
        "tags": args.tags,
        "topicId": args.topicId,
        "topicName": args.topicName,
    }, opts);
}
exports.getTopics = getTopics;
/**
 * Use this data source to query detailed information of tls topics
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getTopics({
 *     projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
 *     topicId: "9b756385-1dfb-4306-a094-0c88e04b34a5",
 * });
 * ```
 */
function getTopicsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getTopics(a, opts));
}
exports.getTopicsOutput = getTopicsOutput;
//# sourceMappingURL=getTopics.js.map