@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
94 lines (93 loc) • 2.78 kB
TypeScript
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,
* });
* ```
*/
export declare function getDownloadUrls(args: GetDownloadUrlsArgs, opts?: pulumi.InvokeOptions): Promise<GetDownloadUrlsResult>;
/**
* A collection of arguments for invoking getDownloadUrls.
*/
export interface GetDownloadUrlsArgs {
/**
* The ID of the download task.
*/
taskId: string;
}
/**
* A collection of values returned by getDownloadUrls.
*/
export interface GetDownloadUrlsResult {
/**
* 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,
* });
* ```
*/
export declare function getDownloadUrlsOutput(args: GetDownloadUrlsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDownloadUrlsResult>;
/**
* A collection of arguments for invoking getDownloadUrls.
*/
export interface GetDownloadUrlsOutputArgs {
/**
* The ID of the download task.
*/
taskId: pulumi.Input<string>;
}