tencentcloud-sdk-python-clb 3.1.157__tar.gz → 3.1.161__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_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud/clb/v20180317/models.py +46 -32
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.161/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.157/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.157 → tencentcloud_sdk_python_clb-3.1.161}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.161
|
|
4
4
|
Summary: Tencent Cloud Clb 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.161
|
|
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-clb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.161,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -1786,20 +1786,19 @@ class BatchTarget(AbstractModel):
|
|
|
1786
1786
|
|
|
1787
1787
|
def __init__(self):
|
|
1788
1788
|
r"""
|
|
1789
|
-
:param _ListenerId:
|
|
1789
|
+
:param _ListenerId: <p>监听器 ID。</p>
|
|
1790
1790
|
:type ListenerId: str
|
|
1791
|
-
:param _Port:
|
|
1791
|
+
:param _Port: <p>绑定端口。</p>
|
|
1792
1792
|
:type Port: int
|
|
1793
|
-
:param _InstanceId:
|
|
1793
|
+
:param _InstanceId: <p>子机 ID。表示绑定主网卡主 IP。</p>
|
|
1794
1794
|
:type InstanceId: str
|
|
1795
|
-
:param _EniIp:
|
|
1796
|
-
注意:参数 InstanceId、EniIp 只能传入一个且必须传入一个。如果绑定双栈IPV6子机,必须传该参数。
|
|
1795
|
+
:param _EniIp: <p>绑定 IP 时需要传入此参数,支持弹性网卡的 IP 和其他内网 IP,如果是弹性网卡则必须先绑定至CVM,然后才能绑定到负载均衡实例。注意:参数 InstanceId、EniIp 只能传入一个且必须传入一个。如果绑定双栈IPV6子机,必须传该参数。如果是跨地域绑定,则必须传该参数,不支持传InstanceId参数。</p>
|
|
1797
1796
|
:type EniIp: str
|
|
1798
|
-
:param _Weight:
|
|
1797
|
+
:param _Weight: <p>子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。</p>
|
|
1799
1798
|
:type Weight: int
|
|
1800
|
-
:param _LocationId:
|
|
1799
|
+
:param _LocationId: <p>七层规则 ID。7层负载均衡该参数必填</p>
|
|
1801
1800
|
:type LocationId: str
|
|
1802
|
-
:param _Tag:
|
|
1801
|
+
:param _Tag: <p>标签。</p>
|
|
1803
1802
|
:type Tag: str
|
|
1804
1803
|
"""
|
|
1805
1804
|
self._ListenerId = None
|
|
@@ -1812,7 +1811,7 @@ class BatchTarget(AbstractModel):
|
|
|
1812
1811
|
|
|
1813
1812
|
@property
|
|
1814
1813
|
def ListenerId(self):
|
|
1815
|
-
r"""
|
|
1814
|
+
r"""<p>监听器 ID。</p>
|
|
1816
1815
|
:rtype: str
|
|
1817
1816
|
"""
|
|
1818
1817
|
return self._ListenerId
|
|
@@ -1823,7 +1822,7 @@ class BatchTarget(AbstractModel):
|
|
|
1823
1822
|
|
|
1824
1823
|
@property
|
|
1825
1824
|
def Port(self):
|
|
1826
|
-
r"""
|
|
1825
|
+
r"""<p>绑定端口。</p>
|
|
1827
1826
|
:rtype: int
|
|
1828
1827
|
"""
|
|
1829
1828
|
return self._Port
|
|
@@ -1834,7 +1833,7 @@ class BatchTarget(AbstractModel):
|
|
|
1834
1833
|
|
|
1835
1834
|
@property
|
|
1836
1835
|
def InstanceId(self):
|
|
1837
|
-
r"""
|
|
1836
|
+
r"""<p>子机 ID。表示绑定主网卡主 IP。</p>
|
|
1838
1837
|
:rtype: str
|
|
1839
1838
|
"""
|
|
1840
1839
|
return self._InstanceId
|
|
@@ -1845,8 +1844,7 @@ class BatchTarget(AbstractModel):
|
|
|
1845
1844
|
|
|
1846
1845
|
@property
|
|
1847
1846
|
def EniIp(self):
|
|
1848
|
-
r"""
|
|
1849
|
-
注意:参数 InstanceId、EniIp 只能传入一个且必须传入一个。如果绑定双栈IPV6子机,必须传该参数。
|
|
1847
|
+
r"""<p>绑定 IP 时需要传入此参数,支持弹性网卡的 IP 和其他内网 IP,如果是弹性网卡则必须先绑定至CVM,然后才能绑定到负载均衡实例。注意:参数 InstanceId、EniIp 只能传入一个且必须传入一个。如果绑定双栈IPV6子机,必须传该参数。如果是跨地域绑定,则必须传该参数,不支持传InstanceId参数。</p>
|
|
1850
1848
|
:rtype: str
|
|
1851
1849
|
"""
|
|
1852
1850
|
return self._EniIp
|
|
@@ -1857,7 +1855,7 @@ class BatchTarget(AbstractModel):
|
|
|
1857
1855
|
|
|
1858
1856
|
@property
|
|
1859
1857
|
def Weight(self):
|
|
1860
|
-
r"""
|
|
1858
|
+
r"""<p>子机权重,范围[0, 100]。绑定时如果不存在,则默认为10。</p>
|
|
1861
1859
|
:rtype: int
|
|
1862
1860
|
"""
|
|
1863
1861
|
return self._Weight
|
|
@@ -1868,7 +1866,7 @@ class BatchTarget(AbstractModel):
|
|
|
1868
1866
|
|
|
1869
1867
|
@property
|
|
1870
1868
|
def LocationId(self):
|
|
1871
|
-
r"""
|
|
1869
|
+
r"""<p>七层规则 ID。7层负载均衡该参数必填</p>
|
|
1872
1870
|
:rtype: str
|
|
1873
1871
|
"""
|
|
1874
1872
|
return self._LocationId
|
|
@@ -1879,7 +1877,7 @@ class BatchTarget(AbstractModel):
|
|
|
1879
1877
|
|
|
1880
1878
|
@property
|
|
1881
1879
|
def Tag(self):
|
|
1882
|
-
r"""
|
|
1880
|
+
r"""<p>标签。</p>
|
|
1883
1881
|
:rtype: str
|
|
1884
1882
|
"""
|
|
1885
1883
|
return self._Tag
|
|
@@ -8508,28 +8506,29 @@ class CreateTopicRequest(AbstractModel):
|
|
|
8508
8506
|
|
|
8509
8507
|
def __init__(self):
|
|
8510
8508
|
r"""
|
|
8511
|
-
:param _TopicName:
|
|
8509
|
+
:param _TopicName: <p>日志主题的名称。</p>
|
|
8512
8510
|
:type TopicName: str
|
|
8513
|
-
:param _PartitionCount:
|
|
8511
|
+
:param _PartitionCount: <p>主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。</p>
|
|
8514
8512
|
:type PartitionCount: int
|
|
8515
|
-
:param _TopicType:
|
|
8513
|
+
:param _TopicType: <p>日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。</p>
|
|
8516
8514
|
:type TopicType: str
|
|
8517
|
-
:param _Period:
|
|
8518
|
-
- 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
|
|
8519
|
-
- 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
|
|
8515
|
+
:param _Period: <p>存储时间,单位天,默认为 30。</p><ul><li>日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。</li><li>日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。</li></ul>
|
|
8520
8516
|
:type Period: int
|
|
8521
|
-
:param _StorageType:
|
|
8517
|
+
:param _StorageType: <p>日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。</p>
|
|
8522
8518
|
:type StorageType: str
|
|
8519
|
+
:param _Tags: <p>标签</p><p>最多支持一次传入20个</p>
|
|
8520
|
+
:type Tags: list of TagInfo
|
|
8523
8521
|
"""
|
|
8524
8522
|
self._TopicName = None
|
|
8525
8523
|
self._PartitionCount = None
|
|
8526
8524
|
self._TopicType = None
|
|
8527
8525
|
self._Period = None
|
|
8528
8526
|
self._StorageType = None
|
|
8527
|
+
self._Tags = None
|
|
8529
8528
|
|
|
8530
8529
|
@property
|
|
8531
8530
|
def TopicName(self):
|
|
8532
|
-
r"""
|
|
8531
|
+
r"""<p>日志主题的名称。</p>
|
|
8533
8532
|
:rtype: str
|
|
8534
8533
|
"""
|
|
8535
8534
|
return self._TopicName
|
|
@@ -8540,7 +8539,7 @@ class CreateTopicRequest(AbstractModel):
|
|
|
8540
8539
|
|
|
8541
8540
|
@property
|
|
8542
8541
|
def PartitionCount(self):
|
|
8543
|
-
r"""
|
|
8542
|
+
r"""<p>主题分区Partition的数量,不传参默认创建1个,最大创建允许10个,分裂/合并操作会改变分区数量,整体上限50个。</p>
|
|
8544
8543
|
:rtype: int
|
|
8545
8544
|
"""
|
|
8546
8545
|
return self._PartitionCount
|
|
@@ -8551,7 +8550,7 @@ class CreateTopicRequest(AbstractModel):
|
|
|
8551
8550
|
|
|
8552
8551
|
@property
|
|
8553
8552
|
def TopicType(self):
|
|
8554
|
-
r"""
|
|
8553
|
+
r"""<p>日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。</p>
|
|
8555
8554
|
:rtype: str
|
|
8556
8555
|
"""
|
|
8557
8556
|
return self._TopicType
|
|
@@ -8562,9 +8561,7 @@ class CreateTopicRequest(AbstractModel):
|
|
|
8562
8561
|
|
|
8563
8562
|
@property
|
|
8564
8563
|
def Period(self):
|
|
8565
|
-
r"""
|
|
8566
|
-
- 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
|
|
8567
|
-
- 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
|
|
8564
|
+
r"""<p>存储时间,单位天,默认为 30。</p><ul><li>日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。</li><li>日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。</li></ul>
|
|
8568
8565
|
:rtype: int
|
|
8569
8566
|
"""
|
|
8570
8567
|
return self._Period
|
|
@@ -8575,7 +8572,7 @@ class CreateTopicRequest(AbstractModel):
|
|
|
8575
8572
|
|
|
8576
8573
|
@property
|
|
8577
8574
|
def StorageType(self):
|
|
8578
|
-
r"""
|
|
8575
|
+
r"""<p>日志主题的存储类型,可选值 HOT(标准存储),COLD(低频存储);默认为HOT。</p>
|
|
8579
8576
|
:rtype: str
|
|
8580
8577
|
"""
|
|
8581
8578
|
return self._StorageType
|
|
@@ -8584,6 +8581,17 @@ class CreateTopicRequest(AbstractModel):
|
|
|
8584
8581
|
def StorageType(self, StorageType):
|
|
8585
8582
|
self._StorageType = StorageType
|
|
8586
8583
|
|
|
8584
|
+
@property
|
|
8585
|
+
def Tags(self):
|
|
8586
|
+
r"""<p>标签</p><p>最多支持一次传入20个</p>
|
|
8587
|
+
:rtype: list of TagInfo
|
|
8588
|
+
"""
|
|
8589
|
+
return self._Tags
|
|
8590
|
+
|
|
8591
|
+
@Tags.setter
|
|
8592
|
+
def Tags(self, Tags):
|
|
8593
|
+
self._Tags = Tags
|
|
8594
|
+
|
|
8587
8595
|
|
|
8588
8596
|
def _deserialize(self, params):
|
|
8589
8597
|
self._TopicName = params.get("TopicName")
|
|
@@ -8591,6 +8599,12 @@ class CreateTopicRequest(AbstractModel):
|
|
|
8591
8599
|
self._TopicType = params.get("TopicType")
|
|
8592
8600
|
self._Period = params.get("Period")
|
|
8593
8601
|
self._StorageType = params.get("StorageType")
|
|
8602
|
+
if params.get("Tags") is not None:
|
|
8603
|
+
self._Tags = []
|
|
8604
|
+
for item in params.get("Tags"):
|
|
8605
|
+
obj = TagInfo()
|
|
8606
|
+
obj._deserialize(item)
|
|
8607
|
+
self._Tags.append(obj)
|
|
8594
8608
|
memeber_set = set(params.keys())
|
|
8595
8609
|
for name, value in vars(self).items():
|
|
8596
8610
|
property_name = name[1:]
|
|
@@ -8608,7 +8622,7 @@ class CreateTopicResponse(AbstractModel):
|
|
|
8608
8622
|
|
|
8609
8623
|
def __init__(self):
|
|
8610
8624
|
r"""
|
|
8611
|
-
:param _TopicId:
|
|
8625
|
+
:param _TopicId: <p>日志主题的 ID。</p>
|
|
8612
8626
|
:type TopicId: str
|
|
8613
8627
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8614
8628
|
:type RequestId: str
|
|
@@ -8618,7 +8632,7 @@ class CreateTopicResponse(AbstractModel):
|
|
|
8618
8632
|
|
|
8619
8633
|
@property
|
|
8620
8634
|
def TopicId(self):
|
|
8621
|
-
r"""
|
|
8635
|
+
r"""<p>日志主题的 ID。</p>
|
|
8622
8636
|
:rtype: str
|
|
8623
8637
|
"""
|
|
8624
8638
|
return self._TopicId
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.161
|
|
4
4
|
Summary: Tencent Cloud Clb 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.161
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
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
|