tencentcloud-sdk-python-ckafka 3.1.51__tar.gz → 3.1.68__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.51 → tencentcloud_sdk_python_ckafka-3.1.68}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/setup.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud/ckafka/v20190819/ckafka_client_async.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud/ckafka/v20190819/models.py +105 -34
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ckafka-3.1.68/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ckafka-3.1.51/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/README.rst +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud/ckafka/__init__.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud/ckafka/v20190819/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.51 → tencentcloud_sdk_python_ckafka-3.1.68}/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.68
|
|
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.68
|
|
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.68,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ckafka SDK for Python',
|
|
@@ -1338,7 +1338,7 @@ class CkafkaClient(AbstractClient):
|
|
|
1338
1338
|
|
|
1339
1339
|
|
|
1340
1340
|
def DescribeRegion(self, request):
|
|
1341
|
-
r"""
|
|
1341
|
+
r"""枚举地域信息
|
|
1342
1342
|
|
|
1343
1343
|
:param request: Request instance for DescribeRegion.
|
|
1344
1344
|
:type request: :class:`tencentcloud.ckafka.v20190819.models.DescribeRegionRequest`
|
|
@@ -5991,11 +5991,11 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
5991
5991
|
:type MsgRetentionTime: int
|
|
5992
5992
|
:param _ClusterId: <p>创建实例时可以选择集群Id, 该入参表示集群Id。不指定实例所在集群则不传入该参数</p>
|
|
5993
5993
|
:type ClusterId: int
|
|
5994
|
-
:param _KafkaVersion: <p
|
|
5994
|
+
:param _KafkaVersion: <p>实例版本。目前支持当前支持"2.4.1", "2.4.2","2.8.1", "3.2.3",默认取值"2.4.1"。"2.4.1" 与 "2.4.2" 属于同一个版本,传任意一个均可。</p>
|
|
5995
5995
|
:type KafkaVersion: str
|
|
5996
|
-
:param _SpecificationsType: <p
|
|
5996
|
+
:param _SpecificationsType: <p>实例类型。"standard":标准版,"profession":专业版。 (标准版仅国际站支持,国内站目前支持专业版)</p>
|
|
5997
5997
|
:type SpecificationsType: str
|
|
5998
|
-
:param _DiskType: <p
|
|
5998
|
+
:param _DiskType: <p>专业版实例磁盘类型,标准版实例不需要填写。"CLOUD_SSD":SSD云硬盘;"CLOUD_BASIC":高性能云硬盘。不传默认值为 "CLOUD_BASIC"</p>
|
|
5999
5999
|
:type DiskType: str
|
|
6000
6000
|
:param _BandWidth: <p>实例内网峰值带宽,默认值为40。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格,可以通过以下链接查看计费规格:https://cloud.tencent.com/document/product/597/11745</p>
|
|
6001
6001
|
:type BandWidth: int
|
|
@@ -6013,7 +6013,7 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6013
6013
|
:type ZoneIds: list of int
|
|
6014
6014
|
:param _InstanceNum: <p>购买实例数量。非必填,默认值为 1。当传入该参数时,会创建多个 instanceName 加后缀区分的实例</p>
|
|
6015
6015
|
:type InstanceNum: int
|
|
6016
|
-
:param _PublicNetworkMonthly: <p>公网带宽大小,单位 Mbps
|
|
6016
|
+
:param _PublicNetworkMonthly: <p>公网带宽大小,单位 Mbps。</p><p>单位:Mbps</p>
|
|
6017
6017
|
:type PublicNetworkMonthly: int
|
|
6018
6018
|
:param _Tags: <p>标签</p>
|
|
6019
6019
|
:type Tags: list of Tag
|
|
@@ -6112,7 +6112,7 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6112
6112
|
|
|
6113
6113
|
@property
|
|
6114
6114
|
def KafkaVersion(self):
|
|
6115
|
-
r"""<p
|
|
6115
|
+
r"""<p>实例版本。目前支持当前支持"2.4.1", "2.4.2","2.8.1", "3.2.3",默认取值"2.4.1"。"2.4.1" 与 "2.4.2" 属于同一个版本,传任意一个均可。</p>
|
|
6116
6116
|
:rtype: str
|
|
6117
6117
|
"""
|
|
6118
6118
|
return self._KafkaVersion
|
|
@@ -6123,7 +6123,7 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6123
6123
|
|
|
6124
6124
|
@property
|
|
6125
6125
|
def SpecificationsType(self):
|
|
6126
|
-
r"""<p
|
|
6126
|
+
r"""<p>实例类型。"standard":标准版,"profession":专业版。 (标准版仅国际站支持,国内站目前支持专业版)</p>
|
|
6127
6127
|
:rtype: str
|
|
6128
6128
|
"""
|
|
6129
6129
|
return self._SpecificationsType
|
|
@@ -6134,7 +6134,7 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6134
6134
|
|
|
6135
6135
|
@property
|
|
6136
6136
|
def DiskType(self):
|
|
6137
|
-
r"""<p
|
|
6137
|
+
r"""<p>专业版实例磁盘类型,标准版实例不需要填写。"CLOUD_SSD":SSD云硬盘;"CLOUD_BASIC":高性能云硬盘。不传默认值为 "CLOUD_BASIC"</p>
|
|
6138
6138
|
:rtype: str
|
|
6139
6139
|
"""
|
|
6140
6140
|
return self._DiskType
|
|
@@ -6233,7 +6233,7 @@ class CreatePostPaidInstanceRequest(AbstractModel):
|
|
|
6233
6233
|
|
|
6234
6234
|
@property
|
|
6235
6235
|
def PublicNetworkMonthly(self):
|
|
6236
|
-
r"""<p>公网带宽大小,单位 Mbps
|
|
6236
|
+
r"""<p>公网带宽大小,单位 Mbps。</p><p>单位:Mbps</p>
|
|
6237
6237
|
:rtype: int
|
|
6238
6238
|
"""
|
|
6239
6239
|
return self._PublicNetworkMonthly
|
|
@@ -6486,7 +6486,7 @@ class CreateRouteRequest(AbstractModel):
|
|
|
6486
6486
|
:type VpcId: str
|
|
6487
6487
|
:param _SubnetId: <p>vpc子网id,当vipType为3时必填</p>
|
|
6488
6488
|
:type SubnetId: str
|
|
6489
|
-
:param _AccessType: <p>访问类型:0-plaintext;1-sasl_plaintext;3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512 默认为
|
|
6489
|
+
:param _AccessType: <p>访问类型:0-plaintext;1-sasl_plaintext;3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512 默认为0<br>vipType=3,支持 0,1,3,4,5<br>vipType=7,支持0,1,3<br>vipType=1,支持1,3</p>
|
|
6490
6490
|
:type AccessType: int
|
|
6491
6491
|
:param _AuthFlag: <p>是否需要权限管理,该字段已废弃</p>
|
|
6492
6492
|
:type AuthFlag: int
|
|
@@ -6500,6 +6500,8 @@ class CreateRouteRequest(AbstractModel):
|
|
|
6500
6500
|
:type Note: str
|
|
6501
6501
|
:param _SecurityGroupIds: <p>关联安全组有序列表</p>
|
|
6502
6502
|
:type SecurityGroupIds: list of str
|
|
6503
|
+
:param _IpWhitelist: <p>公网路由IP白名单预设配置</p><p>入参限制:vipType=1</p>
|
|
6504
|
+
:type IpWhitelist: list of IpWhitelistDTO
|
|
6503
6505
|
"""
|
|
6504
6506
|
self._InstanceId = None
|
|
6505
6507
|
self._VipType = None
|
|
@@ -6512,6 +6514,7 @@ class CreateRouteRequest(AbstractModel):
|
|
|
6512
6514
|
self._Ip = None
|
|
6513
6515
|
self._Note = None
|
|
6514
6516
|
self._SecurityGroupIds = None
|
|
6517
|
+
self._IpWhitelist = None
|
|
6515
6518
|
|
|
6516
6519
|
@property
|
|
6517
6520
|
def InstanceId(self):
|
|
@@ -6559,7 +6562,7 @@ class CreateRouteRequest(AbstractModel):
|
|
|
6559
6562
|
|
|
6560
6563
|
@property
|
|
6561
6564
|
def AccessType(self):
|
|
6562
|
-
r"""<p>访问类型:0-plaintext;1-sasl_plaintext;3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512 默认为
|
|
6565
|
+
r"""<p>访问类型:0-plaintext;1-sasl_plaintext;3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512 默认为0<br>vipType=3,支持 0,1,3,4,5<br>vipType=7,支持0,1,3<br>vipType=1,支持1,3</p>
|
|
6563
6566
|
:rtype: int
|
|
6564
6567
|
"""
|
|
6565
6568
|
return self._AccessType
|
|
@@ -6634,6 +6637,17 @@ class CreateRouteRequest(AbstractModel):
|
|
|
6634
6637
|
def SecurityGroupIds(self, SecurityGroupIds):
|
|
6635
6638
|
self._SecurityGroupIds = SecurityGroupIds
|
|
6636
6639
|
|
|
6640
|
+
@property
|
|
6641
|
+
def IpWhitelist(self):
|
|
6642
|
+
r"""<p>公网路由IP白名单预设配置</p><p>入参限制:vipType=1</p>
|
|
6643
|
+
:rtype: list of IpWhitelistDTO
|
|
6644
|
+
"""
|
|
6645
|
+
return self._IpWhitelist
|
|
6646
|
+
|
|
6647
|
+
@IpWhitelist.setter
|
|
6648
|
+
def IpWhitelist(self, IpWhitelist):
|
|
6649
|
+
self._IpWhitelist = IpWhitelist
|
|
6650
|
+
|
|
6637
6651
|
|
|
6638
6652
|
def _deserialize(self, params):
|
|
6639
6653
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -6647,6 +6661,12 @@ class CreateRouteRequest(AbstractModel):
|
|
|
6647
6661
|
self._Ip = params.get("Ip")
|
|
6648
6662
|
self._Note = params.get("Note")
|
|
6649
6663
|
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
6664
|
+
if params.get("IpWhitelist") is not None:
|
|
6665
|
+
self._IpWhitelist = []
|
|
6666
|
+
for item in params.get("IpWhitelist"):
|
|
6667
|
+
obj = IpWhitelistDTO()
|
|
6668
|
+
obj._deserialize(item)
|
|
6669
|
+
self._IpWhitelist.append(obj)
|
|
6650
6670
|
memeber_set = set(params.keys())
|
|
6651
6671
|
for name, value in vars(self).items():
|
|
6652
6672
|
property_name = name[1:]
|
|
@@ -20532,7 +20552,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20532
20552
|
:type Vip: str
|
|
20533
20553
|
:param _Vport: <p>虚拟端口</p>
|
|
20534
20554
|
:type Vport: str
|
|
20535
|
-
:param _Status: <p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1:
|
|
20555
|
+
:param _Status: <p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败</p>
|
|
20536
20556
|
:type Status: int
|
|
20537
20557
|
:param _Bandwidth: <p>实例带宽,单位:Mbps</p>
|
|
20538
20558
|
:type Bandwidth: int
|
|
@@ -20574,7 +20594,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20574
20594
|
:type MaxGroupNum: int
|
|
20575
20595
|
:param _Cvm: <p>售卖类型,0:标准版,1:专业版</p>
|
|
20576
20596
|
:type Cvm: int
|
|
20577
|
-
:param _InstanceType: <p>实例类型
|
|
20597
|
+
:param _InstanceType: <p>实例类型 枚举列表:<br>profession :专业版<br>standards2 :标准版<br>premium :高级版<br>serverless :serverless版</p>
|
|
20578
20598
|
:type InstanceType: str
|
|
20579
20599
|
:param _Features: <p>表示该实例支持的特性。FEATURE_SUBNET_ACL:表示acl策略支持设置子网。</p>
|
|
20580
20600
|
:type Features: list of str
|
|
@@ -20598,11 +20618,11 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20598
20618
|
:type MaxMessageByte: int
|
|
20599
20619
|
:param _InstanceChargeType: <p>实例计费类型 POSTPAID_BY_HOUR 按小时付费; PREPAID 包年包月</p>
|
|
20600
20620
|
:type InstanceChargeType: str
|
|
20601
|
-
:param _ElasticBandwidthSwitch: <p
|
|
20621
|
+
:param _ElasticBandwidthSwitch: <p>是否开启弹性带宽白名单<br>1:已开启弹性带宽白名单;<br>0:未开启弹性带宽白名单;</p>
|
|
20602
20622
|
:type ElasticBandwidthSwitch: int
|
|
20603
|
-
:param _ElasticBandwidthOpenStatus: <p
|
|
20623
|
+
:param _ElasticBandwidthOpenStatus: <p>弹性带宽开通状态<br>1:未开启弹性带宽;<br>16: 开启弹性带宽中;<br>32:开启弹性带宽成功;<br>33:关闭弹性带宽中;<br>34:关闭弹性带宽成功;<br>64:开启弹性带宽失败;<br>65:关闭弹性带宽失败;</p>
|
|
20604
20624
|
:type ElasticBandwidthOpenStatus: int
|
|
20605
|
-
:param _ClusterType: <p>集群类型<br
|
|
20625
|
+
:param _ClusterType: <p>集群类型<br>CLOUD_IDC IDC集群<br>CLOUD_CVM_SHARE CVM共享集群<br>CLOUD_CVM_YUNTI 云梯CVM集群<br>CLOUD_CVM CVM集群<br>CLOUD_CDC CDC集群<br>CLOUD_EKS_TSE EKS集群</p>
|
|
20606
20626
|
:type ClusterType: str
|
|
20607
20627
|
:param _FreePartitionNumber: <p>免费分区数量</p>
|
|
20608
20628
|
:type FreePartitionNumber: int
|
|
@@ -20614,9 +20634,9 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20614
20634
|
:type UncleanLeaderElectionEnable: int
|
|
20615
20635
|
:param _DeleteProtectionEnable: <p>实例删除保护开关: 1 开启 0 关闭</p>
|
|
20616
20636
|
:type DeleteProtectionEnable: int
|
|
20617
|
-
:param _RetentionBytes: <p>实例级别消息保留大小</p>单位:bytes
|
|
20637
|
+
:param _RetentionBytes: <p>实例级别消息保留大小</p><p>单位:bytes</p><p>默认值:-1</p>
|
|
20618
20638
|
:type RetentionBytes: int
|
|
20619
|
-
:param _TransactionalIdExpirationMs: <p>事务ID最大空闲时间,超时未提交的事务将被标记为过期</p>单位:ms
|
|
20639
|
+
:param _TransactionalIdExpirationMs: <p>事务ID最大空闲时间,超时未提交的事务将被标记为过期</p><p>单位:ms</p>
|
|
20620
20640
|
:type TransactionalIdExpirationMs: int
|
|
20621
20641
|
"""
|
|
20622
20642
|
self._InstanceId = None
|
|
@@ -20725,7 +20745,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20725
20745
|
|
|
20726
20746
|
@property
|
|
20727
20747
|
def Status(self):
|
|
20728
|
-
r"""<p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1:
|
|
20748
|
+
r"""<p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败</p>
|
|
20729
20749
|
:rtype: int
|
|
20730
20750
|
"""
|
|
20731
20751
|
return self._Status
|
|
@@ -20956,7 +20976,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20956
20976
|
|
|
20957
20977
|
@property
|
|
20958
20978
|
def InstanceType(self):
|
|
20959
|
-
r"""<p>实例类型
|
|
20979
|
+
r"""<p>实例类型 枚举列表:<br>profession :专业版<br>standards2 :标准版<br>premium :高级版<br>serverless :serverless版</p>
|
|
20960
20980
|
:rtype: str
|
|
20961
20981
|
"""
|
|
20962
20982
|
return self._InstanceType
|
|
@@ -21088,7 +21108,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21088
21108
|
|
|
21089
21109
|
@property
|
|
21090
21110
|
def ElasticBandwidthSwitch(self):
|
|
21091
|
-
r"""<p
|
|
21111
|
+
r"""<p>是否开启弹性带宽白名单<br>1:已开启弹性带宽白名单;<br>0:未开启弹性带宽白名单;</p>
|
|
21092
21112
|
:rtype: int
|
|
21093
21113
|
"""
|
|
21094
21114
|
return self._ElasticBandwidthSwitch
|
|
@@ -21099,7 +21119,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21099
21119
|
|
|
21100
21120
|
@property
|
|
21101
21121
|
def ElasticBandwidthOpenStatus(self):
|
|
21102
|
-
r"""<p
|
|
21122
|
+
r"""<p>弹性带宽开通状态<br>1:未开启弹性带宽;<br>16: 开启弹性带宽中;<br>32:开启弹性带宽成功;<br>33:关闭弹性带宽中;<br>34:关闭弹性带宽成功;<br>64:开启弹性带宽失败;<br>65:关闭弹性带宽失败;</p>
|
|
21103
21123
|
:rtype: int
|
|
21104
21124
|
"""
|
|
21105
21125
|
return self._ElasticBandwidthOpenStatus
|
|
@@ -21110,7 +21130,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21110
21130
|
|
|
21111
21131
|
@property
|
|
21112
21132
|
def ClusterType(self):
|
|
21113
|
-
r"""<p>集群类型<br
|
|
21133
|
+
r"""<p>集群类型<br>CLOUD_IDC IDC集群<br>CLOUD_CVM_SHARE CVM共享集群<br>CLOUD_CVM_YUNTI 云梯CVM集群<br>CLOUD_CVM CVM集群<br>CLOUD_CDC CDC集群<br>CLOUD_EKS_TSE EKS集群</p>
|
|
21114
21134
|
:rtype: str
|
|
21115
21135
|
"""
|
|
21116
21136
|
return self._ClusterType
|
|
@@ -21176,7 +21196,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21176
21196
|
|
|
21177
21197
|
@property
|
|
21178
21198
|
def RetentionBytes(self):
|
|
21179
|
-
r"""<p>实例级别消息保留大小</p>单位:bytes
|
|
21199
|
+
r"""<p>实例级别消息保留大小</p><p>单位:bytes</p><p>默认值:-1</p>
|
|
21180
21200
|
:rtype: int
|
|
21181
21201
|
"""
|
|
21182
21202
|
return self._RetentionBytes
|
|
@@ -21187,7 +21207,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21187
21207
|
|
|
21188
21208
|
@property
|
|
21189
21209
|
def TransactionalIdExpirationMs(self):
|
|
21190
|
-
r"""<p>事务ID最大空闲时间,超时未提交的事务将被标记为过期</p>单位:ms
|
|
21210
|
+
r"""<p>事务ID最大空闲时间,超时未提交的事务将被标记为过期</p><p>单位:ms</p>
|
|
21191
21211
|
:rtype: int
|
|
21192
21212
|
"""
|
|
21193
21213
|
return self._TransactionalIdExpirationMs
|
|
@@ -21442,7 +21462,7 @@ class InstanceDetail(AbstractModel):
|
|
|
21442
21462
|
:type Vport: str
|
|
21443
21463
|
:param _VipList: <p>虚拟IP列表</p>
|
|
21444
21464
|
:type VipList: list of VipEntity
|
|
21445
|
-
:param _Status: <p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1:
|
|
21465
|
+
:param _Status: <p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败</p>
|
|
21446
21466
|
:type Status: int
|
|
21447
21467
|
:param _Bandwidth: <p>实例带宽,单位Mbps</p>
|
|
21448
21468
|
:type Bandwidth: int
|
|
@@ -21496,7 +21516,7 @@ class InstanceDetail(AbstractModel):
|
|
|
21496
21516
|
:type ClusterType: str
|
|
21497
21517
|
:param _Features: <p>实例功能列表</p>
|
|
21498
21518
|
:type Features: list of str
|
|
21499
|
-
:param _RetentionBytes: <p>实例级别消息保留大小</p>单位:byte
|
|
21519
|
+
:param _RetentionBytes: <p>实例级别消息保留大小</p><p>单位:byte</p><p>默认值:-1</p><p>实例级别消息保留大小</p>
|
|
21500
21520
|
:type RetentionBytes: int
|
|
21501
21521
|
"""
|
|
21502
21522
|
self._InstanceId = None
|
|
@@ -21590,7 +21610,7 @@ class InstanceDetail(AbstractModel):
|
|
|
21590
21610
|
|
|
21591
21611
|
@property
|
|
21592
21612
|
def Status(self):
|
|
21593
|
-
r"""<p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1:
|
|
21613
|
+
r"""<p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败</p>
|
|
21594
21614
|
:rtype: int
|
|
21595
21615
|
"""
|
|
21596
21616
|
return self._Status
|
|
@@ -21887,7 +21907,7 @@ class InstanceDetail(AbstractModel):
|
|
|
21887
21907
|
|
|
21888
21908
|
@property
|
|
21889
21909
|
def RetentionBytes(self):
|
|
21890
|
-
r"""<p>实例级别消息保留大小</p>单位:byte
|
|
21910
|
+
r"""<p>实例级别消息保留大小</p><p>单位:byte</p><p>默认值:-1</p><p>实例级别消息保留大小</p>
|
|
21891
21911
|
:rtype: int
|
|
21892
21912
|
"""
|
|
21893
21913
|
return self._RetentionBytes
|
|
@@ -22455,6 +22475,57 @@ class InstanceVersion(AbstractModel):
|
|
|
22455
22475
|
|
|
22456
22476
|
|
|
22457
22477
|
|
|
22478
|
+
class IpWhitelistDTO(AbstractModel):
|
|
22479
|
+
r"""实例公网路由IP白名单列表对象
|
|
22480
|
+
|
|
22481
|
+
"""
|
|
22482
|
+
|
|
22483
|
+
def __init__(self):
|
|
22484
|
+
r"""
|
|
22485
|
+
:param _CidrBlock: <p>放通IP或网段</p>
|
|
22486
|
+
:type CidrBlock: str
|
|
22487
|
+
:param _PolicyDescription: <p>描述</p>
|
|
22488
|
+
:type PolicyDescription: str
|
|
22489
|
+
"""
|
|
22490
|
+
self._CidrBlock = None
|
|
22491
|
+
self._PolicyDescription = None
|
|
22492
|
+
|
|
22493
|
+
@property
|
|
22494
|
+
def CidrBlock(self):
|
|
22495
|
+
r"""<p>放通IP或网段</p>
|
|
22496
|
+
:rtype: str
|
|
22497
|
+
"""
|
|
22498
|
+
return self._CidrBlock
|
|
22499
|
+
|
|
22500
|
+
@CidrBlock.setter
|
|
22501
|
+
def CidrBlock(self, CidrBlock):
|
|
22502
|
+
self._CidrBlock = CidrBlock
|
|
22503
|
+
|
|
22504
|
+
@property
|
|
22505
|
+
def PolicyDescription(self):
|
|
22506
|
+
r"""<p>描述</p>
|
|
22507
|
+
:rtype: str
|
|
22508
|
+
"""
|
|
22509
|
+
return self._PolicyDescription
|
|
22510
|
+
|
|
22511
|
+
@PolicyDescription.setter
|
|
22512
|
+
def PolicyDescription(self, PolicyDescription):
|
|
22513
|
+
self._PolicyDescription = PolicyDescription
|
|
22514
|
+
|
|
22515
|
+
|
|
22516
|
+
def _deserialize(self, params):
|
|
22517
|
+
self._CidrBlock = params.get("CidrBlock")
|
|
22518
|
+
self._PolicyDescription = params.get("PolicyDescription")
|
|
22519
|
+
memeber_set = set(params.keys())
|
|
22520
|
+
for name, value in vars(self).items():
|
|
22521
|
+
property_name = name[1:]
|
|
22522
|
+
if property_name in memeber_set:
|
|
22523
|
+
memeber_set.remove(property_name)
|
|
22524
|
+
if len(memeber_set) > 0:
|
|
22525
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22526
|
+
|
|
22527
|
+
|
|
22528
|
+
|
|
22458
22529
|
class JgwOperateResponse(AbstractModel):
|
|
22459
22530
|
r"""操作型结果返回值
|
|
22460
22531
|
|
|
@@ -22462,11 +22533,11 @@ class JgwOperateResponse(AbstractModel):
|
|
|
22462
22533
|
|
|
22463
22534
|
def __init__(self):
|
|
22464
22535
|
r"""
|
|
22465
|
-
:param _ReturnCode:
|
|
22536
|
+
:param _ReturnCode: <p>返回的code,0为正常,非0为错误</p>
|
|
22466
22537
|
:type ReturnCode: str
|
|
22467
|
-
:param _ReturnMessage:
|
|
22538
|
+
:param _ReturnMessage: <p>成功消息</p>
|
|
22468
22539
|
:type ReturnMessage: str
|
|
22469
|
-
:param _Data:
|
|
22540
|
+
:param _Data: <p>操作型返回的Data数据,可能有flowId等</p>
|
|
22470
22541
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
22471
22542
|
:type Data: :class:`tencentcloud.ckafka.v20190819.models.OperateResponseData`
|
|
22472
22543
|
"""
|
|
@@ -22476,7 +22547,7 @@ class JgwOperateResponse(AbstractModel):
|
|
|
22476
22547
|
|
|
22477
22548
|
@property
|
|
22478
22549
|
def ReturnCode(self):
|
|
22479
|
-
r"""
|
|
22550
|
+
r"""<p>返回的code,0为正常,非0为错误</p>
|
|
22480
22551
|
:rtype: str
|
|
22481
22552
|
"""
|
|
22482
22553
|
return self._ReturnCode
|
|
@@ -22487,7 +22558,7 @@ class JgwOperateResponse(AbstractModel):
|
|
|
22487
22558
|
|
|
22488
22559
|
@property
|
|
22489
22560
|
def ReturnMessage(self):
|
|
22490
|
-
r"""
|
|
22561
|
+
r"""<p>成功消息</p>
|
|
22491
22562
|
:rtype: str
|
|
22492
22563
|
"""
|
|
22493
22564
|
return self._ReturnMessage
|
|
@@ -22498,7 +22569,7 @@ class JgwOperateResponse(AbstractModel):
|
|
|
22498
22569
|
|
|
22499
22570
|
@property
|
|
22500
22571
|
def Data(self):
|
|
22501
|
-
r"""
|
|
22572
|
+
r"""<p>操作型返回的Data数据,可能有flowId等</p>
|
|
22502
22573
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
22503
22574
|
:rtype: :class:`tencentcloud.ckafka.v20190819.models.OperateResponseData`
|
|
22504
22575
|
"""
|
|
@@ -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.68
|
|
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.68
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.68
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.51
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|