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

tencentcloud.getCatNode

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 node

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const node = tencentcloud.getCatNode({
        isIpv6: false,
        location: 2,
        nodeType: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    node = tencentcloud.get_cat_node(is_ipv6=False,
        location=2,
        node_type=1)
    
    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.GetCatNode(ctx, &tencentcloud.GetCatNodeArgs{
    			IsIpv6:   pulumi.BoolRef(false),
    			Location: pulumi.Float64Ref(2),
    			NodeType: pulumi.Float64Ref(1),
    		}, 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 node = Tencentcloud.GetCatNode.Invoke(new()
        {
            IsIpv6 = false,
            Location = 2,
            NodeType = 1,
        });
    
    });
    
    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.GetCatNodeArgs;
    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 node = TencentcloudFunctions.getCatNode(GetCatNodeArgs.builder()
                .isIpv6(false)
                .location(2)
                .nodeType(1)
                .build());
    
        }
    }
    
    variables:
      node:
        fn::invoke:
          function: tencentcloud:getCatNode
          arguments:
            isIpv6: false
            location: 2
            nodeType: 1
    

    Using getCatNode

    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 getCatNode(args: GetCatNodeArgs, opts?: InvokeOptions): Promise<GetCatNodeResult>
    function getCatNodeOutput(args: GetCatNodeOutputArgs, opts?: InvokeOptions): Output<GetCatNodeResult>
    def get_cat_node(id: Optional[str] = None,
                     is_ipv6: Optional[bool] = None,
                     location: Optional[float] = None,
                     node_name: Optional[str] = None,
                     node_type: Optional[float] = None,
                     pay_mode: Optional[float] = None,
                     result_output_file: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetCatNodeResult
    def get_cat_node_output(id: Optional[pulumi.Input[str]] = None,
                     is_ipv6: Optional[pulumi.Input[bool]] = None,
                     location: Optional[pulumi.Input[float]] = None,
                     node_name: Optional[pulumi.Input[str]] = None,
                     node_type: Optional[pulumi.Input[float]] = None,
                     pay_mode: Optional[pulumi.Input[float]] = None,
                     result_output_file: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetCatNodeResult]
    func GetCatNode(ctx *Context, args *GetCatNodeArgs, opts ...InvokeOption) (*GetCatNodeResult, error)
    func GetCatNodeOutput(ctx *Context, args *GetCatNodeOutputArgs, opts ...InvokeOption) GetCatNodeResultOutput

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

    public static class GetCatNode 
    {
        public static Task<GetCatNodeResult> InvokeAsync(GetCatNodeArgs args, InvokeOptions? opts = null)
        public static Output<GetCatNodeResult> Invoke(GetCatNodeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCatNodeResult> getCatNode(GetCatNodeArgs args, InvokeOptions options)
    public static Output<GetCatNodeResult> getCatNode(GetCatNodeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCatNode:getCatNode
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    IsIpv6 bool
    is IPv6.
    Location double
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    NodeName string
    Node name.
    NodeType double
    Node type 1:IDC,2:LastMile,3:Mobile.
    PayMode double
    Payment mode:1=Trial version,2=Paid version.
    ResultOutputFile string
    Used to save results.
    Id string
    IsIpv6 bool
    is IPv6.
    Location float64
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    NodeName string
    Node name.
    NodeType float64
    Node type 1:IDC,2:LastMile,3:Mobile.
    PayMode float64
    Payment mode:1=Trial version,2=Paid version.
    ResultOutputFile string
    Used to save results.
    id String
    isIpv6 Boolean
    is IPv6.
    location Double
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    nodeName String
    Node name.
    nodeType Double
    Node type 1:IDC,2:LastMile,3:Mobile.
    payMode Double
    Payment mode:1=Trial version,2=Paid version.
    resultOutputFile String
    Used to save results.
    id string
    isIpv6 boolean
    is IPv6.
    location number
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    nodeName string
    Node name.
    nodeType number
    Node type 1:IDC,2:LastMile,3:Mobile.
    payMode number
    Payment mode:1=Trial version,2=Paid version.
    resultOutputFile string
    Used to save results.
    id str
    is_ipv6 bool
    is IPv6.
    location float
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    node_name str
    Node name.
    node_type float
    Node type 1:IDC,2:LastMile,3:Mobile.
    pay_mode float
    Payment mode:1=Trial version,2=Paid version.
    result_output_file str
    Used to save results.
    id String
    isIpv6 Boolean
    is IPv6.
    location Number
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    nodeName String
    Node name.
    nodeType Number
    Node type 1:IDC,2:LastMile,3:Mobile.
    payMode Number
    Payment mode:1=Trial version,2=Paid version.
    resultOutputFile String
    Used to save results.

    getCatNode Result

    The following output properties are available:

    Id string
    NodeDefines List<GetCatNodeNodeDefine>
    Probe node list.
    IsIpv6 bool
    Location double
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    NodeName string
    NodeType double
    PayMode double
    ResultOutputFile string
    Id string
    NodeDefines []GetCatNodeNodeDefine
    Probe node list.
    IsIpv6 bool
    Location float64
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    NodeName string
    NodeType float64
    PayMode float64
    ResultOutputFile string
    id String
    nodeDefines List<GetCatNodeNodeDefine>
    Probe node list.
    isIpv6 Boolean
    location Double
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    nodeName String
    nodeType Double
    payMode Double
    resultOutputFile String
    id string
    nodeDefines GetCatNodeNodeDefine[]
    Probe node list.
    isIpv6 boolean
    location number
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    nodeName string
    nodeType number
    payMode number
    resultOutputFile string
    id str
    node_defines Sequence[GetCatNodeNodeDefine]
    Probe node list.
    is_ipv6 bool
    location float
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    node_name str
    node_type float
    pay_mode float
    result_output_file str
    id String
    nodeDefines List<Property Map>
    Probe node list.
    isIpv6 Boolean
    location Number
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    nodeName String
    nodeType Number
    payMode Number
    resultOutputFile String

    Supporting Types

    GetCatNodeNodeDefine

    City string
    City.
    Code string
    Node ID.
    CodeType string
    If the node type is base, it is an availability dial test point; if it is blank, it is an advanced dial test point.
    District string
    District.
    IpType double
    IP type:1 = IPv4,2 = IPv6.
    Location double
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    Name string
    Node name.
    NetService string
    Network service provider.
    NodeDefineStatus double
    Node status: 1=running, 2=offline.
    TaskTypes List<double>
    The task types supported by the node. 1: page performance, 2: file upload, 3: file download, 4: port performance, 5: network quality, 6: audio and video experience.
    Type double
    Node Type;1 = IDC,2 = LastMile,3 = Mobile.
    City string
    City.
    Code string
    Node ID.
    CodeType string
    If the node type is base, it is an availability dial test point; if it is blank, it is an advanced dial test point.
    District string
    District.
    IpType float64
    IP type:1 = IPv4,2 = IPv6.
    Location float64
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    Name string
    Node name.
    NetService string
    Network service provider.
    NodeDefineStatus float64
    Node status: 1=running, 2=offline.
    TaskTypes []float64
    The task types supported by the node. 1: page performance, 2: file upload, 3: file download, 4: port performance, 5: network quality, 6: audio and video experience.
    Type float64
    Node Type;1 = IDC,2 = LastMile,3 = Mobile.
    city String
    City.
    code String
    Node ID.
    codeType String
    If the node type is base, it is an availability dial test point; if it is blank, it is an advanced dial test point.
    district String
    District.
    ipType Double
    IP type:1 = IPv4,2 = IPv6.
    location Double
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    name String
    Node name.
    netService String
    Network service provider.
    nodeDefineStatus Double
    Node status: 1=running, 2=offline.
    taskTypes List<Double>
    The task types supported by the node. 1: page performance, 2: file upload, 3: file download, 4: port performance, 5: network quality, 6: audio and video experience.
    type Double
    Node Type;1 = IDC,2 = LastMile,3 = Mobile.
    city string
    City.
    code string
    Node ID.
    codeType string
    If the node type is base, it is an availability dial test point; if it is blank, it is an advanced dial test point.
    district string
    District.
    ipType number
    IP type:1 = IPv4,2 = IPv6.
    location number
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    name string
    Node name.
    netService string
    Network service provider.
    nodeDefineStatus number
    Node status: 1=running, 2=offline.
    taskTypes number[]
    The task types supported by the node. 1: page performance, 2: file upload, 3: file download, 4: port performance, 5: network quality, 6: audio and video experience.
    type number
    Node Type;1 = IDC,2 = LastMile,3 = Mobile.
    city str
    City.
    code str
    Node ID.
    code_type str
    If the node type is base, it is an availability dial test point; if it is blank, it is an advanced dial test point.
    district str
    District.
    ip_type float
    IP type:1 = IPv4,2 = IPv6.
    location float
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    name str
    Node name.
    net_service str
    Network service provider.
    node_define_status float
    Node status: 1=running, 2=offline.
    task_types Sequence[float]
    The task types supported by the node. 1: page performance, 2: file upload, 3: file download, 4: port performance, 5: network quality, 6: audio and video experience.
    type float
    Node Type;1 = IDC,2 = LastMile,3 = Mobile.
    city String
    City.
    code String
    Node ID.
    codeType String
    If the node type is base, it is an availability dial test point; if it is blank, it is an advanced dial test point.
    district String
    District.
    ipType Number
    IP type:1 = IPv4,2 = IPv6.
    location Number
    Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
    name String
    Node name.
    netService String
    Network service provider.
    nodeDefineStatus Number
    Node status: 1=running, 2=offline.
    taskTypes List<Number>
    The task types supported by the node. 1: page performance, 2: file upload, 3: file download, 4: port performance, 5: network quality, 6: audio and video experience.
    type Number
    Node Type;1 = IDC,2 = LastMile,3 = Mobile.

    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