UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

96 lines (95 loc) 2.97 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to query detailed information of tls download urls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.tls.DownloadTask("foo", { * topicId: "36be6c75-0733-4bee-b63d-48e0eae37f87", * taskName: "tf-test-download-task", * query: "*", * startTime: 1740426022, * endTime: 1740626022, * compression: "gzip", * dataFormat: "json", * limit: 10000000, * sort: "desc", * allowIncomplete: false, * taskType: 1, * logContextInfos: {}, * }); * export const tlsDownloadTaskId = foo.taskId; * const default = volcengine.tls.getDownloadUrls({ * taskId: resource.volcengine_tls_download_task.foo.task_id, * }); * ``` */ /** @deprecated volcengine.tls.DownloadUrls has been deprecated in favor of volcengine.tls.getDownloadUrls */ export declare function downloadUrls(args: DownloadUrlsArgs, opts?: pulumi.InvokeOptions): Promise<DownloadUrlsResult>; /** * A collection of arguments for invoking DownloadUrls. */ export interface DownloadUrlsArgs { /** * The ID of the download task. */ taskId: string; } /** * A collection of values returned by DownloadUrls. */ export interface DownloadUrlsResult { /** * The download URL of the download task. */ readonly downloadUrl: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly taskId: string; } /** * Use this data source to query detailed information of tls download urls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.tls.DownloadTask("foo", { * topicId: "36be6c75-0733-4bee-b63d-48e0eae37f87", * taskName: "tf-test-download-task", * query: "*", * startTime: 1740426022, * endTime: 1740626022, * compression: "gzip", * dataFormat: "json", * limit: 10000000, * sort: "desc", * allowIncomplete: false, * taskType: 1, * logContextInfos: {}, * }); * export const tlsDownloadTaskId = foo.taskId; * const default = volcengine.tls.getDownloadUrls({ * taskId: resource.volcengine_tls_download_task.foo.task_id, * }); * ``` */ /** @deprecated volcengine.tls.DownloadUrls has been deprecated in favor of volcengine.tls.getDownloadUrls */ export declare function downloadUrlsOutput(args: DownloadUrlsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DownloadUrlsResult>; /** * A collection of arguments for invoking DownloadUrls. */ export interface DownloadUrlsOutputArgs { /** * The ID of the download task. */ taskId: pulumi.Input<string>; }