UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

53 lines 1.95 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getDownloadTasksOutput = exports.getDownloadTasks = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * 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); * ``` */ function getDownloadTasks(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:tls/getDownloadTasks:getDownloadTasks", { "ids": args.ids, "outputFile": args.outputFile, "taskName": args.taskName, "topicId": args.topicId, }, opts); } exports.getDownloadTasks = getDownloadTasks; /** * 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); * ``` */ function getDownloadTasksOutput(args, opts) { return pulumi.output(args).apply((a) => getDownloadTasks(a, opts)); } exports.getDownloadTasksOutput = getDownloadTasksOutput; //# sourceMappingURL=getDownloadTasks.js.map