tencentcloud-sdk-python 3.0.1282__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -4
- tencentcloud/cwp/v20180228/cwp_client.py +138 -0
- tencentcloud/cwp/v20180228/models.py +1015 -162
- tencentcloud/faceid/v20180301/models.py +34 -0
- tencentcloud/hunyuan/v20230901/models.py +15 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +301 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20211125/models.py +301 -0
- tencentcloud/ocr/v20181119/ocr_client.py +2 -0
- tencentcloud/ssl/v20191205/models.py +15 -0
- tencentcloud/tcbr/v20220217/models.py +0 -42
- tencentcloud/trocket/v20230308/models.py +30 -0
- tencentcloud/tsf/v20180326/errorcodes.py +18 -0
- tencentcloud/tsf/v20180326/models.py +106 -30
- tencentcloud/wedata/v20210820/models.py +130 -0
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/RECORD +22 -22
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1283.dist-info}/top_level.txt +0 -0
@@ -411,6 +411,8 @@ PLATINUM 铂金版
|
|
411
411
|
:type TimeSpan: int
|
412
412
|
:param _MaxTopicNum: 最大可创建主题数
|
413
413
|
:type MaxTopicNum: int
|
414
|
+
:param _ZoneIds: 部署可用区列表
|
415
|
+
:type ZoneIds: list of int
|
414
416
|
"""
|
415
417
|
self._InstanceType = None
|
416
418
|
self._Name = None
|
@@ -427,6 +429,7 @@ PLATINUM 铂金版
|
|
427
429
|
self._RenewFlag = None
|
428
430
|
self._TimeSpan = None
|
429
431
|
self._MaxTopicNum = None
|
432
|
+
self._ZoneIds = None
|
430
433
|
|
431
434
|
@property
|
432
435
|
def InstanceType(self):
|
@@ -597,6 +600,17 @@ PLATINUM 铂金版
|
|
597
600
|
def MaxTopicNum(self, MaxTopicNum):
|
598
601
|
self._MaxTopicNum = MaxTopicNum
|
599
602
|
|
603
|
+
@property
|
604
|
+
def ZoneIds(self):
|
605
|
+
"""部署可用区列表
|
606
|
+
:rtype: list of int
|
607
|
+
"""
|
608
|
+
return self._ZoneIds
|
609
|
+
|
610
|
+
@ZoneIds.setter
|
611
|
+
def ZoneIds(self, ZoneIds):
|
612
|
+
self._ZoneIds = ZoneIds
|
613
|
+
|
600
614
|
|
601
615
|
def _deserialize(self, params):
|
602
616
|
self._InstanceType = params.get("InstanceType")
|
@@ -629,6 +643,7 @@ PLATINUM 铂金版
|
|
629
643
|
self._RenewFlag = params.get("RenewFlag")
|
630
644
|
self._TimeSpan = params.get("TimeSpan")
|
631
645
|
self._MaxTopicNum = params.get("MaxTopicNum")
|
646
|
+
self._ZoneIds = params.get("ZoneIds")
|
632
647
|
memeber_set = set(params.keys())
|
633
648
|
for name, value in vars(self).items():
|
634
649
|
property_name = name[1:]
|
@@ -3207,6 +3222,8 @@ PLATINUM 铂金版
|
|
3207
3222
|
:param _TopicNumUpperLimit: 最大可设置的topic个数
|
3208
3223
|
注意:此字段可能返回 null,表示取不到有效值。
|
3209
3224
|
:type TopicNumUpperLimit: int
|
3225
|
+
:param _ZoneIds: 可用区列表
|
3226
|
+
:type ZoneIds: list of int
|
3210
3227
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3211
3228
|
:type RequestId: str
|
3212
3229
|
"""
|
@@ -3240,6 +3257,7 @@ PLATINUM 铂金版
|
|
3240
3257
|
self._AclEnabled = None
|
3241
3258
|
self._TopicNumLowerLimit = None
|
3242
3259
|
self._TopicNumUpperLimit = None
|
3260
|
+
self._ZoneIds = None
|
3243
3261
|
self._RequestId = None
|
3244
3262
|
|
3245
3263
|
@property
|
@@ -3581,6 +3599,17 @@ PLATINUM 铂金版
|
|
3581
3599
|
def TopicNumUpperLimit(self, TopicNumUpperLimit):
|
3582
3600
|
self._TopicNumUpperLimit = TopicNumUpperLimit
|
3583
3601
|
|
3602
|
+
@property
|
3603
|
+
def ZoneIds(self):
|
3604
|
+
"""可用区列表
|
3605
|
+
:rtype: list of int
|
3606
|
+
"""
|
3607
|
+
return self._ZoneIds
|
3608
|
+
|
3609
|
+
@ZoneIds.setter
|
3610
|
+
def ZoneIds(self, ZoneIds):
|
3611
|
+
self._ZoneIds = ZoneIds
|
3612
|
+
|
3584
3613
|
@property
|
3585
3614
|
def RequestId(self):
|
3586
3615
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -3634,6 +3663,7 @@ PLATINUM 铂金版
|
|
3634
3663
|
self._AclEnabled = params.get("AclEnabled")
|
3635
3664
|
self._TopicNumLowerLimit = params.get("TopicNumLowerLimit")
|
3636
3665
|
self._TopicNumUpperLimit = params.get("TopicNumUpperLimit")
|
3666
|
+
self._ZoneIds = params.get("ZoneIds")
|
3637
3667
|
self._RequestId = params.get("RequestId")
|
3638
3668
|
|
3639
3669
|
|
@@ -17,6 +17,9 @@
|
|
17
17
|
# API元数据解析失败。
|
18
18
|
FAILEDOPERATION_APIMETAPARSEFAILED = 'FailedOperation.ApiMetaParseFailed'
|
19
19
|
|
20
|
+
# 调用TSF-APM服务获取配置列表失败
|
21
|
+
FAILEDOPERATION_APMGETCONFIGSFAILED = 'FailedOperation.ApmGetConfigsFailed'
|
22
|
+
|
20
23
|
# 创建应用,获取ES鉴权信息失败。
|
21
24
|
FAILEDOPERATION_APPLICATIONCREATEESATUHERROR = 'FailedOperation.ApplicationCreateEsAtuhError'
|
22
25
|
|
@@ -26,6 +29,12 @@ FAILEDOPERATION_APPLICATIONQUERYFAILED = 'FailedOperation.ApplicationQueryFailed
|
|
26
29
|
# TSF应用性能管理调用tsf-dcfg模块失败
|
27
30
|
FAILEDOPERATION_CALLTSFDCFGFAILED = 'FailedOperation.CallTsfDcfgFailed'
|
28
31
|
|
32
|
+
# 调用CDI状态接口失败
|
33
|
+
FAILEDOPERATION_CDISTATUSFAILED = 'FailedOperation.CdiStatusFailed'
|
34
|
+
|
35
|
+
# 调用CDI状态返回数据异常
|
36
|
+
FAILEDOPERATION_CDISTATUSINVALID = 'FailedOperation.CdiStatusInvalid'
|
37
|
+
|
29
38
|
# TSF云API请求调用失败。
|
30
39
|
FAILEDOPERATION_CLOUDAPIPROXYERROR = 'FailedOperation.CloudApiProxyError'
|
31
40
|
|
@@ -185,6 +194,12 @@ FAILEDOPERATION_SERVICEINSERTFAILED = 'FailedOperation.ServiceInsertFailed'
|
|
185
194
|
# 服务查询失败。
|
186
195
|
FAILEDOPERATION_SERVICEQUERYFAILED = 'FailedOperation.ServiceQueryFailed'
|
187
196
|
|
197
|
+
# 可观测性支持依赖TAPM业务系统绑定
|
198
|
+
FAILEDOPERATION_TAPMBINDREQUIRED = 'FailedOperation.TapmBindRequired'
|
199
|
+
|
200
|
+
# 请使用TAPM提供的Otel探针
|
201
|
+
FAILEDOPERATION_TAPMEXPIREDOTEL = 'FailedOperation.TapmExpiredOtel'
|
202
|
+
|
188
203
|
# 任务创建异常。
|
189
204
|
FAILEDOPERATION_TASKCREATEERROR = 'FailedOperation.TaskCreateError'
|
190
205
|
|
@@ -314,6 +329,9 @@ INTERNALERROR_CAMROLEREQUESTERROR = 'InternalError.CamRoleRequestError'
|
|
314
329
|
# 配置发布失败:无法连接配置中心服务器。
|
315
330
|
INTERNALERROR_CANNOTCONNCONSULSERVER = 'InternalError.CanNotConnConsulServer'
|
316
331
|
|
332
|
+
# 调用CDI状态接口返回数据异常
|
333
|
+
INTERNALERROR_CDISTATUSDATAINVALID = 'InternalError.CdiStatusDataInvalid'
|
334
|
+
|
317
335
|
# TSF云API请求调用失败。
|
318
336
|
INTERNALERROR_CLOUDAPIPROXYERROR = 'InternalError.CloudApiProxyError'
|
319
337
|
|
@@ -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
|
@@ -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:]
|