tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getGaapProxyStatistics
Start a Neo task
Explain and create a tencentcloud.getGaapProxyStatistics resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of gaap proxy statistics
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const proxyStatistics = tencentcloud.getGaapProxyStatistics({
proxyId: "link-m9t4yho9",
startTime: "2024-05-20 00:00:00",
endTime: "2024-05-20 23:59:59",
metricNames: [
"InBandwidth",
"OutBandwidth",
"InFlow",
"OutFlow",
"InPackets",
"OutPackets",
"Concurrent",
"HttpQPS",
"HttpsQPS",
"Latency",
"PacketLoss",
],
granularity: 300,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
proxy_statistics = tencentcloud.get_gaap_proxy_statistics(proxy_id="link-m9t4yho9",
start_time="2024-05-20 00:00:00",
end_time="2024-05-20 23:59:59",
metric_names=[
"InBandwidth",
"OutBandwidth",
"InFlow",
"OutFlow",
"InPackets",
"OutPackets",
"Concurrent",
"HttpQPS",
"HttpsQPS",
"Latency",
"PacketLoss",
],
granularity=300)
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.GetGaapProxyStatistics(ctx, &tencentcloud.GetGaapProxyStatisticsArgs{
ProxyId: "link-m9t4yho9",
StartTime: "2024-05-20 00:00:00",
EndTime: "2024-05-20 23:59:59",
MetricNames: []string{
"InBandwidth",
"OutBandwidth",
"InFlow",
"OutFlow",
"InPackets",
"OutPackets",
"Concurrent",
"HttpQPS",
"HttpsQPS",
"Latency",
"PacketLoss",
},
Granularity: 300,
}, 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 proxyStatistics = Tencentcloud.GetGaapProxyStatistics.Invoke(new()
{
ProxyId = "link-m9t4yho9",
StartTime = "2024-05-20 00:00:00",
EndTime = "2024-05-20 23:59:59",
MetricNames = new[]
{
"InBandwidth",
"OutBandwidth",
"InFlow",
"OutFlow",
"InPackets",
"OutPackets",
"Concurrent",
"HttpQPS",
"HttpsQPS",
"Latency",
"PacketLoss",
},
Granularity = 300,
});
});
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.GetGaapProxyStatisticsArgs;
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 proxyStatistics = TencentcloudFunctions.getGaapProxyStatistics(GetGaapProxyStatisticsArgs.builder()
.proxyId("link-m9t4yho9")
.startTime("2024-05-20 00:00:00")
.endTime("2024-05-20 23:59:59")
.metricNames(
"InBandwidth",
"OutBandwidth",
"InFlow",
"OutFlow",
"InPackets",
"OutPackets",
"Concurrent",
"HttpQPS",
"HttpsQPS",
"Latency",
"PacketLoss")
.granularity(300)
.build());
}
}
variables:
proxyStatistics:
fn::invoke:
function: tencentcloud:getGaapProxyStatistics
arguments:
proxyId: link-m9t4yho9
startTime: 2024-05-20 00:00:00
endTime: 2024-05-20 23:59:59
metricNames:
- InBandwidth
- OutBandwidth
- InFlow
- OutFlow
- InPackets
- OutPackets
- Concurrent
- HttpQPS
- HttpsQPS
- Latency
- PacketLoss
granularity: 300
Using getGaapProxyStatistics
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 getGaapProxyStatistics(args: GetGaapProxyStatisticsArgs, opts?: InvokeOptions): Promise<GetGaapProxyStatisticsResult>
function getGaapProxyStatisticsOutput(args: GetGaapProxyStatisticsOutputArgs, opts?: InvokeOptions): Output<GetGaapProxyStatisticsResult>def get_gaap_proxy_statistics(end_time: Optional[str] = None,
granularity: Optional[float] = None,
id: Optional[str] = None,
isp: Optional[str] = None,
metric_names: Optional[Sequence[str]] = None,
proxy_id: Optional[str] = None,
result_output_file: Optional[str] = None,
start_time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGaapProxyStatisticsResult
def get_gaap_proxy_statistics_output(end_time: Optional[pulumi.Input[str]] = None,
granularity: Optional[pulumi.Input[float]] = None,
id: Optional[pulumi.Input[str]] = None,
isp: Optional[pulumi.Input[str]] = None,
metric_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
proxy_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
start_time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGaapProxyStatisticsResult]func GetGaapProxyStatistics(ctx *Context, args *GetGaapProxyStatisticsArgs, opts ...InvokeOption) (*GetGaapProxyStatisticsResult, error)
func GetGaapProxyStatisticsOutput(ctx *Context, args *GetGaapProxyStatisticsOutputArgs, opts ...InvokeOption) GetGaapProxyStatisticsResultOutput> Note: This function is named GetGaapProxyStatistics in the Go SDK.
public static class GetGaapProxyStatistics
{
public static Task<GetGaapProxyStatisticsResult> InvokeAsync(GetGaapProxyStatisticsArgs args, InvokeOptions? opts = null)
public static Output<GetGaapProxyStatisticsResult> Invoke(GetGaapProxyStatisticsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGaapProxyStatisticsResult> getGaapProxyStatistics(GetGaapProxyStatisticsArgs args, InvokeOptions options)
public static Output<GetGaapProxyStatisticsResult> getGaapProxyStatistics(GetGaapProxyStatisticsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getGaapProxyStatistics:getGaapProxyStatistics
arguments:
# arguments dictionaryThe following arguments are supported:
- End
Time string - End Time(2019-03-25 12:00:00).
- Granularity double
- Monitoring granularity, currently supporting 60 300 3600 86400, in seconds.When the time range does not exceed 3 days, support a minimum granularity of 60 seconds;When the time range does not exceed 7 days, support a minimum granularity of 300 seconds;When the time range does not exceed 30 days, the minimum granularity supported is 3600 seconds.
- Metric
Names List<string> - Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- Proxy
Id string - Proxy Id.
- Start
Time string - Start Time(2019-03-25 12:00:00).
- Id string
- Isp string
- Operator (valid when the proxy is a three network proxy), supports CMCC, CUCC, CTCC, and merges data from the three operators if null values are passed or not passed.
- Result
Output stringFile - Used to save results.
- End
Time string - End Time(2019-03-25 12:00:00).
- Granularity float64
- Monitoring granularity, currently supporting 60 300 3600 86400, in seconds.When the time range does not exceed 3 days, support a minimum granularity of 60 seconds;When the time range does not exceed 7 days, support a minimum granularity of 300 seconds;When the time range does not exceed 30 days, the minimum granularity supported is 3600 seconds.
- Metric
Names []string - Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- Proxy
Id string - Proxy Id.
- Start
Time string - Start Time(2019-03-25 12:00:00).
- Id string
- Isp string
- Operator (valid when the proxy is a three network proxy), supports CMCC, CUCC, CTCC, and merges data from the three operators if null values are passed or not passed.
- Result
Output stringFile - Used to save results.
- end
Time String - End Time(2019-03-25 12:00:00).
- granularity Double
- Monitoring granularity, currently supporting 60 300 3600 86400, in seconds.When the time range does not exceed 3 days, support a minimum granularity of 60 seconds;When the time range does not exceed 7 days, support a minimum granularity of 300 seconds;When the time range does not exceed 30 days, the minimum granularity supported is 3600 seconds.
- metric
Names List<String> - Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- proxy
Id String - Proxy Id.
- start
Time String - Start Time(2019-03-25 12:00:00).
- id String
- isp String
- Operator (valid when the proxy is a three network proxy), supports CMCC, CUCC, CTCC, and merges data from the three operators if null values are passed or not passed.
- result
Output StringFile - Used to save results.
- end
Time string - End Time(2019-03-25 12:00:00).
- granularity number
- Monitoring granularity, currently supporting 60 300 3600 86400, in seconds.When the time range does not exceed 3 days, support a minimum granularity of 60 seconds;When the time range does not exceed 7 days, support a minimum granularity of 300 seconds;When the time range does not exceed 30 days, the minimum granularity supported is 3600 seconds.
- metric
Names string[] - Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- proxy
Id string - Proxy Id.
- start
Time string - Start Time(2019-03-25 12:00:00).
- id string
- isp string
- Operator (valid when the proxy is a three network proxy), supports CMCC, CUCC, CTCC, and merges data from the three operators if null values are passed or not passed.
- result
Output stringFile - Used to save results.
- end_
time str - End Time(2019-03-25 12:00:00).
- granularity float
- Monitoring granularity, currently supporting 60 300 3600 86400, in seconds.When the time range does not exceed 3 days, support a minimum granularity of 60 seconds;When the time range does not exceed 7 days, support a minimum granularity of 300 seconds;When the time range does not exceed 30 days, the minimum granularity supported is 3600 seconds.
- metric_
names Sequence[str] - Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- proxy_
id str - Proxy Id.
- start_
time str - Start Time(2019-03-25 12:00:00).
- id str
- isp str
- Operator (valid when the proxy is a three network proxy), supports CMCC, CUCC, CTCC, and merges data from the three operators if null values are passed or not passed.
- result_
output_ strfile - Used to save results.
- end
Time String - End Time(2019-03-25 12:00:00).
- granularity Number
- Monitoring granularity, currently supporting 60 300 3600 86400, in seconds.When the time range does not exceed 3 days, support a minimum granularity of 60 seconds;When the time range does not exceed 7 days, support a minimum granularity of 300 seconds;When the time range does not exceed 30 days, the minimum granularity supported is 3600 seconds.
- metric
Names List<String> - Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- proxy
Id String - Proxy Id.
- start
Time String - Start Time(2019-03-25 12:00:00).
- id String
- isp String
- Operator (valid when the proxy is a three network proxy), supports CMCC, CUCC, CTCC, and merges data from the three operators if null values are passed or not passed.
- result
Output StringFile - Used to save results.
getGaapProxyStatistics Result
The following output properties are available:
- End
Time string - Granularity double
- Id string
- Metric
Names List<string> - Proxy
Id string - Start
Time string - Statistics
Datas List<GetGaap Proxy Statistics Statistics Data> - proxy Statistics.
- Isp string
- Result
Output stringFile
- End
Time string - Granularity float64
- Id string
- Metric
Names []string - Proxy
Id string - Start
Time string - Statistics
Datas []GetGaap Proxy Statistics Statistics Data - proxy Statistics.
- Isp string
- Result
Output stringFile
- end
Time String - granularity Double
- id String
- metric
Names List<String> - proxy
Id String - start
Time String - statistics
Datas List<GetGaap Proxy Statistics Statistics Data> - proxy Statistics.
- isp String
- result
Output StringFile
- end
Time string - granularity number
- id string
- metric
Names string[] - proxy
Id string - start
Time string - statistics
Datas GetGaap Proxy Statistics Statistics Data[] - proxy Statistics.
- isp string
- result
Output stringFile
- end_
time str - granularity float
- id str
- metric_
names Sequence[str] - proxy_
id str - start_
time str - statistics_
datas Sequence[GetGaap Proxy Statistics Statistics Data] - proxy Statistics.
- isp str
- result_
output_ strfile
- end
Time String - granularity Number
- id String
- metric
Names List<String> - proxy
Id String - start
Time String - statistics
Datas List<Property Map> - proxy Statistics.
- isp String
- result
Output StringFile
Supporting Types
GetGaapProxyStatisticsStatisticsData
- Metric
Datas List<GetGaap Proxy Statistics Statistics Data Metric Data> - Metric Data.
- Metric
Name string - Metric Name.
- Metric
Datas []GetGaap Proxy Statistics Statistics Data Metric Data - Metric Data.
- Metric
Name string - Metric Name.
- metric
Datas List<GetGaap Proxy Statistics Statistics Data Metric Data> - Metric Data.
- metric
Name String - Metric Name.
- metric
Datas GetGaap Proxy Statistics Statistics Data Metric Data[] - Metric Data.
- metric
Name string - Metric Name.
- metric_
datas Sequence[GetGaap Proxy Statistics Statistics Data Metric Data] - Metric Data.
- metric_
name str - Metric Name.
- metric
Datas List<Property Map> - Metric Data.
- metric
Name String - Metric Name.
GetGaapProxyStatisticsStatisticsDataMetricData
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
