Files
g.hnyhua.cn/TencentCloud/Dayu/V20180709/Models/ModifyCCThresholdRequest.cs
2026-02-07 15:48:27 +08:00

125 lines
5.2 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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 ModifyCCThresholdRequest : AbstractModel
{
/// <summary>
/// 大禹子产品代号bgpip表示高防IPbgp表示独享包bgp-multip表示共享包net表示高防IP专业版basic表示基础防护
/// </summary>
[JsonProperty("Business")]
public string Business{ get; set; }
/// <summary>
/// CC防护阈值取值(0 100 150 240 350 480 550 700 850 1000 1500 2000 3000 5000 10000 20000);
/// 当Business为高防IP、高防IP专业版时其CC防护最大阈值跟资源的保底防护带宽有关对应关系如下
/// 保底带宽: 最大C防护阈值
/// 10: 20000,
/// 20: 40000,
/// 30: 70000,
/// 40: 100000,
/// 50: 150000,
/// 60: 200000,
/// 80: 250000,
/// 100: 300000,
/// </summary>
[JsonProperty("Threshold")]
public ulong? Threshold{ get; set; }
/// <summary>
/// 资源ID
/// </summary>
[JsonProperty("Id")]
public string Id{ get; set; }
/// <summary>
/// 可选字段代表CC防护类型取值[httpHTTP协议的CC防护httpsHTTPS协议的CC防护]当不填时默认为HTTP协议的CC防护当填写https时还需要填写RuleId字段
/// </summary>
[JsonProperty("Protocol")]
public string Protocol{ get; set; }
/// <summary>
/// 可选字段表示HTTPS协议的7层转发规则ID通过获取7层转发规则接口可以获取规则ID
/// 当Protocol=https时必须填写
/// </summary>
[JsonProperty("RuleId")]
public string RuleId{ get; set; }
/// <summary>
/// 查询的IP地址仅基础防护提供取值如1.1.1.1
/// </summary>
[JsonProperty("BasicIp")]
public string BasicIp{ get; set; }
/// <summary>
/// 查询IP所属地域仅基础防护提供取值如gz、bj、sh、hk等地域缩写
/// </summary>
[JsonProperty("BasicRegion")]
public string BasicRegion{ get; set; }
/// <summary>
/// 专区类型仅基础防护提供取值如公有云专区public黑石专区bm, NAT服务器专区nat互联网通道channel。
/// </summary>
[JsonProperty("BasicBizType")]
public string BasicBizType{ get; set; }
/// <summary>
/// 设备类型仅基础防护提供取值如服务器cvm公有云负载均衡clb黑石负载均衡lbNAT服务器nat互联网通道channel.
/// </summary>
[JsonProperty("BasicDeviceType")]
public string BasicDeviceType{ get; set; }
/// <summary>
/// 仅基础防护提供。可选IPInstance Nat 网关如果查询的设备类型是NAT服务器需要传此参数通过nat资源查询接口获取
/// </summary>
[JsonProperty("BasicIpInstance")]
public string BasicIpInstance{ get; set; }
/// <summary>
/// 仅基础防护提供。可选运营商线路如果查询的设备类型是NAT服务器需要传此参数为5
/// </summary>
[JsonProperty("BasicIspCode")]
public ulong? BasicIspCode{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Business", this.Business);
this.SetParamSimple(map, prefix + "Threshold", this.Threshold);
this.SetParamSimple(map, prefix + "Id", this.Id);
this.SetParamSimple(map, prefix + "Protocol", this.Protocol);
this.SetParamSimple(map, prefix + "RuleId", this.RuleId);
this.SetParamSimple(map, prefix + "BasicIp", this.BasicIp);
this.SetParamSimple(map, prefix + "BasicRegion", this.BasicRegion);
this.SetParamSimple(map, prefix + "BasicBizType", this.BasicBizType);
this.SetParamSimple(map, prefix + "BasicDeviceType", this.BasicDeviceType);
this.SetParamSimple(map, prefix + "BasicIpInstance", this.BasicIpInstance);
this.SetParamSimple(map, prefix + "BasicIspCode", this.BasicIspCode);
}
}
}