tencentcloud-sdk-python 3.0.1406__py2.py3-none-any.whl → 3.0.1408__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/apm/v20210622/models.py +15 -0
- tencentcloud/asr/v20190614/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +168 -4
- tencentcloud/cdb/v20170320/cdb_client.py +5 -5
- tencentcloud/cdb/v20170320/models.py +42 -38
- tencentcloud/cdn/v20180606/errorcodes.py +9 -0
- tencentcloud/cdn/v20180606/models.py +2 -2
- tencentcloud/cfs/v20190719/models.py +25 -6
- tencentcloud/ckafka/v20190819/models.py +30 -0
- tencentcloud/csip/v20221121/csip_client.py +299 -0
- tencentcloud/csip/v20221121/models.py +11315 -6743
- tencentcloud/dts/v20211206/models.py +15 -0
- tencentcloud/es/v20180416/models.py +77 -0
- tencentcloud/es/v20250101/models.py +32 -0
- tencentcloud/ess/v20201111/errorcodes.py +33 -0
- tencentcloud/ess/v20201111/ess_client.py +80 -0
- tencentcloud/ess/v20201111/models.py +596 -8
- tencentcloud/essbasic/v20210526/errorcodes.py +9 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +84 -1
- tencentcloud/essbasic/v20210526/models.py +599 -2
- tencentcloud/gwlb/v20240906/models.py +2 -2
- tencentcloud/hunyuan/v20230901/models.py +9 -5
- tencentcloud/ioa/v20220601/models.py +75 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +34 -11
- tencentcloud/iotexplorer/v20190423/models.py +258 -0
- tencentcloud/live/v20180801/live_client.py +90 -21
- tencentcloud/live/v20180801/models.py +903 -177
- tencentcloud/lkeap/v20240522/lkeap_client.py +0 -23
- tencentcloud/lkeap/v20240522/models.py +0 -167
- tencentcloud/ocr/v20181119/models.py +38 -0
- tencentcloud/ocr/v20181119/ocr_client.py +10 -0
- tencentcloud/ssl/v20191205/models.py +1081 -29
- tencentcloud/ssl/v20191205/ssl_client.py +92 -0
- tencentcloud/tcbr/v20220217/models.py +17 -0
- tencentcloud/tdmq/v20200217/models.py +107 -68
- tencentcloud/tdmq/v20200217/tdmq_client.py +2 -2
- tencentcloud/trocket/v20230308/errorcodes.py +3 -0
- tencentcloud/trocket/v20230308/models.py +512 -107
- tencentcloud/trocket/v20230308/trocket_client.py +34 -2
- tencentcloud/trtc/v20190722/models.py +6 -6
- tencentcloud/tse/v20201207/models.py +30 -0
- tencentcloud/wedata/v20210820/models.py +1280 -2
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1408.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1408.dist-info}/RECORD +49 -49
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1408.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1408.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1406.dist-info → tencentcloud_sdk_python-3.0.1408.dist-info}/top_level.txt +0 -0
@@ -25,11 +25,13 @@ class ChangeMigratingTopicToNextStageRequest(AbstractModel):
|
|
25
25
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
|
-
:param _TaskId: 任务ID
|
28
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
29
|
+
|
29
30
|
:type TaskId: str
|
30
|
-
:param _TopicNameList:
|
31
|
+
:param _TopicNameList: 主题名称列表,主题名称可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
32
|
+
|
31
33
|
:type TopicNameList: list of str
|
32
|
-
:param _NamespaceList: 命名空间列表,仅4.x集群有效,与TopicNameList
|
34
|
+
:param _NamespaceList: 命名空间列表,仅4.x集群有效,与TopicNameList一一对应,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
33
35
|
:type NamespaceList: list of str
|
34
36
|
"""
|
35
37
|
self._TaskId = None
|
@@ -38,7 +40,8 @@ class ChangeMigratingTopicToNextStageRequest(AbstractModel):
|
|
38
40
|
|
39
41
|
@property
|
40
42
|
def TaskId(self):
|
41
|
-
"""任务ID
|
43
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
44
|
+
|
42
45
|
:rtype: str
|
43
46
|
"""
|
44
47
|
return self._TaskId
|
@@ -49,7 +52,8 @@ class ChangeMigratingTopicToNextStageRequest(AbstractModel):
|
|
49
52
|
|
50
53
|
@property
|
51
54
|
def TopicNameList(self):
|
52
|
-
"""
|
55
|
+
"""主题名称列表,主题名称可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
56
|
+
|
53
57
|
:rtype: list of str
|
54
58
|
"""
|
55
59
|
return self._TopicNameList
|
@@ -60,7 +64,7 @@ class ChangeMigratingTopicToNextStageRequest(AbstractModel):
|
|
60
64
|
|
61
65
|
@property
|
62
66
|
def NamespaceList(self):
|
63
|
-
"""命名空间列表,仅4.x集群有效,与TopicNameList
|
67
|
+
"""命名空间列表,仅4.x集群有效,与TopicNameList一一对应,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
64
68
|
:rtype: list of str
|
65
69
|
"""
|
66
70
|
return self._NamespaceList
|
@@ -2599,14 +2603,16 @@ class DeleteSmoothMigrationTaskRequest(AbstractModel):
|
|
2599
2603
|
|
2600
2604
|
def __init__(self):
|
2601
2605
|
r"""
|
2602
|
-
:param _TaskId: 任务ID
|
2606
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
2607
|
+
|
2603
2608
|
:type TaskId: str
|
2604
2609
|
"""
|
2605
2610
|
self._TaskId = None
|
2606
2611
|
|
2607
2612
|
@property
|
2608
2613
|
def TaskId(self):
|
2609
|
-
"""任务ID
|
2614
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
2615
|
+
|
2610
2616
|
:rtype: str
|
2611
2617
|
"""
|
2612
2618
|
return self._TaskId
|
@@ -7001,11 +7007,12 @@ class DescribeMigratingGroupStatsRequest(AbstractModel):
|
|
7001
7007
|
|
7002
7008
|
def __init__(self):
|
7003
7009
|
r"""
|
7004
|
-
:param _TaskId:
|
7010
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
7005
7011
|
:type TaskId: str
|
7006
|
-
:param _GroupName:
|
7012
|
+
:param _GroupName: 消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
7013
|
+
|
7007
7014
|
:type GroupName: str
|
7008
|
-
:param _Namespace:
|
7015
|
+
:param _Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
7009
7016
|
:type Namespace: str
|
7010
7017
|
"""
|
7011
7018
|
self._TaskId = None
|
@@ -7014,7 +7021,7 @@ class DescribeMigratingGroupStatsRequest(AbstractModel):
|
|
7014
7021
|
|
7015
7022
|
@property
|
7016
7023
|
def TaskId(self):
|
7017
|
-
"""
|
7024
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
7018
7025
|
:rtype: str
|
7019
7026
|
"""
|
7020
7027
|
return self._TaskId
|
@@ -7025,7 +7032,8 @@ class DescribeMigratingGroupStatsRequest(AbstractModel):
|
|
7025
7032
|
|
7026
7033
|
@property
|
7027
7034
|
def GroupName(self):
|
7028
|
-
"""
|
7035
|
+
"""消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
7036
|
+
|
7029
7037
|
:rtype: str
|
7030
7038
|
"""
|
7031
7039
|
return self._GroupName
|
@@ -7036,7 +7044,7 @@ class DescribeMigratingGroupStatsRequest(AbstractModel):
|
|
7036
7044
|
|
7037
7045
|
@property
|
7038
7046
|
def Namespace(self):
|
7039
|
-
"""
|
7047
|
+
"""命名空间,仅迁移至4.x集群有效,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
7040
7048
|
:rtype: str
|
7041
7049
|
"""
|
7042
7050
|
return self._Namespace
|
@@ -7165,23 +7173,25 @@ class DescribeMigratingTopicListRequest(AbstractModel):
|
|
7165
7173
|
|
7166
7174
|
def __init__(self):
|
7167
7175
|
r"""
|
7168
|
-
:param _TaskId: 任务ID
|
7176
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
7177
|
+
|
7169
7178
|
:type TaskId: str
|
7170
|
-
:param
|
7171
|
-
:type Filters: list of Filter
|
7172
|
-
:param _Offset: 查询起始位置
|
7173
|
-
:type Offset: int
|
7174
|
-
:param _Limit: 查询结果限制数量
|
7179
|
+
:param _Limit: 查询结果限制数量,默认20。
|
7175
7180
|
:type Limit: int
|
7181
|
+
:param _Offset: 查询起始位置,默认为0。
|
7182
|
+
:type Offset: int
|
7183
|
+
:param _Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
7184
|
+
:type Filters: list of Filter
|
7176
7185
|
"""
|
7177
7186
|
self._TaskId = None
|
7178
|
-
self._Filters = None
|
7179
|
-
self._Offset = None
|
7180
7187
|
self._Limit = None
|
7188
|
+
self._Offset = None
|
7189
|
+
self._Filters = None
|
7181
7190
|
|
7182
7191
|
@property
|
7183
7192
|
def TaskId(self):
|
7184
|
-
"""任务ID
|
7193
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
7194
|
+
|
7185
7195
|
:rtype: str
|
7186
7196
|
"""
|
7187
7197
|
return self._TaskId
|
@@ -7191,19 +7201,19 @@ class DescribeMigratingTopicListRequest(AbstractModel):
|
|
7191
7201
|
self._TaskId = TaskId
|
7192
7202
|
|
7193
7203
|
@property
|
7194
|
-
def
|
7195
|
-
"""
|
7196
|
-
:rtype:
|
7204
|
+
def Limit(self):
|
7205
|
+
"""查询结果限制数量,默认20。
|
7206
|
+
:rtype: int
|
7197
7207
|
"""
|
7198
|
-
return self.
|
7208
|
+
return self._Limit
|
7199
7209
|
|
7200
|
-
@
|
7201
|
-
def
|
7202
|
-
self.
|
7210
|
+
@Limit.setter
|
7211
|
+
def Limit(self, Limit):
|
7212
|
+
self._Limit = Limit
|
7203
7213
|
|
7204
7214
|
@property
|
7205
7215
|
def Offset(self):
|
7206
|
-
"""
|
7216
|
+
"""查询起始位置,默认为0。
|
7207
7217
|
:rtype: int
|
7208
7218
|
"""
|
7209
7219
|
return self._Offset
|
@@ -7213,27 +7223,27 @@ class DescribeMigratingTopicListRequest(AbstractModel):
|
|
7213
7223
|
self._Offset = Offset
|
7214
7224
|
|
7215
7225
|
@property
|
7216
|
-
def
|
7217
|
-
"""
|
7218
|
-
:rtype:
|
7226
|
+
def Filters(self):
|
7227
|
+
"""过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
7228
|
+
:rtype: list of Filter
|
7219
7229
|
"""
|
7220
|
-
return self.
|
7230
|
+
return self._Filters
|
7221
7231
|
|
7222
|
-
@
|
7223
|
-
def
|
7224
|
-
self.
|
7232
|
+
@Filters.setter
|
7233
|
+
def Filters(self, Filters):
|
7234
|
+
self._Filters = Filters
|
7225
7235
|
|
7226
7236
|
|
7227
7237
|
def _deserialize(self, params):
|
7228
7238
|
self._TaskId = params.get("TaskId")
|
7239
|
+
self._Limit = params.get("Limit")
|
7240
|
+
self._Offset = params.get("Offset")
|
7229
7241
|
if params.get("Filters") is not None:
|
7230
7242
|
self._Filters = []
|
7231
7243
|
for item in params.get("Filters"):
|
7232
7244
|
obj = Filter()
|
7233
7245
|
obj._deserialize(item)
|
7234
7246
|
self._Filters.append(obj)
|
7235
|
-
self._Offset = params.get("Offset")
|
7236
|
-
self._Limit = params.get("Limit")
|
7237
7247
|
memeber_set = set(params.keys())
|
7238
7248
|
for name, value in vars(self).items():
|
7239
7249
|
property_name = name[1:]
|
@@ -7314,11 +7324,13 @@ class DescribeMigratingTopicStatsRequest(AbstractModel):
|
|
7314
7324
|
|
7315
7325
|
def __init__(self):
|
7316
7326
|
r"""
|
7317
|
-
:param _TaskId: 任务ID
|
7327
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
7328
|
+
|
7318
7329
|
:type TaskId: str
|
7319
|
-
:param _TopicName:
|
7330
|
+
:param _TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
7331
|
+
|
7320
7332
|
:type TopicName: str
|
7321
|
-
:param _Namespace:
|
7333
|
+
:param _Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
7322
7334
|
:type Namespace: str
|
7323
7335
|
"""
|
7324
7336
|
self._TaskId = None
|
@@ -7327,7 +7339,8 @@ class DescribeMigratingTopicStatsRequest(AbstractModel):
|
|
7327
7339
|
|
7328
7340
|
@property
|
7329
7341
|
def TaskId(self):
|
7330
|
-
"""任务ID
|
7342
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
7343
|
+
|
7331
7344
|
:rtype: str
|
7332
7345
|
"""
|
7333
7346
|
return self._TaskId
|
@@ -7338,7 +7351,8 @@ class DescribeMigratingTopicStatsRequest(AbstractModel):
|
|
7338
7351
|
|
7339
7352
|
@property
|
7340
7353
|
def TopicName(self):
|
7341
|
-
"""
|
7354
|
+
"""主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
7355
|
+
|
7342
7356
|
:rtype: str
|
7343
7357
|
"""
|
7344
7358
|
return self._TopicName
|
@@ -7349,7 +7363,7 @@ class DescribeMigratingTopicStatsRequest(AbstractModel):
|
|
7349
7363
|
|
7350
7364
|
@property
|
7351
7365
|
def Namespace(self):
|
7352
|
-
"""
|
7366
|
+
"""命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
7353
7367
|
:rtype: str
|
7354
7368
|
"""
|
7355
7369
|
return self._Namespace
|
@@ -7802,6 +7816,142 @@ class DescribeRoleListResponse(AbstractModel):
|
|
7802
7816
|
self._RequestId = params.get("RequestId")
|
7803
7817
|
|
7804
7818
|
|
7819
|
+
class DescribeSmoothMigrationTaskListRequest(AbstractModel):
|
7820
|
+
"""DescribeSmoothMigrationTaskList请求参数结构体
|
7821
|
+
|
7822
|
+
"""
|
7823
|
+
|
7824
|
+
def __init__(self):
|
7825
|
+
r"""
|
7826
|
+
:param _Limit: 查询结果限制数量,默认20。
|
7827
|
+
:type Limit: int
|
7828
|
+
:param _Offset: 查询起始位置,默认为0。
|
7829
|
+
:type Offset: int
|
7830
|
+
:param _Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
7831
|
+
:type Filters: list of Filter
|
7832
|
+
"""
|
7833
|
+
self._Limit = None
|
7834
|
+
self._Offset = None
|
7835
|
+
self._Filters = None
|
7836
|
+
|
7837
|
+
@property
|
7838
|
+
def Limit(self):
|
7839
|
+
"""查询结果限制数量,默认20。
|
7840
|
+
:rtype: int
|
7841
|
+
"""
|
7842
|
+
return self._Limit
|
7843
|
+
|
7844
|
+
@Limit.setter
|
7845
|
+
def Limit(self, Limit):
|
7846
|
+
self._Limit = Limit
|
7847
|
+
|
7848
|
+
@property
|
7849
|
+
def Offset(self):
|
7850
|
+
"""查询起始位置,默认为0。
|
7851
|
+
:rtype: int
|
7852
|
+
"""
|
7853
|
+
return self._Offset
|
7854
|
+
|
7855
|
+
@Offset.setter
|
7856
|
+
def Offset(self, Offset):
|
7857
|
+
self._Offset = Offset
|
7858
|
+
|
7859
|
+
@property
|
7860
|
+
def Filters(self):
|
7861
|
+
"""过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
7862
|
+
:rtype: list of Filter
|
7863
|
+
"""
|
7864
|
+
return self._Filters
|
7865
|
+
|
7866
|
+
@Filters.setter
|
7867
|
+
def Filters(self, Filters):
|
7868
|
+
self._Filters = Filters
|
7869
|
+
|
7870
|
+
|
7871
|
+
def _deserialize(self, params):
|
7872
|
+
self._Limit = params.get("Limit")
|
7873
|
+
self._Offset = params.get("Offset")
|
7874
|
+
if params.get("Filters") is not None:
|
7875
|
+
self._Filters = []
|
7876
|
+
for item in params.get("Filters"):
|
7877
|
+
obj = Filter()
|
7878
|
+
obj._deserialize(item)
|
7879
|
+
self._Filters.append(obj)
|
7880
|
+
memeber_set = set(params.keys())
|
7881
|
+
for name, value in vars(self).items():
|
7882
|
+
property_name = name[1:]
|
7883
|
+
if property_name in memeber_set:
|
7884
|
+
memeber_set.remove(property_name)
|
7885
|
+
if len(memeber_set) > 0:
|
7886
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7887
|
+
|
7888
|
+
|
7889
|
+
|
7890
|
+
class DescribeSmoothMigrationTaskListResponse(AbstractModel):
|
7891
|
+
"""DescribeSmoothMigrationTaskList返回参数结构体
|
7892
|
+
|
7893
|
+
"""
|
7894
|
+
|
7895
|
+
def __init__(self):
|
7896
|
+
r"""
|
7897
|
+
:param _TotalCount: 查询总数
|
7898
|
+
:type TotalCount: int
|
7899
|
+
:param _Data: 任务列表
|
7900
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7901
|
+
:type Data: list of SmoothMigrationTaskItem
|
7902
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7903
|
+
:type RequestId: str
|
7904
|
+
"""
|
7905
|
+
self._TotalCount = None
|
7906
|
+
self._Data = None
|
7907
|
+
self._RequestId = None
|
7908
|
+
|
7909
|
+
@property
|
7910
|
+
def TotalCount(self):
|
7911
|
+
"""查询总数
|
7912
|
+
:rtype: int
|
7913
|
+
"""
|
7914
|
+
return self._TotalCount
|
7915
|
+
|
7916
|
+
@TotalCount.setter
|
7917
|
+
def TotalCount(self, TotalCount):
|
7918
|
+
self._TotalCount = TotalCount
|
7919
|
+
|
7920
|
+
@property
|
7921
|
+
def Data(self):
|
7922
|
+
"""任务列表
|
7923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7924
|
+
:rtype: list of SmoothMigrationTaskItem
|
7925
|
+
"""
|
7926
|
+
return self._Data
|
7927
|
+
|
7928
|
+
@Data.setter
|
7929
|
+
def Data(self, Data):
|
7930
|
+
self._Data = Data
|
7931
|
+
|
7932
|
+
@property
|
7933
|
+
def RequestId(self):
|
7934
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7935
|
+
:rtype: str
|
7936
|
+
"""
|
7937
|
+
return self._RequestId
|
7938
|
+
|
7939
|
+
@RequestId.setter
|
7940
|
+
def RequestId(self, RequestId):
|
7941
|
+
self._RequestId = RequestId
|
7942
|
+
|
7943
|
+
|
7944
|
+
def _deserialize(self, params):
|
7945
|
+
self._TotalCount = params.get("TotalCount")
|
7946
|
+
if params.get("Data") is not None:
|
7947
|
+
self._Data = []
|
7948
|
+
for item in params.get("Data"):
|
7949
|
+
obj = SmoothMigrationTaskItem()
|
7950
|
+
obj._deserialize(item)
|
7951
|
+
self._Data.append(obj)
|
7952
|
+
self._RequestId = params.get("RequestId")
|
7953
|
+
|
7954
|
+
|
7805
7955
|
class DescribeSourceClusterGroupListRequest(AbstractModel):
|
7806
7956
|
"""DescribeSourceClusterGroupList请求参数结构体
|
7807
7957
|
|
@@ -7809,23 +7959,25 @@ class DescribeSourceClusterGroupListRequest(AbstractModel):
|
|
7809
7959
|
|
7810
7960
|
def __init__(self):
|
7811
7961
|
r"""
|
7812
|
-
:param _TaskId: 任务ID
|
7962
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
7963
|
+
|
7813
7964
|
:type TaskId: str
|
7814
|
-
:param
|
7815
|
-
:type Filters: list of Filter
|
7816
|
-
:param _Offset: 查询起始位置
|
7817
|
-
:type Offset: int
|
7818
|
-
:param _Limit: 查询结果限制数量
|
7965
|
+
:param _Limit: 查询结果限制数量,默认20。
|
7819
7966
|
:type Limit: int
|
7967
|
+
:param _Offset: 查询起始位置,默认为0。
|
7968
|
+
:type Offset: int
|
7969
|
+
:param _Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
7970
|
+
:type Filters: list of Filter
|
7820
7971
|
"""
|
7821
7972
|
self._TaskId = None
|
7822
|
-
self._Filters = None
|
7823
|
-
self._Offset = None
|
7824
7973
|
self._Limit = None
|
7974
|
+
self._Offset = None
|
7975
|
+
self._Filters = None
|
7825
7976
|
|
7826
7977
|
@property
|
7827
7978
|
def TaskId(self):
|
7828
|
-
"""任务ID
|
7979
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
7980
|
+
|
7829
7981
|
:rtype: str
|
7830
7982
|
"""
|
7831
7983
|
return self._TaskId
|
@@ -7835,19 +7987,19 @@ class DescribeSourceClusterGroupListRequest(AbstractModel):
|
|
7835
7987
|
self._TaskId = TaskId
|
7836
7988
|
|
7837
7989
|
@property
|
7838
|
-
def
|
7839
|
-
"""
|
7840
|
-
:rtype:
|
7990
|
+
def Limit(self):
|
7991
|
+
"""查询结果限制数量,默认20。
|
7992
|
+
:rtype: int
|
7841
7993
|
"""
|
7842
|
-
return self.
|
7994
|
+
return self._Limit
|
7843
7995
|
|
7844
|
-
@
|
7845
|
-
def
|
7846
|
-
self.
|
7996
|
+
@Limit.setter
|
7997
|
+
def Limit(self, Limit):
|
7998
|
+
self._Limit = Limit
|
7847
7999
|
|
7848
8000
|
@property
|
7849
8001
|
def Offset(self):
|
7850
|
-
"""
|
8002
|
+
"""查询起始位置,默认为0。
|
7851
8003
|
:rtype: int
|
7852
8004
|
"""
|
7853
8005
|
return self._Offset
|
@@ -7857,27 +8009,27 @@ class DescribeSourceClusterGroupListRequest(AbstractModel):
|
|
7857
8009
|
self._Offset = Offset
|
7858
8010
|
|
7859
8011
|
@property
|
7860
|
-
def
|
7861
|
-
"""
|
7862
|
-
:rtype:
|
8012
|
+
def Filters(self):
|
8013
|
+
"""过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
8014
|
+
:rtype: list of Filter
|
7863
8015
|
"""
|
7864
|
-
return self.
|
8016
|
+
return self._Filters
|
7865
8017
|
|
7866
|
-
@
|
7867
|
-
def
|
7868
|
-
self.
|
8018
|
+
@Filters.setter
|
8019
|
+
def Filters(self, Filters):
|
8020
|
+
self._Filters = Filters
|
7869
8021
|
|
7870
8022
|
|
7871
8023
|
def _deserialize(self, params):
|
7872
8024
|
self._TaskId = params.get("TaskId")
|
8025
|
+
self._Limit = params.get("Limit")
|
8026
|
+
self._Offset = params.get("Offset")
|
7873
8027
|
if params.get("Filters") is not None:
|
7874
8028
|
self._Filters = []
|
7875
8029
|
for item in params.get("Filters"):
|
7876
8030
|
obj = Filter()
|
7877
8031
|
obj._deserialize(item)
|
7878
8032
|
self._Filters.append(obj)
|
7879
|
-
self._Offset = params.get("Offset")
|
7880
|
-
self._Limit = params.get("Limit")
|
7881
8033
|
memeber_set = set(params.keys())
|
7882
8034
|
for name, value in vars(self).items():
|
7883
8035
|
property_name = name[1:]
|
@@ -8646,13 +8798,15 @@ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
|
|
8646
8798
|
|
8647
8799
|
def __init__(self):
|
8648
8800
|
r"""
|
8649
|
-
:param _TaskId: 任务ID
|
8801
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
8802
|
+
|
8650
8803
|
:type TaskId: str
|
8651
|
-
:param _TopicName:
|
8804
|
+
:param _TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
8805
|
+
|
8652
8806
|
:type TopicName: str
|
8653
|
-
:param _IgnoreCheck:
|
8807
|
+
:param _IgnoreCheck: 必填,是否忽略当前检查
|
8654
8808
|
:type IgnoreCheck: bool
|
8655
|
-
:param _Namespace:
|
8809
|
+
:param _Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
8656
8810
|
:type Namespace: str
|
8657
8811
|
"""
|
8658
8812
|
self._TaskId = None
|
@@ -8662,7 +8816,8 @@ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
|
|
8662
8816
|
|
8663
8817
|
@property
|
8664
8818
|
def TaskId(self):
|
8665
|
-
"""任务ID
|
8819
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
8820
|
+
|
8666
8821
|
:rtype: str
|
8667
8822
|
"""
|
8668
8823
|
return self._TaskId
|
@@ -8673,7 +8828,8 @@ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
|
|
8673
8828
|
|
8674
8829
|
@property
|
8675
8830
|
def TopicName(self):
|
8676
|
-
"""
|
8831
|
+
"""主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
8832
|
+
|
8677
8833
|
:rtype: str
|
8678
8834
|
"""
|
8679
8835
|
return self._TopicName
|
@@ -8684,7 +8840,7 @@ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
|
|
8684
8840
|
|
8685
8841
|
@property
|
8686
8842
|
def IgnoreCheck(self):
|
8687
|
-
"""
|
8843
|
+
"""必填,是否忽略当前检查
|
8688
8844
|
:rtype: bool
|
8689
8845
|
"""
|
8690
8846
|
return self._IgnoreCheck
|
@@ -8695,7 +8851,7 @@ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
|
|
8695
8851
|
|
8696
8852
|
@property
|
8697
8853
|
def Namespace(self):
|
8698
|
-
"""
|
8854
|
+
"""命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
8699
8855
|
:rtype: str
|
8700
8856
|
"""
|
8701
8857
|
return self._Namespace
|
@@ -8730,7 +8886,18 @@ class DoHealthCheckOnMigratingTopicResponse(AbstractModel):
|
|
8730
8886
|
:param _Passed: 是否通过
|
8731
8887
|
:type Passed: bool
|
8732
8888
|
:param _Reason: 健康检查返回的错误信息
|
8733
|
-
NotChecked 未执行检查,
|
8889
|
+
NotChecked 未执行检查,
|
8890
|
+
Unknown 未知错误,
|
8891
|
+
TopicNotImported 主题未导入,
|
8892
|
+
TopicNotExistsInSourceCluster 主题在源集群中不存在,
|
8893
|
+
TopicNotExistsInTargetCluster 主题在目标集群中不存在,
|
8894
|
+
ConsumerConnectedOnTarget 目标集群上存在消费者连接,
|
8895
|
+
SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入,
|
8896
|
+
TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入,
|
8897
|
+
SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
|
8898
|
+
TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
|
8899
|
+
ConsumerGroupCountNotMatch 订阅组数量不一致,
|
8900
|
+
SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息。
|
8734
8901
|
注意:此字段可能返回 null,表示取不到有效值。
|
8735
8902
|
:type Reason: str
|
8736
8903
|
:param _ReasonList: 健康检查返回的错误信息列表
|
@@ -8758,7 +8925,18 @@ NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未
|
|
8758
8925
|
@property
|
8759
8926
|
def Reason(self):
|
8760
8927
|
"""健康检查返回的错误信息
|
8761
|
-
NotChecked 未执行检查,
|
8928
|
+
NotChecked 未执行检查,
|
8929
|
+
Unknown 未知错误,
|
8930
|
+
TopicNotImported 主题未导入,
|
8931
|
+
TopicNotExistsInSourceCluster 主题在源集群中不存在,
|
8932
|
+
TopicNotExistsInTargetCluster 主题在目标集群中不存在,
|
8933
|
+
ConsumerConnectedOnTarget 目标集群上存在消费者连接,
|
8934
|
+
SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入,
|
8935
|
+
TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入,
|
8936
|
+
SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
|
8937
|
+
TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
|
8938
|
+
ConsumerGroupCountNotMatch 订阅组数量不一致,
|
8939
|
+
SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息。
|
8762
8940
|
注意:此字段可能返回 null,表示取不到有效值。
|
8763
8941
|
:rtype: str
|
8764
8942
|
"""
|
@@ -9119,6 +9297,8 @@ PREPAID,包年包月
|
|
9119
9297
|
:param _ZoneIds: 所属可用区列表
|
9120
9298
|
注意:此字段可能返回 null,表示取不到有效值。
|
9121
9299
|
:type ZoneIds: list of int
|
9300
|
+
:param _EnableDeletionProtection: 是否开启删除保护
|
9301
|
+
:type EnableDeletionProtection: bool
|
9122
9302
|
"""
|
9123
9303
|
self._InstanceId = None
|
9124
9304
|
self._InstanceName = None
|
@@ -9142,6 +9322,7 @@ PREPAID,包年包月
|
|
9142
9322
|
self._InstanceItemExtraInfo = None
|
9143
9323
|
self._DestroyTime = None
|
9144
9324
|
self._ZoneIds = None
|
9325
|
+
self._EnableDeletionProtection = None
|
9145
9326
|
|
9146
9327
|
@property
|
9147
9328
|
def InstanceId(self):
|
@@ -9412,6 +9593,17 @@ PREPAID,包年包月
|
|
9412
9593
|
def ZoneIds(self, ZoneIds):
|
9413
9594
|
self._ZoneIds = ZoneIds
|
9414
9595
|
|
9596
|
+
@property
|
9597
|
+
def EnableDeletionProtection(self):
|
9598
|
+
"""是否开启删除保护
|
9599
|
+
:rtype: bool
|
9600
|
+
"""
|
9601
|
+
return self._EnableDeletionProtection
|
9602
|
+
|
9603
|
+
@EnableDeletionProtection.setter
|
9604
|
+
def EnableDeletionProtection(self, EnableDeletionProtection):
|
9605
|
+
self._EnableDeletionProtection = EnableDeletionProtection
|
9606
|
+
|
9415
9607
|
|
9416
9608
|
def _deserialize(self, params):
|
9417
9609
|
self._InstanceId = params.get("InstanceId")
|
@@ -9443,6 +9635,7 @@ PREPAID,包年包月
|
|
9443
9635
|
self._InstanceItemExtraInfo._deserialize(params.get("InstanceItemExtraInfo"))
|
9444
9636
|
self._DestroyTime = params.get("DestroyTime")
|
9445
9637
|
self._ZoneIds = params.get("ZoneIds")
|
9638
|
+
self._EnableDeletionProtection = params.get("EnableDeletionProtection")
|
9446
9639
|
memeber_set = set(params.keys())
|
9447
9640
|
for name, value in vars(self).items():
|
9448
9641
|
property_name = name[1:]
|
@@ -9460,7 +9653,8 @@ class ImportSourceClusterConsumerGroupsRequest(AbstractModel):
|
|
9460
9653
|
|
9461
9654
|
def __init__(self):
|
9462
9655
|
r"""
|
9463
|
-
:param _TaskId: 任务ID
|
9656
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
9657
|
+
|
9464
9658
|
:type TaskId: str
|
9465
9659
|
:param _GroupList: 待导入的消费组列表
|
9466
9660
|
:type GroupList: list of SourceClusterGroupConfig
|
@@ -9470,7 +9664,8 @@ class ImportSourceClusterConsumerGroupsRequest(AbstractModel):
|
|
9470
9664
|
|
9471
9665
|
@property
|
9472
9666
|
def TaskId(self):
|
9473
|
-
"""任务ID
|
9667
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
9668
|
+
|
9474
9669
|
:rtype: str
|
9475
9670
|
"""
|
9476
9671
|
return self._TaskId
|
@@ -9544,7 +9739,8 @@ class ImportSourceClusterTopicsRequest(AbstractModel):
|
|
9544
9739
|
|
9545
9740
|
def __init__(self):
|
9546
9741
|
r"""
|
9547
|
-
:param _TaskId: 任务ID
|
9742
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
9743
|
+
|
9548
9744
|
:type TaskId: str
|
9549
9745
|
:param _TopicList: 待导入的主题列表
|
9550
9746
|
:type TopicList: list of SourceClusterTopicConfig
|
@@ -9554,7 +9750,8 @@ class ImportSourceClusterTopicsRequest(AbstractModel):
|
|
9554
9750
|
|
9555
9751
|
@property
|
9556
9752
|
def TaskId(self):
|
9557
|
-
"""任务ID
|
9753
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
9754
|
+
|
9558
9755
|
:rtype: str
|
9559
9756
|
"""
|
9560
9757
|
return self._TaskId
|
@@ -12114,6 +12311,8 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12114
12311
|
:type MaxTopicNum: int
|
12115
12312
|
:param _ExtraTopicNum: 免费额度之外的主题个数
|
12116
12313
|
:type ExtraTopicNum: str
|
12314
|
+
:param _EnableDeletionProtection: 是否开启删除保护
|
12315
|
+
:type EnableDeletionProtection: bool
|
12117
12316
|
"""
|
12118
12317
|
self._InstanceId = None
|
12119
12318
|
self._Name = None
|
@@ -12125,6 +12324,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12125
12324
|
self._AclEnabled = None
|
12126
12325
|
self._MaxTopicNum = None
|
12127
12326
|
self._ExtraTopicNum = None
|
12327
|
+
self._EnableDeletionProtection = None
|
12128
12328
|
|
12129
12329
|
@property
|
12130
12330
|
def InstanceId(self):
|
@@ -12236,6 +12436,17 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12236
12436
|
def ExtraTopicNum(self, ExtraTopicNum):
|
12237
12437
|
self._ExtraTopicNum = ExtraTopicNum
|
12238
12438
|
|
12439
|
+
@property
|
12440
|
+
def EnableDeletionProtection(self):
|
12441
|
+
"""是否开启删除保护
|
12442
|
+
:rtype: bool
|
12443
|
+
"""
|
12444
|
+
return self._EnableDeletionProtection
|
12445
|
+
|
12446
|
+
@EnableDeletionProtection.setter
|
12447
|
+
def EnableDeletionProtection(self, EnableDeletionProtection):
|
12448
|
+
self._EnableDeletionProtection = EnableDeletionProtection
|
12449
|
+
|
12239
12450
|
|
12240
12451
|
def _deserialize(self, params):
|
12241
12452
|
self._InstanceId = params.get("InstanceId")
|
@@ -12248,6 +12459,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
12248
12459
|
self._AclEnabled = params.get("AclEnabled")
|
12249
12460
|
self._MaxTopicNum = params.get("MaxTopicNum")
|
12250
12461
|
self._ExtraTopicNum = params.get("ExtraTopicNum")
|
12462
|
+
self._EnableDeletionProtection = params.get("EnableDeletionProtection")
|
12251
12463
|
memeber_set = set(params.keys())
|
12252
12464
|
for name, value in vars(self).items():
|
12253
12465
|
property_name = name[1:]
|
@@ -13147,15 +13359,15 @@ class PacketStatistics(AbstractModel):
|
|
13147
13359
|
|
13148
13360
|
|
13149
13361
|
class PriceTag(AbstractModel):
|
13150
|
-
"""
|
13362
|
+
"""价格标签信息,一个完整的价格标签包含计价类别和计费项标签。
|
13151
13363
|
|
13152
13364
|
"""
|
13153
13365
|
|
13154
13366
|
def __init__(self):
|
13155
13367
|
r"""
|
13156
|
-
:param _Name:
|
13368
|
+
:param _Name: 计价名称(枚举值:tps:TPS基础价;stepTps:TPS步长)
|
13157
13369
|
:type Name: str
|
13158
|
-
:param _Step:
|
13370
|
+
:param _Step: 计费项对应的步长数
|
13159
13371
|
注意:此字段可能返回 null,表示取不到有效值。
|
13160
13372
|
:type Step: int
|
13161
13373
|
"""
|
@@ -13164,7 +13376,7 @@ class PriceTag(AbstractModel):
|
|
13164
13376
|
|
13165
13377
|
@property
|
13166
13378
|
def Name(self):
|
13167
|
-
"""
|
13379
|
+
"""计价名称(枚举值:tps:TPS基础价;stepTps:TPS步长)
|
13168
13380
|
:rtype: str
|
13169
13381
|
"""
|
13170
13382
|
return self._Name
|
@@ -13175,7 +13387,7 @@ class PriceTag(AbstractModel):
|
|
13175
13387
|
|
13176
13388
|
@property
|
13177
13389
|
def Step(self):
|
13178
|
-
"""
|
13390
|
+
"""计费项对应的步长数
|
13179
13391
|
注意:此字段可能返回 null,表示取不到有效值。
|
13180
13392
|
:rtype: int
|
13181
13393
|
"""
|
@@ -13525,11 +13737,11 @@ class RemoveMigratingTopicRequest(AbstractModel):
|
|
13525
13737
|
|
13526
13738
|
def __init__(self):
|
13527
13739
|
r"""
|
13528
|
-
:param _TaskId: 任务ID
|
13740
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
13529
13741
|
:type TaskId: str
|
13530
|
-
:param _TopicName:
|
13742
|
+
:param _TopicName: 消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
13531
13743
|
:type TopicName: str
|
13532
|
-
:param _Namespace: 命名空间,仅迁移至4.x
|
13744
|
+
:param _Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
13533
13745
|
:type Namespace: str
|
13534
13746
|
"""
|
13535
13747
|
self._TaskId = None
|
@@ -13538,7 +13750,7 @@ class RemoveMigratingTopicRequest(AbstractModel):
|
|
13538
13750
|
|
13539
13751
|
@property
|
13540
13752
|
def TaskId(self):
|
13541
|
-
"""任务ID
|
13753
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
13542
13754
|
:rtype: str
|
13543
13755
|
"""
|
13544
13756
|
return self._TaskId
|
@@ -13549,7 +13761,7 @@ class RemoveMigratingTopicRequest(AbstractModel):
|
|
13549
13761
|
|
13550
13762
|
@property
|
13551
13763
|
def TopicName(self):
|
13552
|
-
"""
|
13764
|
+
"""消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
13553
13765
|
:rtype: str
|
13554
13766
|
"""
|
13555
13767
|
return self._TopicName
|
@@ -13560,7 +13772,7 @@ class RemoveMigratingTopicRequest(AbstractModel):
|
|
13560
13772
|
|
13561
13773
|
@property
|
13562
13774
|
def Namespace(self):
|
13563
|
-
"""命名空间,仅迁移至4.x
|
13775
|
+
"""命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
13564
13776
|
:rtype: str
|
13565
13777
|
"""
|
13566
13778
|
return self._Namespace
|
@@ -14017,11 +14229,13 @@ class RollbackMigratingTopicStageRequest(AbstractModel):
|
|
14017
14229
|
|
14018
14230
|
def __init__(self):
|
14019
14231
|
r"""
|
14020
|
-
:param _TaskId: 任务ID
|
14232
|
+
:param _TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
14233
|
+
|
14021
14234
|
:type TaskId: str
|
14022
|
-
:param _TopicName:
|
14235
|
+
:param _TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
14236
|
+
|
14023
14237
|
:type TopicName: str
|
14024
|
-
:param _Namespace:
|
14238
|
+
:param _Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
14025
14239
|
:type Namespace: str
|
14026
14240
|
"""
|
14027
14241
|
self._TaskId = None
|
@@ -14030,7 +14244,8 @@ class RollbackMigratingTopicStageRequest(AbstractModel):
|
|
14030
14244
|
|
14031
14245
|
@property
|
14032
14246
|
def TaskId(self):
|
14033
|
-
"""任务ID
|
14247
|
+
"""任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
14248
|
+
|
14034
14249
|
:rtype: str
|
14035
14250
|
"""
|
14036
14251
|
return self._TaskId
|
@@ -14041,7 +14256,8 @@ class RollbackMigratingTopicStageRequest(AbstractModel):
|
|
14041
14256
|
|
14042
14257
|
@property
|
14043
14258
|
def TopicName(self):
|
14044
|
-
"""
|
14259
|
+
"""主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
14260
|
+
|
14045
14261
|
:rtype: str
|
14046
14262
|
"""
|
14047
14263
|
return self._TopicName
|
@@ -14052,7 +14268,7 @@ class RollbackMigratingTopicStageRequest(AbstractModel):
|
|
14052
14268
|
|
14053
14269
|
@property
|
14054
14270
|
def Namespace(self):
|
14055
|
-
"""
|
14271
|
+
"""命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
14056
14272
|
:rtype: str
|
14057
14273
|
"""
|
14058
14274
|
return self._Namespace
|
@@ -14104,6 +14320,187 @@ class RollbackMigratingTopicStageResponse(AbstractModel):
|
|
14104
14320
|
self._RequestId = params.get("RequestId")
|
14105
14321
|
|
14106
14322
|
|
14323
|
+
class SmoothMigrationTaskItem(AbstractModel):
|
14324
|
+
"""平滑迁移任务
|
14325
|
+
|
14326
|
+
"""
|
14327
|
+
|
14328
|
+
def __init__(self):
|
14329
|
+
r"""
|
14330
|
+
:param _TaskId: 任务ID
|
14331
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14332
|
+
:type TaskId: str
|
14333
|
+
:param _TaskName: 任务名称
|
14334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14335
|
+
:type TaskName: str
|
14336
|
+
:param _SourceClusterName: 源集群名称
|
14337
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14338
|
+
:type SourceClusterName: str
|
14339
|
+
:param _InstanceId: 目标集群实例ID
|
14340
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14341
|
+
:type InstanceId: str
|
14342
|
+
:param _ConnectionType: 网络连接类型,
|
14343
|
+
PUBLIC 公网
|
14344
|
+
VPC 私有网络
|
14345
|
+
OTHER 其他
|
14346
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14347
|
+
:type ConnectionType: str
|
14348
|
+
:param _SourceNameServer: 源集群NameServer地址
|
14349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14350
|
+
:type SourceNameServer: str
|
14351
|
+
:param _TaskStatus: 任务状态:
|
14352
|
+
Configuration 迁移配置,
|
14353
|
+
SourceConnecting 连接源集群中,
|
14354
|
+
MetaDataImport 元数据导入,
|
14355
|
+
EndpointSetup 切换接入点,
|
14356
|
+
ServiceMigration 切流中,
|
14357
|
+
Completed 已完成,
|
14358
|
+
Cancelled 已取消
|
14359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14360
|
+
:type TaskStatus: str
|
14361
|
+
:param _InstanceVersion: 目标集群实例版本,
|
14362
|
+
4 表示4.x版本
|
14363
|
+
5 表示5.x版本
|
14364
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14365
|
+
:type InstanceVersion: str
|
14366
|
+
"""
|
14367
|
+
self._TaskId = None
|
14368
|
+
self._TaskName = None
|
14369
|
+
self._SourceClusterName = None
|
14370
|
+
self._InstanceId = None
|
14371
|
+
self._ConnectionType = None
|
14372
|
+
self._SourceNameServer = None
|
14373
|
+
self._TaskStatus = None
|
14374
|
+
self._InstanceVersion = None
|
14375
|
+
|
14376
|
+
@property
|
14377
|
+
def TaskId(self):
|
14378
|
+
"""任务ID
|
14379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14380
|
+
:rtype: str
|
14381
|
+
"""
|
14382
|
+
return self._TaskId
|
14383
|
+
|
14384
|
+
@TaskId.setter
|
14385
|
+
def TaskId(self, TaskId):
|
14386
|
+
self._TaskId = TaskId
|
14387
|
+
|
14388
|
+
@property
|
14389
|
+
def TaskName(self):
|
14390
|
+
"""任务名称
|
14391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14392
|
+
:rtype: str
|
14393
|
+
"""
|
14394
|
+
return self._TaskName
|
14395
|
+
|
14396
|
+
@TaskName.setter
|
14397
|
+
def TaskName(self, TaskName):
|
14398
|
+
self._TaskName = TaskName
|
14399
|
+
|
14400
|
+
@property
|
14401
|
+
def SourceClusterName(self):
|
14402
|
+
"""源集群名称
|
14403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14404
|
+
:rtype: str
|
14405
|
+
"""
|
14406
|
+
return self._SourceClusterName
|
14407
|
+
|
14408
|
+
@SourceClusterName.setter
|
14409
|
+
def SourceClusterName(self, SourceClusterName):
|
14410
|
+
self._SourceClusterName = SourceClusterName
|
14411
|
+
|
14412
|
+
@property
|
14413
|
+
def InstanceId(self):
|
14414
|
+
"""目标集群实例ID
|
14415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14416
|
+
:rtype: str
|
14417
|
+
"""
|
14418
|
+
return self._InstanceId
|
14419
|
+
|
14420
|
+
@InstanceId.setter
|
14421
|
+
def InstanceId(self, InstanceId):
|
14422
|
+
self._InstanceId = InstanceId
|
14423
|
+
|
14424
|
+
@property
|
14425
|
+
def ConnectionType(self):
|
14426
|
+
"""网络连接类型,
|
14427
|
+
PUBLIC 公网
|
14428
|
+
VPC 私有网络
|
14429
|
+
OTHER 其他
|
14430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14431
|
+
:rtype: str
|
14432
|
+
"""
|
14433
|
+
return self._ConnectionType
|
14434
|
+
|
14435
|
+
@ConnectionType.setter
|
14436
|
+
def ConnectionType(self, ConnectionType):
|
14437
|
+
self._ConnectionType = ConnectionType
|
14438
|
+
|
14439
|
+
@property
|
14440
|
+
def SourceNameServer(self):
|
14441
|
+
"""源集群NameServer地址
|
14442
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14443
|
+
:rtype: str
|
14444
|
+
"""
|
14445
|
+
return self._SourceNameServer
|
14446
|
+
|
14447
|
+
@SourceNameServer.setter
|
14448
|
+
def SourceNameServer(self, SourceNameServer):
|
14449
|
+
self._SourceNameServer = SourceNameServer
|
14450
|
+
|
14451
|
+
@property
|
14452
|
+
def TaskStatus(self):
|
14453
|
+
"""任务状态:
|
14454
|
+
Configuration 迁移配置,
|
14455
|
+
SourceConnecting 连接源集群中,
|
14456
|
+
MetaDataImport 元数据导入,
|
14457
|
+
EndpointSetup 切换接入点,
|
14458
|
+
ServiceMigration 切流中,
|
14459
|
+
Completed 已完成,
|
14460
|
+
Cancelled 已取消
|
14461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14462
|
+
:rtype: str
|
14463
|
+
"""
|
14464
|
+
return self._TaskStatus
|
14465
|
+
|
14466
|
+
@TaskStatus.setter
|
14467
|
+
def TaskStatus(self, TaskStatus):
|
14468
|
+
self._TaskStatus = TaskStatus
|
14469
|
+
|
14470
|
+
@property
|
14471
|
+
def InstanceVersion(self):
|
14472
|
+
"""目标集群实例版本,
|
14473
|
+
4 表示4.x版本
|
14474
|
+
5 表示5.x版本
|
14475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14476
|
+
:rtype: str
|
14477
|
+
"""
|
14478
|
+
return self._InstanceVersion
|
14479
|
+
|
14480
|
+
@InstanceVersion.setter
|
14481
|
+
def InstanceVersion(self, InstanceVersion):
|
14482
|
+
self._InstanceVersion = InstanceVersion
|
14483
|
+
|
14484
|
+
|
14485
|
+
def _deserialize(self, params):
|
14486
|
+
self._TaskId = params.get("TaskId")
|
14487
|
+
self._TaskName = params.get("TaskName")
|
14488
|
+
self._SourceClusterName = params.get("SourceClusterName")
|
14489
|
+
self._InstanceId = params.get("InstanceId")
|
14490
|
+
self._ConnectionType = params.get("ConnectionType")
|
14491
|
+
self._SourceNameServer = params.get("SourceNameServer")
|
14492
|
+
self._TaskStatus = params.get("TaskStatus")
|
14493
|
+
self._InstanceVersion = params.get("InstanceVersion")
|
14494
|
+
memeber_set = set(params.keys())
|
14495
|
+
for name, value in vars(self).items():
|
14496
|
+
property_name = name[1:]
|
14497
|
+
if property_name in memeber_set:
|
14498
|
+
memeber_set.remove(property_name)
|
14499
|
+
if len(memeber_set) > 0:
|
14500
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14501
|
+
|
14502
|
+
|
14503
|
+
|
14107
14504
|
class SourceClusterGroupConfig(AbstractModel):
|
14108
14505
|
"""消费组配置信息
|
14109
14506
|
|
@@ -14111,7 +14508,7 @@ class SourceClusterGroupConfig(AbstractModel):
|
|
14111
14508
|
|
14112
14509
|
def __init__(self):
|
14113
14510
|
r"""
|
14114
|
-
:param _GroupName:
|
14511
|
+
:param _GroupName: 消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)数据中获取。
|
14115
14512
|
注意:此字段可能返回 null,表示取不到有效值。
|
14116
14513
|
:type GroupName: str
|
14117
14514
|
:param _Remark: 备注信息
|
@@ -14128,6 +14525,8 @@ Unknown 未知
|
|
14128
14525
|
Success 成功
|
14129
14526
|
Failure 失败
|
14130
14527
|
AlreadyExists 已存在
|
14528
|
+
|
14529
|
+
仅作为出参时使用
|
14131
14530
|
注意:此字段可能返回 null,表示取不到有效值。
|
14132
14531
|
:type ImportStatus: str
|
14133
14532
|
:param _NamespaceV4: 4.x的命名空间,出参使用
|
@@ -14155,7 +14554,7 @@ AlreadyExists 已存在
|
|
14155
14554
|
|
14156
14555
|
@property
|
14157
14556
|
def GroupName(self):
|
14158
|
-
"""
|
14557
|
+
"""消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)数据中获取。
|
14159
14558
|
注意:此字段可能返回 null,表示取不到有效值。
|
14160
14559
|
:rtype: str
|
14161
14560
|
"""
|
@@ -14208,6 +14607,8 @@ Unknown 未知
|
|
14208
14607
|
Success 成功
|
14209
14608
|
Failure 失败
|
14210
14609
|
AlreadyExists 已存在
|
14610
|
+
|
14611
|
+
仅作为出参时使用
|
14211
14612
|
注意:此字段可能返回 null,表示取不到有效值。
|
14212
14613
|
:rtype: str
|
14213
14614
|
"""
|
@@ -14293,7 +14694,7 @@ class SourceClusterTopicConfig(AbstractModel):
|
|
14293
14694
|
|
14294
14695
|
def __init__(self):
|
14295
14696
|
r"""
|
14296
|
-
:param _TopicName:
|
14697
|
+
:param _TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
14297
14698
|
:type TopicName: str
|
14298
14699
|
:param _TopicType: 主题类型,
|
14299
14700
|
5.x版本
|
@@ -14323,6 +14724,8 @@ Unknown 未知,
|
|
14323
14724
|
AlreadyExists 已存在,
|
14324
14725
|
Success 成功,
|
14325
14726
|
Failure 失败
|
14727
|
+
|
14728
|
+
仅作为出参可用
|
14326
14729
|
:type ImportStatus: str
|
14327
14730
|
:param _NamespaceV4: 4.x的命名空间,出参使用
|
14328
14731
|
:type NamespaceV4: str
|
@@ -14344,7 +14747,7 @@ Failure 失败
|
|
14344
14747
|
|
14345
14748
|
@property
|
14346
14749
|
def TopicName(self):
|
14347
|
-
"""
|
14750
|
+
"""主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
14348
14751
|
:rtype: str
|
14349
14752
|
"""
|
14350
14753
|
return self._TopicName
|
@@ -14428,6 +14831,8 @@ Unknown 未知,
|
|
14428
14831
|
AlreadyExists 已存在,
|
14429
14832
|
Success 成功,
|
14430
14833
|
Failure 失败
|
14834
|
+
|
14835
|
+
仅作为出参可用
|
14431
14836
|
:rtype: str
|
14432
14837
|
"""
|
14433
14838
|
return self._ImportStatus
|