tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCatNode
Explore with Pulumi AI
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:
getCatNode Result
The following output properties are available:
- Id string
- Node
Defines List<GetCat Node Node Define> - Probe node list.
- Is
Ipv6 bool - Location double
- Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- Node
Name string - Node
Type double - Pay
Mode double - Result
Output stringFile
- Id string
- Node
Defines []GetCat Node Node Define - Probe node list.
- Is
Ipv6 bool - Location float64
- Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- Node
Name string - Node
Type float64 - Pay
Mode float64 - Result
Output stringFile
- id String
- node
Defines List<GetCat Node Node Define> - Probe node list.
- is
Ipv6 Boolean - location Double
- Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- node
Name String - node
Type Double - pay
Mode Double - result
Output StringFile
- id string
- node
Defines GetCat Node Node Define[] - Probe node list.
- is
Ipv6 boolean - location number
- Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- node
Name string - node
Type number - pay
Mode number - result
Output stringFile
- id str
- node_
defines Sequence[GetCat Node Node Define] - 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_ strfile
- id String
- node
Defines List<Property Map> - Probe node list.
- is
Ipv6 Boolean - location Number
- Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- node
Name String - node
Type Number - pay
Mode Number - result
Output StringFile
Supporting Types
GetCatNodeNodeDefine
- City string
- City.
- Code string
- Node ID.
- Code
Type 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.
- Ip
Type 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.
- Net
Service string - Network service provider.
- Node
Define doubleStatus - Node status: 1=running, 2=offline.
- Task
Types 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.
- Code
Type 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.
- Ip
Type 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.
- Net
Service string - Network service provider.
- Node
Define float64Status - Node status: 1=running, 2=offline.
- Task
Types []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.
- code
Type 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.
- ip
Type 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.
- net
Service String - Network service provider.
- node
Define DoubleStatus - Node status: 1=running, 2=offline.
- task
Types 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.
- code
Type 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.
- ip
Type 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.
- net
Service string - Network service provider.
- node
Define numberStatus - Node status: 1=running, 2=offline.
- task
Types 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_ floatstatus - 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.
- code
Type 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.
- ip
Type 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.
- net
Service String - Network service provider.
- node
Define NumberStatus - Node status: 1=running, 2=offline.
- task
Types 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack