1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCatProbeData
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getCatProbeData

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of cat probe data

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const probeData = tencentcloud.getCatProbeData({
        ascending: true,
        beginTime: 1667923200000,
        endTime: 1667996208428,
        limit: 20,
        offset: 0,
        selectedFields: ["terraform"],
        sortField: "ProbeTime",
        taskIds: ["task-knare1mk"],
        taskType: "AnalyzeTaskType_Network",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    probe_data = tencentcloud.get_cat_probe_data(ascending=True,
        begin_time=1667923200000,
        end_time=1667996208428,
        limit=20,
        offset=0,
        selected_fields=["terraform"],
        sort_field="ProbeTime",
        task_ids=["task-knare1mk"],
        task_type="AnalyzeTaskType_Network")
    
    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.GetCatProbeData(ctx, &tencentcloud.GetCatProbeDataArgs{
    			Ascending: true,
    			BeginTime: 1667923200000,
    			EndTime:   1667996208428,
    			Limit:     20,
    			Offset:    0,
    			SelectedFields: []string{
    				"terraform",
    			},
    			SortField: "ProbeTime",
    			TaskIds: []string{
    				"task-knare1mk",
    			},
    			TaskType: "AnalyzeTaskType_Network",
    		}, 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 probeData = Tencentcloud.GetCatProbeData.Invoke(new()
        {
            Ascending = true,
            BeginTime = 1667923200000,
            EndTime = 1667996208428,
            Limit = 20,
            Offset = 0,
            SelectedFields = new[]
            {
                "terraform",
            },
            SortField = "ProbeTime",
            TaskIds = new[]
            {
                "task-knare1mk",
            },
            TaskType = "AnalyzeTaskType_Network",
        });
    
    });
    
    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.GetCatProbeDataArgs;
    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 probeData = TencentcloudFunctions.getCatProbeData(GetCatProbeDataArgs.builder()
                .ascending(true)
                .beginTime(1667923200000)
                .endTime(1667996208428)
                .limit(20)
                .offset(0)
                .selectedFields("terraform")
                .sortField("ProbeTime")
                .taskIds("task-knare1mk")
                .taskType("AnalyzeTaskType_Network")
                .build());
    
        }
    }
    
    variables:
      probeData:
        fn::invoke:
          function: tencentcloud:getCatProbeData
          arguments:
            ascending: true
            beginTime: 1.6679232e+12
            endTime: 1.667996208428e+12
            limit: 20
            offset: 0
            selectedFields:
              - terraform
            sortField: ProbeTime
            taskIds:
              - task-knare1mk
            taskType: AnalyzeTaskType_Network
    

    Using getCatProbeData

    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 getCatProbeData(args: GetCatProbeDataArgs, opts?: InvokeOptions): Promise<GetCatProbeDataResult>
    function getCatProbeDataOutput(args: GetCatProbeDataOutputArgs, opts?: InvokeOptions): Output<GetCatProbeDataResult>
    def get_cat_probe_data(ascending: Optional[bool] = None,
                           begin_time: Optional[float] = None,
                           cities: Optional[Sequence[str]] = None,
                           codes: Optional[Sequence[str]] = None,
                           districts: Optional[Sequence[str]] = None,
                           end_time: Optional[float] = None,
                           error_types: Optional[Sequence[str]] = None,
                           id: Optional[str] = None,
                           limit: Optional[float] = None,
                           offset: Optional[float] = None,
                           operators: Optional[Sequence[str]] = None,
                           result_output_file: Optional[str] = None,
                           selected_fields: Optional[Sequence[str]] = None,
                           sort_field: Optional[str] = None,
                           task_ids: Optional[Sequence[str]] = None,
                           task_type: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetCatProbeDataResult
    def get_cat_probe_data_output(ascending: Optional[pulumi.Input[bool]] = None,
                           begin_time: Optional[pulumi.Input[float]] = None,
                           cities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           districts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           end_time: Optional[pulumi.Input[float]] = None,
                           error_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           limit: Optional[pulumi.Input[float]] = None,
                           offset: Optional[pulumi.Input[float]] = None,
                           operators: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           result_output_file: Optional[pulumi.Input[str]] = None,
                           selected_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           sort_field: Optional[pulumi.Input[str]] = None,
                           task_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           task_type: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetCatProbeDataResult]
    func GetCatProbeData(ctx *Context, args *GetCatProbeDataArgs, opts ...InvokeOption) (*GetCatProbeDataResult, error)
    func GetCatProbeDataOutput(ctx *Context, args *GetCatProbeDataOutputArgs, opts ...InvokeOption) GetCatProbeDataResultOutput

    > Note: This function is named GetCatProbeData in the Go SDK.

    public static class GetCatProbeData 
    {
        public static Task<GetCatProbeDataResult> InvokeAsync(GetCatProbeDataArgs args, InvokeOptions? opts = null)
        public static Output<GetCatProbeDataResult> Invoke(GetCatProbeDataInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCatProbeDataResult> getCatProbeData(GetCatProbeDataArgs args, InvokeOptions options)
    public static Output<GetCatProbeDataResult> getCatProbeData(GetCatProbeDataArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCatProbeData:getCatProbeData
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ascending bool
    true is Ascending.
    BeginTime double
    Start timestamp (in milliseconds).
    EndTime double
    End timestamp (in milliseconds).
    Limit double
    Limit.
    Offset double
    Offset.
    SelectedFields List<string>
    Selected Fields.
    SortField string
    Fields to be sorted ProbeTime dial test time sorting can be filled in You can also fill in the selected fields in SelectedFields.
    TaskType string
    Task Type in AnalyzeTaskType_Network,AnalyzeTaskType_Browse,AnalyzeTaskType_UploadDownload,AnalyzeTaskType_Transport,AnalyzeTaskType_MediaStream.
    Cities List<string>
    City list.
    Codes List<string>
    Code list.
    Districts List<string>
    Districts list.
    ErrorTypes List<string>
    ErrorTypes list.
    Id string
    ID.
    Operators List<string>
    Operators list.
    ResultOutputFile string
    Used to save results.
    TaskIds List<string>
    TaskID list.
    Ascending bool
    true is Ascending.
    BeginTime float64
    Start timestamp (in milliseconds).
    EndTime float64
    End timestamp (in milliseconds).
    Limit float64
    Limit.
    Offset float64
    Offset.
    SelectedFields []string
    Selected Fields.
    SortField string
    Fields to be sorted ProbeTime dial test time sorting can be filled in You can also fill in the selected fields in SelectedFields.
    TaskType string
    Task Type in AnalyzeTaskType_Network,AnalyzeTaskType_Browse,AnalyzeTaskType_UploadDownload,AnalyzeTaskType_Transport,AnalyzeTaskType_MediaStream.
    Cities []string
    City list.
    Codes []string
    Code list.
    Districts []string
    Districts list.
    ErrorTypes []string
    ErrorTypes list.
    Id string
    ID.
    Operators []string
    Operators list.
    ResultOutputFile string
    Used to save results.
    TaskIds []string
    TaskID list.
    ascending Boolean
    true is Ascending.
    beginTime Double
    Start timestamp (in milliseconds).
    endTime Double
    End timestamp (in milliseconds).
    limit Double
    Limit.
    offset Double
    Offset.
    selectedFields List<String>
    Selected Fields.
    sortField String
    Fields to be sorted ProbeTime dial test time sorting can be filled in You can also fill in the selected fields in SelectedFields.
    taskType String
    Task Type in AnalyzeTaskType_Network,AnalyzeTaskType_Browse,AnalyzeTaskType_UploadDownload,AnalyzeTaskType_Transport,AnalyzeTaskType_MediaStream.
    cities List<String>
    City list.
    codes List<String>
    Code list.
    districts List<String>
    Districts list.
    errorTypes List<String>
    ErrorTypes list.
    id String
    ID.
    operators List<String>
    Operators list.
    resultOutputFile String
    Used to save results.
    taskIds List<String>
    TaskID list.
    ascending boolean
    true is Ascending.
    beginTime number
    Start timestamp (in milliseconds).
    endTime number
    End timestamp (in milliseconds).
    limit number
    Limit.
    offset number
    Offset.
    selectedFields string[]
    Selected Fields.
    sortField string
    Fields to be sorted ProbeTime dial test time sorting can be filled in You can also fill in the selected fields in SelectedFields.
    taskType string
    Task Type in AnalyzeTaskType_Network,AnalyzeTaskType_Browse,AnalyzeTaskType_UploadDownload,AnalyzeTaskType_Transport,AnalyzeTaskType_MediaStream.
    cities string[]
    City list.
    codes string[]
    Code list.
    districts string[]
    Districts list.
    errorTypes string[]
    ErrorTypes list.
    id string
    ID.
    operators string[]
    Operators list.
    resultOutputFile string
    Used to save results.
    taskIds string[]
    TaskID list.
    ascending bool
    true is Ascending.
    begin_time float
    Start timestamp (in milliseconds).
    end_time float
    End timestamp (in milliseconds).
    limit float
    Limit.
    offset float
    Offset.
    selected_fields Sequence[str]
    Selected Fields.
    sort_field str
    Fields to be sorted ProbeTime dial test time sorting can be filled in You can also fill in the selected fields in SelectedFields.
    task_type str
    Task Type in AnalyzeTaskType_Network,AnalyzeTaskType_Browse,AnalyzeTaskType_UploadDownload,AnalyzeTaskType_Transport,AnalyzeTaskType_MediaStream.
    cities Sequence[str]
    City list.
    codes Sequence[str]
    Code list.
    districts Sequence[str]
    Districts list.
    error_types Sequence[str]
    ErrorTypes list.
    id str
    ID.
    operators Sequence[str]
    Operators list.
    result_output_file str
    Used to save results.
    task_ids Sequence[str]
    TaskID list.
    ascending Boolean
    true is Ascending.
    beginTime Number
    Start timestamp (in milliseconds).
    endTime Number
    End timestamp (in milliseconds).
    limit Number
    Limit.
    offset Number
    Offset.
    selectedFields List<String>
    Selected Fields.
    sortField String
    Fields to be sorted ProbeTime dial test time sorting can be filled in You can also fill in the selected fields in SelectedFields.
    taskType String
    Task Type in AnalyzeTaskType_Network,AnalyzeTaskType_Browse,AnalyzeTaskType_UploadDownload,AnalyzeTaskType_Transport,AnalyzeTaskType_MediaStream.
    cities List<String>
    City list.
    codes List<String>
    Code list.
    districts List<String>
    Districts list.
    errorTypes List<String>
    ErrorTypes list.
    id String
    ID.
    operators List<String>
    Operators list.
    resultOutputFile String
    Used to save results.
    taskIds List<String>
    TaskID list.

    getCatProbeData Result

    The following output properties are available:

    Ascending bool
    BeginTime double
    DetailedSingleDataDefines List<GetCatProbeDataDetailedSingleDataDefine>
    Probe node list.
    EndTime double
    Id string
    ID.
    Limit double
    Offset double
    SelectedFields List<string>
    SortField string
    TaskType string
    Cities List<string>
    Codes List<string>
    Districts List<string>
    ErrorTypes List<string>
    Operators List<string>
    ResultOutputFile string
    TaskIds List<string>
    Ascending bool
    BeginTime float64
    DetailedSingleDataDefines []GetCatProbeDataDetailedSingleDataDefine
    Probe node list.
    EndTime float64
    Id string
    ID.
    Limit float64
    Offset float64
    SelectedFields []string
    SortField string
    TaskType string
    Cities []string
    Codes []string
    Districts []string
    ErrorTypes []string
    Operators []string
    ResultOutputFile string
    TaskIds []string
    ascending Boolean
    beginTime Double
    detailedSingleDataDefines List<GetCatProbeDataDetailedSingleDataDefine>
    Probe node list.
    endTime Double
    id String
    ID.
    limit Double
    offset Double
    selectedFields List<String>
    sortField String
    taskType String
    cities List<String>
    codes List<String>
    districts List<String>
    errorTypes List<String>
    operators List<String>
    resultOutputFile String
    taskIds List<String>
    ascending boolean
    beginTime number
    detailedSingleDataDefines GetCatProbeDataDetailedSingleDataDefine[]
    Probe node list.
    endTime number
    id string
    ID.
    limit number
    offset number
    selectedFields string[]
    sortField string
    taskType string
    cities string[]
    codes string[]
    districts string[]
    errorTypes string[]
    operators string[]
    resultOutputFile string
    taskIds string[]
    ascending bool
    begin_time float
    detailed_single_data_defines Sequence[GetCatProbeDataDetailedSingleDataDefine]
    Probe node list.
    end_time float
    id str
    ID.
    limit float
    offset float
    selected_fields Sequence[str]
    sort_field str
    task_type str
    cities Sequence[str]
    codes Sequence[str]
    districts Sequence[str]
    error_types Sequence[str]
    operators Sequence[str]
    result_output_file str
    task_ids Sequence[str]
    ascending Boolean
    beginTime Number
    detailedSingleDataDefines List<Property Map>
    Probe node list.
    endTime Number
    id String
    ID.
    limit Number
    offset Number
    selectedFields List<String>
    sortField String
    taskType String
    cities List<String>
    codes List<String>
    districts List<String>
    errorTypes List<String>
    operators List<String>
    resultOutputFile String
    taskIds List<String>

    Supporting Types

    GetCatProbeDataDetailedSingleDataDefine

    GetCatProbeDataDetailedSingleDataDefineField

    Id double
    ID.
    Name string
    Custom Field Name/Description.
    Value double
    Value.
    Id float64
    ID.
    Name string
    Custom Field Name/Description.
    Value float64
    Value.
    id Double
    ID.
    name String
    Custom Field Name/Description.
    value Double
    Value.
    id number
    ID.
    name string
    Custom Field Name/Description.
    value number
    Value.
    id float
    ID.
    name str
    Custom Field Name/Description.
    value float
    Value.
    id Number
    ID.
    name String
    Custom Field Name/Description.
    value Number
    Value.

    GetCatProbeDataDetailedSingleDataDefineLabel

    Id double
    ID.
    Name string
    Custom Field Name/Description.
    Value string
    Value.
    Id float64
    ID.
    Name string
    Custom Field Name/Description.
    Value string
    Value.
    id Double
    ID.
    name String
    Custom Field Name/Description.
    value String
    Value.
    id number
    ID.
    name string
    Custom Field Name/Description.
    value string
    Value.
    id float
    ID.
    name str
    Custom Field Name/Description.
    value str
    Value.
    id Number
    ID.
    name String
    Custom Field Name/Description.
    value String
    Value.

    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.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack