tencentcloud-sdk-python-tione 3.0.1341__tar.gz → 3.0.1343__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.
Files changed (20) hide show
  1. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/setup.py +1 -1
  3. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/v20211111/models.py +90 -0
  5. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-tione-3.0.1343/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-tione-3.0.1341/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/README.rst +0 -0
  9. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/__init__.py +0 -0
  11. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/v20191022/__init__.py +0 -0
  12. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/v20191022/models.py +0 -0
  14. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/v20191022/tione_client.py +0 -0
  15. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/v20211111/__init__.py +0 -0
  16. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/v20211111/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud/tione/v20211111/tione_client.py +0 -0
  18. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-tione-3.0.1341 → tencentcloud-sdk-python-tione-3.0.1343}/tencentcloud_sdk_python_tione.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-tione
3
- Version: 3.0.1341
3
+ Version: 3.0.1343
4
4
  Summary: Tencent Cloud Tione SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-tione',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1341"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1343"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Tione SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1341'
17
+ __version__ = '3.0.1343'
@@ -1167,6 +1167,10 @@ HYBRID_PAID:
1167
1167
  :type DeployType: str
1168
1168
  :param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
1169
1169
  :type InstancePerReplicas: int
1170
+ :param _TerminationGracePeriodSeconds: 30
1171
+ :type TerminationGracePeriodSeconds: int
1172
+ :param _PreStopCommand: ["sleep","60"]
1173
+ :type PreStopCommand: list of str
1170
1174
  """
1171
1175
  self._ServiceGroupId = None
1172
1176
  self._ServiceGroupName = None
@@ -1203,6 +1207,8 @@ HYBRID_PAID:
1203
1207
  self._ServicePort = None
1204
1208
  self._DeployType = None
1205
1209
  self._InstancePerReplicas = None
1210
+ self._TerminationGracePeriodSeconds = None
1211
+ self._PreStopCommand = None
1206
1212
 
1207
1213
  @property
1208
1214
  def ServiceGroupId(self):
@@ -1612,6 +1618,28 @@ HYBRID_PAID:
1612
1618
  def InstancePerReplicas(self, InstancePerReplicas):
1613
1619
  self._InstancePerReplicas = InstancePerReplicas
1614
1620
 
1621
+ @property
1622
+ def TerminationGracePeriodSeconds(self):
1623
+ """30
1624
+ :rtype: int
1625
+ """
1626
+ return self._TerminationGracePeriodSeconds
1627
+
1628
+ @TerminationGracePeriodSeconds.setter
1629
+ def TerminationGracePeriodSeconds(self, TerminationGracePeriodSeconds):
1630
+ self._TerminationGracePeriodSeconds = TerminationGracePeriodSeconds
1631
+
1632
+ @property
1633
+ def PreStopCommand(self):
1634
+ """["sleep","60"]
1635
+ :rtype: list of str
1636
+ """
1637
+ return self._PreStopCommand
1638
+
1639
+ @PreStopCommand.setter
1640
+ def PreStopCommand(self, PreStopCommand):
1641
+ self._PreStopCommand = PreStopCommand
1642
+
1615
1643
 
1616
1644
  def _deserialize(self, params):
1617
1645
  self._ServiceGroupId = params.get("ServiceGroupId")
@@ -1682,6 +1710,8 @@ HYBRID_PAID:
1682
1710
  self._ServicePort = params.get("ServicePort")
1683
1711
  self._DeployType = params.get("DeployType")
1684
1712
  self._InstancePerReplicas = params.get("InstancePerReplicas")
1713
+ self._TerminationGracePeriodSeconds = params.get("TerminationGracePeriodSeconds")
1714
+ self._PreStopCommand = params.get("PreStopCommand")
1685
1715
  memeber_set = set(params.keys())
1686
1716
  for name, value in vars(self).items():
1687
1717
  property_name = name[1:]
@@ -11542,6 +11572,10 @@ HYBRID_PAID:
11542
11572
  :type ServicePort: int
11543
11573
  :param _InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
11544
11574
  :type InstancePerReplicas: int
11575
+ :param _TerminationGracePeriodSeconds: 30
11576
+ :type TerminationGracePeriodSeconds: int
11577
+ :param _PreStopCommand: ["sleep","60"]
11578
+ :type PreStopCommand: list of str
11545
11579
  """
11546
11580
  self._ServiceId = None
11547
11581
  self._ModelInfo = None
@@ -11569,6 +11603,8 @@ HYBRID_PAID:
11569
11603
  self._CommandBase64 = None
11570
11604
  self._ServicePort = None
11571
11605
  self._InstancePerReplicas = None
11606
+ self._TerminationGracePeriodSeconds = None
11607
+ self._PreStopCommand = None
11572
11608
 
11573
11609
  @property
11574
11610
  def ServiceId(self):
