tencentcloud-sdk-python-autoscaling 3.1.1__tar.gz → 3.1.4__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 (17) hide show
  1. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/setup.py +1 -1
  3. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud/autoscaling/v20180419/models.py +36 -0
  5. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud_sdk_python_autoscaling.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_autoscaling-3.1.4/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_autoscaling-3.1.1/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/README.rst +0 -0
  9. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud/autoscaling/__init__.py +0 -0
  11. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud/autoscaling/v20180419/__init__.py +0 -0
  12. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud/autoscaling/v20180419/autoscaling_client.py +0 -0
  13. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +0 -0
  14. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud/autoscaling/v20180419/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud_sdk_python_autoscaling.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud_sdk_python_autoscaling.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_autoscaling-3.1.1 → tencentcloud_sdk_python_autoscaling-3.1.4}/tencentcloud_sdk_python_autoscaling.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-autoscaling
3
- Version: 3.1.1
3
+ Version: 3.1.4
4
4
  Summary: Tencent Cloud Autoscaling 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.1
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
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-autoscaling',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.1,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.4,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Autoscaling SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.1'
17
+ __version__ = '3.1.4'
@@ -8008,9 +8008,15 @@ class InstanceNameIndexSettings(AbstractModel):
8008
8008
  下调初始序号可能会造成伸缩组内实例名称序号重复。
8009
8009
  注意:此字段可能返回 null,表示取不到有效值。
8010
8010
  :type BeginIndex: int
8011
+ :param _IndexLength: 实例名称递增序号位数,默认为0,表示不指定序号位数。不指定序号时,采用默认值0。 取值范围:0-8,最大为整数8。 采用取值1-8时,会检查序号是否超过此序号位数的最大数字。
8012
+
8013
+ 假设设置为3,那么序号形如:000、001、002 ... 010、011 ... 100 ... 999,序号上限为999;
8014
+ 假设设置为0,对应的序号为0、1、2 ... 10、11 ... 100 ... 1000 ...10000 ... 99999999,序号上限为99999999。
8015
+ :type IndexLength: int
8011
8016
  """
8012
8017
  self._Enabled = None
8013
8018
  self._BeginIndex = None
8019
+ self._IndexLength = None
8014
8020
 
8015
8021
  @property
8016
8022
  def Enabled(self):
@@ -8044,10 +8050,25 @@ class InstanceNameIndexSettings(AbstractModel):
8044
8050
  def BeginIndex(self, BeginIndex):
8045
8051
  self._BeginIndex = BeginIndex
8046
8052
 
8053
+ @property
8054
+ def IndexLength(self):
8055
+ r"""实例名称递增序号位数,默认为0,表示不指定序号位数。不指定序号时,采用默认值0。 取值范围:0-8,最大为整数8。 采用取值1-8时,会检查序号是否超过此序号位数的最大数字。
8056
+
8057
+ 假设设置为3,那么序号形如:000、001、002 ... 010、011 ... 100 ... 999,序号上限为999;
8058
+ 假设设置为0,对应的序号为0、1、2 ... 10、11 ... 100 ... 1000 ...10000 ... 99999999,序号上限为99999999。
8059
+ :rtype: int
8060
+ """
8061
+ return self._IndexLength
8062
+
8063
+ @IndexLength.setter
8064
+ def IndexLength(self, IndexLength):
8065
+ self._IndexLength = IndexLength
8066
+
8047
8067
 
8048
8068
  def _deserialize(self, params):
8049
8069
  self._Enabled = params.get("Enabled")
8050
8070
  self._BeginIndex = params.get("BeginIndex")
8071
+ self._IndexLength = params.get("IndexLength")
8051
8072
  memeber_set = set(params.keys())
8052
8073
  for name, value in vars(self).items():
8053
8074
  property_name = name[1:]
@@ -13705,6 +13726,8 @@ RESET:对原有不健康实例进行重装系统操作,可保持数据盘、
13705
13726
  <li>True: 修改最大值或最小值时,如与当前期望数存在冲突,则同步调整期望数。例如修改时传入最小值 2,当前期望数为 1,则同步调整期望数为 2。</li>
13706
13727
  <li>False: 修改最大值或最小值时,如与当前期望数存在冲突,报错提示不允许修改。</li>
13707
13728
  :type DesiredCapacitySyncWithMaxMinSize: bool
13729
+ :param _PriorityScaleInUnhealthy: 优先缩容不健康实例。若开启,缩容时会优先选择不健康实例。默认值为 False。
13730
+ :type PriorityScaleInUnhealthy: bool
13708
13731
  """
13709
13732
  self._ReplaceMonitorUnhealthy = None
13710
13733
  self._ScalingMode = None
@@ -13712,6 +13735,7 @@ RESET:对原有不健康实例进行重装系统操作,可保持数据盘、
13712
13735
  self._ReplaceMode = None
13713
13736
  self._AutoUpdateInstanceTags = None
13714
13737
  self._DesiredCapacitySyncWithMaxMinSize = None
13738
+ self._PriorityScaleInUnhealthy = None
13715
13739
 
13716
13740
  @property
13717
13741
  def ReplaceMonitorUnhealthy(self):
@@ -13787,6 +13811,17 @@ RESET:对原有不健康实例进行重装系统操作,可保持数据盘、
13787
13811
  def DesiredCapacitySyncWithMaxMinSize(self, DesiredCapacitySyncWithMaxMinSize):
13788
13812
  self._DesiredCapacitySyncWithMaxMinSize = DesiredCapacitySyncWithMaxMinSize
13789
13813
 
13814
+ @property
13815
+ def PriorityScaleInUnhealthy(self):
13816
+ r"""优先缩容不健康实例。若开启,缩容时会优先选择不健康实例。默认值为 False。
13817
+ :rtype: bool
13818
+ """
13819
+ return self._PriorityScaleInUnhealthy
13820
+
13821
+ @PriorityScaleInUnhealthy.setter
13822
+ def PriorityScaleInUnhealthy(self, PriorityScaleInUnhealthy):
13823
+ self._PriorityScaleInUnhealthy = PriorityScaleInUnhealthy
13824
+
13790
13825
 
13791
13826
  def _deserialize(self, params):
13792
13827
  self._ReplaceMonitorUnhealthy = params.get("ReplaceMonitorUnhealthy")
@@ -13795,6 +13830,7 @@ RESET:对原有不健康实例进行重装系统操作,可保持数据盘、
13795
13830
  self._ReplaceMode = params.get("ReplaceMode")
13796
13831
  self._AutoUpdateInstanceTags = params.get("AutoUpdateInstanceTags")
13797
13832
  self._DesiredCapacitySyncWithMaxMinSize = params.get("DesiredCapacitySyncWithMaxMinSize")
13833
+ self._PriorityScaleInUnhealthy = params.get("PriorityScaleInUnhealthy")
13798
13834
  memeber_set = set(params.keys())
13799
13835
  for name, value in vars(self).items():
13800
13836
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-autoscaling
3
- Version: 3.1.1
3
+ Version: 3.1.4
4
4
  Summary: Tencent Cloud Autoscaling 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.1
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.4
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.4
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.1