@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
156 lines (155 loc) • 4.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls schedule sql tasks
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getScheduleSqlTasks({});
* ```
*/
export declare function getScheduleSqlTasks(args?: GetScheduleSqlTasksArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduleSqlTasksResult>;
/**
* A collection of arguments for invoking getScheduleSqlTasks.
*/
export interface GetScheduleSqlTasksArgs {
/**
* IAM log project name.
*/
iamProjectName?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The log project ID to which the source log topic belongs.
*/
projectId?: string;
/**
* The name of the log item to which the source log topic belongs.
*/
projectName?: string;
/**
* Source log topic name.
*/
sourceTopicName?: string;
/**
* Timed SQL analysis task status.
*/
status?: string;
/**
* Timed SQL analysis task ID.
*/
taskId?: string;
/**
* Timed SQL analysis task name.
*/
taskName?: string;
/**
* Source log topic ID.
*/
topicId?: string;
}
/**
* A collection of values returned by getScheduleSqlTasks.
*/
export interface GetScheduleSqlTasksResult {
readonly iamProjectName?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nameRegex?: string;
readonly outputFile?: string;
readonly projectId?: string;
readonly projectName?: string;
/**
* The name of the source log topic where the original log for timed SQL analysis is located.
*/
readonly sourceTopicName?: string;
/**
* Whether to start the scheduled SQL analysis task immediately after completing the task configuration.
*/
readonly status?: string;
/**
* Timed SQL analysis task ID.
*/
readonly taskId?: string;
/**
* Timed SQL analysis task name.
*/
readonly taskName?: string;
/**
* The List of timed SQL analysis tasks.
*/
readonly tasks: outputs.tls.GetScheduleSqlTasksTask[];
readonly topicId?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of tls schedule sql tasks
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getScheduleSqlTasks({});
* ```
*/
export declare function getScheduleSqlTasksOutput(args?: GetScheduleSqlTasksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetScheduleSqlTasksResult>;
/**
* A collection of arguments for invoking getScheduleSqlTasks.
*/
export interface GetScheduleSqlTasksOutputArgs {
/**
* IAM log project name.
*/
iamProjectName?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The log project ID to which the source log topic belongs.
*/
projectId?: pulumi.Input<string>;
/**
* The name of the log item to which the source log topic belongs.
*/
projectName?: pulumi.Input<string>;
/**
* Source log topic name.
*/
sourceTopicName?: pulumi.Input<string>;
/**
* Timed SQL analysis task status.
*/
status?: pulumi.Input<string>;
/**
* Timed SQL analysis task ID.
*/
taskId?: pulumi.Input<string>;
/**
* Timed SQL analysis task name.
*/
taskName?: pulumi.Input<string>;
/**
* Source log topic ID.
*/
topicId?: pulumi.Input<string>;
}