@@ -11879,6 +11915,28 @@ HYBRID_PAID:
11879
11915
  def InstancePerReplicas(self, InstancePerReplicas):
11880
11916
  self._InstancePerReplicas = InstancePerReplicas
11881
11917
 
11918
+ @property
11919
+ def TerminationGracePeriodSeconds(self):
11920
+ """30
11921
+ :rtype: int
11922
+ """
11923
+ return self._TerminationGracePeriodSeconds
11924
+
11925
+ @TerminationGracePeriodSeconds.setter
11926
+ def TerminationGracePeriodSeconds(self, TerminationGracePeriodSeconds):
11927
+ self._TerminationGracePeriodSeconds = TerminationGracePeriodSeconds
11928
+
11929
+ @property
11930
+ def PreStopCommand(self):
11931
+ """["sleep","60"]
11932
+ :rtype: list of str
11933
+ """
11934
+ return self._PreStopCommand
11935
+
11936
+ @PreStopCommand.setter
11937
+ def PreStopCommand(self, PreStopCommand):
11938
+ self._PreStopCommand = PreStopCommand
11939
+
11882
11940
 
11883
11941
  def _deserialize(self, params):
11884
11942
  self._ServiceId = params.get("ServiceId")
@@ -11935,6 +11993,8 @@ HYBRID_PAID:
11935
11993
  self._CommandBase64 = params.get("CommandBase64")
11936
11994
  self._ServicePort = params.get("ServicePort")
11937
11995
  self._InstancePerReplicas = params.get("InstancePerReplicas")
11996
+ self._TerminationGracePeriodSeconds = params.get("TerminationGracePeriodSeconds")
11997
+ self._PreStopCommand = params.get("PreStopCommand")
11938
11998
  memeber_set = set(params.keys())
11939
11999
  for name, value in vars(self).items():
11940
12000
  property_name = name[1:]
@@ -16369,6 +16429,10 @@ HYBRID_PAID:
16369
16429
  :param _ServicePort: 服务端口,默认为8501
16370
16430
  注意:此字段可能返回 null,表示取不到有效值。
16371
16431
  :type ServicePort: int
16432
+ :param _TerminationGracePeriodSeconds: 服务的优雅退出时限。单位为秒,默认值为30,最小为1
16433
+ :type TerminationGracePeriodSeconds: int
16434
+ :param _PreStopCommand: 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
16435
+ :type PreStopCommand: list of str
16372
16436
  """
16373
16437
  self._Replicas = None
16374
16438
  self._ImageInfo = None
@@ -16402,6 +16466,8 @@ HYBRID_PAID:
16402
16466
  self._Command = None
16403
16467
  self._ServiceEIP = None
16404
16468
  self._ServicePort = None
16469
+ self._TerminationGracePeriodSeconds = None
16470
+ self._PreStopCommand = None
16405
16471
 
16406
16472
  @property
16407
16473
  def Replicas(self):
@@ -16802,6 +16868,28 @@ HYBRID_PAID:
16802
16868
  def ServicePort(self, ServicePort):
16803
16869
  self._ServicePort = ServicePort
16804
16870
 
16871
+ @property
16872
+ def TerminationGracePeriodSeconds(self):
16873
+ """服务的优雅退出时限。单位为秒,默认值为30,最小为1
16874
+ :rtype: int
16875
+ """
16876
+ return self._TerminationGracePeriodSeconds
16877
+
16878
+ @TerminationGracePeriodSeconds.setter
16879
+ def TerminationGracePeriodSeconds(self, TerminationGracePeriodSeconds):
16880
+ self._TerminationGracePeriodSeconds = TerminationGracePeriodSeconds
16881
+
16882
+ @property
16883
+ def PreStopCommand(self):
16884
+ """服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
16885
+ :rtype: list of str
16886
+ """
16887
+ return self._PreStopCommand
16888
+
16889
+ @PreStopCommand.setter
16890
+ def PreStopCommand(self, PreStopCommand):
16891
+ self._PreStopCommand = PreStopCommand
16892
+
16805
16893
 
16806
16894
  def _deserialize(self, params):
16807
16895
  self._Replicas = params.get("Replicas")
@@ -16875,6 +16963,8 @@ HYBRID_PAID:
16875
16963
  self._ServiceEIP = ServiceEIP()
16876
16964
  self._ServiceEIP._deserialize(params.get("ServiceEIP"))
16877
16965
  self._ServicePort = params.get("ServicePort")
16966
+ self._TerminationGracePeriodSeconds = params.get("TerminationGracePeriodSeconds")
16967
+ self._PreStopCommand = params.get("PreStopCommand")
16878
16968
  memeber_set = set(params.keys())
16879
16969
  for name, value in vars(self).items():
16880
16970
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-tione
3
- Version: 3.0.1341
3
+ Version: 3.0.1343
4
4
  Summary: Tencent Cloud Tione SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1343
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1341