Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Use this data source to query detailed information of tls download tasks
Example Usage
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",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.tls.get_download_tasks(task_name="tf-test-download",
topic_id="3c57a110-399a-43b3-bc3c-5d60e065239a")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.GetDownloadTasks(ctx, &tls.GetDownloadTasksArgs{
TaskName: pulumi.StringRef("tf-test-download"),
TopicId: pulumi.StringRef("3c57a110-399a-43b3-bc3c-5d60e065239a"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Tls.GetDownloadTasks.Invoke(new()
{
TaskName = "tf-test-download",
TopicId = "3c57a110-399a-43b3-bc3c-5d60e065239a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tls.TlsFunctions;
import com.pulumi.volcengine.tls.inputs.GetDownloadTasksArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = TlsFunctions.getDownloadTasks(GetDownloadTasksArgs.builder()
.taskName("tf-test-download")
.topicId("3c57a110-399a-43b3-bc3c-5d60e065239a")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:tls:getDownloadTasks
Arguments:
taskName: tf-test-download
topicId: 3c57a110-399a-43b3-bc3c-5d60e065239a
Using getDownloadTasks
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDownloadTasks(args: GetDownloadTasksArgs, opts?: InvokeOptions): Promise<GetDownloadTasksResult>
function getDownloadTasksOutput(args: GetDownloadTasksOutputArgs, opts?: InvokeOptions): Output<GetDownloadTasksResult>def get_download_tasks(ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
task_name: Optional[str] = None,
topic_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDownloadTasksResult
def get_download_tasks_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
task_name: Optional[pulumi.Input[str]] = None,
topic_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDownloadTasksResult]func GetDownloadTasks(ctx *Context, args *GetDownloadTasksArgs, opts ...InvokeOption) (*GetDownloadTasksResult, error)
func GetDownloadTasksOutput(ctx *Context, args *GetDownloadTasksOutputArgs, opts ...InvokeOption) GetDownloadTasksResultOutput> Note: This function is named GetDownloadTasks in the Go SDK.
public static class GetDownloadTasks
{
public static Task<GetDownloadTasksResult> InvokeAsync(GetDownloadTasksArgs args, InvokeOptions? opts = null)
public static Output<GetDownloadTasksResult> Invoke(GetDownloadTasksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDownloadTasksResult> getDownloadTasks(GetDownloadTasksArgs args, InvokeOptions options)
public static Output<GetDownloadTasksResult> getDownloadTasks(GetDownloadTasksArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls/getDownloadTasks:getDownloadTasks
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of download task IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Task
Name string - The name of the download task.
- Topic
Id string - The ID of the log topic to which the download tasks belong.
- Ids []string
- A list of download task IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Task
Name string - The name of the download task.
- Topic
Id string - The ID of the log topic to which the download tasks belong.
- ids List<String>
- A list of download task IDs.
- output
File String - File name where to save data source results (after running
pulumi preview). - task
Name String - The name of the download task.
- topic
Id String - The ID of the log topic to which the download tasks belong.
- ids string[]
- A list of download task IDs.
- output
File string - File name where to save data source results (after running
pulumi preview). - task
Name string - The name of the download task.
- topic
Id string - The ID of the log topic to which the download tasks belong.
- ids Sequence[str]
- A list of download task IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview). - task_
name str - The name of the download task.
- topic_
id str - The ID of the log topic to which the download tasks belong.
- ids List<String>
- A list of download task IDs.
- output
File String - File name where to save data source results (after running
pulumi preview). - task
Name String - The name of the download task.
- topic
Id String - The ID of the log topic to which the download tasks belong.
getDownloadTasks Result
The following output properties are available:
- Download
Tasks List<GetDownload Tasks Download Task> - The collection of download task results.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of download tasks queried.
- Ids List<string>
- Output
File string - Task
Name string - The name of the download task.
- Topic
Id string - The ID of the log topic to which the download task belongs.
- Download
Tasks []GetDownload Tasks Download Task - The collection of download task results.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of download tasks queried.
- Ids []string
- Output
File string - Task
Name string - The name of the download task.
- Topic
Id string - The ID of the log topic to which the download task belongs.
- download
Tasks List<GetDownload Tasks Download Task> - The collection of download task results.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of download tasks queried.
- ids List<String>
- output
File String - task
Name String - The name of the download task.
- topic
Id String - The ID of the log topic to which the download task belongs.
- download
Tasks GetDownload Tasks Download Task[] - The collection of download task results.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of download tasks queried.
- ids string[]
- output
File string - task
Name string - The name of the download task.
- topic
Id string - The ID of the log topic to which the download task belongs.
- download_
tasks Sequence[GetDownload Tasks Download Task] - The collection of download task results.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of download tasks queried.
- ids Sequence[str]
- output_
file str - task_
name str - The name of the download task.
- topic_
id str - The ID of the log topic to which the download task belongs.
- download
Tasks List<Property Map> - The collection of download task results.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of download tasks queried.
- ids List<String>
- output
File String - task
Name String - The name of the download task.
- topic
Id String - The ID of the log topic to which the download task belongs.
Supporting Types
GetDownloadTasksDownloadTask
- Allow
Incomplete bool - Whether to allow incomplete download.
- Compression string
- The compression format of the downloaded file.
- Create
Time string - The create time of the download task.
- Data
Format string - The data format of the downloaded file.
- Download
Url string - The download URL for the completed task.
- End
Time int - The end time of the log data to download, in Unix timestamp format.
- Limit int
- The maximum number of log entries to download.
- Log
Context List<GetInfos Download Tasks Download Task Log Context Info> - The info of the log context.
- Log
Count int - The number of the downloaded logs.
- Log
Size int - The size of the downloaded log data.
- Query string
- The query statement for the download task.
- Sort string
- The sorting order of the log data.
- Start
Time int - The start time of the log data to download, in Unix timestamp format.
- Task
Id string - The ID of the download task.
- Task
Name string - The name of the download task.
- Task
Status string - The status of the download task.
- Task
Type int - The type of the download task.
- Topic
Id string - The ID of the log topic to which the download tasks belong.
- Allow
Incomplete bool - Whether to allow incomplete download.
- Compression string
- The compression format of the downloaded file.
- Create
Time string - The create time of the download task.
- Data
Format string - The data format of the downloaded file.
- Download
Url string - The download URL for the completed task.
- End
Time int - The end time of the log data to download, in Unix timestamp format.
- Limit int
- The maximum number of log entries to download.
- Log
Context []GetInfos Download Tasks Download Task Log Context Info - The info of the log context.
- Log
Count int - The number of the downloaded logs.
- Log
Size int - The size of the downloaded log data.
- Query string
- The query statement for the download task.
- Sort string
- The sorting order of the log data.
- Start
Time int - The start time of the log data to download, in Unix timestamp format.
- Task
Id string - The ID of the download task.
- Task
Name string - The name of the download task.
- Task
Status string - The status of the download task.
- Task
Type int - The type of the download task.
- Topic
Id string - The ID of the log topic to which the download tasks belong.
- allow
Incomplete Boolean - Whether to allow incomplete download.
- compression String
- The compression format of the downloaded file.
- create
Time String - The create time of the download task.
- data
Format String - The data format of the downloaded file.
- download
Url String - The download URL for the completed task.
- end
Time Integer - The end time of the log data to download, in Unix timestamp format.
- limit Integer
- The maximum number of log entries to download.
- log
Context List<GetInfos Download Tasks Download Task Log Context Info> - The info of the log context.
- log
Count Integer - The number of the downloaded logs.
- log
Size Integer - The size of the downloaded log data.
- query String
- The query statement for the download task.
- sort String
- The sorting order of the log data.
- start
Time Integer - The start time of the log data to download, in Unix timestamp format.
- task
Id String - The ID of the download task.
- task
Name String - The name of the download task.
- task
Status String - The status of the download task.
- task
Type Integer - The type of the download task.
- topic
Id String - The ID of the log topic to which the download tasks belong.
- allow
Incomplete boolean - Whether to allow incomplete download.
- compression string
- The compression format of the downloaded file.
- create
Time string - The create time of the download task.
- data
Format string - The data format of the downloaded file.
- download
Url string - The download URL for the completed task.
- end
Time number - The end time of the log data to download, in Unix timestamp format.
- limit number
- The maximum number of log entries to download.
- log
Context GetInfos Download Tasks Download Task Log Context Info[] - The info of the log context.
- log
Count number - The number of the downloaded logs.
- log
Size number - The size of the downloaded log data.
- query string
- The query statement for the download task.
- sort string
- The sorting order of the log data.
- start
Time number - The start time of the log data to download, in Unix timestamp format.
- task
Id string - The ID of the download task.
- task
Name string - The name of the download task.
- task
Status string - The status of the download task.
- task
Type number - The type of the download task.
- topic
Id string - The ID of the log topic to which the download tasks belong.
- allow_
incomplete bool - Whether to allow incomplete download.
- compression str
- The compression format of the downloaded file.
- create_
time str - The create time of the download task.
- data_
format str - The data format of the downloaded file.
- download_
url str - The download URL for the completed task.
- end_
time int - The end time of the log data to download, in Unix timestamp format.
- limit int
- The maximum number of log entries to download.
- log_
context_ Sequence[Getinfos Download Tasks Download Task Log Context Info] - The info of the log context.
- log_
count int - The number of the downloaded logs.
- log_
size int - The size of the downloaded log data.
- query str
- The query statement for the download task.
- sort str
- The sorting order of the log data.
- start_
time int - The start time of the log data to download, in Unix timestamp format.
- task_
id str - The ID of the download task.
- task_
name str - The name of the download task.
- task_
status str - The status of the download task.
- task_
type int - The type of the download task.
- topic_
id str - The ID of the log topic to which the download tasks belong.
- allow
Incomplete Boolean - Whether to allow incomplete download.
- compression String
- The compression format of the downloaded file.
- create
Time String - The create time of the download task.
- data
Format String - The data format of the downloaded file.
- download
Url String - The download URL for the completed task.
- end
Time Number - The end time of the log data to download, in Unix timestamp format.
- limit Number
- The maximum number of log entries to download.
- log
Context List<Property Map>Infos - The info of the log context.
- log
Count Number - The number of the downloaded logs.
- log
Size Number - The size of the downloaded log data.
- query String
- The query statement for the download task.
- sort String
- The sorting order of the log data.
- start
Time Number - The start time of the log data to download, in Unix timestamp format.
- task
Id String - The ID of the download task.
- task
Name String - The name of the download task.
- task
Status String - The status of the download task.
- task
Type Number - The type of the download task.
- topic
Id String - The ID of the log topic to which the download tasks belong.
GetDownloadTasksDownloadTaskLogContextInfo
- Context
Flow string - The context flow of the log.
- Package
Offset int - The package offset of the log.
- Source string
- The source of the log.
- Context
Flow string - The context flow of the log.
- Package
Offset int - The package offset of the log.
- Source string
- The source of the log.
- context
Flow String - The context flow of the log.
- package
Offset Integer - The package offset of the log.
- source String
- The source of the log.
- context
Flow string - The context flow of the log.
- package
Offset number - The package offset of the log.
- source string
- The source of the log.
- context_
flow str - The context flow of the log.
- package_
offset int - The package offset of the log.
- source str
- The source of the log.
- context
Flow String - The context flow of the log.
- package
Offset Number - The package offset of the log.
- source String
- The source of the log.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
