tencentcloud-sdk-python 3.0.1282__py2.py3-none-any.whl → 3.0.1284__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 (26) 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/essbasic/v20210526/models.py +17 -0
  6. tencentcloud/faceid/v20180301/models.py +34 -0
  7. tencentcloud/hunyuan/v20230901/models.py +15 -0
  8. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +75 -2
  9. tencentcloud/iotexplorer/v20190423/models.py +521 -0
  10. tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
  11. tencentcloud/iotvideo/v20211125/models.py +301 -0
  12. tencentcloud/ocr/v20181119/ocr_client.py +2 -0
  13. tencentcloud/sms/v20210111/models.py +2 -2
  14. tencentcloud/ssl/v20191205/models.py +15 -0
  15. tencentcloud/tcbr/v20220217/models.py +0 -42
  16. tencentcloud/trocket/v20230308/models.py +30 -0
  17. tencentcloud/tsf/v20180326/errorcodes.py +18 -0
  18. tencentcloud/tsf/v20180326/models.py +106 -30
  19. tencentcloud/vrs/v20200824/models.py +115 -4
  20. tencentcloud/vrs/v20200824/vrs_client.py +23 -0
  21. tencentcloud/wedata/v20210820/models.py +130 -0
  22. {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/METADATA +1 -1
  23. {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/RECORD +26 -26
  24. {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/LICENSE +0 -0
  25. {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/WHEEL +0 -0
  26. {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.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
@@ -1203,6 +1203,117 @@ class GetTrainingTextResponse(AbstractModel):
1203
1203
  self._RequestId = params.get("RequestId")
1204
1204
 
1205
1205
 
1206
+ class GetVRSVoiceTypeInfoRequest(AbstractModel):
1207
+ """GetVRSVoiceTypeInfo请求参数结构体
1208
+
1209
+ """
1210
+
1211
+ def __init__(self):
1212
+ r"""
1213
+ :param _VoiceType: 音色id。
1214
+ :type VoiceType: int
1215
+ :param _TaskType: 0 - 除快速声音复刻外其他复刻类型(默认); 5 - 快速声音复刻。 默认为0。
1216
+ :type TaskType: int
1217
+ :param _FastVoiceType: 快速复刻音色id。
1218
+ :type FastVoiceType: str
1219
+ """
1220
+ self._VoiceType = None
1221
+ self._TaskType = None
1222
+ self._FastVoiceType = None
1223
+
1224
+ @property
1225
+ def VoiceType(self):
1226
+ """音色id。
1227
+ :rtype: int
1228
+ """
1229
+ return self._VoiceType
1230
+
1231
+ @VoiceType.setter
1232
+ def VoiceType(self, VoiceType):
1233
+ self._VoiceType = VoiceType
1234
+
1235
+ @property
1236
+ def TaskType(self):
1237
+ """0 - 除快速声音复刻外其他复刻类型(默认); 5 - 快速声音复刻。 默认为0。
1238
+ :rtype: int
1239
+ """
1240
+ return self._TaskType
1241
+
1242
+ @TaskType.setter
1243
+ def TaskType(self, TaskType):
1244
+ self._TaskType = TaskType
1245
+
1246
+ @property
1247
+ def FastVoiceType(self):
1248
+ """快速复刻音色id。
1249
+ :rtype: str
1250
+ """
1251
+ return self._FastVoiceType
1252
+
1253
+ @FastVoiceType.setter
1254
+ def FastVoiceType(self, FastVoiceType):
1255
+ self._FastVoiceType = FastVoiceType
1256
+
1257
+
1258
+ def _deserialize(self, params):
1259
+ self._VoiceType = params.get("VoiceType")
1260
+ self._TaskType = params.get("TaskType")
1261
+ self._FastVoiceType = params.get("FastVoiceType")
1262
+ memeber_set = set(params.keys())
1263
+ for name, value in vars(self).items():
1264
+ property_name = name[1:]
1265
+ if property_name in memeber_set:
1266
+ memeber_set.remove(property_name)
1267
+ if len(memeber_set) > 0:
1268
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1269
+
1270
+
1271
+
1272
+ class GetVRSVoiceTypeInfoResponse(AbstractModel):
1273
+ """GetVRSVoiceTypeInfo返回参数结构体
1274
+
1275
+ """
1276
+
1277
+ def __init__(self):
1278
+ r"""
1279
+ :param _Data: 音色信息
1280
+ :type Data: :class:`tencentcloud.vrs.v20200824.models.VoiceTypeInfo`
1281
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1282
+ :type RequestId: str
1283
+ """
1284
+ self._Data = None
1285
+ self._RequestId = None
1286
+
1287
+ @property
1288
+ def Data(self):
1289
+ """音色信息
1290
+ :rtype: :class:`tencentcloud.vrs.v20200824.models.VoiceTypeInfo`
1291
+ """
1292
+ return self._Data
1293
+
1294
+ @Data.setter
1295
+ def Data(self, Data):
1296
+ self._Data = Data
1297
+
1298
+ @property
1299
+ def RequestId(self):
1300
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1301
+ :rtype: str
1302
+ """
1303
+ return self._RequestId
1304
+
1305
+ @RequestId.setter
1306
+ def RequestId(self, RequestId):
1307
+ self._RequestId = RequestId
1308
+
1309
+
1310
+ def _deserialize(self, params):
1311
+ if params.get("Data") is not None:
1312
+ self._Data = VoiceTypeInfo()
1313
+ self._Data._deserialize(params.get("Data"))
1314
+ self._RequestId = params.get("RequestId")
1315
+
1316
+
1206
1317
  class GetVRSVoiceTypesRequest(AbstractModel):
1207
1318
  """GetVRSVoiceTypes请求参数结构体
1208
1319
 
@@ -1602,10 +1713,10 @@ class Words(AbstractModel):
1602
1713
 
1603
1714
  def __init__(self):
1604
1715
  r"""
1605
- :param _PronAccuracy: 准确度 (<75则认为不合格)
1716
+ :param _PronAccuracy: 准确度 (小于75则认为不合格)
1606
1717
  注意:此字段可能返回 null,表示取不到有效值。
1607
1718
  :type PronAccuracy: float
1608
- :param _PronFluency: 流畅度 (<0.95则认为不合格)
1719
+ :param _PronFluency: 流畅度 (小于0.95则认为不合格)
1609
1720
  注意:此字段可能返回 null,表示取不到有效值。
1610
1721
  :type PronFluency: float
1611
1722
  :param _Tag: tag:
@@ -1628,7 +1739,7 @@ class Words(AbstractModel):
1628
1739
 
1629
1740
  @property
1630
1741
  def PronAccuracy(self):
1631
- """准确度 (<75则认为不合格)
1742
+ """准确度 (小于75则认为不合格)
1632
1743
  注意:此字段可能返回 null,表示取不到有效值。
1633
1744
  :rtype: float
1634
1745
  """
@@ -1640,7 +1751,7 @@ class Words(AbstractModel):
1640
1751
 
1641
1752
  @property
1642
1753
  def PronFluency(self):
1643
- """流畅度 (<0.95则认为不合格)
1754
+ """流畅度 (小于0.95则认为不合格)
1644
1755
  注意:此字段可能返回 null,表示取不到有效值。
1645
1756
  :rtype: float
1646
1757
  """
@@ -176,6 +176,29 @@ class VrsClient(AbstractClient):
176
176
  raise TencentCloudSDKException(type(e).__name__, str(e))
177
177
 
178
178
 
179
+ def GetVRSVoiceTypeInfo(self, request):
180
+ """该接口用于查询复刻音色详细信息。
181
+
182
+ :param request: Request instance for GetVRSVoiceTypeInfo.
183
+ :type request: :class:`tencentcloud.vrs.v20200824.models.GetVRSVoiceTypeInfoRequest`
184
+ :rtype: :class:`tencentcloud.vrs.v20200824.models.GetVRSVoiceTypeInfoResponse`
185
+
186
+ """
187
+ try:
188
+ params = request._serialize()
189
+ headers = request.headers
190
+ body = self.call("GetVRSVoiceTypeInfo", params, headers=headers)
191
+ response = json.loads(body)
192
+ model = models.GetVRSVoiceTypeInfoResponse()
193
+ model._deserialize(response["Response"])
194
+ return model
195
+ except Exception as e:
196
+ if isinstance(e, TencentCloudSDKException):
197
+ raise
198
+ else:
199
+ raise TencentCloudSDKException(type(e).__name__, str(e))
200
+
201
+
179
202
  def GetVRSVoiceTypes(self, request):
180
203
  """查询复刻音色
181
204