tencentcloud-sdk-tcss 3.0.457 → 3.0.459

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b302b8ef64d6cf7d9e59a603b8bd99179a53bdf
4
- data.tar.gz: 868a21909603b459075b5943033adb59577c864a
3
+ metadata.gz: acb05421d00cb0a0326ba12b9a1e6f827289676a
4
+ data.tar.gz: 3a498861dff350274faa789f0b711bb8260279f9
5
5
  SHA512:
6
- metadata.gz: 64e969bd6ccc8d550e3179419c3daec867d20bf3fa34b85789dd8be0d1bf606ceed95579e37b9febd9770ec8f06d64b4d192d5274ae3ec786eceeed5decfa4e1
7
- data.tar.gz: 4acfc2d0134e7a12b21a6aa32d194fdd3bc59fbffb4445ce1ebffbb0423db2a69dc015a9eeb76b397c41f595a5e8fb00e450ad5eb43087f3207334dec94be79e
6
+ metadata.gz: 12ecc2456109a501031ce49ac556aebf173e566841f944f40811b59648332ee0f9f39e18e5c2b7add7823ddcf689d45eb83329963c6aa4c0d48bfde540057384
7
+ data.tar.gz: 9e0d132929c203240488324e7b2af4ccad052e08b5f2cc4fb13ee1408f12fd40f42f7fe9069d6c671b3177b200e2d064db2a9d6476646af245c79599af8c4bef
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.457
1
+ 3.0.459
@@ -871,6 +871,78 @@ module TencentCloud
871
871
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
872
872
  end
873
873
 
