@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
167 lines (166 loc) • 4.08 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 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",
* });
* ```
*/
/** @deprecated volcengine.tls.LogSearches has been deprecated in favor of volcengine.tls.getLogSearches */
export declare function logSearches(args: LogSearchesArgs, opts?: pulumi.InvokeOptions): Promise<LogSearchesResult>;
/**
* A collection of arguments for invoking LogSearches.
*/
export interface LogSearchesArgs {
/**
* 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 LogSearches.
*/
export interface LogSearchesResult {
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.LogSearchesLog[];
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",
* });
* ```
*/
/** @deprecated volcengine.tls.LogSearches has been deprecated in favor of volcengine.tls.getLogSearches */
export declare function logSearchesOutput(args: LogSearchesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LogSearchesResult>;
/**
* A collection of arguments for invoking LogSearches.
*/
export interface LogSearchesOutputArgs {
/**
* 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>;
}