Documentation ¶
Index ¶
- type AlertConfigRespWarnConfig
- type CleanLimitDict
- type CreateDefaultConfigRequest
- type CreateDefaultConfigResponse
- type DDosStatus
- type DailyData
- type DailyLog
- type DdosConfig
- type DeleteDefaultConfigRequest
- type DeleteDefaultConfigResponse
- type ExtendDDoSSet
- type ListDDosStatusRequest
- type ListDDosStatusResponse
- type ListDailyLogRequest
- type ListDailyLogResponse
- type ListDailyReportRequest
- type ListDailyReportResponse
- type ListNewConfigsRequest
- type ListNewConfigsResponse
- type ListWeeklyReportsRequest
- type ListWeeklyReportsResponse
- type ShowAlertConfigRequest
- type ShowAlertConfigResponse
- type ShowDDosRequest
- type ShowDDosResponse
- type ShowDDosStatusRequest
- type ShowDDosStatusResponse
- type ShowDefaultConfigRequest
- type ShowDefaultConfigResponse
- type ShowNewTaskStatusRequest
- type ShowNewTaskStatusResponse
- type TriggerBpsDict
- type TriggerQpsDict
- type UpdateAlertConfigRequest
- type UpdateAlertConfigRequestBody
- type UpdateAlertConfigRequestBodyWarnConfig
- type UpdateAlertConfigResponse
- type UpdateAntiDDosServiceRequestBody
- type UpdateDDosRequest
- type UpdateDDosResponse
- type WeeklyCount
- type WeeklyTop10
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 ¶
func (o CreateDefaultConfigRequest) String() 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 ¶
func (o CreateDefaultConfigResponse) String() 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防护流量响应体
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异常事件响应体
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 ¶
func (o DeleteDefaultConfigRequest) String() 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 ¶
func (o DeleteDefaultConfigResponse) String() 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 ¶
func (o UpdateAlertConfigRequestBody) String() 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 ¶
func (o UpdateAlertConfigRequestBodyWarnConfig) String() 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 ¶
func (o UpdateAntiDDosServiceRequestBody) String() 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
Source Files ¶
- model_alert_config_resp_warn_config.go
- model_clean_limit_dict.go
- model_create_default_config_request.go
- model_create_default_config_response.go
- model_d_dos_status.go
- model_daily_data.go
- model_daily_log.go
- model_ddos_config.go
- model_delete_default_config_request.go
- model_delete_default_config_response.go
- model_extend_d_do_s_set.go
- model_list_d_dos_status_request.go
- model_list_d_dos_status_response.go
- model_list_daily_log_request.go
- model_list_daily_log_response.go
- model_list_daily_report_request.go
- model_list_daily_report_response.go
- model_list_new_configs_request.go
- model_list_new_configs_response.go
- model_list_weekly_reports_request.go
- model_list_weekly_reports_response.go
- model_show_alert_config_request.go
- model_show_alert_config_response.go
- model_show_d_dos_request.go
- model_show_d_dos_response.go
- model_show_d_dos_status_request.go
- model_show_d_dos_status_response.go
- model_show_default_config_request.go
- model_show_default_config_response.go
- model_show_new_task_status_request.go
- model_show_new_task_status_response.go
- model_trigger_bps_dict.go
- model_trigger_qps_dict.go
- model_update_alert_config_request.go
- model_update_alert_config_request_body.go
- model_update_alert_config_request_body_warn_config.go
- model_update_alert_config_response.go
- model_update_anti_d_dos_service_request_body.go
- model_update_d_dos_request.go
- model_update_d_dos_response.go
- model_weekly_count.go
- model_weekly_top10.go
Click to show internal directories.
Click to hide internal directories.