874
+ # 创建k8s api异常事件导出任务
875
+
876
+ # @param request: Request instance for CreateK8sApiAbnormalEventExportJob.
877
+ # @type request: :class:`Tencentcloud::tcss::V20201101::CreateK8sApiAbnormalEventExportJobRequest`
878
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::CreateK8sApiAbnormalEventExportJobResponse`
879
+ def CreateK8sApiAbnormalEventExportJob(request)
880
+ body = send_request('CreateK8sApiAbnormalEventExportJob', request.serialize)
881
+ response = JSON.parse(body)
882
+ if response['Response'].key?('Error') == false
883
+ model = CreateK8sApiAbnormalEventExportJobResponse.new
884
+ model.deserialize(response['Response'])
885
+ model
886
+ else
887
+ code = response['Response']['Error']['Code']
888
+ message = response['Response']['Error']['Message']
889
+ reqid = response['Response']['RequestId']
890
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
891
+ end
892
+ rescue TencentCloud::Common::TencentCloudSDKException => e
893
+ raise e
894
+ rescue StandardError => e
895
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
896
+ end
897
+
898
+ # 创建k8sApi异常规则导出任务
899
+
900
+ # @param request: Request instance for CreateK8sApiAbnormalRuleExportJob.
901
+ # @type request: :class:`Tencentcloud::tcss::V20201101::CreateK8sApiAbnormalRuleExportJobRequest`
902
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::CreateK8sApiAbnormalRuleExportJobResponse`
903
+ def CreateK8sApiAbnormalRuleExportJob(request)
904
+ body = send_request('CreateK8sApiAbnormalRuleExportJob', request.serialize)
905
+ response = JSON.parse(body)
906
+ if response['Response'].key?('Error') == false
907
+ model = CreateK8sApiAbnormalRuleExportJobResponse.new
908
+ model.deserialize(response['Response'])
909
+ model
910
+ else
911
+ code = response['Response']['Error']['Code']
912
+ message = response['Response']['Error']['Message']
913
+ reqid = response['Response']['RequestId']
914
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
915
+ end
916
+ rescue TencentCloud::Common::TencentCloudSDKException => e
917
+ raise e
918
+ rescue StandardError => e
919
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
920
+ end
921
+
922
+ # 创建k8sapi异常事件规则
923
+
924
+ # @param request: Request instance for CreateK8sApiAbnormalRuleInfo.
925
+ # @type request: :class:`Tencentcloud::tcss::V20201101::CreateK8sApiAbnormalRuleInfoRequest`
926
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::CreateK8sApiAbnormalRuleInfoResponse`
927
+ def CreateK8sApiAbnormalRuleInfo(request)
928
+ body = send_request('CreateK8sApiAbnormalRuleInfo', request.serialize)
929
+ response = JSON.parse(body)
930
+ if response['Response'].key?('Error') == false
931
+ model = CreateK8sApiAbnormalRuleInfoResponse.new
932
+ model.deserialize(response['Response'])
933
+ model
934
+ else
935
+ code = response['Response']['Error']['Code']
936
+ message = response['Response']['Error']['Message']
937
+ reqid = response['Response']['RequestId']
938
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
939
+ end
940
+ rescue TencentCloud::Common::TencentCloudSDKException => e
941
+ raise e
942
+ rescue StandardError => e
943
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
944
+ end
945
+
874
946
  # 容器网络集群下发刷新任务
875
947
 
876
948
  # @param request: Request instance for CreateNetworkFirewallClusterRefresh.
@@ -1496,6 +1568,30 @@ module TencentCloud
1496
1568
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1497
1569
  end
1498
1570
 
1571
+ # 删除k8sapi异常事件规则
1572
+
1573
+ # @param request: Request instance for DeleteK8sApiAbnormalRule.
1574
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DeleteK8sApiAbnormalRuleRequest`
1575
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DeleteK8sApiAbnormalRuleResponse`
1576
+ def DeleteK8sApiAbnormalRule(request)
1577
+ body = send_request('DeleteK8sApiAbnormalRule', request.serialize)
1578
+ response = JSON.parse(body)
1579
+ if response['Response'].key?('Error') == false
1580
+ model = DeleteK8sApiAbnormalRuleResponse.new
1581
+ model.deserialize(response['Response'])
1582
+ model
1583
+ else
1584
+ code = response['Response']['Error']['Code']
1585
+ message = response['Response']['Error']['Message']
1586
+ reqid = response['Response']['RequestId']
1587
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1588
+ end
1589
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1590
+ raise e
1591
+ rescue StandardError => e
1592
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1593
+ end
1594
+
1499
1595
  # 卸载Agent客户端
1500
1596
 
1501
1597
  # @param request: Request instance for DeleteMachine.
@@ -2168,6 +2264,30 @@ module TencentCloud
2168
2264
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2169
2265
  end
2170
2266
 
2267
+ # 查询集群列表
2268
+
2269
+ # @param request: Request instance for DescribeAssetClusterList.
2270
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeAssetClusterListRequest`
2271
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeAssetClusterListResponse`
2272
+ def DescribeAssetClusterList(request)
2273
+ body = send_request('DescribeAssetClusterList', request.serialize)
2274
+ response = JSON.parse(body)
2275
+ if response['Response'].key?('Error') == false
2276
+ model = DescribeAssetClusterListResponse.new
2277
+ model.deserialize(response['Response'])
2278
+ model
2279
+ else
2280
+ code = response['Response']['Error']['Code']
2281
+ message = response['Response']['Error']['Message']
2282
+ reqid = response['Response']['RequestId']
2283
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2284
+ end
2285
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2286
+ raise e
2287
+ rescue StandardError => e
2288
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2289
+ end
2290
+
2171
2291
  # 容器安全搜索查询容器组件列表
2172
2292
 
2173
2293
  # @param request: Request instance for DescribeAssetComponentList.
@@ -4136,6 +4256,174 @@ module TencentCloud
4136
4256
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4137
4257
  end
4138
4258
 
4259
+ # 查询k8s api 异常事件详情
4260
+
4261
+ # @param request: Request instance for DescribeK8sApiAbnormalEventInfo.
4262
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalEventInfoRequest`
4263
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalEventInfoResponse`
4264
+ def DescribeK8sApiAbnormalEventInfo(request)
4265
+ body = send_request('DescribeK8sApiAbnormalEventInfo', request.serialize)
4266
+ response = JSON.parse(body)
4267
+ if response['Response'].key?('Error') == false
4268
+ model = DescribeK8sApiAbnormalEventInfoResponse.new
4269
+ model.deserialize(response['Response'])
4270
+ model
4271
+ else
4272
+ code = response['Response']['Error']['Code']
4273
+ message = response['Response']['Error']['Message']
4274
+ reqid = response['Response']['RequestId']
4275
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4276
+ end
4277
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4278
+ raise e
4279
+ rescue StandardError => e
4280
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4281
+ end
4282
+
4283
+ # 查询k8s api异常事件列表
4284
+
4285
+ # @param request: Request instance for DescribeK8sApiAbnormalEventList.
4286
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalEventListRequest`
4287
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalEventListResponse`
4288
+ def DescribeK8sApiAbnormalEventList(request)
4289
+ body = send_request('DescribeK8sApiAbnormalEventList', request.serialize)
4290
+ response = JSON.parse(body)
4291
+ if response['Response'].key?('Error') == false
4292
+ model = DescribeK8sApiAbnormalEventListResponse.new
4293
+ model.deserialize(response['Response'])
4294
+ model
4295
+ else
4296
+ code = response['Response']['Error']['Code']
4297
+ message = response['Response']['Error']['Message']
4298
+ reqid = response['Response']['RequestId']
4299
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4300
+ end
4301
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4302
+ raise e
4303
+ rescue StandardError => e
4304
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4305
+ end
4306
+
4307
+ # 查询k8sapi异常请求规则详情
4308
+
4309
+ # @param request: Request instance for DescribeK8sApiAbnormalRuleInfo.
4310
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalRuleInfoRequest`
4311
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalRuleInfoResponse`
4312
+ def DescribeK8sApiAbnormalRuleInfo(request)
4313
+ body = send_request('DescribeK8sApiAbnormalRuleInfo', request.serialize)
4314
+ response = JSON.parse(body)
4315
+ if response['Response'].key?('Error') == false
4316
+ model = DescribeK8sApiAbnormalRuleInfoResponse.new
4317
+ model.deserialize(response['Response'])
4318
+ model
4319
+ else
4320
+ code = response['Response']['Error']['Code']
4321
+ message = response['Response']['Error']['Message']
4322
+ reqid = response['Response']['RequestId']
4323
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4324
+ end
4325
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4326
+ raise e
4327
+ rescue StandardError => e
4328
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4329
+ end
4330
+
4331
+ # 查询k8sapi异常请求规则列表
4332
+
4333
+ # @param request: Request instance for DescribeK8sApiAbnormalRuleList.
4334
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalRuleListRequest`
4335
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalRuleListResponse`
4336
+ def DescribeK8sApiAbnormalRuleList(request)
4337
+ body = send_request('DescribeK8sApiAbnormalRuleList', request.serialize)
4338
+ response = JSON.parse(body)
4339
+ if response['Response'].key?('Error') == false
4340
+ model = DescribeK8sApiAbnormalRuleListResponse.new
4341
+ model.deserialize(response['Response'])
4342
+ model
4343
+ else
4344
+ code = response['Response']['Error']['Code']
4345
+ message = response['Response']['Error']['Message']
4346
+ reqid = response['Response']['RequestId']
4347
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4348
+ end
4349
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4350
+ raise e
4351
+ rescue StandardError => e
4352
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4353
+ end
4354
+
4355
+ # 查询k8s api 异常规则中范围列表
4356
+
4357
+ # @param request: Request instance for DescribeK8sApiAbnormalRuleScopeList.
4358
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalRuleScopeListRequest`
4359
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalRuleScopeListResponse`
4360
+ def DescribeK8sApiAbnormalRuleScopeList(request)
4361
+ body = send_request('DescribeK8sApiAbnormalRuleScopeList', request.serialize)
4362
+ response = JSON.parse(body)
4363
+ if response['Response'].key?('Error') == false
4364
+ model = DescribeK8sApiAbnormalRuleScopeListResponse.new
4365
+ model.deserialize(response['Response'])
4366
+ model
4367
+ else
4368
+ code = response['Response']['Error']['Code']
4369
+ message = response['Response']['Error']['Message']
4370
+ reqid = response['Response']['RequestId']
4371
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4372
+ end
4373
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4374
+ raise e
4375
+ rescue StandardError => e
4376
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4377
+ end
4378
+
4379
+ # 查询k8sapi异常事件统计
4380
+
4381
+ # @param request: Request instance for DescribeK8sApiAbnormalSummary.
4382
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalSummaryRequest`
4383
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalSummaryResponse`
4384
+ def DescribeK8sApiAbnormalSummary(request)
4385
+ body = send_request('DescribeK8sApiAbnormalSummary', request.serialize)
4386
+ response = JSON.parse(body)
4387
+ if response['Response'].key?('Error') == false
4388
+ model = DescribeK8sApiAbnormalSummaryResponse.new
4389
+ model.deserialize(response['Response'])
4390
+ model
4391
+ else
4392
+ code = response['Response']['Error']['Code']
4393
+ message = response['Response']['Error']['Message']
4394
+ reqid = response['Response']['RequestId']
4395
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4396
+ end
4397
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4398
+ raise e
4399
+ rescue StandardError => e
4400
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4401
+ end
4402
+
4403
+ # 查询k8sapi异常事件趋势
4404
+
4405
+ # @param request: Request instance for DescribeK8sApiAbnormalTendency.
4406
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalTendencyRequest`
4407
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeK8sApiAbnormalTendencyResponse`
4408
+ def DescribeK8sApiAbnormalTendency(request)
4409
+ body = send_request('DescribeK8sApiAbnormalTendency', request.serialize)
4410
+ response = JSON.parse(body)
4411
+ if response['Response'].key?('Error') == false
4412
+ model = DescribeK8sApiAbnormalTendencyResponse.new
4413
+ model.deserialize(response['Response'])
4414
+ model
4415
+ else
4416
+ code = response['Response']['Error']['Code']
4417
+ message = response['Response']['Error']['Message']
4418
+ reqid = response['Response']['RequestId']
4419
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4420
+ end
4421
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4422
+ raise e
4423
+ rescue StandardError => e
4424
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4425
+ end
4426
+
4139
4427
  # 获取日志检索容量使用统计
4140
4428
 
4141
4429
  # @param request: Request instance for DescribeLogStorageStatistic.
@@ -6704,6 +6992,78 @@ module TencentCloud
6704
6992
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
6705
6993
  end
6706
6994
 
6995
+ # 修改k8sapi异常事件状态
6996
+
6997
+ # @param request: Request instance for ModifyK8sApiAbnormalEventStatus.
6998
+ # @type request: :class:`Tencentcloud::tcss::V20201101::ModifyK8sApiAbnormalEventStatusRequest`
6999
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::ModifyK8sApiAbnormalEventStatusResponse`
7000
+ def ModifyK8sApiAbnormalEventStatus(request)
7001
+ body = send_request('ModifyK8sApiAbnormalEventStatus', request.serialize)
7002
+ response = JSON.parse(body)
7003
+ if response['Response'].key?('Error') == false
7004
+ model = ModifyK8sApiAbnormalEventStatusResponse.new
7005
+ model.deserialize(response['Response'])
7006
+ model
7007
+ else
7008
+ code = response['Response']['Error']['Code']
7009
+ message = response['Response']['Error']['Message']
7010
+ reqid = response['Response']['RequestId']
7011
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7012
+ end
7013
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7014
+ raise e
7015
+ rescue StandardError => e
7016
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7017
+ end
7018
+
7019
+ # 修改k8sapi异常规则信息
7020
+
7021
+ # @param request: Request instance for ModifyK8sApiAbnormalRuleInfo.
7022
+ # @type request: :class:`Tencentcloud::tcss::V20201101::ModifyK8sApiAbnormalRuleInfoRequest`
7023
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::ModifyK8sApiAbnormalRuleInfoResponse`
7024
+ def ModifyK8sApiAbnormalRuleInfo(request)
7025
+ body = send_request('ModifyK8sApiAbnormalRuleInfo', request.serialize)
7026
+ response = JSON.parse(body)
7027
+ if response['Response'].key?('Error') == false
7028
+ model = ModifyK8sApiAbnormalRuleInfoResponse.new
7029
+ model.deserialize(response['Response'])
7030
+ model
7031
+ else
7032
+ code = response['Response']['Error']['Code']
7033
+ message = response['Response']['Error']['Message']
7034
+ reqid = response['Response']['RequestId']
7035
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7036
+ end
7037
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7038
+ raise e
7039
+ rescue StandardError => e
7040
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7041
+ end
7042
+
7043
+ # 修改k8sapi异常事件规则状态
7044
+
7045
+ # @param request: Request instance for ModifyK8sApiAbnormalRuleStatus.
7046
+ # @type request: :class:`Tencentcloud::tcss::V20201101::ModifyK8sApiAbnormalRuleStatusRequest`
7047
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::ModifyK8sApiAbnormalRuleStatusResponse`
7048
+ def ModifyK8sApiAbnormalRuleStatus(request)
7049
+ body = send_request('ModifyK8sApiAbnormalRuleStatus', request.serialize)
7050
+ response = JSON.parse(body)
7051
+ if response['Response'].key?('Error') == false
7052
+ model = ModifyK8sApiAbnormalRuleStatusResponse.new
7053
+ model.deserialize(response['Response'])
7054
+ model
7055
+ else
7056
+ code = response['Response']['Error']['Code']
7057
+ message = response['Response']['Error']['Message']
7058
+ reqid = response['Response']['RequestId']
7059
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7060
+ end
7061
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7062
+ raise e
7063
+ rescue StandardError => e
7064
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7065
+ end
7066
+
6707
7067
  # 修改反弹shell事件的状态信息
6708
7068
 
6709
7069
  # @param request: Request instance for ModifyReverseShellStatus.