tencentcloud-sdk-python 3.0.1131__py2.py3-none-any.whl → 3.0.1133__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 +1 -1
- tencentcloud/aiart/v20221229/models.py +3 -4
- tencentcloud/antiddos/v20200309/models.py +25 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +2 -0
- tencentcloud/cfw/v20190904/models.py +248 -0
- tencentcloud/cls/v20201016/models.py +53 -31
- tencentcloud/cynosdb/v20190107/models.py +125 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/es/v20180416/es_client.py +23 -0
- tencentcloud/es/v20180416/models.py +647 -0
- tencentcloud/essbasic/v20210526/models.py +12 -0
- tencentcloud/faceid/v20180301/models.py +38 -0
- tencentcloud/live/v20180801/models.py +49 -0
- tencentcloud/monitor/v20180724/models.py +25 -3
- tencentcloud/mps/v20190612/models.py +126 -16
- tencentcloud/oceanus/v20190422/models.py +1 -1
- tencentcloud/omics/v20221128/models.py +26 -2
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +433 -2
- tencentcloud/organization/v20210331/organization_client.py +47 -1
- tencentcloud/pts/v20210728/models.py +28 -1
- tencentcloud/redis/v20180412/models.py +15 -0
- tencentcloud/ssl/v20191205/models.py +172 -0
- tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- tencentcloud/tdmq/v20200217/models.py +1 -0
- tencentcloud/teo/v20220901/errorcodes.py +1 -1
- tencentcloud/trocket/v20230308/models.py +182 -0
- tencentcloud/trocket/v20230308/trocket_client.py +4 -4
- tencentcloud/vod/v20180717/models.py +1 -1
- tencentcloud/wedata/v20210820/errorcodes.py +0 -3
- tencentcloud/wedata/v20210820/models.py +0 -1179
- tencentcloud/wedata/v20210820/wedata_client.py +0 -71
- {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1133.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1133.dist-info}/RECORD +39 -39
- {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1133.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1133.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1131.dist-info → tencentcloud_sdk_python-3.0.1133.dist-info}/top_level.txt +0 -0
@@ -333,9 +333,12 @@ class AddClusterSlaveZoneRequest(AbstractModel):
|
|
333
333
|
:type ClusterId: str
|
334
334
|
:param _SlaveZone: 从可用区
|
335
335
|
:type SlaveZone: str
|
336
|
+
:param _BinlogSyncWay: binlog同步方式。默认值:async。可选值:sync、semisync、async
|
337
|
+
:type BinlogSyncWay: str
|
336
338
|
"""
|
337
339
|
self._ClusterId = None
|
338
340
|
self._SlaveZone = None
|
341
|
+
self._BinlogSyncWay = None
|
339
342
|
|
340
343
|
@property
|
341
344
|
def ClusterId(self):
|
@@ -353,10 +356,19 @@ class AddClusterSlaveZoneRequest(AbstractModel):
|
|
353
356
|
def SlaveZone(self, SlaveZone):
|
354
357
|
self._SlaveZone = SlaveZone
|
355
358
|
|
359
|
+
@property
|
360
|
+
def BinlogSyncWay(self):
|
361
|
+
return self._BinlogSyncWay
|
362
|
+
|
363
|
+
@BinlogSyncWay.setter
|
364
|
+
def BinlogSyncWay(self, BinlogSyncWay):
|
365
|
+
self._BinlogSyncWay = BinlogSyncWay
|
366
|
+
|
356
367
|
|
357
368
|
def _deserialize(self, params):
|
358
369
|
self._ClusterId = params.get("ClusterId")
|
359
370
|
self._SlaveZone = params.get("SlaveZone")
|
371
|
+
self._BinlogSyncWay = params.get("BinlogSyncWay")
|
360
372
|
memeber_set = set(params.keys())
|
361
373
|
for name, value in vars(self).items():
|
362
374
|
property_name = name[1:]
|
@@ -3392,11 +3404,19 @@ class ClusterSlaveData(AbstractModel):
|
|
3392
3404
|
:param _NewSlaveZone: 新从可用区
|
3393
3405
|
注意:此字段可能返回 null,表示取不到有效值。
|
3394
3406
|
:type NewSlaveZone: list of str
|
3407
|
+
:param _NewSlaveZoneAttr: 新从可用区属性
|
3408
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3409
|
+
:type NewSlaveZoneAttr: list of SlaveZoneAttrItem
|
3410
|
+
:param _OldSlaveZoneAttr: 旧可用区属性
|
3411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3412
|
+
:type OldSlaveZoneAttr: list of SlaveZoneAttrItem
|
3395
3413
|
"""
|
3396
3414
|
self._OldMasterZone = None
|
3397
3415
|
self._OldSlaveZone = None
|
3398
3416
|
self._NewMasterZone = None
|
3399
3417
|
self._NewSlaveZone = None
|
3418
|
+
self._NewSlaveZoneAttr = None
|
3419
|
+
self._OldSlaveZoneAttr = None
|
3400
3420
|
|
3401
3421
|
@property
|
3402
3422
|
def OldMasterZone(self):
|
@@ -3430,12 +3450,40 @@ class ClusterSlaveData(AbstractModel):
|
|
3430
3450
|
def NewSlaveZone(self, NewSlaveZone):
|
3431
3451
|
self._NewSlaveZone = NewSlaveZone
|
3432
3452
|
|
3453
|
+
@property
|
3454
|
+
def NewSlaveZoneAttr(self):
|
3455
|
+
return self._NewSlaveZoneAttr
|
3456
|
+
|
3457
|
+
@NewSlaveZoneAttr.setter
|
3458
|
+
def NewSlaveZoneAttr(self, NewSlaveZoneAttr):
|
3459
|
+
self._NewSlaveZoneAttr = NewSlaveZoneAttr
|
3460
|
+
|
3461
|
+
@property
|
3462
|
+
def OldSlaveZoneAttr(self):
|
3463
|
+
return self._OldSlaveZoneAttr
|
3464
|
+
|
3465
|
+
@OldSlaveZoneAttr.setter
|
3466
|
+
def OldSlaveZoneAttr(self, OldSlaveZoneAttr):
|
3467
|
+
self._OldSlaveZoneAttr = OldSlaveZoneAttr
|
3468
|
+
|
3433
3469
|
|
3434
3470
|
def _deserialize(self, params):
|
3435
3471
|
self._OldMasterZone = params.get("OldMasterZone")
|
3436
3472
|
self._OldSlaveZone = params.get("OldSlaveZone")
|
3437
3473
|
self._NewMasterZone = params.get("NewMasterZone")
|
3438
3474
|
self._NewSlaveZone = params.get("NewSlaveZone")
|
3475
|
+
if params.get("NewSlaveZoneAttr") is not None:
|
3476
|
+
self._NewSlaveZoneAttr = []
|
3477
|
+
for item in params.get("NewSlaveZoneAttr"):
|
3478
|
+
obj = SlaveZoneAttrItem()
|
3479
|
+
obj._deserialize(item)
|
3480
|
+
self._NewSlaveZoneAttr.append(obj)
|
3481
|
+
if params.get("OldSlaveZoneAttr") is not None:
|
3482
|
+
self._OldSlaveZoneAttr = []
|
3483
|
+
for item in params.get("OldSlaveZoneAttr"):
|
3484
|
+
obj = SlaveZoneAttrItem()
|
3485
|
+
obj._deserialize(item)
|
3486
|
+
self._OldSlaveZoneAttr.append(obj)
|
3439
3487
|
memeber_set = set(params.keys())
|
3440
3488
|
for name, value in vars(self).items():
|
3441
3489
|
property_name = name[1:]
|
@@ -6405,6 +6453,9 @@ pausing
|
|
6405
6453
|
:param _NetworkType: 节点网络类型
|
6406
6454
|
注意:此字段可能返回 null,表示取不到有效值。
|
6407
6455
|
:type NetworkType: str
|
6456
|
+
:param _SlaveZoneAttr: 备可用区属性
|
6457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6458
|
+
:type SlaveZoneAttr: list of SlaveZoneAttrItem
|
6408
6459
|
"""
|
6409
6460
|
self._ClusterId = None
|
6410
6461
|
self._ClusterName = None
|
@@ -6455,6 +6506,7 @@ pausing
|
|
6455
6506
|
self._ResourcePackages = None
|
6456
6507
|
self._RenewFlag = None
|
6457
6508
|
self._NetworkType = None
|
6509
|
+
self._SlaveZoneAttr = None
|
6458
6510
|
|
6459
6511
|
@property
|
6460
6512
|
def ClusterId(self):
|
@@ -6848,6 +6900,14 @@ pausing
|
|
6848
6900
|
def NetworkType(self, NetworkType):
|
6849
6901
|
self._NetworkType = NetworkType
|
6850
6902
|
|
6903
|
+
@property
|
6904
|
+
def SlaveZoneAttr(self):
|
6905
|
+
return self._SlaveZoneAttr
|
6906
|
+
|
6907
|
+
@SlaveZoneAttr.setter
|
6908
|
+
def SlaveZoneAttr(self, SlaveZoneAttr):
|
6909
|
+
self._SlaveZoneAttr = SlaveZoneAttr
|
6910
|
+
|
6851
6911
|
|
6852
6912
|
def _deserialize(self, params):
|
6853
6913
|
self._ClusterId = params.get("ClusterId")
|
@@ -6926,6 +6986,12 @@ pausing
|
|
6926
6986
|
self._ResourcePackages.append(obj)
|
6927
6987
|
self._RenewFlag = params.get("RenewFlag")
|
6928
6988
|
self._NetworkType = params.get("NetworkType")
|
6989
|
+
if params.get("SlaveZoneAttr") is not None:
|
6990
|
+
self._SlaveZoneAttr = []
|
6991
|
+
for item in params.get("SlaveZoneAttr"):
|
6992
|
+
obj = SlaveZoneAttrItem()
|
6993
|
+
obj._deserialize(item)
|
6994
|
+
self._SlaveZoneAttr.append(obj)
|
6929
6995
|
memeber_set = set(params.keys())
|
6930
6996
|
for name, value in vars(self).items():
|
6931
6997
|
property_name = name[1:]
|
@@ -19239,10 +19305,13 @@ class ModifyClusterSlaveZoneRequest(AbstractModel):
|
|
19239
19305
|
:type OldSlaveZone: str
|
19240
19306
|
:param _NewSlaveZone: 新从可用区
|
19241
19307
|
:type NewSlaveZone: str
|
19308
|
+
:param _BinlogSyncWay: binlog同步方式。默认值:async。可选值:sync、semisync、async
|
19309
|
+
:type BinlogSyncWay: str
|
19242
19310
|
"""
|
19243
19311
|
self._ClusterId = None
|
19244
19312
|
self._OldSlaveZone = None
|
19245
19313
|
self._NewSlaveZone = None
|
19314
|
+
self._BinlogSyncWay = None
|
19246
19315
|
|
19247
19316
|
@property
|
19248
19317
|
def ClusterId(self):
|
@@ -19268,11 +19337,20 @@ class ModifyClusterSlaveZoneRequest(AbstractModel):
|
|
19268
19337
|
def NewSlaveZone(self, NewSlaveZone):
|
19269
19338
|
self._NewSlaveZone = NewSlaveZone
|
19270
19339
|
|
19340
|
+
@property
|
19341
|
+
def BinlogSyncWay(self):
|
19342
|
+
return self._BinlogSyncWay
|
19343
|
+
|
19344
|
+
@BinlogSyncWay.setter
|
19345
|
+
def BinlogSyncWay(self, BinlogSyncWay):
|
19346
|
+
self._BinlogSyncWay = BinlogSyncWay
|
19347
|
+
|
19271
19348
|
|
19272
19349
|
def _deserialize(self, params):
|
19273
19350
|
self._ClusterId = params.get("ClusterId")
|
19274
19351
|
self._OldSlaveZone = params.get("OldSlaveZone")
|
19275
19352
|
self._NewSlaveZone = params.get("NewSlaveZone")
|
19353
|
+
self._BinlogSyncWay = params.get("BinlogSyncWay")
|
19276
19354
|
memeber_set = set(params.keys())
|
19277
19355
|
for name, value in vars(self).items():
|
19278
19356
|
property_name = name[1:]
|
@@ -26574,6 +26652,53 @@ class SetRenewFlagResponse(AbstractModel):
|
|
26574
26652
|
self._RequestId = params.get("RequestId")
|
26575
26653
|
|
26576
26654
|
|
26655
|
+
class SlaveZoneAttrItem(AbstractModel):
|
26656
|
+
"""可用区属性项
|
26657
|
+
|
26658
|
+
"""
|
26659
|
+
|
26660
|
+
def __init__(self):
|
26661
|
+
r"""
|
26662
|
+
:param _Zone: 可用区
|
26663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26664
|
+
:type Zone: str
|
26665
|
+
:param _BinlogSyncWay: binlog同步方式
|
26666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
26667
|
+
:type BinlogSyncWay: str
|
26668
|
+
"""
|
26669
|
+
self._Zone = None
|
26670
|
+
self._BinlogSyncWay = None
|
26671
|
+
|
26672
|
+
@property
|
26673
|
+
def Zone(self):
|
26674
|
+
return self._Zone
|
26675
|
+
|
26676
|
+
@Zone.setter
|
26677
|
+
def Zone(self, Zone):
|
26678
|
+
self._Zone = Zone
|
26679
|
+
|
26680
|
+
@property
|
26681
|
+
def BinlogSyncWay(self):
|
26682
|
+
return self._BinlogSyncWay
|
26683
|
+
|
26684
|
+
@BinlogSyncWay.setter
|
26685
|
+
def BinlogSyncWay(self, BinlogSyncWay):
|
26686
|
+
self._BinlogSyncWay = BinlogSyncWay
|
26687
|
+
|
26688
|
+
|
26689
|
+
def _deserialize(self, params):
|
26690
|
+
self._Zone = params.get("Zone")
|
26691
|
+
self._BinlogSyncWay = params.get("BinlogSyncWay")
|
26692
|
+
memeber_set = set(params.keys())
|
26693
|
+
for name, value in vars(self).items():
|
26694
|
+
property_name = name[1:]
|
26695
|
+
if property_name in memeber_set:
|
26696
|
+
memeber_set.remove(property_name)
|
26697
|
+
if len(memeber_set) > 0:
|
26698
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26699
|
+
|
26700
|
+
|
26701
|
+
|
26577
26702
|
class SlaveZoneStockInfo(AbstractModel):
|
26578
26703
|
"""备可用区库存信息
|
26579
26704
|
|
@@ -149,6 +149,9 @@ INVALIDPARAMETER_ACTIONSUCCESS = 'InvalidParameter.ActionSuccess'
|
|
149
149
|
# 用户未实名。
|
150
150
|
INVALIDPARAMETER_ACTIVITY = 'InvalidParameter.Activity'
|
151
151
|
|
152
|
+
# 该域名已在您的域名列表中,请删除后再添加到别名列表
|
153
|
+
INVALIDPARAMETER_ALIASISMYDOMAIN = 'InvalidParameter.AliasIsMyDomain'
|
154
|
+
|
152
155
|
# 创建批量域名任务失败,原因:内部错误。
|
153
156
|
INVALIDPARAMETER_BATCHDOMAINCREATEACTIONERROR = 'InvalidParameter.BatchDomainCreateActionError'
|
154
157
|
|
@@ -578,6 +578,29 @@ class EsClient(AbstractClient):
|
|
578
578
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
579
579
|
|
580
580
|
|
581
|
+
def DescribeServerlessInstances(self, request):
|
582
|
+
"""Serverless获取索引列表
|
583
|
+
|
584
|
+
:param request: Request instance for DescribeServerlessInstances.
|
585
|
+
:type request: :class:`tencentcloud.es.v20180416.models.DescribeServerlessInstancesRequest`
|
586
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.DescribeServerlessInstancesResponse`
|
587
|
+
|
588
|
+
"""
|
589
|
+
try:
|
590
|
+
params = request._serialize()
|
591
|
+
headers = request.headers
|
592
|
+
body = self.call("DescribeServerlessInstances", params, headers=headers)
|
593
|
+
response = json.loads(body)
|
594
|
+
model = models.DescribeServerlessInstancesResponse()
|
595
|
+
model._deserialize(response["Response"])
|
596
|
+
return model
|
597
|
+
except Exception as e:
|
598
|
+
if isinstance(e, TencentCloudSDKException):
|
599
|
+
raise
|
600
|
+
else:
|
601
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
602
|
+
|
603
|
+
|
581
604
|
def DescribeServerlessSpaceUser(self, request):
|
582
605
|
"""查看Serverless空间子用户
|
583
606
|
|