tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getClbInstanceTraffic
Start a Neo task
Explain and create a tencentcloud.getClbInstanceTraffic resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of clb instance_traffic
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const instanceTraffic = tencentcloud.getClbInstanceTraffic({
loadBalancerRegion: "ap-guangzhou",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
instance_traffic = tencentcloud.get_clb_instance_traffic(load_balancer_region="ap-guangzhou")
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.GetClbInstanceTraffic(ctx, &tencentcloud.GetClbInstanceTrafficArgs{
LoadBalancerRegion: pulumi.StringRef("ap-guangzhou"),
}, 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 instanceTraffic = Tencentcloud.GetClbInstanceTraffic.Invoke(new()
{
LoadBalancerRegion = "ap-guangzhou",
});
});
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.GetClbInstanceTrafficArgs;
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 instanceTraffic = TencentcloudFunctions.getClbInstanceTraffic(GetClbInstanceTrafficArgs.builder()
.loadBalancerRegion("ap-guangzhou")
.build());
}
}
variables:
instanceTraffic:
fn::invoke:
function: tencentcloud:getClbInstanceTraffic
arguments:
loadBalancerRegion: ap-guangzhou
Using getClbInstanceTraffic
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 getClbInstanceTraffic(args: GetClbInstanceTrafficArgs, opts?: InvokeOptions): Promise<GetClbInstanceTrafficResult>
function getClbInstanceTrafficOutput(args: GetClbInstanceTrafficOutputArgs, opts?: InvokeOptions): Output<GetClbInstanceTrafficResult>def get_clb_instance_traffic(id: Optional[str] = None,
load_balancer_region: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClbInstanceTrafficResult
def get_clb_instance_traffic_output(id: Optional[pulumi.Input[str]] = None,
load_balancer_region: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClbInstanceTrafficResult]func GetClbInstanceTraffic(ctx *Context, args *GetClbInstanceTrafficArgs, opts ...InvokeOption) (*GetClbInstanceTrafficResult, error)
func GetClbInstanceTrafficOutput(ctx *Context, args *GetClbInstanceTrafficOutputArgs, opts ...InvokeOption) GetClbInstanceTrafficResultOutput> Note: This function is named GetClbInstanceTraffic in the Go SDK.
public static class GetClbInstanceTraffic
{
public static Task<GetClbInstanceTrafficResult> InvokeAsync(GetClbInstanceTrafficArgs args, InvokeOptions? opts = null)
public static Output<GetClbInstanceTrafficResult> Invoke(GetClbInstanceTrafficInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClbInstanceTrafficResult> getClbInstanceTraffic(GetClbInstanceTrafficArgs args, InvokeOptions options)
public static Output<GetClbInstanceTrafficResult> getClbInstanceTraffic(GetClbInstanceTrafficArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getClbInstanceTraffic:getClbInstanceTraffic
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Load
Balancer stringRegion - CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned.
- Result
Output stringFile - Used to save results.
- Id string
- Load
Balancer stringRegion - CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned.
- Result
Output stringFile - Used to save results.
- id String
- load
Balancer StringRegion - CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned.
- result
Output StringFile - Used to save results.
- id string
- load
Balancer stringRegion - CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned.
- result
Output stringFile - Used to save results.
- id str
- load_
balancer_ strregion - CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned.
- result_
output_ strfile - Used to save results.
- id String
- load
Balancer StringRegion - CLB instance region. If this parameter is not passed in, CLB instances in all regions will be returned.
- result
Output StringFile - Used to save results.
getClbInstanceTraffic Result
The following output properties are available:
- Id string
- Load
Balancer List<GetTraffics Clb Instance Traffic Load Balancer Traffic> - Information of CLB instances sorted by outbound bandwidth from highest to lowest. Note: This field may return null, indicating that no valid values can be obtained.
- Load
Balancer stringRegion - Result
Output stringFile
- Id string
- Load
Balancer []GetTraffics Clb Instance Traffic Load Balancer Traffic - Information of CLB instances sorted by outbound bandwidth from highest to lowest. Note: This field may return null, indicating that no valid values can be obtained.
- Load
Balancer stringRegion - Result
Output stringFile
- id String
- load
Balancer List<GetTraffics Clb Instance Traffic Load Balancer Traffic> - Information of CLB instances sorted by outbound bandwidth from highest to lowest. Note: This field may return null, indicating that no valid values can be obtained.
- load
Balancer StringRegion - result
Output StringFile
- id string
- load
Balancer GetTraffics Clb Instance Traffic Load Balancer Traffic[] - Information of CLB instances sorted by outbound bandwidth from highest to lowest. Note: This field may return null, indicating that no valid values can be obtained.
- load
Balancer stringRegion - result
Output stringFile
- id str
- load_
balancer_ Sequence[Gettraffics Clb Instance Traffic Load Balancer Traffic] - Information of CLB instances sorted by outbound bandwidth from highest to lowest. Note: This field may return null, indicating that no valid values can be obtained.
- load_
balancer_ strregion - result_
output_ strfile
- id String
- load
Balancer List<Property Map>Traffics - Information of CLB instances sorted by outbound bandwidth from highest to lowest. Note: This field may return null, indicating that no valid values can be obtained.
- load
Balancer StringRegion - result
Output StringFile
Supporting Types
GetClbInstanceTrafficLoadBalancerTraffic
- Domain string
- CLB domain name. Note: This field may return null, indicating that no valid values can be obtained.
- Load
Balancer stringId - CLB instance ID.
- Load
Balancer stringName - CLB instance name.
- Out
Bandwidth double - Maximum outbound bandwidth in Mbps.
- Region string
- CLB instance region.
- Vip string
- CLB instance VIP.
- Domain string
- CLB domain name. Note: This field may return null, indicating that no valid values can be obtained.
- Load
Balancer stringId - CLB instance ID.
- Load
Balancer stringName - CLB instance name.
- Out
Bandwidth float64 - Maximum outbound bandwidth in Mbps.
- Region string
- CLB instance region.
- Vip string
- CLB instance VIP.
- domain String
- CLB domain name. Note: This field may return null, indicating that no valid values can be obtained.
- load
Balancer StringId - CLB instance ID.
- load
Balancer StringName - CLB instance name.
- out
Bandwidth Double - Maximum outbound bandwidth in Mbps.
- region String
- CLB instance region.
- vip String
- CLB instance VIP.
- domain string
- CLB domain name. Note: This field may return null, indicating that no valid values can be obtained.
- load
Balancer stringId - CLB instance ID.
- load
Balancer stringName - CLB instance name.
- out
Bandwidth number - Maximum outbound bandwidth in Mbps.
- region string
- CLB instance region.
- vip string
- CLB instance VIP.
- domain str
- CLB domain name. Note: This field may return null, indicating that no valid values can be obtained.
- load_
balancer_ strid - CLB instance ID.
- load_
balancer_ strname - CLB instance name.
- out_
bandwidth float - Maximum outbound bandwidth in Mbps.
- region str
- CLB instance region.
- vip str
- CLB instance VIP.
- domain String
- CLB domain name. Note: This field may return null, indicating that no valid values can be obtained.
- load
Balancer StringId - CLB instance ID.
- load
Balancer StringName - CLB instance name.
- out
Bandwidth Number - Maximum outbound bandwidth in Mbps.
- region String
- CLB instance region.
- vip String
- CLB instance VIP.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
