tencentcloud-sdk-python 3.1.179__py2.py3-none-any.whl → 3.1.180__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 +1 -1
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/models.py +34 -0
- tencentcloud/cfw/v20190904/models.py +15 -0
- tencentcloud/clb/v20180317/models.py +72 -10
- tencentcloud/cls/v20201016/models.py +893 -0
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/databuddy/v20260715/errorcodes.py +20 -20
- tencentcloud/databuddy/v20260715/models.py +51 -55
- tencentcloud/fwm/v20250611/models.py +12 -12
- tencentcloud/hai/v20230812/models.py +75 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +63 -21
- tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +42 -0
- tencentcloud/live/v20180801/errorcodes.py +12 -0
- tencentcloud/live/v20180801/live_client.py +207 -0
- tencentcloud/live/v20180801/live_client_async.py +162 -0
- tencentcloud/live/v20180801/models.py +1380 -0
- tencentcloud/mps/v20190612/models.py +19 -4
- tencentcloud/tcb/v20180608/models.py +488 -0
- tencentcloud/tcb/v20180608/tcb_client.py +69 -0
- tencentcloud/tcb/v20180608/tcb_client_async.py +54 -0
- tencentcloud/tdai/v20250717/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +321 -53
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +30 -32
- tencentcloud/workbuddyenterprise/__init__.py +0 -0
- tencentcloud/workbuddyenterprise/v20260709/__init__.py +0 -0
- tencentcloud/workbuddyenterprise/v20260709/errorcodes.py +231 -0
- tencentcloud/workbuddyenterprise/v20260709/models.py +7823 -0
- tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client.py +601 -0
- tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client_async.py +476 -0
- {tencentcloud_sdk_python-3.1.179.dist-info → tencentcloud_sdk_python-3.1.180.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.179.dist-info → tencentcloud_sdk_python-3.1.180.dist-info}/RECORD +38 -32
- {tencentcloud_sdk_python-3.1.179.dist-info → tencentcloud_sdk_python-3.1.180.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.179.dist-info → tencentcloud_sdk_python-3.1.180.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.179.dist-info → tencentcloud_sdk_python-3.1.180.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -806,6 +806,29 @@ class ApmClient(AbstractClient):
|
|
|
806
806
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
807
807
|
|
|
808
808
|
|
|
809
|
+
def OpenApmPaidVersion(self, request):
|
|
810
|
+
r"""开通付费版本
|
|
811
|
+
|
|
812
|
+
:param request: Request instance for OpenApmPaidVersion.
|
|
813
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.OpenApmPaidVersionRequest`
|
|
814
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.OpenApmPaidVersionResponse`
|
|
815
|
+
|
|
816
|
+
"""
|
|
817
|
+
try:
|
|
818
|
+
params = request._serialize()
|
|
819
|
+
headers = request.headers
|
|
820
|
+
body = self.call("OpenApmPaidVersion", params, headers=headers)
|
|
821
|
+
response = json.loads(body)
|
|
822
|
+
model = models.OpenApmPaidVersionResponse()
|
|
823
|
+
model._deserialize(response["Response"])
|
|
824
|
+
return model
|
|
825
|
+
except Exception as e:
|
|
826
|
+
if isinstance(e, TencentCloudSDKException):
|
|
827
|
+
raise
|
|
828
|
+
else:
|
|
829
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
830
|
+
|
|
831
|
+
|
|
809
832
|
def TerminateApmInstance(self, request):
|
|
810
833
|
r"""销毁 APM 业务系统
|
|
811
834
|
|
|
@@ -640,6 +640,24 @@ class ApmClient(AbstractClient):
|
|
|
640
640
|
|
|
641
641
|
return await self.call_and_deserialize(**kwargs)
|
|
642
642
|
|
|
643
|
+
async def OpenApmPaidVersion(
|
|
644
|
+
self,
|
|
645
|
+
request: models.OpenApmPaidVersionRequest,
|
|
646
|
+
opts: Dict = None,
|
|
647
|
+
) -> models.OpenApmPaidVersionResponse:
|
|
648
|
+
"""
|
|
649
|
+
开通付费版本
|
|
650
|
+
"""
|
|
651
|
+
|
|
652
|
+
kwargs = {}
|
|
653
|
+
kwargs["action"] = "OpenApmPaidVersion"
|
|
654
|
+
kwargs["params"] = request._serialize()
|
|
655
|
+
kwargs["resp_cls"] = models.OpenApmPaidVersionResponse
|
|
656
|
+
kwargs["headers"] = request.headers
|
|
657
|
+
kwargs["opts"] = opts or {}
|
|
658
|
+
|
|
659
|
+
return await self.call_and_deserialize(**kwargs)
|
|
660
|
+
|
|
643
661
|
async def TerminateApmInstance(
|
|
644
662
|
self,
|
|
645
663
|
request: models.TerminateApmInstanceRequest,
|
|
@@ -11917,6 +11917,40 @@ class ModifyGeneralApmApplicationConfigResponse(AbstractModel):
|
|
|
11917
11917
|
self._RequestId = params.get("RequestId")
|
|
11918
11918
|
|
|
11919
11919
|
|
|
11920
|
+
class OpenApmPaidVersionRequest(AbstractModel):
|
|
11921
|
+
r"""OpenApmPaidVersion请求参数结构体
|
|
11922
|
+
|
|
11923
|
+
"""
|
|
11924
|
+
|
|
11925
|
+
|
|
11926
|
+
class OpenApmPaidVersionResponse(AbstractModel):
|
|
11927
|
+
r"""OpenApmPaidVersion返回参数结构体
|
|
11928
|
+
|
|
11929
|
+
"""
|
|
11930
|
+
|
|
11931
|
+
def __init__(self):
|
|
11932
|
+
r"""
|
|
11933
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11934
|
+
:type RequestId: str
|
|
11935
|
+
"""
|
|
11936
|
+
self._RequestId = None
|
|
11937
|
+
|
|
11938
|
+
@property
|
|
11939
|
+
def RequestId(self):
|
|
11940
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11941
|
+
:rtype: str
|
|
11942
|
+
"""
|
|
11943
|
+
return self._RequestId
|
|
11944
|
+
|
|
11945
|
+
@RequestId.setter
|
|
11946
|
+
def RequestId(self, RequestId):
|
|
11947
|
+
self._RequestId = RequestId
|
|
11948
|
+
|
|
11949
|
+
|
|
11950
|
+
def _deserialize(self, params):
|
|
11951
|
+
self._RequestId = params.get("RequestId")
|
|
11952
|
+
|
|
11953
|
+
|
|
11920
11954
|
class OrderBy(AbstractModel):
|
|
11921
11955
|
r"""排序字段
|
|
11922
11956
|
|
|
@@ -31678,11 +31678,25 @@ class ModifyStorageSettingResponse(AbstractModel):
|
|
|
31678
31678
|
|
|
31679
31679
|
def __init__(self):
|
|
31680
31680
|
r"""
|
|
31681
|
+
:param _Status: <p>操作状态</p><p>枚举值:</p><ul><li>processing: 进行中</li><li>success: 成功</li></ul>
|
|
31682
|
+
:type Status: str
|
|
31681
31683
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
31682
31684
|
:type RequestId: str
|
|
31683
31685
|
"""
|
|
31686
|
+
self._Status = None
|
|
31684
31687
|
self._RequestId = None
|
|
31685
31688
|
|
|
31689
|
+
@property
|
|
31690
|
+
def Status(self):
|
|
31691
|
+
r"""<p>操作状态</p><p>枚举值:</p><ul><li>processing: 进行中</li><li>success: 成功</li></ul>
|
|
31692
|
+
:rtype: str
|
|
31693
|
+
"""
|
|
31694
|
+
return self._Status
|
|
31695
|
+
|
|
31696
|
+
@Status.setter
|
|
31697
|
+
def Status(self, Status):
|
|
31698
|
+
self._Status = Status
|
|
31699
|
+
|
|
31686
31700
|
@property
|
|
31687
31701
|
def RequestId(self):
|
|
31688
31702
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -31696,6 +31710,7 @@ class ModifyStorageSettingResponse(AbstractModel):
|
|
|
31696
31710
|
|
|
31697
31711
|
|
|
31698
31712
|
def _deserialize(self, params):
|
|
31713
|
+
self._Status = params.get("Status")
|
|
31699
31714
|
self._RequestId = params.get("RequestId")
|
|
31700
31715
|
|
|
31701
31716
|
|
|
@@ -987,15 +987,15 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
987
987
|
|
|
988
988
|
def __init__(self):
|
|
989
989
|
r"""
|
|
990
|
-
:param _LoadBalancerId:
|
|
990
|
+
:param _LoadBalancerId: <p>负载均衡实例ID。</p>
|
|
991
991
|
:type LoadBalancerId: str
|
|
992
|
-
:param _ListenerId: HTTPS:443监听器的ID
|
|
992
|
+
:param _ListenerId: <p>HTTPS:443监听器的ID。</p>
|
|
993
993
|
:type ListenerId: str
|
|
994
|
-
:param _Domains: HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443
|
|
994
|
+
:param _Domains: <p>HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443监听器下的所有域名都设置重定向。</p>
|
|
995
995
|
:type Domains: list of str
|
|
996
|
-
:param _RewriteCodes:
|
|
996
|
+
:param _RewriteCodes: <p>重定向状态码,可取值301,302,307。</p><p>默认值:302</p>
|
|
997
997
|
:type RewriteCodes: list of int
|
|
998
|
-
:param _TakeUrls:
|
|
998
|
+
:param _TakeUrls: <p>重定向是否携带匹配的URL。</p>
|
|
999
999
|
:type TakeUrls: list of bool
|
|
1000
1000
|
"""
|
|
1001
1001
|
self._LoadBalancerId = None
|
|
@@ -1006,7 +1006,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1006
1006
|
|
|
1007
1007
|
@property
|
|
1008
1008
|
def LoadBalancerId(self):
|
|
1009
|
-
r"""
|
|
1009
|
+
r"""<p>负载均衡实例ID。</p>
|
|
1010
1010
|
:rtype: str
|
|
1011
1011
|
"""
|
|
1012
1012
|
return self._LoadBalancerId
|
|
@@ -1017,7 +1017,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1017
1017
|
|
|
1018
1018
|
@property
|
|
1019
1019
|
def ListenerId(self):
|
|
1020
|
-
r"""HTTPS:443监听器的ID
|
|
1020
|
+
r"""<p>HTTPS:443监听器的ID。</p>
|
|
1021
1021
|
:rtype: str
|
|
1022
1022
|
"""
|
|
1023
1023
|
return self._ListenerId
|
|
@@ -1028,7 +1028,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1028
1028
|
|
|
1029
1029
|
@property
|
|
1030
1030
|
def Domains(self):
|
|
1031
|
-
r"""HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443
|
|
1031
|
+
r"""<p>HTTPS:443监听器下需要重定向的域名,若不填,则对HTTPS:443监听器下的所有域名都设置重定向。</p>
|
|
1032
1032
|
:rtype: list of str
|
|
1033
1033
|
"""
|
|
1034
1034
|
return self._Domains
|
|
@@ -1039,7 +1039,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1039
1039
|
|
|
1040
1040
|
@property
|
|
1041
1041
|
def RewriteCodes(self):
|
|
1042
|
-
r"""
|
|
1042
|
+
r"""<p>重定向状态码,可取值301,302,307。</p><p>默认值:302</p>
|
|
1043
1043
|
:rtype: list of int
|
|
1044
1044
|
"""
|
|
1045
1045
|
return self._RewriteCodes
|
|
@@ -1050,7 +1050,7 @@ class AutoRewriteRequest(AbstractModel):
|
|
|
1050
1050
|
|
|
1051
1051
|
@property
|
|
1052
1052
|
def TakeUrls(self):
|
|
1053
|
-
r"""
|
|
1053
|
+
r"""<p>重定向是否携带匹配的URL。</p>
|
|
1054
1054
|
:rtype: list of bool
|
|
1055
1055
|
"""
|
|
1056
1056
|
return self._TakeUrls
|
|
@@ -35790,12 +35790,18 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
|
|
|
35790
35790
|
:type HealthCheckMaxTokens: int
|
|
35791
35791
|
:param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
|
|
35792
35792
|
:type HealthCheckProtocol: str
|
|
35793
|
+
:param _HealthCheckPath: <p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
|
|
35794
|
+
:type HealthCheckPath: str
|
|
35795
|
+
:param _HealthCheckMethod: <p>健康检查方式。</p><p>枚举值:</p><ul><li>Service: 探测服务可用性</li><li>Model: 探测模型可用性</li></ul>
|
|
35796
|
+
:type HealthCheckMethod: str
|
|
35793
35797
|
"""
|
|
35794
35798
|
self._HealthCheckEnabled = None
|
|
35795
35799
|
self._HealthCheckInterval = None
|
|
35796
35800
|
self._HealthCheckUnhealthyThreshold = None
|
|
35797
35801
|
self._HealthCheckMaxTokens = None
|
|
35798
35802
|
self._HealthCheckProtocol = None
|
|
35803
|
+
self._HealthCheckPath = None
|
|
35804
|
+
self._HealthCheckMethod = None
|
|
35799
35805
|
|
|
35800
35806
|
@property
|
|
35801
35807
|
def HealthCheckEnabled(self):
|
|
@@ -35852,6 +35858,28 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
|
|
|
35852
35858
|
def HealthCheckProtocol(self, HealthCheckProtocol):
|
|
35853
35859
|
self._HealthCheckProtocol = HealthCheckProtocol
|
|
35854
35860
|
|
|
35861
|
+
@property
|
|
35862
|
+
def HealthCheckPath(self):
|
|
35863
|
+
r"""<p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
|
|
35864
|
+
:rtype: str
|
|
35865
|
+
"""
|
|
35866
|
+
return self._HealthCheckPath
|
|
35867
|
+
|
|
35868
|
+
@HealthCheckPath.setter
|
|
35869
|
+
def HealthCheckPath(self, HealthCheckPath):
|
|
35870
|
+
self._HealthCheckPath = HealthCheckPath
|
|
35871
|
+
|
|
35872
|
+
@property
|
|
35873
|
+
def HealthCheckMethod(self):
|
|
35874
|
+
r"""<p>健康检查方式。</p><p>枚举值:</p><ul><li>Service: 探测服务可用性</li><li>Model: 探测模型可用性</li></ul>
|
|
35875
|
+
:rtype: str
|
|
35876
|
+
"""
|
|
35877
|
+
return self._HealthCheckMethod
|
|
35878
|
+
|
|
35879
|
+
@HealthCheckMethod.setter
|
|
35880
|
+
def HealthCheckMethod(self, HealthCheckMethod):
|
|
35881
|
+
self._HealthCheckMethod = HealthCheckMethod
|
|
35882
|
+
|
|
35855
35883
|
|
|
35856
35884
|
def _deserialize(self, params):
|
|
35857
35885
|
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
@@ -35859,6 +35887,8 @@ class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
|
|
|
35859
35887
|
self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
|
|
35860
35888
|
self._HealthCheckMaxTokens = params.get("HealthCheckMaxTokens")
|
|
35861
35889
|
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
35890
|
+
self._HealthCheckPath = params.get("HealthCheckPath")
|
|
35891
|
+
self._HealthCheckMethod = params.get("HealthCheckMethod")
|
|
35862
35892
|
memeber_set = set(params.keys())
|
|
35863
35893
|
for name, value in vars(self).items():
|
|
35864
35894
|
property_name = name[1:]
|
|
@@ -35883,16 +35913,23 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
|
35883
35913
|
:param _HealthCheckUnhealthyThreshold: <p>不健康阈值。表示当模型连续多少次不健康时认为该模型不健康。</p><p>取值范围:[1, 10]</p><p>默认值:1</p>
|
|
35884
35914
|
:type HealthCheckUnhealthyThreshold: int
|
|
35885
35915
|
:param _HealthCheckMaxTokens: <p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
|
|
35916
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35886
35917
|
:type HealthCheckMaxTokens: int
|
|
35887
35918
|
:param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
|
|
35888
35919
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35889
35920
|
:type HealthCheckProtocol: str
|
|
35921
|
+
:param _HealthCheckPath: <p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
|
|
35922
|
+
:type HealthCheckPath: str
|
|
35923
|
+
:param _HealthCheckMethod: <p>健康检查方式。</p>
|
|
35924
|
+
:type HealthCheckMethod: str
|
|
35890
35925
|
"""
|
|
35891
35926
|
self._HealthCheckEnabled = None
|
|
35892
35927
|
self._HealthCheckInterval = None
|
|
35893
35928
|
self._HealthCheckUnhealthyThreshold = None
|
|
35894
35929
|
self._HealthCheckMaxTokens = None
|
|
35895
35930
|
self._HealthCheckProtocol = None
|
|
35931
|
+
self._HealthCheckPath = None
|
|
35932
|
+
self._HealthCheckMethod = None
|
|
35896
35933
|
|
|
35897
35934
|
@property
|
|
35898
35935
|
def HealthCheckEnabled(self):
|
|
@@ -35930,6 +35967,7 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
|
35930
35967
|
@property
|
|
35931
35968
|
def HealthCheckMaxTokens(self):
|
|
35932
35969
|
r"""<p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
|
|
35970
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35933
35971
|
:rtype: int
|
|
35934
35972
|
"""
|
|
35935
35973
|
return self._HealthCheckMaxTokens
|
|
@@ -35950,6 +35988,28 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
|
35950
35988
|
def HealthCheckProtocol(self, HealthCheckProtocol):
|
|
35951
35989
|
self._HealthCheckProtocol = HealthCheckProtocol
|
|
35952
35990
|
|
|
35991
|
+
@property
|
|
35992
|
+
def HealthCheckPath(self):
|
|
35993
|
+
r"""<p>健康检查路径。仅HealthCheckMethod为Service时生效。</p>
|
|
35994
|
+
:rtype: str
|
|
35995
|
+
"""
|
|
35996
|
+
return self._HealthCheckPath
|
|
35997
|
+
|
|
35998
|
+
@HealthCheckPath.setter
|
|
35999
|
+
def HealthCheckPath(self, HealthCheckPath):
|
|
36000
|
+
self._HealthCheckPath = HealthCheckPath
|
|
36001
|
+
|
|
36002
|
+
@property
|
|
36003
|
+
def HealthCheckMethod(self):
|
|
36004
|
+
r"""<p>健康检查方式。</p>
|
|
36005
|
+
:rtype: str
|
|
36006
|
+
"""
|
|
36007
|
+
return self._HealthCheckMethod
|
|
36008
|
+
|
|
36009
|
+
@HealthCheckMethod.setter
|
|
36010
|
+
def HealthCheckMethod(self, HealthCheckMethod):
|
|
36011
|
+
self._HealthCheckMethod = HealthCheckMethod
|
|
36012
|
+
|
|
35953
36013
|
|
|
35954
36014
|
def _deserialize(self, params):
|
|
35955
36015
|
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
@@ -35957,6 +36017,8 @@ class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
|
35957
36017
|
self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
|
|
35958
36018
|
self._HealthCheckMaxTokens = params.get("HealthCheckMaxTokens")
|
|
35959
36019
|
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
36020
|
+
self._HealthCheckPath = params.get("HealthCheckPath")
|
|
36021
|
+
self._HealthCheckMethod = params.get("HealthCheckMethod")
|
|
35960
36022
|
memeber_set = set(params.keys())
|
|
35961
36023
|
for name, value in vars(self).items():
|
|
35962
36024
|
property_name = name[1:]
|