tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getAntiddosOverviewAttackTrend
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 antiddos overview_attack_trend
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const overviewAttackTrend = tencentcloud.getAntiddosOverviewAttackTrend({
dimension: "attackcount",
endTime: "2023-11-22 10:28:31",
period: 86400,
startTime: "2023-11-21 10:28:31",
type: "ddos",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
overview_attack_trend = tencentcloud.get_antiddos_overview_attack_trend(dimension="attackcount",
end_time="2023-11-22 10:28:31",
period=86400,
start_time="2023-11-21 10:28:31",
type="ddos")
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.GetAntiddosOverviewAttackTrend(ctx, &tencentcloud.GetAntiddosOverviewAttackTrendArgs{
Dimension: "attackcount",
EndTime: "2023-11-22 10:28:31",
Period: 86400,
StartTime: "2023-11-21 10:28:31",
Type: "ddos",
}, 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 overviewAttackTrend = Tencentcloud.GetAntiddosOverviewAttackTrend.Invoke(new()
{
Dimension = "attackcount",
EndTime = "2023-11-22 10:28:31",
Period = 86400,
StartTime = "2023-11-21 10:28:31",
Type = "ddos",
});
});
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.GetAntiddosOverviewAttackTrendArgs;
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 overviewAttackTrend = TencentcloudFunctions.getAntiddosOverviewAttackTrend(GetAntiddosOverviewAttackTrendArgs.builder()
.dimension("attackcount")
.endTime("2023-11-22 10:28:31")
.period(86400)
.startTime("2023-11-21 10:28:31")
.type("ddos")
.build());
}
}
variables:
overviewAttackTrend:
fn::invoke:
function: tencentcloud:getAntiddosOverviewAttackTrend
arguments:
dimension: attackcount
endTime: 2023-11-22 10:28:31
period: 86400
startTime: 2023-11-21 10:28:31
type: ddos
Using getAntiddosOverviewAttackTrend
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 getAntiddosOverviewAttackTrend(args: GetAntiddosOverviewAttackTrendArgs, opts?: InvokeOptions): Promise<GetAntiddosOverviewAttackTrendResult>
function getAntiddosOverviewAttackTrendOutput(args: GetAntiddosOverviewAttackTrendOutputArgs, opts?: InvokeOptions): Output<GetAntiddosOverviewAttackTrendResult>
def get_antiddos_overview_attack_trend(dimension: Optional[str] = None,
end_time: Optional[str] = None,
id: Optional[str] = None,
period: Optional[float] = None,
result_output_file: Optional[str] = None,
start_time: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAntiddosOverviewAttackTrendResult
def get_antiddos_overview_attack_trend_output(dimension: Optional[pulumi.Input[str]] = None,
end_time: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
period: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
start_time: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAntiddosOverviewAttackTrendResult]
func GetAntiddosOverviewAttackTrend(ctx *Context, args *GetAntiddosOverviewAttackTrendArgs, opts ...InvokeOption) (*GetAntiddosOverviewAttackTrendResult, error)
func GetAntiddosOverviewAttackTrendOutput(ctx *Context, args *GetAntiddosOverviewAttackTrendOutputArgs, opts ...InvokeOption) GetAntiddosOverviewAttackTrendResultOutput
> Note: This function is named GetAntiddosOverviewAttackTrend
in the Go SDK.
public static class GetAntiddosOverviewAttackTrend
{
public static Task<GetAntiddosOverviewAttackTrendResult> InvokeAsync(GetAntiddosOverviewAttackTrendArgs args, InvokeOptions? opts = null)
public static Output<GetAntiddosOverviewAttackTrendResult> Invoke(GetAntiddosOverviewAttackTrendInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAntiddosOverviewAttackTrendResult> getAntiddosOverviewAttackTrend(GetAntiddosOverviewAttackTrendArgs args, InvokeOptions options)
public static Output<GetAntiddosOverviewAttackTrendResult> getAntiddosOverviewAttackTrend(GetAntiddosOverviewAttackTrendArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getAntiddosOverviewAttackTrend:getAntiddosOverviewAttackTrend
arguments:
# arguments dictionary
The following arguments are supported:
- Dimension string
- Latitude, currently only attackcount is supported.
- End
Time string - Protection Overview Attack Trend End Time.
- Period double
- Period, currently only 86400 is supported.
- Start
Time string - Protection Overview Attack Trend Start Time.
- Type string
- Attack type: cc, ddos.
- Id string
- Result
Output stringFile - Used to save results.
- Dimension string
- Latitude, currently only attackcount is supported.
- End
Time string - Protection Overview Attack Trend End Time.
- Period float64
- Period, currently only 86400 is supported.
- Start
Time string - Protection Overview Attack Trend Start Time.
- Type string
- Attack type: cc, ddos.
- Id string
- Result
Output stringFile - Used to save results.
- dimension String
- Latitude, currently only attackcount is supported.
- end
Time String - Protection Overview Attack Trend End Time.
- period Double
- Period, currently only 86400 is supported.
- start
Time String - Protection Overview Attack Trend Start Time.
- type String
- Attack type: cc, ddos.
- id String
- result
Output StringFile - Used to save results.
- dimension string
- Latitude, currently only attackcount is supported.
- end
Time string - Protection Overview Attack Trend End Time.
- period number
- Period, currently only 86400 is supported.
- start
Time string - Protection Overview Attack Trend Start Time.
- type string
- Attack type: cc, ddos.
- id string
- result
Output stringFile - Used to save results.
- dimension str
- Latitude, currently only attackcount is supported.
- end_
time str - Protection Overview Attack Trend End Time.
- period float
- Period, currently only 86400 is supported.
- start_
time str - Protection Overview Attack Trend Start Time.
- type str
- Attack type: cc, ddos.
- id str
- result_
output_ strfile - Used to save results.
- dimension String
- Latitude, currently only attackcount is supported.
- end
Time String - Protection Overview Attack Trend End Time.
- period Number
- Period, currently only 86400 is supported.
- start
Time String - Protection Overview Attack Trend Start Time.
- type String
- Attack type: cc, ddos.
- id String
- result
Output StringFile - Used to save results.
getAntiddosOverviewAttackTrend Result
The following output properties are available:
- Datas List<double>
- Number of attacks per cycle point.
- Dimension string
- End
Time string - Id string
- Period double
- Period
Point doubleCount - Number of period points included.
- Start
Time string - Type string
- Result
Output stringFile
- Datas []float64
- Number of attacks per cycle point.
- Dimension string
- End
Time string - Id string
- Period float64
- Period
Point float64Count - Number of period points included.
- Start
Time string - Type string
- Result
Output stringFile
- datas List<Double>
- Number of attacks per cycle point.
- dimension String
- end
Time String - id String
- period Double
- period
Point DoubleCount - Number of period points included.
- start
Time String - type String
- result
Output StringFile
- datas number[]
- Number of attacks per cycle point.
- dimension string
- end
Time string - id string
- period number
- period
Point numberCount - Number of period points included.
- start
Time string - type string
- result
Output stringFile
- datas Sequence[float]
- Number of attacks per cycle point.
- dimension str
- end_
time str - id str
- period float
- period_
point_ floatcount - Number of period points included.
- start_
time str - type str
- result_
output_ strfile
- datas List<Number>
- Number of attacks per cycle point.
- dimension String
- end
Time String - id String
- period Number
- period
Point NumberCount - Number of period points included.
- start
Time String - type 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