tencentcloud-sdk-python 3.0.1436__py2.py3-none-any.whl → 3.0.1437__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/cls/v20201016/models.py +24 -16
- tencentcloud/dlc/v20210125/models.py +246 -0
- tencentcloud/ess/v20201111/ess_client.py +3 -3
- tencentcloud/ess/v20201111/models.py +8 -4
- tencentcloud/lke/v20231130/models.py +86 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/ocr/v20181119/models.py +86 -0
- tencentcloud/partners/v20180321/partners_client.py +2 -1
- tencentcloud/postgres/v20170312/models.py +28 -24
- tencentcloud/postgres/v20170312/postgres_client.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +2 -2
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- tencentcloud/tcbr/v20220217/models.py +266 -4
- tencentcloud/tcr/v20190924/models.py +2 -2
- tencentcloud/teo/v20220901/models.py +20 -10
- tencentcloud/teo/v20220901/teo_client.py +7 -2
- tencentcloud/wsa/v20250508/models.py +22 -4
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/RECORD +24 -24
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1436.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -11357,14 +11357,14 @@ class DeleteDashboardSubscribeRequest(AbstractModel):
|
|
|
11357
11357
|
|
|
11358
11358
|
def __init__(self):
|
|
11359
11359
|
r"""
|
|
11360
|
-
:param _Id: 仪表盘订阅记录id。
|
|
11360
|
+
:param _Id: 仪表盘订阅记录id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
|
|
11361
11361
|
:type Id: int
|
|
11362
11362
|
"""
|
|
11363
11363
|
self._Id = None
|
|
11364
11364
|
|
|
11365
11365
|
@property
|
|
11366
11366
|
def Id(self):
|
|
11367
|
-
"""仪表盘订阅记录id。
|
|
11367
|
+
"""仪表盘订阅记录id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
|
|
11368
11368
|
:rtype: int
|
|
11369
11369
|
"""
|
|
11370
11370
|
return self._Id
|
|
@@ -13905,7 +13905,11 @@ class DescribeDashboardSubscribesRequest(AbstractModel):
|
|
|
13905
13905
|
|
|
13906
13906
|
def __init__(self):
|
|
13907
13907
|
r"""
|
|
13908
|
-
:param _Filters:
|
|
13908
|
+
:param _Filters: dashboardId:按照【仪表盘id】进行过滤。类型:String必选:否
|
|
13909
|
+
|
|
13910
|
+
- 仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
13911
|
+
|
|
13912
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
13909
13913
|
:type Filters: list of Filter
|
|
13910
13914
|
:param _Offset: 分页的偏移量,默认值为0。
|
|
13911
13915
|
:type Offset: int
|
|
@@ -13918,7 +13922,11 @@ class DescribeDashboardSubscribesRequest(AbstractModel):
|
|
|
13918
13922
|
|
|
13919
13923
|
@property
|
|
13920
13924
|
def Filters(self):
|
|
13921
|
-
"""
|
|
13925
|
+
"""dashboardId:按照【仪表盘id】进行过滤。类型:String必选:否
|
|
13926
|
+
|
|
13927
|
+
- 仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
13928
|
+
|
|
13929
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
13922
13930
|
:rtype: list of Filter
|
|
13923
13931
|
"""
|
|
13924
13932
|
return self._Filters
|
|
@@ -23234,11 +23242,11 @@ class ModifyDashboardSubscribeRequest(AbstractModel):
|
|
|
23234
23242
|
|
|
23235
23243
|
def __init__(self):
|
|
23236
23244
|
r"""
|
|
23237
|
-
:param _Id: 仪表盘订阅id。
|
|
23245
|
+
:param _Id: 仪表盘订阅id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
|
|
23238
23246
|
:type Id: int
|
|
23239
|
-
:param _DashboardId: 仪表盘id。
|
|
23247
|
+
:param _DashboardId: 仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
23240
23248
|
:type DashboardId: str
|
|
23241
|
-
:param _Name:
|
|
23249
|
+
:param _Name: 仪表盘订阅名称。最大支持128个字符,且不支持'|'字符。
|
|
23242
23250
|
:type Name: str
|
|
23243
23251
|
:param _Cron: 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。
|
|
23244
23252
|
:type Cron: str
|
|
@@ -23253,7 +23261,7 @@ class ModifyDashboardSubscribeRequest(AbstractModel):
|
|
|
23253
23261
|
|
|
23254
23262
|
@property
|
|
23255
23263
|
def Id(self):
|
|
23256
|
-
"""仪表盘订阅id。
|
|
23264
|
+
"""仪表盘订阅id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
|
|
23257
23265
|
:rtype: int
|
|
23258
23266
|
"""
|
|
23259
23267
|
return self._Id
|
|
@@ -23264,7 +23272,7 @@ class ModifyDashboardSubscribeRequest(AbstractModel):
|
|
|
23264
23272
|
|
|
23265
23273
|
@property
|
|
23266
23274
|
def DashboardId(self):
|
|
23267
|
-
"""仪表盘id。
|
|
23275
|
+
"""仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
23268
23276
|
:rtype: str
|
|
23269
23277
|
"""
|
|
23270
23278
|
return self._DashboardId
|
|
@@ -23275,7 +23283,7 @@ class ModifyDashboardSubscribeRequest(AbstractModel):
|
|
|
23275
23283
|
|
|
23276
23284
|
@property
|
|
23277
23285
|
def Name(self):
|
|
23278
|
-
"""
|
|
23286
|
+
"""仪表盘订阅名称。最大支持128个字符,且不支持'|'字符。
|
|
23279
23287
|
:rtype: str
|
|
23280
23288
|
"""
|
|
23281
23289
|
return self._Name
|
|
@@ -28236,13 +28244,13 @@ class SearchDashboardSubscribeRequest(AbstractModel):
|
|
|
28236
28244
|
|
|
28237
28245
|
def __init__(self):
|
|
28238
28246
|
r"""
|
|
28239
|
-
:param _DashboardId: 仪表盘id。
|
|
28247
|
+
:param _DashboardId: 仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
28240
28248
|
:type DashboardId: str
|
|
28241
28249
|
:param _SubscribeData: 仪表盘订阅数据。
|
|
28242
28250
|
:type SubscribeData: :class:`tencentcloud.cls.v20201016.models.DashboardSubscribeData`
|
|
28243
|
-
:param _Id: 仪表盘订阅Id。
|
|
28251
|
+
:param _Id: 仪表盘订阅Id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
|
|
28244
28252
|
:type Id: int
|
|
28245
|
-
:param _Name:
|
|
28253
|
+
:param _Name: 仪表盘订阅名称。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Name。
|
|
28246
28254
|
:type Name: str
|
|
28247
28255
|
"""
|
|
28248
28256
|
self._DashboardId = None
|
|
@@ -28252,7 +28260,7 @@ class SearchDashboardSubscribeRequest(AbstractModel):
|
|
|
28252
28260
|
|
|
28253
28261
|
@property
|
|
28254
28262
|
def DashboardId(self):
|
|
28255
|
-
"""仪表盘id。
|
|
28263
|
+
"""仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
28256
28264
|
:rtype: str
|
|
28257
28265
|
"""
|
|
28258
28266
|
return self._DashboardId
|
|
@@ -28274,7 +28282,7 @@ class SearchDashboardSubscribeRequest(AbstractModel):
|
|
|
28274
28282
|
|
|
28275
28283
|
@property
|
|
28276
28284
|
def Id(self):
|
|
28277
|
-
"""仪表盘订阅Id。
|
|
28285
|
+
"""仪表盘订阅Id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
|
|
28278
28286
|
:rtype: int
|
|
28279
28287
|
"""
|
|
28280
28288
|
return self._Id
|
|
@@ -28285,7 +28293,7 @@ class SearchDashboardSubscribeRequest(AbstractModel):
|
|
|
28285
28293
|
|
|
28286
28294
|
@property
|
|
28287
28295
|
def Name(self):
|
|
28288
|
-
"""
|
|
28296
|
+
"""仪表盘订阅名称。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Name。
|
|
28289
28297
|
:rtype: str
|
|
28290
28298
|
"""
|
|
28291
28299
|
return self._Name
|
|
@@ -11140,6 +11140,8 @@ class DataEngineInfo(AbstractModel):
|
|
|
11140
11140
|
:param _IsAIEngine: 1:AI引擎,0:非AI引擎
|
|
11141
11141
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11142
11142
|
:type IsAIEngine: int
|
|
11143
|
+
:param _ScheduleElasticityConf: 引擎资源弹性伸缩策略
|
|
11144
|
+
:type ScheduleElasticityConf: :class:`tencentcloud.dlc.v20210125.models.ScheduleElasticityConf`
|
|
11143
11145
|
"""
|
|
11144
11146
|
self._DataEngineName = None
|
|
11145
11147
|
self._EngineType = None
|
|
@@ -11200,6 +11202,7 @@ class DataEngineInfo(AbstractModel):
|
|
|
11200
11202
|
self._GatewayState = None
|
|
11201
11203
|
self._IsAIGateway = None
|
|
11202
11204
|
self._IsAIEngine = None
|
|
11205
|
+
self._ScheduleElasticityConf = None
|
|
11203
11206
|
|
|
11204
11207
|
@property
|
|
11205
11208
|
def DataEngineName(self):
|
|
@@ -11896,6 +11899,17 @@ class DataEngineInfo(AbstractModel):
|
|
|
11896
11899
|
def IsAIEngine(self, IsAIEngine):
|
|
11897
11900
|
self._IsAIEngine = IsAIEngine
|
|
11898
11901
|
|
|
11902
|
+
@property
|
|
11903
|
+
def ScheduleElasticityConf(self):
|
|
11904
|
+
"""引擎资源弹性伸缩策略
|
|
11905
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.ScheduleElasticityConf`
|
|
11906
|
+
"""
|
|
11907
|
+
return self._ScheduleElasticityConf
|
|
11908
|
+
|
|
11909
|
+
@ScheduleElasticityConf.setter
|
|
11910
|
+
def ScheduleElasticityConf(self, ScheduleElasticityConf):
|
|
11911
|
+
self._ScheduleElasticityConf = ScheduleElasticityConf
|
|
11912
|
+
|
|
11899
11913
|
|
|
11900
11914
|
def _deserialize(self, params):
|
|
11901
11915
|
self._DataEngineName = params.get("DataEngineName")
|
|
@@ -11976,6 +11990,9 @@ class DataEngineInfo(AbstractModel):
|
|
|
11976
11990
|
self._GatewayState = params.get("GatewayState")
|
|
11977
11991
|
self._IsAIGateway = params.get("IsAIGateway")
|
|
11978
11992
|
self._IsAIEngine = params.get("IsAIEngine")
|
|
11993
|
+
if params.get("ScheduleElasticityConf") is not None:
|
|
11994
|
+
self._ScheduleElasticityConf = ScheduleElasticityConf()
|
|
11995
|
+
self._ScheduleElasticityConf._deserialize(params.get("ScheduleElasticityConf"))
|
|
11979
11996
|
memeber_set = set(params.keys())
|
|
11980
11997
|
for name, value in vars(self).items():
|
|
11981
11998
|
property_name = name[1:]
|
|
@@ -16762,6 +16779,8 @@ class DescribeDataEnginesRequest(AbstractModel):
|
|
|
16762
16779
|
:type EngineGeneration: str
|
|
16763
16780
|
:param _EngineTypeDetail: 引擎类型,支持:SparkSQL、SparkBatch、PrestoSQL、Kyuubi
|
|
16764
16781
|
:type EngineTypeDetail: str
|
|
16782
|
+
:param _ListHasListener: 默认 false, 为 true 时仅列出具有洞察 listener 的引擎
|
|
16783
|
+
:type ListHasListener: bool
|
|
16765
16784
|
"""
|
|
16766
16785
|
self._Offset = None
|
|
16767
16786
|
self._Filters = None
|
|
@@ -16776,6 +16795,7 @@ class DescribeDataEnginesRequest(AbstractModel):
|
|
|
16776
16795
|
self._DatasourceConnectionNameSet = None
|
|
16777
16796
|
self._EngineGeneration = None
|
|
16778
16797
|
self._EngineTypeDetail = None
|
|
16798
|
+
self._ListHasListener = None
|
|
16779
16799
|
|
|
16780
16800
|
@property
|
|
16781
16801
|
def Offset(self):
|
|
@@ -16920,6 +16940,17 @@ class DescribeDataEnginesRequest(AbstractModel):
|
|
|
16920
16940
|
def EngineTypeDetail(self, EngineTypeDetail):
|
|
16921
16941
|
self._EngineTypeDetail = EngineTypeDetail
|
|
16922
16942
|
|
|
16943
|
+
@property
|
|
16944
|
+
def ListHasListener(self):
|
|
16945
|
+
"""默认 false, 为 true 时仅列出具有洞察 listener 的引擎
|
|
16946
|
+
:rtype: bool
|
|
16947
|
+
"""
|
|
16948
|
+
return self._ListHasListener
|
|
16949
|
+
|
|
16950
|
+
@ListHasListener.setter
|
|
16951
|
+
def ListHasListener(self, ListHasListener):
|
|
16952
|
+
self._ListHasListener = ListHasListener
|
|
16953
|
+
|
|
16923
16954
|
|
|
16924
16955
|
def _deserialize(self, params):
|
|
16925
16956
|
self._Offset = params.get("Offset")
|
|
@@ -16940,6 +16971,7 @@ class DescribeDataEnginesRequest(AbstractModel):
|
|
|
16940
16971
|
self._DatasourceConnectionNameSet = params.get("DatasourceConnectionNameSet")
|
|
16941
16972
|
self._EngineGeneration = params.get("EngineGeneration")
|
|
16942
16973
|
self._EngineTypeDetail = params.get("EngineTypeDetail")
|
|
16974
|
+
self._ListHasListener = params.get("ListHasListener")
|
|
16943
16975
|
memeber_set = set(params.keys())
|
|
16944
16976
|
for name, value in vars(self).items():
|
|
16945
16977
|
property_name = name[1:]
|
|
@@ -25584,6 +25616,102 @@ class DropDMSTableResponse(AbstractModel):
|
|
|
25584
25616
|
self._RequestId = params.get("RequestId")
|
|
25585
25617
|
|
|
25586
25618
|
|
|
25619
|
+
class ElasticPlan(AbstractModel):
|
|
25620
|
+
"""引擎资源弹性伸缩计划
|
|
25621
|
+
|
|
25622
|
+
"""
|
|
25623
|
+
|
|
25624
|
+
def __init__(self):
|
|
25625
|
+
r"""
|
|
25626
|
+
:param _MinElasticClusters: 最小集群数
|
|
25627
|
+
:type MinElasticClusters: int
|
|
25628
|
+
:param _MaxElasticClusters: 最大集群数
|
|
25629
|
+
:type MaxElasticClusters: int
|
|
25630
|
+
:param _TolerableQueueTime: 最大排队时间
|
|
25631
|
+
:type TolerableQueueTime: int
|
|
25632
|
+
:param _StartTime: 开始时间,Once格式:yyyy-MM-dd HH:mm:ss; 非Once格式: HH:mm:ss
|
|
25633
|
+
:type StartTime: str
|
|
25634
|
+
:param _EndTime: 结束时间,Once格式:yyyy-MM-dd HH:mm:ss; 非Once格式: HH:mm:ss
|
|
25635
|
+
:type EndTime: str
|
|
25636
|
+
"""
|
|
25637
|
+
self._MinElasticClusters = None
|
|
25638
|
+
self._MaxElasticClusters = None
|
|
25639
|
+
self._TolerableQueueTime = None
|
|
25640
|
+
self._StartTime = None
|
|
25641
|
+
self._EndTime = None
|
|
25642
|
+
|
|
25643
|
+
@property
|
|
25644
|
+
def MinElasticClusters(self):
|
|
25645
|
+
"""最小集群数
|
|
25646
|
+
:rtype: int
|
|
25647
|
+
"""
|
|
25648
|
+
return self._MinElasticClusters
|
|
25649
|
+
|
|
25650
|
+
@MinElasticClusters.setter
|
|
25651
|
+
def MinElasticClusters(self, MinElasticClusters):
|
|
25652
|
+
self._MinElasticClusters = MinElasticClusters
|
|
25653
|
+
|
|
25654
|
+
@property
|
|
25655
|
+
def MaxElasticClusters(self):
|
|
25656
|
+
"""最大集群数
|
|
25657
|
+
:rtype: int
|
|
25658
|
+
"""
|
|
25659
|
+
return self._MaxElasticClusters
|
|
25660
|
+
|
|
25661
|
+
@MaxElasticClusters.setter
|
|
25662
|
+
def MaxElasticClusters(self, MaxElasticClusters):
|
|
25663
|
+
self._MaxElasticClusters = MaxElasticClusters
|
|
25664
|
+
|
|
25665
|
+
@property
|
|
25666
|
+
def TolerableQueueTime(self):
|
|
25667
|
+
"""最大排队时间
|
|
25668
|
+
:rtype: int
|
|
25669
|
+
"""
|
|
25670
|
+
return self._TolerableQueueTime
|
|
25671
|
+
|
|
25672
|
+
@TolerableQueueTime.setter
|
|
25673
|
+
def TolerableQueueTime(self, TolerableQueueTime):
|
|
25674
|
+
self._TolerableQueueTime = TolerableQueueTime
|
|
25675
|
+
|
|
25676
|
+
@property
|
|
25677
|
+
def StartTime(self):
|
|
25678
|
+
"""开始时间,Once格式:yyyy-MM-dd HH:mm:ss; 非Once格式: HH:mm:ss
|
|
25679
|
+
:rtype: str
|
|
25680
|
+
"""
|
|
25681
|
+
return self._StartTime
|
|
25682
|
+
|
|
25683
|
+
@StartTime.setter
|
|
25684
|
+
def StartTime(self, StartTime):
|
|
25685
|
+
self._StartTime = StartTime
|
|
25686
|
+
|
|
25687
|
+
@property
|
|
25688
|
+
def EndTime(self):
|
|
25689
|
+
"""结束时间,Once格式:yyyy-MM-dd HH:mm:ss; 非Once格式: HH:mm:ss
|
|
25690
|
+
:rtype: str
|
|
25691
|
+
"""
|
|
25692
|
+
return self._EndTime
|
|
25693
|
+
|
|
25694
|
+
@EndTime.setter
|
|
25695
|
+
def EndTime(self, EndTime):
|
|
25696
|
+
self._EndTime = EndTime
|
|
25697
|
+
|
|
25698
|
+
|
|
25699
|
+
def _deserialize(self, params):
|
|
25700
|
+
self._MinElasticClusters = params.get("MinElasticClusters")
|
|
25701
|
+
self._MaxElasticClusters = params.get("MaxElasticClusters")
|
|
25702
|
+
self._TolerableQueueTime = params.get("TolerableQueueTime")
|
|
25703
|
+
self._StartTime = params.get("StartTime")
|
|
25704
|
+
self._EndTime = params.get("EndTime")
|
|
25705
|
+
memeber_set = set(params.keys())
|
|
25706
|
+
for name, value in vars(self).items():
|
|
25707
|
+
property_name = name[1:]
|
|
25708
|
+
if property_name in memeber_set:
|
|
25709
|
+
memeber_set.remove(property_name)
|
|
25710
|
+
if len(memeber_set) > 0:
|
|
25711
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25712
|
+
|
|
25713
|
+
|
|
25714
|
+
|
|
25587
25715
|
class ElasticsearchInfo(AbstractModel):
|
|
25588
25716
|
"""Elasticsearch数据源的详细信息
|
|
25589
25717
|
|
|
@@ -33367,6 +33495,107 @@ class SQLTask(AbstractModel):
|
|
|
33367
33495
|
|
|
33368
33496
|
|
|
33369
33497
|
|
|
33498
|
+
class ScheduleElasticityConf(AbstractModel):
|
|
33499
|
+
"""引擎资源弹性伸缩策略
|
|
33500
|
+
|
|
33501
|
+
"""
|
|
33502
|
+
|
|
33503
|
+
def __init__(self):
|
|
33504
|
+
r"""
|
|
33505
|
+
:param _ScheduledElasticityEnabled: 是否开启弹性伸缩:true/false
|
|
33506
|
+
:type ScheduledElasticityEnabled: bool
|
|
33507
|
+
:param _ScheduleType: 调度类型:ONCE(一次性调度),DAILY(每日调度),WEEKLY(每周调度),MONTHLY(每月调度)
|
|
33508
|
+
:type ScheduleType: str
|
|
33509
|
+
:param _ScheduleDays: 调度日期:WEEKLY传:1~7; MONTHLY传:1~31;其它类型不传
|
|
33510
|
+
:type ScheduleDays: list of int
|
|
33511
|
+
:param _TimeZone: 调度时区
|
|
33512
|
+
:type TimeZone: str
|
|
33513
|
+
:param _ElasticPlans: 弹性伸缩计划
|
|
33514
|
+
:type ElasticPlans: list of ElasticPlan
|
|
33515
|
+
"""
|
|
33516
|
+
self._ScheduledElasticityEnabled = None
|
|
33517
|
+
self._ScheduleType = None
|
|
33518
|
+
self._ScheduleDays = None
|
|
33519
|
+
self._TimeZone = None
|
|
33520
|
+
self._ElasticPlans = None
|
|
33521
|
+
|
|
33522
|
+
@property
|
|
33523
|
+
def ScheduledElasticityEnabled(self):
|
|
33524
|
+
"""是否开启弹性伸缩:true/false
|
|
33525
|
+
:rtype: bool
|
|
33526
|
+
"""
|
|
33527
|
+
return self._ScheduledElasticityEnabled
|
|
33528
|
+
|
|
33529
|
+
@ScheduledElasticityEnabled.setter
|
|
33530
|
+
def ScheduledElasticityEnabled(self, ScheduledElasticityEnabled):
|
|
33531
|
+
self._ScheduledElasticityEnabled = ScheduledElasticityEnabled
|
|
33532
|
+
|
|
33533
|
+
@property
|
|
33534
|
+
def ScheduleType(self):
|
|
33535
|
+
"""调度类型:ONCE(一次性调度),DAILY(每日调度),WEEKLY(每周调度),MONTHLY(每月调度)
|
|
33536
|
+
:rtype: str
|
|
33537
|
+
"""
|
|
33538
|
+
return self._ScheduleType
|
|
33539
|
+
|
|
33540
|
+
@ScheduleType.setter
|
|
33541
|
+
def ScheduleType(self, ScheduleType):
|
|
33542
|
+
self._ScheduleType = ScheduleType
|
|
33543
|
+
|
|
33544
|
+
@property
|
|
33545
|
+
def ScheduleDays(self):
|
|
33546
|
+
"""调度日期:WEEKLY传:1~7; MONTHLY传:1~31;其它类型不传
|
|
33547
|
+
:rtype: list of int
|
|
33548
|
+
"""
|
|
33549
|
+
return self._ScheduleDays
|
|
33550
|
+
|
|
33551
|
+
@ScheduleDays.setter
|
|
33552
|
+
def ScheduleDays(self, ScheduleDays):
|
|
33553
|
+
self._ScheduleDays = ScheduleDays
|
|
33554
|
+
|
|
33555
|
+
@property
|
|
33556
|
+
def TimeZone(self):
|
|
33557
|
+
"""调度时区
|
|
33558
|
+
:rtype: str
|
|
33559
|
+
"""
|
|
33560
|
+
return self._TimeZone
|
|
33561
|
+
|
|
33562
|
+
@TimeZone.setter
|
|
33563
|
+
def TimeZone(self, TimeZone):
|
|
33564
|
+
self._TimeZone = TimeZone
|
|
33565
|
+
|
|
33566
|
+
@property
|
|
33567
|
+
def ElasticPlans(self):
|
|
33568
|
+
"""弹性伸缩计划
|
|
33569
|
+
:rtype: list of ElasticPlan
|
|
33570
|
+
"""
|
|
33571
|
+
return self._ElasticPlans
|
|
33572
|
+
|
|
33573
|
+
@ElasticPlans.setter
|
|
33574
|
+
def ElasticPlans(self, ElasticPlans):
|
|
33575
|
+
self._ElasticPlans = ElasticPlans
|
|
33576
|
+
|
|
33577
|
+
|
|
33578
|
+
def _deserialize(self, params):
|
|
33579
|
+
self._ScheduledElasticityEnabled = params.get("ScheduledElasticityEnabled")
|
|
33580
|
+
self._ScheduleType = params.get("ScheduleType")
|
|
33581
|
+
self._ScheduleDays = params.get("ScheduleDays")
|
|
33582
|
+
self._TimeZone = params.get("TimeZone")
|
|
33583
|
+
if params.get("ElasticPlans") is not None:
|
|
33584
|
+
self._ElasticPlans = []
|
|
33585
|
+
for item in params.get("ElasticPlans"):
|
|
33586
|
+
obj = ElasticPlan()
|
|
33587
|
+
obj._deserialize(item)
|
|
33588
|
+
self._ElasticPlans.append(obj)
|
|
33589
|
+
memeber_set = set(params.keys())
|
|
33590
|
+
for name, value in vars(self).items():
|
|
33591
|
+
property_name = name[1:]
|
|
33592
|
+
if property_name in memeber_set:
|
|
33593
|
+
memeber_set.remove(property_name)
|
|
33594
|
+
if len(memeber_set) > 0:
|
|
33595
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33596
|
+
|
|
33597
|
+
|
|
33598
|
+
|
|
33370
33599
|
class Script(AbstractModel):
|
|
33371
33600
|
"""script实例。
|
|
33372
33601
|
|
|
@@ -39652,6 +39881,8 @@ class UpdateDataEngineRequest(AbstractModel):
|
|
|
39652
39881
|
:type ElasticLimit: int
|
|
39653
39882
|
:param _SessionResourceTemplate: Spark批作业集群Session资源配置模板
|
|
39654
39883
|
:type SessionResourceTemplate: :class:`tencentcloud.dlc.v20210125.models.SessionResourceTemplate`
|
|
39884
|
+
:param _ScheduleElasticityConf: 引擎资源弹性伸缩策略
|
|
39885
|
+
:type ScheduleElasticityConf: :class:`tencentcloud.dlc.v20210125.models.ScheduleElasticityConf`
|
|
39655
39886
|
"""
|
|
39656
39887
|
self._Size = None
|
|
39657
39888
|
self._MinClusters = None
|
|
@@ -39668,6 +39899,7 @@ class UpdateDataEngineRequest(AbstractModel):
|
|
|
39668
39899
|
self._ElasticSwitch = None
|
|
39669
39900
|
self._ElasticLimit = None
|
|
39670
39901
|
self._SessionResourceTemplate = None
|
|
39902
|
+
self._ScheduleElasticityConf = None
|
|
39671
39903
|
|
|
39672
39904
|
@property
|
|
39673
39905
|
def Size(self):
|
|
@@ -39834,6 +40066,17 @@ class UpdateDataEngineRequest(AbstractModel):
|
|
|
39834
40066
|
def SessionResourceTemplate(self, SessionResourceTemplate):
|
|
39835
40067
|
self._SessionResourceTemplate = SessionResourceTemplate
|
|
39836
40068
|
|
|
40069
|
+
@property
|
|
40070
|
+
def ScheduleElasticityConf(self):
|
|
40071
|
+
"""引擎资源弹性伸缩策略
|
|
40072
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.ScheduleElasticityConf`
|
|
40073
|
+
"""
|
|
40074
|
+
return self._ScheduleElasticityConf
|
|
40075
|
+
|
|
40076
|
+
@ScheduleElasticityConf.setter
|
|
40077
|
+
def ScheduleElasticityConf(self, ScheduleElasticityConf):
|
|
40078
|
+
self._ScheduleElasticityConf = ScheduleElasticityConf
|
|
40079
|
+
|
|
39837
40080
|
|
|
39838
40081
|
def _deserialize(self, params):
|
|
39839
40082
|
self._Size = params.get("Size")
|
|
@@ -39855,6 +40098,9 @@ class UpdateDataEngineRequest(AbstractModel):
|
|
|
39855
40098
|
if params.get("SessionResourceTemplate") is not None:
|
|
39856
40099
|
self._SessionResourceTemplate = SessionResourceTemplate()
|
|
39857
40100
|
self._SessionResourceTemplate._deserialize(params.get("SessionResourceTemplate"))
|
|
40101
|
+
if params.get("ScheduleElasticityConf") is not None:
|
|
40102
|
+
self._ScheduleElasticityConf = ScheduleElasticityConf()
|
|
40103
|
+
self._ScheduleElasticityConf._deserialize(params.get("ScheduleElasticityConf"))
|
|
39858
40104
|
memeber_set = set(params.keys())
|
|
39859
40105
|
for name, value in vars(self).items():
|
|
39860
40106
|
property_name = name[1:]
|
|
@@ -220,7 +220,7 @@ class EssClient(AbstractClient):
|
|
|
220
220
|
|
|
221
221
|
注:
|
|
222
222
|
1. PDF格式限制大小为10M以下
|
|
223
|
-
2. 仅支持5
|
|
223
|
+
2. 仅支持5份PDF文件批量发起(一份PDF对应一个审查任务)
|
|
224
224
|
|
|
225
225
|
:param request: Request instance for CreateBatchContractReviewTask.
|
|
226
226
|
:type request: :class:`tencentcloud.ess.v20201111.models.CreateBatchContractReviewTaskRequest`
|
|
@@ -249,7 +249,7 @@ class EssClient(AbstractClient):
|
|
|
249
249
|
|
|
250
250
|
注:
|
|
251
251
|
1. PDF格式限制大小为10M以下
|
|
252
|
-
2. 仅支持5个PDF
|
|
252
|
+
2. 仅支持5个PDF文件批量发起(一份PDF对应一个合同提取任务)
|
|
253
253
|
|
|
254
254
|
:param request: Request instance for CreateBatchInformationExtractionTask.
|
|
255
255
|
:type request: :class:`tencentcloud.ess.v20201111.models.CreateBatchInformationExtractionTaskRequest`
|
|
@@ -1521,7 +1521,7 @@ class EssClient(AbstractClient):
|
|
|
1521
1521
|
"""本接口(CreateModifyAdminAuthorizationUrl)用于重新上传超管授权书。
|
|
1522
1522
|
|
|
1523
1523
|
注意:
|
|
1524
|
-
1. 重新上传超管授权书,必须是审核失败的情况下才能重新上传,可以通过回调[
|
|
1524
|
+
1. 重新上传超管授权书,必须是审核失败的情况下才能重新上传,可以通过回调[!企业认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到授权书是否审核失败的结果。
|
|
1525
1525
|
|
|
1526
1526
|
:param request: Request instance for CreateModifyAdminAuthorizationUrl.
|
|
1527
1527
|
:type request: :class:`tencentcloud.ess.v20201111.models.CreateModifyAdminAuthorizationUrlRequest`
|
|
@@ -4370,7 +4370,9 @@ class CreateBatchInformationExtractionTaskRequest(AbstractModel):
|
|
|
4370
4370
|
:param _Operator: 执行合同智能提取的员工信息。
|
|
4371
4371
|
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
4372
4372
|
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
4373
|
-
:param _ResourceIds: 合同智能提取的PDF文件资源编号列表,通过[UploadFiles](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口获取PDF文件资源编号。
|
|
4373
|
+
:param _ResourceIds: 合同智能提取的PDF文件资源编号列表,通过[UploadFiles](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口获取PDF文件资源编号。
|
|
4374
|
+
|
|
4375
|
+
注: `目前,此接口仅支持5个文件发起。每个文件限制在10M以下`
|
|
4374
4376
|
:type ResourceIds: list of str
|
|
4375
4377
|
:param _Agent: 代理企业和员工的信息。
|
|
4376
4378
|
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
@@ -4405,7 +4407,9 @@ class CreateBatchInformationExtractionTaskRequest(AbstractModel):
|
|
|
4405
4407
|
|
|
4406
4408
|
@property
|
|
4407
4409
|
def ResourceIds(self):
|
|
4408
|
-
"""合同智能提取的PDF文件资源编号列表,通过[UploadFiles](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口获取PDF文件资源编号。
|
|
4410
|
+
"""合同智能提取的PDF文件资源编号列表,通过[UploadFiles](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口获取PDF文件资源编号。
|
|
4411
|
+
|
|
4412
|
+
注: `目前,此接口仅支持5个文件发起。每个文件限制在10M以下`
|
|
4409
4413
|
:rtype: list of str
|
|
4410
4414
|
"""
|
|
4411
4415
|
return self._ResourceIds
|
|
@@ -20449,7 +20453,7 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
|
20449
20453
|
<li>**2** - 合同审查任务排队中</li>
|
|
20450
20454
|
<li>**3** - 合同审查任务执行中</li>
|
|
20451
20455
|
<li>**4** - 合同审查任务执行成功</li>
|
|
20452
|
-
<li>**
|
|
20456
|
+
<li>**5** - 合同审查任务执行失败</li>
|
|
20453
20457
|
</ul>
|
|
20454
20458
|
:type Status: int
|
|
20455
20459
|
:param _TaskId: 合同审查任务ID
|
|
@@ -20563,7 +20567,7 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
|
20563
20567
|
<li>**2** - 合同审查任务排队中</li>
|
|
20564
20568
|
<li>**3** - 合同审查任务执行中</li>
|
|
20565
20569
|
<li>**4** - 合同审查任务执行成功</li>
|
|
20566
|
-
<li>**
|
|
20570
|
+
<li>**5** - 合同审查任务执行失败</li>
|
|
20567
20571
|
</ul>
|
|
20568
20572
|
:rtype: int
|
|
20569
20573
|
"""
|