tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getGaapProxyStatistics
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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({
    endTime: "2024-05-20 23:59:59",
    granularity: 300,
    metricNames: [
        "InBandwidth",
        "OutBandwidth",
        "InFlow",
        "OutFlow",
        "InPackets",
        "OutPackets",
        "Concurrent",
        "HttpQPS",
        "HttpsQPS",
        "Latency",
        "PacketLoss",
    ],
    proxyId: "link-m9t4yho9",
    startTime: "2024-05-20 00:00:00",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
proxy_statistics = tencentcloud.get_gaap_proxy_statistics(end_time="2024-05-20 23:59:59",
    granularity=300,
    metric_names=[
        "InBandwidth",
        "OutBandwidth",
        "InFlow",
        "OutFlow",
        "InPackets",
        "OutPackets",
        "Concurrent",
        "HttpQPS",
        "HttpsQPS",
        "Latency",
        "PacketLoss",
    ],
    proxy_id="link-m9t4yho9",
    start_time="2024-05-20 00:00:00")
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{
			EndTime:     "2024-05-20 23:59:59",
			Granularity: 300,
			MetricNames: []string{
				"InBandwidth",
				"OutBandwidth",
				"InFlow",
				"OutFlow",
				"InPackets",
				"OutPackets",
				"Concurrent",
				"HttpQPS",
				"HttpsQPS",
				"Latency",
				"PacketLoss",
			},
			ProxyId:   "link-m9t4yho9",
			StartTime: "2024-05-20 00:00:00",
		}, 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()
    {
        EndTime = "2024-05-20 23:59:59",
        Granularity = 300,
        MetricNames = new[]
        {
            "InBandwidth",
            "OutBandwidth",
            "InFlow",
            "OutFlow",
            "InPackets",
            "OutPackets",
            "Concurrent",
            "HttpQPS",
            "HttpsQPS",
            "Latency",
            "PacketLoss",
        },
        ProxyId = "link-m9t4yho9",
        StartTime = "2024-05-20 00:00:00",
    });
});
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()
            .endTime("2024-05-20 23:59:59")
            .granularity(300)
            .metricNames(            
                "InBandwidth",
                "OutBandwidth",
                "InFlow",
                "OutFlow",
                "InPackets",
                "OutPackets",
                "Concurrent",
                "HttpQPS",
                "HttpsQPS",
                "Latency",
                "PacketLoss")
            .proxyId("link-m9t4yho9")
            .startTime("2024-05-20 00:00:00")
            .build());
    }
}
variables:
  proxyStatistics:
    fn::invoke:
      function: tencentcloud:getGaapProxyStatistics
      arguments:
        endTime: 2024-05-20 23:59:59
        granularity: 300
        metricNames:
          - InBandwidth
          - OutBandwidth
          - InFlow
          - OutFlow
          - InPackets
          - OutPackets
          - Concurrent
          - HttpQPS
          - HttpsQPS
          - Latency
          - PacketLoss
        proxyId: link-m9t4yho9
        startTime: 2024-05-20 00:00:00
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:
- EndTime 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.
- MetricNames List<string>
- Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- ProxyId string
- Proxy Id.
- StartTime 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.
- ResultOutput stringFile 
- Used to save results.
- EndTime 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.
- MetricNames []string
- Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- ProxyId string
- Proxy Id.
- StartTime 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.
- ResultOutput stringFile 
- Used to save results.
- endTime 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.
- metricNames List<String>
- Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- proxyId String
- Proxy Id.
- startTime 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.
- resultOutput StringFile 
- Used to save results.
- endTime 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.
- metricNames string[]
- Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- proxyId string
- Proxy Id.
- startTime 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.
- resultOutput 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.
- endTime 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.
- metricNames List<String>
- Metric Names. Valid values: InBandwidth,OutBandwidth, Concurrent, InPackets, OutPackets, PacketLoss, Latency, HttpQPS, HttpsQPS, HttpQPSPercent, HttpsQPSPercent.
- proxyId String
- Proxy Id.
- startTime 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.
- resultOutput StringFile 
- Used to save results.
getGaapProxyStatistics Result
The following output properties are available:
- EndTime string
- Granularity double
- Id string
- MetricNames List<string>
- ProxyId string
- StartTime string
- StatisticsDatas List<GetGaap Proxy Statistics Statistics Data> 
- proxy Statistics.
- Isp string
- ResultOutput stringFile 
- EndTime string
- Granularity float64
- Id string
- MetricNames []string
- ProxyId string
- StartTime string
- StatisticsDatas []GetGaap Proxy Statistics Statistics Data 
- proxy Statistics.
- Isp string
- ResultOutput stringFile 
- endTime String
- granularity Double
- id String
- metricNames List<String>
- proxyId String
- startTime String
- statisticsDatas List<GetGaap Proxy Statistics Statistics Data> 
- proxy Statistics.
- isp String
- resultOutput StringFile 
- endTime string
- granularity number
- id string
- metricNames string[]
- proxyId string
- startTime string
- statisticsDatas GetGaap Proxy Statistics Statistics Data[] 
- proxy Statistics.
- isp string
- resultOutput 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 
- endTime String
- granularity Number
- id String
- metricNames List<String>
- proxyId String
- startTime String
- statisticsDatas List<Property Map>
- proxy Statistics.
- isp String
- resultOutput StringFile 
Supporting Types
GetGaapProxyStatisticsStatisticsData     
- MetricDatas List<GetGaap Proxy Statistics Statistics Data Metric Data> 
- Metric Data.
- MetricName string
- Metric Name.
- MetricDatas []GetGaap Proxy Statistics Statistics Data Metric Data 
- Metric Data.
- MetricName string
- Metric Name.
- metricDatas List<GetGaap Proxy Statistics Statistics Data Metric Data> 
- Metric Data.
- metricName String
- Metric Name.
- metricDatas GetGaap Proxy Statistics Statistics Data Metric Data[] 
- Metric Data.
- metricName string
- Metric Name.
- metric_datas Sequence[GetGaap Proxy Statistics Statistics Data Metric Data] 
- Metric Data.
- metric_name str
- Metric Name.
- metricDatas List<Property Map>
- Metric Data.
- metricName 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.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack