tencentcloud-sdk-python 3.1.91__py2.py3-none-any.whl → 3.1.93__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 +99 -0
- tencentcloud/bh/v20230418/bh_client.py +23 -0
- tencentcloud/bh/v20230418/bh_client_async.py +18 -0
- tencentcloud/bh/v20230418/models.py +94 -0
- tencentcloud/cdb/v20170320/models.py +320 -232
- tencentcloud/cls/v20201016/cls_client.py +184 -0
- tencentcloud/cls/v20201016/cls_client_async.py +144 -0
- tencentcloud/cls/v20201016/models.py +2258 -445
- tencentcloud/ctsdb/v20230202/models.py +30 -0
- tencentcloud/emr/v20190103/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +79 -88
- tencentcloud/essbasic/v20210526/models.py +69 -154
- tencentcloud/hai/v20230812/hai_client.py +1 -1
- tencentcloud/hai/v20230812/hai_client_async.py +1 -1
- tencentcloud/hai/v20230812/models.py +8 -8
- tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/ioa_client_async.py +36 -0
- tencentcloud/ioa/v20220601/models.py +263 -0
- tencentcloud/live/v20180801/live_client.py +2 -2
- tencentcloud/live/v20180801/live_client_async.py +2 -2
- tencentcloud/live/v20180801/models.py +1932 -580
- tencentcloud/lke/v20231130/models.py +161 -60
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +165 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/mongodb/v20190725/mongodb_client_async.py +18 -0
- tencentcloud/monitor/v20180724/models.py +14 -14
- tencentcloud/mps/v20190612/models.py +34 -4
- tencentcloud/mqtt/v20240516/models.py +334 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +46 -0
- tencentcloud/mqtt/v20240516/mqtt_client_async.py +36 -0
- tencentcloud/ocr/v20181119/models.py +26 -1873
- tencentcloud/ocr/v20181119/ocr_client.py +0 -236
- tencentcloud/ocr/v20181119/ocr_client_async.py +0 -191
- tencentcloud/smh/v20210712/models.py +2 -2
- tencentcloud/sms/v20210111/models.py +44 -20
- tencentcloud/ssl/v20191205/models.py +2 -2
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +1453 -168
- tencentcloud/tcb/v20180608/tcb_client.py +155 -0
- tencentcloud/tcb/v20180608/tcb_client_async.py +130 -0
- tencentcloud/tcbr/v20220217/models.py +57 -12
- tencentcloud/tcss/v20201101/errorcodes.py +3 -0
- tencentcloud/tcss/v20201101/models.py +18 -20
- tencentcloud/tdai/v20250717/models.py +184 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +6 -0
- tencentcloud/tdmq/v20200217/models.py +1584 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +18 -0
- tencentcloud/teo/v20220901/models.py +40 -82
- tencentcloud/teo/v20220901/teo_client.py +1 -1
- tencentcloud/teo/v20220901/teo_client_async.py +1 -1
- tencentcloud/tione/v20211111/models.py +150 -0
- tencentcloud/trtc/v20190722/models.py +30 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +27151 -23344
- tencentcloud/vod/v20180717/vod_client.py +78 -10
- tencentcloud/vod/v20180717/vod_client_async.py +63 -10
- tencentcloud/waf/v20180125/models.py +19 -4
- tencentcloud/wedata/v20210820/wedata_client.py +3 -1
- tencentcloud/wedata/v20210820/wedata_client_async.py +2 -0
- {tencentcloud_sdk_python-3.1.91.dist-info → tencentcloud_sdk_python-3.1.93.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.91.dist-info → tencentcloud_sdk_python-3.1.93.dist-info}/RECORD +70 -70
- {tencentcloud_sdk_python-3.1.91.dist-info → tencentcloud_sdk_python-3.1.93.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.91.dist-info → tencentcloud_sdk_python-3.1.93.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.91.dist-info → tencentcloud_sdk_python-3.1.93.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -737,6 +737,29 @@ class ApmClient(AbstractClient):
|
|
|
737
737
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
738
738
|
|
|
739
739
|
|
|
740
|
+
def ModifyApmService(self, request):
|
|
741
|
+
r"""修改apm应用信息
|
|
742
|
+
|
|
743
|
+
:param request: Request instance for ModifyApmService.
|
|
744
|
+
:type request: :class:`tencentcloud.apm.v20210622.models.ModifyApmServiceRequest`
|
|
745
|
+
:rtype: :class:`tencentcloud.apm.v20210622.models.ModifyApmServiceResponse`
|
|
746
|
+
|
|
747
|
+
"""
|
|
748
|
+
try:
|
|
749
|
+
params = request._serialize()
|
|
750
|
+
headers = request.headers
|
|
751
|
+
body = self.call("ModifyApmService", params, headers=headers)
|
|
752
|
+
response = json.loads(body)
|
|
753
|
+
model = models.ModifyApmServiceResponse()
|
|
754
|
+
model._deserialize(response["Response"])
|
|
755
|
+
return model
|
|
756
|
+
except Exception as e:
|
|
757
|
+
if isinstance(e, TencentCloudSDKException):
|
|
758
|
+
raise
|
|
759
|
+
else:
|
|
760
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
761
|
+
|
|
762
|
+
|
|
740
763
|
def ModifyGeneralApmApplicationConfig(self, request):
|
|
741
764
|
r"""对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
|
|
742
765
|
|
|
@@ -586,6 +586,24 @@ class ApmClient(AbstractClient):
|
|
|
586
586
|
|
|
587
587
|
return await self.call_and_deserialize(**kwargs)
|
|
588
588
|
|
|
589
|
+
async def ModifyApmService(
|
|
590
|
+
self,
|
|
591
|
+
request: models.ModifyApmServiceRequest,
|
|
592
|
+
opts: Dict = None,
|
|
593
|
+
) -> models.ModifyApmServiceResponse:
|
|
594
|
+
"""
|
|
595
|
+
修改apm应用信息
|
|
596
|
+
"""
|
|
597
|
+
|
|
598
|
+
kwargs = {}
|
|
599
|
+
kwargs["action"] = "ModifyApmService"
|
|
600
|
+
kwargs["params"] = request._serialize()
|
|
601
|
+
kwargs["resp_cls"] = models.ModifyApmServiceResponse
|
|
602
|
+
kwargs["headers"] = request.headers
|
|
603
|
+
kwargs["opts"] = opts or {}
|
|
604
|
+
|
|
605
|
+
return await self.call_and_deserialize(**kwargs)
|
|
606
|
+
|
|
589
607
|
async def ModifyGeneralApmApplicationConfig(
|
|
590
608
|
self,
|
|
591
609
|
request: models.ModifyGeneralApmApplicationConfigRequest,
|
|
@@ -11021,6 +11021,105 @@ class ModifyApmSampleConfigResponse(AbstractModel):
|
|
|
11021
11021
|
self._RequestId = params.get("RequestId")
|
|
11022
11022
|
|
|
11023
11023
|
|
|
11024
|
+
class ModifyApmServiceRequest(AbstractModel):
|
|
11025
|
+
r"""ModifyApmService请求参数结构体
|
|
11026
|
+
|
|
11027
|
+
"""
|
|
11028
|
+
|
|
11029
|
+
def __init__(self):
|
|
11030
|
+
r"""
|
|
11031
|
+
:param _ServiceID: 应用ID
|
|
11032
|
+
:type ServiceID: str
|
|
11033
|
+
:param _ServiceDescription: 应用描述
|
|
11034
|
+
:type ServiceDescription: str
|
|
11035
|
+
:param _Tags: 标签列表
|
|
11036
|
+
:type Tags: list of ApmTag
|
|
11037
|
+
"""
|
|
11038
|
+
self._ServiceID = None
|
|
11039
|
+
self._ServiceDescription = None
|
|
11040
|
+
self._Tags = None
|
|
11041
|
+
|
|
11042
|
+
@property
|
|
11043
|
+
def ServiceID(self):
|
|
11044
|
+
r"""应用ID
|
|
11045
|
+
:rtype: str
|
|
11046
|
+
"""
|
|
11047
|
+
return self._ServiceID
|
|
11048
|
+
|
|
11049
|
+
@ServiceID.setter
|
|
11050
|
+
def ServiceID(self, ServiceID):
|
|
11051
|
+
self._ServiceID = ServiceID
|
|
11052
|
+
|
|
11053
|
+
@property
|
|
11054
|
+
def ServiceDescription(self):
|
|
11055
|
+
r"""应用描述
|
|
11056
|
+
:rtype: str
|
|
11057
|
+
"""
|
|
11058
|
+
return self._ServiceDescription
|
|
11059
|
+
|
|
11060
|
+
@ServiceDescription.setter
|
|
11061
|
+
def ServiceDescription(self, ServiceDescription):
|
|
11062
|
+
self._ServiceDescription = ServiceDescription
|
|
11063
|
+
|
|
11064
|
+
@property
|
|
11065
|
+
def Tags(self):
|
|
11066
|
+
r"""标签列表
|
|
11067
|
+
:rtype: list of ApmTag
|
|
11068
|
+
"""
|
|
11069
|
+
return self._Tags
|
|
11070
|
+
|
|
11071
|
+
@Tags.setter
|
|
11072
|
+
def Tags(self, Tags):
|
|
11073
|
+
self._Tags = Tags
|
|
11074
|
+
|
|
11075
|
+
|
|
11076
|
+
def _deserialize(self, params):
|
|
11077
|
+
self._ServiceID = params.get("ServiceID")
|
|
11078
|
+
self._ServiceDescription = params.get("ServiceDescription")
|
|
11079
|
+
if params.get("Tags") is not None:
|
|
11080
|
+
self._Tags = []
|
|
11081
|
+
for item in params.get("Tags"):
|
|
11082
|
+
obj = ApmTag()
|
|
11083
|
+
obj._deserialize(item)
|
|
11084
|
+
self._Tags.append(obj)
|
|
11085
|
+
memeber_set = set(params.keys())
|
|
11086
|
+
for name, value in vars(self).items():
|
|
11087
|
+
property_name = name[1:]
|
|
11088
|
+
if property_name in memeber_set:
|
|
11089
|
+
memeber_set.remove(property_name)
|
|
11090
|
+
if len(memeber_set) > 0:
|
|
11091
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11092
|
+
|
|
11093
|
+
|
|
11094
|
+
|
|
11095
|
+
class ModifyApmServiceResponse(AbstractModel):
|
|
11096
|
+
r"""ModifyApmService返回参数结构体
|
|
11097
|
+
|
|
11098
|
+
"""
|
|
11099
|
+
|
|
11100
|
+
def __init__(self):
|
|
11101
|
+
r"""
|
|
11102
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11103
|
+
:type RequestId: str
|
|
11104
|
+
"""
|
|
11105
|
+
self._RequestId = None
|
|
11106
|
+
|
|
11107
|
+
@property
|
|
11108
|
+
def RequestId(self):
|
|
11109
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11110
|
+
:rtype: str
|
|
11111
|
+
"""
|
|
11112
|
+
return self._RequestId
|
|
11113
|
+
|
|
11114
|
+
@RequestId.setter
|
|
11115
|
+
def RequestId(self, RequestId):
|
|
11116
|
+
self._RequestId = RequestId
|
|
11117
|
+
|
|
11118
|
+
|
|
11119
|
+
def _deserialize(self, params):
|
|
11120
|
+
self._RequestId = params.get("RequestId")
|
|
11121
|
+
|
|
11122
|
+
|
|
11024
11123
|
class ModifyGeneralApmApplicationConfigRequest(AbstractModel):
|
|
11025
11124
|
r"""ModifyGeneralApmApplicationConfig请求参数结构体
|
|
11026
11125
|
|
|
@@ -95,6 +95,29 @@ class BhClient(AbstractClient):
|
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
def BindDeviceAccountKubeconfig(self, request):
|
|
99
|
+
r"""绑定容器账号凭据
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for BindDeviceAccountKubeconfig.
|
|
102
|
+
:type request: :class:`tencentcloud.bh.v20230418.models.BindDeviceAccountKubeconfigRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.bh.v20230418.models.BindDeviceAccountKubeconfigResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("BindDeviceAccountKubeconfig", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.BindDeviceAccountKubeconfigResponse()
|
|
112
|
+
model._deserialize(response["Response"])
|
|
113
|
+
return model
|
|
114
|
+
except Exception as e:
|
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
|
116
|
+
raise
|
|
117
|
+
else:
|
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
|
+
|
|
120
|
+
|
|
98
121
|
def BindDeviceAccountPassword(self, request):
|
|
99
122
|
r"""绑定主机账号密码
|
|
100
123
|
|
|
@@ -79,6 +79,24 @@ class BhClient(AbstractClient):
|
|
|
79
79
|
|
|
80
80
|
return await self.call_and_deserialize(**kwargs)
|
|
81
81
|
|
|
82
|
+
async def BindDeviceAccountKubeconfig(
|
|
83
|
+
self,
|
|
84
|
+
request: models.BindDeviceAccountKubeconfigRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.BindDeviceAccountKubeconfigResponse:
|
|
87
|
+
"""
|
|
88
|
+
绑定容器账号凭据
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "BindDeviceAccountKubeconfig"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.BindDeviceAccountKubeconfigResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
82
100
|
async def BindDeviceAccountPassword(
|
|
83
101
|
self,
|
|
84
102
|
request: models.BindDeviceAccountPasswordRequest,
|
|
@@ -2004,6 +2004,100 @@ class AuthModeSetting(AbstractModel):
|
|
|
2004
2004
|
|
|
2005
2005
|
|
|
2006
2006
|
|
|
2007
|
+
class BindDeviceAccountKubeconfigRequest(AbstractModel):
|
|
2008
|
+
r"""BindDeviceAccountKubeconfig请求参数结构体
|
|
2009
|
+
|
|
2010
|
+
"""
|
|
2011
|
+
|
|
2012
|
+
def __init__(self):
|
|
2013
|
+
r"""
|
|
2014
|
+
:param _Id: 容器账号Id
|
|
2015
|
+
:type Id: int
|
|
2016
|
+
:param _Kubeconfig: 容器账号凭据
|
|
2017
|
+
:type Kubeconfig: str
|
|
2018
|
+
:param _ManageDimension: 托管维度。1-集群
|
|
2019
|
+
:type ManageDimension: int
|
|
2020
|
+
"""
|
|
2021
|
+
self._Id = None
|
|
2022
|
+
self._Kubeconfig = None
|
|
2023
|
+
self._ManageDimension = None
|
|
2024
|
+
|
|
2025
|
+
@property
|
|
2026
|
+
def Id(self):
|
|
2027
|
+
r"""容器账号Id
|
|
2028
|
+
:rtype: int
|
|
2029
|
+
"""
|
|
2030
|
+
return self._Id
|
|
2031
|
+
|
|
2032
|
+
@Id.setter
|
|
2033
|
+
def Id(self, Id):
|
|
2034
|
+
self._Id = Id
|
|
2035
|
+
|
|
2036
|
+
@property
|
|
2037
|
+
def Kubeconfig(self):
|
|
2038
|
+
r"""容器账号凭据
|
|
2039
|
+
:rtype: str
|
|
2040
|
+
"""
|
|
2041
|
+
return self._Kubeconfig
|
|
2042
|
+
|
|
2043
|
+
@Kubeconfig.setter
|
|
2044
|
+
def Kubeconfig(self, Kubeconfig):
|
|
2045
|
+
self._Kubeconfig = Kubeconfig
|
|
2046
|
+
|
|
2047
|
+
@property
|
|
2048
|
+
def ManageDimension(self):
|
|
2049
|
+
r"""托管维度。1-集群
|
|
2050
|
+
:rtype: int
|
|
2051
|
+
"""
|
|
2052
|
+
return self._ManageDimension
|
|
2053
|
+
|
|
2054
|
+
@ManageDimension.setter
|
|
2055
|
+
def ManageDimension(self, ManageDimension):
|
|
2056
|
+
self._ManageDimension = ManageDimension
|
|
2057
|
+
|
|
2058
|
+
|
|
2059
|
+
def _deserialize(self, params):
|
|
2060
|
+
self._Id = params.get("Id")
|
|
2061
|
+
self._Kubeconfig = params.get("Kubeconfig")
|
|
2062
|
+
self._ManageDimension = params.get("ManageDimension")
|
|
2063
|
+
memeber_set = set(params.keys())
|
|
2064
|
+
for name, value in vars(self).items():
|
|
2065
|
+
property_name = name[1:]
|
|
2066
|
+
if property_name in memeber_set:
|
|
2067
|
+
memeber_set.remove(property_name)
|
|
2068
|
+
if len(memeber_set) > 0:
|
|
2069
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
class BindDeviceAccountKubeconfigResponse(AbstractModel):
|
|
2074
|
+
r"""BindDeviceAccountKubeconfig返回参数结构体
|
|
2075
|
+
|
|
2076
|
+
"""
|
|
2077
|
+
|
|
2078
|
+
def __init__(self):
|
|
2079
|
+
r"""
|
|
2080
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2081
|
+
:type RequestId: str
|
|
2082
|
+
"""
|
|
2083
|
+
self._RequestId = None
|
|
2084
|
+
|
|
2085
|
+
@property
|
|
2086
|
+
def RequestId(self):
|
|
2087
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2088
|
+
:rtype: str
|
|
2089
|
+
"""
|
|
2090
|
+
return self._RequestId
|
|
2091
|
+
|
|
2092
|
+
@RequestId.setter
|
|
2093
|
+
def RequestId(self, RequestId):
|
|
2094
|
+
self._RequestId = RequestId
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
def _deserialize(self, params):
|
|
2098
|
+
self._RequestId = params.get("RequestId")
|
|
2099
|
+
|
|
2100
|
+
|
|
2007
2101
|
class BindDeviceAccountPasswordRequest(AbstractModel):
|
|
2008
2102
|
r"""BindDeviceAccountPassword请求参数结构体
|
|
2009
2103
|
|