tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack
tencentcloud.getDlcTaskResult
Explore with Pulumi AI
tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack
Use this data source to query detailed information of DLC task result
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getDlcTaskResult({
taskId: "fdd9c5fa21ca11eca6fb5254006c64af",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_dlc_task_result(task_id="fdd9c5fa21ca11eca6fb5254006c64af")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetDlcTaskResult(ctx, &tencentcloud.GetDlcTaskResultArgs{
TaskId: "fdd9c5fa21ca11eca6fb5254006c64af",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetDlcTaskResult.Invoke(new()
{
TaskId = "fdd9c5fa21ca11eca6fb5254006c64af",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetDlcTaskResultArgs;
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 example = TencentcloudFunctions.getDlcTaskResult(GetDlcTaskResultArgs.builder()
.taskId("fdd9c5fa21ca11eca6fb5254006c64af")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getDlcTaskResult
arguments:
taskId: fdd9c5fa21ca11eca6fb5254006c64af
Using getDlcTaskResult
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 getDlcTaskResult(args: GetDlcTaskResultArgs, opts?: InvokeOptions): Promise<GetDlcTaskResultResult>
function getDlcTaskResultOutput(args: GetDlcTaskResultOutputArgs, opts?: InvokeOptions): Output<GetDlcTaskResultResult>
def get_dlc_task_result(id: Optional[str] = None,
is_transform_data_type: Optional[bool] = None,
max_results: Optional[float] = None,
next_token: Optional[str] = None,
result_output_file: Optional[str] = None,
task_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDlcTaskResultResult
def get_dlc_task_result_output(id: Optional[pulumi.Input[str]] = None,
is_transform_data_type: Optional[pulumi.Input[bool]] = None,
max_results: Optional[pulumi.Input[float]] = None,
next_token: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
task_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDlcTaskResultResult]
func GetDlcTaskResult(ctx *Context, args *GetDlcTaskResultArgs, opts ...InvokeOption) (*GetDlcTaskResultResult, error)
func GetDlcTaskResultOutput(ctx *Context, args *GetDlcTaskResultOutputArgs, opts ...InvokeOption) GetDlcTaskResultResultOutput
> Note: This function is named GetDlcTaskResult
in the Go SDK.
public static class GetDlcTaskResult
{
public static Task<GetDlcTaskResultResult> InvokeAsync(GetDlcTaskResultArgs args, InvokeOptions? opts = null)
public static Output<GetDlcTaskResultResult> Invoke(GetDlcTaskResultInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDlcTaskResultResult> getDlcTaskResult(GetDlcTaskResultArgs args, InvokeOptions options)
public static Output<GetDlcTaskResultResult> getDlcTaskResult(GetDlcTaskResultArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDlcTaskResult:getDlcTaskResult
arguments:
# arguments dictionary
The following arguments are supported:
- Task
Id string - Unique task ID.
- Id string
- Is
Transform boolData Type - Whether to convert the data type.
- Max
Results double - Maximum number of returned rows. Value range: 0-1,000. Default value: 1,000.
- Next
Token string - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - Result
Output stringFile - Used to save results.
- Task
Id string - Unique task ID.
- Id string
- Is
Transform boolData Type - Whether to convert the data type.
- Max
Results float64 - Maximum number of returned rows. Value range: 0-1,000. Default value: 1,000.
- Next
Token string - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - Result
Output stringFile - Used to save results.
- task
Id String - Unique task ID.
- id String
- is
Transform BooleanData Type - Whether to convert the data type.
- max
Results Double - Maximum number of returned rows. Value range: 0-1,000. Default value: 1,000.
- next
Token String - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - result
Output StringFile - Used to save results.
- task
Id string - Unique task ID.
- id string
- is
Transform booleanData Type - Whether to convert the data type.
- max
Results number - Maximum number of returned rows. Value range: 0-1,000. Default value: 1,000.
- next
Token string - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - result
Output stringFile - Used to save results.
- task_
id str - Unique task ID.
- id str
- is_
transform_ booldata_ type - Whether to convert the data type.
- max_
results float - Maximum number of returned rows. Value range: 0-1,000. Default value: 1,000.
- next_
token str - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - result_
output_ strfile - Used to save results.
- task
Id String - Unique task ID.
- id String
- is
Transform BooleanData Type - Whether to convert the data type.
- max
Results Number - Maximum number of returned rows. Value range: 0-1,000. Default value: 1,000.
- next
Token String - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - result
Output StringFile - Used to save results.
getDlcTaskResult Result
The following output properties are available:
- Id string
- Task
Id string - Task
Infos List<GetDlc Task Result Task Info> - The queried task information. If the returned value is empty, the task with the entered task ID does not exist. The task result will be returned only if the task status is
2
(succeeded). Note: This field may return null, indicating that no valid values can be obtained. - Is
Transform boolData Type - Max
Results double - Next
Token string - Result
Output stringFile
- Id string
- Task
Id string - Task
Infos []GetDlc Task Result Task Info - The queried task information. If the returned value is empty, the task with the entered task ID does not exist. The task result will be returned only if the task status is
2
(succeeded). Note: This field may return null, indicating that no valid values can be obtained. - Is
Transform boolData Type - Max
Results float64 - Next
Token string - Result
Output stringFile
- id String
- task
Id String - task
Infos List<GetDlc Task Result Task Info> - The queried task information. If the returned value is empty, the task with the entered task ID does not exist. The task result will be returned only if the task status is
2
(succeeded). Note: This field may return null, indicating that no valid values can be obtained. - is
Transform BooleanData Type - max
Results Double - next
Token String - result
Output StringFile
- id string
- task
Id string - task
Infos GetDlc Task Result Task Info[] - The queried task information. If the returned value is empty, the task with the entered task ID does not exist. The task result will be returned only if the task status is
2
(succeeded). Note: This field may return null, indicating that no valid values can be obtained. - is
Transform booleanData Type - max
Results number - next
Token string - result
Output stringFile
- id str
- task_
id str - task_
infos Sequence[GetDlc Task Result Task Info] - The queried task information. If the returned value is empty, the task with the entered task ID does not exist. The task result will be returned only if the task status is
2
(succeeded). Note: This field may return null, indicating that no valid values can be obtained. - is_
transform_ booldata_ type - max_
results float - next_
token str - result_
output_ strfile
- id String
- task
Id String - task
Infos List<Property Map> - The queried task information. If the returned value is empty, the task with the entered task ID does not exist. The task result will be returned only if the task status is
2
(succeeded). Note: This field may return null, indicating that no valid values can be obtained. - is
Transform BooleanData Type - max
Results Number - next
Token String - result
Output StringFile
Supporting Types
GetDlcTaskResultTaskInfo
- Create
Time string - Data
Amount double - Database
Name string - Datasource
Connection stringName - Display
Format string - Next
Token string - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - Output
Message string - Output
Path string - Percentage double
- Progress
Detail string - Query
Result doubleTime - Result
Schemas List<GetDlc Task Result Task Info Result Schema> - Result
Set string - Row
Affect stringInfo - Sql string
- Sql
Type string - State double
- Task
Id string - Unique task ID.
- Total
Time double - Used
Time double
- Create
Time string - Data
Amount float64 - Database
Name string - Datasource
Connection stringName - Display
Format string - Next
Token string - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - Output
Message string - Output
Path string - Percentage float64
- Progress
Detail string - Query
Result float64Time - Result
Schemas []GetDlc Task Result Task Info Result Schema - Result
Set string - Row
Affect stringInfo - Sql string
- Sql
Type string - State float64
- Task
Id string - Unique task ID.
- Total
Time float64 - Used
Time float64
- create
Time String - data
Amount Double - database
Name String - datasource
Connection StringName - display
Format String - next
Token String - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - output
Message String - output
Path String - percentage Double
- progress
Detail String - query
Result DoubleTime - result
Schemas List<GetDlc Task Result Task Info Result Schema> - result
Set String - row
Affect StringInfo - sql String
- sql
Type String - state Double
- task
Id String - Unique task ID.
- total
Time Double - used
Time Double
- create
Time string - data
Amount number - database
Name string - datasource
Connection stringName - display
Format string - next
Token string - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - output
Message string - output
Path string - percentage number
- progress
Detail string - query
Result numberTime - result
Schemas GetDlc Task Result Task Info Result Schema[] - result
Set string - row
Affect stringInfo - sql string
- sql
Type string - state number
- task
Id string - Unique task ID.
- total
Time number - used
Time number
- create_
time str - data_
amount float - database_
name str - datasource_
connection_ strname - display_
format str - next_
token str - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - output_
message str - output_
path str - percentage float
- progress_
detail str - query_
result_ floattime - result_
schemas Sequence[GetDlc Task Result Task Info Result Schema] - result_
set str - row_
affect_ strinfo - sql str
- sql_
type str - state float
- task_
id str - Unique task ID.
- total_
time float - used_
time float
- create
Time String - data
Amount Number - database
Name String - datasource
Connection StringName - display
Format String - next
Token String - The pagination information returned by the last response. This parameter can be omitted for the first response, where the data will be returned from the beginning. The data with a volume set by the
MaxResults
field is returned each time. - output
Message String - output
Path String - percentage Number
- progress
Detail String - query
Result NumberTime - result
Schemas List<Property Map> - result
Set String - row
Affect StringInfo - sql String
- sql
Type String - state Number
- task
Id String - Unique task ID.
- total
Time Number - used
Time Number
GetDlcTaskResultTaskInfoResultSchema
- Comment string
- Create
Time string - Is
Partition bool - Modified
Time string - Name string
- Nullable string
- Position double
- Precision double
- Scale double
- Type string
- Comment string
- Create
Time string - Is
Partition bool - Modified
Time string - Name string
- Nullable string
- Position float64
- Precision float64
- Scale float64
- Type string
- comment String
- create
Time String - is
Partition Boolean - modified
Time String - name String
- nullable String
- position Double
- precision Double
- scale Double
- type String
- comment string
- create
Time string - is
Partition boolean - modified
Time string - name string
- nullable string
- position number
- precision number
- scale number
- type string
- comment str
- create_
time str - is_
partition bool - modified_
time str - name str
- nullable str
- position float
- precision float
- scale float
- type str
- comment String
- create
Time String - is
Partition Boolean - modified
Time String - name String
- nullable String
- position Number
- precision Number
- scale Number
- type String
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.82.17 published on Thursday, Aug 14, 2025 by tencentcloudstack