UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

165 lines (164 loc) 3.9 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls log searches * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getLogSearches({ * endTime: 1768450896000, * limit: 10, * query: "*", * startTime: 1768448896000, * topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a", * }); * ``` */ export declare function getLogSearches(args: GetLogSearchesArgs, opts?: pulumi.InvokeOptions): Promise<GetLogSearchesResult>; /** * A collection of arguments for invoking getLogSearches. */ export interface GetLogSearchesArgs { /** * Whether to use accurate query. */ accurateQuery?: boolean; /** * The context of the log. */ context?: string; /** * The end time of the log. */ endTime: number; /** * Whether to highlight the log. */ highlight?: boolean; /** * The limit of the logs. */ limit?: number; /** * File name where to save data source results. */ outputFile?: string; /** * The query of the log. */ query: string; /** * The sort of the log. */ sort?: string; /** * The start time of the log. */ startTime: number; /** * The ID of the topic. */ topicId: string; } /** * A collection of values returned by getLogSearches. */ export interface GetLogSearchesResult { readonly accurateQuery?: boolean; /** * The context of the log. */ readonly context?: string; readonly endTime: number; /** * The highlight of the query. */ readonly highlight?: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The limit of the logs. */ readonly limit?: number; /** * The list of the logs. */ readonly logs: outputs.tls.GetLogSearchesLog[]; readonly outputFile?: string; readonly query: string; readonly sort?: string; readonly startTime: number; readonly topicId: string; /** * The total count of the logs. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tls log searches * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getLogSearches({ * endTime: 1768450896000, * limit: 10, * query: "*", * startTime: 1768448896000, * topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a", * }); * ``` */ export declare function getLogSearchesOutput(args: GetLogSearchesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLogSearchesResult>; /** * A collection of arguments for invoking getLogSearches. */ export interface GetLogSearchesOutputArgs { /** * Whether to use accurate query. */ accurateQuery?: pulumi.Input<boolean>; /** * The context of the log. */ context?: pulumi.Input<string>; /** * The end time of the log. */ endTime: pulumi.Input<number>; /** * Whether to highlight the log. */ highlight?: pulumi.Input<boolean>; /** * The limit of the logs. */ limit?: pulumi.Input<number>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The query of the log. */ query: pulumi.Input<string>; /** * The sort of the log. */ sort?: pulumi.Input<string>; /** * The start time of the log. */ startTime: pulumi.Input<number>; /** * The ID of the topic. */ topicId: pulumi.Input<string>; }