Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
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 getLogCursors
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 getLogCursors(args: GetLogCursorsArgs, opts?: InvokeOptions): Promise<GetLogCursorsResult>
function getLogCursorsOutput(args: GetLogCursorsOutputArgs, opts?: InvokeOptions): Output<GetLogCursorsResult>def get_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) -> GetLogCursorsResult
def get_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[GetLogCursorsResult]func GetLogCursors(ctx *Context, args *GetLogCursorsArgs, opts ...InvokeOption) (*GetLogCursorsResult, error)
func GetLogCursorsOutput(ctx *Context, args *GetLogCursorsOutputArgs, opts ...InvokeOption) GetLogCursorsResultOutput> Note: This function is named GetLogCursors in the Go SDK.
public static class GetLogCursors
{
public static Task<GetLogCursorsResult> InvokeAsync(GetLogCursorsArgs args, InvokeOptions? opts = null)
public static Output<GetLogCursorsResult> Invoke(GetLogCursorsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogCursorsResult> getLogCursors(GetLogCursorsArgs args, InvokeOptions options)
public static Output<GetLogCursorsResult> getLogCursors(GetLogCursorsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls/getLogCursors:getLogCursors
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.
getLogCursors 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<GetLog Cursors 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 []GetLog Cursors 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<GetLog Cursors 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 GetLog Cursors 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[GetLog Cursors 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
GetLogCursorsLogCursor
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
