tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getWafAttackOverview
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 attack_overview
Example Usage
Basic Query
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getWafAttackOverview({
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_attack_overview(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.GetWafAttackOverview(ctx, &tencentcloud.GetWafAttackOverviewArgs{
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.GetWafAttackOverview.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.GetWafAttackOverviewArgs;
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.getWafAttackOverview(GetWafAttackOverviewArgs.builder()
.fromTime("2023-09-01 00:00:00")
.toTime("2023-09-07 00:00:00")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getWafAttackOverview
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.getWafAttackOverview({
appid: 1304251372,
domain: "test.com",
edition: "clb-waf",
fromTime: "2023-09-01 00:00:00",
instanceId: "waf_2kxtlbky00b2v1fn",
toTime: "2023-09-07 00:00:00",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_waf_attack_overview(appid=1304251372,
domain="test.com",
edition="clb-waf",
from_time="2023-09-01 00:00:00",
instance_id="waf_2kxtlbky00b2v1fn",
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.GetWafAttackOverview(ctx, &tencentcloud.GetWafAttackOverviewArgs{
Appid: pulumi.Float64Ref(1304251372),
Domain: pulumi.StringRef("test.com"),
Edition: pulumi.StringRef("clb-waf"),
FromTime: "2023-09-01 00:00:00",
InstanceId: pulumi.StringRef("waf_2kxtlbky00b2v1fn"),
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.GetWafAttackOverview.Invoke(new()
{
Appid = 1304251372,
Domain = "test.com",
Edition = "clb-waf",
FromTime = "2023-09-01 00:00:00",
InstanceId = "waf_2kxtlbky00b2v1fn",
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.GetWafAttackOverviewArgs;
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.getWafAttackOverview(GetWafAttackOverviewArgs.builder()
.appid(1304251372)
.domain("test.com")
.edition("clb-waf")
.fromTime("2023-09-01 00:00:00")
.instanceId("waf_2kxtlbky00b2v1fn")
.toTime("2023-09-07 00:00:00")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getWafAttackOverview
arguments:
appid: 1.304251372e+09
domain: test.com
edition: clb-waf
fromTime: 2023-09-01 00:00:00
instanceId: waf_2kxtlbky00b2v1fn
toTime: 2023-09-07 00:00:00
Using getWafAttackOverview
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 getWafAttackOverview(args: GetWafAttackOverviewArgs, opts?: InvokeOptions): Promise<GetWafAttackOverviewResult>
function getWafAttackOverviewOutput(args: GetWafAttackOverviewOutputArgs, opts?: InvokeOptions): Output<GetWafAttackOverviewResult>
def get_waf_attack_overview(appid: Optional[float] = None,
domain: Optional[str] = None,
edition: Optional[str] = None,
from_time: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
to_time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWafAttackOverviewResult
def get_waf_attack_overview_output(appid: Optional[pulumi.Input[float]] = None,
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,
result_output_file: Optional[pulumi.Input[str]] = None,
to_time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWafAttackOverviewResult]
func GetWafAttackOverview(ctx *Context, args *GetWafAttackOverviewArgs, opts ...InvokeOption) (*GetWafAttackOverviewResult, error)
func GetWafAttackOverviewOutput(ctx *Context, args *GetWafAttackOverviewOutputArgs, opts ...InvokeOption) GetWafAttackOverviewResultOutput
> Note: This function is named GetWafAttackOverview
in the Go SDK.
public static class GetWafAttackOverview
{
public static Task<GetWafAttackOverviewResult> InvokeAsync(GetWafAttackOverviewArgs args, InvokeOptions? opts = null)
public static Output<GetWafAttackOverviewResult> Invoke(GetWafAttackOverviewInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWafAttackOverviewResult> getWafAttackOverview(GetWafAttackOverviewArgs args, InvokeOptions options)
public static Output<GetWafAttackOverviewResult> getWafAttackOverview(GetWafAttackOverviewArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getWafAttackOverview:getWafAttackOverview
arguments:
# arguments dictionary
The following arguments are supported:
- From
Time string - Begin time.
- To
Time string - End time.
- Appid double
- App id.
- Domain string
- Domain.
- Edition string
- support
sparta-waf
,clb-waf
, otherwise not filter. - Id string
- Instance
Id string - Waf instanceId, otherwise not filter.
- Result
Output stringFile - Used to save results.
- From
Time string - Begin time.
- To
Time string - End time.
- Appid float64
- App id.
- Domain string
- Domain.
- Edition string
- support
sparta-waf
,clb-waf
, otherwise not filter. - Id string
- Instance
Id string - Waf instanceId, otherwise not filter.
- Result
Output stringFile - Used to save results.
- from
Time String - Begin time.
- to
Time String - End time.
- appid Double
- App id.
- domain String
- Domain.
- edition String
- support
sparta-waf
,clb-waf
, otherwise not filter. - id String
- instance
Id String - Waf instanceId, otherwise not filter.
- result
Output StringFile - Used to save results.
- from
Time string - Begin time.
- to
Time string - End time.
- appid number
- App id.
- domain string
- Domain.
- edition string
- support
sparta-waf
,clb-waf
, otherwise not filter. - id string
- instance
Id string - Waf instanceId, otherwise not filter.
- result
Output stringFile - Used to save results.
- from_
time str - Begin time.
- to_
time str - End time.
- appid float
- App id.
- domain str
- Domain.
- edition str
- support
sparta-waf
,clb-waf
, otherwise not filter. - id str
- instance_
id str - Waf instanceId, otherwise not filter.
- result_
output_ strfile - Used to save results.
- from
Time String - Begin time.
- to
Time String - End time.
- appid Number
- App id.
- domain String
- Domain.
- edition String
- support
sparta-waf
,clb-waf
, otherwise not filter. - id String
- instance
Id String - Waf instanceId, otherwise not filter.
- result
Output StringFile - Used to save results.
getWafAttackOverview Result
The following output properties are available:
- Access
Count double - Access count.
- Acl
Count double - Access control count.
- Api
Assets doubleCount - Api asset count.
- Api
Risk doubleEvent Count - Number of API risk events.
- Attack
Count double - Attack count.
- Bot
Count double - Bot attack count.
- Cc
Count double - CC attack count.
- From
Time string - Id string
- To
Time string - Appid double
- Domain string
- Edition string
- Instance
Id string - Result
Output stringFile
- Access
Count float64 - Access count.
- Acl
Count float64 - Access control count.
- Api
Assets float64Count - Api asset count.
- Api
Risk float64Event Count - Number of API risk events.
- Attack
Count float64 - Attack count.
- Bot
Count float64 - Bot attack count.
- Cc
Count float64 - CC attack count.
- From
Time string - Id string
- To
Time string - Appid float64
- Domain string
- Edition string
- Instance
Id string - Result
Output stringFile
- access
Count Double - Access count.
- acl
Count Double - Access control count.
- api
Assets DoubleCount - Api asset count.
- api
Risk DoubleEvent Count - Number of API risk events.
- attack
Count Double - Attack count.
- bot
Count Double - Bot attack count.
- cc
Count Double - CC attack count.
- from
Time String - id String
- to
Time String - appid Double
- domain String
- edition String
- instance
Id String - result
Output StringFile
- access
Count number - Access count.
- acl
Count number - Access control count.
- api
Assets numberCount - Api asset count.
- api
Risk numberEvent Count - Number of API risk events.
- attack
Count number - Attack count.
- bot
Count number - Bot attack count.
- cc
Count number - CC attack count.
- from
Time string - id string
- to
Time string - appid number
- domain string
- edition string
- instance
Id string - result
Output stringFile
- access_
count float - Access count.
- acl_
count float - Access control count.
- api_
assets_ floatcount - Api asset count.
- api_
risk_ floatevent_ count - Number of API risk events.
- attack_
count float - Attack count.
- bot_
count float - Bot attack count.
- cc_
count float - CC attack count.
- from_
time str - id str
- to_
time str - appid float
- domain str
- edition str
- instance_
id str - result_
output_ strfile
- access
Count Number - Access count.
- acl
Count Number - Access control count.
- api
Assets NumberCount - Api asset count.
- api
Risk NumberEvent Count - Number of API risk events.
- attack
Count Number - Attack count.
- bot
Count Number - Bot attack count.
- cc
Count Number - CC attack count.
- from
Time String - id String
- to
Time String - appid Number
- domain String
- edition String
- instance
Id String - result
Output StringFile
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