tencentcloud-sdk-python 3.0.1290__py2.py3-none-any.whl → 3.0.1291__py2.py3-none-any.whl

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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1290'
17
+ __version__ = '3.0.1291'
@@ -256,6 +256,29 @@ class CsipClient(AbstractClient):
256
256
  raise TencentCloudSDKException(type(e).__name__, str(e))
257
257
 
258
258
 
259
+ def DescribeClusterAssets(self, request):
260
+ """集群列表
261
+
262
+ :param request: Request instance for DescribeClusterAssets.
263
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeClusterAssetsRequest`
264
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeClusterAssetsResponse`
265
+
266
+ """
267
+ try:
268
+ params = request._serialize()
269
+ headers = request.headers
270
+ body = self.call("DescribeClusterAssets", params, headers=headers)
271
+ response = json.loads(body)
272
+ model = models.DescribeClusterAssetsResponse()
273
+ model._deserialize(response["Response"])
274
+ return model
275
+ except Exception as e:
276
+ if isinstance(e, TencentCloudSDKException):
277
+ raise
278
+ else:
279
+ raise TencentCloudSDKException(type(e).__name__, str(e))
280
+
281
+
259
282
  def DescribeClusterPodAssets(self, request):
260
283
  """集群pod列表
261
284
 
@@ -417,6 +440,29 @@ class CsipClient(AbstractClient):
417
440
  raise TencentCloudSDKException(type(e).__name__, str(e))
418
441
 
419
442
 
443
+ def DescribeOrganizationInfo(self, request):
444
+ """查询集团账号详情
445
+
446
+ :param request: Request instance for DescribeOrganizationInfo.
447
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeOrganizationInfoRequest`
448
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeOrganizationInfoResponse`
449
+
450
+ """
451
+ try:
452
+ params = request._serialize()
453
+ headers = request.headers
454
+ body = self.call("DescribeOrganizationInfo", params, headers=headers)
455
+ response = json.loads(body)
456
+ model = models.DescribeOrganizationInfoResponse()
457
+ model._deserialize(response["Response"])
458
+ return model
459
+ except Exception as e:
460
+ if isinstance(e, TencentCloudSDKException):
461
+ raise
462
+ else:
463
+ raise TencentCloudSDKException(type(e).__name__, str(e))
464
+
465
+
420
466
  def DescribeOrganizationUserInfo(self, request):
421
467
  """查询集团账号用户列表
422
468
 
@@ -716,6 +762,29 @@ class CsipClient(AbstractClient):
716
762
  raise TencentCloudSDKException(type(e).__name__, str(e))
717
763
 
718
764
 
765
+ def DescribeSubUserInfo(self, request):
766
+ """查询集团的子账号列表
767
+
768
+ :param request: Request instance for DescribeSubUserInfo.
769
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeSubUserInfoRequest`
770
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeSubUserInfoResponse`
771
+
772
+ """
773
+ try:
774
+ params = request._serialize()
775
+ headers = request.headers
776
+ body = self.call("DescribeSubUserInfo", params, headers=headers)
777
+ response = json.loads(body)
778
+ model = models.DescribeSubUserInfoResponse()
779
+ model._deserialize(response["Response"])
780
+ return model
781
+ except Exception as e:
782
+ if isinstance(e, TencentCloudSDKException):
783
+ raise
784
+ else:
785
+ raise TencentCloudSDKException(type(e).__name__, str(e))
786
+
787
+
719
788
  def DescribeSubnetAssets(self, request):
720
789
  """获取子网列表
721
790
 
@@ -808,6 +877,29 @@ class CsipClient(AbstractClient):
808
877
  raise TencentCloudSDKException(type(e).__name__, str(e))
809
878
 
810
879
 
880
+ def DescribeUebaRule(self, request):
881
+ """查询用户行为分析策略列表
882
+
883
+ :param request: Request instance for DescribeUebaRule.
884
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeUebaRuleRequest`
885
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeUebaRuleResponse`
886
+
887
+ """
888
+ try:
889
+ params = request._serialize()
890
+ headers = request.headers
891
+ body = self.call("DescribeUebaRule", params, headers=headers)
892
+ response = json.loads(body)
893
+ model = models.DescribeUebaRuleResponse()
894
+ model._deserialize(response["Response"])
895
+ return model
896
+ except Exception as e:
897
+ if isinstance(e, TencentCloudSDKException):
898
+ raise
899
+ else:
900
+ raise TencentCloudSDKException(type(e).__name__, str(e))
901
+
902
+
811
903
  def DescribeVULRiskAdvanceCFGList(self, request):
812
904
  """查询漏洞风险高级配置
813
905
 
@@ -969,6 +1061,29 @@ class CsipClient(AbstractClient):
969
1061
  raise TencentCloudSDKException(type(e).__name__, str(e))
970
1062
 
971
1063
 
1064
+ def ModifyUebaRuleSwitch(self, request):
1065
+ """更新自定义策略的开关
1066
+
1067
+ :param request: Request instance for ModifyUebaRuleSwitch.
1068
+ :type request: :class:`tencentcloud.csip.v20221121.models.ModifyUebaRuleSwitchRequest`
1069
+ :rtype: :class:`tencentcloud.csip.v20221121.models.ModifyUebaRuleSwitchResponse`
1070
+
1071
+ """
1072
+ try:
1073
+ params = request._serialize()
1074
+ headers = request.headers
1075
+ body = self.call("ModifyUebaRuleSwitch", params, headers=headers)
1076
+ response = json.loads(body)
1077
+ model = models.ModifyUebaRuleSwitchResponse()
1078
+ model._deserialize(response["Response"])
1079
+ return model
1080
+ except Exception as e:
1081
+ if isinstance(e, TencentCloudSDKException):
1082
+ raise
1083
+ else:
1084
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1085
+
1086
+
972
1087
  def StopRiskCenterTask(self, request):
973
1088
  """停止扫风险中心扫描任务
974
1089