@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
104 lines (103 loc) • 3.05 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls download tasks
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.tls.getDownloadTasks({
* topicId: "8ba48bd7-2493-4300-b1d0-cb760b89e51b",
* taskName: "tf-test-download-task",
* });
* export const downloadTasks = foo.then(foo => foo.downloadTasks);
* ```
*/
export declare function getDownloadTasks(args?: GetDownloadTasksArgs, opts?: pulumi.InvokeOptions): Promise<GetDownloadTasksResult>;
/**
* A collection of arguments for invoking getDownloadTasks.
*/
export interface GetDownloadTasksArgs {
/**
* A list of download task IDs.
*/
ids?: string[];
/**
* File name where to save data source results (after running `pulumi preview`).
*/
outputFile?: string;
/**
* The name of the download task.
*/
taskName?: string;
/**
* The ID of the log topic to which the download tasks belong.
*/
topicId?: string;
}
/**
* A collection of values returned by getDownloadTasks.
*/
export interface GetDownloadTasksResult {
/**
* The collection of download task results.
*/
readonly downloadTasks: outputs.tls.GetDownloadTasksDownloadTask[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
readonly outputFile?: string;
/**
* The name of the download task.
*/
readonly taskName?: string;
/**
* The ID of the log topic to which the download task belongs.
*/
readonly topicId?: string;
/**
* The total count of download tasks queried.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of tls download tasks
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.tls.getDownloadTasks({
* topicId: "8ba48bd7-2493-4300-b1d0-cb760b89e51b",
* taskName: "tf-test-download-task",
* });
* export const downloadTasks = foo.then(foo => foo.downloadTasks);
* ```
*/
export declare function getDownloadTasksOutput(args?: GetDownloadTasksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDownloadTasksResult>;
/**
* A collection of arguments for invoking getDownloadTasks.
*/
export interface GetDownloadTasksOutputArgs {
/**
* A list of download task IDs.
*/
ids?: pulumi.Input<pulumi.Input<string>[]>;
/**
* File name where to save data source results (after running `pulumi preview`).
*/
outputFile?: pulumi.Input<string>;
/**
* The name of the download task.
*/
taskName?: pulumi.Input<string>;
/**
* The ID of the log topic to which the download tasks belong.
*/
topicId?: pulumi.Input<string>;
}