@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
123 lines (122 loc) • 3.07 kB
TypeScript
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",
* });
* ```
*/
/** @deprecated volcengine.tls.LogHistograms has been deprecated in favor of volcengine.tls.getLogHistograms */
export declare function logHistograms(args: LogHistogramsArgs, opts?: pulumi.InvokeOptions): Promise<LogHistogramsResult>;
/**
* A collection of arguments for invoking LogHistograms.
*/
export interface LogHistogramsArgs {
/**
* 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 LogHistograms.
*/
export interface LogHistogramsResult {
/**
* The end time.
*/
readonly endTime: number;
/**
* The histogram info.
*/
readonly histogramInfos: outputs.tls.LogHistogramsHistogramInfo[];
/**
* 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",
* });
* ```
*/
/** @deprecated volcengine.tls.LogHistograms has been deprecated in favor of volcengine.tls.getLogHistograms */
export declare function logHistogramsOutput(args: LogHistogramsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LogHistogramsResult>;
/**
* A collection of arguments for invoking LogHistograms.
*/
export interface LogHistogramsOutputArgs {
/**
* 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>;
}