tencentcloud-sdk-python-autoscaling 3.1.4__tar.gz → 3.1.15__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_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/setup.py +1 -1
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud/autoscaling/v20180419/models.py +192 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud_sdk_python_autoscaling.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_autoscaling-3.1.15/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_autoscaling-3.1.4/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/README.rst +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/setup.cfg +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud/autoscaling/__init__.py +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud/autoscaling/v20180419/__init__.py +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud/autoscaling/v20180419/autoscaling_client.py +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud/autoscaling/v20180419/errorcodes.py +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud_sdk_python_autoscaling.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud_sdk_python_autoscaling.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/tencentcloud_sdk_python_autoscaling.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-autoscaling
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.15
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.15
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/setup.py
RENAMED
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.15,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Autoscaling SDK for Python',
|
|
@@ -865,6 +865,10 @@ class AutoScalingGroup(AbstractModel):
|
|
|
865
865
|
:type CapacityRebalance: bool
|
|
866
866
|
:param _InstanceNameIndexSettings: 实例名称序号相关设置。
|
|
867
867
|
:type InstanceNameIndexSettings: :class:`tencentcloud.autoscaling.v20180419.models.InstanceNameIndexSettings`
|
|
868
|
+
:param _HostNameIndexSettings: 实例主机名序号相关设置。
|
|
869
|
+
:type HostNameIndexSettings: :class:`tencentcloud.autoscaling.v20180419.models.HostNameIndexSettings`
|
|
870
|
+
:param _ConcurrentScaleOutForDesiredCapacity: 匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。默认值为FALSE,表示不开启。
|
|
871
|
+
:type ConcurrentScaleOutForDesiredCapacity: bool
|
|
868
872
|
"""
|
|
869
873
|
self._AutoScalingGroupId = None
|
|
870
874
|
self._AutoScalingGroupName = None
|
|
@@ -898,6 +902,8 @@ class AutoScalingGroup(AbstractModel):
|
|
|
898
902
|
self._SpotMixedAllocationPolicy = None
|
|
899
903
|
self._CapacityRebalance = None
|
|
900
904
|
self._InstanceNameIndexSettings = None
|
|
905
|
+
self._HostNameIndexSettings = None
|
|
906
|
+
self._ConcurrentScaleOutForDesiredCapacity = None
|
|
901
907
|
|
|
902
908
|
@property
|
|
903
909
|
def AutoScalingGroupId(self):
|
|
@@ -1276,6 +1282,28 @@ class AutoScalingGroup(AbstractModel):
|
|
|
1276
1282
|
def InstanceNameIndexSettings(self, InstanceNameIndexSettings):
|
|
1277
1283
|
self._InstanceNameIndexSettings = InstanceNameIndexSettings
|
|
1278
1284
|
|
|
1285
|
+
@property
|
|
1286
|
+
def HostNameIndexSettings(self):
|
|
1287
|
+
r"""实例主机名序号相关设置。
|
|
1288
|
+
:rtype: :class:`tencentcloud.autoscaling.v20180419.models.HostNameIndexSettings`
|
|
1289
|
+
"""
|
|
1290
|
+
return self._HostNameIndexSettings
|
|
1291
|
+
|
|
1292
|
+
@HostNameIndexSettings.setter
|
|
1293
|
+
def HostNameIndexSettings(self, HostNameIndexSettings):
|
|
1294
|
+
self._HostNameIndexSettings = HostNameIndexSettings
|
|
1295
|
+
|
|
1296
|
+
@property
|
|
1297
|
+
def ConcurrentScaleOutForDesiredCapacity(self):
|
|
1298
|
+
r"""匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。默认值为FALSE,表示不开启。
|
|
1299
|
+
:rtype: bool
|
|
1300
|
+
"""
|
|
1301
|
+
return self._ConcurrentScaleOutForDesiredCapacity
|
|
1302
|
+
|
|
1303
|
+
@ConcurrentScaleOutForDesiredCapacity.setter
|
|
1304
|
+
def ConcurrentScaleOutForDesiredCapacity(self, ConcurrentScaleOutForDesiredCapacity):
|
|
1305
|
+
self._ConcurrentScaleOutForDesiredCapacity = ConcurrentScaleOutForDesiredCapacity
|
|
1306
|
+
|
|
1279
1307
|
|
|
1280
1308
|
def _deserialize(self, params):
|
|
1281
1309
|
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
@@ -1326,6 +1354,10 @@ class AutoScalingGroup(AbstractModel):
|
|
|
1326
1354
|
if params.get("InstanceNameIndexSettings") is not None:
|
|
1327
1355
|
self._InstanceNameIndexSettings = InstanceNameIndexSettings()
|
|
1328
1356
|
self._InstanceNameIndexSettings._deserialize(params.get("InstanceNameIndexSettings"))
|
|
1357
|
+
if params.get("HostNameIndexSettings") is not None:
|
|
1358
|
+
self._HostNameIndexSettings = HostNameIndexSettings()
|
|
1359
|
+
self._HostNameIndexSettings._deserialize(params.get("HostNameIndexSettings"))
|
|
1360
|
+
self._ConcurrentScaleOutForDesiredCapacity = params.get("ConcurrentScaleOutForDesiredCapacity")
|
|
1329
1361
|
memeber_set = set(params.keys())
|
|
1330
1362
|
for name, value in vars(self).items():
|
|
1331
1363
|
property_name = name[1:]
|
|
@@ -2138,6 +2170,10 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
|
2138
2170
|
:type CapacityRebalance: bool
|
|
2139
2171
|
:param _InstanceNameIndexSettings: 实例名称序号相关设置。若不指定该参数,则默认不开启。开启后为伸缩组内自动创建的实例名称添加递增的数字序号。
|
|
2140
2172
|
:type InstanceNameIndexSettings: :class:`tencentcloud.autoscaling.v20180419.models.InstanceNameIndexSettings`
|
|
2173
|
+
:param _HostNameIndexSettings: 实例主机名序号相关设置。若不指定该参数,则默认不开启。开启后为伸缩组内自动创建的实例主机名添加递增的数字序号。
|
|
2174
|
+
:type HostNameIndexSettings: :class:`tencentcloud.autoscaling.v20180419.models.HostNameIndexSettings`
|
|
2175
|
+
:param _ConcurrentScaleOutForDesiredCapacity: 匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。默认值为FALSE,表示不开启。
|
|
2176
|
+
:type ConcurrentScaleOutForDesiredCapacity: bool
|
|
2141
2177
|
"""
|
|
2142
2178
|
self._AutoScalingGroupName = None
|
|
2143
2179
|
self._LaunchConfigurationId = None
|
|
@@ -2164,6 +2200,8 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
|
2164
2200
|
self._SpotMixedAllocationPolicy = None
|
|
2165
2201
|
self._CapacityRebalance = None
|
|
2166
2202
|
self._InstanceNameIndexSettings = None
|
|
2203
|
+
self._HostNameIndexSettings = None
|
|
2204
|
+
self._ConcurrentScaleOutForDesiredCapacity = None
|
|
2167
2205
|
|
|
2168
2206
|
@property
|
|
2169
2207
|
def AutoScalingGroupName(self):
|
|
@@ -2466,6 +2504,28 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
|
2466
2504
|
def InstanceNameIndexSettings(self, InstanceNameIndexSettings):
|
|
2467
2505
|
self._InstanceNameIndexSettings = InstanceNameIndexSettings
|
|
2468
2506
|
|
|
2507
|
+
@property
|
|
2508
|
+
def HostNameIndexSettings(self):
|
|
2509
|
+
r"""实例主机名序号相关设置。若不指定该参数,则默认不开启。开启后为伸缩组内自动创建的实例主机名添加递增的数字序号。
|
|
2510
|
+
:rtype: :class:`tencentcloud.autoscaling.v20180419.models.HostNameIndexSettings`
|
|
2511
|
+
"""
|
|
2512
|
+
return self._HostNameIndexSettings
|
|
2513
|
+
|
|
2514
|
+
@HostNameIndexSettings.setter
|
|
2515
|
+
def HostNameIndexSettings(self, HostNameIndexSettings):
|
|
2516
|
+
self._HostNameIndexSettings = HostNameIndexSettings
|
|
2517
|
+
|
|
2518
|
+
@property
|
|
2519
|
+
def ConcurrentScaleOutForDesiredCapacity(self):
|
|
2520
|
+
r"""匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。默认值为FALSE,表示不开启。
|
|
2521
|
+
:rtype: bool
|
|
2522
|
+
"""
|
|
2523
|
+
return self._ConcurrentScaleOutForDesiredCapacity
|
|
2524
|
+
|
|
2525
|
+
@ConcurrentScaleOutForDesiredCapacity.setter
|
|
2526
|
+
def ConcurrentScaleOutForDesiredCapacity(self, ConcurrentScaleOutForDesiredCapacity):
|
|
2527
|
+
self._ConcurrentScaleOutForDesiredCapacity = ConcurrentScaleOutForDesiredCapacity
|
|
2528
|
+
|
|
2469
2529
|
|
|
2470
2530
|
def _deserialize(self, params):
|
|
2471
2531
|
self._AutoScalingGroupName = params.get("AutoScalingGroupName")
|
|
@@ -2509,6 +2569,10 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
|
2509
2569
|
if params.get("InstanceNameIndexSettings") is not None:
|
|
2510
2570
|
self._InstanceNameIndexSettings = InstanceNameIndexSettings()
|
|
2511
2571
|
self._InstanceNameIndexSettings._deserialize(params.get("InstanceNameIndexSettings"))
|
|
2572
|
+
if params.get("HostNameIndexSettings") is not None:
|
|
2573
|
+
self._HostNameIndexSettings = HostNameIndexSettings()
|
|
2574
|
+
self._HostNameIndexSettings._deserialize(params.get("HostNameIndexSettings"))
|
|
2575
|
+
self._ConcurrentScaleOutForDesiredCapacity = params.get("ConcurrentScaleOutForDesiredCapacity")
|
|
2512
2576
|
memeber_set = set(params.keys())
|
|
2513
2577
|
for name, value in vars(self).items():
|
|
2514
2578
|
property_name = name[1:]
|
|
@@ -7394,6 +7458,102 @@ class ForwardLoadBalancerIdentification(AbstractModel):
|
|
|
7394
7458
|
|
|
7395
7459
|
|
|
7396
7460
|
|
|
7461
|
+
class HostNameIndexSettings(AbstractModel):
|
|
7462
|
+
r"""实例主机名称序号相关设置。
|
|
7463
|
+
|
|
7464
|
+
"""
|
|
7465
|
+
|
|
7466
|
+
def __init__(self):
|
|
7467
|
+
r"""
|
|
7468
|
+
:param _Enabled: 是否开启实例主机名创建序号,默认不开启。取值范围:
|
|
7469
|
+
|
|
7470
|
+
TRUE:表示开启实例主机名创建序号
|
|
7471
|
+
FALSE:表示不开启实例主机名创建序号
|
|
7472
|
+
:type Enabled: bool
|
|
7473
|
+
:param _BeginIndex: 初始序号。
|
|
7474
|
+
序号固定位数 IndexLength 为默认值0时,取值范围为 [0, 99999999]。
|
|
7475
|
+
序号固定位数 IndexLength 为 [1, 8] 时,取值范围为为 [0, 10^IndexLength-1],最大值即为固定位数的最大数字。
|
|
7476
|
+
当序号递增后超出取值范围时,扩容活动会失败。
|
|
7477
|
+
|
|
7478
|
+
首次开启实例主机名称序号:默认值为 0。
|
|
7479
|
+
非首次开启实例主机名称序号:若不指定该参数,沿用历史序号。
|
|
7480
|
+
下调初始序号可能会造成伸缩组内实例主机名称序号重复。
|
|
7481
|
+
:type BeginIndex: int
|
|
7482
|
+
:param _IndexLength: 实例主机名递增序号位数,默认为0,表示不指定序号位数。不指定序号时,采用默认值0。
|
|
7483
|
+
取值范围:0-8,最大为整数8。
|
|
7484
|
+
采用取值1-8时,会检查序号是否超过此序号位数的最大数字。
|
|
7485
|
+
|
|
7486
|
+
假设设置为3,那么序号形如:001、002 ... 010、011 ... 100 ... 999,序号上限为999;
|
|
7487
|
+
假设设置为0,对应的序号为1、2 ... 10、11 ... 100 ... 1000 ...10000 ... 99999999,序号上限为99999999。
|
|
7488
|
+
:type IndexLength: int
|
|
7489
|
+
"""
|
|
7490
|
+
self._Enabled = None
|
|
7491
|
+
self._BeginIndex = None
|
|
7492
|
+
self._IndexLength = None
|
|
7493
|
+
|
|
7494
|
+
@property
|
|
7495
|
+
def Enabled(self):
|
|
7496
|
+
r"""是否开启实例主机名创建序号,默认不开启。取值范围:
|
|
7497
|
+
|
|
7498
|
+
TRUE:表示开启实例主机名创建序号
|
|
7499
|
+
FALSE:表示不开启实例主机名创建序号
|
|
7500
|
+
:rtype: bool
|
|
7501
|
+
"""
|
|
7502
|
+
return self._Enabled
|
|
7503
|
+
|
|
7504
|
+
@Enabled.setter
|
|
7505
|
+
def Enabled(self, Enabled):
|
|
7506
|
+
self._Enabled = Enabled
|
|
7507
|
+
|
|
7508
|
+
@property
|
|
7509
|
+
def BeginIndex(self):
|
|
7510
|
+
r"""初始序号。
|
|
7511
|
+
序号固定位数 IndexLength 为默认值0时,取值范围为 [0, 99999999]。
|
|
7512
|
+
序号固定位数 IndexLength 为 [1, 8] 时,取值范围为为 [0, 10^IndexLength-1],最大值即为固定位数的最大数字。
|
|
7513
|
+
当序号递增后超出取值范围时,扩容活动会失败。
|
|
7514
|
+
|
|
7515
|
+
首次开启实例主机名称序号:默认值为 0。
|
|
7516
|
+
非首次开启实例主机名称序号:若不指定该参数,沿用历史序号。
|
|
7517
|
+
下调初始序号可能会造成伸缩组内实例主机名称序号重复。
|
|
7518
|
+
:rtype: int
|
|
7519
|
+
"""
|
|
7520
|
+
return self._BeginIndex
|
|
7521
|
+
|
|
7522
|
+
@BeginIndex.setter
|
|
7523
|
+
def BeginIndex(self, BeginIndex):
|
|
7524
|
+
self._BeginIndex = BeginIndex
|
|
7525
|
+
|
|
7526
|
+
@property
|
|
7527
|
+
def IndexLength(self):
|
|
7528
|
+
r"""实例主机名递增序号位数,默认为0,表示不指定序号位数。不指定序号时,采用默认值0。
|
|
7529
|
+
取值范围:0-8,最大为整数8。
|
|
7530
|
+
采用取值1-8时,会检查序号是否超过此序号位数的最大数字。
|
|
7531
|
+
|
|
7532
|
+
假设设置为3,那么序号形如:001、002 ... 010、011 ... 100 ... 999,序号上限为999;
|
|
7533
|
+
假设设置为0,对应的序号为1、2 ... 10、11 ... 100 ... 1000 ...10000 ... 99999999,序号上限为99999999。
|
|
7534
|
+
:rtype: int
|
|
7535
|
+
"""
|
|
7536
|
+
return self._IndexLength
|
|
7537
|
+
|
|
7538
|
+
@IndexLength.setter
|
|
7539
|
+
def IndexLength(self, IndexLength):
|
|
7540
|
+
self._IndexLength = IndexLength
|
|
7541
|
+
|
|
7542
|
+
|
|
7543
|
+
def _deserialize(self, params):
|
|
7544
|
+
self._Enabled = params.get("Enabled")
|
|
7545
|
+
self._BeginIndex = params.get("BeginIndex")
|
|
7546
|
+
self._IndexLength = params.get("IndexLength")
|
|
7547
|
+
memeber_set = set(params.keys())
|
|
7548
|
+
for name, value in vars(self).items():
|
|
7549
|
+
property_name = name[1:]
|
|
7550
|
+
if property_name in memeber_set:
|
|
7551
|
+
memeber_set.remove(property_name)
|
|
7552
|
+
if len(memeber_set) > 0:
|
|
7553
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7554
|
+
|
|
7555
|
+
|
|
7556
|
+
|
|
7397
7557
|
class HostNameSettings(AbstractModel):
|
|
7398
7558
|
r"""云服务器主机名(HostName)的相关设置
|
|
7399
7559
|
|
|
@@ -9927,6 +10087,10 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
|
9927
10087
|
:type CapacityRebalance: bool
|
|
9928
10088
|
:param _InstanceNameIndexSettings: 实例名称序号相关设置。开启后为伸缩组内自动创建的实例名称添加递增的数字序号。
|
|
9929
10089
|
:type InstanceNameIndexSettings: :class:`tencentcloud.autoscaling.v20180419.models.InstanceNameIndexSettings`
|
|
10090
|
+
:param _HostNameIndexSettings: 实例主机名序号相关设置。开启后为伸缩组内自动创建的实例主机名添加递增的数字序号。
|
|
10091
|
+
:type HostNameIndexSettings: :class:`tencentcloud.autoscaling.v20180419.models.HostNameIndexSettings`
|
|
10092
|
+
:param _ConcurrentScaleOutForDesiredCapacity: 匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。设置为FALSE表示不开启。
|
|
10093
|
+
:type ConcurrentScaleOutForDesiredCapacity: bool
|
|
9930
10094
|
"""
|
|
9931
10095
|
self._AutoScalingGroupId = None
|
|
9932
10096
|
self._AutoScalingGroupName = None
|
|
@@ -9951,6 +10115,8 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
|
9951
10115
|
self._SpotMixedAllocationPolicy = None
|
|
9952
10116
|
self._CapacityRebalance = None
|
|
9953
10117
|
self._InstanceNameIndexSettings = None
|
|
10118
|
+
self._HostNameIndexSettings = None
|
|
10119
|
+
self._ConcurrentScaleOutForDesiredCapacity = None
|
|
9954
10120
|
|
|
9955
10121
|
@property
|
|
9956
10122
|
def AutoScalingGroupId(self):
|
|
@@ -10233,6 +10399,28 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
|
10233
10399
|
def InstanceNameIndexSettings(self, InstanceNameIndexSettings):
|
|
10234
10400
|
self._InstanceNameIndexSettings = InstanceNameIndexSettings
|
|
10235
10401
|
|
|
10402
|
+
@property
|
|
10403
|
+
def HostNameIndexSettings(self):
|
|
10404
|
+
r"""实例主机名序号相关设置。开启后为伸缩组内自动创建的实例主机名添加递增的数字序号。
|
|
10405
|
+
:rtype: :class:`tencentcloud.autoscaling.v20180419.models.HostNameIndexSettings`
|
|
10406
|
+
"""
|
|
10407
|
+
return self._HostNameIndexSettings
|
|
10408
|
+
|
|
10409
|
+
@HostNameIndexSettings.setter
|
|
10410
|
+
def HostNameIndexSettings(self, HostNameIndexSettings):
|
|
10411
|
+
self._HostNameIndexSettings = HostNameIndexSettings
|
|
10412
|
+
|
|
10413
|
+
@property
|
|
10414
|
+
def ConcurrentScaleOutForDesiredCapacity(self):
|
|
10415
|
+
r"""匹配期望数并发扩容功能,不能在InstanceAllocationPolicy为竞价混合模式时设置,也不能在ScalingMode为扩容优先开机模式时设置。目前仅支持两个匹配期望数扩容活动并发进行,不支持指定数量扩容、缩容等其他类型活动并发。设置为FALSE表示不开启。
|
|
10416
|
+
:rtype: bool
|
|
10417
|
+
"""
|
|
10418
|
+
return self._ConcurrentScaleOutForDesiredCapacity
|
|
10419
|
+
|
|
10420
|
+
@ConcurrentScaleOutForDesiredCapacity.setter
|
|
10421
|
+
def ConcurrentScaleOutForDesiredCapacity(self, ConcurrentScaleOutForDesiredCapacity):
|
|
10422
|
+
self._ConcurrentScaleOutForDesiredCapacity = ConcurrentScaleOutForDesiredCapacity
|
|
10423
|
+
|
|
10236
10424
|
|
|
10237
10425
|
def _deserialize(self, params):
|
|
10238
10426
|
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
@@ -10264,6 +10452,10 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
|
10264
10452
|
if params.get("InstanceNameIndexSettings") is not None:
|
|
10265
10453
|
self._InstanceNameIndexSettings = InstanceNameIndexSettings()
|
|
10266
10454
|
self._InstanceNameIndexSettings._deserialize(params.get("InstanceNameIndexSettings"))
|
|
10455
|
+
if params.get("HostNameIndexSettings") is not None:
|
|
10456
|
+
self._HostNameIndexSettings = HostNameIndexSettings()
|
|
10457
|
+
self._HostNameIndexSettings._deserialize(params.get("HostNameIndexSettings"))
|
|
10458
|
+
self._ConcurrentScaleOutForDesiredCapacity = params.get("ConcurrentScaleOutForDesiredCapacity")
|
|
10267
10459
|
memeber_set = set(params.keys())
|
|
10268
10460
|
for name, value in vars(self).items():
|
|
10269
10461
|
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.
|
|
3
|
+
Version: 3.1.15
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.15
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_autoscaling-3.1.15/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.15
|
tencentcloud_sdk_python_autoscaling-3.1.4/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.4
|
{tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_autoscaling-3.1.4 → tencentcloud_sdk_python_autoscaling-3.1.15}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|