UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

121 lines (120 loc) 2.89 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls log histograms * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getLogHistograms({ * endTime: 1768450896000, * interval: 60000, * query: "*", * startTime: 1768448896000, * topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a", * }); * ``` */ export declare function getLogHistograms(args: GetLogHistogramsArgs, opts?: pulumi.InvokeOptions): Promise<GetLogHistogramsResult>; /** * A collection of arguments for invoking getLogHistograms. */ export interface GetLogHistogramsArgs { /** * The end time. */ endTime: number; /** * The interval. */ interval?: number; /** * The query statement. */ query: string; /** * The start time. */ startTime: number; /** * The topic id. */ topicId: string; } /** * A collection of values returned by getLogHistograms. */ export interface GetLogHistogramsResult { /** * The end time. */ readonly endTime: number; /** * The histogram info. */ readonly histogramInfos: outputs.tls.GetLogHistogramsHistogramInfo[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly interval?: number; readonly query: string; /** * The result status. */ readonly resultStatus: string; /** * The start time. */ readonly startTime: number; readonly topicId: string; /** * The total count. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tls log histograms * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getLogHistograms({ * endTime: 1768450896000, * interval: 60000, * query: "*", * startTime: 1768448896000, * topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a", * }); * ``` */ export declare function getLogHistogramsOutput(args: GetLogHistogramsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLogHistogramsResult>; /** * A collection of arguments for invoking getLogHistograms. */ export interface GetLogHistogramsOutputArgs { /** * The end time. */ endTime: pulumi.Input<number>; /** * The interval. */ interval?: pulumi.Input<number>; /** * The query statement. */ query: pulumi.Input<string>; /** * The start time. */ startTime: pulumi.Input<number>; /** * The topic id. */ topicId: pulumi.Input<string>; }