tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getWafPeakPoints
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 waf peak_points
Example Usage
Basic Query
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getWafPeakPoints({
fromTime: "2023-09-01 00:00:00",
toTime: "2023-09-07 00:00:00",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_waf_peak_points(from_time="2023-09-01 00:00:00",
to_time="2023-09-07 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.GetWafPeakPoints(ctx, &tencentcloud.GetWafPeakPointsArgs{
FromTime: "2023-09-01 00:00:00",
ToTime: "2023-09-07 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 example = Tencentcloud.GetWafPeakPoints.Invoke(new()
{
FromTime = "2023-09-01 00:00:00",
ToTime = "2023-09-07 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.GetWafPeakPointsArgs;
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 example = TencentcloudFunctions.getWafPeakPoints(GetWafPeakPointsArgs.builder()
.fromTime("2023-09-01 00:00:00")
.toTime("2023-09-07 00:00:00")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getWafPeakPoints
arguments:
fromTime: 2023-09-01 00:00:00
toTime: 2023-09-07 00:00:00
Query by filter
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getWafPeakPoints({
domain: "domain.com",
edition: "clb-waf",
fromTime: "2023-09-01 00:00:00",
instanceId: "waf_2kxtlbky00b2v1fn",
metricName: "access",
toTime: "2023-09-07 00:00:00",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_waf_peak_points(domain="domain.com",
edition="clb-waf",
from_time="2023-09-01 00:00:00",
instance_id="waf_2kxtlbky00b2v1fn",
metric_name="access",
to_time="2023-09-07 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.GetWafPeakPoints(ctx, &tencentcloud.GetWafPeakPointsArgs{
Domain: pulumi.StringRef("domain.com"),
Edition: pulumi.StringRef("clb-waf"),
FromTime: "2023-09-01 00:00:00",
InstanceId: pulumi.StringRef("waf_2kxtlbky00b2v1fn"),
MetricName: pulumi.StringRef("access"),
ToTime: "2023-09-07 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 example = Tencentcloud.GetWafPeakPoints.Invoke(new()
{
Domain = "domain.com",
Edition = "clb-waf",
FromTime = "2023-09-01 00:00:00",
InstanceId = "waf_2kxtlbky00b2v1fn",
MetricName = "access",
ToTime = "2023-09-07 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.GetWafPeakPointsArgs;
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 example = TencentcloudFunctions.getWafPeakPoints(GetWafPeakPointsArgs.builder()
.domain("domain.com")
.edition("clb-waf")
.fromTime("2023-09-01 00:00:00")
.instanceId("waf_2kxtlbky00b2v1fn")
.metricName("access")
.toTime("2023-09-07 00:00:00")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getWafPeakPoints
arguments:
domain: domain.com
edition: clb-waf
fromTime: 2023-09-01 00:00:00
instanceId: waf_2kxtlbky00b2v1fn
metricName: access
toTime: 2023-09-07 00:00:00
Using getWafPeakPoints
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 getWafPeakPoints(args: GetWafPeakPointsArgs, opts?: InvokeOptions): Promise<GetWafPeakPointsResult>
function getWafPeakPointsOutput(args: GetWafPeakPointsOutputArgs, opts?: InvokeOptions): Output<GetWafPeakPointsResult>
def get_waf_peak_points(domain: Optional[str] = None,
edition: Optional[str] = None,
from_time: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
metric_name: Optional[str] = None,
result_output_file: Optional[str] = None,
to_time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWafPeakPointsResult
def get_waf_peak_points_output(domain: Optional[pulumi.Input[str]] = None,
edition: Optional[pulumi.Input[str]] = None,
from_time: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
metric_name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
to_time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWafPeakPointsResult]
func GetWafPeakPoints(ctx *Context, args *GetWafPeakPointsArgs, opts ...InvokeOption) (*GetWafPeakPointsResult, error)
func GetWafPeakPointsOutput(ctx *Context, args *GetWafPeakPointsOutputArgs, opts ...InvokeOption) GetWafPeakPointsResultOutput
> Note: This function is named GetWafPeakPoints
in the Go SDK.
public static class GetWafPeakPoints
{
public static Task<GetWafPeakPointsResult> InvokeAsync(GetWafPeakPointsArgs args, InvokeOptions? opts = null)
public static Output<GetWafPeakPointsResult> Invoke(GetWafPeakPointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWafPeakPointsResult> getWafPeakPoints(GetWafPeakPointsArgs args, InvokeOptions options)
public static Output<GetWafPeakPointsResult> getWafPeakPoints(GetWafPeakPointsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getWafPeakPoints:getWafPeakPoints
arguments:
# arguments dictionary
The following arguments are supported:
- From
Time string - Begin time.
- To
Time string - End time.
- Domain string
- The domain name to be queried. If all domain name data is queried, this parameter is not filled in.
- Edition string
- Only support sparta-waf and clb-waf. If not passed, there will be no filtering.
- Id string
- Instance
Id string - WAF instance ID, if not passed, there will be no filtering.
- Metric
Name string - Twelve values are available:
access
-Peak qps trend chart;botAccess
- bot peak qps trend chart;down
-Downstream peak bandwidth trend chart;up
-Upstream peak bandwidth trend chart;attack
-Trend chart of total number of web attacks;cc
-Trend chart of total number of CC attacks;bw
- Black IP Attack Total Trend Chart;tamper
- Anti Tamper Attack Total Trend Chart;leak
- Trend chart of total number of anti leakage attacks;acl
- Trend chart of total number of access control attacks;http_status
- Trend chart of status code frequency;wx_access
- WeChat Mini Program Peak QPS Trend Chart. - Result
Output stringFile - Used to save results.
- From
Time string - Begin time.
- To
Time string - End time.
- Domain string
- The domain name to be queried. If all domain name data is queried, this parameter is not filled in.
- Edition string
- Only support sparta-waf and clb-waf. If not passed, there will be no filtering.
- Id string
- Instance
Id string - WAF instance ID, if not passed, there will be no filtering.
- Metric
Name string - Twelve values are available:
access
-Peak qps trend chart;botAccess
- bot peak qps trend chart;down
-Downstream peak bandwidth trend chart;up
-Upstream peak bandwidth trend chart;attack
-Trend chart of total number of web attacks;cc
-Trend chart of total number of CC attacks;bw
- Black IP Attack Total Trend Chart;tamper
- Anti Tamper Attack Total Trend Chart;leak
- Trend chart of total number of anti leakage attacks;acl
- Trend chart of total number of access control attacks;http_status
- Trend chart of status code frequency;wx_access
- WeChat Mini Program Peak QPS Trend Chart. - Result
Output stringFile - Used to save results.
- from
Time String - Begin time.
- to
Time String - End time.
- domain String
- The domain name to be queried. If all domain name data is queried, this parameter is not filled in.
- edition String
- Only support sparta-waf and clb-waf. If not passed, there will be no filtering.
- id String
- instance
Id String - WAF instance ID, if not passed, there will be no filtering.
- metric
Name String - Twelve values are available:
access
-Peak qps trend chart;botAccess
- bot peak qps trend chart;down
-Downstream peak bandwidth trend chart;up
-Upstream peak bandwidth trend chart;attack
-Trend chart of total number of web attacks;cc
-Trend chart of total number of CC attacks;bw
- Black IP Attack Total Trend Chart;tamper
- Anti Tamper Attack Total Trend Chart;leak
- Trend chart of total number of anti leakage attacks;acl
- Trend chart of total number of access control attacks;http_status
- Trend chart of status code frequency;wx_access
- WeChat Mini Program Peak QPS Trend Chart. - result
Output StringFile - Used to save results.
- from
Time string - Begin time.
- to
Time string - End time.
- domain string
- The domain name to be queried. If all domain name data is queried, this parameter is not filled in.
- edition string
- Only support sparta-waf and clb-waf. If not passed, there will be no filtering.
- id string
- instance
Id string - WAF instance ID, if not passed, there will be no filtering.
- metric
Name string - Twelve values are available:
access
-Peak qps trend chart;botAccess
- bot peak qps trend chart;down
-Downstream peak bandwidth trend chart;up
-Upstream peak bandwidth trend chart;attack
-Trend chart of total number of web attacks;cc
-Trend chart of total number of CC attacks;bw
- Black IP Attack Total Trend Chart;tamper
- Anti Tamper Attack Total Trend Chart;leak
- Trend chart of total number of anti leakage attacks;acl
- Trend chart of total number of access control attacks;http_status
- Trend chart of status code frequency;wx_access
- WeChat Mini Program Peak QPS Trend Chart. - result
Output stringFile - Used to save results.
- from_
time str - Begin time.
- to_
time str - End time.
- domain str
- The domain name to be queried. If all domain name data is queried, this parameter is not filled in.
- edition str
- Only support sparta-waf and clb-waf. If not passed, there will be no filtering.
- id str
- instance_
id str - WAF instance ID, if not passed, there will be no filtering.
- metric_
name str - Twelve values are available:
access
-Peak qps trend chart;botAccess
- bot peak qps trend chart;down
-Downstream peak bandwidth trend chart;up
-Upstream peak bandwidth trend chart;attack
-Trend chart of total number of web attacks;cc
-Trend chart of total number of CC attacks;bw
- Black IP Attack Total Trend Chart;tamper
- Anti Tamper Attack Total Trend Chart;leak
- Trend chart of total number of anti leakage attacks;acl
- Trend chart of total number of access control attacks;http_status
- Trend chart of status code frequency;wx_access
- WeChat Mini Program Peak QPS Trend Chart. - result_
output_ strfile - Used to save results.
- from
Time String - Begin time.
- to
Time String - End time.
- domain String
- The domain name to be queried. If all domain name data is queried, this parameter is not filled in.
- edition String
- Only support sparta-waf and clb-waf. If not passed, there will be no filtering.
- id String
- instance
Id String - WAF instance ID, if not passed, there will be no filtering.
- metric
Name String - Twelve values are available:
access
-Peak qps trend chart;botAccess
- bot peak qps trend chart;down
-Downstream peak bandwidth trend chart;up
-Upstream peak bandwidth trend chart;attack
-Trend chart of total number of web attacks;cc
-Trend chart of total number of CC attacks;bw
- Black IP Attack Total Trend Chart;tamper
- Anti Tamper Attack Total Trend Chart;leak
- Trend chart of total number of anti leakage attacks;acl
- Trend chart of total number of access control attacks;http_status
- Trend chart of status code frequency;wx_access
- WeChat Mini Program Peak QPS Trend Chart. - result
Output StringFile - Used to save results.
getWafPeakPoints Result
The following output properties are available:
- From
Time string - Id string
- Points
List<Get
Waf Peak Points Point> - point list.
- To
Time string - Domain string
- Edition string
- Instance
Id string - Metric
Name string - Result
Output stringFile
- From
Time string - Id string
- Points
[]Get
Waf Peak Points Point - point list.
- To
Time string - Domain string
- Edition string
- Instance
Id string - Metric
Name string - Result
Output stringFile
- from
Time String - id String
- points
List<Get
Waf Peak Points Point> - point list.
- to
Time String - domain String
- edition String
- instance
Id String - metric
Name String - result
Output StringFile
- from
Time string - id string
- points
Get
Waf Peak Points Point[] - point list.
- to
Time string - domain string
- edition string
- instance
Id string - metric
Name string - result
Output stringFile
- from_
time str - id str
- points
Sequence[Get
Waf Peak Points Point] - point list.
- to_
time str - domain str
- edition str
- instance_
id str - metric_
name str - result_
output_ strfile
- from
Time String - id String
- points List<Property Map>
- point list.
- to
Time String - domain String
- edition String
- instance
Id String - metric
Name String - result
Output StringFile
Supporting Types
GetWafPeakPointsPoint
- Access double
- qps.
- Attack double
- Number of web attacks.
- Bot
Access double - Bot qps.
- Cc double
- Number of cc attacks.
- Down double
- Peak downlink bandwidth, unit B.
- Status
Client doubleError - Trend chart of the number of status codes returned by WAF to the client.
- Status
Ok double - Trend chart of the number of status codes returned by WAF to the client.
- Status
Redirect double - Trend chart of the number of status codes returned by WAF to the client.
- Status
Server doubleError - Trend chart of the number of status codes returned by WAF to the server.
- Time double
- Second level timestamp.
- Up double
- Peak uplink bandwidth, unit B.
- Upstream
Client doubleError - Trend chart of the number of status codes returned to WAF by the origin site.
- Upstream
Redirect double - Trend chart of the number of status codes returned to WAF by the origin site.
- Upstream
Server doubleError - Trend chart of the number of status codes returned to WAF by the origin site.
- Access float64
- qps.
- Attack float64
- Number of web attacks.
- Bot
Access float64 - Bot qps.
- Cc float64
- Number of cc attacks.
- Down float64
- Peak downlink bandwidth, unit B.
- Status
Client float64Error - Trend chart of the number of status codes returned by WAF to the client.
- Status
Ok float64 - Trend chart of the number of status codes returned by WAF to the client.
- Status
Redirect float64 - Trend chart of the number of status codes returned by WAF to the client.
- Status
Server float64Error - Trend chart of the number of status codes returned by WAF to the server.
- Time float64
- Second level timestamp.
- Up float64
- Peak uplink bandwidth, unit B.
- Upstream
Client float64Error - Trend chart of the number of status codes returned to WAF by the origin site.
- Upstream
Redirect float64 - Trend chart of the number of status codes returned to WAF by the origin site.
- Upstream
Server float64Error - Trend chart of the number of status codes returned to WAF by the origin site.
- access Double
- qps.
- attack Double
- Number of web attacks.
- bot
Access Double - Bot qps.
- cc Double
- Number of cc attacks.
- down Double
- Peak downlink bandwidth, unit B.
- status
Client DoubleError - Trend chart of the number of status codes returned by WAF to the client.
- status
Ok Double - Trend chart of the number of status codes returned by WAF to the client.
- status
Redirect Double - Trend chart of the number of status codes returned by WAF to the client.
- status
Server DoubleError - Trend chart of the number of status codes returned by WAF to the server.
- time Double
- Second level timestamp.
- up Double
- Peak uplink bandwidth, unit B.
- upstream
Client DoubleError - Trend chart of the number of status codes returned to WAF by the origin site.
- upstream
Redirect Double - Trend chart of the number of status codes returned to WAF by the origin site.
- upstream
Server DoubleError - Trend chart of the number of status codes returned to WAF by the origin site.
- access number
- qps.
- attack number
- Number of web attacks.
- bot
Access number - Bot qps.
- cc number
- Number of cc attacks.
- down number
- Peak downlink bandwidth, unit B.
- status
Client numberError - Trend chart of the number of status codes returned by WAF to the client.
- status
Ok number - Trend chart of the number of status codes returned by WAF to the client.
- status
Redirect number - Trend chart of the number of status codes returned by WAF to the client.
- status
Server numberError - Trend chart of the number of status codes returned by WAF to the server.
- time number
- Second level timestamp.
- up number
- Peak uplink bandwidth, unit B.
- upstream
Client numberError - Trend chart of the number of status codes returned to WAF by the origin site.
- upstream
Redirect number - Trend chart of the number of status codes returned to WAF by the origin site.
- upstream
Server numberError - Trend chart of the number of status codes returned to WAF by the origin site.
- access float
- qps.
- attack float
- Number of web attacks.
- bot_
access float - Bot qps.
- cc float
- Number of cc attacks.
- down float
- Peak downlink bandwidth, unit B.
- status_
client_ floaterror - Trend chart of the number of status codes returned by WAF to the client.
- status_
ok float - Trend chart of the number of status codes returned by WAF to the client.
- status_
redirect float - Trend chart of the number of status codes returned by WAF to the client.
- status_
server_ floaterror - Trend chart of the number of status codes returned by WAF to the server.
- time float
- Second level timestamp.
- up float
- Peak uplink bandwidth, unit B.
- upstream_
client_ floaterror - Trend chart of the number of status codes returned to WAF by the origin site.
- upstream_
redirect float - Trend chart of the number of status codes returned to WAF by the origin site.
- upstream_
server_ floaterror - Trend chart of the number of status codes returned to WAF by the origin site.
- access Number
- qps.
- attack Number
- Number of web attacks.
- bot
Access Number - Bot qps.
- cc Number
- Number of cc attacks.
- down Number
- Peak downlink bandwidth, unit B.
- status
Client NumberError - Trend chart of the number of status codes returned by WAF to the client.
- status
Ok Number - Trend chart of the number of status codes returned by WAF to the client.
- status
Redirect Number - Trend chart of the number of status codes returned by WAF to the client.
- status
Server NumberError - Trend chart of the number of status codes returned by WAF to the server.
- time Number
- Second level timestamp.
- up Number
- Peak uplink bandwidth, unit B.
- upstream
Client NumberError - Trend chart of the number of status codes returned to WAF by the origin site.
- upstream
Redirect Number - Trend chart of the number of status codes returned to WAF by the origin site.
- upstream
Server NumberError - Trend chart of the number of status codes returned to WAF by the origin site.
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