tencentcloud-sdk-csip 3.0.592 → 3.0.594
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/v20221121/client.rb +120 -0
- data/lib/v20221121/models.rb +1377 -138
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acf2c869106c12df63f5dca20110d3e3844f252d
|
4
|
+
data.tar.gz: 702d4c45ca9865a8ac24f8d672be03e604f5a004
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75a6819dfbc36393c8890c6d13dd18b347ca600eebc2622eea4d2ee604e12c72058c8ceb0baaebdcd718bace6c8ee71265e8c23fc9e04e7c96d7202add78f4c3
|
7
|
+
data.tar.gz: eff5b5664e137cfd08cdde7ec582e9bcfcc56a6cf6dfc4baf44905ffc5d3ef9bd7cfb727af5d31761863fd67e0e73635da20c6b7953ac5a277927a229978594e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.594
|
data/lib/v20221121/client.rb
CHANGED
@@ -125,6 +125,30 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
+
# 集群pod列表
|
129
|
+
|
130
|
+
# @param request: Request instance for DescribeClusterPodAssets.
|
131
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeClusterPodAssetsRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeClusterPodAssetsResponse`
|
133
|
+
def DescribeClusterPodAssets(request)
|
134
|
+
body = send_request('DescribeClusterPodAssets', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = DescribeClusterPodAssetsResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
128
152
|
# db资产详情
|
129
153
|
|
130
154
|
# @param request: Request instance for DescribeDbAssetInfo.
|
@@ -173,6 +197,102 @@ module TencentCloud
|
|
173
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
198
|
end
|
175
199
|
|
200
|
+
# 域名列表
|
201
|
+
|
202
|
+
# @param request: Request instance for DescribeDomainAssets.
|
203
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeDomainAssetsRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeDomainAssetsResponse`
|
205
|
+
def DescribeDomainAssets(request)
|
206
|
+
body = send_request('DescribeDomainAssets', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = DescribeDomainAssetsResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# ip公网列表
|
225
|
+
|
226
|
+
# @param request: Request instance for DescribePublicIpAssets.
|
227
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribePublicIpAssetsRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribePublicIpAssetsResponse`
|
229
|
+
def DescribePublicIpAssets(request)
|
230
|
+
body = send_request('DescribePublicIpAssets', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DescribePublicIpAssetsResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 获取资产视角的端口风险列表
|
249
|
+
|
250
|
+
# @param request: Request instance for DescribeRiskCenterAssetViewPortRiskList.
|
251
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewPortRiskListRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewPortRiskListResponse`
|
253
|
+
def DescribeRiskCenterAssetViewPortRiskList(request)
|
254
|
+
body = send_request('DescribeRiskCenterAssetViewPortRiskList', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DescribeRiskCenterAssetViewPortRiskListResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 获取资产视角的漏洞风险列表
|
273
|
+
|
274
|
+
# @param request: Request instance for DescribeRiskCenterAssetViewVULRiskList.
|
275
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewVULRiskListRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewVULRiskListResponse`
|
277
|
+
def DescribeRiskCenterAssetViewVULRiskList(request)
|
278
|
+
body = send_request('DescribeRiskCenterAssetViewVULRiskList', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DescribeRiskCenterAssetViewVULRiskListResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
176
296
|
# 获取扫描报告列表
|
177
297
|
|
178
298
|
# @param request: Request instance for DescribeScanReportList.
|