1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. tls
  6. getDownloadTask
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 2026 by Volcengine

    Data Source schema for Volcengine::TLS::DownloadTask

    Using getDownloadTask

    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 getDownloadTask(args: GetDownloadTaskArgs, opts?: InvokeOptions): Promise<GetDownloadTaskResult>
    function getDownloadTaskOutput(args: GetDownloadTaskOutputArgs, opts?: InvokeOptions): Output<GetDownloadTaskResult>
    def get_download_task(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetDownloadTaskResult
    def get_download_task_output(id: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetDownloadTaskResult]
    func LookupDownloadTask(ctx *Context, args *LookupDownloadTaskArgs, opts ...InvokeOption) (*LookupDownloadTaskResult, error)
    func LookupDownloadTaskOutput(ctx *Context, args *LookupDownloadTaskOutputArgs, opts ...InvokeOption) LookupDownloadTaskResultOutput

    > Note: This function is named LookupDownloadTask in the Go SDK.

    public static class GetDownloadTask 
    {
        public static Task<GetDownloadTaskResult> InvokeAsync(GetDownloadTaskArgs args, InvokeOptions? opts = null)
        public static Output<GetDownloadTaskResult> Invoke(GetDownloadTaskInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDownloadTaskResult> getDownloadTask(GetDownloadTaskArgs args, InvokeOptions options)
    public static Output<GetDownloadTaskResult> getDownloadTask(GetDownloadTaskArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:tls/getDownloadTask:getDownloadTask
      arguments:
        # arguments dictionary
    data "volcenginecc_tls_get_download_task" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getDownloadTask Result

    The following output properties are available:

    AllowIncomplete bool
    Whether to allow approximate results when the query statement cannot be calculated precisely.
    Compression string
    Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
    CreateTime string
    Download task creation time.
    DataFormat string
    Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
    EndTime int
    Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    EndTimeStr string
    Query end time.
    Id string
    Uniquely identifies the resource.
    Limit int
    Number of original log entries downloaded, or number of rows in the analysis result.
    LogContextInfos Volcengine.GetDownloadTaskLogContextInfos
    Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
    LogCount int
    Number of log entries included in the download task.
    LogSize int
    Total size of logs included in the download task, in bytes.
    MustComplete bool
    Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
    Query string
    Query statement for analysis, with a maximum length of 4 KiB.
    Sort string
    Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
    StartTime int
    Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    StartTimeStr string
    Query start time.
    TaskId string
    Download task ID.
    TaskName string
    Download task name. Length range: 1–63 characters.
    TaskStatus string
    Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
    TaskType int
    Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
    TopicId string
    Log topic ID to which the download task belongs.
    AllowIncomplete bool
    Whether to allow approximate results when the query statement cannot be calculated precisely.
    Compression string
    Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
    CreateTime string
    Download task creation time.
    DataFormat string
    Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
    EndTime int
    Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    EndTimeStr string
    Query end time.
    Id string
    Uniquely identifies the resource.
    Limit int
    Number of original log entries downloaded, or number of rows in the analysis result.
    LogContextInfos GetDownloadTaskLogContextInfos
    Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
    LogCount int
    Number of log entries included in the download task.
    LogSize int
    Total size of logs included in the download task, in bytes.
    MustComplete bool
    Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
    Query string
    Query statement for analysis, with a maximum length of 4 KiB.
    Sort string
    Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
    StartTime int
    Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    StartTimeStr string
    Query start time.
    TaskId string
    Download task ID.
    TaskName string
    Download task name. Length range: 1–63 characters.
    TaskStatus string
    Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
    TaskType int
    Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
    TopicId string
    Log topic ID to which the download task belongs.
    allow_incomplete bool
    Whether to allow approximate results when the query statement cannot be calculated precisely.
    compression string
    Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
    create_time string
    Download task creation time.
    data_format string
    Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
    end_time number
    Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    end_time_str string
    Query end time.
    id string
    Uniquely identifies the resource.
    limit number
    Number of original log entries downloaded, or number of rows in the analysis result.
    log_context_infos object
    Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
    log_count number
    Number of log entries included in the download task.
    log_size number
    Total size of logs included in the download task, in bytes.
    must_complete bool
    Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
    query string
    Query statement for analysis, with a maximum length of 4 KiB.
    sort string
    Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
    start_time number
    Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    start_time_str string
    Query start time.
    task_id string
    Download task ID.
    task_name string
    Download task name. Length range: 1–63 characters.
    task_status string
    Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
    task_type number
    Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
    topic_id string
    Log topic ID to which the download task belongs.
    allowIncomplete Boolean
    Whether to allow approximate results when the query statement cannot be calculated precisely.
    compression String
    Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
    createTime String
    Download task creation time.
    dataFormat String
    Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
    endTime Integer
    Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    endTimeStr String
    Query end time.
    id String
    Uniquely identifies the resource.
    limit Integer
    Number of original log entries downloaded, or number of rows in the analysis result.
    logContextInfos GetDownloadTaskLogContextInfos
    Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
    logCount Integer
    Number of log entries included in the download task.
    logSize Integer
    Total size of logs included in the download task, in bytes.
    mustComplete Boolean
    Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
    query String
    Query statement for analysis, with a maximum length of 4 KiB.
    sort String
    Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
    startTime Integer
    Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    startTimeStr String
    Query start time.
    taskId String
    Download task ID.
    taskName String
    Download task name. Length range: 1–63 characters.
    taskStatus String
    Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
    taskType Integer
    Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
    topicId String
    Log topic ID to which the download task belongs.
    allowIncomplete boolean
    Whether to allow approximate results when the query statement cannot be calculated precisely.
    compression string
    Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
    createTime string
    Download task creation time.
    dataFormat string
    Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
    endTime number
    Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    endTimeStr string
    Query end time.
    id string
    Uniquely identifies the resource.
    limit number
    Number of original log entries downloaded, or number of rows in the analysis result.
    logContextInfos GetDownloadTaskLogContextInfos
    Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
    logCount number
    Number of log entries included in the download task.
    logSize number
    Total size of logs included in the download task, in bytes.
    mustComplete boolean
    Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
    query string
    Query statement for analysis, with a maximum length of 4 KiB.
    sort string
    Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
    startTime number
    Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    startTimeStr string
    Query start time.
    taskId string
    Download task ID.
    taskName string
    Download task name. Length range: 1–63 characters.
    taskStatus string
    Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
    taskType number
    Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
    topicId string
    Log topic ID to which the download task belongs.
    allow_incomplete bool
    Whether to allow approximate results when the query statement cannot be calculated precisely.
    compression str
    Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
    create_time str
    Download task creation time.
    data_format str
    Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
    end_time int
    Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    end_time_str str
    Query end time.
    id str
    Uniquely identifies the resource.
    limit int
    Number of original log entries downloaded, or number of rows in the analysis result.
    log_context_infos GetDownloadTaskLogContextInfos
    Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
    log_count int
    Number of log entries included in the download task.
    log_size int
    Total size of logs included in the download task, in bytes.
    must_complete bool
    Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
    query str
    Query statement for analysis, with a maximum length of 4 KiB.
    sort str
    Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
    start_time int
    Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    start_time_str str
    Query start time.
    task_id str
    Download task ID.
    task_name str
    Download task name. Length range: 1–63 characters.
    task_status str
    Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
    task_type int
    Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
    topic_id str
    Log topic ID to which the download task belongs.
    allowIncomplete Boolean
    Whether to allow approximate results when the query statement cannot be calculated precisely.
    compression String
    Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
    createTime String
    Download task creation time.
    dataFormat String
    Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
    endTime Number
    Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    endTimeStr String
    Query end time.
    id String
    Uniquely identifies the resource.
    limit Number
    Number of original log entries downloaded, or number of rows in the analysis result.
    logContextInfos Property Map
    Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
    logCount Number
    Number of log entries included in the download task.
    logSize Number
    Total size of logs included in the download task, in bytes.
    mustComplete Boolean
    Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
    query String
    Query statement for analysis, with a maximum length of 4 KiB.
    sort String
    Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
    startTime Number
    Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
    startTimeStr String
    Query start time.
    taskId String
    Download task ID.
    taskName String
    Download task name. Length range: 1–63 characters.
    taskStatus String
    Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
    taskType Number
    Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
    topicId String
    Log topic ID to which the download task belongs.

    Supporting Types

    GetDownloadTaskLogContextInfos

    ContextFlow string
    LogGroup ID to which the log context belongs.
    PackageOffset int
    Specifies the log index in the LogGroup.
    Source string
    Host of the log source.
    ContextFlow string
    LogGroup ID to which the log context belongs.
    PackageOffset int
    Specifies the log index in the LogGroup.
    Source string
    Host of the log source.
    context_flow string
    LogGroup ID to which the log context belongs.
    package_offset number
    Specifies the log index in the LogGroup.
    source string
    Host of the log source.
    contextFlow String
    LogGroup ID to which the log context belongs.
    packageOffset Integer
    Specifies the log index in the LogGroup.
    source String
    Host of the log source.
    contextFlow string
    LogGroup ID to which the log context belongs.
    packageOffset number
    Specifies the log index in the LogGroup.
    source string
    Host of the log source.
    context_flow str
    LogGroup ID to which the log context belongs.
    package_offset int
    Specifies the log index in the LogGroup.
    source str
    Host of the log source.
    contextFlow String
    LogGroup ID to which the log context belongs.
    packageOffset Number
    Specifies the log index in the LogGroup.
    source String
    Host of the log source.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.50
    published on Monday, Jul 20, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial