/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Dayu.V20180709.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DDoSEventRecord : AbstractModel
{
///
/// 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护)
///
[JsonProperty("Business")]
public string Business{ get; set; }
///
/// 资源ID
///
[JsonProperty("Id")]
public string Id{ get; set; }
///
/// 资源的IP
///
[JsonProperty("Vip")]
public string Vip{ get; set; }
///
/// 攻击开始时间
///
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
///
/// 攻击结束时间
///
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
///
/// 攻击最大带宽
///
[JsonProperty("Mbps")]
public ulong? Mbps{ get; set; }
///
/// 攻击最大包速率
///
[JsonProperty("Pps")]
public ulong? Pps{ get; set; }
///
/// 攻击类型
///
[JsonProperty("AttackType")]
public string AttackType{ get; set; }
///
/// 是否被封堵,取值[1(是),0(否),2(无效值)]
///
[JsonProperty("BlockFlag")]
public ulong? BlockFlag{ get; set; }
///
/// 是否超过弹性防护峰值,取值取值[yes(是),no(否),空字符串(未知值)]
///
[JsonProperty("OverLoad")]
public string OverLoad{ get; set; }
///
/// 攻击状态,取值[0(攻击中), 1(攻击结束)]
///
[JsonProperty("AttackStatus")]
public ulong? AttackStatus{ get; set; }
///
/// 资源名称
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ResourceName")]
public string ResourceName{ get; set; }
///
/// 攻击事件Id
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("EventId")]
public string EventId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Business", this.Business);
this.SetParamSimple(map, prefix + "Id", this.Id);
this.SetParamSimple(map, prefix + "Vip", this.Vip);
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamSimple(map, prefix + "Mbps", this.Mbps);
this.SetParamSimple(map, prefix + "Pps", this.Pps);
this.SetParamSimple(map, prefix + "AttackType", this.AttackType);
this.SetParamSimple(map, prefix + "BlockFlag", this.BlockFlag);
this.SetParamSimple(map, prefix + "OverLoad", this.OverLoad);
this.SetParamSimple(map, prefix + "AttackStatus", this.AttackStatus);
this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName);
this.SetParamSimple(map, prefix + "EventId", this.EventId);
}
}
}