tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -5259,6 +5259,227 @@ class CreateDatabaseResponse(AbstractModel):
|
|
|
5259
5259
|
self._RequestId = params.get("RequestId")
|
|
5260
5260
|
|
|
5261
5261
|
|
|
5262
|
+
class CreateDatasourceConnectionRequest(AbstractModel):
|
|
5263
|
+
r"""CreateDatasourceConnection请求参数结构体
|
|
5264
|
+
|
|
5265
|
+
"""
|
|
5266
|
+
|
|
5267
|
+
def __init__(self):
|
|
5268
|
+
r"""
|
|
5269
|
+
:param _DatasourceConnectionName: 数据连接名称
|
|
5270
|
+
:type DatasourceConnectionName: str
|
|
5271
|
+
:param _DatasourceConnectionType: 数据连接类型
|
|
5272
|
+
:type DatasourceConnectionType: str
|
|
5273
|
+
:param _DatasourceConnectionConfig: 数据连接属性
|
|
5274
|
+
:type DatasourceConnectionConfig: :class:`tencentcloud.dlc.v20210125.models.DatasourceConnectionConfig`
|
|
5275
|
+
:param _ServiceType: 数据连接所属服务
|
|
5276
|
+
:type ServiceType: str
|
|
5277
|
+
:param _DatasourceConnectionDesc: 数据连接描述
|
|
5278
|
+
:type DatasourceConnectionDesc: str
|
|
5279
|
+
:param _DataEngineNames: 数据引擎名称数组
|
|
5280
|
+
:type DataEngineNames: list of str
|
|
5281
|
+
:param _NetworkConnectionName: 网络连接名称
|
|
5282
|
+
:type NetworkConnectionName: str
|
|
5283
|
+
:param _NetworkConnectionDesc: 网络连接描述
|
|
5284
|
+
:type NetworkConnectionDesc: str
|
|
5285
|
+
:param _NetworkConnectionType: 网络连接类型 (2-夸源型,4-增强型)
|
|
5286
|
+
:type NetworkConnectionType: int
|
|
5287
|
+
:param _CustomConfig: 自定义配置
|
|
5288
|
+
:type CustomConfig: list of CustomConfig
|
|
5289
|
+
"""
|
|
5290
|
+
self._DatasourceConnectionName = None
|
|
5291
|
+
self._DatasourceConnectionType = None
|
|
5292
|
+
self._DatasourceConnectionConfig = None
|
|
5293
|
+
self._ServiceType = None
|
|
5294
|
+
self._DatasourceConnectionDesc = None
|
|
5295
|
+
self._DataEngineNames = None
|
|
5296
|
+
self._NetworkConnectionName = None
|
|
5297
|
+
self._NetworkConnectionDesc = None
|
|
5298
|
+
self._NetworkConnectionType = None
|
|
5299
|
+
self._CustomConfig = None
|
|
5300
|
+
|
|
5301
|
+
@property
|
|
5302
|
+
def DatasourceConnectionName(self):
|
|
5303
|
+
r"""数据连接名称
|
|
5304
|
+
:rtype: str
|
|
5305
|
+
"""
|
|
5306
|
+
return self._DatasourceConnectionName
|
|
5307
|
+
|
|
5308
|
+
@DatasourceConnectionName.setter
|
|
5309
|
+
def DatasourceConnectionName(self, DatasourceConnectionName):
|
|
5310
|
+
self._DatasourceConnectionName = DatasourceConnectionName
|
|
5311
|
+
|
|
5312
|
+
@property
|
|
5313
|
+
def DatasourceConnectionType(self):
|
|
5314
|
+
r"""数据连接类型
|
|
5315
|
+
:rtype: str
|
|
5316
|
+
"""
|
|
5317
|
+
return self._DatasourceConnectionType
|
|
5318
|
+
|
|
5319
|
+
@DatasourceConnectionType.setter
|
|
5320
|
+
def DatasourceConnectionType(self, DatasourceConnectionType):
|
|
5321
|
+
self._DatasourceConnectionType = DatasourceConnectionType
|
|
5322
|
+
|
|
5323
|
+
@property
|
|
5324
|
+
def DatasourceConnectionConfig(self):
|
|
5325
|
+
r"""数据连接属性
|
|
5326
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DatasourceConnectionConfig`
|
|
5327
|
+
"""
|
|
5328
|
+
return self._DatasourceConnectionConfig
|
|
5329
|
+
|
|
5330
|
+
@DatasourceConnectionConfig.setter
|
|
5331
|
+
def DatasourceConnectionConfig(self, DatasourceConnectionConfig):
|
|
5332
|
+
self._DatasourceConnectionConfig = DatasourceConnectionConfig
|
|
5333
|
+
|
|
5334
|
+
@property
|
|
5335
|
+
def ServiceType(self):
|
|
5336
|
+
r"""数据连接所属服务
|
|
5337
|
+
:rtype: str
|
|
5338
|
+
"""
|
|
5339
|
+
return self._ServiceType
|
|
5340
|
+
|
|
5341
|
+
@ServiceType.setter
|
|
5342
|
+
def ServiceType(self, ServiceType):
|
|
5343
|
+
self._ServiceType = ServiceType
|
|
5344
|
+
|
|
5345
|
+
@property
|
|
5346
|
+
def DatasourceConnectionDesc(self):
|
|
5347
|
+
r"""数据连接描述
|
|
5348
|
+
:rtype: str
|
|
5349
|
+
"""
|
|
5350
|
+
return self._DatasourceConnectionDesc
|
|
5351
|
+
|
|
5352
|
+
@DatasourceConnectionDesc.setter
|
|
5353
|
+
def DatasourceConnectionDesc(self, DatasourceConnectionDesc):
|
|
5354
|
+
self._DatasourceConnectionDesc = DatasourceConnectionDesc
|
|
5355
|
+
|
|
5356
|
+
@property
|
|
5357
|
+
def DataEngineNames(self):
|
|
5358
|
+
r"""数据引擎名称数组
|
|
5359
|
+
:rtype: list of str
|
|
5360
|
+
"""
|
|
5361
|
+
return self._DataEngineNames
|
|
5362
|
+
|
|
5363
|
+
@DataEngineNames.setter
|
|
5364
|
+
def DataEngineNames(self, DataEngineNames):
|
|
5365
|
+
self._DataEngineNames = DataEngineNames
|
|
5366
|
+
|
|
5367
|
+
@property
|
|
5368
|
+
def NetworkConnectionName(self):
|
|
5369
|
+
r"""网络连接名称
|
|
5370
|
+
:rtype: str
|
|
5371
|
+
"""
|
|
5372
|
+
return self._NetworkConnectionName
|
|
5373
|
+
|
|
5374
|
+
@NetworkConnectionName.setter
|
|
5375
|
+
def NetworkConnectionName(self, NetworkConnectionName):
|
|
5376
|
+
self._NetworkConnectionName = NetworkConnectionName
|
|
5377
|
+
|
|
5378
|
+
@property
|
|
5379
|
+
def NetworkConnectionDesc(self):
|
|
5380
|
+
r"""网络连接描述
|
|
5381
|
+
:rtype: str
|
|
5382
|
+
"""
|
|
5383
|
+
return self._NetworkConnectionDesc
|
|
5384
|
+
|
|
5385
|
+
@NetworkConnectionDesc.setter
|
|
5386
|
+
def NetworkConnectionDesc(self, NetworkConnectionDesc):
|
|
5387
|
+
self._NetworkConnectionDesc = NetworkConnectionDesc
|
|
5388
|
+
|
|
5389
|
+
@property
|
|
5390
|
+
def NetworkConnectionType(self):
|
|
5391
|
+
r"""网络连接类型 (2-夸源型,4-增强型)
|
|
5392
|
+
:rtype: int
|
|
5393
|
+
"""
|
|
5394
|
+
return self._NetworkConnectionType
|
|
5395
|
+
|
|
5396
|
+
@NetworkConnectionType.setter
|
|
5397
|
+
def NetworkConnectionType(self, NetworkConnectionType):
|
|
5398
|
+
self._NetworkConnectionType = NetworkConnectionType
|
|
5399
|
+
|
|
5400
|
+
@property
|
|
5401
|
+
def CustomConfig(self):
|
|
5402
|
+
r"""自定义配置
|
|
5403
|
+
:rtype: list of CustomConfig
|
|
5404
|
+
"""
|
|
5405
|
+
return self._CustomConfig
|
|
5406
|
+
|
|
5407
|
+
@CustomConfig.setter
|
|
5408
|
+
def CustomConfig(self, CustomConfig):
|
|
5409
|
+
self._CustomConfig = CustomConfig
|
|
5410
|
+
|
|
5411
|
+
|
|
5412
|
+
def _deserialize(self, params):
|
|
5413
|
+
self._DatasourceConnectionName = params.get("DatasourceConnectionName")
|
|
5414
|
+
self._DatasourceConnectionType = params.get("DatasourceConnectionType")
|
|
5415
|
+
if params.get("DatasourceConnectionConfig") is not None:
|
|
5416
|
+
self._DatasourceConnectionConfig = DatasourceConnectionConfig()
|
|
5417
|
+
self._DatasourceConnectionConfig._deserialize(params.get("DatasourceConnectionConfig"))
|
|
5418
|
+
self._ServiceType = params.get("ServiceType")
|
|
5419
|
+
self._DatasourceConnectionDesc = params.get("DatasourceConnectionDesc")
|
|
5420
|
+
self._DataEngineNames = params.get("DataEngineNames")
|
|
5421
|
+
self._NetworkConnectionName = params.get("NetworkConnectionName")
|
|
5422
|
+
self._NetworkConnectionDesc = params.get("NetworkConnectionDesc")
|
|
5423
|
+
self._NetworkConnectionType = params.get("NetworkConnectionType")
|
|
5424
|
+
if params.get("CustomConfig") is not None:
|
|
5425
|
+
self._CustomConfig = []
|
|
5426
|
+
for item in params.get("CustomConfig"):
|
|
5427
|
+
obj = CustomConfig()
|
|
5428
|
+
obj._deserialize(item)
|
|
5429
|
+
self._CustomConfig.append(obj)
|
|
5430
|
+
memeber_set = set(params.keys())
|
|
5431
|
+
for name, value in vars(self).items():
|
|
5432
|
+
property_name = name[1:]
|
|
5433
|
+
if property_name in memeber_set:
|
|
5434
|
+
memeber_set.remove(property_name)
|
|
5435
|
+
if len(memeber_set) > 0:
|
|
5436
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5437
|
+
|
|
5438
|
+
|
|
5439
|
+
|
|
5440
|
+
class CreateDatasourceConnectionResponse(AbstractModel):
|
|
5441
|
+
r"""CreateDatasourceConnection返回参数结构体
|
|
5442
|
+
|
|
5443
|
+
"""
|
|
5444
|
+
|
|
5445
|
+
def __init__(self):
|
|
5446
|
+
r"""
|
|
5447
|
+
:param _DatasourceConnectionId: 数据连接Id
|
|
5448
|
+
:type DatasourceConnectionId: str
|
|
5449
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5450
|
+
:type RequestId: str
|
|
5451
|
+
"""
|
|
5452
|
+
self._DatasourceConnectionId = None
|
|
5453
|
+
self._RequestId = None
|
|
5454
|
+
|
|
5455
|
+
@property
|
|
5456
|
+
def DatasourceConnectionId(self):
|
|
5457
|
+
r"""数据连接Id
|
|
5458
|
+
:rtype: str
|
|
5459
|
+
"""
|
|
5460
|
+
return self._DatasourceConnectionId
|
|
5461
|
+
|
|
5462
|
+
@DatasourceConnectionId.setter
|
|
5463
|
+
def DatasourceConnectionId(self, DatasourceConnectionId):
|
|
5464
|
+
self._DatasourceConnectionId = DatasourceConnectionId
|
|
5465
|
+
|
|
5466
|
+
@property
|
|
5467
|
+
def RequestId(self):
|
|
5468
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5469
|
+
:rtype: str
|
|
5470
|
+
"""
|
|
5471
|
+
return self._RequestId
|
|
5472
|
+
|
|
5473
|
+
@RequestId.setter
|
|
5474
|
+
def RequestId(self, RequestId):
|
|
5475
|
+
self._RequestId = RequestId
|
|
5476
|
+
|
|
5477
|
+
|
|
5478
|
+
def _deserialize(self, params):
|
|
5479
|
+
self._DatasourceConnectionId = params.get("DatasourceConnectionId")
|
|
5480
|
+
self._RequestId = params.get("RequestId")
|
|
5481
|
+
|
|
5482
|
+
|
|
5262
5483
|
class CreateExportTaskRequest(AbstractModel):
|
|
5263
5484
|
r"""CreateExportTask请求参数结构体
|
|
5264
5485
|
|
|
@@ -11649,6 +11870,20 @@ class DataEngineInfo(AbstractModel):
|
|
|
11649
11870
|
:type IsAIEngine: int
|
|
11650
11871
|
:param _ScheduleElasticityConf: 引擎资源弹性伸缩策略
|
|
11651
11872
|
:type ScheduleElasticityConf: :class:`tencentcloud.dlc.v20210125.models.ScheduleElasticityConf`
|
|
11873
|
+
:param _GPUInfo: GPU 信息
|
|
11874
|
+
:type GPUInfo: :class:`tencentcloud.dlc.v20210125.models.GPUInfo`
|
|
11875
|
+
:param _EngineResourceUsedGPU: GPU 使用量
|
|
11876
|
+
:type EngineResourceUsedGPU: int
|
|
11877
|
+
:param _GPUTotalSize: GPU 总规格
|
|
11878
|
+
:type GPUTotalSize: int
|
|
11879
|
+
:param _InstanceModel: GPU 机型
|
|
11880
|
+
:type InstanceModel: str
|
|
11881
|
+
:param _NodeNum: 节点数量
|
|
11882
|
+
:type NodeNum: int
|
|
11883
|
+
:param _SizeWithElastic: 引擎规格,包含负载弹性或分时弹性
|
|
11884
|
+
:type SizeWithElastic: int
|
|
11885
|
+
:param _MaxElasticSize: 最大弹性值,包含负载弹性或分时弹性
|
|
11886
|
+
:type MaxElasticSize: int
|
|
11652
11887
|
"""
|
|
11653
11888
|
self._DataEngineName = None
|
|
11654
11889
|
self._EngineType = None
|
|
@@ -11710,6 +11945,13 @@ class DataEngineInfo(AbstractModel):
|
|
|
11710
11945
|
self._IsAIGateway = None
|
|
11711
11946
|
self._IsAIEngine = None
|
|
11712
11947
|
self._ScheduleElasticityConf = None
|
|
11948
|
+
self._GPUInfo = None
|
|
11949
|
+
self._EngineResourceUsedGPU = None
|
|
11950
|
+
self._GPUTotalSize = None
|
|
11951
|
+
self._InstanceModel = None
|
|
11952
|
+
self._NodeNum = None
|
|
11953
|
+
self._SizeWithElastic = None
|
|
11954
|
+
self._MaxElasticSize = None
|
|
11713
11955
|
|
|
11714
11956
|
@property
|
|
11715
11957
|
def DataEngineName(self):
|
|
@@ -12417,6 +12659,83 @@ class DataEngineInfo(AbstractModel):
|
|
|
12417
12659
|
def ScheduleElasticityConf(self, ScheduleElasticityConf):
|
|
12418
12660
|
self._ScheduleElasticityConf = ScheduleElasticityConf
|
|
12419
12661
|
|
|
12662
|
+
@property
|
|
12663
|
+
def GPUInfo(self):
|
|
12664
|
+
r"""GPU 信息
|
|
12665
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.GPUInfo`
|
|
12666
|
+
"""
|
|
12667
|
+
return self._GPUInfo
|
|
12668
|
+
|
|
12669
|
+
@GPUInfo.setter
|
|
12670
|
+
def GPUInfo(self, GPUInfo):
|
|
12671
|
+
self._GPUInfo = GPUInfo
|
|
12672
|
+
|
|
12673
|
+
@property
|
|
12674
|
+
def EngineResourceUsedGPU(self):
|
|
12675
|
+
r"""GPU 使用量
|
|
12676
|
+
:rtype: int
|
|
12677
|
+
"""
|
|
12678
|
+
return self._EngineResourceUsedGPU
|
|
12679
|
+
|
|
12680
|
+
@EngineResourceUsedGPU.setter
|
|
12681
|
+
def EngineResourceUsedGPU(self, EngineResourceUsedGPU):
|
|
12682
|
+
self._EngineResourceUsedGPU = EngineResourceUsedGPU
|
|
12683
|
+
|
|
12684
|
+
@property
|
|
12685
|
+
def GPUTotalSize(self):
|
|
12686
|
+
r"""GPU 总规格
|
|
12687
|
+
:rtype: int
|
|
12688
|
+
"""
|
|
12689
|
+
return self._GPUTotalSize
|
|
12690
|
+
|
|
12691
|
+
@GPUTotalSize.setter
|
|
12692
|
+
def GPUTotalSize(self, GPUTotalSize):
|
|
12693
|
+
self._GPUTotalSize = GPUTotalSize
|
|
12694
|
+
|
|
12695
|
+
@property
|
|
12696
|
+
def InstanceModel(self):
|
|
12697
|
+
r"""GPU 机型
|
|
12698
|
+
:rtype: str
|
|
12699
|
+
"""
|
|
12700
|
+
return self._InstanceModel
|
|
12701
|
+
|
|
12702
|
+
@InstanceModel.setter
|
|
12703
|
+
def InstanceModel(self, InstanceModel):
|
|
12704
|
+
self._InstanceModel = InstanceModel
|
|
12705
|
+
|
|
12706
|
+
@property
|
|
12707
|
+
def NodeNum(self):
|
|
12708
|
+
r"""节点数量
|
|
12709
|
+
:rtype: int
|
|
12710
|
+
"""
|
|
12711
|
+
return self._NodeNum
|
|
12712
|
+
|
|
12713
|
+
@NodeNum.setter
|
|
12714
|
+
def NodeNum(self, NodeNum):
|
|
12715
|
+
self._NodeNum = NodeNum
|
|
12716
|
+
|
|
12717
|
+
@property
|
|
12718
|
+
def SizeWithElastic(self):
|
|
12719
|
+
r"""引擎规格,包含负载弹性或分时弹性
|
|
12720
|
+
:rtype: int
|
|
12721
|
+
"""
|
|
12722
|
+
return self._SizeWithElastic
|
|
12723
|
+
|
|
12724
|
+
@SizeWithElastic.setter
|
|
12725
|
+
def SizeWithElastic(self, SizeWithElastic):
|
|
12726
|
+
self._SizeWithElastic = SizeWithElastic
|
|
12727
|
+
|
|
12728
|
+
@property
|
|
12729
|
+
def MaxElasticSize(self):
|
|
12730
|
+
r"""最大弹性值,包含负载弹性或分时弹性
|
|
12731
|
+
:rtype: int
|
|
12732
|
+
"""
|
|
12733
|
+
return self._MaxElasticSize
|
|
12734
|
+
|
|
12735
|
+
@MaxElasticSize.setter
|
|
12736
|
+
def MaxElasticSize(self, MaxElasticSize):
|
|
12737
|
+
self._MaxElasticSize = MaxElasticSize
|
|
12738
|
+
|
|
12420
12739
|
|
|
12421
12740
|
def _deserialize(self, params):
|
|
12422
12741
|
self._DataEngineName = params.get("DataEngineName")
|
|
@@ -12500,6 +12819,15 @@ class DataEngineInfo(AbstractModel):
|
|
|
12500
12819
|
if params.get("ScheduleElasticityConf") is not None:
|
|
12501
12820
|
self._ScheduleElasticityConf = ScheduleElasticityConf()
|
|
12502
12821
|
self._ScheduleElasticityConf._deserialize(params.get("ScheduleElasticityConf"))
|
|
12822
|
+
if params.get("GPUInfo") is not None:
|
|
12823
|
+
self._GPUInfo = GPUInfo()
|
|
12824
|
+
self._GPUInfo._deserialize(params.get("GPUInfo"))
|
|
12825
|
+
self._EngineResourceUsedGPU = params.get("EngineResourceUsedGPU")
|
|
12826
|
+
self._GPUTotalSize = params.get("GPUTotalSize")
|
|
12827
|
+
self._InstanceModel = params.get("InstanceModel")
|
|
12828
|
+
self._NodeNum = params.get("NodeNum")
|
|
12829
|
+
self._SizeWithElastic = params.get("SizeWithElastic")
|
|
12830
|
+
self._MaxElasticSize = params.get("MaxElasticSize")
|
|
12503
12831
|
memeber_set = set(params.keys())
|
|
12504
12832
|
for name, value in vars(self).items():
|
|
12505
12833
|
property_name = name[1:]
|
|
@@ -19263,9 +19591,15 @@ class DescribeNativeSparkSessionsRequest(AbstractModel):
|
|
|
19263
19591
|
:type DataEngineId: str
|
|
19264
19592
|
:param _ResourceGroupId: 资源组ID
|
|
19265
19593
|
:type ResourceGroupId: str
|
|
19594
|
+
:param _ProjectId: 项目ID
|
|
19595
|
+
:type ProjectId: str
|
|
19596
|
+
:param _UserUin: 用户Uin
|
|
19597
|
+
:type UserUin: str
|
|
19266
19598
|
"""
|
|
19267
19599
|
self._DataEngineId = None
|
|
19268
19600
|
self._ResourceGroupId = None
|
|
19601
|
+
self._ProjectId = None
|
|
19602
|
+
self._UserUin = None
|
|
19269
19603
|
|
|
19270
19604
|
@property
|
|
19271
19605
|
def DataEngineId(self):
|
|
@@ -19289,10 +19623,34 @@ class DescribeNativeSparkSessionsRequest(AbstractModel):
|
|
|
19289
19623
|
def ResourceGroupId(self, ResourceGroupId):
|
|
19290
19624
|
self._ResourceGroupId = ResourceGroupId
|
|
19291
19625
|
|
|
19626
|
+
@property
|
|
19627
|
+
def ProjectId(self):
|
|
19628
|
+
r"""项目ID
|
|
19629
|
+
:rtype: str
|
|
19630
|
+
"""
|
|
19631
|
+
return self._ProjectId
|
|
19632
|
+
|
|
19633
|
+
@ProjectId.setter
|
|
19634
|
+
def ProjectId(self, ProjectId):
|
|
19635
|
+
self._ProjectId = ProjectId
|
|
19636
|
+
|
|
19637
|
+
@property
|
|
19638
|
+
def UserUin(self):
|
|
19639
|
+
r"""用户Uin
|
|
19640
|
+
:rtype: str
|
|
19641
|
+
"""
|
|
19642
|
+
return self._UserUin
|
|
19643
|
+
|
|
19644
|
+
@UserUin.setter
|
|
19645
|
+
def UserUin(self, UserUin):
|
|
19646
|
+
self._UserUin = UserUin
|
|
19647
|
+
|
|
19292
19648
|
|
|
19293
19649
|
def _deserialize(self, params):
|
|
19294
19650
|
self._DataEngineId = params.get("DataEngineId")
|
|
19295
19651
|
self._ResourceGroupId = params.get("ResourceGroupId")
|
|
19652
|
+
self._ProjectId = params.get("ProjectId")
|
|
19653
|
+
self._UserUin = params.get("UserUin")
|
|
19296
19654
|
memeber_set = set(params.keys())
|
|
19297
19655
|
for name, value in vars(self).items():
|
|
19298
19656
|
property_name = name[1:]
|
|
@@ -20584,6 +20942,115 @@ class DescribeOtherCHDFSBindingListResponse(AbstractModel):
|
|
|
20584
20942
|
self._RequestId = params.get("RequestId")
|
|
20585
20943
|
|
|
20586
20944
|
|
|
20945
|
+
class DescribeResourceGroupUsageInfoRequest(AbstractModel):
|
|
20946
|
+
r"""DescribeResourceGroupUsageInfo请求参数结构体
|
|
20947
|
+
|
|
20948
|
+
"""
|
|
20949
|
+
|
|
20950
|
+
def __init__(self):
|
|
20951
|
+
r"""
|
|
20952
|
+
:param _SessionId: 资源组ID
|
|
20953
|
+
:type SessionId: str
|
|
20954
|
+
"""
|
|
20955
|
+
self._SessionId = None
|
|
20956
|
+
|
|
20957
|
+
@property
|
|
20958
|
+
def SessionId(self):
|
|
20959
|
+
r"""资源组ID
|
|
20960
|
+
:rtype: str
|
|
20961
|
+
"""
|
|
20962
|
+
return self._SessionId
|
|
20963
|
+
|
|
20964
|
+
@SessionId.setter
|
|
20965
|
+
def SessionId(self, SessionId):
|
|
20966
|
+
self._SessionId = SessionId
|
|
20967
|
+
|
|
20968
|
+
|
|
20969
|
+
def _deserialize(self, params):
|
|
20970
|
+
self._SessionId = params.get("SessionId")
|
|
20971
|
+
memeber_set = set(params.keys())
|
|
20972
|
+
for name, value in vars(self).items():
|
|
20973
|
+
property_name = name[1:]
|
|
20974
|
+
if property_name in memeber_set:
|
|
20975
|
+
memeber_set.remove(property_name)
|
|
20976
|
+
if len(memeber_set) > 0:
|
|
20977
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20978
|
+
|
|
20979
|
+
|
|
20980
|
+
|
|
20981
|
+
class DescribeResourceGroupUsageInfoResponse(AbstractModel):
|
|
20982
|
+
r"""DescribeResourceGroupUsageInfo返回参数结构体
|
|
20983
|
+
|
|
20984
|
+
"""
|
|
20985
|
+
|
|
20986
|
+
def __init__(self):
|
|
20987
|
+
r"""
|
|
20988
|
+
:param _Total: 资源上限
|
|
20989
|
+
:type Total: int
|
|
20990
|
+
:param _Used: 已占用资源
|
|
20991
|
+
:type Used: int
|
|
20992
|
+
:param _Available: 剩余可用资源
|
|
20993
|
+
:type Available: int
|
|
20994
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20995
|
+
:type RequestId: str
|
|
20996
|
+
"""
|
|
20997
|
+
self._Total = None
|
|
20998
|
+
self._Used = None
|
|
20999
|
+
self._Available = None
|
|
21000
|
+
self._RequestId = None
|
|
21001
|
+
|
|
21002
|
+
@property
|
|
21003
|
+
def Total(self):
|
|
21004
|
+
r"""资源上限
|
|
21005
|
+
:rtype: int
|
|
21006
|
+
"""
|
|
21007
|
+
return self._Total
|
|
21008
|
+
|
|
21009
|
+
@Total.setter
|
|
21010
|
+
def Total(self, Total):
|
|
21011
|
+
self._Total = Total
|
|
21012
|
+
|
|
21013
|
+
@property
|
|
21014
|
+
def Used(self):
|
|
21015
|
+
r"""已占用资源
|
|
21016
|
+
:rtype: int
|
|
21017
|
+
"""
|
|
21018
|
+
return self._Used
|
|
21019
|
+
|
|
21020
|
+
@Used.setter
|
|
21021
|
+
def Used(self, Used):
|
|
21022
|
+
self._Used = Used
|
|
21023
|
+
|
|
21024
|
+
@property
|
|
21025
|
+
def Available(self):
|
|
21026
|
+
r"""剩余可用资源
|
|
21027
|
+
:rtype: int
|
|
21028
|
+
"""
|
|
21029
|
+
return self._Available
|
|
21030
|
+
|
|
21031
|
+
@Available.setter
|
|
21032
|
+
def Available(self, Available):
|
|
21033
|
+
self._Available = Available
|
|
21034
|
+
|
|
21035
|
+
@property
|
|
21036
|
+
def RequestId(self):
|
|
21037
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21038
|
+
:rtype: str
|
|
21039
|
+
"""
|
|
21040
|
+
return self._RequestId
|
|
21041
|
+
|
|
21042
|
+
@RequestId.setter
|
|
21043
|
+
def RequestId(self, RequestId):
|
|
21044
|
+
self._RequestId = RequestId
|
|
21045
|
+
|
|
21046
|
+
|
|
21047
|
+
def _deserialize(self, params):
|
|
21048
|
+
self._Total = params.get("Total")
|
|
21049
|
+
self._Used = params.get("Used")
|
|
21050
|
+
self._Available = params.get("Available")
|
|
21051
|
+
self._RequestId = params.get("RequestId")
|
|
21052
|
+
|
|
21053
|
+
|
|
20587
21054
|
class DescribeResultDownloadRequest(AbstractModel):
|
|
20588
21055
|
r"""DescribeResultDownload请求参数结构体
|
|
20589
21056
|
|
|
@@ -27395,12 +27862,15 @@ class ElasticPlan(AbstractModel):
|
|
|
27395
27862
|
:type StartTime: str
|
|
27396
27863
|
:param _EndTime: 结束时间,Once格式:yyyy-MM-dd HH:mm:ss; 非Once格式: HH:mm:ss
|
|
27397
27864
|
:type EndTime: str
|
|
27865
|
+
:param _ElasticLimit: 分时弹性上限
|
|
27866
|
+
:type ElasticLimit: int
|
|
27398
27867
|
"""
|
|
27399
27868
|
self._MinElasticClusters = None
|
|
27400
27869
|
self._MaxElasticClusters = None
|
|
27401
27870
|
self._TolerableQueueTime = None
|
|
27402
27871
|
self._StartTime = None
|
|
27403
27872
|
self._EndTime = None
|
|
27873
|
+
self._ElasticLimit = None
|
|
27404
27874
|
|
|
27405
27875
|
@property
|
|
27406
27876
|
def MinElasticClusters(self):
|
|
@@ -27457,6 +27927,17 @@ class ElasticPlan(AbstractModel):
|
|
|
27457
27927
|
def EndTime(self, EndTime):
|
|
27458
27928
|
self._EndTime = EndTime
|
|
27459
27929
|
|
|
27930
|
+
@property
|
|
27931
|
+
def ElasticLimit(self):
|
|
27932
|
+
r"""分时弹性上限
|
|
27933
|
+
:rtype: int
|
|
27934
|
+
"""
|
|
27935
|
+
return self._ElasticLimit
|
|
27936
|
+
|
|
27937
|
+
@ElasticLimit.setter
|
|
27938
|
+
def ElasticLimit(self, ElasticLimit):
|
|
27939
|
+
self._ElasticLimit = ElasticLimit
|
|
27940
|
+
|
|
27460
27941
|
|
|
27461
27942
|
def _deserialize(self, params):
|
|
27462
27943
|
self._MinElasticClusters = params.get("MinElasticClusters")
|
|
@@ -27464,6 +27945,7 @@ class ElasticPlan(AbstractModel):
|
|
|
27464
27945
|
self._TolerableQueueTime = params.get("TolerableQueueTime")
|
|
27465
27946
|
self._StartTime = params.get("StartTime")
|
|
27466
27947
|
self._EndTime = params.get("EndTime")
|
|
27948
|
+
self._ElasticLimit = params.get("ElasticLimit")
|
|
27467
27949
|
memeber_set = set(params.keys())
|
|
27468
27950
|
for name, value in vars(self).items():
|
|
27469
27951
|
property_name = name[1:]
|
|
@@ -28114,6 +28596,147 @@ class Filter(AbstractModel):
|
|
|
28114
28596
|
|
|
28115
28597
|
|
|
28116
28598
|
|
|
28599
|
+
class GPUInfo(AbstractModel):
|
|
28600
|
+
r"""GPU 机型
|
|
28601
|
+
|
|
28602
|
+
"""
|
|
28603
|
+
|
|
28604
|
+
def __init__(self):
|
|
28605
|
+
r"""
|
|
28606
|
+
:param _BillingItem: 计费项
|
|
28607
|
+
:type BillingItem: str
|
|
28608
|
+
:param _Model: 机型
|
|
28609
|
+
:type Model: str
|
|
28610
|
+
:param _CU: cu
|
|
28611
|
+
:type CU: int
|
|
28612
|
+
:param _Type: gpu 机型
|
|
28613
|
+
:type Type: str
|
|
28614
|
+
:param _Num: 数量
|
|
28615
|
+
:type Num: int
|
|
28616
|
+
:param _GPUMemory: 显存
|
|
28617
|
+
:type GPUMemory: int
|
|
28618
|
+
:param _InstanceType: 机型
|
|
28619
|
+
:type InstanceType: str
|
|
28620
|
+
:param _SaleStatus: 售卖情况(1-缺货,2-低库存,3-充足)
|
|
28621
|
+
:type SaleStatus: int
|
|
28622
|
+
"""
|
|
28623
|
+
self._BillingItem = None
|
|
28624
|
+
self._Model = None
|
|
28625
|
+
self._CU = None
|
|
28626
|
+
self._Type = None
|
|
28627
|
+
self._Num = None
|
|
28628
|
+
self._GPUMemory = None
|
|
28629
|
+
self._InstanceType = None
|
|
28630
|
+
self._SaleStatus = None
|
|
28631
|
+
|
|
28632
|
+
@property
|
|
28633
|
+
def BillingItem(self):
|
|
28634
|
+
r"""计费项
|
|
28635
|
+
:rtype: str
|
|
28636
|
+
"""
|
|
28637
|
+
return self._BillingItem
|
|
28638
|
+
|
|
28639
|
+
@BillingItem.setter
|
|
28640
|
+
def BillingItem(self, BillingItem):
|
|
28641
|
+
self._BillingItem = BillingItem
|
|
28642
|
+
|
|
28643
|
+
@property
|
|
28644
|
+
def Model(self):
|
|
28645
|
+
r"""机型
|
|
28646
|
+
:rtype: str
|
|
28647
|
+
"""
|
|
28648
|
+
return self._Model
|
|
28649
|
+
|
|
28650
|
+
@Model.setter
|
|
28651
|
+
def Model(self, Model):
|
|
28652
|
+
self._Model = Model
|
|
28653
|
+
|
|
28654
|
+
@property
|
|
28655
|
+
def CU(self):
|
|
28656
|
+
r"""cu
|
|
28657
|
+
:rtype: int
|
|
28658
|
+
"""
|
|
28659
|
+
return self._CU
|
|
28660
|
+
|
|
28661
|
+
@CU.setter
|
|
28662
|
+
def CU(self, CU):
|
|
28663
|
+
self._CU = CU
|
|
28664
|
+
|
|
28665
|
+
@property
|
|
28666
|
+
def Type(self):
|
|
28667
|
+
r"""gpu 机型
|
|
28668
|
+
:rtype: str
|
|
28669
|
+
"""
|
|
28670
|
+
return self._Type
|
|
28671
|
+
|
|
28672
|
+
@Type.setter
|
|
28673
|
+
def Type(self, Type):
|
|
28674
|
+
self._Type = Type
|
|
28675
|
+
|
|
28676
|
+
@property
|
|
28677
|
+
def Num(self):
|
|
28678
|
+
r"""数量
|
|
28679
|
+
:rtype: int
|
|
28680
|
+
"""
|
|
28681
|
+
return self._Num
|
|
28682
|
+
|
|
28683
|
+
@Num.setter
|
|
28684
|
+
def Num(self, Num):
|
|
28685
|
+
self._Num = Num
|
|
28686
|
+
|
|
28687
|
+
@property
|
|
28688
|
+
def GPUMemory(self):
|
|
28689
|
+
r"""显存
|
|
28690
|
+
:rtype: int
|
|
28691
|
+
"""
|
|
28692
|
+
return self._GPUMemory
|
|
28693
|
+
|
|
28694
|
+
@GPUMemory.setter
|
|
28695
|
+
def GPUMemory(self, GPUMemory):
|
|
28696
|
+
self._GPUMemory = GPUMemory
|
|
28697
|
+
|
|
28698
|
+
@property
|
|
28699
|
+
def InstanceType(self):
|
|
28700
|
+
r"""机型
|
|
28701
|
+
:rtype: str
|
|
28702
|
+
"""
|
|
28703
|
+
return self._InstanceType
|
|
28704
|
+
|
|
28705
|
+
@InstanceType.setter
|
|
28706
|
+
def InstanceType(self, InstanceType):
|
|
28707
|
+
self._InstanceType = InstanceType
|
|
28708
|
+
|
|
28709
|
+
@property
|
|
28710
|
+
def SaleStatus(self):
|
|
28711
|
+
r"""售卖情况(1-缺货,2-低库存,3-充足)
|
|
28712
|
+
:rtype: int
|
|
28713
|
+
"""
|
|
28714
|
+
return self._SaleStatus
|
|
28715
|
+
|
|
28716
|
+
@SaleStatus.setter
|
|
28717
|
+
def SaleStatus(self, SaleStatus):
|
|
28718
|
+
self._SaleStatus = SaleStatus
|
|
28719
|
+
|
|
28720
|
+
|
|
28721
|
+
def _deserialize(self, params):
|
|
28722
|
+
self._BillingItem = params.get("BillingItem")
|
|
28723
|
+
self._Model = params.get("Model")
|
|
28724
|
+
self._CU = params.get("CU")
|
|
28725
|
+
self._Type = params.get("Type")
|
|
28726
|
+
self._Num = params.get("Num")
|
|
28727
|
+
self._GPUMemory = params.get("GPUMemory")
|
|
28728
|
+
self._InstanceType = params.get("InstanceType")
|
|
28729
|
+
self._SaleStatus = params.get("SaleStatus")
|
|
28730
|
+
memeber_set = set(params.keys())
|
|
28731
|
+
for name, value in vars(self).items():
|
|
28732
|
+
property_name = name[1:]
|
|
28733
|
+
if property_name in memeber_set:
|
|
28734
|
+
memeber_set.remove(property_name)
|
|
28735
|
+
if len(memeber_set) > 0:
|
|
28736
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28737
|
+
|
|
28738
|
+
|
|
28739
|
+
|
|
28117
28740
|
class GatewayInfo(AbstractModel):
|
|
28118
28741
|
r"""网关基础信息,包括id,名称,规格和状态
|
|
28119
28742
|
|
|
@@ -34656,9 +35279,12 @@ class QueryInternalTableWarehouseRequest(AbstractModel):
|
|
|
34656
35279
|
:type DatabaseName: str
|
|
34657
35280
|
:param _TableName: 表名
|
|
34658
35281
|
:type TableName: str
|
|
35282
|
+
:param _DatasourceConnectionName: catalog名称
|
|
35283
|
+
:type DatasourceConnectionName: str
|
|
34659
35284
|
"""
|
|
34660
35285
|
self._DatabaseName = None
|
|
34661
35286
|
self._TableName = None
|
|
35287
|
+
self._DatasourceConnectionName = None
|
|
34662
35288
|
|
|
34663
35289
|
@property
|
|
34664
35290
|
def DatabaseName(self):
|
|
@@ -34682,10 +35308,22 @@ class QueryInternalTableWarehouseRequest(AbstractModel):
|
|
|
34682
35308
|
def TableName(self, TableName):
|
|
34683
35309
|
self._TableName = TableName
|
|
34684
35310
|
|
|
35311
|
+
@property
|
|
35312
|
+
def DatasourceConnectionName(self):
|
|
35313
|
+
r"""catalog名称
|
|
35314
|
+
:rtype: str
|
|
35315
|
+
"""
|
|
35316
|
+
return self._DatasourceConnectionName
|
|
35317
|
+
|
|
35318
|
+
@DatasourceConnectionName.setter
|
|
35319
|
+
def DatasourceConnectionName(self, DatasourceConnectionName):
|
|
35320
|
+
self._DatasourceConnectionName = DatasourceConnectionName
|
|
35321
|
+
|
|
34685
35322
|
|
|
34686
35323
|
def _deserialize(self, params):
|
|
34687
35324
|
self._DatabaseName = params.get("DatabaseName")
|
|
34688
35325
|
self._TableName = params.get("TableName")
|
|
35326
|
+
self._DatasourceConnectionName = params.get("DatasourceConnectionName")
|
|
34689
35327
|
memeber_set = set(params.keys())
|
|
34690
35328
|
for name, value in vars(self).items():
|
|
34691
35329
|
property_name = name[1:]
|
|
@@ -36113,6 +36751,72 @@ class SessionResourceTemplate(AbstractModel):
|
|
|
36113
36751
|
|
|
36114
36752
|
|
|
36115
36753
|
|
|
36754
|
+
class SetOptimizerPolicyRequest(AbstractModel):
|
|
36755
|
+
r"""SetOptimizerPolicy请求参数结构体
|
|
36756
|
+
|
|
36757
|
+
"""
|
|
36758
|
+
|
|
36759
|
+
def __init__(self):
|
|
36760
|
+
r"""
|
|
36761
|
+
:param _SmartPolicy: 优化策略
|
|
36762
|
+
:type SmartPolicy: :class:`tencentcloud.dlc.v20210125.models.SmartPolicy`
|
|
36763
|
+
"""
|
|
36764
|
+
self._SmartPolicy = None
|
|
36765
|
+
|
|
36766
|
+
@property
|
|
36767
|
+
def SmartPolicy(self):
|
|
36768
|
+
r"""优化策略
|
|
36769
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.SmartPolicy`
|
|
36770
|
+
"""
|
|
36771
|
+
return self._SmartPolicy
|
|
36772
|
+
|
|
36773
|
+
@SmartPolicy.setter
|
|
36774
|
+
def SmartPolicy(self, SmartPolicy):
|
|
36775
|
+
self._SmartPolicy = SmartPolicy
|
|
36776
|
+
|
|
36777
|
+
|
|
36778
|
+
def _deserialize(self, params):
|
|
36779
|
+
if params.get("SmartPolicy") is not None:
|
|
36780
|
+
self._SmartPolicy = SmartPolicy()
|
|
36781
|
+
self._SmartPolicy._deserialize(params.get("SmartPolicy"))
|
|
36782
|
+
memeber_set = set(params.keys())
|
|
36783
|
+
for name, value in vars(self).items():
|
|
36784
|
+
property_name = name[1:]
|
|
36785
|
+
if property_name in memeber_set:
|
|
36786
|
+
memeber_set.remove(property_name)
|
|
36787
|
+
if len(memeber_set) > 0:
|
|
36788
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
36789
|
+
|
|
36790
|
+
|
|
36791
|
+
|
|
36792
|
+
class SetOptimizerPolicyResponse(AbstractModel):
|
|
36793
|
+
r"""SetOptimizerPolicy返回参数结构体
|
|
36794
|
+
|
|
36795
|
+
"""
|
|
36796
|
+
|
|
36797
|
+
def __init__(self):
|
|
36798
|
+
r"""
|
|
36799
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
36800
|
+
:type RequestId: str
|
|
36801
|
+
"""
|
|
36802
|
+
self._RequestId = None
|
|
36803
|
+
|
|
36804
|
+
@property
|
|
36805
|
+
def RequestId(self):
|
|
36806
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
36807
|
+
:rtype: str
|
|
36808
|
+
"""
|
|
36809
|
+
return self._RequestId
|
|
36810
|
+
|
|
36811
|
+
@RequestId.setter
|
|
36812
|
+
def RequestId(self, RequestId):
|
|
36813
|
+
self._RequestId = RequestId
|
|
36814
|
+
|
|
36815
|
+
|
|
36816
|
+
def _deserialize(self, params):
|
|
36817
|
+
self._RequestId = params.get("RequestId")
|
|
36818
|
+
|
|
36819
|
+
|
|
36116
36820
|
class SmartOptimizerChangeTablePolicy(AbstractModel):
|
|
36117
36821
|
r"""混合表中,change表的数据保存时间,单位为天
|
|
36118
36822
|
|
|
@@ -36424,8 +37128,12 @@ class SmartOptimizerWrittenPolicy(AbstractModel):
|
|
|
36424
37128
|
r"""
|
|
36425
37129
|
:param _WrittenEnable: none/enable/disable/default
|
|
36426
37130
|
:type WrittenEnable: str
|
|
37131
|
+
:param _AdvancePolicy: 用户自定义高级参数
|
|
37132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37133
|
+
:type AdvancePolicy: :class:`tencentcloud.dlc.v20210125.models.WrittenAdvancePolicy`
|
|
36427
37134
|
"""
|
|
36428
37135
|
self._WrittenEnable = None
|
|
37136
|
+
self._AdvancePolicy = None
|
|
36429
37137
|
|
|
36430
37138
|
@property
|
|
36431
37139
|
def WrittenEnable(self):
|
|
@@ -36438,9 +37146,24 @@ class SmartOptimizerWrittenPolicy(AbstractModel):
|
|
|
36438
37146
|
def WrittenEnable(self, WrittenEnable):
|
|
36439
37147
|
self._WrittenEnable = WrittenEnable
|
|
36440
37148
|
|
|
37149
|
+
@property
|
|
37150
|
+
def AdvancePolicy(self):
|
|
37151
|
+
r"""用户自定义高级参数
|
|
37152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37153
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.WrittenAdvancePolicy`
|
|
37154
|
+
"""
|
|
37155
|
+
return self._AdvancePolicy
|
|
37156
|
+
|
|
37157
|
+
@AdvancePolicy.setter
|
|
37158
|
+
def AdvancePolicy(self, AdvancePolicy):
|
|
37159
|
+
self._AdvancePolicy = AdvancePolicy
|
|
37160
|
+
|
|
36441
37161
|
|
|
36442
37162
|
def _deserialize(self, params):
|
|
36443
37163
|
self._WrittenEnable = params.get("WrittenEnable")
|
|
37164
|
+
if params.get("AdvancePolicy") is not None:
|
|
37165
|
+
self._AdvancePolicy = WrittenAdvancePolicy()
|
|
37166
|
+
self._AdvancePolicy._deserialize(params.get("AdvancePolicy"))
|
|
36444
37167
|
memeber_set = set(params.keys())
|
|
36445
37168
|
for name, value in vars(self).items():
|
|
36446
37169
|
property_name = name[1:]
|
|
@@ -36672,6 +37395,72 @@ class Sort(AbstractModel):
|
|
|
36672
37395
|
|
|
36673
37396
|
|
|
36674
37397
|
|
|
37398
|
+
class SortOrder(AbstractModel):
|
|
37399
|
+
r"""合并策略sort类型的规则定义
|
|
37400
|
+
|
|
37401
|
+
"""
|
|
37402
|
+
|
|
37403
|
+
def __init__(self):
|
|
37404
|
+
r"""
|
|
37405
|
+
:param _Column: sort的数据表列名称
|
|
37406
|
+
:type Column: str
|
|
37407
|
+
:param _SortDirection: 按照升序或者降序进行排序
|
|
37408
|
+
:type SortDirection: str
|
|
37409
|
+
:param _NullOrder: null值放在开头或者末尾
|
|
37410
|
+
:type NullOrder: str
|
|
37411
|
+
"""
|
|
37412
|
+
self._Column = None
|
|
37413
|
+
self._SortDirection = None
|
|
37414
|
+
self._NullOrder = None
|
|
37415
|
+
|
|
37416
|
+
@property
|
|
37417
|
+
def Column(self):
|
|
37418
|
+
r"""sort的数据表列名称
|
|
37419
|
+
:rtype: str
|
|
37420
|
+
"""
|
|
37421
|
+
return self._Column
|
|
37422
|
+
|
|
37423
|
+
@Column.setter
|
|
37424
|
+
def Column(self, Column):
|
|
37425
|
+
self._Column = Column
|
|
37426
|
+
|
|
37427
|
+
@property
|
|
37428
|
+
def SortDirection(self):
|
|
37429
|
+
r"""按照升序或者降序进行排序
|
|
37430
|
+
:rtype: str
|
|
37431
|
+
"""
|
|
37432
|
+
return self._SortDirection
|
|
37433
|
+
|
|
37434
|
+
@SortDirection.setter
|
|
37435
|
+
def SortDirection(self, SortDirection):
|
|
37436
|
+
self._SortDirection = SortDirection
|
|
37437
|
+
|
|
37438
|
+
@property
|
|
37439
|
+
def NullOrder(self):
|
|
37440
|
+
r"""null值放在开头或者末尾
|
|
37441
|
+
:rtype: str
|
|
37442
|
+
"""
|
|
37443
|
+
return self._NullOrder
|
|
37444
|
+
|
|
37445
|
+
@NullOrder.setter
|
|
37446
|
+
def NullOrder(self, NullOrder):
|
|
37447
|
+
self._NullOrder = NullOrder
|
|
37448
|
+
|
|
37449
|
+
|
|
37450
|
+
def _deserialize(self, params):
|
|
37451
|
+
self._Column = params.get("Column")
|
|
37452
|
+
self._SortDirection = params.get("SortDirection")
|
|
37453
|
+
self._NullOrder = params.get("NullOrder")
|
|
37454
|
+
memeber_set = set(params.keys())
|
|
37455
|
+
for name, value in vars(self).items():
|
|
37456
|
+
property_name = name[1:]
|
|
37457
|
+
if property_name in memeber_set:
|
|
37458
|
+
memeber_set.remove(property_name)
|
|
37459
|
+
if len(memeber_set) > 0:
|
|
37460
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
37461
|
+
|
|
37462
|
+
|
|
37463
|
+
|
|
36675
37464
|
class SparkJobInfo(AbstractModel):
|
|
36676
37465
|
r"""spark作业详情。
|
|
36677
37466
|
|
|
@@ -46272,6 +47061,10 @@ class WorkGroupDetailInfo(AbstractModel):
|
|
|
46272
47061
|
:param _CatalogPolicyInfo: 数据目录权限集
|
|
46273
47062
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
46274
47063
|
:type CatalogPolicyInfo: :class:`tencentcloud.dlc.v20210125.models.Policy`
|
|
47064
|
+
:param _DataCatalogPolicyInfo: 数据目录权限
|
|
47065
|
+
:type DataCatalogPolicyInfo: :class:`tencentcloud.dlc.v20210125.models.Policys`
|
|
47066
|
+
:param _ModelPolicyInfo: 模型权限
|
|
47067
|
+
:type ModelPolicyInfo: :class:`tencentcloud.dlc.v20210125.models.Policys`
|
|
46275
47068
|
"""
|
|
46276
47069
|
self._WorkGroupId = None
|
|
46277
47070
|
self._WorkGroupName = None
|
|
@@ -46282,6 +47075,8 @@ class WorkGroupDetailInfo(AbstractModel):
|
|
|
46282
47075
|
self._WorkGroupDescription = None
|
|
46283
47076
|
self._RowFilterInfo = None
|
|
46284
47077
|
self._CatalogPolicyInfo = None
|
|
47078
|
+
self._DataCatalogPolicyInfo = None
|
|
47079
|
+
self._ModelPolicyInfo = None
|
|
46285
47080
|
|
|
46286
47081
|
@property
|
|
46287
47082
|
def WorkGroupId(self):
|
|
@@ -46383,6 +47178,28 @@ class WorkGroupDetailInfo(AbstractModel):
|
|
|
46383
47178
|
def CatalogPolicyInfo(self, CatalogPolicyInfo):
|
|
46384
47179
|
self._CatalogPolicyInfo = CatalogPolicyInfo
|
|
46385
47180
|
|
|
47181
|
+
@property
|
|
47182
|
+
def DataCatalogPolicyInfo(self):
|
|
47183
|
+
r"""数据目录权限
|
|
47184
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.Policys`
|
|
47185
|
+
"""
|
|
47186
|
+
return self._DataCatalogPolicyInfo
|
|
47187
|
+
|
|
47188
|
+
@DataCatalogPolicyInfo.setter
|
|
47189
|
+
def DataCatalogPolicyInfo(self, DataCatalogPolicyInfo):
|
|
47190
|
+
self._DataCatalogPolicyInfo = DataCatalogPolicyInfo
|
|
47191
|
+
|
|
47192
|
+
@property
|
|
47193
|
+
def ModelPolicyInfo(self):
|
|
47194
|
+
r"""模型权限
|
|
47195
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.Policys`
|
|
47196
|
+
"""
|
|
47197
|
+
return self._ModelPolicyInfo
|
|
47198
|
+
|
|
47199
|
+
@ModelPolicyInfo.setter
|
|
47200
|
+
def ModelPolicyInfo(self, ModelPolicyInfo):
|
|
47201
|
+
self._ModelPolicyInfo = ModelPolicyInfo
|
|
47202
|
+
|
|
46386
47203
|
|
|
46387
47204
|
def _deserialize(self, params):
|
|
46388
47205
|
self._WorkGroupId = params.get("WorkGroupId")
|
|
@@ -46404,6 +47221,12 @@ class WorkGroupDetailInfo(AbstractModel):
|
|
|
46404
47221
|
if params.get("CatalogPolicyInfo") is not None:
|
|
46405
47222
|
self._CatalogPolicyInfo = Policy()
|
|
46406
47223
|
self._CatalogPolicyInfo._deserialize(params.get("CatalogPolicyInfo"))
|
|
47224
|
+
if params.get("DataCatalogPolicyInfo") is not None:
|
|
47225
|
+
self._DataCatalogPolicyInfo = Policys()
|
|
47226
|
+
self._DataCatalogPolicyInfo._deserialize(params.get("DataCatalogPolicyInfo"))
|
|
47227
|
+
if params.get("ModelPolicyInfo") is not None:
|
|
47228
|
+
self._ModelPolicyInfo = Policys()
|
|
47229
|
+
self._ModelPolicyInfo._deserialize(params.get("ModelPolicyInfo"))
|
|
46407
47230
|
memeber_set = set(params.keys())
|
|
46408
47231
|
for name, value in vars(self).items():
|
|
46409
47232
|
property_name = name[1:]
|
|
@@ -46771,4 +47594,197 @@ class WorkGroups(AbstractModel):
|
|
|
46771
47594
|
memeber_set.remove(property_name)
|
|
46772
47595
|
if len(memeber_set) > 0:
|
|
46773
47596
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
47597
|
+
|
|
47598
|
+
|
|
47599
|
+
|
|
47600
|
+
class WrittenAdvancePolicy(AbstractModel):
|
|
47601
|
+
r"""Smart Optimizer高级参数配置数据结构
|
|
47602
|
+
|
|
47603
|
+
"""
|
|
47604
|
+
|
|
47605
|
+
def __init__(self):
|
|
47606
|
+
r"""
|
|
47607
|
+
:param _CompactEnable: 是否启用合并
|
|
47608
|
+
:type CompactEnable: str
|
|
47609
|
+
:param _DeleteEnable: 是否启用历史数据清理
|
|
47610
|
+
:type DeleteEnable: str
|
|
47611
|
+
:param _MinInputFiles: 合并最新文件数量
|
|
47612
|
+
:type MinInputFiles: int
|
|
47613
|
+
:param _TargetFileSizeBytes: 合并文件目录文件大小
|
|
47614
|
+
:type TargetFileSizeBytes: int
|
|
47615
|
+
:param _RetainLast: 保留过期时间的快照数量
|
|
47616
|
+
:type RetainLast: int
|
|
47617
|
+
:param _BeforeDays: 快照过期时间
|
|
47618
|
+
:type BeforeDays: int
|
|
47619
|
+
:param _ExpiredSnapshotsIntervalMin: 快照过期执行周期
|
|
47620
|
+
:type ExpiredSnapshotsIntervalMin: int
|
|
47621
|
+
:param _RemoveOrphanIntervalMin: 移除孤立文件执行周期
|
|
47622
|
+
:type RemoveOrphanIntervalMin: int
|
|
47623
|
+
:param _CowCompactEnable: 是否开启COW表合并
|
|
47624
|
+
:type CowCompactEnable: str
|
|
47625
|
+
:param _CompactStrategy: 文件合并策略
|
|
47626
|
+
:type CompactStrategy: str
|
|
47627
|
+
:param _SortOrders: sort合并策略的规则定义
|
|
47628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
47629
|
+
:type SortOrders: list of SortOrder
|
|
47630
|
+
"""
|
|
47631
|
+
self._CompactEnable = None
|
|
47632
|
+
self._DeleteEnable = None
|
|
47633
|
+
self._MinInputFiles = None
|
|
47634
|
+
self._TargetFileSizeBytes = None
|
|
47635
|
+
self._RetainLast = None
|
|
47636
|
+
self._BeforeDays = None
|
|
47637
|
+
self._ExpiredSnapshotsIntervalMin = None
|
|
47638
|
+
self._RemoveOrphanIntervalMin = None
|
|
47639
|
+
self._CowCompactEnable = None
|
|
47640
|
+
self._CompactStrategy = None
|
|
47641
|
+
self._SortOrders = None
|
|
47642
|
+
|
|
47643
|
+
@property
|
|
47644
|
+
def CompactEnable(self):
|
|
47645
|
+
r"""是否启用合并
|
|
47646
|
+
:rtype: str
|
|
47647
|
+
"""
|
|
47648
|
+
return self._CompactEnable
|
|
47649
|
+
|
|
47650
|
+
@CompactEnable.setter
|
|
47651
|
+
def CompactEnable(self, CompactEnable):
|
|
47652
|
+
self._CompactEnable = CompactEnable
|
|
47653
|
+
|
|
47654
|
+
@property
|
|
47655
|
+
def DeleteEnable(self):
|
|
47656
|
+
r"""是否启用历史数据清理
|
|
47657
|
+
:rtype: str
|
|
47658
|
+
"""
|
|
47659
|
+
return self._DeleteEnable
|
|
47660
|
+
|
|
47661
|
+
@DeleteEnable.setter
|
|
47662
|
+
def DeleteEnable(self, DeleteEnable):
|
|
47663
|
+
self._DeleteEnable = DeleteEnable
|
|
47664
|
+
|
|
47665
|
+
@property
|
|
47666
|
+
def MinInputFiles(self):
|
|
47667
|
+
r"""合并最新文件数量
|
|
47668
|
+
:rtype: int
|
|
47669
|
+
"""
|
|
47670
|
+
return self._MinInputFiles
|
|
47671
|
+
|
|
47672
|
+
@MinInputFiles.setter
|
|
47673
|
+
def MinInputFiles(self, MinInputFiles):
|
|
47674
|
+
self._MinInputFiles = MinInputFiles
|
|
47675
|
+
|
|
47676
|
+
@property
|
|
47677
|
+
def TargetFileSizeBytes(self):
|
|
47678
|
+
r"""合并文件目录文件大小
|
|
47679
|
+
:rtype: int
|
|
47680
|
+
"""
|
|
47681
|
+
return self._TargetFileSizeBytes
|
|
47682
|
+
|
|
47683
|
+
@TargetFileSizeBytes.setter
|
|
47684
|
+
def TargetFileSizeBytes(self, TargetFileSizeBytes):
|
|
47685
|
+
self._TargetFileSizeBytes = TargetFileSizeBytes
|
|
47686
|
+
|
|
47687
|
+
@property
|
|
47688
|
+
def RetainLast(self):
|
|
47689
|
+
r"""保留过期时间的快照数量
|
|
47690
|
+
:rtype: int
|
|
47691
|
+
"""
|
|
47692
|
+
return self._RetainLast
|
|
47693
|
+
|
|
47694
|
+
@RetainLast.setter
|
|
47695
|
+
def RetainLast(self, RetainLast):
|
|
47696
|
+
self._RetainLast = RetainLast
|
|
47697
|
+
|
|
47698
|
+
@property
|
|
47699
|
+
def BeforeDays(self):
|
|
47700
|
+
r"""快照过期时间
|
|
47701
|
+
:rtype: int
|
|
47702
|
+
"""
|
|
47703
|
+
return self._BeforeDays
|
|
47704
|
+
|
|
47705
|
+
@BeforeDays.setter
|
|
47706
|
+
def BeforeDays(self, BeforeDays):
|
|
47707
|
+
self._BeforeDays = BeforeDays
|
|
47708
|
+
|
|
47709
|
+
@property
|
|
47710
|
+
def ExpiredSnapshotsIntervalMin(self):
|
|
47711
|
+
r"""快照过期执行周期
|
|
47712
|
+
:rtype: int
|
|
47713
|
+
"""
|
|
47714
|
+
return self._ExpiredSnapshotsIntervalMin
|
|
47715
|
+
|
|
47716
|
+
@ExpiredSnapshotsIntervalMin.setter
|
|
47717
|
+
def ExpiredSnapshotsIntervalMin(self, ExpiredSnapshotsIntervalMin):
|
|
47718
|
+
self._ExpiredSnapshotsIntervalMin = ExpiredSnapshotsIntervalMin
|
|
47719
|
+
|
|
47720
|
+
@property
|
|
47721
|
+
def RemoveOrphanIntervalMin(self):
|
|
47722
|
+
r"""移除孤立文件执行周期
|
|
47723
|
+
:rtype: int
|
|
47724
|
+
"""
|
|
47725
|
+
return self._RemoveOrphanIntervalMin
|
|
47726
|
+
|
|
47727
|
+
@RemoveOrphanIntervalMin.setter
|
|
47728
|
+
def RemoveOrphanIntervalMin(self, RemoveOrphanIntervalMin):
|
|
47729
|
+
self._RemoveOrphanIntervalMin = RemoveOrphanIntervalMin
|
|
47730
|
+
|
|
47731
|
+
@property
|
|
47732
|
+
def CowCompactEnable(self):
|
|
47733
|
+
r"""是否开启COW表合并
|
|
47734
|
+
:rtype: str
|
|
47735
|
+
"""
|
|
47736
|
+
return self._CowCompactEnable
|
|
47737
|
+
|
|
47738
|
+
@CowCompactEnable.setter
|
|
47739
|
+
def CowCompactEnable(self, CowCompactEnable):
|
|
47740
|
+
self._CowCompactEnable = CowCompactEnable
|
|
47741
|
+
|
|
47742
|
+
@property
|
|
47743
|
+
def CompactStrategy(self):
|
|
47744
|
+
r"""文件合并策略
|
|
47745
|
+
:rtype: str
|
|
47746
|
+
"""
|
|
47747
|
+
return self._CompactStrategy
|
|
47748
|
+
|
|
47749
|
+
@CompactStrategy.setter
|
|
47750
|
+
def CompactStrategy(self, CompactStrategy):
|
|
47751
|
+
self._CompactStrategy = CompactStrategy
|
|
47752
|
+
|
|
47753
|
+
@property
|
|
47754
|
+
def SortOrders(self):
|
|
47755
|
+
r"""sort合并策略的规则定义
|
|
47756
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
47757
|
+
:rtype: list of SortOrder
|
|
47758
|
+
"""
|
|
47759
|
+
return self._SortOrders
|
|
47760
|
+
|
|
47761
|
+
@SortOrders.setter
|
|
47762
|
+
def SortOrders(self, SortOrders):
|
|
47763
|
+
self._SortOrders = SortOrders
|
|
47764
|
+
|
|
47765
|
+
|
|
47766
|
+
def _deserialize(self, params):
|
|
47767
|
+
self._CompactEnable = params.get("CompactEnable")
|
|
47768
|
+
self._DeleteEnable = params.get("DeleteEnable")
|
|
47769
|
+
self._MinInputFiles = params.get("MinInputFiles")
|
|
47770
|
+
self._TargetFileSizeBytes = params.get("TargetFileSizeBytes")
|
|
47771
|
+
self._RetainLast = params.get("RetainLast")
|
|
47772
|
+
self._BeforeDays = params.get("BeforeDays")
|
|
47773
|
+
self._ExpiredSnapshotsIntervalMin = params.get("ExpiredSnapshotsIntervalMin")
|
|
47774
|
+
self._RemoveOrphanIntervalMin = params.get("RemoveOrphanIntervalMin")
|
|
47775
|
+
self._CowCompactEnable = params.get("CowCompactEnable")
|
|
47776
|
+
self._CompactStrategy = params.get("CompactStrategy")
|
|
47777
|
+
if params.get("SortOrders") is not None:
|
|
47778
|
+
self._SortOrders = []
|
|
47779
|
+
for item in params.get("SortOrders"):
|
|
47780
|
+
obj = SortOrder()
|
|
47781
|
+
obj._deserialize(item)
|
|
47782
|
+
self._SortOrders.append(obj)
|
|
47783
|
+
memeber_set = set(params.keys())
|
|
47784
|
+
for name, value in vars(self).items():
|
|
47785
|
+
property_name = name[1:]
|
|
47786
|
+
if property_name in memeber_set:
|
|
47787
|
+
memeber_set.remove(property_name)
|
|
47788
|
+
if len(memeber_set) > 0:
|
|
47789
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
46774
47790
|
|