@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
62 lines • 2.1 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLogSearchesOutput = exports.getLogSearches = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* 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",
* });
* ```
*/
function getLogSearches(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("volcengine:tls/getLogSearches:getLogSearches", {
"accurateQuery": args.accurateQuery,
"context": args.context,
"endTime": args.endTime,
"highlight": args.highlight,
"limit": args.limit,
"outputFile": args.outputFile,
"query": args.query,
"sort": args.sort,
"startTime": args.startTime,
"topicId": args.topicId,
}, opts);
}
exports.getLogSearches = getLogSearches;
/**
* 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",
* });
* ```
*/
function getLogSearchesOutput(args, opts) {
return pulumi.output(args).apply((a) => getLogSearches(a, opts));
}
exports.getLogSearchesOutput = getLogSearchesOutput;
//# sourceMappingURL=getLogSearches.js.map