Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack
published on Monday, Sep 21, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack
published on Monday, Sep 21, 2026 by tencentcloudstack
Use this data source to query the list of probe tasks of CAT (云拨测).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getCatProbeTasks({});
export const taskSet = example.then(example => example.taskSets);
export const total = example.then(example => example.total);
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cat_probe_tasks()
pulumi.export("taskSet", example.task_sets)
pulumi.export("total", example.total)
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 {
example, err := tencentcloud.GetCatProbeTasks(ctx, &tencentcloud.GetCatProbeTasksArgs{}, nil)
if err != nil {
return err
}
ctx.Export("taskSet", example.TaskSets)
ctx.Export("total", example.Total)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetCatProbeTasks.Invoke();
return new Dictionary<string, object?>
{
["taskSet"] = example.Apply(getCatProbeTasksResult => getCatProbeTasksResult.TaskSets),
["total"] = example.Apply(getCatProbeTasksResult => getCatProbeTasksResult.Total),
};
});
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.GetCatProbeTasksArgs;
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.getCatProbeTasks(GetCatProbeTasksArgs.builder()
.build());
ctx.export("taskSet", example.taskSets());
ctx.export("total", example.total());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getCatProbeTasks
arguments: {}
outputs:
taskSet: ${example.taskSets}
total: ${example.total}
Example coming soon!
Query probe tasks by name and target address
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const byName = tencentcloud.getCatProbeTasks({
taskName: "my-probe-task",
targetAddress: "http://www.example.com",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
by_name = tencentcloud.get_cat_probe_tasks(task_name="my-probe-task",
target_address="http://www.example.com")
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.GetCatProbeTasks(ctx, &tencentcloud.GetCatProbeTasksArgs{
TaskName: pulumi.StringRef("my-probe-task"),
TargetAddress: pulumi.StringRef("http://www.example.com"),
}, 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 byName = Tencentcloud.GetCatProbeTasks.Invoke(new()
{
TaskName = "my-probe-task",
TargetAddress = "http://www.example.com",
});
});
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.GetCatProbeTasksArgs;
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 byName = TencentcloudFunctions.getCatProbeTasks(GetCatProbeTasksArgs.builder()
.taskName("my-probe-task")
.targetAddress("http://www.example.com")
.build());
}
}
variables:
byName:
fn::invoke:
function: tencentcloud:getCatProbeTasks
arguments:
taskName: my-probe-task
targetAddress: http://www.example.com
Example coming soon!
Query probe tasks by tag filters
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const byTags = tencentcloud.getCatProbeTasks({
tagFilters: [{
key: "Environment",
value: "Production",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
by_tags = tencentcloud.get_cat_probe_tasks(tag_filters=[{
"key": "Environment",
"value": "Production",
}])
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.GetCatProbeTasks(ctx, &tencentcloud.GetCatProbeTasksArgs{
TagFilters: []tencentcloud.GetCatProbeTasksTagFilter{
{
Key: "Environment",
Value: "Production",
},
},
}, 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 byTags = Tencentcloud.GetCatProbeTasks.Invoke(new()
{
TagFilters = new[]
{
new Tencentcloud.Inputs.GetCatProbeTasksTagFilterInputArgs
{
Key = "Environment",
Value = "Production",
},
},
});
});
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.GetCatProbeTasksArgs;
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 byTags = TencentcloudFunctions.getCatProbeTasks(GetCatProbeTasksArgs.builder()
.tagFilters(GetCatProbeTasksTagFilterArgs.builder()
.key("Environment")
.value("Production")
.build())
.build());
}
}
variables:
byTags:
fn::invoke:
function: tencentcloud:getCatProbeTasks
arguments:
tagFilters:
- key: Environment
value: Production
Example coming soon!
Using getCatProbeTasks
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 getCatProbeTasks(args: GetCatProbeTasksArgs, opts?: InvokeOptions): Promise<GetCatProbeTasksResult>
function getCatProbeTasksOutput(args: GetCatProbeTasksOutputArgs, opts?: InvokeOutputOptions): Output<GetCatProbeTasksResult>def get_cat_probe_tasks(ascend: Optional[bool] = None,
id: Optional[str] = None,
order_by: Optional[str] = None,
order_state: Optional[float] = None,
pay_mode: Optional[float] = None,
result_output_file: Optional[str] = None,
tag_filters: Optional[Sequence[GetCatProbeTasksTagFilter]] = None,
target_address: Optional[str] = None,
task_categories: Optional[Sequence[float]] = None,
task_ids: Optional[Sequence[str]] = None,
task_name: Optional[str] = None,
task_statuses: Optional[Sequence[float]] = None,
task_types: Optional[Sequence[float]] = None,
opts: Optional[InvokeOptions] = None) -> GetCatProbeTasksResult
def get_cat_probe_tasks_output(ascend: pulumi.Input[Optional[bool]] = None,
id: pulumi.Input[Optional[str]] = None,
order_by: pulumi.Input[Optional[str]] = None,
order_state: pulumi.Input[Optional[float]] = None,
pay_mode: pulumi.Input[Optional[float]] = None,
result_output_file: pulumi.Input[Optional[str]] = None,
tag_filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetCatProbeTasksTagFilterArgs]]]] = None,
target_address: pulumi.Input[Optional[str]] = None,
task_categories: pulumi.Input[Optional[Sequence[pulumi.Input[float]]]] = None,
task_ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
task_name: pulumi.Input[Optional[str]] = None,
task_statuses: pulumi.Input[Optional[Sequence[pulumi.Input[float]]]] = None,
task_types: pulumi.Input[Optional[Sequence[pulumi.Input[float]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCatProbeTasksResult]func GetCatProbeTasks(ctx *Context, args *GetCatProbeTasksArgs, opts ...InvokeOption) (*GetCatProbeTasksResult, error)
func GetCatProbeTasksOutput(ctx *Context, args *GetCatProbeTasksOutputArgs, opts ...InvokeOption) GetCatProbeTasksResultOutput> Note: This function is named GetCatProbeTasks in the Go SDK.
public static class GetCatProbeTasks
{
public static Task<GetCatProbeTasksResult> InvokeAsync(GetCatProbeTasksArgs args, InvokeOptions? opts = null)
public static Output<GetCatProbeTasksResult> Invoke(GetCatProbeTasksInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCatProbeTasksResult> Invoke(GetCatProbeTasksInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCatProbeTasksResult> getCatProbeTasks(GetCatProbeTasksArgs args, InvokeOptions options)
public static Output<GetCatProbeTasksResult> getCatProbeTasks(GetCatProbeTasksArgs args, InvokeOptions options)
public static Output<GetCatProbeTasksResult> getCatProbeTasks(GetCatProbeTasksArgs args, InvokeOutputOptions options)
fn::invoke:
function: tencentcloud:index/getCatProbeTasks:getCatProbeTasks
arguments:
# arguments dictionarydata "tencentcloud_get_cat_probe_tasks" "name" {
# arguments
}The following arguments are supported:
- Ascend bool
- Whether to sort in ascending order.
- Id string
- Order
By string - Order by column.
- Order
State double - Order state.
- Pay
Mode double - Pay mode.
- Result
Output stringFile - Used to save results.
- Tag
Filters List<GetCat Probe Tasks Tag Filter> - Tag filters.
- Target
Address string - Target address.
- Task
Categories List<double> - Task category list.
- Task
Ids List<string> - Task ID list.
- Task
Name string - Task name.
- Task
Statuses List<double> - Task status list.
- Task
Types List<double> - Task type list.
- Ascend bool
- Whether to sort in ascending order.
- Id string
- Order
By string - Order by column.
- Order
State float64 - Order state.
- Pay
Mode float64 - Pay mode.
- Result
Output stringFile - Used to save results.
- Tag
Filters []GetCat Probe Tasks Tag Filter - Tag filters.
- Target
Address string - Target address.
- Task
Categories []float64 - Task category list.
- Task
Ids []string - Task ID list.
- Task
Name string - Task name.
- Task
Statuses []float64 - Task status list.
- Task
Types []float64 - Task type list.
- ascend bool
- Whether to sort in ascending order.
- id string
- order_
by string - Order by column.
- order_
state number - Order state.
- pay_
mode number - Pay mode.
- result_
output_ stringfile - Used to save results.
- tag_
filters list(object) - Tag filters.
- target_
address string - Target address.
- task_
categories list(number) - Task category list.
- task_
ids list(string) - Task ID list.
- task_
name string - Task name.
- task_
statuses list(number) - Task status list.
- task_
types list(number) - Task type list.
- ascend Boolean
- Whether to sort in ascending order.
- id String
- order
By String - Order by column.
- order
State Double - Order state.
- pay
Mode Double - Pay mode.
- result
Output StringFile - Used to save results.
- tag
Filters List<GetCat Probe Tasks Tag Filter> - Tag filters.
- target
Address String - Target address.
- task
Categories List<Double> - Task category list.
- task
Ids List<String> - Task ID list.
- task
Name String - Task name.
- task
Statuses List<Double> - Task status list.
- task
Types List<Double> - Task type list.
- ascend boolean
- Whether to sort in ascending order.
- id string
- order
By string - Order by column.
- order
State number - Order state.
- pay
Mode number - Pay mode.
- result
Output stringFile - Used to save results.
- tag
Filters GetCat Probe Tasks Tag Filter[] - Tag filters.
- target
Address string - Target address.
- task
Categories number[] - Task category list.
- task
Ids string[] - Task ID list.
- task
Name string - Task name.
- task
Statuses number[] - Task status list.
- task
Types number[] - Task type list.
- ascend bool
- Whether to sort in ascending order.
- id str
- order_
by str - Order by column.
- order_
state float - Order state.
- pay_
mode float - Pay mode.
- result_
output_ strfile - Used to save results.
- tag_
filters Sequence[GetCat Probe Tasks Tag Filter] - Tag filters.
- target_
address str - Target address.
- task_
categories Sequence[float] - Task category list.
- task_
ids Sequence[str] - Task ID list.
- task_
name str - Task name.
- task_
statuses Sequence[float] - Task status list.
- task_
types Sequence[float] - Task type list.
- ascend Boolean
- Whether to sort in ascending order.
- id String
- order
By String - Order by column.
- order
State Number - Order state.
- pay
Mode Number - Pay mode.
- result
Output StringFile - Used to save results.
- tag
Filters List<Property Map> - Tag filters.
- target
Address String - Target address.
- task
Categories List<Number> - Task category list.
- task
Ids List<String> - Task ID list.
- task
Name String - Task name.
- task
Statuses List<Number> - Task status list.
- task
Types List<Number> - Task type list.
getCatProbeTasks Result
The following output properties are available:
- Id string
- Task
Sets List<GetCat Probe Tasks Task Set> - Probe task list.
- Total double
- Total number of probe tasks.
- Ascend bool
- Order
By string - Order
State double - Order state.
- Pay
Mode double - Pay mode.
- Result
Output stringFile - Tag
Filters List<GetCat Probe Tasks Tag Filter> - Target
Address string - Target address.
- Task
Categories List<double> - Task category.
- Task
Ids List<string> - Task
Name string - Task
Statuses List<double> - Task
Types List<double> - Task type.
- Id string
- Task
Sets []GetCat Probe Tasks Task Set - Probe task list.
- Total float64
- Total number of probe tasks.
- Ascend bool
- Order
By string - Order
State float64 - Order state.
- Pay
Mode float64 - Pay mode.
- Result
Output stringFile - Tag
Filters []GetCat Probe Tasks Tag Filter - Target
Address string - Target address.
- Task
Categories []float64 - Task category.
- Task
Ids []string - Task
Name string - Task
Statuses []float64 - Task
Types []float64 - Task type.
- id string
- task_
sets list(object) - Probe task list.
- total number
- Total number of probe tasks.
- ascend bool
- order_
by string - order_
state number - Order state.
- pay_
mode number - Pay mode.
- result_
output_ stringfile - tag_
filters list(object) - target_
address string - Target address.
- task_
categories list(number) - Task category.
- task_
ids list(string) - task_
name string - task_
statuses list(number) - task_
types list(number) - Task type.
- id String
- task
Sets List<GetCat Probe Tasks Task Set> - Probe task list.
- total Double
- Total number of probe tasks.
- ascend Boolean
- order
By String - order
State Double - Order state.
- pay
Mode Double - Pay mode.
- result
Output StringFile - tag
Filters List<GetCat Probe Tasks Tag Filter> - target
Address String - Target address.
- task
Categories List<Double> - Task category.
- task
Ids List<String> - task
Name String - task
Statuses List<Double> - task
Types List<Double> - Task type.
- id string
- task
Sets GetCat Probe Tasks Task Set[] - Probe task list.
- total number
- Total number of probe tasks.
- ascend boolean
- order
By string - order
State number - Order state.
- pay
Mode number - Pay mode.
- result
Output stringFile - tag
Filters GetCat Probe Tasks Tag Filter[] - target
Address string - Target address.
- task
Categories number[] - Task category.
- task
Ids string[] - task
Name string - task
Statuses number[] - task
Types number[] - Task type.
- id str
- task_
sets Sequence[GetCat Probe Tasks Task Set] - Probe task list.
- total float
- Total number of probe tasks.
- ascend bool
- order_
by str - order_
state float - Order state.
- pay_
mode float - Pay mode.
- result_
output_ strfile - tag_
filters Sequence[GetCat Probe Tasks Tag Filter] - target_
address str - Target address.
- task_
categories Sequence[float] - Task category.
- task_
ids Sequence[str] - task_
name str - task_
statuses Sequence[float] - task_
types Sequence[float] - Task type.
- id String
- task
Sets List<Property Map> - Probe task list.
- total Number
- Total number of probe tasks.
- ascend Boolean
- order
By String - order
State Number - Order state.
- pay
Mode Number - Pay mode.
- result
Output StringFile - tag
Filters List<Property Map> - target
Address String - Target address.
- task
Categories List<Number> - Task category.
- task
Ids List<String> - task
Name String - task
Statuses List<Number> - task
Types List<Number> - Task type.
Supporting Types
GetCatProbeTasksTagFilter
GetCatProbeTasksTaskSet
- Created
At string - Created time.
- Cron string
- Cron expression for scheduled task.
- Cron
State double - Scheduled task start status.
- Interval double
- Probe interval in minutes.
- Name string
- Task name.
- Node
Ip doubleType - Probe node IP type.
- Nodes List<string>
- Probe node list.
- Order
State double - Order state.
- Parameters string
- Probe parameters.
- Pay
Mode double - Pay mode.
- Status double
- Task status.
- Sub
Sync doubleFlag - Whether it is a sync account.
- Tag
Info List<GetLists Cat Probe Tasks Task Set Tag Info List> - Tag info list.
- Target
Address string - Target address.
- Task
Category double - Task category list.
- Task
Id string - Task ID.
- Task
Type double - Task type list.
- Created
At string - Created time.
- Cron string
- Cron expression for scheduled task.
- Cron
State float64 - Scheduled task start status.
- Interval float64
- Probe interval in minutes.
- Name string
- Task name.
- Node
Ip float64Type - Probe node IP type.
- Nodes []string
- Probe node list.
- Order
State float64 - Order state.
- Parameters string
- Probe parameters.
- Pay
Mode float64 - Pay mode.
- Status float64
- Task status.
- Sub
Sync float64Flag - Whether it is a sync account.
- Tag
Info []GetLists Cat Probe Tasks Task Set Tag Info List - Tag info list.
- Target
Address string - Target address.
- Task
Category float64 - Task category list.
- Task
Id string - Task ID.
- Task
Type float64 - Task type list.
- created_
at string - Created time.
- cron string
- Cron expression for scheduled task.
- cron_
state number - Scheduled task start status.
- interval number
- Probe interval in minutes.
- name string
- Task name.
- node_
ip_ numbertype - Probe node IP type.
- nodes list(string)
- Probe node list.
- order_
state number - Order state.
- parameters string
- Probe parameters.
- pay_
mode number - Pay mode.
- status number
- Task status.
- sub_
sync_ numberflag - Whether it is a sync account.
- tag_
info_ list(object)lists - Tag info list.
- target_
address string - Target address.
- task_
category number - Task category list.
- task_
id string - Task ID.
- task_
type number - Task type list.
- created
At String - Created time.
- cron String
- Cron expression for scheduled task.
- cron
State Double - Scheduled task start status.
- interval Double
- Probe interval in minutes.
- name String
- Task name.
- node
Ip DoubleType - Probe node IP type.
- nodes List<String>
- Probe node list.
- order
State Double - Order state.
- parameters String
- Probe parameters.
- pay
Mode Double - Pay mode.
- status Double
- Task status.
- sub
Sync DoubleFlag - Whether it is a sync account.
- tag
Info List<GetLists Cat Probe Tasks Task Set Tag Info List> - Tag info list.
- target
Address String - Target address.
- task
Category Double - Task category list.
- task
Id String - Task ID.
- task
Type Double - Task type list.
- created
At string - Created time.
- cron string
- Cron expression for scheduled task.
- cron
State number - Scheduled task start status.
- interval number
- Probe interval in minutes.
- name string
- Task name.
- node
Ip numberType - Probe node IP type.
- nodes string[]
- Probe node list.
- order
State number - Order state.
- parameters string
- Probe parameters.
- pay
Mode number - Pay mode.
- status number
- Task status.
- sub
Sync numberFlag - Whether it is a sync account.
- tag
Info GetLists Cat Probe Tasks Task Set Tag Info List[] - Tag info list.
- target
Address string - Target address.
- task
Category number - Task category list.
- task
Id string - Task ID.
- task
Type number - Task type list.
- created_
at str - Created time.
- cron str
- Cron expression for scheduled task.
- cron_
state float - Scheduled task start status.
- interval float
- Probe interval in minutes.
- name str
- Task name.
- node_
ip_ floattype - Probe node IP type.
- nodes Sequence[str]
- Probe node list.
- order_
state float - Order state.
- parameters str
- Probe parameters.
- pay_
mode float - Pay mode.
- status float
- Task status.
- sub_
sync_ floatflag - Whether it is a sync account.
- tag_
info_ Sequence[Getlists Cat Probe Tasks Task Set Tag Info List] - Tag info list.
- target_
address str - Target address.
- task_
category float - Task category list.
- task_
id str - Task ID.
- task_
type float - Task type list.
- created
At String - Created time.
- cron String
- Cron expression for scheduled task.
- cron
State Number - Scheduled task start status.
- interval Number
- Probe interval in minutes.
- name String
- Task name.
- node
Ip NumberType - Probe node IP type.
- nodes List<String>
- Probe node list.
- order
State Number - Order state.
- parameters String
- Probe parameters.
- pay
Mode Number - Pay mode.
- status Number
- Task status.
- sub
Sync NumberFlag - Whether it is a sync account.
- tag
Info List<Property Map>Lists - Tag info list.
- target
Address String - Target address.
- task
Category Number - Task category list.
- task
Id String - Task ID.
- task
Type Number - Task type list.
GetCatProbeTasksTaskSetTagInfoList
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack
published on Monday, Sep 21, 2026 by tencentcloudstack