model

package
v0.0.84 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertConfigRespWarnConfig

type AlertConfigRespWarnConfig struct {
	AntiDDoS bool `json:"antiDDoS"`

	BackDoors *bool `json:"back_doors,omitempty"`

	BruceForce *bool `json:"bruce_force,omitempty"`

	HighPrivilege *bool `json:"high_privilege,omitempty"`

	RemoteLogin *bool `json:"remote_login,omitempty"`

	SendFrequency *int32 `json:"send_frequency,omitempty"`

	Waf *bool `json:"waf,omitempty"`

	WeakPassword *bool `json:"weak_password,omitempty"`
}

告警配置信息

func (AlertConfigRespWarnConfig) String

func (o AlertConfigRespWarnConfig) String() string

type CleanLimitDict

type CleanLimitDict struct {
	CleaningAccessPosId int64 `json:"cleaning_access_pos_id"`

	NewConnectionLimited int64 `json:"new_connection_limited"`

	TotalConnectionLimited int64 `json:"total_connection_limited"`
}

连接数限制列表

func (CleanLimitDict) String

func (o CleanLimitDict) String() string

type CreateDefaultConfigRequest

type CreateDefaultConfigRequest struct {
	Body *DdosConfig `json:"body,omitempty"`
}

Request Object

func (CreateDefaultConfigRequest) String

type CreateDefaultConfigResponse

type CreateDefaultConfigResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDefaultConfigResponse) String

type DDosStatus

type DDosStatus struct {
	FloatingIpId string `json:"floating_ip_id"`

	FloatingIpAddress string `json:"floating_ip_address"`

	NetworkType string `json:"network_type"`

	Status string `json:"status"`

	BlackholeEndtime int64 `json:"blackhole_endtime"`

	ProtectType string `json:"protect_type"`

	TrafficThreshold int64 `json:"traffic_threshold"`

	HttpThreshold int64 `json:"http_threshold"`
}

ddos状态响应体

func (DDosStatus) String

func (o DDosStatus) String() string

type DailyData

type DailyData struct {
	PeriodStart int64 `json:"period_start"`

	BpsIn int32 `json:"bps_in"`

	BpsAttack int64 `json:"bps_attack"`

	TotalBps int64 `json:"total_bps"`

	PpsIn int64 `json:"pps_in"`

	PpsAttack int64 `json:"pps_attack"`

	TotalPps int64 `json:"total_pps"`
}

EIP防护流量响应体

func (DailyData) String

func (o DailyData) String() string

type DailyLog

type DailyLog struct {
	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`

	Status int32 `json:"status"`

	TriggerBps int32 `json:"trigger_bps"`

	TriggerPps int32 `json:"trigger_pps"`

	TriggerHttpPps int32 `json:"trigger_http_pps"`
}

EIP异常事件响应体

func (DailyLog) String

func (o DailyLog) String() string

type DdosConfig

type DdosConfig struct {
	EnableL7 bool `json:"enable_L7"`

	TrafficPosId int64 `json:"traffic_pos_id"`

	HttpRequestPosId int64 `json:"http_request_pos_id"`

	CleaningAccessPosId int64 `json:"cleaning_access_pos_id"`

	AppTypeId int64 `json:"app_type_id"`
}

WeeklyReport

func (DdosConfig) String

func (o DdosConfig) String() string

type DeleteDefaultConfigRequest

type DeleteDefaultConfigRequest struct {
}

Request Object

func (DeleteDefaultConfigRequest) String

type DeleteDefaultConfigResponse

type DeleteDefaultConfigResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDefaultConfigResponse) String

type ExtendDDoSSet

type ExtendDDoSSet struct {
	SetID int64 `json:"SetID"`

	NewConnectionLimited int64 `json:"new_connection_limited"`

	TotalConnectionLimited int64 `json:"total_connection_limited"`

	HttpPacketPerSecond int64 `json:"http_packet_per_second"`

	TrafficPerSecond int64 `json:"traffic_per_second"`

	PacketPerSecond int64 `json:"packet_per_second"`
}

扩展配置列表

func (ExtendDDoSSet) String

func (o ExtendDDoSSet) String() string

type ListDDosStatusRequest

type ListDDosStatusRequest struct {
	Status *string `json:"status,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Ip *string `json:"ip,omitempty"`
}

Request Object

func (ListDDosStatusRequest) String

func (o ListDDosStatusRequest) String() string

type ListDDosStatusResponse

type ListDDosStatusResponse struct {
	Total *int32 `json:"total,omitempty"`

	DdosStatus     *[]DDosStatus `json:"ddosStatus,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListDDosStatusResponse) String

func (o ListDDosStatusResponse) String() string

type ListDailyLogRequest

type ListDailyLogRequest struct {
	FloatingIpId string `json:"floating_ip_id"`

	SortDir *string `json:"sort_dir,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Ip *string `json:"ip,omitempty"`
}

