tencentcloud-sdk-python 3.1.95__py2.py3-none-any.whl → 3.1.96__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.
Files changed (27) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  3. tencentcloud/cfw/v20190904/cfw_client_async.py +18 -0
  4. tencentcloud/cfw/v20190904/models.py +315 -0
  5. tencentcloud/cls/v20201016/models.py +10 -44
  6. tencentcloud/csip/v20221121/csip_client.py +46 -0
  7. tencentcloud/csip/v20221121/csip_client_async.py +36 -0
  8. tencentcloud/csip/v20221121/models.py +1207 -125
  9. tencentcloud/dlc/v20210125/models.py +24 -34
  10. tencentcloud/emr/v20190103/models.py +116 -56
  11. tencentcloud/ims/v20201229/models.py +23 -8
  12. tencentcloud/lke/v20231130/models.py +15 -0
  13. tencentcloud/mna/v20210119/mna_client.py +23 -0
  14. tencentcloud/mna/v20210119/mna_client_async.py +18 -0
  15. tencentcloud/mna/v20210119/models.py +145 -0
  16. tencentcloud/mps/v20190612/models.py +42 -62
  17. tencentcloud/tcb/v20180608/errorcodes.py +18 -0
  18. tencentcloud/tcb/v20180608/models.py +331 -0
  19. tencentcloud/tcb/v20180608/tcb_client.py +69 -0
  20. tencentcloud/tcb/v20180608/tcb_client_async.py +54 -0
  21. tencentcloud/tdmq/v20200217/models.py +83 -0
  22. tencentcloud/tione/v20211111/models.py +4 -0
  23. {tencentcloud_sdk_python-3.1.95.dist-info → tencentcloud_sdk_python-3.1.96.dist-info}/METADATA +1 -1
  24. {tencentcloud_sdk_python-3.1.95.dist-info → tencentcloud_sdk_python-3.1.96.dist-info}/RECORD +27 -27
  25. {tencentcloud_sdk_python-3.1.95.dist-info → tencentcloud_sdk_python-3.1.96.dist-info}/LICENSE +0 -0
  26. {tencentcloud_sdk_python-3.1.95.dist-info → tencentcloud_sdk_python-3.1.96.dist-info}/WHEEL +0 -0
  27. {tencentcloud_sdk_python-3.1.95.dist-info → tencentcloud_sdk_python-3.1.96.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.95'
17
+ __version__ = '3.1.96'
@@ -1040,6 +1040,29 @@ class CfwClient(AbstractClient):
1040
1040
  raise TencentCloudSDKException(type(e).__name__, str(e))
1041
1041
 
1042
1042
 
1043
+ def DescribeEdgeIpSimple(self, request):
1044
+ r"""互联网边界防火墙开关列表(轻量)
1045
+
1046
+ :param request: Request instance for DescribeEdgeIpSimple.
1047
+ :type request: :class:`tencentcloud.cfw.v20190904.models.DescribeEdgeIpSimpleRequest`
1048
+ :rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeEdgeIpSimpleResponse`
1049
+
1050
+ """
1051
+ try:
1052
+ params = request._serialize()
1053
+ headers = request.headers
1054
+ body = self.call("DescribeEdgeIpSimple", params, headers=headers)
1055
+ response = json.loads(body)
1056
+ model = models.DescribeEdgeIpSimpleResponse()
1057
+ model._deserialize(response["Response"])
1058
+ return model
1059
+ except Exception as e:
1060
+ if isinstance(e, TencentCloudSDKException):
1061
+ raise
1062
+ else:
1063
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1064
+
1065
+
1043
1066
  def DescribeEnterpriseSGRuleProgress(self, request):
1044
1067
  r"""查询新版安全组下发进度
1045
1068
 
@@ -819,6 +819,24 @@ class CfwClient(AbstractClient):
819
819
 
820
820
  return await self.call_and_deserialize(**kwargs)
821
821
 
822
+ async def DescribeEdgeIpSimple(
823
+ self,
824
+ request: models.DescribeEdgeIpSimpleRequest,
825
+ opts: Dict = None,
826
+ ) -> models.DescribeEdgeIpSimpleResponse:
827
+ """
828
+ 互联网边界防火墙开关列表(轻量)
829
+ """
830
+
831
+ kwargs = {}
832
+ kwargs["action"] = "DescribeEdgeIpSimple"
833
+ kwargs["params"] = request._serialize()
834
+ kwargs["resp_cls"] = models.DescribeEdgeIpSimpleResponse
835
+ kwargs["headers"] = request.headers
836
+ kwargs["opts"] = opts or {}
837
+
838
+ return await self.call_and_deserialize(**kwargs)
839
+
822
840
  async def DescribeEnterpriseSGRuleProgress(
823
841
  self,
824
842
  request: models.DescribeEnterpriseSGRuleProgressRequest,
@@ -10443,6 +10443,170 @@ class DescribeDefenseSwitchResponse(AbstractModel):
10443
10443
  self._RequestId = params.get("RequestId")
10444
10444
 
10445
10445
 
10446
+ class DescribeEdgeIpSimpleRequest(AbstractModel):
10447
+ r"""DescribeEdgeIpSimple请求参数结构体
10448
+
10449
+ """
10450
+
10451
+ def __init__(self):
10452
+ r"""
10453
+ :param _Filters: 过滤条件组合
10454
+ :type Filters: list of CommonFilter
10455
+ :param _Limit: 每页条数
10456
+ :type Limit: int
10457
+ :param _Offset: 偏移值
10458
+ :type Offset: int
10459
+ :param _Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
10460
+ :type Order: str
10461
+ :param _By: 排序所用到的字段
10462
+ :type By: str
10463
+ """
10464
+ self._Filters = None
10465
+ self._Limit = None
10466
+ self._Offset = None
10467
+ self._Order = None
10468
+ self._By = None
10469
+
10470
+ @property
10471
+ def Filters(self):
10472
+ r"""过滤条件组合
10473
+ :rtype: list of CommonFilter
10474
+ """
10475
+ return self._Filters
10476
+
10477
+ @Filters.setter
10478
+ def Filters(self, Filters):
10479
+ self._Filters = Filters
10480
+
10481
+ @property
10482
+ def Limit(self):
10483
+ r"""每页条数
10484
+ :rtype: int
10485
+ """
10486
+ return self._Limit
10487
+
10488
+ @Limit.setter
10489
+ def Limit(self, Limit):
10490
+ self._Limit = Limit
10491
+
10492
+ @property
10493
+ def Offset(self):
10494
+ r"""偏移值
10495
+ :rtype: int
10496
+ """
10497
+ return self._Offset
10498
+
10499
+ @Offset.setter
10500
+ def Offset(self, Offset):
10501
+ self._Offset = Offset
10502
+
10503
+ @property
10504
+ def Order(self):
10505
+ r"""desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
10506
+ :rtype: str
10507
+ """
10508
+ return self._Order
10509
+
10510
+ @Order.setter
10511
+ def Order(self, Order):
10512
+ self._Order = Order
10513
+
10514
+ @property
10515
+ def By(self):
10516
+ r"""排序所用到的字段
10517
+ :rtype: str
10518
+ """
10519
+ return self._By
10520
+
10521
+ @By.setter
10522
+ def By(self, By):
10523
+ self._By = By
10524
+
10525
+
10526
+ def _deserialize(self, params):
10527
+ if params.get("Filters") is not None:
10528
+ self._Filters = []
10529
+ for item in params.get("Filters"):
10530
+ obj = CommonFilter()
10531
+ obj._deserialize(item)
10532
+ self._Filters.append(obj)
10533
+ self._Limit = params.get("Limit")
10534
+ self._Offset = params.get("Offset")
10535
+ self._Order = params.get("Order")
10536
+ self._By = params.get("By")
10537
+ memeber_set = set(params.keys())
10538
+ for name, value in vars(self).items():
10539
+ property_name = name[1:]
10540
+ if property_name in memeber_set:
10541
+ memeber_set.remove(property_name)
10542
+ if len(memeber_set) > 0:
10543
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10544
+
10545
+
10546
+
10547
+ class DescribeEdgeIpSimpleResponse(AbstractModel):
10548
+ r"""DescribeEdgeIpSimple返回参数结构体
10549
+
10550
+ """
10551
+
10552
+ def __init__(self):
10553
+ r"""
10554
+ :param _Data: ip 开关列表
10555
+ :type Data: list of EdgeIpInfoSimple
10556
+ :param _Total: ip 开关列表个数
10557
+ :type Total: int
10558
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10559
+ :type RequestId: str
10560
+ """
10561
+ self._Data = None
10562
+ self._Total = None
10563
+ self._RequestId = None
10564
+
10565
+ @property
10566
+ def Data(self):
10567
+ r"""ip 开关列表
10568
+ :rtype: list of EdgeIpInfoSimple
10569
+ """
10570
+ return self._Data
10571
+
10572
+ @Data.setter
10573
+ def Data(self, Data):
10574
+ self._Data = Data
10575
+
10576
+ @property
10577
+ def Total(self):
10578
+ r"""ip 开关列表个数
10579
+ :rtype: int
10580
+ """
10581
+ return self._Total
10582
+
10583
+ @Total.setter
10584
+ def Total(self, Total):
10585
+ self._Total = Total
10586
+
10587
+ @property
10588
+ def RequestId(self):
10589
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10590
+ :rtype: str
10591
+ """
10592
+ return self._RequestId
10593
+
10594
+ @RequestId.setter
10595
+ def RequestId(self, RequestId):
10596
+ self._RequestId = RequestId
10597
+
10598
+
10599
+ def _deserialize(self, params):
10600
+ if params.get("Data") is not None:
10601
+ self._Data = []
10602
+ for item in params.get("Data"):
10603
+ obj = EdgeIpInfoSimple()
10604
+ obj._deserialize(item)
10605
+ self._Data.append(obj)
10606
+ self._Total = params.get("Total")
10607
+ self._RequestId = params.get("RequestId")
10608
+
10609
+
10446
10610
  class DescribeEnterpriseSGRuleProgressRequest(AbstractModel):
10447
10611
  r"""DescribeEnterpriseSGRuleProgress请求参数结构体
10448
10612
 
@@ -16667,6 +16831,157 @@ class EdgeIpInfo(AbstractModel):
16667
16831
 
16668
16832
 
16669
16833
 
16834
+ class EdgeIpInfoSimple(AbstractModel):
16835
+ r"""边界防火墙公网IP开关列表
16836
+
16837
+ """
16838
+
16839
+ def __init__(self):
16840
+ r"""
16841
+ :param _PublicIp: 公网IP
16842
+ :type PublicIp: str
16843
+ :param _PublicIpType: 公网 IP 类型 1 公网,2 弹性,3 弹性ipv6,4 anycastIP, 6 HighQualityEIP
16844
+ :type PublicIpType: int
16845
+ :param _InstanceId: 实例ID
16846
+ :type InstanceId: str
16847
+ :param _InstanceName: 实例名
16848
+ :type InstanceName: str
16849
+ :param _Status: 开关状态
16850
+ 0 : 关闭
16851
+ 1 : 开启
16852
+ 2 : 开启中
16853
+ 3 : 关闭中
16854
+ 4 : 异常
16855
+ :type Status: int
16856
+ :param _SwitchMode: 0 : 旁路 1 : 串行 2 : 正在模式切换
16857
+ :type SwitchMode: int
16858
+ :param _Region: 地域
16859
+ :type Region: str
16860
+ :param _AssetType: 资产类型
16861
+ :type AssetType: str
16862
+ """
16863
+ self._PublicIp = None
16864
+ self._PublicIpType = None
16865
+ self._InstanceId = None
16866
+ self._InstanceName = None
16867
+ self._Status = None
16868
+ self._SwitchMode = None
16869
+ self._Region = None
16870
+ self._AssetType = None
16871
+
16872
+ @property
16873
+ def PublicIp(self):
16874
+ r"""公网IP
16875
+ :rtype: str
16876
+ """
16877
+ return self._PublicIp
16878
+
16879
+ @PublicIp.setter
16880
+ def PublicIp(self, PublicIp):
16881
+ self._PublicIp = PublicIp
16882
+
16883
+ @property
16884
+ def PublicIpType(self):
16885
+ r"""公网 IP 类型 1 公网,2 弹性,3 弹性ipv6,4 anycastIP, 6 HighQualityEIP
16886
+ :rtype: int
16887
+ """
16888
+ return self._PublicIpType
16889
+
16890
+ @PublicIpType.setter
16891
+ def PublicIpType(self, PublicIpType):
16892
+ self._PublicIpType = PublicIpType
16893
+
16894
+ @property
16895
+ def InstanceId(self):
16896
+ r"""实例ID
16897
+ :rtype: str
16898
+ """
16899
+ return self._InstanceId
16900
+
16901
+ @InstanceId.setter
16902
+ def InstanceId(self, InstanceId):
16903
+ self._InstanceId = InstanceId
16904
+
16905
+ @property
16906
+ def InstanceName(self):
16907
+ r"""实例名
16908
+ :rtype: str
16909
+ """
16910
+ return self._InstanceName
16911
+
16912
+ @InstanceName.setter
16913
+ def InstanceName(self, InstanceName):
16914
+ self._InstanceName = InstanceName
16915
+
16916
+ @property
16917
+ def Status(self):
16918
+ r"""开关状态
16919
+ 0 : 关闭
16920
+ 1 : 开启
16921
+ 2 : 开启中
16922
+ 3 : 关闭中
16923
+ 4 : 异常
16924
+ :rtype: int
16925
+ """
16926
+ return self._Status
16927
+
16928
+ @Status.setter
16929
+ def Status(self, Status):
16930
+ self._Status = Status
16931
+
16932
+ @property
16933
+ def SwitchMode(self):
16934
+ r"""0 : 旁路 1 : 串行 2 : 正在模式切换
16935
+ :rtype: int
16936
+ """
16937
+ return self._SwitchMode
16938
+
16939
+ @SwitchMode.setter
16940
+ def SwitchMode(self, SwitchMode):
16941
+ self._SwitchMode = SwitchMode
16942
+
16943
+ @property
16944
+ def Region(self):
16945
+ r"""地域
16946
+ :rtype: str
16947
+ """
16948
+ return self._Region
16949
+
16950
+ @Region.setter
16951
+ def Region(self, Region):
16952
+ self._Region = Region
16953
+
16954
+ @property
16955
+ def AssetType(self):
16956
+ r"""资产类型
16957
+ :rtype: str
16958
+ """
16959
+ return self._AssetType
16960
+
16961
+ @AssetType.setter
16962
+ def AssetType(self, AssetType):
16963
+ self._AssetType = AssetType
16964
+
16965
+
16966
+ def _deserialize(self, params):
16967
+ self._PublicIp = params.get("PublicIp")
16968
+ self._PublicIpType = params.get("PublicIpType")
16969
+ self._InstanceId = params.get("InstanceId")
16970
+ self._InstanceName = params.get("InstanceName")
16971
+ self._Status = params.get("Status")
16972
+ self._SwitchMode = params.get("SwitchMode")
16973
+ self._Region = params.get("Region")
16974
+ self._AssetType = params.get("AssetType")
16975
+ memeber_set = set(params.keys())
16976
+ for name, value in vars(self).items():
16977
+ property_name = name[1:]
16978
+ if property_name in memeber_set:
16979
+ memeber_set.remove(property_name)
16980
+ if len(memeber_set) > 0:
16981
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16982
+
16983
+
16984
+
16670
16985
  class EdgeIpSwitch(AbstractModel):
16671
16986
  r"""开启、关闭 防火墙互联网边界开关
16672
16987
 
@@ -5756,32 +5756,15 @@ class ConsumerContent(AbstractModel):
5756
5756
 
5757
5757
  def __init__(self):
5758
5758
  r"""
5759
- :param _EnableTag: 是否投递 TAG 信息。
5760
- 当EnableTag为true时,表示投递TAG元信息。
5759
+ :param _EnableTag: <p>是否投递 TAG 信息。<br>当EnableTag为true时,表示投递TAG元信息。</p>
5761
5760
  :type EnableTag: bool
5762
- :param _MetaFields: 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
5761
+ :param _MetaFields: <p>需要投递的元数据列表,目前仅支持:__SOURCE__,__FILENAME__,__TIMESTAMP__,__HOSTNAME__和__PKGID__</p>
5763
5762
  :type MetaFields: list of str
5764
- :param _TagJsonNotTiled: EnableTag为true时,必须填写TagJsonNotTiled字段。
5765
- TagJsonNotTiled用于标识tag信息是否json平铺。
5766
-
5767
- TagJsonNotTiled为true时不平铺,示例:
5768
- TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
5769
- 不平铺:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
5770
-
5771
- TagJsonNotTiled为false时平铺,示例:
5772
- TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
5773
- 平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
5763
+ :param _TagJsonNotTiled: <p>当EnableTag为true时,必须填写TagJsonNotTiled字段。<br>TagJsonNotTiled用于标识tag信息是否json平铺。</p><p>TagJsonNotTiled为true时不平铺,示例:<br>TAG信息:<code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code><br>不平铺:<code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code></p><p>TagJsonNotTiled为false时平铺,示例:<br>TAG信息:<code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code><br>平铺:<code>{&quot;__TAG__.fieldA&quot;:200,&quot;__TAG__.fieldB&quot;:&quot;text&quot;}</code></p>
5774
5764
  :type TagJsonNotTiled: bool
5775
- :param _TimestampAccuracy: 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1
5765
+ :param _TimestampAccuracy: <p>投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1。</p>
5776
5766
  :type TimestampAccuracy: int
5777
- :param _JsonType: 投递Json格式。
5778
- JsonType为0:和原始日志一致,不转义。示例:
5779
- 日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
5780
- 投递到Ckafka:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
5781
-
5782
- JsonType为1:转义。示例:
5783
- 日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
5784
- 投递到Ckafka:`{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}`
5767
+ :param _JsonType: <p>投递Json格式。</p><p>枚举值:</p><ul><li>0: 转义。示例:<br>日志原文:<code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code><br>投递到Ckafka:<code>{&quot;a&quot;:&quot;aa&quot;,&quot;b&quot;:&quot;{\&quot;b1\&quot;:\&quot;b1b1\&quot;, \&quot;c1\&quot;:\&quot;c1c1\&quot;}&quot;}</code></li><li>1: 和原始日志一致,不转义。示例:<br>日志原文:<code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code><br>投递到Ckafka:<code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code></li></ul>
5785
5768
  :type JsonType: int
5786
5769
  """
5787
5770
  self._EnableTag = None
@@ -5792,8 +5775,7 @@ JsonType为1:转义。示例:
5792
5775
 
5793
5776
  @property
5794
5777
  def EnableTag(self):
5795
- r"""是否投递 TAG 信息。
5796
- 当EnableTag为true时,表示投递TAG元信息。
5778
+ r"""<p>是否投递 TAG 信息。<br>当EnableTag为true时,表示投递TAG元信息。</p>
5797
5779
  :rtype: bool
5798
5780
  """
5799
5781
  return self._EnableTag
@@ -5804,7 +5786,7 @@ JsonType为1:转义。示例:
5804
5786
 
5805
5787
  @property
5806
5788
  def MetaFields(self):
5807
- r"""需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_
5789
+ r"""<p>需要投递的元数据列表,目前仅支持:__SOURCE__,__FILENAME__,__TIMESTAMP__,__HOSTNAME__和__PKGID__</p>
5808
5790
  :rtype: list of str
5809
5791
  """
5810
5792
  return self._MetaFields
@@ -5815,16 +5797,7 @@ JsonType为1:转义。示例:
5815
5797
 
5816
5798
  @property
5817
5799
  def TagJsonNotTiled(self):
5818
- r"""EnableTag为true时,必须填写TagJsonNotTiled字段。
5819
- TagJsonNotTiled用于标识tag信息是否json平铺。
5820
-
5821
- TagJsonNotTiled为true时不平铺,示例:
5822
- TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
5823
- 不平铺:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
5824
-
5825
- TagJsonNotTiled为false时平铺,示例:
5826
- TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
5827
- 平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
5800
+ r"""<p>当EnableTag为true时,必须填写TagJsonNotTiled字段。<br>TagJsonNotTiled用于标识tag信息是否json平铺。</p><p>TagJsonNotTiled为true时不平铺,示例:<br>TAG信息:<code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code><br>不平铺:<code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code></p><p>TagJsonNotTiled为false时平铺,示例:<br>TAG信息:<code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code><br>平铺:<code>{&quot;__TAG__.fieldA&quot;:200,&quot;__TAG__.fieldB&quot;:&quot;text&quot;}</code></p>
5828
5801
  :rtype: bool
5829
5802
  """
5830
5803
  return self._TagJsonNotTiled
@@ -5835,7 +5808,7 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
5835
5808
 
5836
5809
  @property
5837
5810
  def TimestampAccuracy(self):
5838
- r"""投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1
5811
+ r"""<p>投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1。</p>
5839
5812
  :rtype: int
5840
5813
  """
5841
5814
  return self._TimestampAccuracy
@@ -5846,14 +5819,7 @@ TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
5846
5819
 
5847
5820
  @property
5848
5821
  def JsonType(self):
5849
- r"""投递Json格式。
5850
- JsonType为0:和原始日志一致,不转义。示例:
5851
- 日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
5852
- 投递到Ckafka:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
5853
-
5854
- JsonType为1:转义。示例:
5855
- 日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
5856
- 投递到Ckafka:`{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}`
5822
+ r"""<p>投递Json格式。</p><p>枚举值:</p><ul><li>0: 转义。示例:<br>日志原文:<code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code><br>投递到Ckafka:<code>{&quot;a&quot;:&quot;aa&quot;,&quot;b&quot;:&quot;{\&quot;b1\&quot;:\&quot;b1b1\&quot;, \&quot;c1\&quot;:\&quot;c1c1\&quot;}&quot;}</code></li><li>1: 和原始日志一致,不转义。示例:<br>日志原文:<code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code><br>投递到Ckafka:<code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code></li></ul>
5857
5823
  :rtype: int
5858
5824
  """
5859
5825
  return self._JsonType
@@ -394,6 +394,29 @@ class CsipClient(AbstractClient):
394
394
  raise TencentCloudSDKException(type(e).__name__, str(e))
395
395
 
396
396
 
397
+ def CreateSkillScan(self, request):
398
+ r"""上传 Skill ZIP 文件,触发异步安全检测。上传成功后应使用返回的 ContentHash + EngineVersion 轮询 DescribeSkillScanResult 接口获取结果。上传接口具备幂等性,同一 Hash 的文件重复上传不会创建重复任务。检测结果保留90天,超期后需重新上传检测。
399
+
400
+ :param request: Request instance for CreateSkillScan.
401
+ :type request: :class:`tencentcloud.csip.v20221121.models.CreateSkillScanRequest`
402
+ :rtype: :class:`tencentcloud.csip.v20221121.models.CreateSkillScanResponse`
403
+
404
+ """
405
+ try:
406
+ params = request._serialize()
407
+ headers = request.headers
408
+ body = self.call("CreateSkillScan", params, headers=headers)
409
+ response = json.loads(body)
410
+ model = models.CreateSkillScanResponse()
411
+ model._deserialize(response["Response"])
412
+ return model
413
+ except Exception as e:
414
+ if isinstance(e, TencentCloudSDKException):
415
+ raise
416
+ else:
417
+ raise TencentCloudSDKException(type(e).__name__, str(e))
418
+
419
+
397
420
  def DeleteDomainAndIp(self, request):
398
421
  r"""删除域名和ip请求
399
422
 
@@ -2924,6 +2947,29 @@ class CsipClient(AbstractClient):
2924
2947
  raise TencentCloudSDKException(type(e).__name__, str(e))
2925
2948
 
2926
2949
 
2950
+ def DescribeSkillScanResult(self, request):
2951
+ r"""查询 Skill 安全检测结果。调用 CreateSkillScan 成功后使用返回的 ContentHash + EngineVersion 轮询本接口获取结果。上传成功后建议5分钟后首次轮询,如未检测完成之后每隔1分钟轮询一次。响应通过 Status 字段区分四种状态:检测完成(SUCCESS)、检测中(SCANNING)、无记录(NOT_FOUND)、检测失败(FAILED)。注意:检测结果保留90天,超期后将返回 NOT_FOUND。
2952
+
2953
+ :param request: Request instance for DescribeSkillScanResult.
2954
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeSkillScanResultRequest`
2955
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeSkillScanResultResponse`
2956
+
2957
+ """
2958
+ try:
2959
+ params = request._serialize()
2960
+ headers = request.headers
2961
+ body = self.call("DescribeSkillScanResult", params, headers=headers)
2962
+ response = json.loads(body)
2963
+ model = models.DescribeSkillScanResultResponse()
2964
+ model._deserialize(response["Response"])
2965
+ return model
2966
+ except Exception as e:
2967
+ if isinstance(e, TencentCloudSDKException):
2968
+ raise
2969
+ else:
2970
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2971
+
2972
+
2927
2973
  def DescribeSourceIPAsset(self, request):
2928
2974
  r"""获取用户访问密钥资产列表(源IP视角)
2929
2975
 
@@ -313,6 +313,24 @@ class CsipClient(AbstractClient):
313
313
 
314
314
  return await self.call_and_deserialize(**kwargs)
315
315
 
316
+ async def CreateSkillScan(
317
+ self,
318
+ request: models.CreateSkillScanRequest,
319
+ opts: Dict = None,
320
+ ) -> models.CreateSkillScanResponse:
321
+ """
322
+ 上传 Skill ZIP 文件,触发异步安全检测。上传成功后应使用返回的 ContentHash + EngineVersion 轮询 DescribeSkillScanResult 接口获取结果。上传接口具备幂等性,同一 Hash 的文件重复上传不会创建重复任务。检测结果保留90天,超期后需重新上传检测。
323
+ """
324
+
325
+ kwargs = {}
326
+ kwargs["action"] = "CreateSkillScan"
327
+ kwargs["params"] = request._serialize()
328
+ kwargs["resp_cls"] = models.CreateSkillScanResponse
329
+ kwargs["headers"] = request.headers
330
+ kwargs["opts"] = opts or {}
331
+
332
+ return await self.call_and_deserialize(**kwargs)
333
+
316
334
  async def DeleteDomainAndIp(
317
335
  self,
318
336
  request: models.DeleteDomainAndIpRequest,
@@ -2293,6 +2311,24 @@ class CsipClient(AbstractClient):
2293
2311
 
2294
2312
  return await self.call_and_deserialize(**kwargs)
2295
2313
 
2314
+ async def DescribeSkillScanResult(
2315
+ self,
2316
+ request: models.DescribeSkillScanResultRequest,
2317
+ opts: Dict = None,
2318
+ ) -> models.DescribeSkillScanResultResponse:
2319
+ """
2320
+ 查询 Skill 安全检测结果。调用 CreateSkillScan 成功后使用返回的 ContentHash + EngineVersion 轮询本接口获取结果。上传成功后建议5分钟后首次轮询,如未检测完成之后每隔1分钟轮询一次。响应通过 Status 字段区分四种状态:检测完成(SUCCESS)、检测中(SCANNING)、无记录(NOT_FOUND)、检测失败(FAILED)。注意:检测结果保留90天,超期后将返回 NOT_FOUND。
2321
+ """
2322
+
2323
+ kwargs = {}
2324
+ kwargs["action"] = "DescribeSkillScanResult"
2325
+ kwargs["params"] = request._serialize()
2326
+ kwargs["resp_cls"] = models.DescribeSkillScanResultResponse
2327
+ kwargs["headers"] = request.headers
2328
+ kwargs["opts"] = opts or {}
2329
+
2330
+ return await self.call_and_deserialize(**kwargs)
2331
+
2296
2332
  async def DescribeSourceIPAsset(
2297
2333
  self,
2298
2334
  request: models.DescribeSourceIPAssetRequest,