tencentcloud-sdk-antiddos 3.0.1181 → 3.0.1185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200309/client.rb +72 -0
- data/lib/v20200309/models.rb +621 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21105aeefa4939395fefd7e939e4090ecad61d94
|
|
4
|
+
data.tar.gz: 7828313496b5187cb732fc4fea27e92fff549f28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a59a39da90b39c9df8dadd6329fc22523c339eb9ed30059d8de5d59c87159b7c286a8ae5e0456670c41e475c7c59bb963d0a554eb0984cf99e4e6758b56a4772
|
|
7
|
+
data.tar.gz: 5b7ebaee96f4b157c84572f5bf98a28fa9f1511f57127e567c1e0360fe628b4b214b07b3c7642729a84d27cbe5695138ddddb09489abd83b6b0846fb3d908682
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1185
|
data/lib/v20200309/client.rb
CHANGED
|
@@ -77,6 +77,30 @@ module TencentCloud
|
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
# 通过API 购买高防包接口
|
|
81
|
+
|
|
82
|
+
# @param request: Request instance for CreateBgpInstance.
|
|
83
|
+
# @type request: :class:`Tencentcloud::antiddos::V20200309::CreateBgpInstanceRequest`
|
|
84
|
+
# @rtype: :class:`Tencentcloud::antiddos::V20200309::CreateBgpInstanceResponse`
|
|
85
|
+
def CreateBgpInstance(request)
|
|
86
|
+
body = send_request('CreateBgpInstance', request.serialize)
|
|
87
|
+
response = JSON.parse(body)
|
|
88
|
+
if response['Response'].key?('Error') == false
|
|
89
|
+
model = CreateBgpInstanceResponse.new
|
|
90
|
+
model.deserialize(response['Response'])
|
|
91
|
+
model
|
|
92
|
+
else
|
|
93
|
+
code = response['Response']['Error']['Code']
|
|
94
|
+
message = response['Response']['Error']['Message']
|
|
95
|
+
reqid = response['Response']['RequestId']
|
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
97
|
+
end
|
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
99
|
+
raise e
|
|
100
|
+
rescue StandardError => e
|
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
|
+
end
|
|
103
|
+
|
|
80
104
|
# 添加DDoS防护的IP黑白名单
|
|
81
105
|
|
|
82
106
|
# @param request: Request instance for CreateBlackWhiteIpList.
|
|
@@ -989,6 +1013,30 @@ module TencentCloud
|
|
|
989
1013
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
990
1014
|
end
|
|
991
1015
|
|
|
1016
|
+
# 购买后,查询购买的高防包实例信息
|
|
1017
|
+
|
|
1018
|
+
# @param request: Request instance for DescribeBgpInstances.
|
|
1019
|
+
# @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeBgpInstancesRequest`
|
|
1020
|
+
# @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeBgpInstancesResponse`
|
|
1021
|
+
def DescribeBgpInstances(request)
|
|
1022
|
+
body = send_request('DescribeBgpInstances', request.serialize)
|
|
1023
|
+
response = JSON.parse(body)
|
|
1024
|
+
if response['Response'].key?('Error') == false
|
|
1025
|
+
model = DescribeBgpInstancesResponse.new
|
|
1026
|
+
model.deserialize(response['Response'])
|
|
1027
|
+
model
|
|
1028
|
+
else
|
|
1029
|
+
code = response['Response']['Error']['Code']
|
|
1030
|
+
message = response['Response']['Error']['Message']
|
|
1031
|
+
reqid = response['Response']['RequestId']
|
|
1032
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1033
|
+
end
|
|
1034
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1035
|
+
raise e
|
|
1036
|
+
rescue StandardError => e
|
|
1037
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1038
|
+
end
|
|
1039
|
+
|
|
992
1040
|
# 获取业务流量状态码统计列表
|
|
993
1041
|
|
|
994
1042
|
# @param request: Request instance for DescribeBizHttpStatus.
|
|
@@ -1637,6 +1685,30 @@ module TencentCloud
|
|
|
1637
1685
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1638
1686
|
end
|
|
1639
1687
|
|
|
1688
|
+
# 获取防护阈值配置列表,包括DDoS的AI、等级、CC阈值开关等等
|
|
1689
|
+
|
|
1690
|
+
# @param request: Request instance for DescribeListProtectThresholdConfigNew.
|
|
1691
|
+
# @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeListProtectThresholdConfigNewRequest`
|
|
1692
|
+
# @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeListProtectThresholdConfigNewResponse`
|
|
1693
|
+
def DescribeListProtectThresholdConfigNew(request)
|
|
1694
|
+
body = send_request('DescribeListProtectThresholdConfigNew', request.serialize)
|
|
1695
|
+
response = JSON.parse(body)
|
|
1696
|
+
if response['Response'].key?('Error') == false
|
|
1697
|
+
model = DescribeListProtectThresholdConfigNewResponse.new
|
|
1698
|
+
model.deserialize(response['Response'])
|
|
1699
|
+
model
|
|
1700
|
+
else
|
|
1701
|
+
code = response['Response']['Error']['Code']
|
|
1702
|
+
message = response['Response']['Error']['Message']
|
|
1703
|
+
reqid = response['Response']['RequestId']
|
|
1704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1705
|
+
end
|
|
1706
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1707
|
+
raise e
|
|
1708
|
+
rescue StandardError => e
|
|
1709
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1710
|
+
end
|
|
1711
|
+
|
|
1640
1712
|
# 获取DDoS防护的协议封禁配置列表
|
|
1641
1713
|
|
|
1642
1714
|
# @param request: Request instance for DescribeListProtocolBlockConfig.
|
data/lib/v20200309/models.rb
CHANGED
|
@@ -730,6 +730,104 @@ module TencentCloud
|
|
|
730
730
|
end
|
|
731
731
|
end
|
|
732
732
|
|
|
733
|
+
# {
|
|
734
|
+
# "InstanceId": "bgp-00000436",
|
|
735
|
+
# "InstanceChargePrepaid": {
|
|
736
|
+
# "Period": 3,
|
|
737
|
+
# "RenewFlag": "NOTIFY_AND_AUTO_RENEW"
|
|
738
|
+
# },
|
|
739
|
+
# "EnterprisePackageConfig": null,
|
|
740
|
+
# "StandardPackageConfig": null,
|
|
741
|
+
# "StandardPlusPackageConfig": {
|
|
742
|
+
# "Region": "ap-guangzhou",
|
|
743
|
+
# "ProtectCount": "TWO_TIMES",
|
|
744
|
+
# "ProtectIpCount": 1,
|
|
745
|
+
# "Bandwidth": 100,
|
|
746
|
+
# "ElasticBandwidthFlag": true
|
|
747
|
+
# },
|
|
748
|
+
# "TagInfoList": [
|
|
749
|
+
# ],
|
|
750
|
+
# "PackageType": "StandardPlus",
|
|
751
|
+
# "InstanceCount": 1,
|
|
752
|
+
# "InstanceChargeType": "PREPAID",
|
|
753
|
+
# "DryRun": false
|
|
754
|
+
# }
|
|
755
|
+
class BGPInstanceInfo < TencentCloud::Common::AbstractModel
|
|
756
|
+
# @param InstanceId: 实例Id
|
|
757
|
+
# @type InstanceId: String
|
|
758
|
+
# @param InstanceChargePrepaid: 续费周期相关
|
|
759
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
760
|
+
# @type InstanceChargePrepaid: :class:`Tencentcloud::Antiddos.v20200309.models.InstanceChargePrepaid`
|
|
761
|
+
# @param EnterprisePackageConfig: 企业版高防包配置
|
|
762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
763
|
+
# @type EnterprisePackageConfig: :class:`Tencentcloud::Antiddos.v20200309.models.EnterprisePackageConfig`
|
|
764
|
+
# @param StandardPackageConfig: 标准版高防包配置
|
|
765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
766
|
+
# @type StandardPackageConfig: :class:`Tencentcloud::Antiddos.v20200309.models.StandardPackageConfig`
|
|
767
|
+
# @param StandardPlusPackageConfig: 标准版2.0高防包配置
|
|
768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
769
|
+
# @type StandardPlusPackageConfig: :class:`Tencentcloud::Antiddos.v20200309.models.StandardPlusPackageConfig`
|
|
770
|
+
# @param TagInfoList: tag信息
|
|
771
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
772
|
+
# @type TagInfoList: Array
|
|
773
|
+
# @param PackageType: 高防包类型
|
|
774
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
775
|
+
# @type PackageType: String
|
|
776
|
+
# @param InstanceCount: 数量1
|
|
777
|
+
# @type InstanceCount: Integer
|
|
778
|
+
# @param InstanceChargeType: 付费方式
|
|
779
|
+
# @type InstanceChargeType: String
|
|
780
|
+
# @param DryRun: 无实际意义,创建时如果为true,只进行参数校验,默认为false
|
|
781
|
+
# @type DryRun: Boolean
|
|
782
|
+
|
|
783
|
+
attr_accessor :InstanceId, :InstanceChargePrepaid, :EnterprisePackageConfig, :StandardPackageConfig, :StandardPlusPackageConfig, :TagInfoList, :PackageType, :InstanceCount, :InstanceChargeType, :DryRun
|
|
784
|
+
|
|
785
|
+
def initialize(instanceid=nil, instancechargeprepaid=nil, enterprisepackageconfig=nil, standardpackageconfig=nil, standardpluspackageconfig=nil, taginfolist=nil, packagetype=nil, instancecount=nil, instancechargetype=nil, dryrun=nil)
|
|
786
|
+
@InstanceId = instanceid
|
|
787
|
+
@InstanceChargePrepaid = instancechargeprepaid
|
|
788
|
+
@EnterprisePackageConfig = enterprisepackageconfig
|
|
789
|
+
@StandardPackageConfig = standardpackageconfig
|
|
790
|
+
@StandardPlusPackageConfig = standardpluspackageconfig
|
|
791
|
+
@TagInfoList = taginfolist
|
|
792
|
+
@PackageType = packagetype
|
|
793
|
+
@InstanceCount = instancecount
|
|
794
|
+
@InstanceChargeType = instancechargetype
|
|
795
|
+
@DryRun = dryrun
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
def deserialize(params)
|
|
799
|
+
@InstanceId = params['InstanceId']
|
|
800
|
+
unless params['InstanceChargePrepaid'].nil?
|
|
801
|
+
@InstanceChargePrepaid = InstanceChargePrepaid.new
|
|
802
|
+
@InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid'])
|
|
803
|
+
end
|
|
804
|
+
unless params['EnterprisePackageConfig'].nil?
|
|
805
|
+
@EnterprisePackageConfig = EnterprisePackageConfig.new
|
|
806
|
+
@EnterprisePackageConfig.deserialize(params['EnterprisePackageConfig'])
|
|
807
|
+
end
|
|
808
|
+
unless params['StandardPackageConfig'].nil?
|
|
809
|
+
@StandardPackageConfig = StandardPackageConfig.new
|
|
810
|
+
@StandardPackageConfig.deserialize(params['StandardPackageConfig'])
|
|
811
|
+
end
|
|
812
|
+
unless params['StandardPlusPackageConfig'].nil?
|
|
813
|
+
@StandardPlusPackageConfig = StandardPlusPackageConfig.new
|
|
814
|
+
@StandardPlusPackageConfig.deserialize(params['StandardPlusPackageConfig'])
|
|
815
|
+
end
|
|
816
|
+
unless params['TagInfoList'].nil?
|
|
817
|
+
@TagInfoList = []
|
|
818
|
+
params['TagInfoList'].each do |i|
|
|
819
|
+
taginfo_tmp = TagInfo.new
|
|
820
|
+
taginfo_tmp.deserialize(i)
|
|
821
|
+
@TagInfoList << taginfo_tmp
|
|
822
|
+
end
|
|
823
|
+
end
|
|
824
|
+
@PackageType = params['PackageType']
|
|
825
|
+
@InstanceCount = params['InstanceCount']
|
|
826
|
+
@InstanceChargeType = params['InstanceChargeType']
|
|
827
|
+
@DryRun = params['DryRun']
|
|
828
|
+
end
|
|
829
|
+
end
|
|
830
|
+
|
|
733
831
|
# 高防包资产实例的规格信息
|
|
734
832
|
class BGPInstanceSpecification < TencentCloud::Common::AbstractModel
|
|
735
833
|
# @param ProtectBandwidth: 保底防护峰值,单位Gbps
|
|
@@ -1386,6 +1484,93 @@ module TencentCloud
|
|
|
1386
1484
|
end
|
|
1387
1485
|
end
|
|
1388
1486
|
|
|
1487
|
+
# CreateBgpInstance请求参数结构体
|
|
1488
|
+
class CreateBgpInstanceRequest < TencentCloud::Common::AbstractModel
|
|
1489
|
+
# @param InstanceChargeType: 付费类型:付费模式:PREPAID 预付费 POSTPAID_BY_MONTH 后付费
|
|
1490
|
+
# @type InstanceChargeType: String
|
|
1491
|
+
# @param PackageType: 高防包类型:高防包类型,Enterprise(企业版) Standard(标准版) StandardPlus(标准版2.0)
|
|
1492
|
+
# @type PackageType: String
|
|
1493
|
+
# @param InstanceCount: 购买高防包的数量,一次购买数量不超过10
|
|
1494
|
+
# @type InstanceCount: Integer
|
|
1495
|
+
# @param InstanceChargePrepaid: { "Period": 3, "RenewFlag": "NOTIFY_AND_AUTO_RENEW" }
|
|
1496
|
+
# @type InstanceChargePrepaid: :class:`Tencentcloud::Antiddos.v20200309.models.InstanceChargePrepaid`
|
|
1497
|
+
# @param EnterprisePackageConfig: { "Region": "ap-guangzhou", "ProtectIpCount": 1, "BasicProtectBandwidth": 300, "Bandwidth": 100, "ElasticProtectLimit": 0, "ElasticBandwidthFlag": true }
|
|
1498
|
+
# @type EnterprisePackageConfig: :class:`Tencentcloud::Antiddos.v20200309.models.EnterprisePackageConfig`
|
|
1499
|
+
# @param StandardPackageConfig: { "Region": "ap-guangzhou", "ProtectIpCount": 1, "BasicProtectBandwidth": 300, "Bandwidth": 100, "ElasticProtectLimit": 0, "ElasticBandwidthFlag": true }
|
|
1500
|
+
# @type StandardPackageConfig: :class:`Tencentcloud::Antiddos.v20200309.models.StandardPackageConfig`
|
|
1501
|
+
# @param StandardPlusPackageConfig: { "Region": "ap-guangzhou", "ProtectCount": "TWO_TIMES", "ProtectIpCount": 1, "Bandwidth": 100, "ElasticBandwidthFlag": true }
|
|
1502
|
+
# @type StandardPlusPackageConfig: :class:`Tencentcloud::Antiddos.v20200309.models.StandardPlusPackageConfig`
|
|
1503
|
+
# @param TagInfoList: [ { "TagKey": "beal-test", "TagValue": "beal-test" } ]
|
|
1504
|
+
# @type TagInfoList: Array
|
|
1505
|
+
# @param DryRun: 默认为false,true表示只进行参数校验,不进行实际购买
|
|
1506
|
+
# @type DryRun: Boolean
|
|
1507
|
+
|
|
1508
|
+
attr_accessor :InstanceChargeType, :PackageType, :InstanceCount, :InstanceChargePrepaid, :EnterprisePackageConfig, :StandardPackageConfig, :StandardPlusPackageConfig, :TagInfoList, :DryRun
|
|
1509
|
+
|
|
1510
|
+
def initialize(instancechargetype=nil, packagetype=nil, instancecount=nil, instancechargeprepaid=nil, enterprisepackageconfig=nil, standardpackageconfig=nil, standardpluspackageconfig=nil, taginfolist=nil, dryrun=nil)
|
|
1511
|
+
@InstanceChargeType = instancechargetype
|
|
1512
|
+
@PackageType = packagetype
|
|
1513
|
+
@InstanceCount = instancecount
|
|
1514
|
+
@InstanceChargePrepaid = instancechargeprepaid
|
|
1515
|
+
@EnterprisePackageConfig = enterprisepackageconfig
|
|
1516
|
+
@StandardPackageConfig = standardpackageconfig
|
|
1517
|
+
@StandardPlusPackageConfig = standardpluspackageconfig
|
|
1518
|
+
@TagInfoList = taginfolist
|
|
1519
|
+
@DryRun = dryrun
|
|
1520
|
+
end
|
|
1521
|
+
|
|
1522
|
+
def deserialize(params)
|
|
1523
|
+
@InstanceChargeType = params['InstanceChargeType']
|
|
1524
|
+
@PackageType = params['PackageType']
|
|
1525
|
+
@InstanceCount = params['InstanceCount']
|
|
1526
|
+
unless params['InstanceChargePrepaid'].nil?
|
|
1527
|
+
@InstanceChargePrepaid = InstanceChargePrepaid.new
|
|
1528
|
+
@InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid'])
|
|
1529
|
+
end
|
|
1530
|
+
unless params['EnterprisePackageConfig'].nil?
|
|
1531
|
+
@EnterprisePackageConfig = EnterprisePackageConfig.new
|
|
1532
|
+
@EnterprisePackageConfig.deserialize(params['EnterprisePackageConfig'])
|
|
1533
|
+
end
|
|
1534
|
+
unless params['StandardPackageConfig'].nil?
|
|
1535
|
+
@StandardPackageConfig = StandardPackageConfig.new
|
|
1536
|
+
@StandardPackageConfig.deserialize(params['StandardPackageConfig'])
|
|
1537
|
+
end
|
|
1538
|
+
unless params['StandardPlusPackageConfig'].nil?
|
|
1539
|
+
@StandardPlusPackageConfig = StandardPlusPackageConfig.new
|
|
1540
|
+
@StandardPlusPackageConfig.deserialize(params['StandardPlusPackageConfig'])
|
|
1541
|
+
end
|
|
1542
|
+
unless params['TagInfoList'].nil?
|
|
1543
|
+
@TagInfoList = []
|
|
1544
|
+
params['TagInfoList'].each do |i|
|
|
1545
|
+
taginfo_tmp = TagInfo.new
|
|
1546
|
+
taginfo_tmp.deserialize(i)
|
|
1547
|
+
@TagInfoList << taginfo_tmp
|
|
1548
|
+
end
|
|
1549
|
+
end
|
|
1550
|
+
@DryRun = params['DryRun']
|
|
1551
|
+
end
|
|
1552
|
+
end
|
|
1553
|
+
|
|
1554
|
+
# CreateBgpInstance返回参数结构体
|
|
1555
|
+
class CreateBgpInstanceResponse < TencentCloud::Common::AbstractModel
|
|
1556
|
+
# @param ResourceIds: bgpIds
|
|
1557
|
+
# @type ResourceIds: Array
|
|
1558
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1559
|
+
# @type RequestId: String
|
|
1560
|
+
|
|
1561
|
+
attr_accessor :ResourceIds, :RequestId
|
|
1562
|
+
|
|
1563
|
+
def initialize(resourceids=nil, requestid=nil)
|
|
1564
|
+
@ResourceIds = resourceids
|
|
1565
|
+
@RequestId = requestid
|
|
1566
|
+
end
|
|
1567
|
+
|
|
1568
|
+
def deserialize(params)
|
|
1569
|
+
@ResourceIds = params['ResourceIds']
|
|
1570
|
+
@RequestId = params['RequestId']
|
|
1571
|
+
end
|
|
1572
|
+
end
|
|
1573
|
+
|
|
1389
1574
|
# CreateBlackWhiteIpList请求参数结构体
|
|
1390
1575
|
class CreateBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
|
|
1391
1576
|
# @param InstanceId: 资源实例ID
|
|
@@ -3336,6 +3521,76 @@ module TencentCloud
|
|
|
3336
3521
|
end
|
|
3337
3522
|
end
|
|
3338
3523
|
|
|
3524
|
+
# DescribeBgpInstances请求参数结构体
|
|
3525
|
+
class DescribeBgpInstancesRequest < TencentCloud::Common::AbstractModel
|
|
3526
|
+
# @param FilterRegion: 地域
|
|
3527
|
+
# @type FilterRegion: String
|
|
3528
|
+
# @param FilterInstanceIdList: ["bgp-0000041i"]
|
|
3529
|
+
# @type FilterInstanceIdList: Array
|
|
3530
|
+
# @param FilterTag: [{}]
|
|
3531
|
+
# @type FilterTag: Array
|
|
3532
|
+
# @param Limit: 分页数量
|
|
3533
|
+
# @type Limit: Integer
|
|
3534
|
+
# @param Offset: 偏移量
|
|
3535
|
+
# @type Offset: Integer
|
|
3536
|
+
|
|
3537
|
+
attr_accessor :FilterRegion, :FilterInstanceIdList, :FilterTag, :Limit, :Offset
|
|
3538
|
+
|
|
3539
|
+
def initialize(filterregion=nil, filterinstanceidlist=nil, filtertag=nil, limit=nil, offset=nil)
|
|
3540
|
+
@FilterRegion = filterregion
|
|
3541
|
+
@FilterInstanceIdList = filterinstanceidlist
|
|
3542
|
+
@FilterTag = filtertag
|
|
3543
|
+
@Limit = limit
|
|
3544
|
+
@Offset = offset
|
|
3545
|
+
end
|
|
3546
|
+
|
|
3547
|
+
def deserialize(params)
|
|
3548
|
+
@FilterRegion = params['FilterRegion']
|
|
3549
|
+
@FilterInstanceIdList = params['FilterInstanceIdList']
|
|
3550
|
+
unless params['FilterTag'].nil?
|
|
3551
|
+
@FilterTag = []
|
|
3552
|
+
params['FilterTag'].each do |i|
|
|
3553
|
+
taginfo_tmp = TagInfo.new
|
|
3554
|
+
taginfo_tmp.deserialize(i)
|
|
3555
|
+
@FilterTag << taginfo_tmp
|
|
3556
|
+
end
|
|
3557
|
+
end
|
|
3558
|
+
@Limit = params['Limit']
|
|
3559
|
+
@Offset = params['Offset']
|
|
3560
|
+
end
|
|
3561
|
+
end
|
|
3562
|
+
|
|
3563
|
+
# DescribeBgpInstances返回参数结构体
|
|
3564
|
+
class DescribeBgpInstancesResponse < TencentCloud::Common::AbstractModel
|
|
3565
|
+
# @param Total: 返回数量
|
|
3566
|
+
# @type Total: Integer
|
|
3567
|
+
# @param BGPInstanceList: 返回购买高防包信息
|
|
3568
|
+
# @type BGPInstanceList: Array
|
|
3569
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3570
|
+
# @type RequestId: String
|
|
3571
|
+
|
|
3572
|
+
attr_accessor :Total, :BGPInstanceList, :RequestId
|
|
3573
|
+
|
|
3574
|
+
def initialize(total=nil, bgpinstancelist=nil, requestid=nil)
|
|
3575
|
+
@Total = total
|
|
3576
|
+
@BGPInstanceList = bgpinstancelist
|
|
3577
|
+
@RequestId = requestid
|
|
3578
|
+
end
|
|
3579
|
+
|
|
3580
|
+
def deserialize(params)
|
|
3581
|
+
@Total = params['Total']
|
|
3582
|
+
unless params['BGPInstanceList'].nil?
|
|
3583
|
+
@BGPInstanceList = []
|
|
3584
|
+
params['BGPInstanceList'].each do |i|
|
|
3585
|
+
bgpinstanceinfo_tmp = BGPInstanceInfo.new
|
|
3586
|
+
bgpinstanceinfo_tmp.deserialize(i)
|
|
3587
|
+
@BGPInstanceList << bgpinstanceinfo_tmp
|
|
3588
|
+
end
|
|
3589
|
+
end
|
|
3590
|
+
@RequestId = params['RequestId']
|
|
3591
|
+
end
|
|
3592
|
+
end
|
|
3593
|
+
|
|
3339
3594
|
# DescribeBizHttpStatus请求参数结构体
|
|
3340
3595
|
class DescribeBizHttpStatusRequest < TencentCloud::Common::AbstractModel
|
|
3341
3596
|
# @param Statistics: 统计方式,仅支持sum
|
|
@@ -5183,6 +5438,73 @@ module TencentCloud
|
|
|
5183
5438
|
end
|
|
5184
5439
|
end
|
|
5185
5440
|
|
|
5441
|
+
# DescribeListProtectThresholdConfigNew请求参数结构体
|
|
5442
|
+
class DescribeListProtectThresholdConfigNewRequest < TencentCloud::Common::AbstractModel
|
|
5443
|
+
# @param Offset: 页起始偏移,取值为(页码-1)*一页条数
|
|
5444
|
+
# @type Offset: Integer
|
|
5445
|
+
# @param Limit: 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
|
|
5446
|
+
# @type Limit: Integer
|
|
5447
|
+
# @param FilterInstanceId: 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
|
|
5448
|
+
# @type FilterInstanceId: String
|
|
5449
|
+
# @param FilterIp: IP搜索
|
|
5450
|
+
# @type FilterIp: String
|
|
5451
|
+
# @param FilterDomain: 域名搜索(查询域名与协议的CC防护阈值时使用)
|
|
5452
|
+
# @type FilterDomain: String
|
|
5453
|
+
# @param FilterProtocol: 协议搜索(查询域名与协议的CC防护阈值时使用)
|
|
5454
|
+
# @type FilterProtocol: String
|
|
5455
|
+
|
|
5456
|
+
attr_accessor :Offset, :Limit, :FilterInstanceId, :FilterIp, :FilterDomain, :FilterProtocol
|
|
5457
|
+
|
|
5458
|
+
def initialize(offset=nil, limit=nil, filterinstanceid=nil, filterip=nil, filterdomain=nil, filterprotocol=nil)
|
|
5459
|
+
@Offset = offset
|
|
5460
|
+
@Limit = limit
|
|
5461
|
+
@FilterInstanceId = filterinstanceid
|
|
5462
|
+
@FilterIp = filterip
|
|
5463
|
+
@FilterDomain = filterdomain
|
|
5464
|
+
@FilterProtocol = filterprotocol
|
|
5465
|
+
end
|
|
5466
|
+
|
|
5467
|
+
def deserialize(params)
|
|
5468
|
+
@Offset = params['Offset']
|
|
5469
|
+
@Limit = params['Limit']
|
|
5470
|
+
@FilterInstanceId = params['FilterInstanceId']
|
|
5471
|
+
@FilterIp = params['FilterIp']
|
|
5472
|
+
@FilterDomain = params['FilterDomain']
|
|
5473
|
+
@FilterProtocol = params['FilterProtocol']
|
|
5474
|
+
end
|
|
5475
|
+
end
|
|
5476
|
+
|
|
5477
|
+
# DescribeListProtectThresholdConfigNew返回参数结构体
|
|
5478
|
+
class DescribeListProtectThresholdConfigNewResponse < TencentCloud::Common::AbstractModel
|
|
5479
|
+
# @param Total: 总记录数
|
|
5480
|
+
# @type Total: Integer
|
|
5481
|
+
# @param ConfigList: 防护阈值配置列表
|
|
5482
|
+
# @type ConfigList: Array
|
|
5483
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5484
|
+
# @type RequestId: String
|
|
5485
|
+
|
|
5486
|
+
attr_accessor :Total, :ConfigList, :RequestId
|
|
5487
|
+
|
|
5488
|
+
def initialize(total=nil, configlist=nil, requestid=nil)
|
|
5489
|
+
@Total = total
|
|
5490
|
+
@ConfigList = configlist
|
|
5491
|
+
@RequestId = requestid
|
|
5492
|
+
end
|
|
5493
|
+
|
|
5494
|
+
def deserialize(params)
|
|
5495
|
+
@Total = params['Total']
|
|
5496
|
+
unless params['ConfigList'].nil?
|
|
5497
|
+
@ConfigList = []
|
|
5498
|
+
params['ConfigList'].each do |i|
|
|
5499
|
+
protectthresholdrelationnew_tmp = ProtectThresholdRelationNew.new
|
|
5500
|
+
protectthresholdrelationnew_tmp.deserialize(i)
|
|
5501
|
+
@ConfigList << protectthresholdrelationnew_tmp
|
|
5502
|
+
end
|
|
5503
|
+
end
|
|
5504
|
+
@RequestId = params['RequestId']
|
|
5505
|
+
end
|
|
5506
|
+
end
|
|
5507
|
+
|
|
5186
5508
|
# DescribeListProtocolBlockConfig请求参数结构体
|
|
5187
5509
|
class DescribeListProtocolBlockConfigRequest < TencentCloud::Common::AbstractModel
|
|
5188
5510
|
# @param Offset: 页起始偏移,取值为(页码-1)*一页条数
|
|
@@ -6021,6 +6343,51 @@ module TencentCloud
|
|
|
6021
6343
|
end
|
|
6022
6344
|
end
|
|
6023
6345
|
|
|
6346
|
+
# {
|
|
6347
|
+
# "Region": "ap-guangzhou",
|
|
6348
|
+
# "ProtectIpCount": 1,
|
|
6349
|
+
# "BasicProtectBandwidth": 300,
|
|
6350
|
+
# "Bandwidth": 100,
|
|
6351
|
+
# "ElasticProtectBandwidth": 0,
|
|
6352
|
+
# "ElasticBandwidthFlag": true
|
|
6353
|
+
# }
|
|
6354
|
+
class EnterprisePackageConfig < TencentCloud::Common::AbstractModel
|
|
6355
|
+
# @param Region: 购买高防包所属地域
|
|
6356
|
+
# @type Region: String
|
|
6357
|
+
# @param ProtectIpCount: 防护IP数
|
|
6358
|
+
# @type ProtectIpCount: Integer
|
|
6359
|
+
# @param BasicProtectBandwidth: 保底防护带宽
|
|
6360
|
+
# @type BasicProtectBandwidth: Integer
|
|
6361
|
+
# @param Bandwidth: 业务带宽规模
|
|
6362
|
+
# @type Bandwidth: Integer
|
|
6363
|
+
# @param ElasticProtectBandwidth: 弹性带宽 Gbps,可选择的弹性带宽[0,400,500,600,800,1000]
|
|
6364
|
+
# 默认为0
|
|
6365
|
+
# @type ElasticProtectBandwidth: Integer
|
|
6366
|
+
# @param ElasticBandwidthFlag: 是否开启弹性业务带宽
|
|
6367
|
+
# 默认为false
|
|
6368
|
+
# @type ElasticBandwidthFlag: Boolean
|
|
6369
|
+
|
|
6370
|
+
attr_accessor :Region, :ProtectIpCount, :BasicProtectBandwidth, :Bandwidth, :ElasticProtectBandwidth, :ElasticBandwidthFlag
|
|
6371
|
+
|
|
6372
|
+
def initialize(region=nil, protectipcount=nil, basicprotectbandwidth=nil, bandwidth=nil, elasticprotectbandwidth=nil, elasticbandwidthflag=nil)
|
|
6373
|
+
@Region = region
|
|
6374
|
+
@ProtectIpCount = protectipcount
|
|
6375
|
+
@BasicProtectBandwidth = basicprotectbandwidth
|
|
6376
|
+
@Bandwidth = bandwidth
|
|
6377
|
+
@ElasticProtectBandwidth = elasticprotectbandwidth
|
|
6378
|
+
@ElasticBandwidthFlag = elasticbandwidthflag
|
|
6379
|
+
end
|
|
6380
|
+
|
|
6381
|
+
def deserialize(params)
|
|
6382
|
+
@Region = params['Region']
|
|
6383
|
+
@ProtectIpCount = params['ProtectIpCount']
|
|
6384
|
+
@BasicProtectBandwidth = params['BasicProtectBandwidth']
|
|
6385
|
+
@Bandwidth = params['Bandwidth']
|
|
6386
|
+
@ElasticProtectBandwidth = params['ElasticProtectBandwidth']
|
|
6387
|
+
@ElasticBandwidthFlag = params['ElasticBandwidthFlag']
|
|
6388
|
+
end
|
|
6389
|
+
end
|
|
6390
|
+
|
|
6024
6391
|
# 转发监听器
|
|
6025
6392
|
class ForwardListener < TencentCloud::Common::AbstractModel
|
|
6026
6393
|
# @param FrontendPort: 转发监听端口下限,取值1~65535
|
|
@@ -6213,6 +6580,34 @@ module TencentCloud
|
|
|
6213
6580
|
end
|
|
6214
6581
|
end
|
|
6215
6582
|
|
|
6583
|
+
# {
|
|
6584
|
+
# "Period": 12,
|
|
6585
|
+
# "RenewFlag": "NOTIFY_AND_AUTO_RENEW"
|
|
6586
|
+
# }
|
|
6587
|
+
class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
|
|
6588
|
+
# @param Period: 购买时长:单位月
|
|
6589
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6590
|
+
# @type Period: Integer
|
|
6591
|
+
# @param RenewFlag: NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
6592
|
+
# NOTIFY_AND_AUTO_RENEW:到期通知且自动续费
|
|
6593
|
+
# DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
6594
|
+
# 默认为:通知过期不自动续费
|
|
6595
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6596
|
+
# @type RenewFlag: String
|
|
6597
|
+
|
|
6598
|
+
attr_accessor :Period, :RenewFlag
|
|
6599
|
+
|
|
6600
|
+
def initialize(period=nil, renewflag=nil)
|
|
6601
|
+
@Period = period
|
|
6602
|
+
@RenewFlag = renewflag
|
|
6603
|
+
end
|
|
6604
|
+
|
|
6605
|
+
def deserialize(params)
|
|
6606
|
+
@Period = params['Period']
|
|
6607
|
+
@RenewFlag = params['RenewFlag']
|
|
6608
|
+
end
|
|
6609
|
+
end
|
|
6610
|
+
|
|
6216
6611
|
# 资源实例IP信息
|
|
6217
6612
|
class InstanceRelation < TencentCloud::Common::AbstractModel
|
|
6218
6613
|
# @param EipList: 资源实例的IP
|
|
@@ -6649,6 +7044,34 @@ module TencentCloud
|
|
|
6649
7044
|
end
|
|
6650
7045
|
end
|
|
6651
7046
|
|
|
7047
|
+
# 域名与协议纬度的CC防护阈值
|
|
7048
|
+
class ListenerCcThresholdConfig < TencentCloud::Common::AbstractModel
|
|
7049
|
+
# @param Domain: 域名
|
|
7050
|
+
# @type Domain: String
|
|
7051
|
+
# @param Protocol: 协议(可取值https)
|
|
7052
|
+
# @type Protocol: String
|
|
7053
|
+
# @param CCEnable: 开关状态(0:关闭,1:开启)
|
|
7054
|
+
# @type CCEnable: Integer
|
|
7055
|
+
# @param CCThreshold: cc防护阈值
|
|
7056
|
+
# @type CCThreshold: Integer
|
|
7057
|
+
|
|
7058
|
+
attr_accessor :Domain, :Protocol, :CCEnable, :CCThreshold
|
|
7059
|
+
|
|
7060
|
+
def initialize(domain=nil, protocol=nil, ccenable=nil, ccthreshold=nil)
|
|
7061
|
+
@Domain = domain
|
|
7062
|
+
@Protocol = protocol
|
|
7063
|
+
@CCEnable = ccenable
|
|
7064
|
+
@CCThreshold = ccthreshold
|
|
7065
|
+
end
|
|
7066
|
+
|
|
7067
|
+
def deserialize(params)
|
|
7068
|
+
@Domain = params['Domain']
|
|
7069
|
+
@Protocol = params['Protocol']
|
|
7070
|
+
@CCEnable = params['CCEnable']
|
|
7071
|
+
@CCThreshold = params['CCThreshold']
|
|
7072
|
+
end
|
|
7073
|
+
end
|
|
7074
|
+
|
|
6652
7075
|
# ModifyCCLevelPolicy请求参数结构体
|
|
6653
7076
|
class ModifyCCLevelPolicyRequest < TencentCloud::Common::AbstractModel
|
|
6654
7077
|
# @param InstanceId: 实例Id
|
|
@@ -7728,6 +8151,120 @@ module TencentCloud
|
|
|
7728
8151
|
end
|
|
7729
8152
|
end
|
|
7730
8153
|
|
|
8154
|
+
# 防护阈值配置相关信息
|
|
8155
|
+
class ProtectThresholdRelationNew < TencentCloud::Common::AbstractModel
|
|
8156
|
+
# @param DDoSLevel: DDoS防护等级,取值[
|
|
8157
|
+
# low(宽松)
|
|
8158
|
+
# middle(适中)
|
|
8159
|
+
# high(严格)
|
|
8160
|
+
# ]
|
|
8161
|
+
# @type DDoSLevel: String
|
|
8162
|
+
# @param DDoSThreshold: DDoS清洗阈值,单位Mbps
|
|
8163
|
+
# @type DDoSThreshold: Integer
|
|
8164
|
+
# @param DDoSAI: DDoS的AI防护开关,取值[
|
|
8165
|
+
# on(开启)
|
|
8166
|
+
# off(关闭)
|
|
8167
|
+
# ]
|
|
8168
|
+
# @type DDoSAI: String
|
|
8169
|
+
# @param CCEnable: CC清洗开关,取值[
|
|
8170
|
+
# 0(关闭)
|
|
8171
|
+
# 1(开启)
|
|
8172
|
+
# ]
|
|
8173
|
+
# @type CCEnable: Integer
|
|
8174
|
+
# @param CCThreshold: CC清洗阈值,单位QPS
|
|
8175
|
+
# @type CCThreshold: Integer
|
|
8176
|
+
# @param InstanceDetailList: 所属的资源实例
|
|
8177
|
+
# @type InstanceDetailList: Array
|
|
8178
|
+
# @param ListenerCcThresholdList: 域名与协议纬度的防护阈值
|
|
8179
|
+
# @type ListenerCcThresholdList: Array
|
|
8180
|
+
# @param SynFloodThreshold: SYN FLOOD流量阈值
|
|
8181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8182
|
+
# @type SynFloodThreshold: Integer
|
|
8183
|
+
# @param SynFloodPktThreshold: SYN FLOOD包量阈值
|
|
8184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8185
|
+
# @type SynFloodPktThreshold: Integer
|
|
8186
|
+
# @param UdpFloodThreshold: UDP FLOOD流量阈值
|
|
8187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8188
|
+
# @type UdpFloodThreshold: Integer
|
|
8189
|
+
# @param UdpFloodPktThreshold: UDP FLOOD包量阈值
|
|
8190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8191
|
+
# @type UdpFloodPktThreshold: Integer
|
|
8192
|
+
# @param AckFloodThreshold: ACK FLOOD流量阈值
|
|
8193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8194
|
+
# @type AckFloodThreshold: Integer
|
|
8195
|
+
# @param AckFloodPktThreshold: ACK FLOOD包量阈值
|
|
8196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8197
|
+
# @type AckFloodPktThreshold: Integer
|
|
8198
|
+
# @param SynAckFloodThreshold: SYNACK FLOOD流量阈值
|
|
8199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8200
|
+
# @type SynAckFloodThreshold: Integer
|
|
8201
|
+
# @param SynAckFloodPktThreshold: SYNACK FLOOD包量阈值
|
|
8202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8203
|
+
# @type SynAckFloodPktThreshold: Integer
|
|
8204
|
+
# @param RstFloodThreshold: RST FLOOD流量阈值
|
|
8205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8206
|
+
# @type RstFloodThreshold: Integer
|
|
8207
|
+
# @param RstFloodPktThreshold: RST FLOOD包量阈值
|
|
8208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8209
|
+
# @type RstFloodPktThreshold: Integer
|
|
8210
|
+
|
|
8211
|
+
attr_accessor :DDoSLevel, :DDoSThreshold, :DDoSAI, :CCEnable, :CCThreshold, :InstanceDetailList, :ListenerCcThresholdList, :SynFloodThreshold, :SynFloodPktThreshold, :UdpFloodThreshold, :UdpFloodPktThreshold, :AckFloodThreshold, :AckFloodPktThreshold, :SynAckFloodThreshold, :SynAckFloodPktThreshold, :RstFloodThreshold, :RstFloodPktThreshold
|
|
8212
|
+
|
|
8213
|
+
def initialize(ddoslevel=nil, ddosthreshold=nil, ddosai=nil, ccenable=nil, ccthreshold=nil, instancedetaillist=nil, listenerccthresholdlist=nil, synfloodthreshold=nil, synfloodpktthreshold=nil, udpfloodthreshold=nil, udpfloodpktthreshold=nil, ackfloodthreshold=nil, ackfloodpktthreshold=nil, synackfloodthreshold=nil, synackfloodpktthreshold=nil, rstfloodthreshold=nil, rstfloodpktthreshold=nil)
|
|
8214
|
+
@DDoSLevel = ddoslevel
|
|
8215
|
+
@DDoSThreshold = ddosthreshold
|
|
8216
|
+
@DDoSAI = ddosai
|
|
8217
|
+
@CCEnable = ccenable
|
|
8218
|
+
@CCThreshold = ccthreshold
|
|
8219
|
+
@InstanceDetailList = instancedetaillist
|
|
8220
|
+
@ListenerCcThresholdList = listenerccthresholdlist
|
|
8221
|
+
@SynFloodThreshold = synfloodthreshold
|
|
8222
|
+
@SynFloodPktThreshold = synfloodpktthreshold
|
|
8223
|
+
@UdpFloodThreshold = udpfloodthreshold
|
|
8224
|
+
@UdpFloodPktThreshold = udpfloodpktthreshold
|
|
8225
|
+
@AckFloodThreshold = ackfloodthreshold
|
|
8226
|
+
@AckFloodPktThreshold = ackfloodpktthreshold
|
|
8227
|
+
@SynAckFloodThreshold = synackfloodthreshold
|
|
8228
|
+
@SynAckFloodPktThreshold = synackfloodpktthreshold
|
|
8229
|
+
@RstFloodThreshold = rstfloodthreshold
|
|
8230
|
+
@RstFloodPktThreshold = rstfloodpktthreshold
|
|
8231
|
+
end
|
|
8232
|
+
|
|
8233
|
+
def deserialize(params)
|
|
8234
|
+
@DDoSLevel = params['DDoSLevel']
|
|
8235
|
+
@DDoSThreshold = params['DDoSThreshold']
|
|
8236
|
+
@DDoSAI = params['DDoSAI']
|
|
8237
|
+
@CCEnable = params['CCEnable']
|
|
8238
|
+
@CCThreshold = params['CCThreshold']
|
|
8239
|
+
unless params['InstanceDetailList'].nil?
|
|
8240
|
+
@InstanceDetailList = []
|
|
8241
|
+
params['InstanceDetailList'].each do |i|
|
|
8242
|
+
instancerelation_tmp = InstanceRelation.new
|
|
8243
|
+
instancerelation_tmp.deserialize(i)
|
|
8244
|
+
@InstanceDetailList << instancerelation_tmp
|
|
8245
|
+
end
|
|
8246
|
+
end
|
|
8247
|
+
unless params['ListenerCcThresholdList'].nil?
|
|
8248
|
+
@ListenerCcThresholdList = []
|
|
8249
|
+
params['ListenerCcThresholdList'].each do |i|
|
|
8250
|
+
listenerccthresholdconfig_tmp = ListenerCcThresholdConfig.new
|
|
8251
|
+
listenerccthresholdconfig_tmp.deserialize(i)
|
|
8252
|
+
@ListenerCcThresholdList << listenerccthresholdconfig_tmp
|
|
8253
|
+
end
|
|
8254
|
+
end
|
|
8255
|
+
@SynFloodThreshold = params['SynFloodThreshold']
|
|
8256
|
+
@SynFloodPktThreshold = params['SynFloodPktThreshold']
|
|
8257
|
+
@UdpFloodThreshold = params['UdpFloodThreshold']
|
|
8258
|
+
@UdpFloodPktThreshold = params['UdpFloodPktThreshold']
|
|
8259
|
+
@AckFloodThreshold = params['AckFloodThreshold']
|
|
8260
|
+
@AckFloodPktThreshold = params['AckFloodPktThreshold']
|
|
8261
|
+
@SynAckFloodThreshold = params['SynAckFloodThreshold']
|
|
8262
|
+
@SynAckFloodPktThreshold = params['SynAckFloodPktThreshold']
|
|
8263
|
+
@RstFloodThreshold = params['RstFloodThreshold']
|
|
8264
|
+
@RstFloodPktThreshold = params['RstFloodPktThreshold']
|
|
8265
|
+
end
|
|
8266
|
+
end
|
|
8267
|
+
|
|
7731
8268
|
# 协议封禁配置
|
|
7732
8269
|
class ProtocolBlockConfig < TencentCloud::Common::AbstractModel
|
|
7733
8270
|
# @param DropTcp: TCP封禁,取值[0(封禁关),1(封禁开)]
|
|
@@ -7990,6 +8527,90 @@ module TencentCloud
|
|
|
7990
8527
|
end
|
|
7991
8528
|
end
|
|
7992
8529
|
|
|
8530
|
+
# {
|
|
8531
|
+
# "Region": "ap-guangzhou",
|
|
8532
|
+
# "ProtectIpCount": 1,
|
|
8533
|
+
# "Bandwidth": 100,
|
|
8534
|
+
# "ElasticBandwidthFlag": true
|
|
8535
|
+
# }
|
|
8536
|
+
class StandardPackageConfig < TencentCloud::Common::AbstractModel
|
|
8537
|
+
# @param Region: 高防包购买地域
|
|
8538
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8539
|
+
# @type Region: String
|
|
8540
|
+
# @param ProtectIpCount: 防护IP数量
|
|
8541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8542
|
+
# @type ProtectIpCount: Integer
|
|
8543
|
+
# @param Bandwidth: 防护业务带宽 50Mbps
|
|
8544
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8545
|
+
# @type Bandwidth: Integer
|
|
8546
|
+
# @param ElasticBandwidthFlag: 是否开启弹性防护带宽 true 开启
|
|
8547
|
+
# 默认为false 不开启
|
|
8548
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8549
|
+
# @type ElasticBandwidthFlag: Boolean
|
|
8550
|
+
|
|
8551
|
+
attr_accessor :Region, :ProtectIpCount, :Bandwidth, :ElasticBandwidthFlag
|
|
8552
|
+
|
|
8553
|
+
def initialize(region=nil, protectipcount=nil, bandwidth=nil, elasticbandwidthflag=nil)
|
|
8554
|
+
@Region = region
|
|
8555
|
+
@ProtectIpCount = protectipcount
|
|
8556
|
+
@Bandwidth = bandwidth
|
|
8557
|
+
@ElasticBandwidthFlag = elasticbandwidthflag
|
|
8558
|
+
end
|
|
8559
|
+
|
|
8560
|
+
def deserialize(params)
|
|
8561
|
+
@Region = params['Region']
|
|
8562
|
+
@ProtectIpCount = params['ProtectIpCount']
|
|
8563
|
+
@Bandwidth = params['Bandwidth']
|
|
8564
|
+
@ElasticBandwidthFlag = params['ElasticBandwidthFlag']
|
|
8565
|
+
end
|
|
8566
|
+
end
|
|
8567
|
+
|
|
8568
|
+
# {
|
|
8569
|
+
# "Region": "ap-guangzhou",
|
|
8570
|
+
# "ProtectCount": "TWO_TIMES",
|
|
8571
|
+
# "ProtectIpCount": 1,
|
|
8572
|
+
# "Bandwidth": 50,
|
|
8573
|
+
# "ElasticBandwidthFlag": true
|
|
8574
|
+
# }
|
|
8575
|
+
class StandardPlusPackageConfig < TencentCloud::Common::AbstractModel
|
|
8576
|
+
# @param Region: 购买高防包所属地域
|
|
8577
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8578
|
+
# @type Region: String
|
|
8579
|
+
# @param ProtectCount: 防护次数:TWO_TIMES:两次全力防 UNLIMITED无限次防
|
|
8580
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8581
|
+
# @type ProtectCount: String
|
|
8582
|
+
# @param ProtectIpCount: 防护IP数量
|
|
8583
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8584
|
+
# @type ProtectIpCount: Integer
|
|
8585
|
+
# @param Bandwidth: 防护带宽50Mbps
|
|
8586
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8587
|
+
# @type Bandwidth: Integer
|
|
8588
|
+
# @param ElasticBandwidthFlag: 是否开启弹性业务带宽
|
|
8589
|
+
# true 开启
|
|
8590
|
+
# false 不开启
|
|
8591
|
+
# 默认不开启
|
|
8592
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8593
|
+
# @type ElasticBandwidthFlag: Boolean
|
|
8594
|
+
|
|
8595
|
+
attr_accessor :Region, :ProtectCount, :ProtectIpCount, :Bandwidth, :ElasticBandwidthFlag
|
|
8596
|
+
|
|
8597
|
+
def initialize(region=nil, protectcount=nil, protectipcount=nil, bandwidth=nil, elasticbandwidthflag=nil)
|
|
8598
|
+
@Region = region
|
|
8599
|
+
@ProtectCount = protectcount
|
|
8600
|
+
@ProtectIpCount = protectipcount
|
|
8601
|
+
@Bandwidth = bandwidth
|
|
8602
|
+
@ElasticBandwidthFlag = elasticbandwidthflag
|
|
8603
|
+
end
|
|
8604
|
+
|
|
8605
|
+
def deserialize(params)
|
|
8606
|
+
@Region = params['Region']
|
|
8607
|
+
@ProtectCount = params['ProtectCount']
|
|
8608
|
+
@ProtectIpCount = params['ProtectIpCount']
|
|
8609
|
+
@Bandwidth = params['Bandwidth']
|
|
8610
|
+
@ElasticBandwidthFlag = params['ElasticBandwidthFlag']
|
|
8611
|
+
end
|
|
8612
|
+
end
|
|
8613
|
+
|
|
7993
8614
|
# 三网高防套餐详情
|
|
7994
8615
|
class StaticPackRelation < TencentCloud::Common::AbstractModel
|
|
7995
8616
|
# @param ProtectBandwidth: 保底带宽
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-antiddos
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1185
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20200309/models.rb
|
|
37
|
-
- lib/v20200309/client.rb
|
|
38
36
|
- lib/tencentcloud-sdk-antiddos.rb
|
|
37
|
+
- lib/v20200309/client.rb
|
|
38
|
+
- lib/v20200309/models.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|