tencentcloud-sdk-python 3.0.1414__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/teo/v20220901/models.py +18 -22
- tencentcloud/teo/v20220901/teo_client.py +5 -1
- tencentcloud/trocket/v20230308/models.py +18 -16
- tencentcloud/trocket/v20230308/trocket_client.py +1 -1
- tencentcloud/trtc/v20190722/models.py +47 -0
- tencentcloud/waf/v20180125/models.py +91 -0
- {tencentcloud_sdk_python-3.0.1414.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1414.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1414.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1414.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1414.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
|
|
@@ -23717,21 +23717,19 @@ class EnableOriginACLRequest(AbstractModel):
|
|
23717
23717
|
|
23718
23718
|
def __init__(self):
|
23719
23719
|
r"""
|
23720
|
-
:param _ZoneId: 站点ID。
|
23720
|
+
:param _ZoneId: 站点 ID。
|
23721
23721
|
:type ZoneId: str
|
23722
|
-
:param _L7EnableMode:
|
23723
|
-
<li>all
|
23724
|
-
<li>specific
|
23725
|
-
当参数为空时,默认为specific。
|
23722
|
+
:param _L7EnableMode: 七层加速域名开启源站防护的模式。
|
23723
|
+
<li>all:针对站点下的所有七层加速域名开启。</li>
|
23724
|
+
<li>specific:针对站点下指定的七层加速域名开启。</li>当参数为空时,默认为 specific。
|
23726
23725
|
:type L7EnableMode: str
|
23727
|
-
:param _L7Hosts:
|
23726
|
+
:param _L7Hosts: 开启源站防护的七层加速域名列表,仅当参数 L7EnableMode 为 specific 时生效。L7EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 200 个七层加速域名。
|
23728
23727
|
:type L7Hosts: list of str
|
23729
|
-
:param _L4EnableMode:
|
23730
|
-
<li>all
|
23731
|
-
<li>specific
|
23732
|
-
当参数为空时,默认为specific。
|
23728
|
+
:param _L4EnableMode: 四层代理实例开启源站防护的模式。
|
23729
|
+
<li>all:针对站点下的所有四层代理实例开启。</li>
|
23730
|
+
<li>specific:针对站点下指定的四层代理实例开启。</li>当参数为空时,默认为 specific。
|
23733
23731
|
:type L4EnableMode: str
|
23734
|
-
:param _L4ProxyIds:
|
23732
|
+
:param _L4ProxyIds: 开启源站防护的四层代理实例列表,仅当参数 L4EnableMode 为 specific 时生效。L4EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 100 个四层代理实例。
|
23735
23733
|
:type L4ProxyIds: list of str
|
23736
23734
|
"""
|
23737
23735
|
self._ZoneId = None
|
@@ -23742,7 +23740,7 @@ class EnableOriginACLRequest(AbstractModel):
|
|
23742
23740
|
|
23743
23741
|
@property
|
23744
23742
|
def ZoneId(self):
|
23745
|
-
"""站点ID。
|
23743
|
+
"""站点 ID。
|
23746
23744
|
:rtype: str
|
23747
23745
|
"""
|
23748
23746
|
return self._ZoneId
|
@@ -23753,10 +23751,9 @@ class EnableOriginACLRequest(AbstractModel):
|
|
23753
23751
|
|
23754
23752
|
@property
|
23755
23753
|
def L7EnableMode(self):
|
23756
|
-
"""
|
23757
|
-
<li>all
|
23758
|
-
<li>specific
|
23759
|
-
当参数为空时,默认为specific。
|
23754
|
+
"""七层加速域名开启源站防护的模式。
|
23755
|
+
<li>all:针对站点下的所有七层加速域名开启。</li>
|
23756
|
+
<li>specific:针对站点下指定的七层加速域名开启。</li>当参数为空时,默认为 specific。
|
23760
23757
|
:rtype: str
|
23761
23758
|
"""
|
23762
23759
|
return self._L7EnableMode
|
@@ -23767,7 +23764,7 @@ class EnableOriginACLRequest(AbstractModel):
|
|
23767
23764
|
|
23768
23765
|
@property
|
23769
23766
|
def L7Hosts(self):
|
23770
|
-
"""
|
23767
|
+
"""开启源站防护的七层加速域名列表,仅当参数 L7EnableMode 为 specific 时生效。L7EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 200 个七层加速域名。
|
23771
23768
|
:rtype: list of str
|
23772
23769
|
"""
|
23773
23770
|
return self._L7Hosts
|
@@ -23778,10 +23775,9 @@ class EnableOriginACLRequest(AbstractModel):
|
|
23778
23775
|
|
23779
23776
|
@property
|
23780
23777
|
def L4EnableMode(self):
|
23781
|
-
"""
|
23782
|
-
<li>all
|
23783
|
-
<li>specific
|
23784
|
-
当参数为空时,默认为specific。
|
23778
|
+
"""四层代理实例开启源站防护的模式。
|
23779
|
+
<li>all:针对站点下的所有四层代理实例开启。</li>
|
23780
|
+
<li>specific:针对站点下指定的四层代理实例开启。</li>当参数为空时,默认为 specific。
|
23785
23781
|
:rtype: str
|
23786
23782
|
"""
|
23787
23783
|
return self._L4EnableMode
|
@@ -23792,7 +23788,7 @@ class EnableOriginACLRequest(AbstractModel):
|
|
23792
23788
|
|
23793
23789
|
@property
|
23794
23790
|
def L4ProxyIds(self):
|
23795
|
-
"""
|
23791
|
+
"""开启源站防护的四层代理实例列表,仅当参数 L4EnableMode 为 specific 时生效。L4EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 100 个四层代理实例。
|
23796
23792
|
:rtype: list of str
|
23797
23793
|
"""
|
23798
23794
|
return self._L4ProxyIds
|
@@ -2470,7 +2470,11 @@ class TeoClient(AbstractClient):
|
|
2470
2470
|
|
2471
2471
|
|
2472
2472
|
def EnableOriginACL(self, request):
|
2473
|
-
"""
|
2473
|
+
"""本接口用于站点首次开启源站防护,启用后 EdgeOne 将会使用特定的回源 IP 网段为七层加速域名/四层代理实例回源。单次支持提交的七层加速域名的数量最大为 200,四层代理实例的数量最大为 100,支持七层加速域名/四层代理实例混合提交,总实例个数最大为 200。如需要启用超过 200 个资源,可先通过指定资源的方式以最大数量启用,剩余资源通过 ModifyOriginACL 接口启用。后续新增七层加速域名/四层代理实例均请通过 ModifyOriginACL 接口配置。
|
2474
|
+
|
2475
|
+
注意:
|
2476
|
+
- 调用本接口视为同意 [源站防护启用特别约定](https://cloud.tencent.com/document/product/1552/120141);
|
2477
|
+
- 回源 IP 网段会不定期变更,EdgeOne 将在回源 IP 网段变更前 14 天、前 7 天、前 3 天和前 1 天分别通过站内信、短信、邮件等一种或多种方式发起通知,为了能正常收到回源 IP 网段的变更通知,请务必确保您在 [腾讯云消息中心控制台](https://console.cloud.tencent.com/message)内,已勾选边缘安全加速平台 EO 的产品服务相关消息通知,并配置正确的消息接收人。配置方式请参考 [消息订阅管理](https://cloud.tencent.com/document/product/567/43476)。
|
2474
2478
|
|
2475
2479
|
:param request: Request instance for EnableOriginACL.
|
2476
2480
|
:type request: :class:`tencentcloud.teo.v20220901.models.EnableOriginACLRequest`
|
@@ -12551,9 +12551,9 @@ 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
|
-
:param _MessageRetention: 消息保留时长(单位:小时),取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/
|
12556
|
+
:param _MessageRetention: 消息保留时长(单位:小时),取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参:
|
12557
12557
|
|
12558
12558
|
- 默认值:DefaultRetention 参数
|
12559
12559
|
- 最小值:RetentionLowerLimit 参数
|
@@ -12563,12 +12563,12 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12563
12563
|
:type ScaledTpsEnabled: bool
|
12564
12564
|
:param _AclEnabled: 是否开启ACL
|
12565
12565
|
:type AclEnabled: bool
|
12566
|
-
:param _MaxTopicNum: 最大可创建主题数,取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/
|
12566
|
+
:param _MaxTopicNum: 最大可创建主题数,取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参:
|
12567
12567
|
|
12568
12568
|
- 最小值和默认值:TopicNumLimit 参数
|
12569
12569
|
- 最大值:TopicNumUpperLimit 参数
|
12570
12570
|
:type MaxTopicNum: int
|
12571
|
-
:param _ExtraTopicNum: 免费额度之外的主题个数,免费额度参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/
|
12571
|
+
:param _ExtraTopicNum: 免费额度之外的主题个数,免费额度参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参中的 TopicNumLimit 参数。
|
12572
12572
|
:type ExtraTopicNum: str
|
12573
12573
|
:param _EnableDeletionProtection: 是否开启删除保护
|
12574
12574
|
:type EnableDeletionProtection: bool
|
@@ -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
|
@@ -12642,7 +12642,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12642
12642
|
|
12643
12643
|
@property
|
12644
12644
|
def MessageRetention(self):
|
12645
|
-
"""消息保留时长(单位:小时),取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/
|
12645
|
+
"""消息保留时长(单位:小时),取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参:
|
12646
12646
|
|
12647
12647
|
- 默认值:DefaultRetention 参数
|
12648
12648
|
- 最小值:RetentionLowerLimit 参数
|
@@ -12679,7 +12679,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12679
12679
|
|
12680
12680
|
@property
|
12681
12681
|
def MaxTopicNum(self):
|
12682
|
-
"""最大可创建主题数,取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/
|
12682
|
+
"""最大可创建主题数,取值范围参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参:
|
12683
12683
|
|
12684
12684
|
- 最小值和默认值:TopicNumLimit 参数
|
12685
12685
|
- 最大值:TopicNumUpperLimit 参数
|
@@ -12693,7 +12693,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12693
12693
|
|
12694
12694
|
@property
|
12695
12695
|
def ExtraTopicNum(self):
|
12696
|
-
"""免费额度之外的主题个数,免费额度参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/
|
12696
|
+
"""免费额度之外的主题个数,免费额度参考 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参中的 TopicNumLimit 参数。
|
12697
12697
|
:rtype: str
|
12698
12698
|
"""
|
12699
12699
|
return self._ExtraTopicNum
|
@@ -15639,10 +15639,11 @@ class TopicConsumeStats(AbstractModel):
|
|
15639
15639
|
:type Topic: str
|
15640
15640
|
:param _TopicType: 主题类型,枚举值如下:
|
15641
15641
|
|
15642
|
-
-
|
15643
|
-
-
|
15644
|
-
-
|
15645
|
-
-
|
15642
|
+
- UNSPECIFIED:未指定
|
15643
|
+
- NORMAL:普通消息
|
15644
|
+
- FIFO:顺序消息
|
15645
|
+
- DELAY:延时消息
|
15646
|
+
- TRANSACTION:事务消息
|
15646
15647
|
:type TopicType: str
|
15647
15648
|
:param _QueueNum: 单节点主题队列数量
|
15648
15649
|
:type QueueNum: int
|
@@ -15675,10 +15676,11 @@ class TopicConsumeStats(AbstractModel):
|
|
15675
15676
|
def TopicType(self):
|
15676
15677
|
"""主题类型,枚举值如下:
|
15677
15678
|
|
15678
|
-
-
|
15679
|
-
-
|
15680
|
-
-
|
15681
|
-
-
|
15679
|
+
- UNSPECIFIED:未指定
|
15680
|
+
- NORMAL:普通消息
|
15681
|
+
- FIFO:顺序消息
|
15682
|
+
- DELAY:延时消息
|
15683
|
+
- TRANSACTION:事务消息
|
15682
15684
|
:rtype: str
|
15683
15685
|
"""
|
15684
15686
|
return self._TopicType
|