@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
106 lines (105 loc) • 3.23 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);
* ```
*/
/** @deprecated volcengine.tls.DownloadTasks has been deprecated in favor of volcengine.tls.getDownloadTasks */
export declare function downloadTasks(args?: DownloadTasksArgs, opts?: pulumi.InvokeOptions): Promise<DownloadTasksResult>;
/**
* A collection of arguments for invoking DownloadTasks.
*/
export interface DownloadTasksArgs {
/**
* 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 DownloadTasks.
*/
export interface DownloadTasksResult {
/**
* The collection of download task results.
*/
readonly downloadTasks: outputs.tls.DownloadTasksDownloadTask[];
/**
* 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);
* ```
*/
/** @deprecated volcengine.tls.DownloadTasks has been deprecated in favor of volcengine.tls.getDownloadTasks */
export declare function downloadTasksOutput(args?: DownloadTasksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DownloadTasksResult>;
/**
* A collection of arguments for invoking DownloadTasks.
*/
export interface DownloadTasksOutputArgs {
/**
* 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>;
}