1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. LogContexts
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.tls.LogContexts has been deprecated in favor of volcengine.tls.getLogContexts

    Use this data source to query detailed information of tls log contexts

    Using LogContexts

    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 logContexts(args: LogContextsArgs, opts?: InvokeOptions): Promise<LogContextsResult>
    function logContextsOutput(args: LogContextsOutputArgs, opts?: InvokeOptions): Output<LogContextsResult>
    def log_contexts(context_flow: Optional[str] = None,
                     describe_log_context: Optional[bool] = None,
                     next_logs: Optional[int] = None,
                     output_file: Optional[str] = None,
                     package_offset: Optional[int] = None,
                     prev_logs: Optional[int] = None,
                     source: Optional[str] = None,
                     topic_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> LogContextsResult
    def log_contexts_output(context_flow: Optional[pulumi.Input[str]] = None,
                     describe_log_context: Optional[pulumi.Input[bool]] = None,
                     next_logs: Optional[pulumi.Input[int]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     package_offset: Optional[pulumi.Input[int]] = None,
                     prev_logs: Optional[pulumi.Input[int]] = None,
                     source: Optional[pulumi.Input[str]] = None,
                     topic_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[LogContextsResult]
    func LogContexts(ctx *Context, args *LogContextsArgs, opts ...InvokeOption) (*LogContextsResult, error)
    func LogContextsOutput(ctx *Context, args *LogContextsOutputArgs, opts ...InvokeOption) LogContextsResultOutput
    public static class LogContexts 
    {
        public static Task<LogContextsResult> InvokeAsync(LogContextsArgs args, InvokeOptions? opts = null)
        public static Output<LogContextsResult> Invoke(LogContextsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<LogContextsResult> logContexts(LogContextsArgs args, InvokeOptions options)
    public static Output<LogContextsResult> logContexts(LogContextsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:tls:LogContexts
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ContextFlow string
    The context flow of the log.
    PackageOffset int
    The package offset of the log.
    Source string
    The source of the log.
    TopicId string
    The ID of the topic.
    DescribeLogContext bool
    Whether to describe log context.
    NextLogs int
    The number of next logs.
    OutputFile string
    File name where to save data source results.
    PrevLogs int
    The number of previous logs.
    ContextFlow string
    The context flow of the log.
    PackageOffset int
    The package offset of the log.
    Source string
    The source of the log.
    TopicId string
    The ID of the topic.
    DescribeLogContext bool
    Whether to describe log context.
    NextLogs int
    The number of next logs.
    OutputFile string
    File name where to save data source results.
    PrevLogs int
    The number of previous logs.
    contextFlow String
    The context flow of the log.
    packageOffset Integer
    The package offset of the log.
    source String
    The source of the log.
    topicId String
    The ID of the topic.
    describeLogContext Boolean
    Whether to describe log context.
    nextLogs Integer
    The number of next logs.
    outputFile String
    File name where to save data source results.
    prevLogs Integer
    The number of previous logs.
    contextFlow string
    The context flow of the log.
    packageOffset number
    The package offset of the log.
    source string
    The source of the log.
    topicId string
    The ID of the topic.
    describeLogContext boolean
    Whether to describe log context.
    nextLogs number
    The number of next logs.
    outputFile string
    File name where to save data source results.
    prevLogs number
    The number of previous logs.
    context_flow str
    The context flow of the log.
    package_offset int
    The package offset of the log.
    source str
    The source of the log.
    topic_id str
    The ID of the topic.
    describe_log_context bool
    Whether to describe log context.
    next_logs int
    The number of next logs.
    output_file str
    File name where to save data source results.
    prev_logs int
    The number of previous logs.
    contextFlow String
    The context flow of the log.
    packageOffset Number
    The package offset of the log.
    source String
    The source of the log.
    topicId String
    The ID of the topic.
    describeLogContext Boolean
    Whether to describe log context.
    nextLogs Number
    The number of next logs.
    outputFile String
    File name where to save data source results.
    prevLogs Number
    The number of previous logs.

    LogContexts Result

    The following output properties are available:

    ContextFlow string
    Id string
    The provider-assigned unique ID for this managed resource.
    LogContexts List<LogContextsLogContext>
    The list of log contexts.
    PackageOffset int
    Source string
    TopicId string
    DescribeLogContext bool
    NextLogs int
    OutputFile string
    PrevLogs int
    ContextFlow string
    Id string
    The provider-assigned unique ID for this managed resource.
    LogContexts []LogContextsLogContext
    The list of log contexts.
    PackageOffset int
    Source string
    TopicId string
    DescribeLogContext bool
    NextLogs int
    OutputFile string
    PrevLogs int
    contextFlow String
    id String
    The provider-assigned unique ID for this managed resource.
    logContexts List<LogContextsLogContext>
    The list of log contexts.
    packageOffset Integer
    source String
    topicId String
    describeLogContext Boolean
    nextLogs Integer
    outputFile String
    prevLogs Integer
    contextFlow string
    id string
    The provider-assigned unique ID for this managed resource.
    logContexts LogContextsLogContext[]
    The list of log contexts.
    packageOffset number
    source string
    topicId string
    describeLogContext boolean
    nextLogs number
    outputFile string
    prevLogs number
    context_flow str
    id str
    The provider-assigned unique ID for this managed resource.
    log_contexts Sequence[LogContextsLogContext]
    The list of log contexts.
    package_offset int
    source str
    topic_id str
    describe_log_context bool
    next_logs int
    output_file str
    prev_logs int
    contextFlow String
    id String
    The provider-assigned unique ID for this managed resource.
    logContexts List<Property Map>
    The list of log contexts.
    packageOffset Number
    source String
    topicId String
    describeLogContext Boolean
    nextLogs Number
    outputFile String
    prevLogs Number

    Supporting Types

    LogContextsLogContext

    LogContextInfos List<ImmutableDictionary<string, object>>
    The infos of context log.
    NextOver bool
    Whether the next logs are over.
    PrevOver bool
    Whether the previous logs are over.
    LogContextInfos []map[string]interface{}
    The infos of context log.
    NextOver bool
    Whether the next logs are over.
    PrevOver bool
    Whether the previous logs are over.
    logContextInfos List<Map<String,Object>>
    The infos of context log.
    nextOver Boolean
    Whether the next logs are over.
    prevOver Boolean
    Whether the previous logs are over.
    logContextInfos {[key: string]: any}[]
    The infos of context log.
    nextOver boolean
    Whether the next logs are over.
    prevOver boolean
    Whether the previous logs are over.
    log_context_infos Sequence[Mapping[str, Any]]
    The infos of context log.
    next_over bool
    Whether the next logs are over.
    prev_over bool
    Whether the previous logs are over.
    logContextInfos List<Map<Any>>
    The infos of context log.
    nextOver Boolean
    Whether the next logs are over.
    prevOver Boolean
    Whether the previous logs are over.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate