tencentcloud-sdk-antiddos 3.0.997 → 3.0.998
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200309/client.rb +1 -1
- data/lib/v20200309/models.rb +19 -35
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 437af55b25646a79f8233c7117c71b4329d373b6
|
4
|
+
data.tar.gz: bcb527669598659adc244a2ada27a65cbf27e1a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c265116991d7c459e442d041fe8afd08ff578c8971a46486c3a890dea33d8667b6b46cc930d7c7121db0c9bc550027a6597077b52a548513bafd9d4e827aef0
|
7
|
+
data.tar.gz: d4332fafdf45e003a5dabd93ac79f2f5ffdffd50f4a254fa0224f5766130ab94a1dafff147a9884f56636d10c0cad693ef6c864f17a81c43ce3c20af0fa52101
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.998
|
data/lib/v20200309/client.rb
CHANGED
@@ -2313,7 +2313,7 @@ module TencentCloud
|
|
2313
2313
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2314
2314
|
end
|
2315
2315
|
|
2316
|
-
# 开启或关闭DDoS
|
2316
|
+
# 开启或关闭DDoS防护的水印防护配置,此功能为付费增值服务,有需求请联系售后
|
2317
2317
|
|
2318
2318
|
# @param request: Request instance for SwitchWaterPrintConfig.
|
2319
2319
|
# @type request: :class:`Tencentcloud::antiddos::V20200309::SwitchWaterPrintConfigRequest`
|
data/lib/v20200309/models.rb
CHANGED
@@ -1540,7 +1540,7 @@ module TencentCloud
|
|
1540
1540
|
# @type InstanceId: String
|
1541
1541
|
# @param Ip: IP值
|
1542
1542
|
# @type Ip: String
|
1543
|
-
# @param Protocol: 协议, 可取值
|
1543
|
+
# @param Protocol: 协议, 可取值http,https,http/https
|
1544
1544
|
# @type Protocol: String
|
1545
1545
|
# @param Domain: 域名
|
1546
1546
|
# @type Domain: String
|
@@ -1599,13 +1599,13 @@ module TencentCloud
|
|
1599
1599
|
# @type InstanceId: String
|
1600
1600
|
# @param Ip: IP值
|
1601
1601
|
# @type Ip: String
|
1602
|
-
# @param Protocol: 协议,可取值
|
1602
|
+
# @param Protocol: 协议,可取值http, https, http/https
|
1603
1603
|
# @type Protocol: String
|
1604
1604
|
# @param Domain: 域名
|
1605
1605
|
# @type Domain: String
|
1606
1606
|
# @param Policy: 策略项
|
1607
1607
|
# @type Policy: :class:`Tencentcloud::Antiddos.v20200309.models.CCReqLimitPolicyRecord`
|
1608
|
-
# @param IsGlobal: 是否为兜底频控
|
1608
|
+
# @param IsGlobal: 是否为兜底频控 0表示不是 1表示是
|
1609
1609
|
# @type IsGlobal: Integer
|
1610
1610
|
|
1611
1611
|
attr_accessor :InstanceId, :Ip, :Protocol, :Domain, :Policy, :IsGlobal
|
@@ -3313,7 +3313,7 @@ module TencentCloud
|
|
3313
3313
|
# @type StartTime: String
|
3314
3314
|
# @param EndTime: 统计结束时间。 例:“2020-09-22 00:00:00”,注意该时间必须为5分钟的倍数
|
3315
3315
|
# @type EndTime: String
|
3316
|
-
# @param MetricName:
|
3316
|
+
# @param MetricName: 统计维度,可取值intraffic, outtraffic, inpkg, outpkg; intraffic:入流量 outtraffic:出流量 inpkg:入包速率 outpkg:出包速率
|
3317
3317
|
# @type MetricName: String
|
3318
3318
|
# @param InstanceId: 资源实例ID
|
3319
3319
|
# @type InstanceId: String
|
@@ -6889,7 +6889,7 @@ module TencentCloud
|
|
6889
6889
|
# @type InstanceId: String
|
6890
6890
|
# @param PolicyId: 策略Id
|
6891
6891
|
# @type PolicyId: String
|
6892
|
-
# @param PolicyAction: 策略方式。可取值:alg、drop。alg指返回验证码方式验证,drop
|
6892
|
+
# @param PolicyAction: 策略方式。可取值:alg、drop、trans。alg指返回验证码方式验证,drop表示该访问丢弃,trans表示该访问放行。
|
6893
6893
|
# @type PolicyAction: String
|
6894
6894
|
# @param PolicyList: 策略记录
|
6895
6895
|
# @type PolicyList: Array
|
@@ -6985,7 +6985,7 @@ module TencentCloud
|
|
6985
6985
|
# @type Ip: String
|
6986
6986
|
# @param Domain: 域名
|
6987
6987
|
# @type Domain: String
|
6988
|
-
# @param Protocol: 协议,可取值
|
6988
|
+
# @param Protocol: 协议,可取值http,https,http/https
|
6989
6989
|
# @type Protocol: String
|
6990
6990
|
# @param Threshold: 清洗阈值,-1表示开启“默认”模式
|
6991
6991
|
# @type Threshold: Integer
|
@@ -7751,8 +7751,8 @@ module TencentCloud
|
|
7751
7751
|
# drop(丢弃)
|
7752
7752
|
# transmit(放行)
|
7753
7753
|
# drop_black(丢弃并拉黑)
|
7754
|
-
# drop_rst(拦截)
|
7755
|
-
# drop_black_rst(拦截并拉黑)
|
7754
|
+
# drop_rst(拦截)(已废弃,不支持drop_rst)
|
7755
|
+
# drop_black_rst(拦截并拉黑)(已废弃,不支持drop_black_rst)
|
7756
7756
|
# forward(继续防护)
|
7757
7757
|
# ]
|
7758
7758
|
# @type Action: String
|
@@ -7765,13 +7765,10 @@ module TencentCloud
|
|
7765
7765
|
# @type MatchBegin: String
|
7766
7766
|
# @param MatchType: 检测类型,取值[
|
7767
7767
|
# sunday(关键字)
|
7768
|
-
# pcre(正则表达式)
|
7768
|
+
# pcre(正则表达式) (已废弃,仅支持sunday)
|
7769
7769
|
# ]
|
7770
7770
|
# @type MatchType: String
|
7771
|
-
# @param Str: 检测值,关键字符串或正则表达式,取值[
|
7772
|
-
# 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
|
7773
|
-
# 当检测类型为pcre时, 请填写正则表达式字符串;
|
7774
|
-
# ]
|
7771
|
+
# @param Str: 检测值,关键字符串或正则表达式,取值[ 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码; 最多支持63位; ]
|
7775
7772
|
# @type Str: String
|
7776
7773
|
# @param Depth: 从检测位置开始的检测深度,取值[0,1500]
|
7777
7774
|
# @type Depth: Integer
|
@@ -7779,39 +7776,27 @@ module TencentCloud
|
|
7779
7776
|
# @type Offset: Integer
|
7780
7777
|
# @param IsNot: 是否包含检测值,取值[
|
7781
7778
|
# 0(包含)
|
7782
|
-
# 1(不包含)
|
7779
|
+
# 1(不包含) (已废弃,仅支持0)
|
7783
7780
|
# ]
|
7784
7781
|
# @type IsNot: Integer
|
7785
7782
|
# @param MatchLogic: 当有第二个检测条件时,与第一检测条件的且或关系,取值[
|
7786
|
-
# and(且的关系)
|
7783
|
+
# and(且的关系) (已废弃,仅支持none)
|
7787
7784
|
# none(当没有第二个检测条件时填写此值)
|
7788
7785
|
# ]
|
7789
7786
|
# @type MatchLogic: String
|
7790
|
-
# @param MatchBegin2:
|
7791
|
-
# begin_l5(载荷)
|
7792
|
-
# no_match(不匹配)
|
7793
|
-
# ]
|
7787
|
+
# @param MatchBegin2: (已废弃)
|
7794
7788
|
# @type MatchBegin2: String
|
7795
|
-
# @param MatchType2:
|
7796
|
-
# sunday(关键字)
|
7797
|
-
# pcre(正则表达式)
|
7798
|
-
# ]
|
7789
|
+
# @param MatchType2: (已废弃)
|
7799
7790
|
# @type MatchType2: String
|
7800
|
-
# @param Str2:
|
7801
|
-
# 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
|
7802
|
-
# 当检测类型为pcre时, 请填写正则表达式字符串;
|
7803
|
-
# ]
|
7791
|
+
# @param Str2: (已废弃)
|
7804
7792
|
# @type Str2: String
|
7805
|
-
# @param Depth2:
|
7793
|
+
# @param Depth2: (已废弃)
|
7806
7794
|
# @type Depth2: Integer
|
7807
|
-
# @param Offset2:
|
7795
|
+
# @param Offset2: (已废弃)
|
7808
7796
|
# @type Offset2: Integer
|
7809
|
-
# @param IsNot2:
|
7810
|
-
# 0(包含)
|
7811
|
-
# 1(不包含)
|
7812
|
-
# ]
|
7797
|
+
# @param IsNot2: (已废弃)
|
7813
7798
|
# @type IsNot2: Integer
|
7814
|
-
# @param Id: 特征过滤配置添加成功后自动生成的规则ID
|
7799
|
+
# @param Id: 特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;当修改/删除新特征过滤配置时,此字段必填;
|
7815
7800
|
# @type Id: String
|
7816
7801
|
# @param PktLenGT: 大于报文长度,取值1+
|
7817
7802
|
# @type PktLenGT: Integer
|
@@ -8458,7 +8443,6 @@ module TencentCloud
|
|
8458
8443
|
# ]
|
8459
8444
|
# @type Verify: String
|
8460
8445
|
# @param CloudSdkProxy: 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验
|
8461
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8462
8446
|
# @type CloudSdkProxy: Integer
|
8463
8447
|
|
8464
8448
|
attr_accessor :Offset, :OpenStatus, :Listeners, :Keys, :Verify, :CloudSdkProxy
|
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.998
|
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-02-
|
11
|
+
date: 2025-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|