tencentcloud-sdk-python 3.0.1391__py2.py3-none-any.whl → 3.0.1393__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/autoscaling/v20180419/models.py +2 -2
- tencentcloud/cfs/v20190719/cfs_client.py +3 -7
- tencentcloud/cfs/v20190719/models.py +80 -108
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/models.py +16 -0
- tencentcloud/cynosdb/v20190107/models.py +17 -17
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +85 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20250101/es_client.py +0 -23
- tencentcloud/es/v20250101/models.py +1 -352
- tencentcloud/ess/v20201111/models.py +24 -10
- tencentcloud/essbasic/v20210526/models.py +10 -6
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/models.py +269 -0
- tencentcloud/hai/v20230812/models.py +8 -14
- tencentcloud/iotexplorer/v20190423/models.py +2 -2
- tencentcloud/lke/v20231130/errorcodes.py +0 -6
- tencentcloud/lke/v20231130/lke_client.py +0 -26
- tencentcloud/lke/v20231130/models.py +0 -229
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -5
- tencentcloud/monitor/v20180724/models.py +96 -2
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +24 -0
- tencentcloud/mqtt/v20240516/models.py +515 -201
- tencentcloud/mqtt/v20240516/mqtt_client.py +26 -3
- tencentcloud/mrs/v20200910/models.py +8 -0
- tencentcloud/mrs/v20200910/mrs_client.py +2 -0
- tencentcloud/postgres/v20170312/models.py +0 -405
- tencentcloud/postgres/v20170312/postgres_client.py +0 -25
- tencentcloud/pts/v20210728/models.py +30 -0
- tencentcloud/redis/v20180412/models.py +8 -8
- {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/top_level.txt +0 -0
@@ -125,7 +125,6 @@ class CmeClient(AbstractClient):
|
|
125
125
|
<li>导播台项目:用于云导播台;</li>
|
126
126
|
<li>视频拆条:用于视频拆条;</li>
|
127
127
|
<li>录制回放项目:用于直播录制回放;</li>
|
128
|
-
<li>云转推项目:用于直播云转推<font color=red>(废弃,可使用媒体转推项目替代)</font>;</li>
|
129
128
|
<li>媒体转推项目:用于媒体文件转直播输出。</li>
|
130
129
|
|
131
130
|
:param request: Request instance for CreateProject.
|
@@ -1721,6 +1721,8 @@ class CreateProjectRequest(AbstractModel):
|
|
1721
1721
|
|
1722
1722
|
@property
|
1723
1723
|
def AspectRatio(self):
|
1724
|
+
warnings.warn("parameter `AspectRatio` is deprecated", DeprecationWarning)
|
1725
|
+
|
1724
1726
|
"""画布宽高比。
|
1725
1727
|
该字段已经废弃,请使用具体项目输入中的 AspectRatio 字段。
|
1726
1728
|
:rtype: str
|
@@ -1729,6 +1731,8 @@ class CreateProjectRequest(AbstractModel):
|
|
1729
1731
|
|
1730
1732
|
@AspectRatio.setter
|
1731
1733
|
def AspectRatio(self, AspectRatio):
|
1734
|
+
warnings.warn("parameter `AspectRatio` is deprecated", DeprecationWarning)
|
1735
|
+
|
1732
1736
|
self._AspectRatio = AspectRatio
|
1733
1737
|
|
1734
1738
|
@property
|
@@ -6453,6 +6457,8 @@ class ExternalMediaInfo(AbstractModel):
|
|
6453
6457
|
|
6454
6458
|
@property
|
6455
6459
|
def Definition(self):
|
6460
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
6461
|
+
|
6456
6462
|
"""该字段废弃,请勿使用。
|
6457
6463
|
:rtype: int
|
6458
6464
|
"""
|
@@ -6460,6 +6466,8 @@ class ExternalMediaInfo(AbstractModel):
|
|
6460
6466
|
|
6461
6467
|
@Definition.setter
|
6462
6468
|
def Definition(self, Definition):
|
6469
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
6470
|
+
|
6463
6471
|
self._Definition = Definition
|
6464
6472
|
|
6465
6473
|
@property
|
@@ -8957,6 +8965,8 @@ class MaterialBasicInfo(AbstractModel):
|
|
8957
8965
|
|
8958
8966
|
@property
|
8959
8967
|
def TagInfoSet(self):
|
8968
|
+
warnings.warn("parameter `TagInfoSet` is deprecated", DeprecationWarning)
|
8969
|
+
|
8960
8970
|
"""媒体绑定的标签信息列表 。
|
8961
8971
|
该字段已废弃。
|
8962
8972
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -8966,6 +8976,8 @@ class MaterialBasicInfo(AbstractModel):
|
|
8966
8976
|
|
8967
8977
|
@TagInfoSet.setter
|
8968
8978
|
def TagInfoSet(self, TagInfoSet):
|
8979
|
+
warnings.warn("parameter `TagInfoSet` is deprecated", DeprecationWarning)
|
8980
|
+
|
8969
8981
|
self._TagInfoSet = TagInfoSet
|
8970
8982
|
|
8971
8983
|
|
@@ -14062,6 +14074,8 @@ class StorageNewFileCreatedEvent(AbstractModel):
|
|
14062
14074
|
|
14063
14075
|
@property
|
14064
14076
|
def Operator(self):
|
14077
|
+
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
14078
|
+
|
14065
14079
|
"""操作者 Id。(废弃,请勿使用)
|
14066
14080
|
:rtype: str
|
14067
14081
|
"""
|
@@ -14069,6 +14083,8 @@ class StorageNewFileCreatedEvent(AbstractModel):
|
|
14069
14083
|
|
14070
14084
|
@Operator.setter
|
14071
14085
|
def Operator(self, Operator):
|
14086
|
+
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
14087
|
+
|
14072
14088
|
self._Operator = Operator
|
14073
14089
|
|
14074
14090
|
@property
|
@@ -21455,7 +21455,7 @@ class DescribeTasksRequest(AbstractModel):
|
|
21455
21455
|
:type StartTimeBegin: str
|
21456
21456
|
:param _StartTimeEnd: 任务开始时间结束值
|
21457
21457
|
:type StartTimeEnd: str
|
21458
|
-
:param _Filters:
|
21458
|
+
:param _Filters: 过滤条件,支持的搜索字段:"ClusterId"、"ClusterName"、"InstanceId"、"InstanceName"、"Status"、"TaskId"、"TaskType"
|
21459
21459
|
:type Filters: list of QueryFilter
|
21460
21460
|
:param _Limit: 查询列表长度
|
21461
21461
|
:type Limit: int
|
@@ -21492,7 +21492,7 @@ class DescribeTasksRequest(AbstractModel):
|
|
21492
21492
|
|
21493
21493
|
@property
|
21494
21494
|
def Filters(self):
|
21495
|
-
"""
|
21495
|
+
"""过滤条件,支持的搜索字段:"ClusterId"、"ClusterName"、"InstanceId"、"InstanceName"、"Status"、"TaskId"、"TaskType"
|
21496
21496
|
:rtype: list of QueryFilter
|
21497
21497
|
"""
|
21498
21498
|
return self._Filters
|
@@ -34249,10 +34249,10 @@ class QueryFilter(AbstractModel):
|
|
34249
34249
|
|
34250
34250
|
def __init__(self):
|
34251
34251
|
r"""
|
34252
|
-
:param _Names: 搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
34253
|
-
:type Names: list of str
|
34254
34252
|
:param _Values: 搜索字符串
|
34255
34253
|
:type Values: list of str
|
34254
|
+
:param _Names: 搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
34255
|
+
:type Names: list of str
|
34256
34256
|
:param _ExactMatch: 是否精确匹配
|
34257
34257
|
:type ExactMatch: bool
|
34258
34258
|
:param _Name: 搜索字段
|
@@ -34260,23 +34260,12 @@ class QueryFilter(AbstractModel):
|
|
34260
34260
|
:param _Operator: 操作符
|
34261
34261
|
:type Operator: str
|
34262
34262
|
"""
|
34263
|
-
self._Names = None
|
34264
34263
|
self._Values = None
|
34264
|
+
self._Names = None
|
34265
34265
|
self._ExactMatch = None
|
34266
34266
|
self._Name = None
|
34267
34267
|
self._Operator = None
|
34268
34268
|
|
34269
|
-
@property
|
34270
|
-
def Names(self):
|
34271
|
-
"""搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
34272
|
-
:rtype: list of str
|
34273
|
-
"""
|
34274
|
-
return self._Names
|
34275
|
-
|
34276
|
-
@Names.setter
|
34277
|
-
def Names(self, Names):
|
34278
|
-
self._Names = Names
|
34279
|
-
|
34280
34269
|
@property
|
34281
34270
|
def Values(self):
|
34282
34271
|
"""搜索字符串
|
@@ -34288,6 +34277,17 @@ class QueryFilter(AbstractModel):
|
|
34288
34277
|
def Values(self, Values):
|
34289
34278
|
self._Values = Values
|
34290
34279
|
|
34280
|
+
@property
|
34281
|
+
def Names(self):
|
34282
|
+
"""搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
34283
|
+
:rtype: list of str
|
34284
|
+
"""
|
34285
|
+
return self._Names
|
34286
|
+
|
34287
|
+
@Names.setter
|
34288
|
+
def Names(self, Names):
|
34289
|
+
self._Names = Names
|
34290
|
+
|
34291
34291
|
@property
|
34292
34292
|
def ExactMatch(self):
|
34293
34293
|
"""是否精确匹配
|
@@ -34323,8 +34323,8 @@ class QueryFilter(AbstractModel):
|
|
34323
34323
|
|
34324
34324
|
|
34325
34325
|
def _deserialize(self, params):
|
34326
|
-
self._Names = params.get("Names")
|
34327
34326
|
self._Values = params.get("Values")
|
34327
|
+
self._Names = params.get("Names")
|
34328
34328
|
self._ExactMatch = params.get("ExactMatch")
|
34329
34329
|
self._Name = params.get("Name")
|
34330
34330
|
self._Operator = params.get("Operator")
|
@@ -2096,6 +2096,29 @@ class DlcClient(AbstractClient):
|
|
2096
2096
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2097
2097
|
|
2098
2098
|
|
2099
|
+
def DescribeTablePartitions(self, request):
|
2100
|
+
"""本接口(DescribeTablePartitions)用于查询数据表分区信息
|
2101
|
+
|
2102
|
+
:param request: Request instance for DescribeTablePartitions.
|
2103
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeTablePartitionsRequest`
|
2104
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeTablePartitionsResponse`
|
2105
|
+
|
2106
|
+
"""
|
2107
|
+
try:
|
2108
|
+
params = request._serialize()
|
2109
|
+
headers = request.headers
|
2110
|
+
body = self.call("DescribeTablePartitions", params, headers=headers)
|
2111
|
+
response = json.loads(body)
|
2112
|
+
model = models.DescribeTablePartitionsResponse()
|
2113
|
+
model._deserialize(response["Response"])
|
2114
|
+
return model
|
2115
|
+
except Exception as e:
|
2116
|
+
if isinstance(e, TencentCloudSDKException):
|
2117
|
+
raise
|
2118
|
+
else:
|
2119
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2120
|
+
|
2121
|
+
|
2099
2122
|
def DescribeTables(self, request):
|
2100
2123
|
"""本接口(DescribeTables)用于查询数据表列表。
|
2101
2124
|
|
@@ -15653,6 +15653,9 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15653
15653
|
:type Sort: str
|
15654
15654
|
:param _Asc: 排序类型:false:降序(默认)、true:升序
|
15655
15655
|
:type Asc: bool
|
15656
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
15657
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
15658
|
+
:type DescribeType: str
|
15656
15659
|
"""
|
15657
15660
|
self._Limit = None
|
15658
15661
|
self._Offset = None
|
@@ -15660,6 +15663,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15660
15663
|
self._DatasourceConnectionName = None
|
15661
15664
|
self._Sort = None
|
15662
15665
|
self._Asc = None
|
15666
|
+
self._DescribeType = None
|
15663
15667
|
|
15664
15668
|
@property
|
15665
15669
|
def Limit(self):
|
@@ -15727,6 +15731,18 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15727
15731
|
def Asc(self, Asc):
|
15728
15732
|
self._Asc = Asc
|
15729
15733
|
|
15734
|
+
@property
|
15735
|
+
def DescribeType(self):
|
15736
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
15737
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
15738
|
+
:rtype: str
|
15739
|
+
"""
|
15740
|
+
return self._DescribeType
|
15741
|
+
|
15742
|
+
@DescribeType.setter
|
15743
|
+
def DescribeType(self, DescribeType):
|
15744
|
+
self._DescribeType = DescribeType
|
15745
|
+
|
15730
15746
|
|
15731
15747
|
def _deserialize(self, params):
|
15732
15748
|
self._Limit = params.get("Limit")
|
@@ -15735,6 +15751,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
15735
15751
|
self._DatasourceConnectionName = params.get("DatasourceConnectionName")
|
15736
15752
|
self._Sort = params.get("Sort")
|
15737
15753
|
self._Asc = params.get("Asc")
|
15754
|
+
self._DescribeType = params.get("DescribeType")
|
15738
15755
|
memeber_set = set(params.keys())
|
15739
15756
|
for name, value in vars(self).items():
|
15740
15757
|
property_name = name[1:]
|
@@ -18684,6 +18701,40 @@ class DescribeSubUserAccessPolicyResponse(AbstractModel):
|
|
18684
18701
|
self._RequestId = params.get("RequestId")
|
18685
18702
|
|
18686
18703
|
|
18704
|
+
class DescribeTablePartitionsRequest(AbstractModel):
|
18705
|
+
"""DescribeTablePartitions请求参数结构体
|
18706
|
+
|
18707
|
+
"""
|
18708
|
+
|
18709
|
+
|
18710
|
+
class DescribeTablePartitionsResponse(AbstractModel):
|
18711
|
+
"""DescribeTablePartitions返回参数结构体
|
18712
|
+
|
18713
|
+
"""
|
18714
|
+
|
18715
|
+
def __init__(self):
|
18716
|
+
r"""
|
18717
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18718
|
+
:type RequestId: str
|
18719
|
+
"""
|
18720
|
+
self._RequestId = None
|
18721
|
+
|
18722
|
+
@property
|
18723
|
+
def RequestId(self):
|
18724
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18725
|
+
:rtype: str
|
18726
|
+
"""
|
18727
|
+
return self._RequestId
|
18728
|
+
|
18729
|
+
@RequestId.setter
|
18730
|
+
def RequestId(self, RequestId):
|
18731
|
+
self._RequestId = RequestId
|
18732
|
+
|
18733
|
+
|
18734
|
+
def _deserialize(self, params):
|
18735
|
+
self._RequestId = params.get("RequestId")
|
18736
|
+
|
18737
|
+
|
18687
18738
|
class DescribeTableRequest(AbstractModel):
|
18688
18739
|
"""DescribeTable请求参数结构体
|
18689
18740
|
|
@@ -19079,6 +19130,9 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19079
19130
|
:type TableType: str
|
19080
19131
|
:param _TableFormat: 筛选字段-表格式:不传(默认)为查全部;LAKEFS:托管表;ICEBERG:非托管iceberg表;HIVE:非托管hive表;OTHER:非托管其它;
|
19081
19132
|
:type TableFormat: str
|
19133
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
19134
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
19135
|
+
:type DescribeType: str
|
19082
19136
|
"""
|
19083
19137
|
self._DatabaseName = None
|
19084
19138
|
self._Limit = None
|
@@ -19091,6 +19145,7 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19091
19145
|
self._Asc = None
|
19092
19146
|
self._TableType = None
|
19093
19147
|
self._TableFormat = None
|
19148
|
+
self._DescribeType = None
|
19094
19149
|
|
19095
19150
|
@property
|
19096
19151
|
def DatabaseName(self):
|
@@ -19215,6 +19270,18 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19215
19270
|
def TableFormat(self, TableFormat):
|
19216
19271
|
self._TableFormat = TableFormat
|
19217
19272
|
|
19273
|
+
@property
|
19274
|
+
def DescribeType(self):
|
19275
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
19276
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
19277
|
+
:rtype: str
|
19278
|
+
"""
|
19279
|
+
return self._DescribeType
|
19280
|
+
|
19281
|
+
@DescribeType.setter
|
19282
|
+
def DescribeType(self, DescribeType):
|
19283
|
+
self._DescribeType = DescribeType
|
19284
|
+
|
19218
19285
|
|
19219
19286
|
def _deserialize(self, params):
|
19220
19287
|
self._DatabaseName = params.get("DatabaseName")
|
@@ -19233,6 +19300,7 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
19233
19300
|
self._Asc = params.get("Asc")
|
19234
19301
|
self._TableType = params.get("TableType")
|
19235
19302
|
self._TableFormat = params.get("TableFormat")
|
19303
|
+
self._DescribeType = params.get("DescribeType")
|
19236
19304
|
memeber_set = set(params.keys())
|
19237
19305
|
for name, value in vars(self).items():
|
19238
19306
|
property_name = name[1:]
|
@@ -21685,6 +21753,9 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21685
21753
|
:type StartTime: str
|
21686
21754
|
:param _EndTime: 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00
|
21687
21755
|
:type EndTime: str
|
21756
|
+
:param _DescribeType: 查询类型:all:全部数据(默认)、permission:有权限的数据
|
21757
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
21758
|
+
:type DescribeType: str
|
21688
21759
|
"""
|
21689
21760
|
self._DatabaseName = None
|
21690
21761
|
self._Limit = None
|
@@ -21695,6 +21766,7 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21695
21766
|
self._Asc = None
|
21696
21767
|
self._StartTime = None
|
21697
21768
|
self._EndTime = None
|
21769
|
+
self._DescribeType = None
|
21698
21770
|
|
21699
21771
|
@property
|
21700
21772
|
def DatabaseName(self):
|
@@ -21797,6 +21869,18 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21797
21869
|
def EndTime(self, EndTime):
|
21798
21870
|
self._EndTime = EndTime
|
21799
21871
|
|
21872
|
+
@property
|
21873
|
+
def DescribeType(self):
|
21874
|
+
"""查询类型:all:全部数据(默认)、permission:有权限的数据
|
21875
|
+
注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。
|
21876
|
+
:rtype: str
|
21877
|
+
"""
|
21878
|
+
return self._DescribeType
|
21879
|
+
|
21880
|
+
@DescribeType.setter
|
21881
|
+
def DescribeType(self, DescribeType):
|
21882
|
+
self._DescribeType = DescribeType
|
21883
|
+
|
21800
21884
|
|
21801
21885
|
def _deserialize(self, params):
|
21802
21886
|
self._DatabaseName = params.get("DatabaseName")
|
@@ -21813,6 +21897,7 @@ view-id - String - (过滤条件)view id形如:12342。
|
|
21813
21897
|
self._Asc = params.get("Asc")
|
21814
21898
|
self._StartTime = params.get("StartTime")
|
21815
21899
|
self._EndTime = params.get("EndTime")
|
21900
|
+
self._DescribeType = params.get("DescribeType")
|
21816
21901
|
memeber_set = set(params.keys())
|
21817
21902
|
for name, value in vars(self).items():
|
21818
21903
|
property_name = name[1:]
|
@@ -2231,7 +2231,7 @@ class CreateDomainRedemptionRequest(AbstractModel):
|
|
2231
2231
|
def __init__(self):
|
2232
2232
|
r"""
|
2233
2233
|
:param _DomainId: 域名ID
|
2234
|
-
可通过
|
2234
|
+
可通过[DescribeDomainNameList](https://cloud.tencent.com/document/api/242/48941)接口获取
|
2235
2235
|
:type DomainId: str
|
2236
2236
|
"""
|
2237
2237
|
self._DomainId = None
|
@@ -2239,7 +2239,7 @@ class CreateDomainRedemptionRequest(AbstractModel):
|
|
2239
2239
|
@property
|
2240
2240
|
def DomainId(self):
|
2241
2241
|
"""域名ID
|
2242
|
-
可通过
|
2242
|
+
可通过[DescribeDomainNameList](https://cloud.tencent.com/document/api/242/48941)接口获取
|
2243
2243
|
:rtype: str
|
2244
2244
|
"""
|
2245
2245
|
return self._DomainId
|
@@ -20,6 +20,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
20
20
|
# 操作失败。
|
21
21
|
FAILEDOPERATION_CHECKIFSUPPORTPODSTRETCH = 'FailedOperation.CheckIfSupportPodStretch'
|
22
22
|
|
23
|
+
# DB异常
|
24
|
+
FAILEDOPERATION_DBEXCEPTION = 'FailedOperation.DBException'
|
25
|
+
|
23
26
|
# 拉取资源标签失败
|
24
27
|
FAILEDOPERATION_DESCRIBERESOURCETAGSFAILED = 'FailedOperation.DescribeResourceTagsFailed'
|
25
28
|
|
@@ -461,9 +464,15 @@ LIMITEXCEEDED_PODCPULIMITEXCEEDEDNODEAVAILABLECPU = 'LimitExceeded.PodCpuLimitEx
|
|
461
464
|
# Pod 内存请求数量超过集群限制。
|
462
465
|
LIMITEXCEEDED_PODMEMORYLIMITEXCEEDEDAVAILABLEMEMORY = 'LimitExceeded.PodMemoryLimitExceededAvailableMemory'
|
463
466
|
|
467
|
+
# 请求已经积压并超过了限制
|
468
|
+
LIMITEXCEEDED_REQUESTBACKLOGEXCEEDSLIMIT = 'LimitExceeded.RequestBacklogExceedsLimit'
|
469
|
+
|
464
470
|
# 安全组数量超过限制。
|
465
471
|
LIMITEXCEEDED_SECURITYGROUPNUMLIMITEXCEEDED = 'LimitExceeded.SecurityGroupNumLimitExceeded'
|
466
472
|
|
473
|
+
# 用户数量超过了限制
|
474
|
+
LIMITEXCEEDED_USERCOUNTEXCEEDSLIMIT = 'LimitExceeded.UserCountExceedsLimit'
|
475
|
+
|
467
476
|
# 缺少参数错误。
|
468
477
|
MISSINGPARAMETER = 'MissingParameter'
|
469
478
|
|
@@ -406,11 +406,14 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
406
406
|
:param _FailedUserList: 添加失败的用户列表
|
407
407
|
注意:此字段可能返回 null,表示取不到有效值。
|
408
408
|
:type FailedUserList: list of str
|
409
|
+
:param _FlowId: 流程id。大于0表示启动了流程;等于0表示没有启动流程
|
410
|
+
:type FlowId: int
|
409
411
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
410
412
|
:type RequestId: str
|
411
413
|
"""
|
412
414
|
self._SuccessUserList = None
|
413
415
|
self._FailedUserList = None
|
416
|
+
self._FlowId = None
|
414
417
|
self._RequestId = None
|
415
418
|
|
416
419
|
@property
|
@@ -437,6 +440,17 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
437
440
|
def FailedUserList(self, FailedUserList):
|
438
441
|
self._FailedUserList = FailedUserList
|
439
442
|
|
443
|
+
@property
|
444
|
+
def FlowId(self):
|
445
|
+
"""流程id。大于0表示启动了流程;等于0表示没有启动流程
|
446
|
+
:rtype: int
|
447
|
+
"""
|
448
|
+
return self._FlowId
|
449
|
+
|
450
|
+
@FlowId.setter
|
451
|
+
def FlowId(self, FlowId):
|
452
|
+
self._FlowId = FlowId
|
453
|
+
|
440
454
|
@property
|
441
455
|
def RequestId(self):
|
442
456
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -452,6 +466,7 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
452
466
|
def _deserialize(self, params):
|
453
467
|
self._SuccessUserList = params.get("SuccessUserList")
|
454
468
|
self._FailedUserList = params.get("FailedUserList")
|
469
|
+
self._FlowId = params.get("FlowId")
|
455
470
|
self._RequestId = params.get("RequestId")
|
456
471
|
|
457
472
|
|
@@ -223,29 +223,6 @@ class EsClient(AbstractClient):
|
|
223
223
|
model = models.RunRerankResponse()
|
224
224
|
model._deserialize(response["Response"])
|
225
225
|
return model
|
226
|
-
except Exception as e:
|
227
|
-
if isinstance(e, TencentCloudSDKException):
|
228
|
-
raise
|
229
|
-
else:
|
230
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
231
|
-
|
232
|
-
|
233
|
-
def WebSearch(self, request):
|
234
|
-
"""WebSearch API 是一个网页搜索服务,支持多种搜索引擎,可以获取网页的标题、URL、摘要和正文内容。
|
235
|
-
|
236
|
-
:param request: Request instance for WebSearch.
|
237
|
-
:type request: :class:`tencentcloud.es.v20250101.models.WebSearchRequest`
|
238
|
-
:rtype: :class:`tencentcloud.es.v20250101.models.WebSearchResponse`
|
239
|
-
|
240
|
-
"""
|
241
|
-
try:
|
242
|
-
params = request._serialize()
|
243
|
-
headers = request.headers
|
244
|
-
body = self.call("WebSearch", params, headers=headers)
|
245
|
-
response = json.loads(body)
|
246
|
-
model = models.WebSearchResponse()
|
247
|
-
model._deserialize(response["Response"])
|
248
|
-
return model
|
249
226
|
except Exception as e:
|
250
227
|
if isinstance(e, TencentCloudSDKException):
|
251
228
|
raise
|