tencentcloud-sdk-antiddos 3.0.440 → 3.0.441
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 +24 -0
- data/lib/v20200309/models.rb +47 -0
- 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: cff6319f9dfbeef48bfe2d48fecad59e5e8180eb
|
4
|
+
data.tar.gz: 0f99ce9f71c6ec13fd3708c01a807ba7a3bbcca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55f3c2bff5ac6275151687824e9211cc58191e538b1e4f13589a961c25e23381fc41d5a0ca4637dd7e356547c1c2a2c7ea043e35f8d5b8506ba5b16c47d6f744
|
7
|
+
data.tar.gz: 7890a417415612d185b644e9380398a35b3e898eb899bc18acb4928e18589eb2c384ae6edf4a7f68ebea177d94ec38357fe1013e9e62e2aaa3206c3f88343dad
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.441
|
data/lib/v20200309/client.rb
CHANGED
@@ -1829,6 +1829,30 @@ module TencentCloud
|
|
1829
1829
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1830
1830
|
end
|
1831
1831
|
|
1832
|
+
# 查询账号维度待处理风险信息,包括是否为付费用户,查询攻击中、封堵中、过期资源数量等
|
1833
|
+
|
1834
|
+
# @param request: Request instance for DescribePendingRiskInfo.
|
1835
|
+
# @type request: :class:`Tencentcloud::antiddos::V20200309::DescribePendingRiskInfoRequest`
|
1836
|
+
# @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribePendingRiskInfoResponse`
|
1837
|
+
def DescribePendingRiskInfo(request)
|
1838
|
+
body = send_request('DescribePendingRiskInfo', request.serialize)
|
1839
|
+
response = JSON.parse(body)
|
1840
|
+
if response['Response'].key?('Error') == false
|
1841
|
+
model = DescribePendingRiskInfoResponse.new
|
1842
|
+
model.deserialize(response['Response'])
|
1843
|
+
model
|
1844
|
+
else
|
1845
|
+
code = response['Response']['Error']['Code']
|
1846
|
+
message = response['Response']['Error']['Message']
|
1847
|
+
reqid = response['Response']['RequestId']
|
1848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1849
|
+
end
|
1850
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1851
|
+
raise e
|
1852
|
+
rescue StandardError => e
|
1853
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
|
+
end
|
1855
|
+
|
1832
1856
|
# 本接口 (DisassociateDDoSEipAddress) 用于解绑高防弹性公网IP。
|
1833
1857
|
|
1834
1858
|
# @param request: Request instance for DisassociateDDoSEipAddress.
|
data/lib/v20200309/models.rb
CHANGED
@@ -5420,6 +5420,53 @@ module TencentCloud
|
|
5420
5420
|
end
|
5421
5421
|
end
|
5422
5422
|
|
5423
|
+
# DescribePendingRiskInfo请求参数结构体
|
5424
|
+
class DescribePendingRiskInfoRequest < TencentCloud::Common::AbstractModel
|
5425
|
+
|
5426
|
+
|
5427
|
+
def initialize()
|
5428
|
+
end
|
5429
|
+
|
5430
|
+
def deserialize(params)
|
5431
|
+
end
|
5432
|
+
end
|
5433
|
+
|
5434
|
+
# DescribePendingRiskInfo返回参数结构体
|
5435
|
+
class DescribePendingRiskInfoResponse < TencentCloud::Common::AbstractModel
|
5436
|
+
# @param IsPaidUsr: 是否为付费用户
|
5437
|
+
# @type IsPaidUsr: Boolean
|
5438
|
+
# @param AttackingCount: 攻击中的资源数量
|
5439
|
+
# @type AttackingCount: Integer
|
5440
|
+
# @param BlockingCount: 封堵中的资源数量
|
5441
|
+
# @type BlockingCount: Integer
|
5442
|
+
# @param ExpiredCount: 已过期的资源数量
|
5443
|
+
# @type ExpiredCount: Integer
|
5444
|
+
# @param Total: 所有待处理风险事件总数
|
5445
|
+
# @type Total: Integer
|
5446
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5447
|
+
# @type RequestId: String
|
5448
|
+
|
5449
|
+
attr_accessor :IsPaidUsr, :AttackingCount, :BlockingCount, :ExpiredCount, :Total, :RequestId
|
5450
|
+
|
5451
|
+
def initialize(ispaidusr=nil, attackingcount=nil, blockingcount=nil, expiredcount=nil, total=nil, requestid=nil)
|
5452
|
+
@IsPaidUsr = ispaidusr
|
5453
|
+
@AttackingCount = attackingcount
|
5454
|
+
@BlockingCount = blockingcount
|
5455
|
+
@ExpiredCount = expiredcount
|
5456
|
+
@Total = total
|
5457
|
+
@RequestId = requestid
|
5458
|
+
end
|
5459
|
+
|
5460
|
+
def deserialize(params)
|
5461
|
+
@IsPaidUsr = params['IsPaidUsr']
|
5462
|
+
@AttackingCount = params['AttackingCount']
|
5463
|
+
@BlockingCount = params['BlockingCount']
|
5464
|
+
@ExpiredCount = params['ExpiredCount']
|
5465
|
+
@Total = params['Total']
|
5466
|
+
@RequestId = params['RequestId']
|
5467
|
+
end
|
5468
|
+
end
|
5469
|
+
|
5423
5470
|
# DisassociateDDoSEipAddress请求参数结构体
|
5424
5471
|
class DisassociateDDoSEipAddressRequest < TencentCloud::Common::AbstractModel
|
5425
5472
|
# @param InstanceId: 资源实例ID,实例ID形如:bgpip-0000011x。只能填写高防IP实例。
|
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.441
|
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-
|
11
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|