tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getAntiddosBgpBizTrend
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 bgp_biz_trend
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const bgpBizTrend = tencentcloud.getAntiddosBgpBizTrend({
business: "bgp-multip",
endTime: "2023-11-22 10:25:00",
flag: 0,
instanceId: "bgp-00000ry7",
metricName: "intraffic",
startTime: "2023-11-22 09:25:00",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
bgp_biz_trend = tencentcloud.get_antiddos_bgp_biz_trend(business="bgp-multip",
end_time="2023-11-22 10:25:00",
flag=0,
instance_id="bgp-00000ry7",
metric_name="intraffic",
start_time="2023-11-22 09:25: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.GetAntiddosBgpBizTrend(ctx, &tencentcloud.GetAntiddosBgpBizTrendArgs{
Business: "bgp-multip",
EndTime: "2023-11-22 10:25:00",
Flag: 0,
InstanceId: "bgp-00000ry7",
MetricName: "intraffic",
StartTime: "2023-11-22 09:25: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 bgpBizTrend = Tencentcloud.GetAntiddosBgpBizTrend.Invoke(new()
{
Business = "bgp-multip",
EndTime = "2023-11-22 10:25:00",
Flag = 0,
InstanceId = "bgp-00000ry7",
MetricName = "intraffic",
StartTime = "2023-11-22 09:25: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.GetAntiddosBgpBizTrendArgs;
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 bgpBizTrend = TencentcloudFunctions.getAntiddosBgpBizTrend(GetAntiddosBgpBizTrendArgs.builder()
.business("bgp-multip")
.endTime("2023-11-22 10:25:00")
.flag(0)
.instanceId("bgp-00000ry7")
.metricName("intraffic")
.startTime("2023-11-22 09:25:00")
.build());
}
}
variables:
bgpBizTrend:
fn::invoke:
function: tencentcloud:getAntiddosBgpBizTrend
arguments:
business: bgp-multip
endTime: 2023-11-22 10:25:00
flag: 0
instanceId: bgp-00000ry7
metricName: intraffic
startTime: 2023-11-22 09:25:00
Using getAntiddosBgpBizTrend
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 getAntiddosBgpBizTrend(args: GetAntiddosBgpBizTrendArgs, opts?: InvokeOptions): Promise<GetAntiddosBgpBizTrendResult>
function getAntiddosBgpBizTrendOutput(args: GetAntiddosBgpBizTrendOutputArgs, opts?: InvokeOptions): Output<GetAntiddosBgpBizTrendResult>
def get_antiddos_bgp_biz_trend(business: Optional[str] = None,
end_time: Optional[str] = None,
flag: Optional[float] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
metric_name: Optional[str] = None,
result_output_file: Optional[str] = None,
start_time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAntiddosBgpBizTrendResult
def get_antiddos_bgp_biz_trend_output(business: Optional[pulumi.Input[str]] = None,
end_time: Optional[pulumi.Input[str]] = None,
flag: Optional[pulumi.Input[float]] = 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,
start_time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAntiddosBgpBizTrendResult]
func GetAntiddosBgpBizTrend(ctx *Context, args *GetAntiddosBgpBizTrendArgs, opts ...InvokeOption) (*GetAntiddosBgpBizTrendResult, error)
func GetAntiddosBgpBizTrendOutput(ctx *Context, args *GetAntiddosBgpBizTrendOutputArgs, opts ...InvokeOption) GetAntiddosBgpBizTrendResultOutput
> Note: This function is named GetAntiddosBgpBizTrend
in the Go SDK.
public static class GetAntiddosBgpBizTrend
{
public static Task<GetAntiddosBgpBizTrendResult> InvokeAsync(GetAntiddosBgpBizTrendArgs args, InvokeOptions? opts = null)
public static Output<GetAntiddosBgpBizTrendResult> Invoke(GetAntiddosBgpBizTrendInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAntiddosBgpBizTrendResult> getAntiddosBgpBizTrend(GetAntiddosBgpBizTrendArgs args, InvokeOptions options)
public static Output<GetAntiddosBgpBizTrendResult> getAntiddosBgpBizTrend(GetAntiddosBgpBizTrendArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getAntiddosBgpBizTrend:getAntiddosBgpBizTrend
arguments:
# arguments dictionary
The following arguments are supported:
- Business string
- Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
- End
Time string - Statistic end time.
- Flag double
- 0 represents fixed time, 1 represents custom time.
- Instance
Id string - Antiddos InstanceId.
- Metric
Name string - Statistic metric name, for example: intraffic, outtraffic, inpkg, outpkg.
- Start
Time string - Statistic start time.
- Id string
- Result
Output stringFile - Used to save results.
- Business string
- Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
- End
Time string - Statistic end time.
- Flag float64
- 0 represents fixed time, 1 represents custom time.
- Instance
Id string - Antiddos InstanceId.
- Metric
Name string - Statistic metric name, for example: intraffic, outtraffic, inpkg, outpkg.
- Start
Time string - Statistic start time.
- Id string
- Result
Output stringFile - Used to save results.
- business String
- Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
- end
Time String - Statistic end time.
- flag Double
- 0 represents fixed time, 1 represents custom time.
- instance
Id String - Antiddos InstanceId.
- metric
Name String - Statistic metric name, for example: intraffic, outtraffic, inpkg, outpkg.
- start
Time String - Statistic start time.
- id String
- result
Output StringFile - Used to save results.
- business string
- Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
- end
Time string - Statistic end time.
- flag number
- 0 represents fixed time, 1 represents custom time.
- instance
Id string - Antiddos InstanceId.
- metric
Name string - Statistic metric name, for example: intraffic, outtraffic, inpkg, outpkg.
- start
Time string - Statistic start time.
- id string
- result
Output stringFile - Used to save results.
- business str
- Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
- end_
time str - Statistic end time.
- flag float
- 0 represents fixed time, 1 represents custom time.
- instance_
id str - Antiddos InstanceId.
- metric_
name str - Statistic metric name, for example: intraffic, outtraffic, inpkg, outpkg.
- start_
time str - Statistic start time.
- id str
- result_
output_ strfile - Used to save results.
- business String
- Dayu sub product code (bgpip represents advanced defense IP; net represents professional version of advanced defense IP).
- end
Time String - Statistic end time.
- flag Number
- 0 represents fixed time, 1 represents custom time.
- instance
Id String - Antiddos InstanceId.
- metric
Name String - Statistic metric name, for example: intraffic, outtraffic, inpkg, outpkg.
- start
Time String - Statistic start time.
- id String
- result
Output StringFile - Used to save results.
getAntiddosBgpBizTrend Result
The following output properties are available:
- Business string
- Data
Lists List<double> - Values at various time points on the graph.
- End
Time string - Flag double
- Id string
- Instance
Id string - Max
Data double - Returns the maximum value of an array.
- Metric
Name string - Start
Time string - Total double
- Number of values in the curve graph.
- Result
Output stringFile
- Business string
- Data
Lists []float64 - Values at various time points on the graph.
- End
Time string - Flag float64
- Id string
- Instance
Id string - Max
Data float64 - Returns the maximum value of an array.
- Metric
Name string - Start
Time string - Total float64
- Number of values in the curve graph.
- Result
Output stringFile
- business String
- data
Lists List<Double> - Values at various time points on the graph.
- end
Time String - flag Double
- id String
- instance
Id String - max
Data Double - Returns the maximum value of an array.
- metric
Name String - start
Time String - total Double
- Number of values in the curve graph.
- result
Output StringFile
- business string
- data
Lists number[] - Values at various time points on the graph.
- end
Time string - flag number
- id string
- instance
Id string - max
Data number - Returns the maximum value of an array.
- metric
Name string - start
Time string - total number
- Number of values in the curve graph.
- result
Output stringFile
- business str
- data_
lists Sequence[float] - Values at various time points on the graph.
- end_
time str - flag float
- id str
- instance_
id str - max_
data float - Returns the maximum value of an array.
- metric_
name str - start_
time str - total float
- Number of values in the curve graph.
- result_
output_ strfile
- business String
- data
Lists List<Number> - Values at various time points on the graph.
- end
Time String - flag Number
- id String
- instance
Id String - max
Data Number - Returns the maximum value of an array.
- metric
Name String - start
Time String - total Number
- Number of values in the curve graph.
- 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