tencentcloud-sdk-python-ckafka 3.1.56__tar.gz → 3.1.69__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.56 → tencentcloud_sdk_python_ckafka-3.1.69}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/setup.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud/ckafka/v20190819/models.py +109 -34
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ckafka-3.1.69/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ckafka-3.1.56/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/README.rst +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud/ckafka/__init__.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud/ckafka/v20190819/ckafka_client.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud/ckafka/v20190819/ckafka_client_async.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud/ckafka/v20190819/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ckafka-3.1.56 → tencentcloud_sdk_python_ckafka-3.1.69}/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.69
|
|
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.69
|
|
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.69,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ckafka SDK for Python',
|
|
@@ -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:]
|
|
@@ -10221,6 +10241,8 @@ class DescribeACLRequest(AbstractModel):
|
|
|
10221
10241
|
|
|
10222
10242
|
@property
|
|
10223
10243
|
def SearchWord(self):
|
|
10244
|
+
warnings.warn("parameter `SearchWord` is deprecated", DeprecationWarning)
|
|
10245
|
+
|
|
10224
10246
|
r"""关键字匹配
|
|
10225
10247
|
:rtype: str
|
|
10226
10248
|
"""
|
|
@@ -10228,6 +10250,8 @@ class DescribeACLRequest(AbstractModel):
|
|
|
10228
10250
|
|
|
10229
10251
|
@SearchWord.setter
|
|
10230
10252
|
def SearchWord(self, SearchWord):
|
|
10253
|
+
warnings.warn("parameter `SearchWord` is deprecated", DeprecationWarning)
|
|
10254
|
+
|
|
10231
10255
|
self._SearchWord = SearchWord
|
|
10232
10256
|
|
|
10233
10257
|
|
|
@@ -20532,7 +20556,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20532
20556
|
:type Vip: str
|
|
20533
20557
|
:param _Vport: <p>虚拟端口</p>
|
|
20534
20558
|
:type Vport: str
|
|
20535
|
-
:param _Status: <p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1:
|
|
20559
|
+
:param _Status: <p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败</p>
|
|
20536
20560
|
:type Status: int
|
|
20537
20561
|
:param _Bandwidth: <p>实例带宽,单位:Mbps</p>
|
|
20538
20562
|
:type Bandwidth: int
|
|
@@ -20574,7 +20598,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20574
20598
|
:type MaxGroupNum: int
|
|
20575
20599
|
:param _Cvm: <p>售卖类型,0:标准版,1:专业版</p>
|
|
20576
20600
|
:type Cvm: int
|
|
20577
|
-
:param _InstanceType: <p>实例类型
|
|
20601
|
+
:param _InstanceType: <p>实例类型 枚举列表:<br>profession :专业版<br>standards2 :标准版<br>premium :高级版<br>serverless :serverless版</p>
|
|
20578
20602
|
:type InstanceType: str
|
|
20579
20603
|
:param _Features: <p>表示该实例支持的特性。FEATURE_SUBNET_ACL:表示acl策略支持设置子网。</p>
|
|
20580
20604
|
:type Features: list of str
|
|
@@ -20598,11 +20622,11 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20598
20622
|
:type MaxMessageByte: int
|
|
20599
20623
|
:param _InstanceChargeType: <p>实例计费类型 POSTPAID_BY_HOUR 按小时付费; PREPAID 包年包月</p>
|
|
20600
20624
|
:type InstanceChargeType: str
|
|
20601
|
-
:param _ElasticBandwidthSwitch: <p
|
|
20625
|
+
:param _ElasticBandwidthSwitch: <p>是否开启弹性带宽白名单<br>1:已开启弹性带宽白名单;<br>0:未开启弹性带宽白名单;</p>
|
|
20602
20626
|
:type ElasticBandwidthSwitch: int
|
|
20603
|
-
:param _ElasticBandwidthOpenStatus: <p
|
|
20627
|
+
:param _ElasticBandwidthOpenStatus: <p>弹性带宽开通状态<br>1:未开启弹性带宽;<br>16: 开启弹性带宽中;<br>32:开启弹性带宽成功;<br>33:关闭弹性带宽中;<br>34:关闭弹性带宽成功;<br>64:开启弹性带宽失败;<br>65:关闭弹性带宽失败;</p>
|
|
20604
20628
|
:type ElasticBandwidthOpenStatus: int
|
|
20605
|
-
:param _ClusterType: <p>集群类型<br
|
|
20629
|
+
: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
20630
|
:type ClusterType: str
|
|
20607
20631
|
:param _FreePartitionNumber: <p>免费分区数量</p>
|
|
20608
20632
|
:type FreePartitionNumber: int
|
|
@@ -20614,9 +20638,9 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20614
20638
|
:type UncleanLeaderElectionEnable: int
|
|
20615
20639
|
:param _DeleteProtectionEnable: <p>实例删除保护开关: 1 开启 0 关闭</p>
|
|
20616
20640
|
:type DeleteProtectionEnable: int
|
|
20617
|
-
:param _RetentionBytes: <p>实例级别消息保留大小</p>单位:bytes
|
|
20641
|
+
:param _RetentionBytes: <p>实例级别消息保留大小</p><p>单位:bytes</p><p>默认值:-1</p>
|
|
20618
20642
|
:type RetentionBytes: int
|
|
20619
|
-
:param _TransactionalIdExpirationMs: <p>事务ID最大空闲时间,超时未提交的事务将被标记为过期</p>单位:ms
|
|
20643
|
+
:param _TransactionalIdExpirationMs: <p>事务ID最大空闲时间,超时未提交的事务将被标记为过期</p><p>单位:ms</p>
|
|
20620
20644
|
:type TransactionalIdExpirationMs: int
|
|
20621
20645
|
"""
|
|
20622
20646
|
self._InstanceId = None
|
|
@@ -20725,7 +20749,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20725
20749
|
|
|
20726
20750
|
@property
|
|
20727
20751
|
def Status(self):
|
|
20728
|
-
r"""<p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1:
|
|
20752
|
+
r"""<p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败</p>
|
|
20729
20753
|
:rtype: int
|
|
20730
20754
|
"""
|
|
20731
20755
|
return self._Status
|
|
@@ -20956,7 +20980,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
20956
20980
|
|
|
20957
20981
|
@property
|
|
20958
20982
|
def InstanceType(self):
|
|
20959
|
-
r"""<p>实例类型
|
|
20983
|
+
r"""<p>实例类型 枚举列表:<br>profession :专业版<br>standards2 :标准版<br>premium :高级版<br>serverless :serverless版</p>
|
|
20960
20984
|
:rtype: str
|
|
20961
20985
|
"""
|
|
20962
20986
|
return self._InstanceType
|
|
@@ -21088,7 +21112,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21088
21112
|
|
|
21089
21113
|
@property
|
|
21090
21114
|
def ElasticBandwidthSwitch(self):
|
|
21091
|
-
r"""<p
|
|
21115
|
+
r"""<p>是否开启弹性带宽白名单<br>1:已开启弹性带宽白名单;<br>0:未开启弹性带宽白名单;</p>
|
|
21092
21116
|
:rtype: int
|
|
21093
21117
|
"""
|
|
21094
21118
|
return self._ElasticBandwidthSwitch
|
|
@@ -21099,7 +21123,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21099
21123
|
|
|
21100
21124
|
@property
|
|
21101
21125
|
def ElasticBandwidthOpenStatus(self):
|
|
21102
|
-
r"""<p
|
|
21126
|
+
r"""<p>弹性带宽开通状态<br>1:未开启弹性带宽;<br>16: 开启弹性带宽中;<br>32:开启弹性带宽成功;<br>33:关闭弹性带宽中;<br>34:关闭弹性带宽成功;<br>64:开启弹性带宽失败;<br>65:关闭弹性带宽失败;</p>
|
|
21103
21127
|
:rtype: int
|
|
21104
21128
|
"""
|
|
21105
21129
|
return self._ElasticBandwidthOpenStatus
|
|
@@ -21110,7 +21134,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21110
21134
|
|
|
21111
21135
|
@property
|
|
21112
21136
|
def ClusterType(self):
|
|
21113
|
-
r"""<p>集群类型<br
|
|
21137
|
+
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
21138
|
:rtype: str
|
|
21115
21139
|
"""
|
|
21116
21140
|
return self._ClusterType
|
|
@@ -21176,7 +21200,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21176
21200
|
|
|
21177
21201
|
@property
|
|
21178
21202
|
def RetentionBytes(self):
|
|
21179
|
-
r"""<p>实例级别消息保留大小</p>单位:bytes
|
|
21203
|
+
r"""<p>实例级别消息保留大小</p><p>单位:bytes</p><p>默认值:-1</p>
|
|
21180
21204
|
:rtype: int
|
|
21181
21205
|
"""
|
|
21182
21206
|
return self._RetentionBytes
|
|
@@ -21187,7 +21211,7 @@ class InstanceAttributesResponse(AbstractModel):
|
|
|
21187
21211
|
|
|
21188
21212
|
@property
|
|
21189
21213
|
def TransactionalIdExpirationMs(self):
|
|
21190
|
-
r"""<p>事务ID最大空闲时间,超时未提交的事务将被标记为过期</p>单位:ms
|
|
21214
|
+
r"""<p>事务ID最大空闲时间,超时未提交的事务将被标记为过期</p><p>单位:ms</p>
|
|
21191
21215
|
:rtype: int
|
|
21192
21216
|
"""
|
|
21193
21217
|
return self._TransactionalIdExpirationMs
|
|
@@ -21442,7 +21466,7 @@ class InstanceDetail(AbstractModel):
|
|
|
21442
21466
|
:type Vport: str
|
|
21443
21467
|
:param _VipList: <p>虚拟IP列表</p>
|
|
21444
21468
|
:type VipList: list of VipEntity
|
|
21445
|
-
:param _Status: <p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1:
|
|
21469
|
+
:param _Status: <p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败</p>
|
|
21446
21470
|
:type Status: int
|
|
21447
21471
|
:param _Bandwidth: <p>实例带宽,单位Mbps</p>
|
|
21448
21472
|
:type Bandwidth: int
|
|
@@ -21496,7 +21520,7 @@ class InstanceDetail(AbstractModel):
|
|
|
21496
21520
|
:type ClusterType: str
|
|
21497
21521
|
:param _Features: <p>实例功能列表</p>
|
|
21498
21522
|
:type Features: list of str
|
|
21499
|
-
:param _RetentionBytes: <p>实例级别消息保留大小</p>单位:byte
|
|
21523
|
+
:param _RetentionBytes: <p>实例级别消息保留大小</p><p>单位:byte</p><p>默认值:-1</p><p>实例级别消息保留大小</p>
|
|
21500
21524
|
:type RetentionBytes: int
|
|
21501
21525
|
"""
|
|
21502
21526
|
self._InstanceId = None
|
|
@@ -21590,7 +21614,7 @@ class InstanceDetail(AbstractModel):
|
|
|
21590
21614
|
|
|
21591
21615
|
@property
|
|
21592
21616
|
def Status(self):
|
|
21593
|
-
r"""<p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1:
|
|
21617
|
+
r"""<p>实例的状态。0: 创建中,1: 运行中,2: 删除中, 3: 已删除, 5: 隔离中, 7: 升级中, -1: 创建失败</p>
|
|
21594
21618
|
:rtype: int
|
|
21595
21619
|
"""
|
|
21596
21620
|
return self._Status
|
|
@@ -21887,7 +21911,7 @@ class InstanceDetail(AbstractModel):
|
|
|
21887
21911
|
|
|
21888
21912
|
@property
|
|
21889
21913
|
def RetentionBytes(self):
|
|
21890
|
-
r"""<p>实例级别消息保留大小</p>单位:byte
|
|
21914
|
+
r"""<p>实例级别消息保留大小</p><p>单位:byte</p><p>默认值:-1</p><p>实例级别消息保留大小</p>
|
|
21891
21915
|
:rtype: int
|
|
21892
21916
|
"""
|
|
21893
21917
|
return self._RetentionBytes
|
|
@@ -22455,6 +22479,57 @@ class InstanceVersion(AbstractModel):
|
|
|
22455
22479
|
|
|
22456
22480
|
|
|
22457
22481
|
|
|
22482
|
+
class IpWhitelistDTO(AbstractModel):
|
|
22483
|
+
r"""实例公网路由IP白名单列表对象
|
|
22484
|
+
|
|
22485
|
+
"""
|
|
22486
|
+
|
|
22487
|
+
def __init__(self):
|
|
22488
|
+
r"""
|
|
22489
|
+
:param _CidrBlock: <p>放通IP或网段</p>
|
|
22490
|
+
:type CidrBlock: str
|
|
22491
|
+
:param _PolicyDescription: <p>描述</p>
|
|
22492
|
+
:type PolicyDescription: str
|
|
22493
|
+
"""
|
|
22494
|
+
self._CidrBlock = None
|
|
22495
|
+
self._PolicyDescription = None
|
|
22496
|
+
|
|
22497
|
+
@property
|
|
22498
|
+
def CidrBlock(self):
|
|
22499
|
+
r"""<p>放通IP或网段</p>
|
|
22500
|
+
:rtype: str
|
|
22501
|
+
"""
|
|
22502
|
+
return self._CidrBlock
|
|
22503
|
+
|
|
22504
|
+
@CidrBlock.setter
|
|
22505
|
+
def CidrBlock(self, CidrBlock):
|
|
22506
|
+
self._CidrBlock = CidrBlock
|
|
22507
|
+
|
|
22508
|
+
@property
|
|
22509
|
+
def PolicyDescription(self):
|
|
22510
|
+
r"""<p>描述</p>
|
|
22511
|
+
:rtype: str
|
|
22512
|
+
"""
|
|
22513
|
+
return self._PolicyDescription
|
|
22514
|
+
|
|
22515
|
+
@PolicyDescription.setter
|
|
22516
|
+
def PolicyDescription(self, PolicyDescription):
|
|
22517
|
+
self._PolicyDescription = PolicyDescription
|
|
22518
|
+
|
|
22519
|
+
|
|
22520
|
+
def _deserialize(self, params):
|
|
22521
|
+
self._CidrBlock = params.get("CidrBlock")
|
|
22522
|
+
self._PolicyDescription = params.get("PolicyDescription")
|
|
22523
|
+
memeber_set = set(params.keys())
|
|
22524
|
+
for name, value in vars(self).items():
|
|
22525
|
+
property_name = name[1:]
|
|
22526
|
+
if property_name in memeber_set:
|
|
22527
|
+
memeber_set.remove(property_name)
|
|
22528
|
+
if len(memeber_set) > 0:
|
|
22529
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22530
|
+
|
|
22531
|
+
|
|
22532
|
+
|
|
22458
22533
|
class JgwOperateResponse(AbstractModel):
|
|
22459
22534
|
r"""操作型结果返回值
|
|
22460
22535
|
|
|
@@ -22462,11 +22537,11 @@ class JgwOperateResponse(AbstractModel):
|
|
|
22462
22537
|
|
|
22463
22538
|
def __init__(self):
|
|
22464
22539
|
r"""
|
|
22465
|
-
:param _ReturnCode:
|
|
22540
|
+
:param _ReturnCode: <p>返回的code,0为正常,非0为错误</p>
|
|
22466
22541
|
:type ReturnCode: str
|
|
22467
|
-
:param _ReturnMessage:
|
|
22542
|
+
:param _ReturnMessage: <p>成功消息</p>
|
|
22468
22543
|
:type ReturnMessage: str
|
|
22469
|
-
:param _Data:
|
|
22544
|
+
:param _Data: <p>操作型返回的Data数据,可能有flowId等</p>
|
|
22470
22545
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
22471
22546
|
:type Data: :class:`tencentcloud.ckafka.v20190819.models.OperateResponseData`
|
|
22472
22547
|
"""
|
|
@@ -22476,7 +22551,7 @@ class JgwOperateResponse(AbstractModel):
|
|
|
22476
22551
|
|
|
22477
22552
|
@property
|
|
22478
22553
|
def ReturnCode(self):
|
|
22479
|
-
r"""
|
|
22554
|
+
r"""<p>返回的code,0为正常,非0为错误</p>
|
|
22480
22555
|
:rtype: str
|
|
22481
22556
|
"""
|
|
22482
22557
|
return self._ReturnCode
|
|
@@ -22487,7 +22562,7 @@ class JgwOperateResponse(AbstractModel):
|
|
|
22487
22562
|
|
|
22488
22563
|
@property
|
|
22489
22564
|
def ReturnMessage(self):
|
|
22490
|
-
r"""
|
|
22565
|
+
r"""<p>成功消息</p>
|
|
22491
22566
|
:rtype: str
|
|
22492
22567
|
"""
|
|
22493
22568
|
return self._ReturnMessage
|
|
@@ -22498,7 +22573,7 @@ class JgwOperateResponse(AbstractModel):
|
|
|
22498
22573
|
|
|
22499
22574
|
@property
|
|
22500
22575
|
def Data(self):
|
|
22501
|
-
r"""
|
|
22576
|
+
r"""<p>操作型返回的Data数据,可能有flowId等</p>
|
|
22502
22577
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
22503
22578
|
:rtype: :class:`tencentcloud.ckafka.v20190819.models.OperateResponseData`
|
|
22504
22579
|
"""
|
|
@@ -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.69
|
|
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.69
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.69
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.56
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|