tencentcloud-sdk-python 3.0.1413__py2.py3-none-any.whl → 3.0.1415__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/aiart/v20221229/aiart_client.py +48 -0
- tencentcloud/aiart/v20221229/errorcodes.py +3 -0
- tencentcloud/aiart/v20221229/models.py +570 -0
- tencentcloud/apm/v20210622/models.py +360 -0
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +248 -0
- tencentcloud/cdb/v20170320/models.py +144 -120
- tencentcloud/csip/v20221121/csip_client.py +69 -0
- tencentcloud/csip/v20221121/models.py +3253 -1734
- tencentcloud/emr/v20190103/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +82 -2
- tencentcloud/essbasic/v20210526/models.py +40 -0
- tencentcloud/mps/v20190612/models.py +10 -4
- tencentcloud/oceanus/v20190422/models.py +257 -0
- tencentcloud/redis/v20180412/models.py +15 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +12 -0
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/models.py +47 -0
- tencentcloud/waf/v20180125/models.py +91 -0
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/top_level.txt +0 -0
@@ -440,6 +440,9 @@ class Cluster(AbstractModel):
|
|
440
440
|
:param _Setats: setats集群
|
441
441
|
注意:此字段可能返回 null,表示取不到有效值。
|
442
442
|
:type Setats: :class:`tencentcloud.oceanus.v20190422.models.Setats`
|
443
|
+
:param _Yarns: []
|
444
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
445
|
+
:type Yarns: list of HadoopYarnItem
|
443
446
|
"""
|
444
447
|
self._ClusterId = None
|
445
448
|
self._Name = None
|
@@ -494,6 +497,7 @@ class Cluster(AbstractModel):
|
|
494
497
|
self._RunningCpu = None
|
495
498
|
self._RunningMem = None
|
496
499
|
self._Setats = None
|
500
|
+
self._Yarns = None
|
497
501
|
|
498
502
|
@property
|
499
503
|
def ClusterId(self):
|
@@ -1109,6 +1113,18 @@ class Cluster(AbstractModel):
|
|
1109
1113
|
def Setats(self, Setats):
|
1110
1114
|
self._Setats = Setats
|
1111
1115
|
|
1116
|
+
@property
|
1117
|
+
def Yarns(self):
|
1118
|
+
"""[]
|
1119
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1120
|
+
:rtype: list of HadoopYarnItem
|
1121
|
+
"""
|
1122
|
+
return self._Yarns
|
1123
|
+
|
1124
|
+
@Yarns.setter
|
1125
|
+
def Yarns(self, Yarns):
|
1126
|
+
self._Yarns = Yarns
|
1127
|
+
|
1112
1128
|
|
1113
1129
|
def _deserialize(self, params):
|
1114
1130
|
self._ClusterId = params.get("ClusterId")
|
@@ -1200,6 +1216,12 @@ class Cluster(AbstractModel):
|
|
1200
1216
|
if params.get("Setats") is not None:
|
1201
1217
|
self._Setats = Setats()
|
1202
1218
|
self._Setats._deserialize(params.get("Setats"))
|
1219
|
+
if params.get("Yarns") is not None:
|
1220
|
+
self._Yarns = []
|
1221
|
+
for item in params.get("Yarns"):
|
1222
|
+
obj = HadoopYarnItem()
|
1223
|
+
obj._deserialize(item)
|
1224
|
+
self._Yarns.append(obj)
|
1203
1225
|
memeber_set = set(params.keys())
|
1204
1226
|
for name, value in vars(self).items():
|
1205
1227
|
property_name = name[1:]
|
@@ -2654,6 +2676,12 @@ class CreateJobConfigRequest(AbstractModel):
|
|
2654
2676
|
:type TaskManagerCpu: float
|
2655
2677
|
:param _TaskManagerMem: TaskManager 内存
|
2656
2678
|
:type TaskManagerMem: float
|
2679
|
+
:param _UseOldSystemConnector: 0=默认使用老的 1=使用新的
|
2680
|
+
:type UseOldSystemConnector: int
|
2681
|
+
:param _ProgramArgsAfterGzip: 压缩参数
|
2682
|
+
:type ProgramArgsAfterGzip: str
|
2683
|
+
:param _CheckpointTimeoutSecond: checkpoint 超时时间
|
2684
|
+
:type CheckpointTimeoutSecond: int
|
2657
2685
|
"""
|
2658
2686
|
self._JobId = None
|
2659
2687
|
self._EntrypointClass = None
|
@@ -2688,6 +2716,9 @@ class CreateJobConfigRequest(AbstractModel):
|
|
2688
2716
|
self._JobManagerMem = None
|
2689
2717
|
self._TaskManagerCpu = None
|
2690
2718
|
self._TaskManagerMem = None
|
2719
|
+
self._UseOldSystemConnector = None
|
2720
|
+
self._ProgramArgsAfterGzip = None
|
2721
|
+
self._CheckpointTimeoutSecond = None
|
2691
2722
|
|
2692
2723
|
@property
|
2693
2724
|
def JobId(self):
|
@@ -3052,6 +3083,39 @@ class CreateJobConfigRequest(AbstractModel):
|
|
3052
3083
|
def TaskManagerMem(self, TaskManagerMem):
|
3053
3084
|
self._TaskManagerMem = TaskManagerMem
|
3054
3085
|
|
3086
|
+
@property
|
3087
|
+
def UseOldSystemConnector(self):
|
3088
|
+
"""0=默认使用老的 1=使用新的
|
3089
|
+
:rtype: int
|
3090
|
+
"""
|
3091
|
+
return self._UseOldSystemConnector
|
3092
|
+
|
3093
|
+
@UseOldSystemConnector.setter
|
3094
|
+
def UseOldSystemConnector(self, UseOldSystemConnector):
|
3095
|
+
self._UseOldSystemConnector = UseOldSystemConnector
|
3096
|
+
|
3097
|
+
@property
|
3098
|
+
def ProgramArgsAfterGzip(self):
|
3099
|
+
"""压缩参数
|
3100
|
+
:rtype: str
|
3101
|
+
"""
|
3102
|
+
return self._ProgramArgsAfterGzip
|
3103
|
+
|
3104
|
+
@ProgramArgsAfterGzip.setter
|
3105
|
+
def ProgramArgsAfterGzip(self, ProgramArgsAfterGzip):
|
3106
|
+
self._ProgramArgsAfterGzip = ProgramArgsAfterGzip
|
3107
|
+
|
3108
|
+
@property
|
3109
|
+
def CheckpointTimeoutSecond(self):
|
3110
|
+
"""checkpoint 超时时间
|
3111
|
+
:rtype: int
|
3112
|
+
"""
|
3113
|
+
return self._CheckpointTimeoutSecond
|
3114
|
+
|
3115
|
+
@CheckpointTimeoutSecond.setter
|
3116
|
+
def CheckpointTimeoutSecond(self, CheckpointTimeoutSecond):
|
3117
|
+
self._CheckpointTimeoutSecond = CheckpointTimeoutSecond
|
3118
|
+
|
3055
3119
|
|
3056
3120
|
def _deserialize(self, params):
|
3057
3121
|
self._JobId = params.get("JobId")
|
@@ -3108,6 +3172,9 @@ class CreateJobConfigRequest(AbstractModel):
|
|
3108
3172
|
self._JobManagerMem = params.get("JobManagerMem")
|
3109
3173
|
self._TaskManagerCpu = params.get("TaskManagerCpu")
|
3110
3174
|
self._TaskManagerMem = params.get("TaskManagerMem")
|
3175
|
+
self._UseOldSystemConnector = params.get("UseOldSystemConnector")
|
3176
|
+
self._ProgramArgsAfterGzip = params.get("ProgramArgsAfterGzip")
|
3177
|
+
self._CheckpointTimeoutSecond = params.get("CheckpointTimeoutSecond")
|
3111
3178
|
memeber_set = set(params.keys())
|
3112
3179
|
for name, value in vars(self).items():
|
3113
3180
|
property_name = name[1:]
|
@@ -8249,6 +8316,151 @@ Q1JFQVRFIFRBQkxFIGRhdGFnZW5fc291cmNlX3RhYmxlICggCiAgICBpZCBJTlQsIAogICAgbmFtZSBT
|
|
8249
8316
|
self._RequestId = params.get("RequestId")
|
8250
8317
|
|
8251
8318
|
|
8319
|
+
class HadoopYarnItem(AbstractModel):
|
8320
|
+
"""hadoopYarn资源信息
|
8321
|
+
|
8322
|
+
"""
|
8323
|
+
|
8324
|
+
def __init__(self):
|
8325
|
+
r"""
|
8326
|
+
:param _ClusterGroupSerialId: ClusterGroupSerialId
|
8327
|
+
:type ClusterGroupSerialId: str
|
8328
|
+
:param _Status: 状态
|
8329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8330
|
+
:type Status: int
|
8331
|
+
:param _Cpu: cpu
|
8332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8333
|
+
:type Cpu: float
|
8334
|
+
:param _Mem: mem
|
8335
|
+
:type Mem: float
|
8336
|
+
:param _CreateTime: 创建时间
|
8337
|
+
:type CreateTime: str
|
8338
|
+
:param _UpdateTime: 更新时间
|
8339
|
+
:type UpdateTime: str
|
8340
|
+
:param _Config: 配置文件内容
|
8341
|
+
:type Config: str
|
8342
|
+
:param _CreatorUin: CreatorUin
|
8343
|
+
:type CreatorUin: str
|
8344
|
+
"""
|
8345
|
+
self._ClusterGroupSerialId = None
|
8346
|
+
self._Status = None
|
8347
|
+
self._Cpu = None
|
8348
|
+
self._Mem = None
|
8349
|
+
self._CreateTime = None
|
8350
|
+
self._UpdateTime = None
|
8351
|
+
self._Config = None
|
8352
|
+
self._CreatorUin = None
|
8353
|
+
|
8354
|
+
@property
|
8355
|
+
def ClusterGroupSerialId(self):
|
8356
|
+
"""ClusterGroupSerialId
|
8357
|
+
:rtype: str
|
8358
|
+
"""
|
8359
|
+
return self._ClusterGroupSerialId
|
8360
|
+
|
8361
|
+
@ClusterGroupSerialId.setter
|
8362
|
+
def ClusterGroupSerialId(self, ClusterGroupSerialId):
|
8363
|
+
self._ClusterGroupSerialId = ClusterGroupSerialId
|
8364
|
+
|
8365
|
+
@property
|
8366
|
+
def Status(self):
|
8367
|
+
"""状态
|
8368
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8369
|
+
:rtype: int
|
8370
|
+
"""
|
8371
|
+
return self._Status
|
8372
|
+
|
8373
|
+
@Status.setter
|
8374
|
+
def Status(self, Status):
|
8375
|
+
self._Status = Status
|
8376
|
+
|
8377
|
+
@property
|
8378
|
+
def Cpu(self):
|
8379
|
+
"""cpu
|
8380
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8381
|
+
:rtype: float
|
8382
|
+
"""
|
8383
|
+
return self._Cpu
|
8384
|
+
|
8385
|
+
@Cpu.setter
|
8386
|
+
def Cpu(self, Cpu):
|
8387
|
+
self._Cpu = Cpu
|
8388
|
+
|
8389
|
+
@property
|
8390
|
+
def Mem(self):
|
8391
|
+
"""mem
|
8392
|
+
:rtype: float
|
8393
|
+
"""
|
8394
|
+
return self._Mem
|
8395
|
+
|
8396
|
+
@Mem.setter
|
8397
|
+
def Mem(self, Mem):
|
8398
|
+
self._Mem = Mem
|
8399
|
+
|
8400
|
+
@property
|
8401
|
+
def CreateTime(self):
|
8402
|
+
"""创建时间
|
8403
|
+
:rtype: str
|
8404
|
+
"""
|
8405
|
+
return self._CreateTime
|
8406
|
+
|
8407
|
+
@CreateTime.setter
|
8408
|
+
def CreateTime(self, CreateTime):
|
8409
|
+
self._CreateTime = CreateTime
|
8410
|
+
|
8411
|
+
@property
|
8412
|
+
def UpdateTime(self):
|
8413
|
+
"""更新时间
|
8414
|
+
:rtype: str
|
8415
|
+
"""
|
8416
|
+
return self._UpdateTime
|
8417
|
+
|
8418
|
+
@UpdateTime.setter
|
8419
|
+
def UpdateTime(self, UpdateTime):
|
8420
|
+
self._UpdateTime = UpdateTime
|
8421
|
+
|
8422
|
+
@property
|
8423
|
+
def Config(self):
|
8424
|
+
"""配置文件内容
|
8425
|
+
:rtype: str
|
8426
|
+
"""
|
8427
|
+
return self._Config
|
8428
|
+
|
8429
|
+
@Config.setter
|
8430
|
+
def Config(self, Config):
|
8431
|
+
self._Config = Config
|
8432
|
+
|
8433
|
+
@property
|
8434
|
+
def CreatorUin(self):
|
8435
|
+
"""CreatorUin
|
8436
|
+
:rtype: str
|
8437
|
+
"""
|
8438
|
+
return self._CreatorUin
|
8439
|
+
|
8440
|
+
@CreatorUin.setter
|
8441
|
+
def CreatorUin(self, CreatorUin):
|
8442
|
+
self._CreatorUin = CreatorUin
|
8443
|
+
|
8444
|
+
|
8445
|
+
def _deserialize(self, params):
|
8446
|
+
self._ClusterGroupSerialId = params.get("ClusterGroupSerialId")
|
8447
|
+
self._Status = params.get("Status")
|
8448
|
+
self._Cpu = params.get("Cpu")
|
8449
|
+
self._Mem = params.get("Mem")
|
8450
|
+
self._CreateTime = params.get("CreateTime")
|
8451
|
+
self._UpdateTime = params.get("UpdateTime")
|
8452
|
+
self._Config = params.get("Config")
|
8453
|
+
self._CreatorUin = params.get("CreatorUin")
|
8454
|
+
memeber_set = set(params.keys())
|
8455
|
+
for name, value in vars(self).items():
|
8456
|
+
property_name = name[1:]
|
8457
|
+
if property_name in memeber_set:
|
8458
|
+
memeber_set.remove(property_name)
|
8459
|
+
if len(memeber_set) > 0:
|
8460
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8461
|
+
|
8462
|
+
|
8463
|
+
|
8252
8464
|
class JobConfig(AbstractModel):
|
8253
8465
|
"""作业配置详情
|
8254
8466
|
|
@@ -8367,6 +8579,8 @@ class JobConfig(AbstractModel):
|
|
8367
8579
|
:param _JobConfigItem: 运行中配置
|
8368
8580
|
注意:此字段可能返回 null,表示取不到有效值。
|
8369
8581
|
:type JobConfigItem: :class:`tencentcloud.oceanus.v20190422.models.JobConfig`
|
8582
|
+
:param _CheckpointTimeoutSecond: checkpoint 超时时间
|
8583
|
+
:type CheckpointTimeoutSecond: int
|
8370
8584
|
"""
|
8371
8585
|
self._JobId = None
|
8372
8586
|
self._EntrypointClass = None
|
@@ -8406,6 +8620,7 @@ class JobConfig(AbstractModel):
|
|
8406
8620
|
self._TaskManagerCpu = None
|
8407
8621
|
self._TaskManagerMem = None
|
8408
8622
|
self._JobConfigItem = None
|
8623
|
+
self._CheckpointTimeoutSecond = None
|
8409
8624
|
|
8410
8625
|
@property
|
8411
8626
|
def JobId(self):
|
@@ -8860,6 +9075,17 @@ class JobConfig(AbstractModel):
|
|
8860
9075
|
def JobConfigItem(self, JobConfigItem):
|
8861
9076
|
self._JobConfigItem = JobConfigItem
|
8862
9077
|
|
9078
|
+
@property
|
9079
|
+
def CheckpointTimeoutSecond(self):
|
9080
|
+
"""checkpoint 超时时间
|
9081
|
+
:rtype: int
|
9082
|
+
"""
|
9083
|
+
return self._CheckpointTimeoutSecond
|
9084
|
+
|
9085
|
+
@CheckpointTimeoutSecond.setter
|
9086
|
+
def CheckpointTimeoutSecond(self, CheckpointTimeoutSecond):
|
9087
|
+
self._CheckpointTimeoutSecond = CheckpointTimeoutSecond
|
9088
|
+
|
8863
9089
|
|
8864
9090
|
def _deserialize(self, params):
|
8865
9091
|
self._JobId = params.get("JobId")
|
@@ -8923,6 +9149,7 @@ class JobConfig(AbstractModel):
|
|
8923
9149
|
if params.get("JobConfigItem") is not None:
|
8924
9150
|
self._JobConfigItem = JobConfig()
|
8925
9151
|
self._JobConfigItem._deserialize(params.get("JobConfigItem"))
|
9152
|
+
self._CheckpointTimeoutSecond = params.get("CheckpointTimeoutSecond")
|
8926
9153
|
memeber_set = set(params.keys())
|
8927
9154
|
for name, value in vars(self).items():
|
8928
9155
|
property_name = name[1:]
|
@@ -9543,6 +9770,8 @@ class JobV1(AbstractModel):
|
|
9543
9770
|
:param _ProgressDesc: 操作中描述
|
9544
9771
|
注意:此字段可能返回 null,表示取不到有效值。
|
9545
9772
|
:type ProgressDesc: str
|
9773
|
+
:param _ContinueAlarm: 停止持续告警
|
9774
|
+
:type ContinueAlarm: int
|
9546
9775
|
"""
|
9547
9776
|
self._JobId = None
|
9548
9777
|
self._Region = None
|
@@ -9583,6 +9812,7 @@ class JobV1(AbstractModel):
|
|
9583
9812
|
self._RunningMem = None
|
9584
9813
|
self._OpenJobDefaultAlarm = None
|
9585
9814
|
self._ProgressDesc = None
|
9815
|
+
self._ContinueAlarm = None
|
9586
9816
|
|
9587
9817
|
@property
|
9588
9818
|
def JobId(self):
|
@@ -10053,6 +10283,17 @@ class JobV1(AbstractModel):
|
|
10053
10283
|
def ProgressDesc(self, ProgressDesc):
|
10054
10284
|
self._ProgressDesc = ProgressDesc
|
10055
10285
|
|
10286
|
+
@property
|
10287
|
+
def ContinueAlarm(self):
|
10288
|
+
"""停止持续告警
|
10289
|
+
:rtype: int
|
10290
|
+
"""
|
10291
|
+
return self._ContinueAlarm
|
10292
|
+
|
10293
|
+
@ContinueAlarm.setter
|
10294
|
+
def ContinueAlarm(self, ContinueAlarm):
|
10295
|
+
self._ContinueAlarm = ContinueAlarm
|
10296
|
+
|
10056
10297
|
|
10057
10298
|
def _deserialize(self, params):
|
10058
10299
|
self._JobId = params.get("JobId")
|
@@ -10101,6 +10342,7 @@ class JobV1(AbstractModel):
|
|
10101
10342
|
self._RunningMem = params.get("RunningMem")
|
10102
10343
|
self._OpenJobDefaultAlarm = params.get("OpenJobDefaultAlarm")
|
10103
10344
|
self._ProgressDesc = params.get("ProgressDesc")
|
10345
|
+
self._ContinueAlarm = params.get("ContinueAlarm")
|
10104
10346
|
memeber_set = set(params.keys())
|
10105
10347
|
for name, value in vars(self).items():
|
10106
10348
|
property_name = name[1:]
|
@@ -10445,6 +10687,8 @@ class ModifyJobRequest(AbstractModel):
|
|
10445
10687
|
:type WorkSpaceId: str
|
10446
10688
|
:param _Description: 作业描述
|
10447
10689
|
:type Description: str
|
10690
|
+
:param _ContinueAlarm: 停止持续告警
|
10691
|
+
:type ContinueAlarm: int
|
10448
10692
|
"""
|
10449
10693
|
self._JobId = None
|
10450
10694
|
self._Name = None
|
@@ -10452,6 +10696,7 @@ class ModifyJobRequest(AbstractModel):
|
|
10452
10696
|
self._TargetFolderId = None
|
10453
10697
|
self._WorkSpaceId = None
|
10454
10698
|
self._Description = None
|
10699
|
+
self._ContinueAlarm = None
|
10455
10700
|
|
10456
10701
|
@property
|
10457
10702
|
def JobId(self):
|
@@ -10519,6 +10764,17 @@ class ModifyJobRequest(AbstractModel):
|
|
10519
10764
|
def Description(self, Description):
|
10520
10765
|
self._Description = Description
|
10521
10766
|
|
10767
|
+
@property
|
10768
|
+
def ContinueAlarm(self):
|
10769
|
+
"""停止持续告警
|
10770
|
+
:rtype: int
|
10771
|
+
"""
|
10772
|
+
return self._ContinueAlarm
|
10773
|
+
|
10774
|
+
@ContinueAlarm.setter
|
10775
|
+
def ContinueAlarm(self, ContinueAlarm):
|
10776
|
+
self._ContinueAlarm = ContinueAlarm
|
10777
|
+
|
10522
10778
|
|
10523
10779
|
def _deserialize(self, params):
|
10524
10780
|
self._JobId = params.get("JobId")
|
@@ -10527,6 +10783,7 @@ class ModifyJobRequest(AbstractModel):
|
|
10527
10783
|
self._TargetFolderId = params.get("TargetFolderId")
|
10528
10784
|
self._WorkSpaceId = params.get("WorkSpaceId")
|
10529
10785
|
self._Description = params.get("Description")
|
10786
|
+
self._ContinueAlarm = params.get("ContinueAlarm")
|
10530
10787
|
memeber_set = set(params.keys())
|
10531
10788
|
for name, value in vars(self).items():
|
10532
10789
|
property_name = name[1:]
|
@@ -15866,11 +15866,14 @@ class ModifyAutoBackupConfigRequest(AbstractModel):
|
|
15866
15866
|
:type TimePeriod: str
|
15867
15867
|
:param _AutoBackupType: 自动备份类型。目前仅能配置为:1 ,指定时备份。
|
15868
15868
|
:type AutoBackupType: int
|
15869
|
+
:param _BackupStorageDays: 全量备份文件保存天数。单位:天。
|
15870
|
+
:type BackupStorageDays: int
|
15869
15871
|
"""
|
15870
15872
|
self._InstanceId = None
|
15871
15873
|
self._WeekDays = None
|
15872
15874
|
self._TimePeriod = None
|
15873
15875
|
self._AutoBackupType = None
|
15876
|
+
self._BackupStorageDays = None
|
15874
15877
|
|
15875
15878
|
@property
|
15876
15879
|
def InstanceId(self):
|
@@ -15917,12 +15920,24 @@ class ModifyAutoBackupConfigRequest(AbstractModel):
|
|
15917
15920
|
def AutoBackupType(self, AutoBackupType):
|
15918
15921
|
self._AutoBackupType = AutoBackupType
|
15919
15922
|
|
15923
|
+
@property
|
15924
|
+
def BackupStorageDays(self):
|
15925
|
+
"""全量备份文件保存天数。单位:天。
|
15926
|
+
:rtype: int
|
15927
|
+
"""
|
15928
|
+
return self._BackupStorageDays
|
15929
|
+
|
15930
|
+
@BackupStorageDays.setter
|
15931
|
+
def BackupStorageDays(self, BackupStorageDays):
|
15932
|
+
self._BackupStorageDays = BackupStorageDays
|
15933
|
+
|
15920
15934
|
|
15921
15935
|
def _deserialize(self, params):
|
15922
15936
|
self._InstanceId = params.get("InstanceId")
|
15923
15937
|
self._WeekDays = params.get("WeekDays")
|
15924
15938
|
self._TimePeriod = params.get("TimePeriod")
|
15925
15939
|
self._AutoBackupType = params.get("AutoBackupType")
|
15940
|
+
self._BackupStorageDays = params.get("BackupStorageDays")
|
15926
15941
|
memeber_set = set(params.keys())
|
15927
15942
|
for name, value in vars(self).items():
|
15928
15943
|
property_name = name[1:]
|
@@ -62,6 +62,9 @@ FAILEDOPERATION_CREATETOPIC = 'FailedOperation.CreateTopic'
|
|
62
62
|
# 删除集群失败。
|
63
63
|
FAILEDOPERATION_DELETECLUSTER = 'FailedOperation.DeleteCluster'
|
64
64
|
|
65
|
+
# 群集删除保护已打开,删除群集失败。
|
66
|
+
FAILEDOPERATION_DELETECLUSTERPROTECTION = 'FailedOperation.DeleteClusterProtection'
|
67
|
+
|
65
68
|
# 删除环境角色失败。
|
66
69
|
FAILEDOPERATION_DELETEENVIRONMENTROLES = 'FailedOperation.DeleteEnvironmentRoles'
|
67
70
|
|
@@ -83,12 +86,18 @@ FAILEDOPERATION_DELETETOPICS = 'FailedOperation.DeleteTopics'
|
|
83
86
|
# 查询订阅数据失败。
|
84
87
|
FAILEDOPERATION_DESCRIBESUBSCRIPTION = 'FailedOperation.DescribeSubscription'
|
85
88
|
|
89
|
+
# 参数异常,下单失败
|
90
|
+
FAILEDOPERATION_GENERATEDEALSANDPAYERROR = 'FailedOperation.GenerateDealsAndPayError'
|
91
|
+
|
86
92
|
# 获取环境属性失败。
|
87
93
|
FAILEDOPERATION_GETENVIRONMENTATTRIBUTESFAILED = 'FailedOperation.GetEnvironmentAttributesFailed'
|
88
94
|
|
89
95
|
# 获取主题分区数失败。
|
90
96
|
FAILEDOPERATION_GETTOPICPARTITIONSFAILED = 'FailedOperation.GetTopicPartitionsFailed'
|
91
97
|
|
98
|
+
# 实例已开启删除保护功能,如需进行删除操作,请关闭删除保护。
|
99
|
+
FAILEDOPERATION_INSTANCECANNOTDELETE = 'FailedOperation.InstanceCanNotDelete'
|
100
|
+
|
92
101
|
# 实例尚未就绪,请稍后再试。
|
93
102
|
FAILEDOPERATION_INSTANCENOTREADY = 'FailedOperation.InstanceNotReady'
|
94
103
|
|
@@ -113,6 +122,9 @@ FAILEDOPERATION_MODIFYCLUSTER = 'FailedOperation.ModifyCluster'
|
|
113
122
|
# 必须先清除关联命名空间才能继续操作。
|
114
123
|
FAILEDOPERATION_NAMESPACEINUSE = 'FailedOperation.NamespaceInUse'
|
115
124
|
|
125
|
+
# 删除资源不存在
|
126
|
+
FAILEDOPERATION_ONLINEREFUNDRESOURCENOTEXIT = 'FailedOperation.OnlineRefundResourceNotExit'
|
127
|
+
|
116
128
|
# 任务进行中,请稍后重试
|
117
129
|
FAILEDOPERATION_OPERATELATER = 'FailedOperation.OperateLater'
|
118
130
|
|
@@ -12551,7 +12551,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12551
12551
|
:type Remark: str
|
12552
12552
|
:param _SendReceiveRatio: 消息发送和接收的比例
|
12553
12553
|
:type SendReceiveRatio: float
|
12554
|
-
:param _SkuCode: 商品规格,从 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/
|
12554
|
+
:param _SkuCode: 商品规格,从 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参获得。
|
12555
12555
|
:type SkuCode: str
|
12556
12556
|
:param _MessageRetention: 消息保留时长(单位:小时),取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参:
|
12557
12557
|
|
@@ -12631,7 +12631,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12631
12631
|
|
12632
12632
|
@property
|
12633
12633
|
def SkuCode(self):
|
12634
|
-
"""商品规格,从 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/
|
12634
|
+
"""商品规格,从 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参获得。
|
12635
12635
|
:rtype: str
|
12636
12636
|
"""
|
12637
12637
|
return self._SkuCode
|
@@ -11354,12 +11354,15 @@ class STTConfig(AbstractModel):
|
|
11354
11354
|
:type VadSilenceTime: int
|
11355
11355
|
:param _HotWordList: 热词表:该参数用于提升识别准确率。 单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或 “ASR|11”; 热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
|
11356
11356
|
:type HotWordList: str
|
11357
|
+
:param _VadLevel: vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
11358
|
+
:type VadLevel: int
|
11357
11359
|
"""
|
11358
11360
|
self._Language = None
|
11359
11361
|
self._AlternativeLanguage = None
|
11360
11362
|
self._CustomParam = None
|
11361
11363
|
self._VadSilenceTime = None
|
11362
11364
|
self._HotWordList = None
|
11365
|
+
self._VadLevel = None
|
11363
11366
|
|
11364
11367
|
@property
|
11365
11368
|
def Language(self):
|
@@ -11464,6 +11467,17 @@ class STTConfig(AbstractModel):
|
|
11464
11467
|
def HotWordList(self, HotWordList):
|
11465
11468
|
self._HotWordList = HotWordList
|
11466
11469
|
|
11470
|
+
@property
|
11471
|
+
def VadLevel(self):
|
11472
|
+
"""vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
11473
|
+
:rtype: int
|
11474
|
+
"""
|
11475
|
+
return self._VadLevel
|
11476
|
+
|
11477
|
+
@VadLevel.setter
|
11478
|
+
def VadLevel(self, VadLevel):
|
11479
|
+
self._VadLevel = VadLevel
|
11480
|
+
|
11467
11481
|
|
11468
11482
|
def _deserialize(self, params):
|
11469
11483
|
self._Language = params.get("Language")
|
@@ -11471,6 +11485,7 @@ class STTConfig(AbstractModel):
|
|
11471
11485
|
self._CustomParam = params.get("CustomParam")
|
11472
11486
|
self._VadSilenceTime = params.get("VadSilenceTime")
|
11473
11487
|
self._HotWordList = params.get("HotWordList")
|
11488
|
+
self._VadLevel = params.get("VadLevel")
|
11474
11489
|
memeber_set = set(params.keys())
|
11475
11490
|
for name, value in vars(self).items():
|
11476
11491
|
property_name = name[1:]
|
@@ -11875,6 +11890,8 @@ class ServerPushText(AbstractModel):
|
|
11875
11890
|
- Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
|
11876
11891
|
|
11877
11892
|
:type Priority: int
|
11893
|
+
:param _AddHistory: 是否将文本加入到llm历史上下文中
|
11894
|
+
:type AddHistory: bool
|
11878
11895
|
"""
|
11879
11896
|
self._Text = None
|
11880
11897
|
self._Interrupt = None
|
@@ -11882,6 +11899,7 @@ class ServerPushText(AbstractModel):
|
|
11882
11899
|
self._Audio = None
|
11883
11900
|
self._DropMode = None
|
11884
11901
|
self._Priority = None
|
11902
|
+
self._AddHistory = None
|
11885
11903
|
|
11886
11904
|
@property
|
11887
11905
|
def Text(self):
|
@@ -11960,6 +11978,17 @@ class ServerPushText(AbstractModel):
|
|
11960
11978
|
def Priority(self, Priority):
|
11961
11979
|
self._Priority = Priority
|
11962
11980
|
|
11981
|
+
@property
|
11982
|
+
def AddHistory(self):
|
11983
|
+
"""是否将文本加入到llm历史上下文中
|
11984
|
+
:rtype: bool
|
11985
|
+
"""
|
11986
|
+
return self._AddHistory
|
11987
|
+
|
11988
|
+
@AddHistory.setter
|
11989
|
+
def AddHistory(self, AddHistory):
|
11990
|
+
self._AddHistory = AddHistory
|
11991
|
+
|
11963
11992
|
|
11964
11993
|
def _deserialize(self, params):
|
11965
11994
|
self._Text = params.get("Text")
|
@@ -11968,6 +11997,7 @@ class ServerPushText(AbstractModel):
|
|
11968
11997
|
self._Audio = params.get("Audio")
|
11969
11998
|
self._DropMode = params.get("DropMode")
|
11970
11999
|
self._Priority = params.get("Priority")
|
12000
|
+
self._AddHistory = params.get("AddHistory")
|
11971
12001
|
memeber_set = set(params.keys())
|
11972
12002
|
for name, value in vars(self).items():
|
11973
12003
|
property_name = name[1:]
|
@@ -14765,6 +14795,8 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
14765
14795
|
:param _TargetUserIdList: 机器人订阅的用户列表
|
14766
14796
|
仅 TranscriptionMode 为 1或者 TranscriptionMode 为无限上麦模式支持传入多个用户列表
|
14767
14797
|
:type TargetUserIdList: list of str
|
14798
|
+
:param _VoicePrint: 声纹配置
|
14799
|
+
:type VoicePrint: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
14768
14800
|
"""
|
14769
14801
|
self._UserId = None
|
14770
14802
|
self._UserSig = None
|
@@ -14774,6 +14806,7 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
14774
14806
|
self._TranscriptionMode = None
|
14775
14807
|
self._TargetUserId = None
|
14776
14808
|
self._TargetUserIdList = None
|
14809
|
+
self._VoicePrint = None
|
14777
14810
|
|
14778
14811
|
@property
|
14779
14812
|
def UserId(self):
|
@@ -14873,6 +14906,17 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
14873
14906
|
def TargetUserIdList(self, TargetUserIdList):
|
14874
14907
|
self._TargetUserIdList = TargetUserIdList
|
14875
14908
|
|
14909
|
+
@property
|
14910
|
+
def VoicePrint(self):
|
14911
|
+
"""声纹配置
|
14912
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
14913
|
+
"""
|
14914
|
+
return self._VoicePrint
|
14915
|
+
|
14916
|
+
@VoicePrint.setter
|
14917
|
+
def VoicePrint(self, VoicePrint):
|
14918
|
+
self._VoicePrint = VoicePrint
|
14919
|
+
|
14876
14920
|
|
14877
14921
|
def _deserialize(self, params):
|
14878
14922
|
self._UserId = params.get("UserId")
|
@@ -14883,6 +14927,9 @@ https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.9
|
|
14883
14927
|
self._TranscriptionMode = params.get("TranscriptionMode")
|
14884
14928
|
self._TargetUserId = params.get("TargetUserId")
|
14885
14929
|
self._TargetUserIdList = params.get("TargetUserIdList")
|
14930
|
+
if params.get("VoicePrint") is not None:
|
14931
|
+
self._VoicePrint = VoicePrint()
|
14932
|
+
self._VoicePrint._deserialize(params.get("VoicePrint"))
|
14886
14933
|
memeber_set = set(params.keys())
|
14887
14934
|
for name, value in vars(self).items():
|
14888
14935
|
property_name = name[1:]
|