UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

108 lines (107 loc) 2.86 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls log contexts */ /** @deprecated volcengine.tls.LogContexts has been deprecated in favor of volcengine.tls.getLogContexts */ export declare function logContexts(args: LogContextsArgs, opts?: pulumi.InvokeOptions): Promise<LogContextsResult>; /** * A collection of arguments for invoking LogContexts. */ export interface LogContextsArgs { /** * The context flow of the log. */ contextFlow: string; /** * Whether to describe log context. */ describeLogContext?: boolean; /** * The number of next logs. */ nextLogs?: number; /** * File name where to save data source results. */ outputFile?: string; /** * The package offset of the log. */ packageOffset: number; /** * The number of previous logs. */ prevLogs?: number; /** * The source of the log. */ source: string; /** * The ID of the topic. */ topicId: string; } /** * A collection of values returned by LogContexts. */ export interface LogContextsResult { readonly contextFlow: string; readonly describeLogContext?: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of log contexts. */ readonly logContexts: outputs.tls.LogContextsLogContext[]; readonly nextLogs?: number; readonly outputFile?: string; readonly packageOffset: number; readonly prevLogs?: number; readonly source: string; readonly topicId: string; } /** * Use this data source to query detailed information of tls log contexts */ /** @deprecated volcengine.tls.LogContexts has been deprecated in favor of volcengine.tls.getLogContexts */ export declare function logContextsOutput(args: LogContextsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LogContextsResult>; /** * A collection of arguments for invoking LogContexts. */ export interface LogContextsOutputArgs { /** * The context flow of the log. */ contextFlow: pulumi.Input<string>; /** * Whether to describe log context. */ describeLogContext?: pulumi.Input<boolean>; /** * The number of next logs. */ nextLogs?: pulumi.Input<number>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The package offset of the log. */ packageOffset: pulumi.Input<number>; /** * The number of previous logs. */ prevLogs?: pulumi.Input<number>; /** * The source of the log. */ source: pulumi.Input<string>; /** * The ID of the topic. */ topicId: pulumi.Input<string>; }