tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack
tencentcloud.getCatNode
Explore with Pulumi AI
tencentcloud 1.81.182 published on Monday, Apr 14, 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
This property is required. string - City.
- Code
This property is required. string - Node ID.
- Code
Type This property is required. 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
This property is required. string - District.
- Ip
Type This property is required. double - IP type:1 = IPv4,2 = IPv6.
- Location
This property is required. double - Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- Name
This property is required. string - Node name.
- Net
Service This property is required. string - Network service provider.
- Node
Define Status This property is required. double - Node status: 1=running, 2=offline.
- Task
Types This property is required. 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
This property is required. double - Node Type;1 = IDC,2 = LastMile,3 = Mobile.
- City
This property is required. string - City.
- Code
This property is required. string - Node ID.
- Code
Type This property is required. 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
This property is required. string - District.
- Ip
Type This property is required. float64 - IP type:1 = IPv4,2 = IPv6.
- Location
This property is required. float64 - Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- Name
This property is required. string - Node name.
- Net
Service This property is required. string - Network service provider.
- Node
Define Status This property is required. float64 - Node status: 1=running, 2=offline.
- Task
Types This property is required. []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
This property is required. float64 - Node Type;1 = IDC,2 = LastMile,3 = Mobile.
- city
This property is required. String - City.
- code
This property is required. String - Node ID.
- code
Type This property is required. 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
This property is required. String - District.
- ip
Type This property is required. Double - IP type:1 = IPv4,2 = IPv6.
- location
This property is required. Double - Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- name
This property is required. String - Node name.
- net
Service This property is required. String - Network service provider.
- node
Define Status This property is required. Double - Node status: 1=running, 2=offline.
- task
Types This property is required. 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
This property is required. Double - Node Type;1 = IDC,2 = LastMile,3 = Mobile.
- city
This property is required. string - City.
- code
This property is required. string - Node ID.
- code
Type This property is required. 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
This property is required. string - District.
- ip
Type This property is required. number - IP type:1 = IPv4,2 = IPv6.
- location
This property is required. number - Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- name
This property is required. string - Node name.
- net
Service This property is required. string - Network service provider.
- node
Define Status This property is required. number - Node status: 1=running, 2=offline.
- task
Types This property is required. 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
This property is required. number - Node Type;1 = IDC,2 = LastMile,3 = Mobile.
- city
This property is required. str - City.
- code
This property is required. str - Node ID.
- code_
type This property is required. 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
This property is required. str - District.
- ip_
type This property is required. float - IP type:1 = IPv4,2 = IPv6.
- location
This property is required. float - Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- name
This property is required. str - Node name.
- net_
service This property is required. str - Network service provider.
- node_
define_ status This property is required. float - Node status: 1=running, 2=offline.
- task_
types This property is required. 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
This property is required. float - Node Type;1 = IDC,2 = LastMile,3 = Mobile.
- city
This property is required. String - City.
- code
This property is required. String - Node ID.
- code
Type This property is required. 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
This property is required. String - District.
- ip
Type This property is required. Number - IP type:1 = IPv4,2 = IPv6.
- location
This property is required. Number - Node area:1=Chinese Mainland,2=Hong Kong, Macao and Taiwan,3=Overseas.
- name
This property is required. String - Node name.
- net
Service This property is required. String - Network service provider.
- node
Define Status This property is required. Number - Node status: 1=running, 2=offline.
- task
Types This property is required. 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
This property is required. 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.182 published on Monday, Apr 14, 2025 by tencentcloudstack