@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
104 lines (103 loc) • 3.09 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({
* taskName: "tf-test-download",
* topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
* });
* ```
*/
/** @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({
* taskName: "tf-test-download",
* topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
* });
* ```
*/
/** @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>;
}