tencentcloud-sdk-python 3.0.1405__py2.py3-none-any.whl → 3.0.1407__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/antiddos/v20200309/models.py +4 -4
- tencentcloud/asr/v20190614/models.py +2 -2
- tencentcloud/captcha/v20190722/models.py +15 -0
- tencentcloud/cdb/v20170320/models.py +2 -0
- tencentcloud/cdwdoris/v20211228/models.py +4 -4
- tencentcloud/cfs/v20190719/models.py +6 -6
- tencentcloud/cfw/v20190904/models.py +15 -0
- tencentcloud/cme/v20191029/cme_client.py +13 -13
- tencentcloud/csip/v20221121/models.py +15 -0
- tencentcloud/domain/v20180808/errorcodes.py +6 -0
- tencentcloud/es/v20250101/models.py +117 -0
- tencentcloud/ess/v20201111/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +51 -0
- tencentcloud/ess/v20201111/models.py +409 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +54 -1
- tencentcloud/essbasic/v20210526/models.py +367 -0
- tencentcloud/gs/v20191118/models.py +17 -2
- tencentcloud/hunyuan/v20230901/models.py +9 -5
- tencentcloud/lighthouse/v20200324/errorcodes.py +21 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +29 -0
- tencentcloud/lighthouse/v20200324/models.py +79 -0
- tencentcloud/live/v20180801/live_client.py +115 -0
- tencentcloud/live/v20180801/models.py +1006 -48
- tencentcloud/lke/v20231130/lke_client.py +46 -0
- tencentcloud/lke/v20231130/models.py +248 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +8 -4
- tencentcloud/mps/v20190612/models.py +202 -2
- tencentcloud/tdmq/v20200217/models.py +247 -33
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/tiia/v20190529/models.py +0 -262
- tencentcloud/tiia/v20190529/tiia_client.py +0 -26
- tencentcloud/tione/v20211111/models.py +348 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/tke/v20180525/errorcodes.py +1 -1
- tencentcloud/tke/v20220501/errorcodes.py +1 -1
- tencentcloud/trocket/v20230308/models.py +581 -2
- tencentcloud/trocket/v20230308/trocket_client.py +56 -0
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tsf/v20180326/models.py +8 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/RECORD +46 -46
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1405.dist-info → tencentcloud_sdk_python-3.0.1407.dist-info}/top_level.txt +0 -0
@@ -7461,6 +7461,142 @@ class DescribeMigratingTopicStatsResponse(AbstractModel):
|
|
7461
7461
|
self._RequestId = params.get("RequestId")
|
7462
7462
|
|
7463
7463
|
|
7464
|
+
class DescribeMigrationTaskListRequest(AbstractModel):
|
7465
|
+
"""DescribeMigrationTaskList请求参数结构体
|
7466
|
+
|
7467
|
+
"""
|
7468
|
+
|
7469
|
+
def __init__(self):
|
7470
|
+
r"""
|
7471
|
+
:param _Filters: 查询条件列表
|
7472
|
+
:type Filters: list of Filter
|
7473
|
+
:param _Offset: 查询起始位置
|
7474
|
+
:type Offset: int
|
7475
|
+
:param _Limit: 查询结果限制数量
|
7476
|
+
:type Limit: int
|
7477
|
+
"""
|
7478
|
+
self._Filters = None
|
7479
|
+
self._Offset = None
|
7480
|
+
self._Limit = None
|
7481
|
+
|
7482
|
+
@property
|
7483
|
+
def Filters(self):
|
7484
|
+
"""查询条件列表
|
7485
|
+
:rtype: list of Filter
|
7486
|
+
"""
|
7487
|
+
return self._Filters
|
7488
|
+
|
7489
|
+
@Filters.setter
|
7490
|
+
def Filters(self, Filters):
|
7491
|
+
self._Filters = Filters
|
7492
|
+
|
7493
|
+
@property
|
7494
|
+
def Offset(self):
|
7495
|
+
"""查询起始位置
|
7496
|
+
:rtype: int
|
7497
|
+
"""
|
7498
|
+
return self._Offset
|
7499
|
+
|
7500
|
+
@Offset.setter
|
7501
|
+
def Offset(self, Offset):
|
7502
|
+
self._Offset = Offset
|
7503
|
+
|
7504
|
+
@property
|
7505
|
+
def Limit(self):
|
7506
|
+
"""查询结果限制数量
|
7507
|
+
:rtype: int
|
7508
|
+
"""
|
7509
|
+
return self._Limit
|
7510
|
+
|
7511
|
+
@Limit.setter
|
7512
|
+
def Limit(self, Limit):
|
7513
|
+
self._Limit = Limit
|
7514
|
+
|
7515
|
+
|
7516
|
+
def _deserialize(self, params):
|
7517
|
+
if params.get("Filters") is not None:
|
7518
|
+
self._Filters = []
|
7519
|
+
for item in params.get("Filters"):
|
7520
|
+
obj = Filter()
|
7521
|
+
obj._deserialize(item)
|
7522
|
+
self._Filters.append(obj)
|
7523
|
+
self._Offset = params.get("Offset")
|
7524
|
+
self._Limit = params.get("Limit")
|
7525
|
+
memeber_set = set(params.keys())
|
7526
|
+
for name, value in vars(self).items():
|
7527
|
+
property_name = name[1:]
|
7528
|
+
if property_name in memeber_set:
|
7529
|
+
memeber_set.remove(property_name)
|
7530
|
+
if len(memeber_set) > 0:
|
7531
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7532
|
+
|
7533
|
+
|
7534
|
+
|
7535
|
+
class DescribeMigrationTaskListResponse(AbstractModel):
|
7536
|
+
"""DescribeMigrationTaskList返回参数结构体
|
7537
|
+
|
7538
|
+
"""
|
7539
|
+
|
7540
|
+
def __init__(self):
|
7541
|
+
r"""
|
7542
|
+
:param _TotalCount: 查询总数
|
7543
|
+
:type TotalCount: int
|
7544
|
+
:param _Tasks: 迁移任务列表
|
7545
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7546
|
+
:type Tasks: list of MigrationTaskItem
|
7547
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7548
|
+
:type RequestId: str
|
7549
|
+
"""
|
7550
|
+
self._TotalCount = None
|
7551
|
+
self._Tasks = None
|
7552
|
+
self._RequestId = None
|
7553
|
+
|
7554
|
+
@property
|
7555
|
+
def TotalCount(self):
|
7556
|
+
"""查询总数
|
7557
|
+
:rtype: int
|
7558
|
+
"""
|
7559
|
+
return self._TotalCount
|
7560
|
+
|
7561
|
+
@TotalCount.setter
|
7562
|
+
def TotalCount(self, TotalCount):
|
7563
|
+
self._TotalCount = TotalCount
|
7564
|
+
|
7565
|
+
@property
|
7566
|
+
def Tasks(self):
|
7567
|
+
"""迁移任务列表
|
7568
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7569
|
+
:rtype: list of MigrationTaskItem
|
7570
|
+
"""
|
7571
|
+
return self._Tasks
|
7572
|
+
|
7573
|
+
@Tasks.setter
|
7574
|
+
def Tasks(self, Tasks):
|
7575
|
+
self._Tasks = Tasks
|
7576
|
+
|
7577
|
+
@property
|
7578
|
+
def RequestId(self):
|
7579
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7580
|
+
:rtype: str
|
7581
|
+
"""
|
7582
|
+
return self._RequestId
|
7583
|
+
|
7584
|
+
@RequestId.setter
|
7585
|
+
def RequestId(self, RequestId):
|
7586
|
+
self._RequestId = RequestId
|
7587
|
+
|
7588
|
+
|
7589
|
+
def _deserialize(self, params):
|
7590
|
+
self._TotalCount = params.get("TotalCount")
|
7591
|
+
if params.get("Tasks") is not None:
|
7592
|
+
self._Tasks = []
|
7593
|
+
for item in params.get("Tasks"):
|
7594
|
+
obj = MigrationTaskItem()
|
7595
|
+
obj._deserialize(item)
|
7596
|
+
self._Tasks.append(obj)
|
7597
|
+
self._RequestId = params.get("RequestId")
|
7598
|
+
|
7599
|
+
|
7464
7600
|
class DescribeProductSKUsRequest(AbstractModel):
|
7465
7601
|
"""DescribeProductSKUs请求参数结构体
|
7466
7602
|
|
@@ -7666,6 +7802,144 @@ class DescribeRoleListResponse(AbstractModel):
|
|
7666
7802
|
self._RequestId = params.get("RequestId")
|
7667
7803
|
|
7668
7804
|
|
7805
|
+
class DescribeSmoothMigrationTaskListRequest(AbstractModel):
|
7806
|
+
"""DescribeSmoothMigrationTaskList请求参数结构体
|
7807
|
+
|
7808
|
+
"""
|
7809
|
+
|
7810
|
+
def __init__(self):
|
7811
|
+
r"""
|
7812
|
+
:param _Offset: 查询起始位置
|
7813
|
+
:type Offset: int
|
7814
|
+
:param _Limit: 查询结果限制数量
|
7815
|
+
:type Limit: int
|
7816
|
+
:param _Filters: 查询条件列表
|
7817
|
+
:type Filters: list of Filter
|
7818
|
+
"""
|
7819
|
+
self._Offset = None
|
7820
|
+
self._Limit = None
|
7821
|
+
self._Filters = None
|
7822
|
+
|
7823
|
+
@property
|
7824
|
+
def Offset(self):
|
7825
|
+
"""查询起始位置
|
7826
|
+
:rtype: int
|
7827
|
+
"""
|
7828
|
+
return self._Offset
|
7829
|
+
|
7830
|
+
@Offset.setter
|
7831
|
+
def Offset(self, Offset):
|
7832
|
+
self._Offset = Offset
|
7833
|
+
|
7834
|
+
@property
|
7835
|
+
def Limit(self):
|
7836
|
+
"""查询结果限制数量
|
7837
|
+
:rtype: int
|
7838
|
+
"""
|
7839
|
+
return self._Limit
|
7840
|
+
|
7841
|
+
@Limit.setter
|
7842
|
+
def Limit(self, Limit):
|
7843
|
+
self._Limit = Limit
|
7844
|
+
|
7845
|
+
@property
|
7846
|
+
def Filters(self):
|
7847
|
+
"""查询条件列表
|
7848
|
+
:rtype: list of Filter
|
7849
|
+
"""
|
7850
|
+
return self._Filters
|
7851
|
+
|
7852
|
+
@Filters.setter
|
7853
|
+
def Filters(self, Filters):
|
7854
|
+
self._Filters = Filters
|
7855
|
+
|
7856
|
+
|
7857
|
+
def _deserialize(self, params):
|
7858
|
+
self._Offset = params.get("Offset")
|
7859
|
+
self._Limit = params.get("Limit")
|
7860
|
+
if params.get("Filters") is not None:
|
7861
|
+
self._Filters = []
|
7862
|
+
for item in params.get("Filters"):
|
7863
|
+
obj = Filter()
|
7864
|
+
obj._deserialize(item)
|
7865
|
+
self._Filters.append(obj)
|
7866
|
+
memeber_set = set(params.keys())
|
7867
|
+
for name, value in vars(self).items():
|
7868
|
+
property_name = name[1:]
|
7869
|
+
if property_name in memeber_set:
|
7870
|
+
memeber_set.remove(property_name)
|
7871
|
+
if len(memeber_set) > 0:
|
7872
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7873
|
+
|
7874
|
+
|
7875
|
+
|
7876
|
+
class DescribeSmoothMigrationTaskListResponse(AbstractModel):
|
7877
|
+
"""DescribeSmoothMigrationTaskList返回参数结构体
|
7878
|
+
|
7879
|
+
"""
|
7880
|
+
|
7881
|
+
def __init__(self):
|
7882
|
+
r"""
|
7883
|
+
:param _TotalCount: 查询总数
|
7884
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7885
|
+
:type TotalCount: int
|
7886
|
+
:param _Data: 任务列表
|
7887
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7888
|
+
:type Data: list of SmoothMigrationTaskItem
|
7889
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7890
|
+
:type RequestId: str
|
7891
|
+
"""
|
7892
|
+
self._TotalCount = None
|
7893
|
+
self._Data = None
|
7894
|
+
self._RequestId = None
|
7895
|
+
|
7896
|
+
@property
|
7897
|
+
def TotalCount(self):
|
7898
|
+
"""查询总数
|
7899
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7900
|
+
:rtype: int
|
7901
|
+
"""
|
7902
|
+
return self._TotalCount
|
7903
|
+
|
7904
|
+
@TotalCount.setter
|
7905
|
+
def TotalCount(self, TotalCount):
|
7906
|
+
self._TotalCount = TotalCount
|
7907
|
+
|
7908
|
+
@property
|
7909
|
+
def Data(self):
|
7910
|
+
"""任务列表
|
7911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7912
|
+
:rtype: list of SmoothMigrationTaskItem
|
7913
|
+
"""
|
7914
|
+
return self._Data
|
7915
|
+
|
7916
|
+
@Data.setter
|
7917
|
+
def Data(self, Data):
|
7918
|
+
self._Data = Data
|
7919
|
+
|
7920
|
+
@property
|
7921
|
+
def RequestId(self):
|
7922
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7923
|
+
:rtype: str
|
7924
|
+
"""
|
7925
|
+
return self._RequestId
|
7926
|
+
|
7927
|
+
@RequestId.setter
|
7928
|
+
def RequestId(self, RequestId):
|
7929
|
+
self._RequestId = RequestId
|
7930
|
+
|
7931
|
+
|
7932
|
+
def _deserialize(self, params):
|
7933
|
+
self._TotalCount = params.get("TotalCount")
|
7934
|
+
if params.get("Data") is not None:
|
7935
|
+
self._Data = []
|
7936
|
+
for item in params.get("Data"):
|
7937
|
+
obj = SmoothMigrationTaskItem()
|
7938
|
+
obj._deserialize(item)
|
7939
|
+
self._Data.append(obj)
|
7940
|
+
self._RequestId = params.get("RequestId")
|
7941
|
+
|
7942
|
+
|
7669
7943
|
class DescribeSourceClusterGroupListRequest(AbstractModel):
|
7670
7944
|
"""DescribeSourceClusterGroupList请求参数结构体
|
7671
7945
|
|
@@ -11388,7 +11662,12 @@ class MigratingTopic(AbstractModel):
|
|
11388
11662
|
r"""
|
11389
11663
|
:param _TopicName: 主题名称
|
11390
11664
|
:type TopicName: str
|
11391
|
-
:param _MigrationStatus: 迁移状态
|
11665
|
+
:param _MigrationStatus: 迁移状态
|
11666
|
+
S_RW_D_NA 源集群读写,
|
11667
|
+
S_RW_D_R 源集群读写目标集群读,
|
11668
|
+
S_RW_D_RW 源集群读写目标集群读写,
|
11669
|
+
S_R_D_RW 源集群读目标集群读写,
|
11670
|
+
S_NA_D_RW 目标集群读写
|
11392
11671
|
:type MigrationStatus: str
|
11393
11672
|
:param _HealthCheckPassed: 是否完成健康检查
|
11394
11673
|
:type HealthCheckPassed: bool
|
@@ -11431,7 +11710,12 @@ class MigratingTopic(AbstractModel):
|
|
11431
11710
|
|
11432
11711
|
@property
|
11433
11712
|
def MigrationStatus(self):
|
11434
|
-
"""迁移状态
|
11713
|
+
"""迁移状态
|
11714
|
+
S_RW_D_NA 源集群读写,
|
11715
|
+
S_RW_D_R 源集群读写目标集群读,
|
11716
|
+
S_RW_D_RW 源集群读写目标集群读写,
|
11717
|
+
S_R_D_RW 源集群读目标集群读写,
|
11718
|
+
S_NA_D_RW 目标集群读写
|
11435
11719
|
:rtype: str
|
11436
11720
|
"""
|
11437
11721
|
return self._MigrationStatus
|
@@ -11541,6 +11825,134 @@ class MigratingTopic(AbstractModel):
|
|
11541
11825
|
|
11542
11826
|
|
11543
11827
|
|
11828
|
+
class MigrationTaskItem(AbstractModel):
|
11829
|
+
"""迁移任务信息
|
11830
|
+
|
11831
|
+
"""
|
11832
|
+
|
11833
|
+
def __init__(self):
|
11834
|
+
r"""
|
11835
|
+
:param _TaskId: 任务ID
|
11836
|
+
:type TaskId: str
|
11837
|
+
:param _InstanceId: 实例ID
|
11838
|
+
:type InstanceId: str
|
11839
|
+
:param _Type: 0 - 未指定(存量)
|
11840
|
+
1 - 元数据导入
|
11841
|
+
:type Type: int
|
11842
|
+
:param _TopicNum: 主题总数
|
11843
|
+
:type TopicNum: int
|
11844
|
+
:param _GroupNum: 消费组总数
|
11845
|
+
:type GroupNum: int
|
11846
|
+
:param _Status: 任务状态: 0,迁移中 1,迁移成功 2,迁移完成,只有部分数据完成迁移
|
11847
|
+
:type Status: int
|
11848
|
+
:param _CreateTime: 创建时间
|
11849
|
+
:type CreateTime: int
|
11850
|
+
"""
|
11851
|
+
self._TaskId = None
|
11852
|
+
self._InstanceId = None
|
11853
|
+
self._Type = None
|
11854
|
+
self._TopicNum = None
|
11855
|
+
self._GroupNum = None
|
11856
|
+
self._Status = None
|
11857
|
+
self._CreateTime = None
|
11858
|
+
|
11859
|
+
@property
|
11860
|
+
def TaskId(self):
|
11861
|
+
"""任务ID
|
11862
|
+
:rtype: str
|
11863
|
+
"""
|
11864
|
+
return self._TaskId
|
11865
|
+
|
11866
|
+
@TaskId.setter
|
11867
|
+
def TaskId(self, TaskId):
|
11868
|
+
self._TaskId = TaskId
|
11869
|
+
|
11870
|
+
@property
|
11871
|
+
def InstanceId(self):
|
11872
|
+
"""实例ID
|
11873
|
+
:rtype: str
|
11874
|
+
"""
|
11875
|
+
return self._InstanceId
|
11876
|
+
|
11877
|
+
@InstanceId.setter
|
11878
|
+
def InstanceId(self, InstanceId):
|
11879
|
+
self._InstanceId = InstanceId
|
11880
|
+
|
11881
|
+
@property
|
11882
|
+
def Type(self):
|
11883
|
+
"""0 - 未指定(存量)
|
11884
|
+
1 - 元数据导入
|
11885
|
+
:rtype: int
|
11886
|
+
"""
|
11887
|
+
return self._Type
|
11888
|
+
|
11889
|
+
@Type.setter
|
11890
|
+
def Type(self, Type):
|
11891
|
+
self._Type = Type
|
11892
|
+
|
11893
|
+
@property
|
11894
|
+
def TopicNum(self):
|
11895
|
+
"""主题总数
|
11896
|
+
:rtype: int
|
11897
|
+
"""
|
11898
|
+
return self._TopicNum
|
11899
|
+
|
11900
|
+
@TopicNum.setter
|
11901
|
+
def TopicNum(self, TopicNum):
|
11902
|
+
self._TopicNum = TopicNum
|
11903
|
+
|
11904
|
+
@property
|
11905
|
+
def GroupNum(self):
|
11906
|
+
"""消费组总数
|
11907
|
+
:rtype: int
|
11908
|
+
"""
|
11909
|
+
return self._GroupNum
|
11910
|
+
|
11911
|
+
@GroupNum.setter
|
11912
|
+
def GroupNum(self, GroupNum):
|
11913
|
+
self._GroupNum = GroupNum
|
11914
|
+
|
11915
|
+
@property
|
11916
|
+
def Status(self):
|
11917
|
+
"""任务状态: 0,迁移中 1,迁移成功 2,迁移完成,只有部分数据完成迁移
|
11918
|
+
:rtype: int
|
11919
|
+
"""
|
11920
|
+
return self._Status
|
11921
|
+
|
11922
|
+
@Status.setter
|
11923
|
+
def Status(self, Status):
|
11924
|
+
self._Status = Status
|
11925
|
+
|
11926
|
+
@property
|
11927
|
+
def CreateTime(self):
|
11928
|
+
"""创建时间
|
11929
|
+
:rtype: int
|
11930
|
+
"""
|
11931
|
+
return self._CreateTime
|
11932
|
+
|
11933
|
+
@CreateTime.setter
|
11934
|
+
def CreateTime(self, CreateTime):
|
11935
|
+
self._CreateTime = CreateTime
|
11936
|
+
|
11937
|
+
|
11938
|
+
def _deserialize(self, params):
|
11939
|
+
self._TaskId = params.get("TaskId")
|
11940
|
+
self._InstanceId = params.get("InstanceId")
|
11941
|
+
self._Type = params.get("Type")
|
11942
|
+
self._TopicNum = params.get("TopicNum")
|
11943
|
+
self._GroupNum = params.get("GroupNum")
|
11944
|
+
self._Status = params.get("Status")
|
11945
|
+
self._CreateTime = params.get("CreateTime")
|
11946
|
+
memeber_set = set(params.keys())
|
11947
|
+
for name, value in vars(self).items():
|
11948
|
+
property_name = name[1:]
|
11949
|
+
if property_name in memeber_set:
|
11950
|
+
memeber_set.remove(property_name)
|
11951
|
+
if len(memeber_set) > 0:
|
11952
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11953
|
+
|
11954
|
+
|
11955
|
+
|
11544
11956
|
class ModifyConsumerGroupRequest(AbstractModel):
|
11545
11957
|
"""ModifyConsumerGroup请求参数结构体
|
11546
11958
|
|
@@ -13830,6 +14242,173 @@ class RollbackMigratingTopicStageResponse(AbstractModel):
|
|
13830
14242
|
self._RequestId = params.get("RequestId")
|
13831
14243
|
|
13832
14244
|
|
14245
|
+
class SmoothMigrationTaskItem(AbstractModel):
|
14246
|
+
"""平滑迁移任务
|
14247
|
+
|
14248
|
+
"""
|
14249
|
+
|
14250
|
+
def __init__(self):
|
14251
|
+
r"""
|
14252
|
+
:param _TaskId: 任务ID
|
14253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14254
|
+
:type TaskId: str
|
14255
|
+
:param _TaskName: 任务名称
|
14256
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14257
|
+
:type TaskName: str
|
14258
|
+
:param _SourceClusterName: 源集群名称
|
14259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14260
|
+
:type SourceClusterName: str
|
14261
|
+
:param _InstanceId: 目标集群实例ID
|
14262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14263
|
+
:type InstanceId: str
|
14264
|
+
:param _ConnectionType: 网络连接类型,
|
14265
|
+
PUBLIC 公网
|
14266
|
+
VPC 私有网络
|
14267
|
+
OTHER 其他
|
14268
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14269
|
+
:type ConnectionType: str
|
14270
|
+
:param _SourceNameServer: 源集群NameServer地址
|
14271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14272
|
+
:type SourceNameServer: str
|
14273
|
+
:param _TaskStatus: 任务状态 Configuration 迁移配置 SourceConnecting 连接源集群中 MetaDataImport 元数据导入 EndpointSetup 切换接入点 ServiceMigration 切流中 Completed 已完成 Cancelled 已取消
|
14274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14275
|
+
:type TaskStatus: str
|
14276
|
+
:param _InstanceVersion: 目标集群实例版本,
|
14277
|
+
4 表示4.x版本
|
14278
|
+
5 表示5.x版本
|
14279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14280
|
+
:type InstanceVersion: str
|
14281
|
+
"""
|
14282
|
+
self._TaskId = None
|
14283
|
+
self._TaskName = None
|
14284
|
+
self._SourceClusterName = None
|
14285
|
+
self._InstanceId = None
|
14286
|
+
self._ConnectionType = None
|
14287
|
+
self._SourceNameServer = None
|
14288
|
+
self._TaskStatus = None
|
14289
|
+
self._InstanceVersion = None
|
14290
|
+
|
14291
|
+
@property
|
14292
|
+
def TaskId(self):
|
14293
|
+
"""任务ID
|
14294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14295
|
+
:rtype: str
|
14296
|
+
"""
|
14297
|
+
return self._TaskId
|
14298
|
+
|
14299
|
+
@TaskId.setter
|
14300
|
+
def TaskId(self, TaskId):
|
14301
|
+
self._TaskId = TaskId
|
14302
|
+
|
14303
|
+
@property
|
14304
|
+
def TaskName(self):
|
14305
|
+
"""任务名称
|
14306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14307
|
+
:rtype: str
|
14308
|
+
"""
|
14309
|
+
return self._TaskName
|
14310
|
+
|
14311
|
+
@TaskName.setter
|
14312
|
+
def TaskName(self, TaskName):
|
14313
|
+
self._TaskName = TaskName
|
14314
|
+
|
14315
|
+
@property
|
14316
|
+
def SourceClusterName(self):
|
14317
|
+
"""源集群名称
|
14318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14319
|
+
:rtype: str
|
14320
|
+
"""
|
14321
|
+
return self._SourceClusterName
|
14322
|
+
|
14323
|
+
@SourceClusterName.setter
|
14324
|
+
def SourceClusterName(self, SourceClusterName):
|
14325
|
+
self._SourceClusterName = SourceClusterName
|
14326
|
+
|
14327
|
+
@property
|
14328
|
+
def InstanceId(self):
|
14329
|
+
"""目标集群实例ID
|
14330
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14331
|
+
:rtype: str
|
14332
|
+
"""
|
14333
|
+
return self._InstanceId
|
14334
|
+
|
14335
|
+
@InstanceId.setter
|
14336
|
+
def InstanceId(self, InstanceId):
|
14337
|
+
self._InstanceId = InstanceId
|
14338
|
+
|
14339
|
+
@property
|
14340
|
+
def ConnectionType(self):
|
14341
|
+
"""网络连接类型,
|
14342
|
+
PUBLIC 公网
|
14343
|
+
VPC 私有网络
|
14344
|
+
OTHER 其他
|
14345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14346
|
+
:rtype: str
|
14347
|
+
"""
|
14348
|
+
return self._ConnectionType
|
14349
|
+
|
14350
|
+
@ConnectionType.setter
|
14351
|
+
def ConnectionType(self, ConnectionType):
|
14352
|
+
self._ConnectionType = ConnectionType
|
14353
|
+
|
14354
|
+
@property
|
14355
|
+
def SourceNameServer(self):
|
14356
|
+
"""源集群NameServer地址
|
14357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14358
|
+
:rtype: str
|
14359
|
+
"""
|
14360
|
+
return self._SourceNameServer
|
14361
|
+
|
14362
|
+
@SourceNameServer.setter
|
14363
|
+
def SourceNameServer(self, SourceNameServer):
|
14364
|
+
self._SourceNameServer = SourceNameServer
|
14365
|
+
|
14366
|
+
@property
|
14367
|
+
def TaskStatus(self):
|
14368
|
+
"""任务状态 Configuration 迁移配置 SourceConnecting 连接源集群中 MetaDataImport 元数据导入 EndpointSetup 切换接入点 ServiceMigration 切流中 Completed 已完成 Cancelled 已取消
|
14369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14370
|
+
:rtype: str
|
14371
|
+
"""
|
14372
|
+
return self._TaskStatus
|
14373
|
+
|
14374
|
+
@TaskStatus.setter
|
14375
|
+
def TaskStatus(self, TaskStatus):
|
14376
|
+
self._TaskStatus = TaskStatus
|
14377
|
+
|
14378
|
+
@property
|
14379
|
+
def InstanceVersion(self):
|
14380
|
+
"""目标集群实例版本,
|
14381
|
+
4 表示4.x版本
|
14382
|
+
5 表示5.x版本
|
14383
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14384
|
+
:rtype: str
|
14385
|
+
"""
|
14386
|
+
return self._InstanceVersion
|
14387
|
+
|
14388
|
+
@InstanceVersion.setter
|
14389
|
+
def InstanceVersion(self, InstanceVersion):
|
14390
|
+
self._InstanceVersion = InstanceVersion
|
14391
|
+
|
14392
|
+
|
14393
|
+
def _deserialize(self, params):
|
14394
|
+
self._TaskId = params.get("TaskId")
|
14395
|
+
self._TaskName = params.get("TaskName")
|
14396
|
+
self._SourceClusterName = params.get("SourceClusterName")
|
14397
|
+
self._InstanceId = params.get("InstanceId")
|
14398
|
+
self._ConnectionType = params.get("ConnectionType")
|
14399
|
+
self._SourceNameServer = params.get("SourceNameServer")
|
14400
|
+
self._TaskStatus = params.get("TaskStatus")
|
14401
|
+
self._InstanceVersion = params.get("InstanceVersion")
|
14402
|
+
memeber_set = set(params.keys())
|
14403
|
+
for name, value in vars(self).items():
|
14404
|
+
property_name = name[1:]
|
14405
|
+
if property_name in memeber_set:
|
14406
|
+
memeber_set.remove(property_name)
|
14407
|
+
if len(memeber_set) > 0:
|
14408
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14409
|
+
|
14410
|
+
|
14411
|
+
|
13833
14412
|
class SourceClusterGroupConfig(AbstractModel):
|
13834
14413
|
"""消费组配置信息
|
13835
14414
|
|
@@ -1041,6 +1041,33 @@ class TrocketClient(AbstractClient):
|
|
1041
1041
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1042
1042
|
|
1043
1043
|
|
1044
|
+
def DescribeMigrationTaskList(self, request):
|
1045
|
+
"""获取数据迁移任务列表,Filter参数使用说明如下:
|
1046
|
+
|
1047
|
+
TaskId,根据任务ID精确查找
|
1048
|
+
InstanceId,根据实例ID精确查找
|
1049
|
+
Type,根据任务类型精确查找
|
1050
|
+
|
1051
|
+
:param request: Request instance for DescribeMigrationTaskList.
|
1052
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeMigrationTaskListRequest`
|
1053
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeMigrationTaskListResponse`
|
1054
|
+
|
1055
|
+
"""
|
1056
|
+
try:
|
1057
|
+
params = request._serialize()
|
1058
|
+
headers = request.headers
|
1059
|
+
body = self.call("DescribeMigrationTaskList", params, headers=headers)
|
1060
|
+
response = json.loads(body)
|
1061
|
+
model = models.DescribeMigrationTaskListResponse()
|
1062
|
+
model._deserialize(response["Response"])
|
1063
|
+
return model
|
1064
|
+
except Exception as e:
|
1065
|
+
if isinstance(e, TencentCloudSDKException):
|
1066
|
+
raise
|
1067
|
+
else:
|
1068
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1069
|
+
|
1070
|
+
|
1044
1071
|
def DescribeProductSKUs(self, request):
|
1045
1072
|
"""查询产品售卖规格,针对 RocketMQ 5.x 集群。
|
1046
1073
|
|
@@ -1090,6 +1117,35 @@ class TrocketClient(AbstractClient):
|
|
1090
1117
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1091
1118
|
|
1092
1119
|
|
1120
|
+
def DescribeSmoothMigrationTaskList(self, request):
|
1121
|
+
"""用于查询平滑迁移任务列表
|
1122
|
+
|
1123
|
+
查询参数Filters, 支持的字段如下:
|
1124
|
+
TaskStatus, 支持多选
|
1125
|
+
ConnectionType,支持多选
|
1126
|
+
InstanceId,精确搜索
|
1127
|
+
TaskName,支持模糊搜索
|
1128
|
+
|
1129
|
+
:param request: Request instance for DescribeSmoothMigrationTaskList.
|
1130
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeSmoothMigrationTaskListRequest`
|
1131
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeSmoothMigrationTaskListResponse`
|
1132
|
+
|
1133
|
+
"""
|
1134
|
+
try:
|
1135
|
+
params = request._serialize()
|
1136
|
+
headers = request.headers
|
1137
|
+
body = self.call("DescribeSmoothMigrationTaskList", params, headers=headers)
|
1138
|
+
response = json.loads(body)
|
1139
|
+
model = models.DescribeSmoothMigrationTaskListResponse()
|
1140
|
+
model._deserialize(response["Response"])
|
1141
|
+
return model
|
1142
|
+
except Exception as e:
|
1143
|
+
if isinstance(e, TencentCloudSDKException):
|
1144
|
+
raise
|
1145
|
+
else:
|
1146
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1147
|
+
|
1148
|
+
|
1093
1149
|
def DescribeSourceClusterGroupList(self, request):
|
1094
1150
|
"""平滑迁移过程获取源集群group列表接口
|
1095
1151
|
|
@@ -491,7 +491,7 @@ class AgentParams(AbstractModel):
|
|
491
491
|
|
492
492
|
class AmbientSound(AbstractModel):
|
493
493
|
"""背景音设置,将在通话中添加环境音效,使体验更加逼真。目前支持以下选项:
|
494
|
-
|
494
|
+
coffee_shops: 咖啡店氛围,背景中有人聊天。
|
495
495
|
busy_office: 客服中心
|
496
496
|
street_traffic: 户外街道
|
497
497
|
evening_mountain: 户外山林
|