@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
105 lines (104 loc) • 2.85 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 cursors
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getLogCursors({
* from: "begin",
* shardId: 0,
* topicId: "e101b8c8-77e7-4ae3-91c1-2532ee480e7d",
* });
* ```
*/
/** @deprecated volcengine.tls.LogCursors has been deprecated in favor of volcengine.tls.getLogCursors */
export declare function logCursors(args: LogCursorsArgs, opts?: pulumi.InvokeOptions): Promise<LogCursorsResult>;
/**
* A collection of arguments for invoking LogCursors.
*/
export interface LogCursorsArgs {
/**
* The time point of the cursor. The value is a Unix timestamp in seconds, or "begin" or "end".
*/
from: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The ID of the shard.
*/
shardId: number;
/**
* The ID of the topic.
*/
topicId: string;
}
/**
* A collection of values returned by LogCursors.
*/
export interface LogCursorsResult {
/**
* The time point of the cursor.
*/
readonly from: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The list of log cursors.
*/
readonly logCursors: outputs.tls.LogCursorsLogCursor[];
readonly outputFile?: string;
/**
* The ID of the shard.
*/
readonly shardId: number;
/**
* The ID of the topic.
*/
readonly topicId: string;
}
/**
* Use this data source to query detailed information of tls log cursors
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getLogCursors({
* from: "begin",
* shardId: 0,
* topicId: "e101b8c8-77e7-4ae3-91c1-2532ee480e7d",
* });
* ```
*/
/** @deprecated volcengine.tls.LogCursors has been deprecated in favor of volcengine.tls.getLogCursors */
export declare function logCursorsOutput(args: LogCursorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LogCursorsResult>;
/**
* A collection of arguments for invoking LogCursors.
*/
export interface LogCursorsOutputArgs {
/**
* The time point of the cursor. The value is a Unix timestamp in seconds, or "begin" or "end".
*/
from: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The ID of the shard.
*/
shardId: pulumi.Input<number>;
/**
* The ID of the topic.
*/
topicId: pulumi.Input<string>;
}