1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CatTaskSet
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.CatTaskSet

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

    Provides a resource to create a cat task_set

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const taskSet = new tencentcloud.CatTaskSet("taskSet", {
        batchTasks: {
            name: "demo",
            targetAddress: "http://www.baidu.com",
        },
        taskType: 5,
        nodes: [
            "12136",
            "12137",
            "12138",
            "12141",
            "12144",
        ],
        interval: 6,
        parameters: JSON.stringify({
            ipType: 0,
            grabBag: 0,
            filterIp: 0,
            netIcmpOn: 1,
            netIcmpActivex: 0,
            netIcmpTimeout: 20,
            netIcmpInterval: 0.5,
            netIcmpNum: 20,
            netIcmpSize: 32,
            netIcmpDataCut: 1,
            netDnsOn: 1,
            netDnsTimeout: 5,
            netDnsQuerymethod: 1,
            netDnsNs: "",
            netDigOn: 1,
            netDnsServer: 2,
            netTracertOn: 1,
            netTracertTimeout: 60,
            netTracertNum: 30,
            whiteList: "",
            blackList: "",
            netIcmpActivexStr: "",
        }),
        taskCategory: 1,
        cron: "* 0-6 * * *",
        tags: {
            createdBy: "terraform",
        },
    });
    
    import pulumi
    import json
    import pulumi_tencentcloud as tencentcloud
    
    task_set = tencentcloud.CatTaskSet("taskSet",
        batch_tasks={
            "name": "demo",
            "target_address": "http://www.baidu.com",
        },
        task_type=5,
        nodes=[
            "12136",
            "12137",
            "12138",
            "12141",
            "12144",
        ],
        interval=6,
        parameters=json.dumps({
            "ipType": 0,
            "grabBag": 0,
            "filterIp": 0,
            "netIcmpOn": 1,
            "netIcmpActivex": 0,
            "netIcmpTimeout": 20,
            "netIcmpInterval": 0.5,
            "netIcmpNum": 20,
            "netIcmpSize": 32,
            "netIcmpDataCut": 1,
            "netDnsOn": 1,
            "netDnsTimeout": 5,
            "netDnsQuerymethod": 1,
            "netDnsNs": "",
            "netDigOn": 1,
            "netDnsServer": 2,
            "netTracertOn": 1,
            "netTracertTimeout": 60,
            "netTracertNum": 30,
            "whiteList": "",
            "blackList": "",
            "netIcmpActivexStr": "",
        }),
        task_category=1,
        cron="* 0-6 * * *",
        tags={
            "createdBy": "terraform",
        })
    
    package main
    
    import (
    	"encoding/json"
    
    	"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 {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"ipType":            0,
    			"grabBag":           0,
    			"filterIp":          0,
    			"netIcmpOn":         1,
    			"netIcmpActivex":    0,
    			"netIcmpTimeout":    20,
    			"netIcmpInterval":   0.5,
    			"netIcmpNum":        20,
    			"netIcmpSize":       32,
    			"netIcmpDataCut":    1,
    			"netDnsOn":          1,
    			"netDnsTimeout":     5,
    			"netDnsQuerymethod": 1,
    			"netDnsNs":          "",
    			"netDigOn":          1,
    			"netDnsServer":      2,
    			"netTracertOn":      1,
    			"netTracertTimeout": 60,
    			"netTracertNum":     30,
    			"whiteList":         "",
    			"blackList":         "",
    			"netIcmpActivexStr": "",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = tencentcloud.NewCatTaskSet(ctx, "taskSet", &tencentcloud.CatTaskSetArgs{
    			BatchTasks: &tencentcloud.CatTaskSetBatchTasksArgs{
    				Name:          pulumi.String("demo"),
    				TargetAddress: pulumi.String("http://www.baidu.com"),
    			},
    			TaskType: pulumi.Float64(5),
    			Nodes: pulumi.StringArray{
    				pulumi.String("12136"),
    				pulumi.String("12137"),
    				pulumi.String("12138"),
    				pulumi.String("12141"),
    				pulumi.String("12144"),
    			},
    			Interval:     pulumi.Float64(6),
    			Parameters:   pulumi.String(json0),
    			TaskCategory: pulumi.Float64(1),
    			Cron:         pulumi.String("* 0-6 * * *"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("terraform"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var taskSet = new Tencentcloud.CatTaskSet("taskSet", new()
        {
            BatchTasks = new Tencentcloud.Inputs.CatTaskSetBatchTasksArgs
            {
                Name = "demo",
                TargetAddress = "http://www.baidu.com",
            },
            TaskType = 5,
            Nodes = new[]
            {
                "12136",
                "12137",
                "12138",
                "12141",
                "12144",
            },
            Interval = 6,
            Parameters = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["ipType"] = 0,
                ["grabBag"] = 0,
                ["filterIp"] = 0,
                ["netIcmpOn"] = 1,
                ["netIcmpActivex"] = 0,
                ["netIcmpTimeout"] = 20,
                ["netIcmpInterval"] = 0.5,
                ["netIcmpNum"] = 20,
                ["netIcmpSize"] = 32,
                ["netIcmpDataCut"] = 1,
                ["netDnsOn"] = 1,
                ["netDnsTimeout"] = 5,
                ["netDnsQuerymethod"] = 1,
                ["netDnsNs"] = "",
                ["netDigOn"] = 1,
                ["netDnsServer"] = 2,
                ["netTracertOn"] = 1,
                ["netTracertTimeout"] = 60,
                ["netTracertNum"] = 30,
                ["whiteList"] = "",
                ["blackList"] = "",
                ["netIcmpActivexStr"] = "",
            }),
            TaskCategory = 1,
            Cron = "* 0-6 * * *",
            Tags = 
            {
                { "createdBy", "terraform" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CatTaskSet;
    import com.pulumi.tencentcloud.CatTaskSetArgs;
    import com.pulumi.tencentcloud.inputs.CatTaskSetBatchTasksArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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) {
            var taskSet = new CatTaskSet("taskSet", CatTaskSetArgs.builder()
                .batchTasks(CatTaskSetBatchTasksArgs.builder()
                    .name("demo")
                    .targetAddress("http://www.baidu.com")
                    .build())
                .taskType(5)
                .nodes(            
                    "12136",
                    "12137",
                    "12138",
                    "12141",
                    "12144")
                .interval(6)
                .parameters(serializeJson(
                    jsonObject(
                        jsonProperty("ipType", 0),
                        jsonProperty("grabBag", 0),
                        jsonProperty("filterIp", 0),
                        jsonProperty("netIcmpOn", 1),
                        jsonProperty("netIcmpActivex", 0),
                        jsonProperty("netIcmpTimeout", 20),
                        jsonProperty("netIcmpInterval", 0.5),
                        jsonProperty("netIcmpNum", 20),
                        jsonProperty("netIcmpSize", 32),
                        jsonProperty("netIcmpDataCut", 1),
                        jsonProperty("netDnsOn", 1),
                        jsonProperty("netDnsTimeout", 5),
                        jsonProperty("netDnsQuerymethod", 1),
                        jsonProperty("netDnsNs", ""),
                        jsonProperty("netDigOn", 1),
                        jsonProperty("netDnsServer", 2),
                        jsonProperty("netTracertOn", 1),
                        jsonProperty("netTracertTimeout", 60),
                        jsonProperty("netTracertNum", 30),
                        jsonProperty("whiteList", ""),
                        jsonProperty("blackList", ""),
                        jsonProperty("netIcmpActivexStr", "")
                    )))
                .taskCategory(1)
                .cron("* 0-6 * * *")
                .tags(Map.of("createdBy", "terraform"))
                .build());
    
        }
    }
    
    resources:
      taskSet:
        type: tencentcloud:CatTaskSet
        properties:
          batchTasks:
            name: demo
            targetAddress: http://www.baidu.com
          taskType: 5
          nodes:
            - '12136'
            - '12137'
            - '12138'
            - '12141'
            - '12144'
          interval: 6
          parameters:
            fn::toJSON:
              ipType: 0
              grabBag: 0
              filterIp: 0
              netIcmpOn: 1
              netIcmpActivex: 0
              netIcmpTimeout: 20
              netIcmpInterval: 0.5
              netIcmpNum: 20
              netIcmpSize: 32
              netIcmpDataCut: 1
              netDnsOn: 1
              netDnsTimeout: 5
              netDnsQuerymethod: 1
              netDnsNs: ""
              netDigOn: 1
              netDnsServer: 2
              netTracertOn: 1
              netTracertTimeout: 60
              netTracertNum: 30
              whiteList: ""
              blackList: ""
              netIcmpActivexStr: ""
          taskCategory: 1
          cron: '* 0-6 * * *'
          tags:
            createdBy: terraform
    

    Create CatTaskSet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CatTaskSet(name: string, args: CatTaskSetArgs, opts?: CustomResourceOptions);
    @overload
    def CatTaskSet(resource_name: str,
                   args: CatTaskSetArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def CatTaskSet(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   batch_tasks: Optional[CatTaskSetBatchTasksArgs] = None,
                   interval: Optional[float] = None,
                   nodes: Optional[Sequence[str]] = None,
                   parameters: Optional[str] = None,
                   task_category: Optional[float] = None,
                   task_type: Optional[float] = None,
                   cat_task_set_id: Optional[str] = None,
                   cron: Optional[str] = None,
                   node_ip_type: Optional[float] = None,
                   operate: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None)
    func NewCatTaskSet(ctx *Context, name string, args CatTaskSetArgs, opts ...ResourceOption) (*CatTaskSet, error)
    public CatTaskSet(string name, CatTaskSetArgs args, CustomResourceOptions? opts = null)
    public CatTaskSet(String name, CatTaskSetArgs args)
    public CatTaskSet(String name, CatTaskSetArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CatTaskSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CatTaskSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CatTaskSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CatTaskSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CatTaskSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CatTaskSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    CatTaskSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CatTaskSet resource accepts the following input properties:

    BatchTasks CatTaskSetBatchTasks
    Batch task name address.
    Interval double
    Task interval minutes in (1,5,10,15,30,60,120,240).
    Nodes List<string>
    Task Nodes.
    Parameters string
    tasks parameters.
    TaskCategory double
    Task category,1:PC,2:Mobile.
    TaskType double
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    CatTaskSetId string
    ID of the resource.
    Cron string
    Timer task cron expression.
    NodeIpType double
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    Operate string
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    Tags Dictionary<string, string>
    Tag description list.
    BatchTasks CatTaskSetBatchTasksArgs
    Batch task name address.
    Interval float64
    Task interval minutes in (1,5,10,15,30,60,120,240).
    Nodes []string
    Task Nodes.
    Parameters string
    tasks parameters.
    TaskCategory float64
    Task category,1:PC,2:Mobile.
    TaskType float64
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    CatTaskSetId string
    ID of the resource.
    Cron string
    Timer task cron expression.
    NodeIpType float64
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    Operate string
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    Tags map[string]string
    Tag description list.
    batchTasks CatTaskSetBatchTasks
    Batch task name address.
    interval Double
    Task interval minutes in (1,5,10,15,30,60,120,240).
    nodes List<String>
    Task Nodes.
    parameters String
    tasks parameters.
    taskCategory Double
    Task category,1:PC,2:Mobile.
    taskType Double
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    catTaskSetId String
    ID of the resource.
    cron String
    Timer task cron expression.
    nodeIpType Double
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    operate String
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    tags Map<String,String>
    Tag description list.
    batchTasks CatTaskSetBatchTasks
    Batch task name address.
    interval number
    Task interval minutes in (1,5,10,15,30,60,120,240).
    nodes string[]
    Task Nodes.
    parameters string
    tasks parameters.
    taskCategory number
    Task category,1:PC,2:Mobile.
    taskType number
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    catTaskSetId string
    ID of the resource.
    cron string
    Timer task cron expression.
    nodeIpType number
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    operate string
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    tags {[key: string]: string}
    Tag description list.
    batch_tasks CatTaskSetBatchTasksArgs
    Batch task name address.
    interval float
    Task interval minutes in (1,5,10,15,30,60,120,240).
    nodes Sequence[str]
    Task Nodes.
    parameters str
    tasks parameters.
    task_category float
    Task category,1:PC,2:Mobile.
    task_type float
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    cat_task_set_id str
    ID of the resource.
    cron str
    Timer task cron expression.
    node_ip_type float
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    operate str
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    tags Mapping[str, str]
    Tag description list.
    batchTasks Property Map
    Batch task name address.
    interval Number
    Task interval minutes in (1,5,10,15,30,60,120,240).
    nodes List<String>
    Task Nodes.
    parameters String
    tasks parameters.
    taskCategory Number
    Task category,1:PC,2:Mobile.
    taskType Number
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    catTaskSetId String
    ID of the resource.
    cron String
    Timer task cron expression.
    nodeIpType Number
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    operate String
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    tags Map<String>
    Tag description list.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CatTaskSet resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status double
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    TaskId string
    Task Id.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status float64
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    TaskId string
    Task Id.
    id String
    The provider-assigned unique ID for this managed resource.
    status Double
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    taskId String
    Task Id.
    id string
    The provider-assigned unique ID for this managed resource.
    status number
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    taskId string
    Task Id.
    id str
    The provider-assigned unique ID for this managed resource.
    status float
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    task_id str
    Task Id.
    id String
    The provider-assigned unique ID for this managed resource.
    status Number
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    taskId String
    Task Id.

    Look up Existing CatTaskSet Resource

    Get an existing CatTaskSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CatTaskSetState, opts?: CustomResourceOptions): CatTaskSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            batch_tasks: Optional[CatTaskSetBatchTasksArgs] = None,
            cat_task_set_id: Optional[str] = None,
            cron: Optional[str] = None,
            interval: Optional[float] = None,
            node_ip_type: Optional[float] = None,
            nodes: Optional[Sequence[str]] = None,
            operate: Optional[str] = None,
            parameters: Optional[str] = None,
            status: Optional[float] = None,
            tags: Optional[Mapping[str, str]] = None,
            task_category: Optional[float] = None,
            task_id: Optional[str] = None,
            task_type: Optional[float] = None) -> CatTaskSet
    func GetCatTaskSet(ctx *Context, name string, id IDInput, state *CatTaskSetState, opts ...ResourceOption) (*CatTaskSet, error)
    public static CatTaskSet Get(string name, Input<string> id, CatTaskSetState? state, CustomResourceOptions? opts = null)
    public static CatTaskSet get(String name, Output<String> id, CatTaskSetState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CatTaskSet    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BatchTasks CatTaskSetBatchTasks
    Batch task name address.
    CatTaskSetId string
    ID of the resource.
    Cron string
    Timer task cron expression.
    Interval double
    Task interval minutes in (1,5,10,15,30,60,120,240).
    NodeIpType double
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    Nodes List<string>
    Task Nodes.
    Operate string
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    Parameters string
    tasks parameters.
    Status double
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    Tags Dictionary<string, string>
    Tag description list.
    TaskCategory double
    Task category,1:PC,2:Mobile.
    TaskId string
    Task Id.
    TaskType double
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    BatchTasks CatTaskSetBatchTasksArgs
    Batch task name address.
    CatTaskSetId string
    ID of the resource.
    Cron string
    Timer task cron expression.
    Interval float64
    Task interval minutes in (1,5,10,15,30,60,120,240).
    NodeIpType float64
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    Nodes []string
    Task Nodes.
    Operate string
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    Parameters string
    tasks parameters.
    Status float64
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    Tags map[string]string
    Tag description list.
    TaskCategory float64
    Task category,1:PC,2:Mobile.
    TaskId string
    Task Id.
    TaskType float64
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    batchTasks CatTaskSetBatchTasks
    Batch task name address.
    catTaskSetId String
    ID of the resource.
    cron String
    Timer task cron expression.
    interval Double
    Task interval minutes in (1,5,10,15,30,60,120,240).
    nodeIpType Double
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    nodes List<String>
    Task Nodes.
    operate String
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    parameters String
    tasks parameters.
    status Double
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    tags Map<String,String>
    Tag description list.
    taskCategory Double
    Task category,1:PC,2:Mobile.
    taskId String
    Task Id.
    taskType Double
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    batchTasks CatTaskSetBatchTasks
    Batch task name address.
    catTaskSetId string
    ID of the resource.
    cron string
    Timer task cron expression.
    interval number
    Task interval minutes in (1,5,10,15,30,60,120,240).
    nodeIpType number
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    nodes string[]
    Task Nodes.
    operate string
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    parameters string
    tasks parameters.
    status number
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    tags {[key: string]: string}
    Tag description list.
    taskCategory number
    Task category,1:PC,2:Mobile.
    taskId string
    Task Id.
    taskType number
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    batch_tasks CatTaskSetBatchTasksArgs
    Batch task name address.
    cat_task_set_id str
    ID of the resource.
    cron str
    Timer task cron expression.
    interval float
    Task interval minutes in (1,5,10,15,30,60,120,240).
    node_ip_type float
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    nodes Sequence[str]
    Task Nodes.
    operate str
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    parameters str
    tasks parameters.
    status float
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    tags Mapping[str, str]
    Tag description list.
    task_category float
    Task category,1:PC,2:Mobile.
    task_id str
    Task Id.
    task_type float
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.
    batchTasks Property Map
    Batch task name address.
    catTaskSetId String
    ID of the resource.
    cron String
    Timer task cron expression.
    interval Number
    Task interval minutes in (1,5,10,15,30,60,120,240).
    nodeIpType Number
    0-Unlimit ip type, 1-IPv4, 2-IPv6.
    nodes List<String>
    Task Nodes.
    operate String
    The input is valid when the parameter is modified, suspend/resume, used to suspend/resume the dial test task.
    parameters String
    tasks parameters.
    status Number
    Task status 1:TaskPending, 2:TaskRunning,3:TaskRunException,4:TaskSuspending 5:TaskSuspendException,6:TaskSuspendException,7:TaskSuspended,9:TaskDeleted.
    tags Map<String>
    Tag description list.
    taskCategory Number
    Task category,1:PC,2:Mobile.
    taskId String
    Task Id.
    taskType Number
    Task Type 1:Page Performance, 2:File upload,3:File Download,4:Port performance 5:Audio and video.

    Supporting Types

    CatTaskSetBatchTasks, CatTaskSetBatchTasksArgs

    Name string
    Task name.
    TargetAddress string
    Target address.
    Name string
    Task name.
    TargetAddress string
    Target address.
    name String
    Task name.
    targetAddress String
    Target address.
    name string
    Task name.
    targetAddress string
    Target address.
    name str
    Task name.
    target_address str
    Target address.
    name String
    Task name.
    targetAddress String
    Target address.

    Import

    cat task_set can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/catTaskSet:CatTaskSet task_set taskSet_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack