tencentcloud-sdk-python 3.0.1281__py2.py3-none-any.whl → 3.0.1283__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.
Files changed (28) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cdb/v20170320/models.py +8 -4
  3. tencentcloud/cwp/v20180228/cwp_client.py +138 -0
  4. tencentcloud/cwp/v20180228/models.py +1015 -162
  5. tencentcloud/ess/v20201111/models.py +8 -4
  6. tencentcloud/essbasic/v20210526/models.py +40 -14
  7. tencentcloud/faceid/v20180301/models.py +34 -0
  8. tencentcloud/hunyuan/v20230901/models.py +15 -0
  9. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +52 -2
  10. tencentcloud/iotexplorer/v20190423/models.py +301 -0
  11. tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
  12. tencentcloud/iotvideo/v20211125/models.py +301 -0
  13. tencentcloud/lighthouse/v20200324/models.py +12 -1
  14. tencentcloud/lke/v20231130/models.py +4 -4
  15. tencentcloud/memcached/v20190318/models.py +0 -6
  16. tencentcloud/ocr/v20181119/ocr_client.py +2 -0
  17. tencentcloud/ssl/v20191205/models.py +15 -0
  18. tencentcloud/tcbr/v20220217/models.py +0 -42
  19. tencentcloud/trocket/v20230308/models.py +30 -0
  20. tencentcloud/tsf/v20180326/errorcodes.py +18 -0
  21. tencentcloud/tsf/v20180326/models.py +106 -30
  22. tencentcloud/vpc/v20170312/models.py +23 -0
  23. tencentcloud/wedata/v20210820/models.py +147 -0
  24. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/METADATA +1 -1
  25. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/RECORD +28 -28
  26. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/LICENSE +0 -0
  27. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/WHEEL +0 -0
  28. {tencentcloud_sdk_python-3.0.1281.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/top_level.txt +0 -0
@@ -566,6 +566,7 @@ class AdvanceSettings(AbstractModel):
566
566
  def __init__(self):
567
567
  r"""
568
568
  :param _SubTaskConcurrency: 子任务单机并发数限制,默认值为2
569
+ 注意:此字段可能返回 null,表示取不到有效值。
569
570
  :type SubTaskConcurrency: int
570
571
  """
571
572
  self._SubTaskConcurrency = None
@@ -573,6 +574,7 @@ class AdvanceSettings(AbstractModel):
573
574
  @property
574
575
  def SubTaskConcurrency(self):
575
576
  """子任务单机并发数限制,默认值为2
577
+ 注意:此字段可能返回 null,表示取不到有效值。
576
578
  :rtype: int
577
579
  """
578
580
  return self._SubTaskConcurrency
@@ -601,10 +603,10 @@ class Affinity(AbstractModel):
601
603
 
602
604
  def __init__(self):
603
605
  r"""
604
- :param _Scope: -
606
+ :param _Scope: 亲和性范围
605
607
  注意:此字段可能返回 null,表示取不到有效值。
606
608
  :type Scope: str
607
- :param _Weight: -
609
+ :param _Weight: 亲和规则的权重
608
610
  注意:此字段可能返回 null,表示取不到有效值。
609
611
  :type Weight: str
610
612
  :param _Paths: -
@@ -617,7 +619,7 @@ class Affinity(AbstractModel):
617
619
 
618
620
  @property
619
621
  def Scope(self):
620
- """-
622
+ """亲和性范围
621
623
  注意:此字段可能返回 null,表示取不到有效值。
622
624
  :rtype: str
623
625
  """
@@ -629,7 +631,7 @@ class Affinity(AbstractModel):
629
631
 
630
632
  @property
631
633
  def Weight(self):
632
- """-
634
+ """亲和规则的权重
633
635
  注意:此字段可能返回 null,表示取不到有效值。
634
636
  :rtype: str
635
637
  """
@@ -2425,10 +2427,18 @@ class ApplicationAttribute(AbstractModel):
2425
2427
  :param _GroupCount: 应用下部署组个数
2426
2428
  注意:此字段可能返回 null,表示取不到有效值。
2427
2429
  :type GroupCount: int
2430
+ :param _RunningGroupCount: 运行中部署组个数
2431
+ 注意:此字段可能返回 null,表示取不到有效值。
2432
+ :type RunningGroupCount: str
2433
+ :param _AbnormalCount: 异常部署组个数
2434
+ 注意:此字段可能返回 null,表示取不到有效值。
2435
+ :type AbnormalCount: str
2428
2436
  """
2429
2437
  self._InstanceCount = None
2430
2438
  self._RunInstanceCount = None
2431
2439
  self._GroupCount = None
2440
+ self._RunningGroupCount = None
2441
+ self._AbnormalCount = None
2432
2442
 
2433
2443
  @property
2434
2444
  def InstanceCount(self):
@@ -2466,11 +2476,37 @@ class ApplicationAttribute(AbstractModel):
2466
2476
  def GroupCount(self, GroupCount):
2467
2477
  self._GroupCount = GroupCount
2468
2478
 
2479
+ @property
2480
+ def RunningGroupCount(self):
2481
+ """运行中部署组个数
2482
+ 注意:此字段可能返回 null,表示取不到有效值。
2483
+ :rtype: str
2484
+ """
2485
+ return self._RunningGroupCount
2486
+
2487
+ @RunningGroupCount.setter
2488
+ def RunningGroupCount(self, RunningGroupCount):
2489
+ self._RunningGroupCount = RunningGroupCount
2490
+
2491
+ @property
2492
+ def AbnormalCount(self):
2493
+ """异常部署组个数
2494
+ 注意:此字段可能返回 null,表示取不到有效值。
2495
+ :rtype: str
2496
+ """
2497
+ return self._AbnormalCount
2498
+
2499
+ @AbnormalCount.setter
2500
+ def AbnormalCount(self, AbnormalCount):
2501
+ self._AbnormalCount = AbnormalCount
2502
+
2469
2503
 
2470
2504
  def _deserialize(self, params):
2471
2505
  self._InstanceCount = params.get("InstanceCount")
2472
2506
  self._RunInstanceCount = params.get("RunInstanceCount")
2473
2507
  self._GroupCount = params.get("GroupCount")
2508
+ self._RunningGroupCount = params.get("RunningGroupCount")
2509
+ self._AbnormalCount = params.get("AbnormalCount")
2474
2510
  memeber_set = set(params.keys())
2475
2511
  for name, value in vars(self).items():
2476
2512
  property_name = name[1:]
@@ -7361,6 +7397,9 @@ class ContainerGroupDeploy(AbstractModel):
7361
7397
  :param _InternalContainerList: 内部容器列表
7362
7398
  注意:此字段可能返回 null,表示取不到有效值。
7363
7399
  :type InternalContainerList: list of GroupContainerInfo
7400
+ :param _ServiceSettingList: service列表
7401
+ 注意:此字段可能返回 null,表示取不到有效值。
7402
+ :type ServiceSettingList: list of ServiceSetting
7364
7403
  """
7365
7404
  self._GroupId = None
7366
7405
  self._GroupName = None
@@ -7403,6 +7442,7 @@ class ContainerGroupDeploy(AbstractModel):
7403
7442
  self._ContainerName = None
7404
7443
  self._AdditionalContainerList = None
7405
7444
  self._InternalContainerList = None
7445
+ self._ServiceSettingList = None
7406
7446
 
7407
7447
  @property
7408
7448
  def GroupId(self):
@@ -7896,6 +7936,18 @@ class ContainerGroupDeploy(AbstractModel):
7896
7936
  def InternalContainerList(self, InternalContainerList):
7897
7937
  self._InternalContainerList = InternalContainerList
7898
7938
 
7939
+ @property
7940
+ def ServiceSettingList(self):
7941
+ """service列表
7942
+ 注意:此字段可能返回 null,表示取不到有效值。
7943
+ :rtype: list of ServiceSetting
7944
+ """
7945
+ return self._ServiceSettingList
7946
+
7947
+ @ServiceSettingList.setter
7948
+ def ServiceSettingList(self, ServiceSettingList):
7949
+ self._ServiceSettingList = ServiceSettingList
7950
+
7899
7951
 
7900
7952
  def _deserialize(self, params):
7901
7953
  self._GroupId = params.get("GroupId")
@@ -7977,6 +8029,12 @@ class ContainerGroupDeploy(AbstractModel):
7977
8029
  obj = GroupContainerInfo()
7978
8030
  obj._deserialize(item)
7979
8031
  self._InternalContainerList.append(obj)
8032
+ if params.get("ServiceSettingList") is not None:
8033
+ self._ServiceSettingList = []
8034
+ for item in params.get("ServiceSettingList"):
8035
+ obj = ServiceSetting()
8036
+ obj._deserialize(item)
8037
+ self._ServiceSettingList.append(obj)
7980
8038
  memeber_set = set(params.keys())
7981
8039
  for name, value in vars(self).items():
7982
8040
  property_name = name[1:]
@@ -9906,13 +9964,18 @@ class CreateApplicationRequest(AbstractModel):
9906
9964
  :type ServiceConfigList: list of ServiceConfig
9907
9965
  :param _IgnoreCreateImageRepository: 忽略创建镜像仓库
9908
9966
  :type IgnoreCreateImageRepository: bool
9909
- :param _ProgramIdList:
9967
+ :param _ProgramIdList: 数据集id列表
9910
9968
  :type ProgramIdList: list of str
9911
9969
  :param _ApmInstanceId: apm业务系统id
9912
9970
  :type ApmInstanceId: str
9913
- :param _ProgramLanguage: 编程语言
9971
+ :param _ProgramLanguage: 编程语言;
9972
+ J - JAVA;
9973
+ C - C/C++;
9974
+ P - Python;
9975
+ G - Go;
9976
+ O - Other;
9914
9977
  :type ProgramLanguage: str
9915
- :param _FrameworkType: 开发框架
9978
+ :param _FrameworkType: 开发框架-SpringCloud/Dubbo/Go-GRPC/Other
9916
9979
  :type FrameworkType: str
9917
9980
  :param _ServiceGovernanceConfig: 注册配置治理
9918
9981
  :type ServiceGovernanceConfig: :class:`tencentcloud.tsf.v20180326.models.ServiceGovernanceConfig`
@@ -10048,7 +10111,7 @@ class CreateApplicationRequest(AbstractModel):
10048
10111
 
10049
10112
  @property
10050
10113
  def ProgramIdList(self):
10051
- """
10114
+ """数据集id列表
10052
10115
  :rtype: list of str
10053
10116
  """
10054
10117
  return self._ProgramIdList
@@ -10070,7 +10133,12 @@ class CreateApplicationRequest(AbstractModel):
10070
10133
 
10071
10134
  @property
10072
10135
  def ProgramLanguage(self):
10073
- """编程语言
10136
+ """编程语言;
10137
+ J - JAVA;
10138
+ C - C/C++;
10139
+ P - Python;
10140
+ G - Go;
10141
+ O - Other;
10074
10142
  :rtype: str
10075
10143
  """
10076
10144
  return self._ProgramLanguage
@@ -10081,7 +10149,7 @@ class CreateApplicationRequest(AbstractModel):
10081
10149
 
10082
10150
  @property
10083
10151
  def FrameworkType(self):
10084
- """开发框架
10152
+ """开发框架-SpringCloud/Dubbo/Go-GRPC/Other
10085
10153
  :rtype: str
10086
10154
  """
10087
10155
  return self._FrameworkType
@@ -11204,7 +11272,9 @@ class CreateContainGroupRequest(AbstractModel):
11204
11272
  :type CpuRequest: str
11205
11273
  :param _MemRequest: 初始分配的内存 MiB 数,对应 K8S request
11206
11274
  :type MemRequest: str
11207
- :param _GroupResourceType: 部署组资源类型
11275
+ :param _GroupResourceType: 部署组资源类型;
11276
+ DEF — 默认资源类型;
11277
+ GW — 网关资源类型;
11208
11278
  :type GroupResourceType: str
11209
11279
  :param _SubnetId: 子网ID
11210
11280
  :type SubnetId: str
@@ -11406,7 +11476,9 @@ class CreateContainGroupRequest(AbstractModel):
11406
11476
 
11407
11477
  @property
11408
11478
  def GroupResourceType(self):
11409
- """部署组资源类型
11479
+ """部署组资源类型;
11480
+ DEF — 默认资源类型;
11481
+ GW — 网关资源类型;
11410
11482
  :rtype: str
11411
11483
  """
11412
11484
  return self._GroupResourceType
@@ -12193,7 +12265,7 @@ class CreateGroupRequest(AbstractModel):
12193
12265
  :type ClusterId: str
12194
12266
  :param _GroupDesc: 部署组描述
12195
12267
  :type GroupDesc: str
12196
- :param _GroupResourceType: 部署组资源类型
12268
+ :param _GroupResourceType: 部署组资源类型;DEF 表示默认资源类型;GW 表示网关资源类型
12197
12269
  :type GroupResourceType: str
12198
12270
  :param _Alias: 部署组备注
12199
12271
  :type Alias: str
@@ -12266,7 +12338,7 @@ class CreateGroupRequest(AbstractModel):
12266
12338
 
12267
12339
  @property
12268
12340
  def GroupResourceType(self):
12269
- """部署组资源类型
12341
+ """部署组资源类型;DEF 表示默认资源类型;GW 表示网关资源类型
12270
12342
  :rtype: str
12271
12343
  """
12272
12344
  return self._GroupResourceType
@@ -12900,11 +12972,11 @@ class CreateNamespaceRequest(AbstractModel):
12900
12972
  :type NamespaceType: str
12901
12973
  :param _NamespaceId: 命名空间ID
12902
12974
  :type NamespaceId: str
12903
- :param _IsHaEnable: 是否开启高可用
12975
+ :param _IsHaEnable: 是否开启高可用,1 表示开启,0 表示不开启
12904
12976
  :type IsHaEnable: str
12905
12977
  :param _ProgramId: 需要绑定的数据集ID
12906
12978
  :type ProgramId: str
12907
- :param _ProgramIdList:
12979
+ :param _ProgramIdList: 需要绑定的数据集ID
12908
12980
  :type ProgramIdList: list of str
12909
12981
  """
12910
12982
  self._NamespaceName = None
@@ -12985,7 +13057,7 @@ class CreateNamespaceRequest(AbstractModel):
12985
13057
 
12986
13058
  @property
12987
13059
  def IsHaEnable(self):
12988
- """是否开启高可用
13060
+ """是否开启高可用,1 表示开启,0 表示不开启
12989
13061
  :rtype: str
12990
13062
  """
12991
13063
  return self._IsHaEnable
@@ -13007,7 +13079,7 @@ class CreateNamespaceRequest(AbstractModel):
13007
13079
 
13008
13080
  @property
13009
13081
  def ProgramIdList(self):
13010
- """
13082
+ """需要绑定的数据集ID
13011
13083
  :rtype: list of str
13012
13084
  """
13013
13085
  return self._ProgramIdList
@@ -17580,6 +17652,8 @@ class DeployContainerGroupRequest(AbstractModel):
17580
17652
 
17581
17653
  @property
17582
17654
  def Reponame(self):
17655
+ warnings.warn("parameter `Reponame` is deprecated", DeprecationWarning)
17656
+
17583
17657
  """旧版镜像名,如/tsf/nginx
17584
17658
  :rtype: str
17585
17659
  """
@@ -17587,6 +17661,8 @@ class DeployContainerGroupRequest(AbstractModel):
17587
17661
 
17588
17662
  @Reponame.setter
17589
17663
  def Reponame(self, Reponame):
17664
+ warnings.warn("parameter `Reponame` is deprecated", DeprecationWarning)
17665
+
17590
17666
  self._Reponame = Reponame
17591
17667
 
17592
17668
  @property
@@ -25150,9 +25226,9 @@ class DescribeInvocationMetricDataCurveRequest(AbstractModel):
25150
25226
  :type EndTime: str
25151
25227
  :param _Period: 查询时间粒度,单位秒可选值:60、3600、86400
25152
25228
  :type Period: int
25153
- :param _MetricDimensions: 查询指标维度
25229
+ :param _MetricDimensions: 查询指标维度,不能为空,支持 ServiceName, OperationName, PeerServiceName, PeerOperationName
25154
25230
  :type MetricDimensions: list of MetricDimension
25155
- :param _Metrics: 查询指标名
25231
+ :param _Metrics: 查询指标名,不能为空.
25156
25232
  :type Metrics: list of Metric
25157
25233
  :param _Kind: 视图视角。可选值:SERVER, CLIENT。默认为SERVER
25158
25234
  :type Kind: str
@@ -25202,7 +25278,7 @@ class DescribeInvocationMetricDataCurveRequest(AbstractModel):
25202
25278
 
25203
25279
  @property
25204
25280
  def MetricDimensions(self):
25205
- """查询指标维度
25281
+ """查询指标维度,不能为空,支持 ServiceName, OperationName, PeerServiceName, PeerOperationName
25206
25282
  :rtype: list of MetricDimension
25207
25283
  """
25208
25284
  return self._MetricDimensions
@@ -25213,7 +25289,7 @@ class DescribeInvocationMetricDataCurveRequest(AbstractModel):
25213
25289
 
25214
25290
  @property
25215
25291
  def Metrics(self):
25216
- """查询指标名
25292
+ """查询指标名,不能为空.
25217
25293
  :rtype: list of Metric
25218
25294
  """
25219
25295
  return self._Metrics
@@ -25510,9 +25586,9 @@ class DescribeInvocationMetricDataPointRequest(AbstractModel):
25510
25586
  :type StartTime: str
25511
25587
  :param _EndTime: 结束时间
25512
25588
  :type EndTime: str
25513
- :param _MetricDimensionValues: 维度
25589
+ :param _MetricDimensionValues: 维度,并且 维度 key value 不能为空
25514
25590
  :type MetricDimensionValues: list of MetricDimensionValue
25515
- :param _Metrics: 指标
25591
+ :param _Metrics: 指标,并且 key, value 不能为空
25516
25592
  :type Metrics: list of Metric
25517
25593
  :param _Kind: 调用视角。可选值:SERVER, CLIENT。默认为SERVER
25518
25594
  :type Kind: str
@@ -25547,7 +25623,7 @@ class DescribeInvocationMetricDataPointRequest(AbstractModel):
25547
25623
 
25548
25624
  @property
25549
25625
  def MetricDimensionValues(self):
25550
- """维度
25626
+ """维度,并且 维度 key value 不能为空
25551
25627
  :rtype: list of MetricDimensionValue
25552
25628
  """
25553
25629
  return self._MetricDimensionValues
@@ -25558,7 +25634,7 @@ class DescribeInvocationMetricDataPointRequest(AbstractModel):
25558
25634
 
25559
25635
  @property
25560
25636
  def Metrics(self):
25561
- """指标
25637
+ """指标,并且 key, value 不能为空
25562
25638
  :rtype: list of Metric
25563
25639
  """
25564
25640
  return self._Metrics
@@ -29027,7 +29103,7 @@ class DescribeSimpleClustersRequest(AbstractModel):
29027
29103
  :type Limit: int
29028
29104
  :param _SearchWord: 对id和name进行关键词过滤
29029
29105
  :type SearchWord: str
29030
- :param _DisableProgramAuthCheck:
29106
+ :param _DisableProgramAuthCheck: 是否关闭鉴权
29031
29107
  :type DisableProgramAuthCheck: bool
29032
29108
  """
29033
29109
  self._ClusterIdList = None
@@ -29094,7 +29170,7 @@ class DescribeSimpleClustersRequest(AbstractModel):
29094
29170
 
29095
29171
  @property
29096
29172
  def DisableProgramAuthCheck(self):
29097
- """
29173
+ """是否关闭鉴权
29098
29174
  :rtype: bool
29099
29175
  """
29100
29176
  return self._DisableProgramAuthCheck
@@ -29398,7 +29474,7 @@ class DescribeSimpleNamespacesRequest(AbstractModel):
29398
29474
  :type NamespaceName: str
29399
29475
  :param _IsDefault: 通过是否是默认命名空间过滤,不传表示拉取全部命名空间。0:默认命名空间。1:非默认命名空间
29400
29476
  :type IsDefault: str
29401
- :param _DisableProgramAuthCheck:
29477
+ :param _DisableProgramAuthCheck: 是否关闭鉴权查询
29402
29478
  :type DisableProgramAuthCheck: bool
29403
29479
  """
29404
29480
  self._NamespaceIdList = None
@@ -29525,7 +29601,7 @@ class DescribeSimpleNamespacesRequest(AbstractModel):
29525
29601
 
29526
29602
  @property
29527
29603
  def DisableProgramAuthCheck(self):
29528
- """
29604
+ """是否关闭鉴权查询
29529
29605
  :rtype: bool
29530
29606
  """
29531
29607
  return self._DisableProgramAuthCheck
@@ -1807,6 +1807,12 @@ AnycastEIP是否用于绑定负载均衡。
1807
1807
  :type AddressName: str
1808
1808
  :param _DedicatedClusterId: CDC唯一ID
1809
1809
  :type DedicatedClusterId: str
1810
+ :param _IsDedicatedAddressPool: 是否使用独占资源池,默认值:True
1811
+ - True:表示使用独占资源池
1812
+ - False:表示使用共享资源池
1813
+
1814
+ 说明:如需使用独占资源池,请 提交工单(https://console.cloud.tencent.com/workorder/category) 咨询,具体费用请咨询商务经理。
1815
+ :type IsDedicatedAddressPool: bool
1810
1816
  :param _Egress: 网络出口,当前仅支持精品BGP、静态单线,这2种IP 地址类型的指定出口传入,默认值:center_egress1,其它可选值:center_egress2、center_egress3
1811
1817
  :type Egress: str
1812
1818
  :param _AntiDDoSPackageId: 高防包ID, 申请高防IP时,该字段必传。
@@ -1827,6 +1833,7 @@ AnycastEIP是否用于绑定负载均衡。
1827
1833
  self._BandwidthPackageId = None
1828
1834
  self._AddressName = None
1829
1835
  self._DedicatedClusterId = None
1836
+ self._IsDedicatedAddressPool = None
1830
1837
  self._Egress = None
1831
1838
  self._AntiDDoSPackageId = None
1832
1839
  self._ClientToken = None
@@ -1994,6 +2001,21 @@ AnycastEIP是否用于绑定负载均衡。
1994
2001
  def DedicatedClusterId(self, DedicatedClusterId):
1995
2002
  self._DedicatedClusterId = DedicatedClusterId
1996
2003
 
2004
+ @property
2005
+ def IsDedicatedAddressPool(self):
2006
+ """是否使用独占资源池,默认值:True
2007
+ - True:表示使用独占资源池
2008
+ - False:表示使用共享资源池
2009
+
2010
+ 说明:如需使用独占资源池,请 提交工单(https://console.cloud.tencent.com/workorder/category) 咨询,具体费用请咨询商务经理。
2011
+ :rtype: bool
2012
+ """
2013
+ return self._IsDedicatedAddressPool
2014
+
2015
+ @IsDedicatedAddressPool.setter
2016
+ def IsDedicatedAddressPool(self, IsDedicatedAddressPool):
2017
+ self._IsDedicatedAddressPool = IsDedicatedAddressPool
2018
+
1997
2019
  @property
1998
2020
  def Egress(self):
1999
2021
  """网络出口,当前仅支持精品BGP、静态单线,这2种IP 地址类型的指定出口传入,默认值:center_egress1,其它可选值:center_egress2、center_egress3
@@ -2049,6 +2071,7 @@ AnycastEIP是否用于绑定负载均衡。
2049
2071
  self._BandwidthPackageId = params.get("BandwidthPackageId")
2050
2072
  self._AddressName = params.get("AddressName")
2051
2073
  self._DedicatedClusterId = params.get("DedicatedClusterId")
2074
+ self._IsDedicatedAddressPool = params.get("IsDedicatedAddressPool")
2052
2075
  self._Egress = params.get("Egress")
2053
2076
  self._AntiDDoSPackageId = params.get("AntiDDoSPackageId")
2054
2077
  self._ClientToken = params.get("ClientToken")
@@ -14079,6 +14079,117 @@ class DataServiceResponseParam(AbstractModel):
14079
14079
 
14080
14080
 
14081
14081
 
14082
+ class DataSourceConnectStatus(AbstractModel):
14083
+ """数据源云梯连接状态
14084
+
14085
+ """
14086
+
14087
+ def __init__(self):
14088
+ r"""
14089
+ :param _Id: id
14090
+ :type Id: int
14091
+ :param _ProjectId: 项目id
14092
+ :type ProjectId: str
14093
+ :param _DatasourceId: 数据源id
14094
+ :type DatasourceId: str
14095
+ :param _ConnectResult: 连接结果
14096
+ :type ConnectResult: int
14097
+ :param _ConnectError: 错误信息
14098
+ :type ConnectError: str
14099
+ :param _Timestamp: 时间戳
14100
+ :type Timestamp: int
14101
+ """
14102
+ self._Id = None
14103
+ self._ProjectId = None
14104
+ self._DatasourceId = None
14105
+ self._ConnectResult = None
14106
+ self._ConnectError = None
14107
+ self._Timestamp = None
14108
+
14109
+ @property
14110
+ def Id(self):
14111
+ """id
14112
+ :rtype: int
14113
+ """
14114
+ return self._Id
14115
+
14116
+ @Id.setter
14117
+ def Id(self, Id):
14118
+ self._Id = Id
14119
+
14120
+ @property
14121
+ def ProjectId(self):
14122
+ """项目id
14123
+ :rtype: str
14124
+ """
14125
+ return self._ProjectId
14126
+
14127
+ @ProjectId.setter
14128
+ def ProjectId(self, ProjectId):
14129
+ self._ProjectId = ProjectId
14130
+
14131
+ @property
14132
+ def DatasourceId(self):
14133
+ """数据源id
14134
+ :rtype: str
14135
+ """
14136
+ return self._DatasourceId
14137
+
14138
+ @DatasourceId.setter
14139
+ def DatasourceId(self, DatasourceId):
14140
+ self._DatasourceId = DatasourceId
14141
+
14142
+ @property
14143
+ def ConnectResult(self):
14144
+ """连接结果
14145
+ :rtype: int
14146
+ """
14147
+ return self._ConnectResult
14148
+
14149
+ @ConnectResult.setter
14150
+ def ConnectResult(self, ConnectResult):
14151
+ self._ConnectResult = ConnectResult
14152
+
14153
+ @property
14154
+ def ConnectError(self):
14155
+ """错误信息
14156
+ :rtype: str
14157
+ """
14158
+ return self._ConnectError
14159
+
14160
+ @ConnectError.setter
14161
+ def ConnectError(self, ConnectError):
14162
+ self._ConnectError = ConnectError
14163
+
14164
+ @property
14165
+ def Timestamp(self):
14166
+ """时间戳
14167
+ :rtype: int
14168
+ """
14169
+ return self._Timestamp
14170
+
14171
+ @Timestamp.setter
14172
+ def Timestamp(self, Timestamp):
14173
+ self._Timestamp = Timestamp
14174
+
14175
+
14176
+ def _deserialize(self, params):
14177
+ self._Id = params.get("Id")
14178
+ self._ProjectId = params.get("ProjectId")
14179
+ self._DatasourceId = params.get("DatasourceId")
14180
+ self._ConnectResult = params.get("ConnectResult")
14181
+ self._ConnectError = params.get("ConnectError")
14182
+ self._Timestamp = params.get("Timestamp")
14183
+ memeber_set = set(params.keys())
14184
+ for name, value in vars(self).items():
14185
+ property_name = name[1:]
14186
+ if property_name in memeber_set:
14187
+ memeber_set.remove(property_name)
14188
+ if len(memeber_set) > 0:
14189
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14190
+
14191
+
14192
+
14082
14193
  class DataSourceInfo(AbstractModel):
14083
14194
  """数据源对象
14084
14195
 
@@ -14188,6 +14299,9 @@ class DataSourceInfo(AbstractModel):
14188
14299
  :param _DevelopmentParams: 同params 内容为开发数据源的数据
14189
14300
  注意:此字段可能返回 null,表示取不到有效值。
14190
14301
  :type DevelopmentParams: str
14302
+ :param _ConnectStatus: 数据源连接状态
14303
+ 注意:此字段可能返回 null,表示取不到有效值。
14304
+ :type ConnectStatus: :class:`tencentcloud.wedata.v20210820.models.DataSourceConnectStatus`
14191
14305
  """
14192
14306
  self._DatabaseName = None
14193
14307
  self._Description = None
@@ -14223,6 +14337,7 @@ class DataSourceInfo(AbstractModel):
14223
14337
  self._ProductId = None
14224
14338
  self._DevelopmentId = None
14225
14339
  self._DevelopmentParams = None
14340
+ self._ConnectStatus = None
14226
14341
 
14227
14342
  @property
14228
14343
  def DatabaseName(self):
@@ -14632,6 +14747,18 @@ class DataSourceInfo(AbstractModel):
14632
14747
  def DevelopmentParams(self, DevelopmentParams):
14633
14748
  self._DevelopmentParams = DevelopmentParams
14634
14749
 
14750
+ @property
14751
+ def ConnectStatus(self):
14752
+ """数据源连接状态
14753
+ 注意:此字段可能返回 null,表示取不到有效值。
14754
+ :rtype: :class:`tencentcloud.wedata.v20210820.models.DataSourceConnectStatus`
14755
+ """
14756
+ return self._ConnectStatus
14757
+
14758
+ @ConnectStatus.setter
14759
+ def ConnectStatus(self, ConnectStatus):
14760
+ self._ConnectStatus = ConnectStatus
14761
+
14635
14762
 
14636
14763
  def _deserialize(self, params):
14637
14764
  self._DatabaseName = params.get("DatabaseName")
@@ -14668,6 +14795,9 @@ class DataSourceInfo(AbstractModel):
14668
14795
  self._ProductId = params.get("ProductId")
14669
14796
  self._DevelopmentId = params.get("DevelopmentId")
14670
14797
  self._DevelopmentParams = params.get("DevelopmentParams")
14798
+ if params.get("ConnectStatus") is not None:
14799
+ self._ConnectStatus = DataSourceConnectStatus()
14800
+ self._ConnectStatus._deserialize(params.get("ConnectStatus"))
14671
14801
  memeber_set = set(params.keys())
14672
14802
  for name, value in vars(self).items():
14673
14803
  property_name = name[1:]
@@ -57561,9 +57691,13 @@ class Pair(AbstractModel):
57561
57691
  :type Key: str
57562
57692
  :param _Value: 值
57563
57693
  :type Value: str
57694
+ :param _Id: 唯一标识
57695
+ 注意:此字段可能返回 null,表示取不到有效值。
57696
+ :type Id: str
57564
57697
  """
57565
57698
  self._Key = None
57566
57699
  self._Value = None
57700
+ self._Id = None
57567
57701
 
57568
57702
  @property
57569
57703
  def Key(self):
@@ -57587,10 +57721,23 @@ class Pair(AbstractModel):
57587
57721
  def Value(self, Value):
57588
57722
  self._Value = Value
57589
57723
 
57724
+ @property
57725
+ def Id(self):
57726
+ """ 唯一标识
57727
+ 注意:此字段可能返回 null,表示取不到有效值。
57728
+ :rtype: str
57729
+ """
57730
+ return self._Id
57731
+
57732
+ @Id.setter
57733
+ def Id(self, Id):
57734
+ self._Id = Id
57735
+
57590
57736
 
57591
57737
  def _deserialize(self, params):
57592
57738
  self._Key = params.get("Key")
57593
57739
  self._Value = params.get("Value")
57740
+ self._Id = params.get("Id")
57594
57741
  memeber_set = set(params.keys())
57595
57742
  for name, value in vars(self).items():
57596
57743
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1281
3
+ Version: 3.0.1283
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud