tencentcloud-sdk-csip 3.0.592 → 3.0.593
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/v20221121/client.rb +120 -0
- data/lib/v20221121/models.rb +1377 -138
- 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: 4b729d68667f2d6f97e5a897f22327e5a50114f2
|
4
|
+
data.tar.gz: beefe663207596143ce6089f5c5d06aa931a56b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9f6ccba15be25ff084bdd3f04040ca5e2191af02dc8b992f983ad9215caeb72095ced3a7ab9401f5f6ffdab2134b651de451fe3d89f45a0bed550ca5de5b9e4
|
7
|
+
data.tar.gz: f8c047d4ffa7569608f8d82840b03ab64b9b7d0c2b17fd986a98be693b09798f9e80f937d423c76c31ff119f513e320f9e67c180ce451c07ae482fbfbabc8863
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.593
|
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.
|