tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getMpsTasks
Start a Neo task
Explain and create a tencentcloud.getMpsTasks resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of mps tasks
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const tasks = tencentcloud.getMpsTasks({
status: "FINISH",
limit: 20,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
tasks = tencentcloud.get_mps_tasks(status="FINISH",
limit=20)
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.GetMpsTasks(ctx, &tencentcloud.GetMpsTasksArgs{
Status: "FINISH",
Limit: pulumi.Float64Ref(20),
}, 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 tasks = Tencentcloud.GetMpsTasks.Invoke(new()
{
Status = "FINISH",
Limit = 20,
});
});
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.GetMpsTasksArgs;
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 tasks = TencentcloudFunctions.getMpsTasks(GetMpsTasksArgs.builder()
.status("FINISH")
.limit(20)
.build());
}
}
variables:
tasks:
fn::invoke:
function: tencentcloud:getMpsTasks
arguments:
status: FINISH
limit: 20
Using getMpsTasks
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 getMpsTasks(args: GetMpsTasksArgs, opts?: InvokeOptions): Promise<GetMpsTasksResult>
function getMpsTasksOutput(args: GetMpsTasksOutputArgs, opts?: InvokeOptions): Output<GetMpsTasksResult>def get_mps_tasks(id: Optional[str] = None,
limit: Optional[float] = None,
result_output_file: Optional[str] = None,
scroll_token: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMpsTasksResult
def get_mps_tasks_output(id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
scroll_token: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMpsTasksResult]func GetMpsTasks(ctx *Context, args *GetMpsTasksArgs, opts ...InvokeOption) (*GetMpsTasksResult, error)
func GetMpsTasksOutput(ctx *Context, args *GetMpsTasksOutputArgs, opts ...InvokeOption) GetMpsTasksResultOutput> Note: This function is named GetMpsTasks in the Go SDK.
public static class GetMpsTasks
{
public static Task<GetMpsTasksResult> InvokeAsync(GetMpsTasksArgs args, InvokeOptions? opts = null)
public static Output<GetMpsTasksResult> Invoke(GetMpsTasksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMpsTasksResult> getMpsTasks(GetMpsTasksArgs args, InvokeOptions options)
public static Output<GetMpsTasksResult> getMpsTasks(GetMpsTasksArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMpsTasks:getMpsTasks
arguments:
# arguments dictionaryThe following arguments are supported:
- Status string
- Filter condition: task status, optional values: WAITING, PROCESSING, FINISH.
- Id string
- Limit double
- Return the number of records, default value: 10, maximum value: 100.
- Result
Output stringFile - Used to save results.
- Scroll
Token string - Page turning flag, used when pulling in batches: when a single request cannot pull all the data, the interface will return a ScrollToken, and the next request will carry this Token, and it will be obtained from the next record.
- Status string
- Filter condition: task status, optional values: WAITING, PROCESSING, FINISH.
- Id string
- Limit float64
- Return the number of records, default value: 10, maximum value: 100.
- Result
Output stringFile - Used to save results.
- Scroll
Token string - Page turning flag, used when pulling in batches: when a single request cannot pull all the data, the interface will return a ScrollToken, and the next request will carry this Token, and it will be obtained from the next record.
- status String
- Filter condition: task status, optional values: WAITING, PROCESSING, FINISH.
- id String
- limit Double
- Return the number of records, default value: 10, maximum value: 100.
- result
Output StringFile - Used to save results.
- scroll
Token String - Page turning flag, used when pulling in batches: when a single request cannot pull all the data, the interface will return a ScrollToken, and the next request will carry this Token, and it will be obtained from the next record.
- status string
- Filter condition: task status, optional values: WAITING, PROCESSING, FINISH.
- id string
- limit number
- Return the number of records, default value: 10, maximum value: 100.
- result
Output stringFile - Used to save results.
- scroll
Token string - Page turning flag, used when pulling in batches: when a single request cannot pull all the data, the interface will return a ScrollToken, and the next request will carry this Token, and it will be obtained from the next record.
- status str
- Filter condition: task status, optional values: WAITING, PROCESSING, FINISH.
- id str
- limit float
- Return the number of records, default value: 10, maximum value: 100.
- result_
output_ strfile - Used to save results.
- scroll_
token str - Page turning flag, used when pulling in batches: when a single request cannot pull all the data, the interface will return a ScrollToken, and the next request will carry this Token, and it will be obtained from the next record.
- status String
- Filter condition: task status, optional values: WAITING, PROCESSING, FINISH.
- id String
- limit Number
- Return the number of records, default value: 10, maximum value: 100.
- result
Output StringFile - Used to save results.
- scroll
Token String - Page turning flag, used when pulling in batches: when a single request cannot pull all the data, the interface will return a ScrollToken, and the next request will carry this Token, and it will be obtained from the next record.
getMpsTasks Result
The following output properties are available:
- Id string
- Scroll
Token string - Status string
- Task
Sets List<GetMps Tasks Task Set> - Task list.
- Limit double
- Result
Output stringFile
- Id string
- Scroll
Token string - Status string
- Task
Sets []GetMps Tasks Task Set - Task list.
- Limit float64
- Result
Output stringFile
- id String
- scroll
Token String - status String
- task
Sets List<GetMps Tasks Task Set> - Task list.
- limit Double
- result
Output StringFile
- id string
- scroll
Token string - status string
- task
Sets GetMps Tasks Task Set[] - Task list.
- limit number
- result
Output stringFile
- id str
- scroll_
token str - status str
- task_
sets Sequence[GetMps Tasks Task Set] - Task list.
- limit float
- result_
output_ strfile
- id String
- scroll
Token String - status String
- task
Sets List<Property Map> - Task list.
- limit Number
- result
Output StringFile
Supporting Types
GetMpsTasksTaskSet
- Begin
Process stringTime - Begin process time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not started yet, this field is: 0000-00-00T00:00:00Z.
- Create
Time string - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- Finish
Time string - Task finish time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not been completed, this field is: 0000-00-00T00:00:00Z.
- Sub
Task List<string>Types - Sub task types.
- Task
Id string - Task ID.
- Task
Type string - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- Begin
Process stringTime - Begin process time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not started yet, this field is: 0000-00-00T00:00:00Z.
- Create
Time string - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- Finish
Time string - Task finish time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not been completed, this field is: 0000-00-00T00:00:00Z.
- Sub
Task []stringTypes - Sub task types.
- Task
Id string - Task ID.
- Task
Type string - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- begin
Process StringTime - Begin process time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not started yet, this field is: 0000-00-00T00:00:00Z.
- create
Time String - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- finish
Time String - Task finish time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not been completed, this field is: 0000-00-00T00:00:00Z.
- sub
Task List<String>Types - Sub task types.
- task
Id String - Task ID.
- task
Type String - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- begin
Process stringTime - Begin process time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not started yet, this field is: 0000-00-00T00:00:00Z.
- create
Time string - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- finish
Time string - Task finish time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not been completed, this field is: 0000-00-00T00:00:00Z.
- sub
Task string[]Types - Sub task types.
- task
Id string - Task ID.
- task
Type string - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- begin_
process_ strtime - Begin process time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not started yet, this field is: 0000-00-00T00:00:00Z.
- create_
time str - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- finish_
time str - Task finish time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not been completed, this field is: 0000-00-00T00:00:00Z.
- sub_
task_ Sequence[str]types - Sub task types.
- task_
id str - Task ID.
- task_
type str - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- begin
Process StringTime - Begin process time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not started yet, this field is: 0000-00-00T00:00:00Z.
- create
Time String - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- finish
Time String - Task finish time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52. If the task has not been completed, this field is: 0000-00-00T00:00:00Z.
- sub
Task List<String>Types - Sub task types.
- task
Id String - Task ID.
- task
Type String - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