Request Object

func (ListDailyLogRequest) String

func (o ListDailyLogRequest) String() string

type ListDailyLogResponse

type ListDailyLogResponse struct {
	Total *int64 `json:"total,omitempty"`

	Logs           *[]DailyLog `json:"logs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListDailyLogResponse) String

func (o ListDailyLogResponse) String() string

type ListDailyReportRequest

type ListDailyReportRequest struct {
	FloatingIpId string `json:"floating_ip_id"`

	Ip *string `json:"ip,omitempty"`
}

Request Object

func (ListDailyReportRequest) String

func (o ListDailyReportRequest) String() string

type ListDailyReportResponse

type ListDailyReportResponse struct {
	Data           *[]DailyData `json:"data,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListDailyReportResponse) String

func (o ListDailyReportResponse) String() string

type ListNewConfigsRequest

type ListNewConfigsRequest struct {
}

Request Object

func (ListNewConfigsRequest) String

func (o ListNewConfigsRequest) String() string

type ListNewConfigsResponse

type ListNewConfigsResponse struct {
	TrafficLimitedList *[]TriggerBpsDict `json:"traffic_limited_list,omitempty"`

	HttpLimitedList *[]TriggerQpsDict `json:"http_limited_list,omitempty"`

	ConnectionLimitedList *[]CleanLimitDict `json:"connection_limited_list,omitempty"`

	ExtendDdosConfig *[]ExtendDDoSSet `json:"extend_ddos_config,omitempty"`
	HttpStatusCode   int              `json:"-"`
}

Response Object

func (ListNewConfigsResponse) String

func (o ListNewConfigsResponse) String() string

type ListWeeklyReportsRequest

type ListWeeklyReportsRequest struct {
	PeriodStartDate *string `json:"period_start_date,omitempty"`
}

Request Object

func (ListWeeklyReportsRequest) String

func (o ListWeeklyReportsRequest) String() string

type ListWeeklyReportsResponse

type ListWeeklyReportsResponse struct {
	DdosInterceptTimes *int32 `json:"ddos_intercept_times,omitempty"`

	Weekdata *[]WeeklyCount `json:"weekdata,omitempty"`

	Top10          *[]WeeklyTop10 `json:"top10,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListWeeklyReportsResponse) String

func (o ListWeeklyReportsResponse) String() string

type ShowAlertConfigRequest

type ShowAlertConfigRequest struct {
}

Request Object

func (ShowAlertConfigRequest) String

func (o ShowAlertConfigRequest) String() string

type ShowAlertConfigResponse

type ShowAlertConfigResponse struct {
	TopicUrn *string `json:"topic_urn,omitempty"`

	DisplayName *string `json:"display_name,omitempty"`

	WarnConfig     *AlertConfigRespWarnConfig `json:"warn_config,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

Response Object

func (ShowAlertConfigResponse) String

func (o ShowAlertConfigResponse) String() string

type ShowDDosRequest

type ShowDDosRequest struct {
	FloatingIpId string `json:"floating_ip_id"`

	Ip *string `json:"ip,omitempty"`
}

Request Object

func (ShowDDosRequest) String

func (o ShowDDosRequest) String() string

type ShowDDosResponse

type ShowDDosResponse struct {
	EnableL7 *bool `json:"enable_L7,omitempty"`

	TrafficPosId *int64 `json:"traffic_pos_id,omitempty"`

	HttpRequestPosId *int64 `json:"http_request_pos_id,omitempty"`

	CleaningAccessPosId *int64 `json:"cleaning_access_pos_id,omitempty"`

	AppTypeId      *int64 `json:"app_type_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowDDosResponse) String

func (o ShowDDosResponse) String() string

type ShowDDosStatusRequest

type ShowDDosStatusRequest struct {
	FloatingIpId string `json:"floating_ip_id"`

	Ip *string `json:"ip,omitempty"`
}

Request Object

func (ShowDDosStatusRequest) String

func (o ShowDDosStatusRequest) String() string

type ShowDDosStatusResponse

type ShowDDosStatusResponse struct {
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDDosStatusResponse) String

func (o ShowDDosStatusResponse) String() string

type ShowDefaultConfigRequest

type ShowDefaultConfigRequest struct {
}

Request Object

func (ShowDefaultConfigRequest) String

func (o ShowDefaultConfigRequest) String() string

type ShowDefaultConfigResponse

type ShowDefaultConfigResponse struct {
	EnableL7 *bool `json:"enable_L7,omitempty"`

	TrafficPosId *int64 `json:"traffic_pos_id,omitempty"`

	HttpRequestPosId *int64 `json:"http_request_pos_id,omitempty"`

	CleaningAccessPosId *int64 `json:"cleaning_access_pos_id,omitempty"`

	AppTypeId      *int64 `json:"app_type_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowDefaultConfigResponse) String

func (o ShowDefaultConfigResponse) String() string

type ShowNewTaskStatusRequest

type ShowNewTaskStatusRequest struct {
	TaskId *string `json:"task_id,omitempty"`
}

Request Object

func (ShowNewTaskStatusRequest) String

func (o ShowNewTaskStatusRequest) String() string

type ShowNewTaskStatusResponse

type ShowNewTaskStatusResponse struct {
	TaskStatus *string `json:"task_status,omitempty"`

	TaskMsg        *string `json:"task_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowNewTaskStatusResponse) String

func (o ShowNewTaskStatusResponse) String() string

type TriggerBpsDict

type TriggerBpsDict struct {
	TrafficPosId int64 `json:"traffic_pos_id"`

	TrafficPerSecond int64 `json:"traffic_per_second"`

	PacketPerSecond int64 `json:"packet_per_second"`
}

流量限制列表

func (TriggerBpsDict) String

func (o TriggerBpsDict) String() string

type TriggerQpsDict

type TriggerQpsDict struct {
	HttpRequestPosId int64 `json:"http_request_pos_id"`

	HttpPacketPerSecond int64 `json:"http_packet_per_second"`
}

HTTP限制列表

func (TriggerQpsDict) String

func (o TriggerQpsDict) String() string

type UpdateAlertConfigRequest

type UpdateAlertConfigRequest struct {
	Body *UpdateAlertConfigRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateAlertConfigRequest) String

func (o UpdateAlertConfigRequest) String() string

type UpdateAlertConfigRequestBody

type UpdateAlertConfigRequestBody struct {
	DisplayName string `json:"display_name"`

	TopicUrn string `json:"topic_urn"`

	WarnConfig *UpdateAlertConfigRequestBodyWarnConfig `json:"warn_config"`
}

func (UpdateAlertConfigRequestBody) String

type UpdateAlertConfigRequestBodyWarnConfig

type UpdateAlertConfigRequestBodyWarnConfig struct {
	AntiDDoS bool `json:"antiDDoS"`

	BackDoors *bool `json:"back_doors,omitempty"`

	BruceForce *bool `json:"bruce_force,omitempty"`

	HighPrivilege *bool `json:"high_privilege,omitempty"`

	RemoteLogin *bool `json:"remote_login,omitempty"`

	SendFrequency *int32 `json:"send_frequency,omitempty"`

	Waf *bool `json:"waf,omitempty"`

	WeakPassword *bool `json:"weak_password,omitempty"`
}

告警配置信息。

func (UpdateAlertConfigRequestBodyWarnConfig) String

type UpdateAlertConfigResponse

type UpdateAlertConfigResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateAlertConfigResponse) String

func (o UpdateAlertConfigResponse) String() string

type UpdateAntiDDosServiceRequestBody

type UpdateAntiDDosServiceRequestBody struct {
	AppTypeId int32 `json:"app_type_id"`

	CleaningAccessPosId int32 `json:"cleaning_access_pos_id"`

	EnableL7 bool `json:"enable_L7"`

	HttpRequestPosId int32 `json:"http_request_pos_id"`

	TrafficPosId int32 `json:"traffic_pos_id"`
}

func (UpdateAntiDDosServiceRequestBody) String

type UpdateDDosRequest

type UpdateDDosRequest struct {
	FloatingIpId string `json:"floating_ip_id"`

	Ip *string `json:"ip,omitempty"`

	Body *UpdateAntiDDosServiceRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateDDosRequest) String

func (o UpdateDDosRequest) String() string

type UpdateDDosResponse

type UpdateDDosResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDDosResponse) String

func (o UpdateDDosResponse) String() string

type WeeklyCount

type WeeklyCount struct {
	DdosInterceptTimes int32 `json:"ddos_intercept_times"`

	DdosBlackholeTimes int32 `json:"ddos_blackhole_times"`

	MaxAttackBps int32 `json:"max_attack_bps"`

	MaxAttackConns int32 `json:"max_attack_conns"`

	PeriodStartDate int64 `json:"period_start_date"`
}

WeeklyCount

func (WeeklyCount) String

func (o WeeklyCount) String() string

type WeeklyTop10

type WeeklyTop10 struct {
	FloatingIpAddress string `json:"floating_ip_address"`

	Times int32 `json:"times"`
}

WeeklyTop10

func (WeeklyTop10) String

func (o WeeklyTop10) String() string

Jump to

Keyboard shortcuts

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