tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getMpsTasks
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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({
limit: 20,
status: "FINISH",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
tasks = tencentcloud.get_mps_tasks(limit=20,
status="FINISH")
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{
Limit: pulumi.Float64Ref(20),
Status: "FINISH",
}, 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()
{
Limit = 20,
Status = "FINISH",
});
});
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()
.limit(20)
.status("FINISH")
.build());
}
}
variables:
tasks:
fn::invoke:
function: tencentcloud:getMpsTasks
arguments:
limit: 20
status: FINISH
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 dictionary
The following arguments are supported:
- Status
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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
This property is required. 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 Time This property is required. string - 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 This property is required. string - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- Finish
Time This property is required. 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 Types This property is required. List<string> - Sub task types.
- Task
Id This property is required. string - Task ID.
- Task
Type This property is required. string - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- Begin
Process Time This property is required. string - 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 This property is required. string - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- Finish
Time This property is required. 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 Types This property is required. []string - Sub task types.
- Task
Id This property is required. string - Task ID.
- Task
Type This property is required. string - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- begin
Process Time This property is required. String - 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 This property is required. String - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- finish
Time This property is required. 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 Types This property is required. List<String> - Sub task types.
- task
Id This property is required. String - Task ID.
- task
Type This property is required. String - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- begin
Process Time This property is required. string - 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 This property is required. string - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- finish
Time This property is required. 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 Types This property is required. string[] - Sub task types.
- task
Id This property is required. string - Task ID.
- task
Type This property is required. string - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- begin_
process_ time This property is required. str - 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 This property is required. str - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- finish_
time This property is required. 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_ types This property is required. Sequence[str] - Sub task types.
- task_
id This property is required. str - Task ID.
- task_
type This property is required. str - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
- begin
Process Time This property is required. String - 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 This property is required. String - Creation time, in ISO date format. Refer to https://cloud.tencent.com/document/product/862/37710#52.
- finish
Time This property is required. 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 Types This property is required. List<String> - Sub task types.
- task
Id This property is required. String - Task ID.
- task
Type This property is required. String - Task type, including:WorkflowTask, EditMediaTask, LiveProcessTask.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack