"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.logCursorsOutput = exports.logCursors = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls log cursors
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getLogCursors({
 *     from: "begin",
 *     shardId: 0,
 *     topicId: "e101b8c8-77e7-4ae3-91c1-2532ee480e7d",
 * });
 * ```
 */
/** @deprecated volcengine.tls.LogCursors has been deprecated in favor of volcengine.tls.getLogCursors */
function logCursors(args, opts) {
    pulumi.log.warn("logCursors is deprecated: volcengine.tls.LogCursors has been deprecated in favor of volcengine.tls.getLogCursors");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/logCursors:LogCursors", {
        "from": args.from,
        "outputFile": args.outputFile,
        "shardId": args.shardId,
        "topicId": args.topicId,
    }, opts);
}
exports.logCursors = logCursors;
/**
 * Use this data source to query detailed information of tls log cursors
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getLogCursors({
 *     from: "begin",
 *     shardId: 0,
 *     topicId: "e101b8c8-77e7-4ae3-91c1-2532ee480e7d",
 * });
 * ```
 */
/** @deprecated volcengine.tls.LogCursors has been deprecated in favor of volcengine.tls.getLogCursors */
function logCursorsOutput(args, opts) {
    return pulumi.output(args).apply((a) => logCursors(a, opts));
}
exports.logCursorsOutput = logCursorsOutput;
//# sourceMappingURL=logCursors.js.map