tencentcloud-sdk-python 3.0.1475__py2.py3-none-any.whl → 3.0.1478__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +152 -18
- tencentcloud/cdn/v20180606/models.py +12 -2
- tencentcloud/cloudhsm/v20191112/models.py +15 -15
- tencentcloud/cls/v20201016/cls_client.py +4 -4
- tencentcloud/cls/v20201016/models.py +79 -58
- tencentcloud/ctem/v20231128/models.py +45 -0
- tencentcloud/dbbrain/v20210527/models.py +45 -24
- tencentcloud/dts/v20211206/dts_client.py +1 -1
- tencentcloud/dts/v20211206/models.py +33 -10
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20250101/es_client.py +23 -0
- tencentcloud/es/v20250101/models.py +259 -0
- tencentcloud/ess/v20201111/ess_client.py +97 -0
- tencentcloud/ess/v20201111/models.py +940 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +23 -16
- tencentcloud/gaap/v20180529/models.py +17 -2
- tencentcloud/gwlb/v20240906/gwlb_client.py +23 -0
- tencentcloud/gwlb/v20240906/models.py +150 -0
- tencentcloud/hunyuan/v20230901/models.py +16 -4
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +115 -0
- tencentcloud/ioa/v20220601/models.py +1313 -46
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +2022 -116
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +71 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +7 -7
- tencentcloud/lkeap/v20240522/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +480 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +949 -90
- tencentcloud/mqtt/v20240516/models.py +15 -0
- tencentcloud/nlp/v20190408/nlp_client.py +9 -3
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +250 -2
- tencentcloud/oceanus/v20190422/oceanus_client.py +46 -0
- tencentcloud/ocr/v20181119/models.py +20 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +36 -0
- tencentcloud/privatedns/v20201028/models.py +1699 -86
- tencentcloud/privatedns/v20201028/privatedns_client.py +253 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/teo/v20220901/errorcodes.py +1 -1
- tencentcloud/teo/v20220901/models.py +422 -123
- tencentcloud/teo/v20220901/teo_client.py +2 -2
- tencentcloud/tke/v20180525/models.py +55 -26
- tencentcloud/tmt/v20180321/models.py +139 -0
- tencentcloud/trtc/v20190722/models.py +15 -15
- tencentcloud/tse/v20201207/models.py +50 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +1839 -252
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- tencentcloud/wedata/v20210820/errorcodes.py +3 -0
- tencentcloud/wedata/v20210820/models.py +1240 -81
- tencentcloud/wedata/v20210820/wedata_client.py +1 -1
- tencentcloud/wedata/v20250806/models.py +1243 -332
- tencentcloud/wedata/v20250806/wedata_client.py +95 -3
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/RECORD +68 -68
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/top_level.txt +0 -0
|
@@ -8152,9 +8152,9 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8152
8152
|
:type Host: str
|
|
8153
8153
|
:param _DB: 线程的操作数据库,用于筛选线程列表。
|
|
8154
8154
|
:type DB: str
|
|
8155
|
-
:param _State:
|
|
8155
|
+
:param _State: 线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。
|
|
8156
8156
|
:type State: str
|
|
8157
|
-
:param _Command:
|
|
8157
|
+
:param _Command: 线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
|
|
8158
8158
|
:type Command: str
|
|
8159
8159
|
:param _Time: 线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。
|
|
8160
8160
|
:type Time: int
|
|
@@ -8162,7 +8162,9 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8162
8162
|
:type Info: str
|
|
8163
8163
|
:param _Limit: 返回数量,默认20。
|
|
8164
8164
|
:type Limit: int
|
|
8165
|
-
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb"
|
|
8165
|
+
:param _Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"mariadb"-mariadb;"cynosdb"-TDSQL-C for MySQL ;"dcdb"-TDSQL MySQL 默认为"mysql"。
|
|
8166
|
+
|
|
8167
|
+
|
|
8166
8168
|
:type Product: str
|
|
8167
8169
|
:param _StatDimensions: 会话统计的维度信息,可以多个维度。
|
|
8168
8170
|
:type StatDimensions: list of StatDimension
|
|
@@ -8237,7 +8239,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8237
8239
|
|
|
8238
8240
|
@property
|
|
8239
8241
|
def State(self):
|
|
8240
|
-
r"""
|
|
8242
|
+
r"""线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。
|
|
8241
8243
|
:rtype: str
|
|
8242
8244
|
"""
|
|
8243
8245
|
return self._State
|
|
@@ -8248,7 +8250,7 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8248
8250
|
|
|
8249
8251
|
@property
|
|
8250
8252
|
def Command(self):
|
|
8251
|
-
r"""
|
|
8253
|
+
r"""线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
|
|
8252
8254
|
:rtype: str
|
|
8253
8255
|
"""
|
|
8254
8256
|
return self._Command
|
|
@@ -8292,7 +8294,9 @@ class DescribeMySqlProcessListRequest(AbstractModel):
|
|
|
8292
8294
|
|
|
8293
8295
|
@property
|
|
8294
8296
|
def Product(self):
|
|
8295
|
-
r"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb"
|
|
8297
|
+
r"""服务产品类型,支持值:"mysql" - 云数据库 MySQL;"mariadb"-mariadb;"cynosdb"-TDSQL-C for MySQL ;"dcdb"-TDSQL MySQL 默认为"mysql"。
|
|
8298
|
+
|
|
8299
|
+
|
|
8296
8300
|
:rtype: str
|
|
8297
8301
|
"""
|
|
8298
8302
|
return self._Product
|
|
@@ -8350,7 +8354,7 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
8350
8354
|
r"""
|
|
8351
8355
|
:param _ProcessList: 实时线程列表。
|
|
8352
8356
|
:type ProcessList: list of MySqlProcess
|
|
8353
|
-
:param _Statistics: sql
|
|
8357
|
+
:param _Statistics: sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。
|
|
8354
8358
|
:type Statistics: list of StatisticInfo
|
|
8355
8359
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8356
8360
|
:type RequestId: str
|
|
@@ -8372,7 +8376,7 @@ class DescribeMySqlProcessListResponse(AbstractModel):
|
|
|
8372
8376
|
|
|
8373
8377
|
@property
|
|
8374
8378
|
def Statistics(self):
|
|
8375
|
-
r"""sql
|
|
8379
|
+
r"""sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。
|
|
8376
8380
|
:rtype: list of StatisticInfo
|
|
8377
8381
|
"""
|
|
8378
8382
|
return self._Statistics
|
|
@@ -16837,14 +16841,17 @@ class MySqlProcess(AbstractModel):
|
|
|
16837
16841
|
:type Host: str
|
|
16838
16842
|
:param _DB: 线程的操作数据库。
|
|
16839
16843
|
:type DB: str
|
|
16840
|
-
:param _State:
|
|
16844
|
+
:param _State: 线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。
|
|
16841
16845
|
:type State: str
|
|
16842
|
-
:param _Command:
|
|
16846
|
+
:param _Command: 线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
|
|
16843
16847
|
:type Command: str
|
|
16844
16848
|
:param _Time: 线程的操作时长,单位秒。
|
|
16845
16849
|
:type Time: str
|
|
16846
16850
|
:param _Info: 线程的操作语句。
|
|
16847
16851
|
:type Info: str
|
|
16852
|
+
:param _SqlType: sql类型
|
|
16853
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16854
|
+
:type SqlType: str
|
|
16848
16855
|
"""
|
|
16849
16856
|
self._ID = None
|
|
16850
16857
|
self._User = None
|
|
@@ -16854,6 +16861,7 @@ class MySqlProcess(AbstractModel):
|
|
|
16854
16861
|
self._Command = None
|
|
16855
16862
|
self._Time = None
|
|
16856
16863
|
self._Info = None
|
|
16864
|
+
self._SqlType = None
|
|
16857
16865
|
|
|
16858
16866
|
@property
|
|
16859
16867
|
def ID(self):
|
|
@@ -16901,7 +16909,7 @@ class MySqlProcess(AbstractModel):
|
|
|
16901
16909
|
|
|
16902
16910
|
@property
|
|
16903
16911
|
def State(self):
|
|
16904
|
-
r"""
|
|
16912
|
+
r"""线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。
|
|
16905
16913
|
:rtype: str
|
|
16906
16914
|
"""
|
|
16907
16915
|
return self._State
|
|
@@ -16912,7 +16920,7 @@ class MySqlProcess(AbstractModel):
|
|
|
16912
16920
|
|
|
16913
16921
|
@property
|
|
16914
16922
|
def Command(self):
|
|
16915
|
-
r"""
|
|
16923
|
+
r"""线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。
|
|
16916
16924
|
:rtype: str
|
|
16917
16925
|
"""
|
|
16918
16926
|
return self._Command
|
|
@@ -16943,6 +16951,18 @@ class MySqlProcess(AbstractModel):
|
|
|
16943
16951
|
def Info(self, Info):
|
|
16944
16952
|
self._Info = Info
|
|
16945
16953
|
|
|
16954
|
+
@property
|
|
16955
|
+
def SqlType(self):
|
|
16956
|
+
r"""sql类型
|
|
16957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16958
|
+
:rtype: str
|
|
16959
|
+
"""
|
|
16960
|
+
return self._SqlType
|
|
16961
|
+
|
|
16962
|
+
@SqlType.setter
|
|
16963
|
+
def SqlType(self, SqlType):
|
|
16964
|
+
self._SqlType = SqlType
|
|
16965
|
+
|
|
16946
16966
|
|
|
16947
16967
|
def _deserialize(self, params):
|
|
16948
16968
|
self._ID = params.get("ID")
|
|
@@ -16953,6 +16973,7 @@ class MySqlProcess(AbstractModel):
|
|
|
16953
16973
|
self._Command = params.get("Command")
|
|
16954
16974
|
self._Time = params.get("Time")
|
|
16955
16975
|
self._Info = params.get("Info")
|
|
16976
|
+
self._SqlType = params.get("SqlType")
|
|
16956
16977
|
memeber_set = set(params.keys())
|
|
16957
16978
|
for name, value in vars(self).items():
|
|
16958
16979
|
property_name = name[1:]
|
|
@@ -19067,21 +19088,21 @@ class SlowLogAgg(AbstractModel):
|
|
|
19067
19088
|
|
|
19068
19089
|
def __init__(self):
|
|
19069
19090
|
r"""
|
|
19070
|
-
:param _Cmd:
|
|
19091
|
+
:param _Cmd: 命令模板。
|
|
19071
19092
|
:type Cmd: str
|
|
19072
19093
|
:param _Detail: 命令详情。
|
|
19073
19094
|
:type Detail: str
|
|
19074
19095
|
:param _ExecTimes: 执行次数。
|
|
19075
19096
|
:type ExecTimes: int
|
|
19076
|
-
:param _QueryTime:
|
|
19097
|
+
:param _QueryTime: 总耗时。单位:s
|
|
19077
19098
|
:type QueryTime: float
|
|
19078
|
-
:param _QueryTimeAvg:
|
|
19099
|
+
:param _QueryTimeAvg: 平均执行时间。单位:s
|
|
19079
19100
|
:type QueryTimeAvg: float
|
|
19080
|
-
:param _QueryTimeMax:
|
|
19101
|
+
:param _QueryTimeMax: 最大执行时间。单位:s
|
|
19081
19102
|
:type QueryTimeMax: float
|
|
19082
|
-
:param _QueryTimeMin:
|
|
19103
|
+
:param _QueryTimeMin: 最小执行时间。单位:s
|
|
19083
19104
|
:type QueryTimeMin: float
|
|
19084
|
-
:param _QueryTimeRatio:
|
|
19105
|
+
:param _QueryTimeRatio: 总耗时占比。单位:%
|
|
19085
19106
|
:type QueryTimeRatio: float
|
|
19086
19107
|
"""
|
|
19087
19108
|
self._Cmd = None
|
|
@@ -19095,7 +19116,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19095
19116
|
|
|
19096
19117
|
@property
|
|
19097
19118
|
def Cmd(self):
|
|
19098
|
-
r"""
|
|
19119
|
+
r"""命令模板。
|
|
19099
19120
|
:rtype: str
|
|
19100
19121
|
"""
|
|
19101
19122
|
return self._Cmd
|
|
@@ -19128,7 +19149,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19128
19149
|
|
|
19129
19150
|
@property
|
|
19130
19151
|
def QueryTime(self):
|
|
19131
|
-
r"""
|
|
19152
|
+
r"""总耗时。单位:s
|
|
19132
19153
|
:rtype: float
|
|
19133
19154
|
"""
|
|
19134
19155
|
return self._QueryTime
|
|
@@ -19139,7 +19160,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19139
19160
|
|
|
19140
19161
|
@property
|
|
19141
19162
|
def QueryTimeAvg(self):
|
|
19142
|
-
r"""
|
|
19163
|
+
r"""平均执行时间。单位:s
|
|
19143
19164
|
:rtype: float
|
|
19144
19165
|
"""
|
|
19145
19166
|
return self._QueryTimeAvg
|
|
@@ -19150,7 +19171,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19150
19171
|
|
|
19151
19172
|
@property
|
|
19152
19173
|
def QueryTimeMax(self):
|
|
19153
|
-
r"""
|
|
19174
|
+
r"""最大执行时间。单位:s
|
|
19154
19175
|
:rtype: float
|
|
19155
19176
|
"""
|
|
19156
19177
|
return self._QueryTimeMax
|
|
@@ -19161,7 +19182,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19161
19182
|
|
|
19162
19183
|
@property
|
|
19163
19184
|
def QueryTimeMin(self):
|
|
19164
|
-
r"""
|
|
19185
|
+
r"""最小执行时间。单位:s
|
|
19165
19186
|
:rtype: float
|
|
19166
19187
|
"""
|
|
19167
19188
|
return self._QueryTimeMin
|
|
@@ -19172,7 +19193,7 @@ class SlowLogAgg(AbstractModel):
|
|
|
19172
19193
|
|
|
19173
19194
|
@property
|
|
19174
19195
|
def QueryTimeRatio(self):
|
|
19175
|
-
r"""
|
|
19196
|
+
r"""总耗时占比。单位:%
|
|
19176
19197
|
:rtype: float
|
|
19177
19198
|
"""
|
|
19178
19199
|
return self._QueryTimeRatio
|
|
@@ -1512,7 +1512,7 @@ class DtsClient(AbstractClient):
|
|
|
1512
1512
|
|
|
1513
1513
|
|
|
1514
1514
|
def StartCompare(self, request):
|
|
1515
|
-
r"""
|
|
1515
|
+
r"""启动一致性校验任务,启动之前需要先通过接口 [CreateCompareTask](https://cloud.tencent.com/document/product/571/82093) 创建一致性校验任务,启动后可通过接口 [DescribeCompareTasks](https://cloud.tencent.com/document/product/571/82088) 查询一致性校验任务列表来获得启动后的状态
|
|
1516
1516
|
|
|
1517
1517
|
:param request: Request instance for StartCompare.
|
|
1518
1518
|
:type request: :class:`tencentcloud.dts.v20211206.models.StartCompareRequest`
|
|
@@ -8823,6 +8823,8 @@ class DifferenceData(AbstractModel):
|
|
|
8823
8823
|
:type SrcItem: str
|
|
8824
8824
|
:param _DstItem: 目标端值
|
|
8825
8825
|
:type DstItem: str
|
|
8826
|
+
:param _CreatedAt: 创建时间
|
|
8827
|
+
:type CreatedAt: str
|
|
8826
8828
|
:param _UpdatedAt: 更新时间
|
|
8827
8829
|
:type UpdatedAt: str
|
|
8828
8830
|
"""
|
|
@@ -8832,6 +8834,7 @@ class DifferenceData(AbstractModel):
|
|
|
8832
8834
|
self._DstChunk = None
|
|
8833
8835
|
self._SrcItem = None
|
|
8834
8836
|
self._DstItem = None
|
|
8837
|
+
self._CreatedAt = None
|
|
8835
8838
|
self._UpdatedAt = None
|
|
8836
8839
|
|
|
8837
8840
|
@property
|
|
@@ -8900,6 +8903,17 @@ class DifferenceData(AbstractModel):
|
|
|
8900
8903
|
def DstItem(self, DstItem):
|
|
8901
8904
|
self._DstItem = DstItem
|
|
8902
8905
|
|
|
8906
|
+
@property
|
|
8907
|
+
def CreatedAt(self):
|
|
8908
|
+
r"""创建时间
|
|
8909
|
+
:rtype: str
|
|
8910
|
+
"""
|
|
8911
|
+
return self._CreatedAt
|
|
8912
|
+
|
|
8913
|
+
@CreatedAt.setter
|
|
8914
|
+
def CreatedAt(self, CreatedAt):
|
|
8915
|
+
self._CreatedAt = CreatedAt
|
|
8916
|
+
|
|
8903
8917
|
@property
|
|
8904
8918
|
def UpdatedAt(self):
|
|
8905
8919
|
r"""更新时间
|
|
@@ -8919,6 +8933,7 @@ class DifferenceData(AbstractModel):
|
|
|
8919
8933
|
self._DstChunk = params.get("DstChunk")
|
|
8920
8934
|
self._SrcItem = params.get("SrcItem")
|
|
8921
8935
|
self._DstItem = params.get("DstItem")
|
|
8936
|
+
self._CreatedAt = params.get("CreatedAt")
|
|
8922
8937
|
self._UpdatedAt = params.get("UpdatedAt")
|
|
8923
8938
|
memeber_set = set(params.keys())
|
|
8924
8939
|
for name, value in vars(self).items():
|
|
@@ -15629,9 +15644,11 @@ class StartCompareRequest(AbstractModel):
|
|
|
15629
15644
|
|
|
15630
15645
|
def __init__(self):
|
|
15631
15646
|
r"""
|
|
15632
|
-
:param _JobId: 迁移任务
|
|
15647
|
+
:param _JobId: 迁移任务 ID,可通过 [DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084) 接口获取。
|
|
15648
|
+
|
|
15633
15649
|
:type JobId: str
|
|
15634
|
-
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
15650
|
+
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过 [DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084) 接口获取。
|
|
15651
|
+
|
|
15635
15652
|
:type CompareTaskId: str
|
|
15636
15653
|
"""
|
|
15637
15654
|
self._JobId = None
|
|
@@ -15639,7 +15656,8 @@ class StartCompareRequest(AbstractModel):
|
|
|
15639
15656
|
|
|
15640
15657
|
@property
|
|
15641
15658
|
def JobId(self):
|
|
15642
|
-
r"""迁移任务
|
|
15659
|
+
r"""迁移任务 ID,可通过 [DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084) 接口获取。
|
|
15660
|
+
|
|
15643
15661
|
:rtype: str
|
|
15644
15662
|
"""
|
|
15645
15663
|
return self._JobId
|
|
@@ -15650,7 +15668,8 @@ class StartCompareRequest(AbstractModel):
|
|
|
15650
15668
|
|
|
15651
15669
|
@property
|
|
15652
15670
|
def CompareTaskId(self):
|
|
15653
|
-
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
15671
|
+
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过 [DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084) 接口获取。
|
|
15672
|
+
|
|
15654
15673
|
:rtype: str
|
|
15655
15674
|
"""
|
|
15656
15675
|
return self._CompareTaskId
|
|
@@ -16383,11 +16402,13 @@ class StopCompareRequest(AbstractModel):
|
|
|
16383
16402
|
|
|
16384
16403
|
def __init__(self):
|
|
16385
16404
|
r"""
|
|
16386
|
-
:param _JobId: 迁移任务 Id
|
|
16405
|
+
:param _JobId: 迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
16406
|
+
|
|
16387
16407
|
:type JobId: str
|
|
16388
|
-
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
16408
|
+
:param _CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
16409
|
+
|
|
16389
16410
|
:type CompareTaskId: str
|
|
16390
|
-
:param _ForceStop:
|
|
16411
|
+
:param _ForceStop: 是否强制停止。默认值为false,表示不强制停止;如果填true,同步任务增量阶段会跳过一致性校验产生的binlog,达到快速恢复任务的效果
|
|
16391
16412
|
:type ForceStop: bool
|
|
16392
16413
|
"""
|
|
16393
16414
|
self._JobId = None
|
|
@@ -16396,7 +16417,8 @@ class StopCompareRequest(AbstractModel):
|
|
|
16396
16417
|
|
|
16397
16418
|
@property
|
|
16398
16419
|
def JobId(self):
|
|
16399
|
-
r"""迁移任务 Id
|
|
16420
|
+
r"""迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
16421
|
+
|
|
16400
16422
|
:rtype: str
|
|
16401
16423
|
"""
|
|
16402
16424
|
return self._JobId
|
|
@@ -16407,7 +16429,8 @@ class StopCompareRequest(AbstractModel):
|
|
|
16407
16429
|
|
|
16408
16430
|
@property
|
|
16409
16431
|
def CompareTaskId(self):
|
|
16410
|
-
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
|
|
16432
|
+
r"""对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
16433
|
+
|
|
16411
16434
|
:rtype: str
|
|
16412
16435
|
"""
|
|
16413
16436
|
return self._CompareTaskId
|
|
@@ -16418,7 +16441,7 @@ class StopCompareRequest(AbstractModel):
|
|
|
16418
16441
|
|
|
16419
16442
|
@property
|
|
16420
16443
|
def ForceStop(self):
|
|
16421
|
-
r"""
|
|
16444
|
+
r"""是否强制停止。默认值为false,表示不强制停止;如果填true,同步任务增量阶段会跳过一致性校验产生的binlog,达到快速恢复任务的效果
|
|
16422
16445
|
:rtype: bool
|
|
16423
16446
|
"""
|
|
16424
16447
|
return self._ForceStop
|
|
@@ -10836,6 +10836,8 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
10836
10836
|
:type Asc: int
|
|
10837
10837
|
:param _Filters: 自定义查询过滤器。示例:<li>根据ClusterId过滤实例:[{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>根据clusterName过滤实例:[{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>根据ClusterStatus过滤实例:[{"Name": "ClusterStatus","Values": ["2"]}]</li>
|
|
10838
10838
|
:type Filters: list of Filters
|
|
10839
|
+
:param _ClusterType: 默认0为普通集群,2为tke集群
|
|
10840
|
+
:type ClusterType: int
|
|
10839
10841
|
"""
|
|
10840
10842
|
self._DisplayStrategy = None
|
|
10841
10843
|
self._Offset = None
|
|
@@ -10843,6 +10845,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
10843
10845
|
self._OrderField = None
|
|
10844
10846
|
self._Asc = None
|
|
10845
10847
|
self._Filters = None
|
|
10848
|
+
self._ClusterType = None
|
|
10846
10849
|
|
|
10847
10850
|
@property
|
|
10848
10851
|
def DisplayStrategy(self):
|
|
@@ -10911,6 +10914,17 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
10911
10914
|
def Filters(self, Filters):
|
|
10912
10915
|
self._Filters = Filters
|
|
10913
10916
|
|
|
10917
|
+
@property
|
|
10918
|
+
def ClusterType(self):
|
|
10919
|
+
r"""默认0为普通集群,2为tke集群
|
|
10920
|
+
:rtype: int
|
|
10921
|
+
"""
|
|
10922
|
+
return self._ClusterType
|
|
10923
|
+
|
|
10924
|
+
@ClusterType.setter
|
|
10925
|
+
def ClusterType(self, ClusterType):
|
|
10926
|
+
self._ClusterType = ClusterType
|
|
10927
|
+
|
|
10914
10928
|
|
|
10915
10929
|
def _deserialize(self, params):
|
|
10916
10930
|
self._DisplayStrategy = params.get("DisplayStrategy")
|
|
@@ -10924,6 +10938,7 @@ class DescribeInstancesListRequest(AbstractModel):
|
|
|
10924
10938
|
obj = Filters()
|
|
10925
10939
|
obj._deserialize(item)
|
|
10926
10940
|
self._Filters.append(obj)
|
|
10941
|
+
self._ClusterType = params.get("ClusterType")
|
|
10927
10942
|
memeber_set = set(params.keys())
|
|
10928
10943
|
for name, value in vars(self).items():
|
|
10929
10944
|
property_name = name[1:]
|
|
@@ -140,6 +140,29 @@ class EsClient(AbstractClient):
|
|
|
140
140
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
141
141
|
|
|
142
142
|
|
|
143
|
+
def GetMultiModalEmbedding(self, request):
|
|
144
|
+
r"""Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。 本接口有模型维度调用上限控制,单个模型qps限制10,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
|
145
|
+
|
|
146
|
+
:param request: Request instance for GetMultiModalEmbedding.
|
|
147
|
+
:type request: :class:`tencentcloud.es.v20250101.models.GetMultiModalEmbeddingRequest`
|
|
148
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.GetMultiModalEmbeddingResponse`
|
|
149
|
+
|
|
150
|
+
"""
|
|
151
|
+
try:
|
|
152
|
+
params = request._serialize()
|
|
153
|
+
headers = request.headers
|
|
154
|
+
body = self.call("GetMultiModalEmbedding", params, headers=headers)
|
|
155
|
+
response = json.loads(body)
|
|
156
|
+
model = models.GetMultiModalEmbeddingResponse()
|
|
157
|
+
model._deserialize(response["Response"])
|
|
158
|
+
return model
|
|
159
|
+
except Exception as e:
|
|
160
|
+
if isinstance(e, TencentCloudSDKException):
|
|
161
|
+
raise
|
|
162
|
+
else:
|
|
163
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
164
|
+
|
|
165
|
+
|
|
143
166
|
def GetTextEmbedding(self, request):
|
|
144
167
|
r"""Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。
|
|
145
168
|
本接口有模型维度调用上限控制,单个模型qps限制20,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|