tencentcloud-sdk-python-ckafka 3.1.1__tar.gz → 3.1.4__tar.gz
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_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/setup.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud/ckafka/v20190819/ckafka_client_async.py +36 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud/ckafka/v20190819/models.py +399 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ckafka-3.1.4/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ckafka-3.1.1/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/README.rst +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud/ckafka/__init__.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.1 → tencentcloud_sdk_python_ckafka-3.1.4}/tencentcloud_sdk_python_ckafka.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ckafka
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.4
|
|
4
4
|
Summary: Tencent Cloud Ckafka SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ckafka',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.4,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ckafka SDK for Python',
|
|
@@ -670,6 +670,29 @@ class CkafkaClient(AbstractClient):
|
|
|
670
670
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
671
671
|
|
|
672
672
|
|
|
673
|
+
def DeleteGroupSubscribeTopic(self, request):
|
|
674
|
+
r"""删除消费分组订阅的topic(消费分组必须是Empty 状态)
|
|
675
|
+
|
|
676
|
+
:param request: Request instance for DeleteGroupSubscribeTopic.
|
|
677
|
+
:type request: :class:`tencentcloud.ckafka.v20190819.models.DeleteGroupSubscribeTopicRequest`
|
|
678
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.DeleteGroupSubscribeTopicResponse`
|
|
679
|
+
|
|
680
|
+
"""
|
|
681
|
+
try:
|
|
682
|
+
params = request._serialize()
|
|
683
|
+
headers = request.headers
|
|
684
|
+
body = self.call("DeleteGroupSubscribeTopic", params, headers=headers)
|
|
685
|
+
response = json.loads(body)
|
|
686
|
+
model = models.DeleteGroupSubscribeTopicResponse()
|
|
687
|
+
model._deserialize(response["Response"])
|
|
688
|
+
return model
|
|
689
|
+
except Exception as e:
|
|
690
|
+
if isinstance(e, TencentCloudSDKException):
|
|
691
|
+
raise
|
|
692
|
+
else:
|
|
693
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
694
|
+
|
|
695
|
+
|
|
673
696
|
def DeleteInstancePost(self, request):
|
|
674
697
|
r"""删除后付费实例,通过调用API删除不会对连接器和任务进行关联预检查,直接进行实例销毁。
|
|
675
698
|
|
|
@@ -1268,6 +1291,29 @@ class CkafkaClient(AbstractClient):
|
|
|
1268
1291
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1269
1292
|
|
|
1270
1293
|
|
|
1294
|
+
def DescribeModifyType(self, request):
|
|
1295
|
+
r"""查询实例变配类型
|
|
1296
|
+
|
|
1297
|
+
:param request: Request instance for DescribeModifyType.
|
|
1298
|
+
:type request: :class:`tencentcloud.ckafka.v20190819.models.DescribeModifyTypeRequest`
|
|
1299
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.DescribeModifyTypeResponse`
|
|
1300
|
+
|
|
1301
|
+
"""
|
|
1302
|
+
try:
|
|
1303
|
+
params = request._serialize()
|
|
1304
|
+
headers = request.headers
|
|
1305
|
+
body = self.call("DescribeModifyType", params, headers=headers)
|
|
1306
|
+
response = json.loads(body)
|
|
1307
|
+
model = models.DescribeModifyTypeResponse()
|
|
1308
|
+
model._deserialize(response["Response"])
|
|
1309
|
+
return model
|
|
1310
|
+
except Exception as e:
|
|
1311
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1312
|
+
raise
|
|
1313
|
+
else:
|
|
1314
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1315
|
+
|
|
1316
|
+
|
|
1271
1317
|
def DescribePrometheus(self, request):
|
|
1272
1318
|
r"""获取实例Prometheus信息
|
|
1273
1319
|
|
|
@@ -529,6 +529,24 @@ class CkafkaClient(AbstractClient):
|
|
|
529
529
|
|
|
530
530
|
return await self.call_and_deserialize(**kwargs)
|
|
531
531
|
|
|
532
|
+
async def DeleteGroupSubscribeTopic(
|
|
533
|
+
self,
|
|
534
|
+
request: models.DeleteGroupSubscribeTopicRequest,
|
|
535
|
+
opts: Dict = None,
|
|
536
|
+
) -> models.DeleteGroupSubscribeTopicResponse:
|
|
537
|
+
"""
|
|
538
|
+
删除消费分组订阅的topic(消费分组必须是Empty 状态)
|
|
539
|
+
"""
|
|
540
|
+
|
|
541
|
+
kwargs = {}
|
|
542
|
+
kwargs["action"] = "DeleteGroupSubscribeTopic"
|
|
543
|
+
kwargs["params"] = request._serialize()
|
|
544
|
+
kwargs["resp_cls"] = models.DeleteGroupSubscribeTopicResponse
|
|
545
|
+
kwargs["headers"] = request.headers
|
|
546
|
+
kwargs["opts"] = opts or {}
|
|
547
|
+
|
|
548
|
+
return await self.call_and_deserialize(**kwargs)
|
|
549
|
+
|
|
532
550
|
async def DeleteInstancePost(
|
|
533
551
|
self,
|
|
534
552
|
request: models.DeleteInstancePostRequest,
|
|
@@ -997,6 +1015,24 @@ class CkafkaClient(AbstractClient):
|
|
|
997
1015
|
|
|
998
1016
|
return await self.call_and_deserialize(**kwargs)
|
|
999
1017
|
|
|
1018
|
+
async def DescribeModifyType(
|
|
1019
|
+
self,
|
|
1020
|
+
request: models.DescribeModifyTypeRequest,
|
|
1021
|
+
opts: Dict = None,
|
|
1022
|
+
) -> models.DescribeModifyTypeResponse:
|
|
1023
|
+
"""
|
|
1024
|
+
查询实例变配类型
|
|
1025
|
+
"""
|
|
1026
|
+
|
|
1027
|
+
kwargs = {}
|
|
1028
|
+
kwargs["action"] = "DescribeModifyType"
|
|
1029
|
+
kwargs["params"] = request._serialize()
|
|
1030
|
+
kwargs["resp_cls"] = models.DescribeModifyTypeResponse
|
|
1031
|
+
kwargs["headers"] = request.headers
|
|
1032
|
+
kwargs["opts"] = opts or {}
|
|
1033
|
+
|
|
1034
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1035
|
+
|
|
1000
1036
|
async def DescribePrometheus(
|
|
1001
1037
|
self,
|
|
1002
1038
|
request: models.DescribePrometheusRequest,
|
|
@@ -101,6 +101,9 @@ RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
|
101
101
|
# Broker 磁盘资源异常
|
|
102
102
|
RESOURCEUNAVAILABLE_KAFKASTORAGEERROR = 'ResourceUnavailable.KafkaStorageError'
|
|
103
103
|
|
|
104
|
+
# 资源售罄。
|
|
105
|
+
RESOURCESSOLDOUT = 'ResourcesSoldOut'
|
|
106
|
+
|
|
104
107
|
# 未授权操作。
|
|
105
108
|
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
106
109
|
|
|
@@ -9245,6 +9245,117 @@ class DeleteGroupResponse(AbstractModel):
|
|
|
9245
9245
|
self._RequestId = params.get("RequestId")
|
|
9246
9246
|
|
|
9247
9247
|
|
|
9248
|
+
class DeleteGroupSubscribeTopicRequest(AbstractModel):
|
|
9249
|
+
r"""DeleteGroupSubscribeTopic请求参数结构体
|
|
9250
|
+
|
|
9251
|
+
"""
|
|
9252
|
+
|
|
9253
|
+
def __init__(self):
|
|
9254
|
+
r"""
|
|
9255
|
+
:param _InstanceId: ckafka集群实例Id
|
|
9256
|
+
:type InstanceId: str
|
|
9257
|
+
:param _Group: 消费分组名称
|
|
9258
|
+
:type Group: str
|
|
9259
|
+
:param _Topic: 主题名
|
|
9260
|
+
:type Topic: str
|
|
9261
|
+
"""
|
|
9262
|
+
self._InstanceId = None
|
|
9263
|
+
self._Group = None
|
|
9264
|
+
self._Topic = None
|
|
9265
|
+
|
|
9266
|
+
@property
|
|
9267
|
+
def InstanceId(self):
|
|
9268
|
+
r"""ckafka集群实例Id
|
|
9269
|
+
:rtype: str
|
|
9270
|
+
"""
|
|
9271
|
+
return self._InstanceId
|
|
9272
|
+
|
|
9273
|
+
@InstanceId.setter
|
|
9274
|
+
def InstanceId(self, InstanceId):
|
|
9275
|
+
self._InstanceId = InstanceId
|
|
9276
|
+
|
|
9277
|
+
@property
|
|
9278
|
+
def Group(self):
|
|
9279
|
+
r"""消费分组名称
|
|
9280
|
+
:rtype: str
|
|
9281
|
+
"""
|
|
9282
|
+
return self._Group
|
|
9283
|
+
|
|
9284
|
+
@Group.setter
|
|
9285
|
+
def Group(self, Group):
|
|
9286
|
+
self._Group = Group
|
|
9287
|
+
|
|
9288
|
+
@property
|
|
9289
|
+
def Topic(self):
|
|
9290
|
+
r"""主题名
|
|
9291
|
+
:rtype: str
|
|
9292
|
+
"""
|
|
9293
|
+
return self._Topic
|
|
9294
|
+
|
|
9295
|
+
@Topic.setter
|
|
9296
|
+
def Topic(self, Topic):
|
|
9297
|
+
self._Topic = Topic
|
|
9298
|
+
|
|
9299
|
+
|
|
9300
|
+
def _deserialize(self, params):
|
|
9301
|
+
self._InstanceId = params.get("InstanceId")
|
|
9302
|
+
self._Group = params.get("Group")
|
|
9303
|
+
self._Topic = params.get("Topic")
|
|
9304
|
+
memeber_set = set(params.keys())
|
|
9305
|
+
for name, value in vars(self).items():
|
|
9306
|
+
property_name = name[1:]
|
|
9307
|
+
if property_name in memeber_set:
|
|
9308
|
+
memeber_set.remove(property_name)
|
|
9309
|
+
if len(memeber_set) > 0:
|
|
9310
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9311
|
+
|
|
9312
|
+
|
|
9313
|
+
|
|
9314
|
+
class DeleteGroupSubscribeTopicResponse(AbstractModel):
|
|
9315
|
+
r"""DeleteGroupSubscribeTopic返回参数结构体
|
|
9316
|
+
|
|
9317
|
+
"""
|
|
9318
|
+
|
|
9319
|
+
def __init__(self):
|
|
9320
|
+
r"""
|
|
9321
|
+
:param _Result: 返回结果
|
|
9322
|
+
:type Result: :class:`tencentcloud.ckafka.v20190819.models.JgwOperateResponse`
|
|
9323
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9324
|
+
:type RequestId: str
|
|
9325
|
+
"""
|
|
9326
|
+
self._Result = None
|
|
9327
|
+
self._RequestId = None
|
|
9328
|
+
|
|
9329
|
+
@property
|
|
9330
|
+
def Result(self):
|
|
9331
|
+
r"""返回结果
|
|
9332
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.JgwOperateResponse`
|
|
9333
|
+
"""
|
|
9334
|
+
return self._Result
|
|
9335
|
+
|
|
9336
|
+
@Result.setter
|
|
9337
|
+
def Result(self, Result):
|
|
9338
|
+
self._Result = Result
|
|
9339
|
+
|
|
9340
|
+
@property
|
|
9341
|
+
def RequestId(self):
|
|
9342
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9343
|
+
:rtype: str
|
|
9344
|
+
"""
|
|
9345
|
+
return self._RequestId
|
|
9346
|
+
|
|
9347
|
+
@RequestId.setter
|
|
9348
|
+
def RequestId(self, RequestId):
|
|
9349
|
+
self._RequestId = RequestId
|
|
9350
|
+
|
|
9351
|
+
|
|
9352
|
+
def _deserialize(self, params):
|
|
9353
|
+
if params.get("Result") is not None:
|
|
9354
|
+
self._Result = JgwOperateResponse()
|
|
9355
|
+
self._Result._deserialize(params.get("Result"))
|
|
9356
|
+
self._RequestId = params.get("RequestId")
|
|
9357
|
+
|
|
9358
|
+
|
|
9248
9359
|
class DeleteInstancePostRequest(AbstractModel):
|
|
9249
9360
|
r"""DeleteInstancePost请求参数结构体
|
|
9250
9361
|
|
|
@@ -9915,6 +10026,108 @@ class DeleteUserResponse(AbstractModel):
|
|
|
9915
10026
|
self._RequestId = params.get("RequestId")
|
|
9916
10027
|
|
|
9917
10028
|
|
|
10029
|
+
class DescModifyType(AbstractModel):
|
|
10030
|
+
r"""变配类型查询出参
|
|
10031
|
+
|
|
10032
|
+
"""
|
|
10033
|
+
|
|
10034
|
+
def __init__(self):
|
|
10035
|
+
r"""
|
|
10036
|
+
:param _ModifyType: 变配类型
|
|
10037
|
+
:type ModifyType: int
|
|
10038
|
+
:param _MigrateFlag: 是否迁移标志
|
|
10039
|
+
:type MigrateFlag: bool
|
|
10040
|
+
:param _MigrateCostTime: 迁移预计耗时(稳定模式)秒
|
|
10041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10042
|
+
:type MigrateCostTime: int
|
|
10043
|
+
:param _UpgradeStrategy: 升配模式(1:稳定模式,2:高速模式)
|
|
10044
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10045
|
+
:type UpgradeStrategy: int
|
|
10046
|
+
:param _MigrateCostTimeHighSpeed: 迁移预计耗时(高速模式)秒
|
|
10047
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10048
|
+
:type MigrateCostTimeHighSpeed: int
|
|
10049
|
+
"""
|
|
10050
|
+
self._ModifyType = None
|
|
10051
|
+
self._MigrateFlag = None
|
|
10052
|
+
self._MigrateCostTime = None
|
|
10053
|
+
self._UpgradeStrategy = None
|
|
10054
|
+
self._MigrateCostTimeHighSpeed = None
|
|
10055
|
+
|
|
10056
|
+
@property
|
|
10057
|
+
def ModifyType(self):
|
|
10058
|
+
r"""变配类型
|
|
10059
|
+
:rtype: int
|
|
10060
|
+
"""
|
|
10061
|
+
return self._ModifyType
|
|
10062
|
+
|
|
10063
|
+
@ModifyType.setter
|
|
10064
|
+
def ModifyType(self, ModifyType):
|
|
10065
|
+
self._ModifyType = ModifyType
|
|
10066
|
+
|
|
10067
|
+
@property
|
|
10068
|
+
def MigrateFlag(self):
|
|
10069
|
+
r"""是否迁移标志
|
|
10070
|
+
:rtype: bool
|
|
10071
|
+
"""
|
|
10072
|
+
return self._MigrateFlag
|
|
10073
|
+
|
|
10074
|
+
@MigrateFlag.setter
|
|
10075
|
+
def MigrateFlag(self, MigrateFlag):
|
|
10076
|
+
self._MigrateFlag = MigrateFlag
|
|
10077
|
+
|
|
10078
|
+
@property
|
|
10079
|
+
def MigrateCostTime(self):
|
|
10080
|
+
r"""迁移预计耗时(稳定模式)秒
|
|
10081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10082
|
+
:rtype: int
|
|
10083
|
+
"""
|
|
10084
|
+
return self._MigrateCostTime
|
|
10085
|
+
|
|
10086
|
+
@MigrateCostTime.setter
|
|
10087
|
+
def MigrateCostTime(self, MigrateCostTime):
|
|
10088
|
+
self._MigrateCostTime = MigrateCostTime
|
|
10089
|
+
|
|
10090
|
+
@property
|
|
10091
|
+
def UpgradeStrategy(self):
|
|
10092
|
+
r"""升配模式(1:稳定模式,2:高速模式)
|
|
10093
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10094
|
+
:rtype: int
|
|
10095
|
+
"""
|
|
10096
|
+
return self._UpgradeStrategy
|
|
10097
|
+
|
|
10098
|
+
@UpgradeStrategy.setter
|
|
10099
|
+
def UpgradeStrategy(self, UpgradeStrategy):
|
|
10100
|
+
self._UpgradeStrategy = UpgradeStrategy
|
|
10101
|
+
|
|
10102
|
+
@property
|
|
10103
|
+
def MigrateCostTimeHighSpeed(self):
|
|
10104
|
+
r"""迁移预计耗时(高速模式)秒
|
|
10105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10106
|
+
:rtype: int
|
|
10107
|
+
"""
|
|
10108
|
+
return self._MigrateCostTimeHighSpeed
|
|
10109
|
+
|
|
10110
|
+
@MigrateCostTimeHighSpeed.setter
|
|
10111
|
+
def MigrateCostTimeHighSpeed(self, MigrateCostTimeHighSpeed):
|
|
10112
|
+
self._MigrateCostTimeHighSpeed = MigrateCostTimeHighSpeed
|
|
10113
|
+
|
|
10114
|
+
|
|
10115
|
+
def _deserialize(self, params):
|
|
10116
|
+
self._ModifyType = params.get("ModifyType")
|
|
10117
|
+
self._MigrateFlag = params.get("MigrateFlag")
|
|
10118
|
+
self._MigrateCostTime = params.get("MigrateCostTime")
|
|
10119
|
+
self._UpgradeStrategy = params.get("UpgradeStrategy")
|
|
10120
|
+
self._MigrateCostTimeHighSpeed = params.get("MigrateCostTimeHighSpeed")
|
|
10121
|
+
memeber_set = set(params.keys())
|
|
10122
|
+
for name, value in vars(self).items():
|
|
10123
|
+
property_name = name[1:]
|
|
10124
|
+
if property_name in memeber_set:
|
|
10125
|
+
memeber_set.remove(property_name)
|
|
10126
|
+
if len(memeber_set) > 0:
|
|
10127
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10128
|
+
|
|
10129
|
+
|
|
10130
|
+
|
|
9918
10131
|
class DescribeACLRequest(AbstractModel):
|
|
9919
10132
|
r"""DescribeACL请求参数结构体
|
|
9920
10133
|
|
|
@@ -13861,6 +14074,192 @@ class DescribeInstancesResponse(AbstractModel):
|
|
|
13861
14074
|
self._RequestId = params.get("RequestId")
|
|
13862
14075
|
|
|
13863
14076
|
|
|
14077
|
+
class DescribeModifyTypeRequest(AbstractModel):
|
|
14078
|
+
r"""DescribeModifyType请求参数结构体
|
|
14079
|
+
|
|
14080
|
+
"""
|
|
14081
|
+
|
|
14082
|
+
def __init__(self):
|
|
14083
|
+
r"""
|
|
14084
|
+
:param _InstanceId: ckafka集群实例Id
|
|
14085
|
+
:type InstanceId: str
|
|
14086
|
+
:param _BandWidth: 升配后的带宽,单位mb
|
|
14087
|
+
:type BandWidth: int
|
|
14088
|
+
:param _DiskSize: 升配后的磁盘,单位G
|
|
14089
|
+
:type DiskSize: int
|
|
14090
|
+
:param _DiskType: 磁盘类型,例如 CLOUD_PREMIUM
|
|
14091
|
+
:type DiskType: str
|
|
14092
|
+
:param _Partition: 分区数量
|
|
14093
|
+
:type Partition: int
|
|
14094
|
+
:param _Topic: topic数量
|
|
14095
|
+
:type Topic: int
|
|
14096
|
+
:param _Type: 实例类型例如 sp_ckafka_profession
|
|
14097
|
+
:type Type: str
|
|
14098
|
+
:param _ModifyEntry: 变配入口
|
|
14099
|
+
:type ModifyEntry: str
|
|
14100
|
+
"""
|
|
14101
|
+
self._InstanceId = None
|
|
14102
|
+
self._BandWidth = None
|
|
14103
|
+
self._DiskSize = None
|
|
14104
|
+
self._DiskType = None
|
|
14105
|
+
self._Partition = None
|
|
14106
|
+
self._Topic = None
|
|
14107
|
+
self._Type = None
|
|
14108
|
+
self._ModifyEntry = None
|
|
14109
|
+
|
|
14110
|
+
@property
|
|
14111
|
+
def InstanceId(self):
|
|
14112
|
+
r"""ckafka集群实例Id
|
|
14113
|
+
:rtype: str
|
|
14114
|
+
"""
|
|
14115
|
+
return self._InstanceId
|
|
14116
|
+
|
|
14117
|
+
@InstanceId.setter
|
|
14118
|
+
def InstanceId(self, InstanceId):
|
|
14119
|
+
self._InstanceId = InstanceId
|
|
14120
|
+
|
|
14121
|
+
@property
|
|
14122
|
+
def BandWidth(self):
|
|
14123
|
+
r"""升配后的带宽,单位mb
|
|
14124
|
+
:rtype: int
|
|
14125
|
+
"""
|
|
14126
|
+
return self._BandWidth
|
|
14127
|
+
|
|
14128
|
+
@BandWidth.setter
|
|
14129
|
+
def BandWidth(self, BandWidth):
|
|
14130
|
+
self._BandWidth = BandWidth
|
|
14131
|
+
|
|
14132
|
+
@property
|
|
14133
|
+
def DiskSize(self):
|
|
14134
|
+
r"""升配后的磁盘,单位G
|
|
14135
|
+
:rtype: int
|
|
14136
|
+
"""
|
|
14137
|
+
return self._DiskSize
|
|
14138
|
+
|
|
14139
|
+
@DiskSize.setter
|
|
14140
|
+
def DiskSize(self, DiskSize):
|
|
14141
|
+
self._DiskSize = DiskSize
|
|
14142
|
+
|
|
14143
|
+
@property
|
|
14144
|
+
def DiskType(self):
|
|
14145
|
+
r"""磁盘类型,例如 CLOUD_PREMIUM
|
|
14146
|
+
:rtype: str
|
|
14147
|
+
"""
|
|
14148
|
+
return self._DiskType
|
|
14149
|
+
|
|
14150
|
+
@DiskType.setter
|
|
14151
|
+
def DiskType(self, DiskType):
|
|
14152
|
+
self._DiskType = DiskType
|
|
14153
|
+
|
|
14154
|
+
@property
|
|
14155
|
+
def Partition(self):
|
|
14156
|
+
r"""分区数量
|
|
14157
|
+
:rtype: int
|
|
14158
|
+
"""
|
|
14159
|
+
return self._Partition
|
|
14160
|
+
|
|
14161
|
+
@Partition.setter
|
|
14162
|
+
def Partition(self, Partition):
|
|
14163
|
+
self._Partition = Partition
|
|
14164
|
+
|
|
14165
|
+
@property
|
|
14166
|
+
def Topic(self):
|
|
14167
|
+
r"""topic数量
|
|
14168
|
+
:rtype: int
|
|
14169
|
+
"""
|
|
14170
|
+
return self._Topic
|
|
14171
|
+
|
|
14172
|
+
@Topic.setter
|
|
14173
|
+
def Topic(self, Topic):
|
|
14174
|
+
self._Topic = Topic
|
|
14175
|
+
|
|
14176
|
+
@property
|
|
14177
|
+
def Type(self):
|
|
14178
|
+
r"""实例类型例如 sp_ckafka_profession
|
|
14179
|
+
:rtype: str
|
|
14180
|
+
"""
|
|
14181
|
+
return self._Type
|
|
14182
|
+
|
|
14183
|
+
@Type.setter
|
|
14184
|
+
def Type(self, Type):
|
|
14185
|
+
self._Type = Type
|
|
14186
|
+
|
|
14187
|
+
@property
|
|
14188
|
+
def ModifyEntry(self):
|
|
14189
|
+
r"""变配入口
|
|
14190
|
+
:rtype: str
|
|
14191
|
+
"""
|
|
14192
|
+
return self._ModifyEntry
|
|
14193
|
+
|
|
14194
|
+
@ModifyEntry.setter
|
|
14195
|
+
def ModifyEntry(self, ModifyEntry):
|
|
14196
|
+
self._ModifyEntry = ModifyEntry
|
|
14197
|
+
|
|
14198
|
+
|
|
14199
|
+
def _deserialize(self, params):
|
|
14200
|
+
self._InstanceId = params.get("InstanceId")
|
|
14201
|
+
self._BandWidth = params.get("BandWidth")
|
|
14202
|
+
self._DiskSize = params.get("DiskSize")
|
|
14203
|
+
self._DiskType = params.get("DiskType")
|
|
14204
|
+
self._Partition = params.get("Partition")
|
|
14205
|
+
self._Topic = params.get("Topic")
|
|
14206
|
+
self._Type = params.get("Type")
|
|
14207
|
+
self._ModifyEntry = params.get("ModifyEntry")
|
|
14208
|
+
memeber_set = set(params.keys())
|
|
14209
|
+
for name, value in vars(self).items():
|
|
14210
|
+
property_name = name[1:]
|
|
14211
|
+
if property_name in memeber_set:
|
|
14212
|
+
memeber_set.remove(property_name)
|
|
14213
|
+
if len(memeber_set) > 0:
|
|
14214
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14215
|
+
|
|
14216
|
+
|
|
14217
|
+
|
|
14218
|
+
class DescribeModifyTypeResponse(AbstractModel):
|
|
14219
|
+
r"""DescribeModifyType返回参数结构体
|
|
14220
|
+
|
|
14221
|
+
"""
|
|
14222
|
+
|
|
14223
|
+
def __init__(self):
|
|
14224
|
+
r"""
|
|
14225
|
+
:param _Result: 返回的变配类型结构
|
|
14226
|
+
:type Result: :class:`tencentcloud.ckafka.v20190819.models.DescModifyType`
|
|
14227
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14228
|
+
:type RequestId: str
|
|
14229
|
+
"""
|
|
14230
|
+
self._Result = None
|
|
14231
|
+
self._RequestId = None
|
|
14232
|
+
|
|
14233
|
+
@property
|
|
14234
|
+
def Result(self):
|
|
14235
|
+
r"""返回的变配类型结构
|
|
14236
|
+
:rtype: :class:`tencentcloud.ckafka.v20190819.models.DescModifyType`
|
|
14237
|
+
"""
|
|
14238
|
+
return self._Result
|
|
14239
|
+
|
|
14240
|
+
@Result.setter
|
|
14241
|
+
def Result(self, Result):
|
|
14242
|
+
self._Result = Result
|
|
14243
|
+
|
|
14244
|
+
@property
|
|
14245
|
+
def RequestId(self):
|
|
14246
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14247
|
+
:rtype: str
|
|
14248
|
+
"""
|
|
14249
|
+
return self._RequestId
|
|
14250
|
+
|
|
14251
|
+
@RequestId.setter
|
|
14252
|
+
def RequestId(self, RequestId):
|
|
14253
|
+
self._RequestId = RequestId
|
|
14254
|
+
|
|
14255
|
+
|
|
14256
|
+
def _deserialize(self, params):
|
|
14257
|
+
if params.get("Result") is not None:
|
|
14258
|
+
self._Result = DescModifyType()
|
|
14259
|
+
self._Result._deserialize(params.get("Result"))
|
|
14260
|
+
self._RequestId = params.get("RequestId")
|
|
14261
|
+
|
|
14262
|
+
|
|
13864
14263
|
class DescribePrometheusRequest(AbstractModel):
|
|
13865
14264
|
r"""DescribePrometheus请求参数结构体
|
|
13866
14265
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ckafka
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.4
|
|
4
4
|
Summary: Tencent Cloud Ckafka SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|