tencentcloud-sdk-python-ckafka 3.0.1416__tar.gz → 3.0.1443__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.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/setup.py +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud/ckafka/v20190819/ckafka_client.py +0 -23
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud/ckafka/v20190819/models.py +23 -394
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ckafka-3.0.1443/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ckafka-3.0.1416/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/README.rst +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud/ckafka/__init__.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud/ckafka/v20190819/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/tencentcloud_sdk_python_ckafka.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/setup.py
RENAMED
|
@@ -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
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1443,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ckafka SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -325,29 +325,6 @@ class CkafkaClient(AbstractClient):
|
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
326
|
|
|
327
327
|
|
|
328
|
-
def CreateInstancePost(self, request):
|
|
329
|
-
"""由于出参需要更新,建议用户迁移使用 CreatePostPaidInstance 接口。创建按量计费实例。通常用于 SDK 或云 API 控制台调用接口,创建后付费 CKafka 实例。调用接口与在 CKafka 控制台购买按量付费实例效果相同。
|
|
330
|
-
|
|
331
|
-
:param request: Request instance for CreateInstancePost.
|
|
332
|
-
:type request: :class:`tencentcloud.ckafka.v20190819.models.CreateInstancePostRequest`
|
|
333
|
-
:rtype: :class:`tencentcloud.ckafka.v20190819.models.CreateInstancePostResponse`
|
|
334
|
-
|
|
335
|
-
"""
|
|
336
|
-
try:
|
|
337
|
-
params = request._serialize()
|
|
338
|
-
headers = request.headers
|
|
339
|
-
body = self.call("CreateInstancePost", params, headers=headers)
|
|
340
|
-
response = json.loads(body)
|
|
341
|
-
model = models.CreateInstancePostResponse()
|
|
342
|
-
model._deserialize(response["Response"])
|
|
343
|
-
return model
|
|
344
|
-
except Exception as e:
|
|
345
|
-
if isinstance(e, TencentCloudSDKException):
|
|
346
|
-
raise
|
|
347
|
-
else:
|
|
348
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
|
-
|
|
350
|
-
|
|
351
328
|
def CreateInstancePre(self, request):
|
|
352
329
|
"""创建实例(预付费包年包月), 仅支持创建专业版实例
|
|
353
330
|
|
|
@@ -5223,332 +5223,6 @@ class CreateInstancePostData(AbstractModel):
|
|
|
5223
5223
|
|
|
5224
5224
|
|
|
5225
5225
|
|
|
5226
|
-
class CreateInstancePostRequest(AbstractModel):
|
|
5227
|
-
"""CreateInstancePost请求参数结构体
|
|
5228
|
-
|
|
5229
|
-
"""
|
|
5230
|
-
|
|
5231
|
-
def __init__(self):
|
|
5232
|
-
r"""
|
|
5233
|
-
:param _InstanceName: ckafka集群实例Name,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
|
|
5234
|
-
:type InstanceName: str
|
|
5235
|
-
:param _VpcId: 私有网络Id 创建的实例默认接入点所在的 vpc 对应 vpcId。目前不支持创建基础网络实例,因此该参数必填
|
|
5236
|
-
:type VpcId: str
|
|
5237
|
-
:param _SubnetId: 子网id。创建实例默认接入点所在的子网对应的子网 id
|
|
5238
|
-
:type SubnetId: str
|
|
5239
|
-
:param _BandWidth: 实例内网峰值带宽。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格。
|
|
5240
|
-
:type BandWidth: int
|
|
5241
|
-
:param _InstanceType: 国际站标准版实例规格。目前只有国际站标准版使用当前字段区分规格,国内站标准版使用峰值带宽区分规格。除了国际站标准版外的所有实例填写 1 即可。国际站标准版实例:入门型(general)]填写1;[标准型(standard)]填写2;[进阶型(advanced)]填写3;[容量型(capacity)]填写4;[高阶型1(specialized-1)]填写5;[高阶型2(specialized-2)]填写6;[高阶型3(specialized-3)]填写7;[高阶型4(specialized-4)]填写8。
|
|
5242
|
-
:type InstanceType: int
|
|
5243
|
-
:param _MsgRetentionTime: 实例日志的默认最长保留时间,单位分钟。不传入该参数时默认为 1440 分钟(1天),最大30天。当 topic 显式设置消息保留时间时,以 topic 保留时间为准
|
|
5244
|
-
:type MsgRetentionTime: int
|
|
5245
|
-
:param _ClusterId: 创建实例时可以选择集群Id, 该入参表示集群Id。不指定实例所在集群则不传入该参数
|
|
5246
|
-
:type ClusterId: int
|
|
5247
|
-
:param _KafkaVersion: 实例版本。目前支持 "0.10.2","1.1.1","2.4.1","2.4.2","2.8.1"。"2.4.1" 与 "2.4.2" 属于同一个版本,传任意一个均可。
|
|
5248
|
-
:type KafkaVersion: str
|
|
5249
|
-
:param _SpecificationsType: 实例类型。"standard":标准版,"profession":专业版
|
|
5250
|
-
:type SpecificationsType: str
|
|
5251
|
-
:param _DiskType: 专业版实例磁盘类型,标准版实例不需要填写。"CLOUD_SSD":SSD云硬盘;"CLOUD_BASIC":高性能云硬盘。不传默认值为 "CLOUD_BASIC"
|
|
5252
|
-
:type DiskType: str
|
|
5253
|
-
:param _DiskSize: 实例硬盘大小,需要满足当前实例的计费规格
|
|
5254
|
-
:type DiskSize: int
|
|
5255
|
-
:param _Partition: 实例最大分区数量,需要满足当前实例的计费规格
|
|
5256
|
-
:type Partition: int
|
|
5257
|
-
:param _TopicNum: 实例最大 topic 数量,需要满足当前实例的计费规格
|
|
5258
|
-
:type TopicNum: int
|
|
5259
|
-
:param _ZoneId: 实例所在的可用区。当创建多可用区实例时,该参数为创建的默认接入点所在子网的可用区 id
|
|
5260
|
-
:type ZoneId: int
|
|
5261
|
-
:param _MultiZoneFlag: 当前实例是否为多可用区实例。
|
|
5262
|
-
:type MultiZoneFlag: bool
|
|
5263
|
-
:param _ZoneIds: 当实例为多可用区实例时,多可用区 id 列表。注意参数 ZoneId 对应的多可用区需要包含在该参数数组中
|
|
5264
|
-
:type ZoneIds: list of int
|
|
5265
|
-
:param _InstanceNum: 购买实例数量。非必填,默认值为 1。当传入该参数时,会创建多个 instanceName 加后缀区分的实例
|
|
5266
|
-
:type InstanceNum: int
|
|
5267
|
-
:param _PublicNetworkMonthly: 公网带宽大小,单位 Mbps。默认是没有加上免费 3Mbps 带宽。例如总共需要 3Mbps 公网带宽,此处传 0;总共需要 6Mbps 公网带宽,此处传 3。需要保证传入参数为 3 的整数倍
|
|
5268
|
-
:type PublicNetworkMonthly: int
|
|
5269
|
-
:param _Tags: 标签
|
|
5270
|
-
:type Tags: list of Tag
|
|
5271
|
-
:param _ElasticBandwidthSwitch: 弹性带宽开关 0不开启 1开启(0默认)
|
|
5272
|
-
:type ElasticBandwidthSwitch: int
|
|
5273
|
-
"""
|
|
5274
|
-
self._InstanceName = None
|
|
5275
|
-
self._VpcId = None
|
|
5276
|
-
self._SubnetId = None
|
|
5277
|
-
self._BandWidth = None
|
|
5278
|
-
self._InstanceType = None
|
|
5279
|
-
self._MsgRetentionTime = None
|
|
5280
|
-
self._ClusterId = None
|
|
5281
|
-
self._KafkaVersion = None
|
|
5282
|
-
self._SpecificationsType = None
|
|
5283
|
-
self._DiskType = None
|
|
5284
|
-
self._DiskSize = None
|
|
5285
|
-
self._Partition = None
|
|
5286
|
-
self._TopicNum = None
|
|
5287
|
-
self._ZoneId = None
|
|
5288
|
-
self._MultiZoneFlag = None
|
|
5289
|
-
self._ZoneIds = None
|
|
5290
|
-
self._InstanceNum = None
|
|
5291
|
-
self._PublicNetworkMonthly = None
|
|
5292
|
-
self._Tags = None
|
|
5293
|
-
self._ElasticBandwidthSwitch = None
|
|
5294
|
-
|
|
5295
|
-
@property
|
|
5296
|
-
def InstanceName(self):
|
|
5297
|
-
"""ckafka集群实例Name,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
|
|
5298
|
-
:rtype: str
|
|
5299
|
-
"""
|
|
5300
|
-
return self._InstanceName
|
|
5301
|
-
|
|
5302
|
-
@InstanceName.setter
|
|
5303
|
-
def InstanceName(self, InstanceName):
|
|
5304
|
-
self._InstanceName = InstanceName
|
|
5305
|
-
|
|
5306
|
-
@property
|
|
5307
|
-
def VpcId(self):
|
|
5308
|
-
"""私有网络Id 创建的实例默认接入点所在的 vpc 对应 vpcId。目前不支持创建基础网络实例,因此该参数必填
|
|
5309
|
-
:rtype: str
|
|
5310
|
-
"""
|
|
5311
|
-
return self._VpcId
|
|
5312
|
-
|
|
5313
|
-
@VpcId.setter
|
|
5314
|
-
def VpcId(self, VpcId):
|
|
5315
|
-
self._VpcId = VpcId
|
|
5316
|
-
|
|
5317
|
-
@property
|
|
5318
|
-
def SubnetId(self):
|
|
5319
|
-
"""子网id。创建实例默认接入点所在的子网对应的子网 id
|
|
5320
|
-
:rtype: str
|
|
5321
|
-
"""
|
|
5322
|
-
return self._SubnetId
|
|
5323
|
-
|
|
5324
|
-
@SubnetId.setter
|
|
5325
|
-
def SubnetId(self, SubnetId):
|
|
5326
|
-
self._SubnetId = SubnetId
|
|
5327
|
-
|
|
5328
|
-
@property
|
|
5329
|
-
def BandWidth(self):
|
|
5330
|
-
"""实例内网峰值带宽。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格。
|
|
5331
|
-
:rtype: int
|
|
5332
|
-
"""
|
|
5333
|
-
return self._BandWidth
|
|
5334
|
-
|
|
5335
|
-
@BandWidth.setter
|
|
5336
|
-
def BandWidth(self, BandWidth):
|
|
5337
|
-
self._BandWidth = BandWidth
|
|
5338
|
-
|
|
5339
|
-
@property
|
|
5340
|
-
def InstanceType(self):
|
|
5341
|
-
"""国际站标准版实例规格。目前只有国际站标准版使用当前字段区分规格,国内站标准版使用峰值带宽区分规格。除了国际站标准版外的所有实例填写 1 即可。国际站标准版实例:入门型(general)]填写1;[标准型(standard)]填写2;[进阶型(advanced)]填写3;[容量型(capacity)]填写4;[高阶型1(specialized-1)]填写5;[高阶型2(specialized-2)]填写6;[高阶型3(specialized-3)]填写7;[高阶型4(specialized-4)]填写8。
|
|
5342
|
-
:rtype: int
|
|
5343
|
-
"""
|
|
5344
|
-
return self._InstanceType
|
|
5345
|
-
|
|
5346
|
-
@InstanceType.setter
|
|
5347
|
-
def InstanceType(self, InstanceType):
|
|
5348
|
-
self._InstanceType = InstanceType
|
|
5349
|
-
|
|
5350
|
-
@property
|
|
5351
|
-
def MsgRetentionTime(self):
|
|
5352
|
-
"""实例日志的默认最长保留时间,单位分钟。不传入该参数时默认为 1440 分钟(1天),最大30天。当 topic 显式设置消息保留时间时,以 topic 保留时间为准
|
|
5353
|
-
:rtype: int
|
|
5354
|
-
"""
|
|
5355
|
-
return self._MsgRetentionTime
|
|
5356
|
-
|
|
5357
|
-
@MsgRetentionTime.setter
|
|
5358
|
-
def MsgRetentionTime(self, MsgRetentionTime):
|
|
5359
|
-
self._MsgRetentionTime = MsgRetentionTime
|
|
5360
|
-
|
|
5361
|
-
@property
|
|
5362
|
-
def ClusterId(self):
|
|
5363
|
-
"""创建实例时可以选择集群Id, 该入参表示集群Id。不指定实例所在集群则不传入该参数
|
|
5364
|
-
:rtype: int
|
|
5365
|
-
"""
|
|
5366
|
-
return self._ClusterId
|
|
5367
|
-
|
|
5368
|
-
@ClusterId.setter
|
|
5369
|
-
def ClusterId(self, ClusterId):
|
|
5370
|
-
self._ClusterId = ClusterId
|
|
5371
|
-
|
|
5372
|
-
@property
|
|
5373
|
-
def KafkaVersion(self):
|
|
5374
|
-
"""实例版本。目前支持 "0.10.2","1.1.1","2.4.1","2.4.2","2.8.1"。"2.4.1" 与 "2.4.2" 属于同一个版本,传任意一个均可。
|
|
5375
|
-
:rtype: str
|
|
5376
|
-
"""
|
|
5377
|
-
return self._KafkaVersion
|
|
5378
|
-
|
|
5379
|
-
@KafkaVersion.setter
|
|
5380
|
-
def KafkaVersion(self, KafkaVersion):
|
|
5381
|
-
self._KafkaVersion = KafkaVersion
|
|
5382
|
-
|
|
5383
|
-
@property
|
|
5384
|
-
def SpecificationsType(self):
|
|
5385
|
-
"""实例类型。"standard":标准版,"profession":专业版
|
|
5386
|
-
:rtype: str
|
|
5387
|
-
"""
|
|
5388
|
-
return self._SpecificationsType
|
|
5389
|
-
|
|
5390
|
-
@SpecificationsType.setter
|
|
5391
|
-
def SpecificationsType(self, SpecificationsType):
|
|
5392
|
-
self._SpecificationsType = SpecificationsType
|
|
5393
|
-
|
|
5394
|
-
@property
|
|
5395
|
-
def DiskType(self):
|
|
5396
|
-
"""专业版实例磁盘类型,标准版实例不需要填写。"CLOUD_SSD":SSD云硬盘;"CLOUD_BASIC":高性能云硬盘。不传默认值为 "CLOUD_BASIC"
|
|
5397
|
-
:rtype: str
|
|
5398
|
-
"""
|
|
5399
|
-
return self._DiskType
|
|
5400
|
-
|
|
5401
|
-
@DiskType.setter
|
|
5402
|
-
def DiskType(self, DiskType):
|
|
5403
|
-
self._DiskType = DiskType
|
|
5404
|
-
|
|
5405
|
-
@property
|
|
5406
|
-
def DiskSize(self):
|
|
5407
|
-
"""实例硬盘大小,需要满足当前实例的计费规格
|
|
5408
|
-
:rtype: int
|
|
5409
|
-
"""
|
|
5410
|
-
return self._DiskSize
|
|
5411
|
-
|
|
5412
|
-
@DiskSize.setter
|
|
5413
|
-
def DiskSize(self, DiskSize):
|
|
5414
|
-
self._DiskSize = DiskSize
|
|
5415
|
-
|
|
5416
|
-
@property
|
|
5417
|
-
def Partition(self):
|
|
5418
|
-
"""实例最大分区数量,需要满足当前实例的计费规格
|
|
5419
|
-
:rtype: int
|
|
5420
|
-
"""
|
|
5421
|
-
return self._Partition
|
|
5422
|
-
|
|
5423
|
-
@Partition.setter
|
|
5424
|
-
def Partition(self, Partition):
|
|
5425
|
-
self._Partition = Partition
|
|
5426
|
-
|
|
5427
|
-
@property
|
|
5428
|
-
def TopicNum(self):
|
|
5429
|
-
"""实例最大 topic 数量,需要满足当前实例的计费规格
|
|
5430
|
-
:rtype: int
|
|
5431
|
-
"""
|
|
5432
|
-
return self._TopicNum
|
|
5433
|
-
|
|
5434
|
-
@TopicNum.setter
|
|
5435
|
-
def TopicNum(self, TopicNum):
|
|
5436
|
-
self._TopicNum = TopicNum
|
|
5437
|
-
|
|
5438
|
-
@property
|
|
5439
|
-
def ZoneId(self):
|
|
5440
|
-
"""实例所在的可用区。当创建多可用区实例时,该参数为创建的默认接入点所在子网的可用区 id
|
|
5441
|
-
:rtype: int
|
|
5442
|
-
"""
|
|
5443
|
-
return self._ZoneId
|
|
5444
|
-
|
|
5445
|
-
@ZoneId.setter
|
|
5446
|
-
def ZoneId(self, ZoneId):
|
|
5447
|
-
self._ZoneId = ZoneId
|
|
5448
|
-
|
|
5449
|
-
@property
|
|
5450
|
-
def MultiZoneFlag(self):
|
|
5451
|
-
"""当前实例是否为多可用区实例。
|
|
5452
|
-
:rtype: bool
|
|
5453
|
-
"""
|
|
5454
|
-
return self._MultiZoneFlag
|
|
5455
|
-
|
|
5456
|
-
@MultiZoneFlag.setter
|
|
5457
|
-
def MultiZoneFlag(self, MultiZoneFlag):
|
|
5458
|
-
self._MultiZoneFlag = MultiZoneFlag
|
|
5459
|
-
|
|
5460
|
-
@property
|
|
5461
|
-
def ZoneIds(self):
|
|
5462
|
-
"""当实例为多可用区实例时,多可用区 id 列表。注意参数 ZoneId 对应的多可用区需要包含在该参数数组中
|
|
5463
|
-
:rtype: list of int
|
|
5464
|
-
"""
|
|
5465
|
-
return self._ZoneIds
|
|
5466
|
-
|
|
5467
|
-
@ZoneIds.setter
|
|
5468
|
-
def ZoneIds(self, ZoneIds):
|
|
5469
|
-
self._ZoneIds = ZoneIds
|
|
5470
|
-
|
|
5471
|
-
@property
|
|
5472
|
-
def InstanceNum(self):
|
|
5473
|
-
"""购买实例数量。非必填,默认值为 1。当传入该参数时,会创建多个 instanceName 加后缀区分的实例
|
|
5474
|
-
:rtype: int
|
|
5475
|
-
"""
|
|
5476
|
-
return self._InstanceNum
|
|
5477
|
-
|
|
5478
|
-
@InstanceNum.setter
|
|
5479
|
-
def InstanceNum(self, InstanceNum):
|
|
5480
|
-
self._InstanceNum = InstanceNum
|
|
5481
|
-
|
|
5482
|
-
@property
|
|
5483
|
-
def PublicNetworkMonthly(self):
|
|
5484
|
-
"""公网带宽大小,单位 Mbps。默认是没有加上免费 3Mbps 带宽。例如总共需要 3Mbps 公网带宽,此处传 0;总共需要 6Mbps 公网带宽,此处传 3。需要保证传入参数为 3 的整数倍
|
|
5485
|
-
:rtype: int
|
|
5486
|
-
"""
|
|
5487
|
-
return self._PublicNetworkMonthly
|
|
5488
|
-
|
|
5489
|
-
@PublicNetworkMonthly.setter
|
|
5490
|
-
def PublicNetworkMonthly(self, PublicNetworkMonthly):
|
|
5491
|
-
self._PublicNetworkMonthly = PublicNetworkMonthly
|
|
5492
|
-
|
|
5493
|
-
@property
|
|
5494
|
-
def Tags(self):
|
|
5495
|
-
"""标签
|
|
5496
|
-
:rtype: list of Tag
|
|
5497
|
-
"""
|
|
5498
|
-
return self._Tags
|
|
5499
|
-
|
|
5500
|
-
@Tags.setter
|
|
5501
|
-
def Tags(self, Tags):
|
|
5502
|
-
self._Tags = Tags
|
|
5503
|
-
|
|
5504
|
-
@property
|
|
5505
|
-
def ElasticBandwidthSwitch(self):
|
|
5506
|
-
"""弹性带宽开关 0不开启 1开启(0默认)
|
|
5507
|
-
:rtype: int
|
|
5508
|
-
"""
|
|
5509
|
-
return self._ElasticBandwidthSwitch
|
|
5510
|
-
|
|
5511
|
-
@ElasticBandwidthSwitch.setter
|
|
5512
|
-
def ElasticBandwidthSwitch(self, ElasticBandwidthSwitch):
|
|
5513
|
-
self._ElasticBandwidthSwitch = ElasticBandwidthSwitch
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
def _deserialize(self, params):
|
|
5517
|
-
self._InstanceName = params.get("InstanceName")
|
|
5518
|
-
self._VpcId = params.get("VpcId")
|
|
5519
|
-
self._SubnetId = params.get("SubnetId")
|
|
5520
|
-
self._BandWidth = params.get("BandWidth")
|
|
5521
|
-
self._InstanceType = params.get("InstanceType")
|
|
5522
|
-
self._MsgRetentionTime = params.get("MsgRetentionTime")
|
|
5523
|
-
self._ClusterId = params.get("ClusterId")
|
|
5524
|
-
self._KafkaVersion = params.get("KafkaVersion")
|
|
5525
|
-
self._SpecificationsType = params.get("SpecificationsType")
|
|
5526
|
-
self._DiskType = params.get("DiskType")
|
|
5527
|
-
self._DiskSize = params.get("DiskSize")
|
|
5528
|
-
self._Partition = params.get("Partition")
|
|
5529
|
-
self._TopicNum = params.get("TopicNum")
|
|
5530
|
-
self._ZoneId = params.get("ZoneId")
|
|
5531
|
-
self._MultiZoneFlag = params.get("MultiZoneFlag")
|
|
5532
|
-
self._ZoneIds = params.get("ZoneIds")
|
|
5533
|
-
self._InstanceNum = params.get("InstanceNum")
|
|
5534
|
-
self._PublicNetworkMonthly = params.get("PublicNetworkMonthly")
|
|
5535
|
-
if params.get("Tags") is not None:
|
|
5536
|
-
self._Tags = []
|
|
5537
|
-
for item in params.get("Tags"):
|
|
5538
|
-
obj = Tag()
|
|
5539
|
-
obj._deserialize(item)
|
|
5540
|
-
self._Tags.append(obj)
|
|
5541
|
-
self._ElasticBandwidthSwitch = params.get("ElasticBandwidthSwitch")
|
|
5542
|
-
memeber_set = set(params.keys())
|
|
5543
|
-
for name, value in vars(self).items():
|
|
5544
|
-
property_name = name[1:]
|
|
5545
|
-
if property_name in memeber_set:
|
|
5546
|
-
memeber_set.remove(property_name)
|
|
5547
|
-
if len(memeber_set) > 0:
|
|
5548
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
5226
|
class CreateInstancePostResp(AbstractModel):
|
|
5553
5227
|
"""后付费实例相关接口返回结构
|
|
5554
5228
|
|
|
@@ -5617,51 +5291,6 @@ class CreateInstancePostResp(AbstractModel):
|
|
|
5617
5291
|
|
|
5618
5292
|
|
|
5619
5293
|
|
|
5620
|
-
class CreateInstancePostResponse(AbstractModel):
|
|
5621
|
-
"""CreateInstancePost返回参数结构体
|
|
5622
|
-
|
|
5623
|
-
"""
|
|
5624
|
-
|
|
5625
|
-
def __init__(self):
|
|
5626
|
-
r"""
|
|
5627
|
-
:param _Result: 返回结果
|
|
5628
|
-
:type Result: :class:`tencentcloud.ckafka.v20190819.models.JgwOperateResponse`
|
|
5629
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5630
|
-
:type RequestId: str
|
|
5631
|
-
"""
|
|
5632
|
-
self._Result = None
|
|
5633
|
-
self._RequestId = None
|
|
5634
|
-
|
|
5635
|
-
@property
|
|
5636
|
-
def Result(self):
|
|
5637
|
-
"""返回结果
|
|
5638
|
-
:rtype: :class:`tencentcloud.ckafka.v20190819.models.JgwOperateResponse`
|
|
5639
|
-
"""
|
|
5640
|
-
return self._Result
|
|
5641
|
-
|
|
5642
|
-
@Result.setter
|
|
5643
|
-
def Result(self, Result):
|
|
5644
|
-
self._Result = Result
|
|
5645
|
-
|
|
5646
|
-
@property
|
|
5647
|
-
def RequestId(self):
|
|
5648
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5649
|
-
:rtype: str
|
|
5650
|
-
"""
|
|
5651
|
-
return self._RequestId
|
|
5652
|
-
|
|
5653
|
-
@RequestId.setter
|
|
5654
|
-
def RequestId(self, RequestId):
|
|
5655
|
-
self._RequestId = RequestId
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
def _deserialize(self, params):
|
|
5659
|
-
if params.get("Result") is not None:
|
|
5660
|
-
self._Result = JgwOperateResponse()
|
|
5661
|
-
self._Result._deserialize(params.get("Result"))
|
|
5662
|
-
self._RequestId = params.get("RequestId")
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
5294
|
class CreateInstancePreData(AbstractModel):
|
|
5666
5295
|
"""创建预付费接口返回的Data
|
|
5667
5296
|
|
|
@@ -5763,9 +5392,9 @@ class CreateInstancePreRequest(AbstractModel):
|
|
|
5763
5392
|
:type Period: str
|
|
5764
5393
|
:param _InstanceType: 国际站标准版实例规格。目前只有国际站标准版使用当前字段区分规格,国内站标准版使用峰值带宽区分规格。除了国际站标准版外的所有实例填写 1 即可。国际站标准版实例:入门型(general)]填写1;[标准型(standard)]填写2;[进阶型(advanced)]填写3;[容量型(capacity)]填写4;[高阶型1(specialized-1)]填写5;[高阶型2(specialized-2)]填写6;[高阶型3(specialized-3)]填写7;[高阶型4(specialized-4)]填写8。
|
|
5765
5394
|
:type InstanceType: int
|
|
5766
|
-
:param _VpcId: 私有网络Id
|
|
5395
|
+
:param _VpcId: 私有网络Id
|
|
5767
5396
|
:type VpcId: str
|
|
5768
|
-
:param _SubnetId: 子网id
|
|
5397
|
+
:param _SubnetId: 子网id
|
|
5769
5398
|
:type SubnetId: str
|
|
5770
5399
|
:param _MsgRetentionTime: 可选。实例日志的最长保留时间,单位分钟,默认为10080(7天),最大30天,不填默认0,代表不开启日志保留时间回收策略
|
|
5771
5400
|
:type MsgRetentionTime: int
|
|
@@ -5869,7 +5498,7 @@ class CreateInstancePreRequest(AbstractModel):
|
|
|
5869
5498
|
|
|
5870
5499
|
@property
|
|
5871
5500
|
def VpcId(self):
|
|
5872
|
-
"""私有网络Id
|
|
5501
|
+
"""私有网络Id
|
|
5873
5502
|
:rtype: str
|
|
5874
5503
|
"""
|
|
5875
5504
|
return self._VpcId
|
|
@@ -5880,7 +5509,7 @@ class CreateInstancePreRequest(AbstractModel):
|
|
|
5880
5509
|
|
|
5881
5510
|
@property
|
|
5882
5511
|
def SubnetId(self):
|
|
5883
|
-
"""子网id
|
|
5512
|
+
"""子网id
|
|
5884
5513
|
:rtype: str
|
|
5885
5514
|
"""
|
|
5886
5515
|
return self._SubnetId
|
|
@@ -6356,10 +5985,10 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6356
5985
|
|
|
6357
5986
|
def __init__(self):
|
|
6358
5987
|
r"""
|
|
5988
|
+
:param _VpcId: 私有网络Id 创建的实例默认接入点所在的 vpc 对应 vpcId
|
|
5989
|
+
:type VpcId: str
|
|
6359
5990
|
:param _InstanceName: ckafka集群实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
|
|
6360
5991
|
:type InstanceName: str
|
|
6361
|
-
:param _VpcId: 私有网络Id 创建的实例默认接入点所在的 vpc 对应 vpcId。目前不支持创建基础网络实例,因此该参数必填
|
|
6362
|
-
:type VpcId: str
|
|
6363
5992
|
:param _SubnetId: 子网id。创建实例默认接入点所在的子网对应的子网 id
|
|
6364
5993
|
:type SubnetId: str
|
|
6365
5994
|
:param _InstanceType: 国际站标准版实例规格。目前只有国际站标准版使用当前字段区分规格,国内站标准版使用峰值带宽区分规格。除了国际站标准版外的所有实例填写 1 即可。国际站标准版实例:入门型(general)]填写1;[标准型(standard)]填写2;[进阶型(advanced)]填写3;[容量型(capacity)]填写4;[高阶型1(specialized-1)]填写5;[高阶型2(specialized-2)]填写6;[高阶型3(specialized-3)]填写7;[高阶型4(specialized-4)]填写8。
|
|
@@ -6397,8 +6026,8 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6397
6026
|
:param _ElasticBandwidthSwitch: 弹性带宽开关 0不开启 1开启(0默认)
|
|
6398
6027
|
:type ElasticBandwidthSwitch: int
|
|
6399
6028
|
"""
|
|
6400
|
-
self._InstanceName = None
|
|
6401
6029
|
self._VpcId = None
|
|
6030
|
+
self._InstanceName = None
|
|
6402
6031
|
self._SubnetId = None
|
|
6403
6032
|
self._InstanceType = None
|
|
6404
6033
|
self._MsgRetentionTime = None
|
|
@@ -6418,6 +6047,17 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6418
6047
|
self._Tags = None
|
|
6419
6048
|
self._ElasticBandwidthSwitch = None
|
|
6420
6049
|
|
|
6050
|
+
@property
|
|
6051
|
+
def VpcId(self):
|
|
6052
|
+
"""私有网络Id 创建的实例默认接入点所在的 vpc 对应 vpcId
|
|
6053
|
+
:rtype: str
|
|
6054
|
+
"""
|
|
6055
|
+
return self._VpcId
|
|
6056
|
+
|
|
6057
|
+
@VpcId.setter
|
|
6058
|
+
def VpcId(self, VpcId):
|
|
6059
|
+
self._VpcId = VpcId
|
|
6060
|
+
|
|
6421
6061
|
@property
|
|
6422
6062
|
def InstanceName(self):
|
|
6423
6063
|
"""ckafka集群实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
|
|
@@ -6429,17 +6069,6 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6429
6069
|
def InstanceName(self, InstanceName):
|
|
6430
6070
|
self._InstanceName = InstanceName
|
|
6431
6071
|
|
|
6432
|
-
@property
|
|
6433
|
-
def VpcId(self):
|
|
6434
|
-
"""私有网络Id 创建的实例默认接入点所在的 vpc 对应 vpcId。目前不支持创建基础网络实例,因此该参数必填
|
|
6435
|
-
:rtype: str
|
|
6436
|
-
"""
|
|
6437
|
-
return self._VpcId
|
|
6438
|
-
|
|
6439
|
-
@VpcId.setter
|
|
6440
|
-
def VpcId(self, VpcId):
|
|
6441
|
-
self._VpcId = VpcId
|
|
6442
|
-
|
|
6443
6072
|
@property
|
|
6444
6073
|
def SubnetId(self):
|
|
6445
6074
|
"""子网id。创建实例默认接入点所在的子网对应的子网 id
|
|
@@ -6640,8 +6269,8 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6640
6269
|
|
|
6641
6270
|
|
|
6642
6271
|
def _deserialize(self, params):
|
|
6643
|
-
self._InstanceName = params.get("InstanceName")
|
|
6644
6272
|
self._VpcId = params.get("VpcId")
|
|
6273
|
+
self._InstanceName = params.get("InstanceName")
|
|
6645
6274
|
self._SubnetId = params.get("SubnetId")
|
|
6646
6275
|
self._InstanceType = params.get("InstanceType")
|
|
6647
6276
|
self._MsgRetentionTime = params.get("MsgRetentionTime")
|
|
@@ -17846,7 +17475,7 @@ class FetchDatahubMessageByOffsetRequest(AbstractModel):
|
|
|
17846
17475
|
:type Name: str
|
|
17847
17476
|
:param _Partition: 分区id
|
|
17848
17477
|
:type Partition: int
|
|
17849
|
-
:param _Offset:
|
|
17478
|
+
:param _Offset: 位点信息
|
|
17850
17479
|
:type Offset: int
|
|
17851
17480
|
"""
|
|
17852
17481
|
self._Name = None
|
|
@@ -17877,7 +17506,7 @@ class FetchDatahubMessageByOffsetRequest(AbstractModel):
|
|
|
17877
17506
|
|
|
17878
17507
|
@property
|
|
17879
17508
|
def Offset(self):
|
|
17880
|
-
"""
|
|
17509
|
+
"""位点信息
|
|
17881
17510
|
:rtype: int
|
|
17882
17511
|
"""
|
|
17883
17512
|
return self._Offset
|
|
@@ -18088,7 +17717,7 @@ class FetchMessageByOffsetRequest(AbstractModel):
|
|
|
18088
17717
|
:type Topic: str
|
|
18089
17718
|
:param _Partition: 分区id
|
|
18090
17719
|
:type Partition: int
|
|
18091
|
-
:param _Offset:
|
|
17720
|
+
:param _Offset: 位点信息
|
|
18092
17721
|
:type Offset: int
|
|
18093
17722
|
"""
|
|
18094
17723
|
self._InstanceId = None
|
|
@@ -18131,7 +17760,7 @@ class FetchMessageByOffsetRequest(AbstractModel):
|
|
|
18131
17760
|
|
|
18132
17761
|
@property
|
|
18133
17762
|
def Offset(self):
|
|
18134
|
-
"""
|
|
17763
|
+
"""位点信息
|
|
18135
17764
|
:rtype: int
|
|
18136
17765
|
"""
|
|
18137
17766
|
return self._Offset
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1443
|
tencentcloud-sdk-python-ckafka-3.0.1416/tencentcloud_sdk_python_ckafka.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1416
|
{tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-ckafka-3.0.1416 → tencentcloud-sdk-python-ckafka-3.0.1443}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|