Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Deprecated: volcengine.tls.LogCursors has been deprecated in favor of volcengine.tls.getLogCursors
Use this data source to query detailed information of tls log cursors
Example Usage
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",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_log_cursors(from_="begin",
shard_id=0,
topic_id="e101b8c8-77e7-4ae3-91c1-2532ee480e7d")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.GetLogCursors(ctx, &tls.GetLogCursorsArgs{
From: "begin",
ShardId: 0,
TopicId: "e101b8c8-77e7-4ae3-91c1-2532ee480e7d",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Tls.GetLogCursors.Invoke(new()
{
From = "begin",
ShardId = 0,
TopicId = "e101b8c8-77e7-4ae3-91c1-2532ee480e7d",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tls.TlsFunctions;
import com.pulumi.volcengine.tls.inputs.GetLogCursorsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = TlsFunctions.getLogCursors(GetLogCursorsArgs.builder()
.from("begin")
.shardId(0)
.topicId("e101b8c8-77e7-4ae3-91c1-2532ee480e7d")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getLogCursors
Arguments:
from: begin
shardId: 0
topicId: e101b8c8-77e7-4ae3-91c1-2532ee480e7d
Using LogCursors
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function logCursors(args: LogCursorsArgs, opts?: InvokeOptions): Promise<LogCursorsResult>
function logCursorsOutput(args: LogCursorsOutputArgs, opts?: InvokeOptions): Output<LogCursorsResult>def log_cursors(from_: Optional[str] = None,
output_file: Optional[str] = None,
shard_id: Optional[int] = None,
topic_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> LogCursorsResult
def log_cursors_output(from_: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
shard_id: Optional[pulumi.Input[int]] = None,
topic_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[LogCursorsResult]func LogCursors(ctx *Context, args *LogCursorsArgs, opts ...InvokeOption) (*LogCursorsResult, error)
func LogCursorsOutput(ctx *Context, args *LogCursorsOutputArgs, opts ...InvokeOption) LogCursorsResultOutputpublic static class LogCursors
{
public static Task<LogCursorsResult> InvokeAsync(LogCursorsArgs args, InvokeOptions? opts = null)
public static Output<LogCursorsResult> Invoke(LogCursorsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<LogCursorsResult> logCursors(LogCursorsArgs args, InvokeOptions options)
public static Output<LogCursorsResult> logCursors(LogCursorsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:LogCursors
arguments:
# arguments dictionaryThe following arguments are supported:
- From string
- The time point of the cursor. The value is a Unix timestamp in seconds, or "begin" or "end".
- int
- The ID of the shard.
- Topic
Id string - The ID of the topic.
- Output
File string - File name where to save data source results.
- From string
- The time point of the cursor. The value is a Unix timestamp in seconds, or "begin" or "end".
- int
- The ID of the shard.
- Topic
Id string - The ID of the topic.
- Output
File string - File name where to save data source results.
- from String
- The time point of the cursor. The value is a Unix timestamp in seconds, or "begin" or "end".
- Integer
- The ID of the shard.
- topic
Id String - The ID of the topic.
- output
File String - File name where to save data source results.
- from string
- The time point of the cursor. The value is a Unix timestamp in seconds, or "begin" or "end".
- number
- The ID of the shard.
- topic
Id string - The ID of the topic.
- output
File string - File name where to save data source results.
- from_ str
- The time point of the cursor. The value is a Unix timestamp in seconds, or "begin" or "end".
- int
- The ID of the shard.
- topic_
id str - The ID of the topic.
- output_
file str - File name where to save data source results.
- from String
- The time point of the cursor. The value is a Unix timestamp in seconds, or "begin" or "end".
- Number
- The ID of the shard.
- topic
Id String - The ID of the topic.
- output
File String - File name where to save data source results.
LogCursors Result
The following output properties are available:
- From string
- The time point of the cursor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Cursors List<LogCursors Log Cursor> - The list of log cursors.
- int
- The ID of the shard.
- Topic
Id string - The ID of the topic.
- Output
File string
- From string
- The time point of the cursor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Cursors []LogCursors Log Cursor - The list of log cursors.
- int
- The ID of the shard.
- Topic
Id string - The ID of the topic.
- Output
File string
- from String
- The time point of the cursor.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Cursors List<LogCursors Log Cursor> - The list of log cursors.
- Integer
- The ID of the shard.
- topic
Id String - The ID of the topic.
- output
File String
- from string
- The time point of the cursor.
- id string
- The provider-assigned unique ID for this managed resource.
- log
Cursors LogCursors Log Cursor[] - The list of log cursors.
- number
- The ID of the shard.
- topic
Id string - The ID of the topic.
- output
File string
- from_ str
- The time point of the cursor.
- id str
- The provider-assigned unique ID for this managed resource.
- log_
cursors Sequence[LogCursors Log Cursor] - The list of log cursors.
- int
- The ID of the shard.
- topic_
id str - The ID of the topic.
- output_
file str
- from String
- The time point of the cursor.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Cursors List<Property Map> - The list of log cursors.
- Number
- The ID of the shard.
- topic
Id String - The ID of the topic.
- output
File String
Supporting Types
LogCursorsLogCursor
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
