models

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2018 License: Apache-2.0 Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanThresholdSpec

type CleanThresholdSpec struct {

	/* 触发清洗的流量速率,单位bps,范围是10000000到300000000 (Optional) */
	CleanThresholdBps *int64 `json:"cleanThresholdBps"`

	/* 触发清洗的包速率,单位pps,范围是2000到70000 (Optional) */
	CleanThresholdPps *int64 `json:"cleanThresholdPps"`
}

type IpResource

type IpResource struct {

	/* 公网IP (Optional) */
	Ip string `json:"ip"`

	/* 带宽上限,单位Mbps (Optional) */
	Bandwidth int `json:"bandwidth"`

	/* 0->安全 1->清洗 2->黑洞 (Optional) */
	SafeStatus int `json:"safeStatus"`
}

type IpResourceFlow

type IpResourceFlow struct {

	/*  (Optional) */
	Bps IpResourceFlowDetail `json:"bps"`

	/*  (Optional) */
	Pps IpResourceFlowDetail `json:"pps"`
}

type IpResourceFlowDetail

type IpResourceFlowDetail struct {

	/*  (Optional) */
	Used []int64 `json:"used"`

	/*  (Optional) */
	Times []string `json:"times"`
}

type IpResourceInfo

type IpResourceInfo struct {

	/* 公网IP (Optional) */
	Ip string `json:"ip"`

	/* 0->安全 1->清洗 2->黑洞 (Optional) */
	SafeStatus int `json:"safeStatus"`

	/* 地域,cn-north-1、cn-south-1、cn-east-1、cn-east-2 (Optional) */
	Region string `json:"region"`

	/* 黑洞阈值,单位bps (Optional) */
	BlackHoleThreshold int64 `json:"blackHoleThreshold"`

	/* 触发清洗的流量速率,单位bps (Optional) */
	CleanThresholdBps int64 `json:"cleanThresholdBps"`

	/* 触发清洗的包速率,单位pps (Optional) */
	CleanThresholdPps int64 `json:"cleanThresholdPps"`
}

type IpResourceProtectInfo

type IpResourceProtectInfo struct {

	/* 攻击开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 攻击结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 状态,0->完成,1->清洗,2->黑洞 (Optional) */
	Status int `json:"status"`

	/* 触发原因,0->未知,1->四层,2->七层,3->四和7层 (Optional) */
	Cause int `json:"cause"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL