tencentcloud-sdk-teo 3.0.387 → 3.0.389
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/v20220106/models.rb +227 -151
- 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: f5cf2d513c63aad25bb109178e4b0894ca4bcd3a
|
4
|
+
data.tar.gz: 2a0214e4a5fdb8d6620f177f60742c484798d63f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38fc42d73624526fe0b04b3532a0a300520f3c06a7605e99eb765a28e58fa77b982acdfec3000cf2ea6aa7d1a689ed138206c736c40106b886f7f26b015915a6
|
7
|
+
data.tar.gz: b8d1e8e7275d18424fe98580a3c4f26cc86e7c0629e709656d2a1206cf5cc1a9831a5b53647d2d36fb19c1fbe467333aeb4336b988e72afb7130788df86a5d19
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.389
|
data/lib/v20220106/models.rb
CHANGED
@@ -1959,19 +1959,27 @@ module TencentCloud
|
|
1959
1959
|
|
1960
1960
|
# DDoS配置端口过滤
|
1961
1961
|
class DDoSAcl < TencentCloud::Common::AbstractModel
|
1962
|
-
# @param DportEnd:
|
1962
|
+
# @param DportEnd: 目的端口结束,取值范围0-65535。
|
1963
1963
|
# @type DportEnd: Integer
|
1964
|
-
# @param DportStart:
|
1964
|
+
# @param DportStart: 目的端口开始,取值范围0-65535。
|
1965
1965
|
# @type DportStart: Integer
|
1966
|
-
# @param SportEnd:
|
1966
|
+
# @param SportEnd: 源端口结束,取值范围0-65535。
|
1967
1967
|
# @type SportEnd: Integer
|
1968
|
-
# @param SportStart:
|
1968
|
+
# @param SportStart: 源端口开始,取值范围0-65535。
|
1969
1969
|
# @type SportStart: Integer
|
1970
|
-
# @param Protocol:
|
1970
|
+
# @param Protocol: 协议,取值有:
|
1971
|
+
# <li>tcp :tcp协议 ;</li>
|
1972
|
+
# <li>udp :udp协议 ;</li>
|
1973
|
+
# <li>all :全部协议 。</li>
|
1971
1974
|
# @type Protocol: String
|
1972
|
-
# @param Action:
|
1975
|
+
# @param Action: 执行动作,取值为:
|
1976
|
+
# <li>drop :丢弃 ;</li>
|
1977
|
+
# <li>transmit :放行 ;</li>
|
1978
|
+
# <li>forward :继续防护 。</li>
|
1973
1979
|
# @type Action: String
|
1974
|
-
# @param Default:
|
1980
|
+
# @param Default: 是否为系统配置,取值为:
|
1981
|
+
# <li>0 :修改配置 ;</li>
|
1982
|
+
# <li>1 :系统默认配置 。</li>
|
1975
1983
|
# @type Default: Integer
|
1976
1984
|
|
1977
1985
|
attr_accessor :DportEnd, :DportStart, :SportEnd, :SportStart, :Protocol, :Action, :Default
|
@@ -1999,34 +2007,45 @@ module TencentCloud
|
|
1999
2007
|
|
2000
2008
|
# DDoS协议防护+连接防护
|
2001
2009
|
class DDoSAntiPly < TencentCloud::Common::AbstractModel
|
2002
|
-
# @param DropTcp: tcp
|
2010
|
+
# @param DropTcp: tcp协议封禁,取值有:
|
2011
|
+
# <li>off :关闭 ;</li>
|
2012
|
+
# <li>on :开启 。</li>
|
2003
2013
|
# @type DropTcp: String
|
2004
|
-
# @param DropUdp: udp
|
2014
|
+
# @param DropUdp: udp协议封禁,取值有:
|
2015
|
+
# <li>off :关闭 ;</li>
|
2016
|
+
# <li>on :开启 。</li>
|
2005
2017
|
# @type DropUdp: String
|
2006
|
-
# @param DropIcmp: icmp
|
2018
|
+
# @param DropIcmp: icmp协议封禁,取值有:
|
2019
|
+
# <li>off :关闭 ;</li>
|
2020
|
+
# <li>on :开启 。</li>
|
2007
2021
|
# @type DropIcmp: String
|
2008
|
-
# @param DropOther:
|
2022
|
+
# @param DropOther: 其他协议封禁,取值有:
|
2023
|
+
# <li>off :关闭 ;</li>
|
2024
|
+
# <li>on :开启 。</li>
|
2009
2025
|
# @type DropOther: String
|
2010
|
-
# @param SourceCreateLimit:
|
2026
|
+
# @param SourceCreateLimit: 源站每秒新连接限速,取值范围0-4294967295。
|
2011
2027
|
# @type SourceCreateLimit: Integer
|
2012
|
-
# @param SourceConnectLimit:
|
2028
|
+
# @param SourceConnectLimit: 源站并发连接控制,取值范围0-4294967295。
|
2013
2029
|
# @type SourceConnectLimit: Integer
|
2014
|
-
# @param DestinationCreateLimit:
|
2030
|
+
# @param DestinationCreateLimit: 目的端口每秒新连接限速,取值范围0-4294967295。
|
2015
2031
|
# @type DestinationCreateLimit: Integer
|
2016
|
-
# @param DestinationConnectLimit:
|
2032
|
+
# @param DestinationConnectLimit: 目的端口并发连接控制,取值范围0-4294967295。
|
2017
2033
|
# @type DestinationConnectLimit: Integer
|
2018
|
-
# @param AbnormalConnectNum:
|
2034
|
+
# @param AbnormalConnectNum: 每秒异常连接数阈值,取值范围0-4294967295。
|
2019
2035
|
# @type AbnormalConnectNum: Integer
|
2020
|
-
# @param AbnormalSynRatio: syn
|
2036
|
+
# @param AbnormalSynRatio: 异常syn报文百分比阈值,取值范围0-100。
|
2021
2037
|
# @type AbnormalSynRatio: Integer
|
2022
|
-
# @param AbnormalSynNum: syn
|
2038
|
+
# @param AbnormalSynNum: 异常syn报文阈值,取值范围0-65535。
|
2023
2039
|
# @type AbnormalSynNum: Integer
|
2024
|
-
# @param ConnectTimeout:
|
2040
|
+
# @param ConnectTimeout: 每秒连接超时检测,取值范围0-65535。
|
2025
2041
|
# @type ConnectTimeout: Integer
|
2026
|
-
# @param EmptyConnectProtect:
|
2042
|
+
# @param EmptyConnectProtect: 空连接防护开启,取值有:
|
2043
|
+
# <li>off :关闭 ;</li>
|
2044
|
+
# <li>on :开启 。</li>
|
2027
2045
|
# @type EmptyConnectProtect: String
|
2028
|
-
# @param UdpShard: UDP
|
2029
|
-
#
|
2046
|
+
# @param UdpShard: UDP分片开关,取值有:
|
2047
|
+
# <li>off :关闭 ;</li>
|
2048
|
+
# <li>on :开启 。</li>
|
2030
2049
|
# @type UdpShard: String
|
2031
2050
|
|
2032
2051
|
attr_accessor :DropTcp, :DropUdp, :DropIcmp, :DropOther, :SourceCreateLimit, :SourceConnectLimit, :DestinationCreateLimit, :DestinationConnectLimit, :AbnormalConnectNum, :AbnormalSynRatio, :AbnormalSynNum, :ConnectTimeout, :EmptyConnectProtect, :UdpShard
|
@@ -2120,129 +2139,154 @@ module TencentCloud
|
|
2120
2139
|
|
2121
2140
|
# DDoS特征过滤
|
2122
2141
|
class DDoSFeaturesFilter < TencentCloud::Common::AbstractModel
|
2123
|
-
# @param Action:
|
2142
|
+
# @param Action: 执行动作,取值有:
|
2143
|
+
# <li>drop :丢弃 ;</li>
|
2144
|
+
# <li>transmit :放行 ;</li>
|
2145
|
+
# <li>drop_block :丢弃并拉黑 ;</li>
|
2146
|
+
# <li>forward :继续防护 。</li>
|
2124
2147
|
# @type Action: String
|
2125
|
-
# @param
|
2126
|
-
#
|
2127
|
-
#
|
2128
|
-
#
|
2129
|
-
#
|
2130
|
-
# @type
|
2131
|
-
# @param DportStart:
|
2148
|
+
# @param Protocol: 协议,取值有:
|
2149
|
+
# <li>tcp :tcp协议 ;</li>
|
2150
|
+
# <li>udp :udp协议 ;</li>
|
2151
|
+
# <li>icmp :icmp协议 ;</li>
|
2152
|
+
# <li>all :全部协议 。</li>
|
2153
|
+
# @type Protocol: String
|
2154
|
+
# @param DportStart: 目标端口开始,取值范围0-65535。
|
2132
2155
|
# @type DportStart: Integer
|
2133
|
-
# @param
|
2134
|
-
# @type
|
2135
|
-
# @param
|
2136
|
-
# @type IsNot2: Integer
|
2137
|
-
# @param MatchLogic: 多特征关系(单特征时(none),第二特征相关配置可不填) none;and;or
|
2138
|
-
# @type MatchLogic: String
|
2139
|
-
# @param MatchType: 匹配方式1 pcre-正则匹配, sunday-字符串匹配
|
2140
|
-
# @type MatchType: String
|
2141
|
-
# @param MatchType2: 匹配方式2 pcre-正则匹配, sunday-字符串匹配
|
2142
|
-
# @type MatchType2: String
|
2143
|
-
# @param Offset: 偏移量1
|
2144
|
-
# @type Offset: Integer
|
2145
|
-
# @param Offset2: 偏移量2
|
2146
|
-
# @type Offset2: Integer
|
2147
|
-
# @param PacketMax: 最大包长
|
2148
|
-
# @type PacketMax: Integer
|
2149
|
-
# @param PacketMin: 最小包长
|
2156
|
+
# @param DportEnd: 目标端口结束,取值范围0-65535。
|
2157
|
+
# @type DportEnd: Integer
|
2158
|
+
# @param PacketMin: 最小包长,取值范围0-1500。
|
2150
2159
|
# @type PacketMin: Integer
|
2151
|
-
# @param
|
2152
|
-
# @type
|
2153
|
-
# @param
|
2154
|
-
# @type SportEnd: Integer
|
2155
|
-
# @param SportStart: 源端口开始
|
2160
|
+
# @param PacketMax: 最大包长,取值范围0-1500。
|
2161
|
+
# @type PacketMax: Integer
|
2162
|
+
# @param SportStart: 源端口开始,取值范围0-65535。
|
2156
2163
|
# @type SportStart: Integer
|
2157
|
-
# @param
|
2158
|
-
# @type
|
2159
|
-
# @param
|
2160
|
-
#
|
2161
|
-
#
|
2164
|
+
# @param SportEnd: 源端口结束,取值范围0-65535。
|
2165
|
+
# @type SportEnd: Integer
|
2166
|
+
# @param MatchType: 匹配方式1,【特征1】,取值有:
|
2167
|
+
# <li>pcre :正则匹配 ;</li>
|
2168
|
+
# <li>sunday :字符串匹配 。</li>默认为空字符串。
|
2169
|
+
# @type MatchType: String
|
2170
|
+
# @param IsNot: 取非判断,该参数对MatchType配合使用,【特征1】,取值有:
|
2171
|
+
# <li>0 :匹配 ;</li>
|
2172
|
+
# <li>1 :不匹配 。</li>
|
2173
|
+
# @type IsNot: Integer
|
2174
|
+
# @param Offset: 偏移量1,【特征1】,取值范围0-1500。
|
2175
|
+
# @type Offset: Integer
|
2176
|
+
# @param Depth: 检测包字符深度,【特征1】,取值范围1-1500。
|
2177
|
+
# @type Depth: Integer
|
2178
|
+
# @param MatchBegin: 匹配开始层级,层级参考计算机网络结构,取值有:
|
2179
|
+
# <li>begin_l5 :载荷开始检测 ;</li>
|
2180
|
+
# <li>begin_l4 :tcp/udp首部开始检测 ;</li>
|
2181
|
+
# <li>begin_l3 :ip首部开始检测 。</li>
|
2162
2182
|
# @type MatchBegin: String
|
2163
|
-
# @param
|
2183
|
+
# @param Str: 正则或字符串匹配的内容,【特征1】。
|
2184
|
+
# @type Str: String
|
2185
|
+
# @param MatchType2: 匹配方式2,【特征2】,取值有:
|
2186
|
+
# <li>pcre :正则匹配 ;</li>
|
2187
|
+
# <li>sunday :字符串匹配 。</li>默认为空字符串。
|
2188
|
+
# @type MatchType2: String
|
2189
|
+
# @param IsNot2: 取非判断2,该参数对MatchType2配合使用,【特征2】,取值有:
|
2190
|
+
# <li>0 :匹配 ;</li>
|
2191
|
+
# <li>1 :不匹配 。</li>
|
2192
|
+
# @type IsNot2: Integer
|
2193
|
+
# @param Offset2: 偏移量2,【特征2】,取值范围0-1500。
|
2194
|
+
# @type Offset2: Integer
|
2195
|
+
# @param Depth2: 检测包字符深度,【特征2】,取值范围1-1500。
|
2196
|
+
# @type Depth2: Integer
|
2197
|
+
# @param MatchBegin2: 匹配开始层级,层级参考计算机网络结构,取值有:
|
2198
|
+
# <li>begin_l5 :载荷开始检测 ;</li>
|
2199
|
+
# <li>begin_l4 :tcp/udp首部开始检测;</li>
|
2200
|
+
# <li>begin_l3 :ip首部开始检测 。</li>
|
2164
2201
|
# @type MatchBegin2: String
|
2202
|
+
# @param Str2: 正则或字符串匹配的内容,【特征2】。
|
2203
|
+
# @type Str2: String
|
2204
|
+
# @param MatchLogic: 多特征关系,仅配置【特征1】时填 none,存在【特征2】配置可不填。
|
2205
|
+
# @type MatchLogic: String
|
2165
2206
|
|
2166
|
-
attr_accessor :Action, :
|
2207
|
+
attr_accessor :Action, :Protocol, :DportStart, :DportEnd, :PacketMin, :PacketMax, :SportStart, :SportEnd, :MatchType, :IsNot, :Offset, :Depth, :MatchBegin, :Str, :MatchType2, :IsNot2, :Offset2, :Depth2, :MatchBegin2, :Str2, :MatchLogic
|
2167
2208
|
|
2168
|
-
def initialize(action=nil,
|
2209
|
+
def initialize(action=nil, protocol=nil, dportstart=nil, dportend=nil, packetmin=nil, packetmax=nil, sportstart=nil, sportend=nil, matchtype=nil, isnot=nil, offset=nil, depth=nil, matchbegin=nil, str=nil, matchtype2=nil, isnot2=nil, offset2=nil, depth2=nil, matchbegin2=nil, str2=nil, matchlogic=nil)
|
2169
2210
|
@Action = action
|
2170
|
-
@
|
2171
|
-
@Depth2 = depth2
|
2172
|
-
@DportEnd = dportend
|
2211
|
+
@Protocol = protocol
|
2173
2212
|
@DportStart = dportstart
|
2174
|
-
@
|
2175
|
-
@IsNot2 = isnot2
|
2176
|
-
@MatchLogic = matchlogic
|
2177
|
-
@MatchType = matchtype
|
2178
|
-
@MatchType2 = matchtype2
|
2179
|
-
@Offset = offset
|
2180
|
-
@Offset2 = offset2
|
2181
|
-
@PacketMax = packetmax
|
2213
|
+
@DportEnd = dportend
|
2182
2214
|
@PacketMin = packetmin
|
2183
|
-
@
|
2184
|
-
@SportEnd = sportend
|
2215
|
+
@PacketMax = packetmax
|
2185
2216
|
@SportStart = sportstart
|
2186
|
-
@
|
2187
|
-
@
|
2217
|
+
@SportEnd = sportend
|
2218
|
+
@MatchType = matchtype
|
2219
|
+
@IsNot = isnot
|
2220
|
+
@Offset = offset
|
2221
|
+
@Depth = depth
|
2188
2222
|
@MatchBegin = matchbegin
|
2223
|
+
@Str = str
|
2224
|
+
@MatchType2 = matchtype2
|
2225
|
+
@IsNot2 = isnot2
|
2226
|
+
@Offset2 = offset2
|
2227
|
+
@Depth2 = depth2
|
2189
2228
|
@MatchBegin2 = matchbegin2
|
2229
|
+
@Str2 = str2
|
2230
|
+
@MatchLogic = matchlogic
|
2190
2231
|
end
|
2191
2232
|
|
2192
2233
|
def deserialize(params)
|
2193
2234
|
@Action = params['Action']
|
2194
|
-
@
|
2195
|
-
@Depth2 = params['Depth2']
|
2196
|
-
@DportEnd = params['DportEnd']
|
2235
|
+
@Protocol = params['Protocol']
|
2197
2236
|
@DportStart = params['DportStart']
|
2198
|
-
@
|
2199
|
-
@IsNot2 = params['IsNot2']
|
2200
|
-
@MatchLogic = params['MatchLogic']
|
2201
|
-
@MatchType = params['MatchType']
|
2202
|
-
@MatchType2 = params['MatchType2']
|
2203
|
-
@Offset = params['Offset']
|
2204
|
-
@Offset2 = params['Offset2']
|
2205
|
-
@PacketMax = params['PacketMax']
|
2237
|
+
@DportEnd = params['DportEnd']
|
2206
2238
|
@PacketMin = params['PacketMin']
|
2207
|
-
@
|
2208
|
-
@SportEnd = params['SportEnd']
|
2239
|
+
@PacketMax = params['PacketMax']
|
2209
2240
|
@SportStart = params['SportStart']
|
2210
|
-
@
|
2211
|
-
@
|
2241
|
+
@SportEnd = params['SportEnd']
|
2242
|
+
@MatchType = params['MatchType']
|
2243
|
+
@IsNot = params['IsNot']
|
2244
|
+
@Offset = params['Offset']
|
2245
|
+
@Depth = params['Depth']
|
2212
2246
|
@MatchBegin = params['MatchBegin']
|
2247
|
+
@Str = params['Str']
|
2248
|
+
@MatchType2 = params['MatchType2']
|
2249
|
+
@IsNot2 = params['IsNot2']
|
2250
|
+
@Offset2 = params['Offset2']
|
2251
|
+
@Depth2 = params['Depth2']
|
2213
2252
|
@MatchBegin2 = params['MatchBegin2']
|
2253
|
+
@Str2 = params['Str2']
|
2254
|
+
@MatchLogic = params['MatchLogic']
|
2214
2255
|
end
|
2215
2256
|
end
|
2216
2257
|
|
2217
2258
|
# DDoS地域封禁
|
2218
2259
|
class DDoSGeoIp < TencentCloud::Common::AbstractModel
|
2219
|
-
# @param
|
2220
|
-
#
|
2221
|
-
#
|
2222
|
-
# @param Switch: 区域封禁清空标识
|
2223
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2260
|
+
# @param Switch: 区域封禁清空标识,取值有:
|
2261
|
+
# <li>off :清空地域封禁列表 ;</li>
|
2262
|
+
# <li>on :不做处理 。</li>
|
2224
2263
|
# @type Switch: String
|
2264
|
+
# @param RegionId: 地域信息,ID参考[DescribeSecurityPolicyRegions](https://tcloud4api.woa.com/document/product/1657/76031?!preview&!document=1)。
|
2265
|
+
# @type RegionId: Array
|
2225
2266
|
|
2226
|
-
attr_accessor :
|
2267
|
+
attr_accessor :Switch, :RegionId
|
2227
2268
|
|
2228
|
-
def initialize(
|
2229
|
-
@RegionId = regionid
|
2269
|
+
def initialize(switch=nil, regionid=nil)
|
2230
2270
|
@Switch = switch
|
2271
|
+
@RegionId = regionid
|
2231
2272
|
end
|
2232
2273
|
|
2233
2274
|
def deserialize(params)
|
2234
|
-
@RegionId = params['RegionId']
|
2235
2275
|
@Switch = params['Switch']
|
2276
|
+
@RegionId = params['RegionId']
|
2236
2277
|
end
|
2237
2278
|
end
|
2238
2279
|
|
2239
2280
|
# DDoS封禁等级
|
2240
2281
|
class DDoSStatusInfo < TencentCloud::Common::AbstractModel
|
2241
|
-
# @param AiStatus:
|
2282
|
+
# @param AiStatus: 暂不支持,默认值off。
|
2242
2283
|
# @type AiStatus: String
|
2243
|
-
# @param Appid:
|
2284
|
+
# @param Appid: 废弃字段。
|
2244
2285
|
# @type Appid: String
|
2245
|
-
# @param PlyLevel:
|
2286
|
+
# @param PlyLevel: 策略等级,取值有:
|
2287
|
+
# <li>low :宽松 ;</li>
|
2288
|
+
# <li>middle :适中 ;</li>
|
2289
|
+
# <li>high : 严格。 </li>
|
2246
2290
|
# @type PlyLevel: String
|
2247
2291
|
|
2248
2292
|
attr_accessor :AiStatus, :Appid, :PlyLevel
|
@@ -2262,23 +2306,19 @@ module TencentCloud
|
|
2262
2306
|
|
2263
2307
|
# DDoS黑白名单
|
2264
2308
|
class DDoSUserAllowBlockIP < TencentCloud::Common::AbstractModel
|
2265
|
-
# @param Ip:
|
2266
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2309
|
+
# @param Ip: 客户端IP。
|
2267
2310
|
# @type Ip: String
|
2268
|
-
# @param Mask:
|
2269
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2311
|
+
# @param Mask: 掩码。
|
2270
2312
|
# @type Mask: Integer
|
2271
|
-
# @param Type:
|
2272
|
-
#
|
2313
|
+
# @param Type: 类型,取值有:
|
2314
|
+
# <li>block :丢弃 ;</li>
|
2315
|
+
# <li>allow :允许。</li>
|
2273
2316
|
# @type Type: String
|
2274
|
-
# @param UpdateTime:
|
2275
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2317
|
+
# @param UpdateTime: 10位时间戳,例如1199116800。
|
2276
2318
|
# @type UpdateTime: Integer
|
2277
|
-
# @param Ip2:
|
2278
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2319
|
+
# @param Ip2: 客户端IP2,设置IP范围时使用,例如 1.1.1.1-1.1.1.2。
|
2279
2320
|
# @type Ip2: String
|
2280
|
-
# @param Mask2:
|
2281
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2321
|
+
# @param Mask2: 掩码2,设置IP网段范围时使用,例如 1.1.1.0/24-1.1.2.0/24。
|
2282
2322
|
# @type Mask2: Integer
|
2283
2323
|
|
2284
2324
|
attr_accessor :Ip, :Mask, :Type, :UpdateTime, :Ip2, :Mask2
|
@@ -2617,20 +2657,21 @@ module TencentCloud
|
|
2617
2657
|
|
2618
2658
|
# ddos端口过滤
|
2619
2659
|
class DdosAcls < TencentCloud::Common::AbstractModel
|
2620
|
-
# @param
|
2621
|
-
# @type Switch: String
|
2622
|
-
# @param Acl: 端口过了详细参数
|
2660
|
+
# @param Acl: 端口过滤规则数组。
|
2623
2661
|
# @type Acl: Array
|
2662
|
+
# @param Switch: 清空规则标识,取值有:
|
2663
|
+
# <li>off :清空端口过滤规则列表,Acl无需填写。 ;</li>
|
2664
|
+
# <li>on :配置端口过滤规则,需填写Acl参数。</li>默认值为on。
|
2665
|
+
# @type Switch: String
|
2624
2666
|
|
2625
|
-
attr_accessor :
|
2667
|
+
attr_accessor :Acl, :Switch
|
2626
2668
|
|
2627
|
-
def initialize(
|
2628
|
-
@Switch = switch
|
2669
|
+
def initialize(acl=nil, switch=nil)
|
2629
2670
|
@Acl = acl
|
2671
|
+
@Switch = switch
|
2630
2672
|
end
|
2631
2673
|
|
2632
2674
|
def deserialize(params)
|
2633
|
-
@Switch = params['Switch']
|
2634
2675
|
unless params['Acl'].nil?
|
2635
2676
|
@Acl = []
|
2636
2677
|
params['Acl'].each do |i|
|
@@ -2639,25 +2680,27 @@ module TencentCloud
|
|
2639
2680
|
@Acl << ddosacl_tmp
|
2640
2681
|
end
|
2641
2682
|
end
|
2683
|
+
@Switch = params['Switch']
|
2642
2684
|
end
|
2643
2685
|
end
|
2644
2686
|
|
2645
2687
|
# ddos黑白名单
|
2646
2688
|
class DdosAllowBlock < TencentCloud::Common::AbstractModel
|
2647
|
-
# @param
|
2648
|
-
# @type Switch: String
|
2649
|
-
# @param UserAllowBlockIp: 黑白名单数组
|
2689
|
+
# @param UserAllowBlockIp: 黑白名单数组。
|
2650
2690
|
# @type UserAllowBlockIp: Array
|
2691
|
+
# @param Switch: 开关标识防护是否清空,取值有:
|
2692
|
+
# <li>off :清空黑白名单列表,UserAllowBlockIp无需填写。 ;</li>
|
2693
|
+
# <li>on :配置黑白名单,需填写UserAllowBlockIp参数。</li>默认值为on。
|
2694
|
+
# @type Switch: String
|
2651
2695
|
|
2652
|
-
attr_accessor :
|
2696
|
+
attr_accessor :UserAllowBlockIp, :Switch
|
2653
2697
|
|
2654
|
-
def initialize(
|
2655
|
-
@Switch = switch
|
2698
|
+
def initialize(userallowblockip=nil, switch=nil)
|
2656
2699
|
@UserAllowBlockIp = userallowblockip
|
2700
|
+
@Switch = switch
|
2657
2701
|
end
|
2658
2702
|
|
2659
2703
|
def deserialize(params)
|
2660
|
-
@Switch = params['Switch']
|
2661
2704
|
unless params['UserAllowBlockIp'].nil?
|
2662
2705
|
@UserAllowBlockIp = []
|
2663
2706
|
params['UserAllowBlockIp'].each do |i|
|
@@ -2666,25 +2709,27 @@ module TencentCloud
|
|
2666
2709
|
@UserAllowBlockIp << ddosuserallowblockip_tmp
|
2667
2710
|
end
|
2668
2711
|
end
|
2712
|
+
@Switch = params['Switch']
|
2669
2713
|
end
|
2670
2714
|
end
|
2671
2715
|
|
2672
2716
|
# ddos特征过滤
|
2673
2717
|
class DdosPacketFilter < TencentCloud::Common::AbstractModel
|
2674
|
-
# @param
|
2675
|
-
# @type Switch: String
|
2676
|
-
# @param PacketFilter: 特征过滤数组
|
2718
|
+
# @param PacketFilter: 特征过滤规则数组。
|
2677
2719
|
# @type PacketFilter: Array
|
2720
|
+
# @param Switch: 特征过滤清空标识,取值有:
|
2721
|
+
# <li>off :清空特征过滤规则,无需填写 PacketFilter 参数 ;</li>
|
2722
|
+
# <li>on :配置特征过滤规则,需填写 PacketFilter 参数。</li>默认值为on。
|
2723
|
+
# @type Switch: String
|
2678
2724
|
|
2679
|
-
attr_accessor :
|
2725
|
+
attr_accessor :PacketFilter, :Switch
|
2680
2726
|
|
2681
|
-
def initialize(
|
2682
|
-
@Switch = switch
|
2727
|
+
def initialize(packetfilter=nil, switch=nil)
|
2683
2728
|
@PacketFilter = packetfilter
|
2729
|
+
@Switch = switch
|
2684
2730
|
end
|
2685
2731
|
|
2686
2732
|
def deserialize(params)
|
2687
|
-
@Switch = params['Switch']
|
2688
2733
|
unless params['PacketFilter'].nil?
|
2689
2734
|
@PacketFilter = []
|
2690
2735
|
params['PacketFilter'].each do |i|
|
@@ -2693,39 +2738,45 @@ module TencentCloud
|
|
2693
2738
|
@PacketFilter << ddosfeaturesfilter_tmp
|
2694
2739
|
end
|
2695
2740
|
end
|
2741
|
+
@Switch = params['Switch']
|
2696
2742
|
end
|
2697
2743
|
end
|
2698
2744
|
|
2699
2745
|
# Ddos防护配置
|
2700
2746
|
class DdosRule < TencentCloud::Common::AbstractModel
|
2701
|
-
# @param DdosStatusInfo: DDoS
|
2747
|
+
# @param DdosStatusInfo: DDoS防护等级。
|
2702
2748
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2703
2749
|
# @type DdosStatusInfo: :class:`Tencentcloud::Teo.v20220106.models.DDoSStatusInfo`
|
2704
|
-
# @param DdosGeoIp: DDoS
|
2750
|
+
# @param DdosGeoIp: DDoS地域封禁。
|
2705
2751
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2706
2752
|
# @type DdosGeoIp: :class:`Tencentcloud::Teo.v20220106.models.DDoSGeoIp`
|
2707
|
-
# @param DdosAllowBlock: DDoS
|
2753
|
+
# @param DdosAllowBlock: DDoS黑白名单。
|
2708
2754
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2709
2755
|
# @type DdosAllowBlock: :class:`Tencentcloud::Teo.v20220106.models.DdosAllowBlock`
|
2710
|
-
# @param DdosAntiPly: DDoS
|
2756
|
+
# @param DdosAntiPly: DDoS 协议封禁+连接防护。
|
2711
2757
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2712
2758
|
# @type DdosAntiPly: :class:`Tencentcloud::Teo.v20220106.models.DDoSAntiPly`
|
2713
|
-
# @param DdosPacketFilter: DDoS
|
2759
|
+
# @param DdosPacketFilter: DDoS特征过滤。
|
2714
2760
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2715
2761
|
# @type DdosPacketFilter: :class:`Tencentcloud::Teo.v20220106.models.DdosPacketFilter`
|
2716
|
-
# @param DdosAcl: DDoS
|
2762
|
+
# @param DdosAcl: DDoS端口过滤。
|
2717
2763
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2718
2764
|
# @type DdosAcl: :class:`Tencentcloud::Teo.v20220106.models.DdosAcls`
|
2719
|
-
# @param Switch: DDoS
|
2720
|
-
#
|
2765
|
+
# @param Switch: DDoS开关,取值有:
|
2766
|
+
# <li>on :开启 ;</li>
|
2767
|
+
# <li>off :关闭 。</li>
|
2721
2768
|
# @type Switch: String
|
2722
|
-
# @param UdpShardOpen: UDP
|
2723
|
-
#
|
2769
|
+
# @param UdpShardOpen: UDP分片功能是否支持,取值有:
|
2770
|
+
# <li>on :支持 ;</li>
|
2771
|
+
# <li>off :不支持 。</li>
|
2724
2772
|
# @type UdpShardOpen: String
|
2773
|
+
# @param DdosSpeedLimit: DDoS源站访问速率限制。
|
2774
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2775
|
+
# @type DdosSpeedLimit: :class:`Tencentcloud::Teo.v20220106.models.DdosSpeedLimit`
|
2725
2776
|
|
2726
|
-
attr_accessor :DdosStatusInfo, :DdosGeoIp, :DdosAllowBlock, :DdosAntiPly, :DdosPacketFilter, :DdosAcl, :Switch, :UdpShardOpen
|
2777
|
+
attr_accessor :DdosStatusInfo, :DdosGeoIp, :DdosAllowBlock, :DdosAntiPly, :DdosPacketFilter, :DdosAcl, :Switch, :UdpShardOpen, :DdosSpeedLimit
|
2727
2778
|
|
2728
|
-
def initialize(ddosstatusinfo=nil, ddosgeoip=nil, ddosallowblock=nil, ddosantiply=nil, ddospacketfilter=nil, ddosacl=nil, switch=nil, udpshardopen=nil)
|
2779
|
+
def initialize(ddosstatusinfo=nil, ddosgeoip=nil, ddosallowblock=nil, ddosantiply=nil, ddospacketfilter=nil, ddosacl=nil, switch=nil, udpshardopen=nil, ddosspeedlimit=nil)
|
2729
2780
|
@DdosStatusInfo = ddosstatusinfo
|
2730
2781
|
@DdosGeoIp = ddosgeoip
|
2731
2782
|
@DdosAllowBlock = ddosallowblock
|
@@ -2734,6 +2785,7 @@ module TencentCloud
|
|
2734
2785
|
@DdosAcl = ddosacl
|
2735
2786
|
@Switch = switch
|
2736
2787
|
@UdpShardOpen = udpshardopen
|
2788
|
+
@DdosSpeedLimit = ddosspeedlimit
|
2737
2789
|
end
|
2738
2790
|
|
2739
2791
|
def deserialize(params)
|
@@ -2763,6 +2815,30 @@ module TencentCloud
|
|
2763
2815
|
end
|
2764
2816
|
@Switch = params['Switch']
|
2765
2817
|
@UdpShardOpen = params['UdpShardOpen']
|
2818
|
+
unless params['DdosSpeedLimit'].nil?
|
2819
|
+
@DdosSpeedLimit = DdosSpeedLimit.new
|
2820
|
+
@DdosSpeedLimit.deserialize(params['DdosSpeedLimit'])
|
2821
|
+
end
|
2822
|
+
end
|
2823
|
+
end
|
2824
|
+
|
2825
|
+
# DDoS端口限速
|
2826
|
+
class DdosSpeedLimit < TencentCloud::Common::AbstractModel
|
2827
|
+
# @param PackageLimit: 源站包量限制,支持单位有pps、Kpps、Mpps、Gpps。支持范围1 pps-10000 Gpps。"0 pps"或其他单位数值为0,即不限包。""为不更新。
|
2828
|
+
# @type PackageLimit: String
|
2829
|
+
# @param FluxLimit: 源站流量限制,支持单位有bps、Kbps、Mbps、Gbps,支持范围1 bps-10000 Gbps。"0 bps"或其他单位数值为0,即不限流。""为不更新。
|
2830
|
+
# @type FluxLimit: String
|
2831
|
+
|
2832
|
+
attr_accessor :PackageLimit, :FluxLimit
|
2833
|
+
|
2834
|
+
def initialize(packagelimit=nil, fluxlimit=nil)
|
2835
|
+
@PackageLimit = packagelimit
|
2836
|
+
@FluxLimit = fluxlimit
|
2837
|
+
end
|
2838
|
+
|
2839
|
+
def deserialize(params)
|
2840
|
+
@PackageLimit = params['PackageLimit']
|
2841
|
+
@FluxLimit = params['FluxLimit']
|
2766
2842
|
end
|
2767
2843
|
end
|
2768
2844
|
|
@@ -8077,11 +8153,11 @@ module TencentCloud
|
|
8077
8153
|
|
8078
8154
|
# ModifyDDoSPolicy请求参数结构体
|
8079
8155
|
class ModifyDDoSPolicyRequest < TencentCloud::Common::AbstractModel
|
8080
|
-
# @param PolicyId:
|
8156
|
+
# @param PolicyId: 策略id。
|
8081
8157
|
# @type PolicyId: Integer
|
8082
|
-
# @param ZoneId:
|
8158
|
+
# @param ZoneId: 站点id。
|
8083
8159
|
# @type ZoneId: String
|
8084
|
-
# @param DdosRule: DDoS
|
8160
|
+
# @param DdosRule: DDoS防护配置详情。
|
8085
8161
|
# @type DdosRule: :class:`Tencentcloud::Teo.v20220106.models.DdosRule`
|
8086
8162
|
|
8087
8163
|
attr_accessor :PolicyId, :ZoneId, :DdosRule
|
@@ -8104,7 +8180,7 @@ module TencentCloud
|
|
8104
8180
|
|
8105
8181
|
# ModifyDDoSPolicy返回参数结构体
|
8106
8182
|
class ModifyDDoSPolicyResponse < TencentCloud::Common::AbstractModel
|
8107
|
-
# @param PolicyId:
|
8183
|
+
# @param PolicyId: 策略id。
|
8108
8184
|
# @type PolicyId: Integer
|
8109
8185
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8110
8186
|
# @type RequestId: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.389
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|