tencentcloud-sdk-python-autoscaling 3.0.1377__tar.gz → 3.0.1379__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.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/setup.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud/autoscaling/v20180419/models.py +45 -16
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud_sdk_python_autoscaling.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-autoscaling-3.0.1379/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-autoscaling-3.0.1377/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/README.rst +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/setup.cfg +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud/autoscaling/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud/autoscaling/v20180419/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud/autoscaling/v20180419/autoscaling_client.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud/autoscaling/v20180419/errorcodes.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud_sdk_python_autoscaling.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud_sdk_python_autoscaling.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1377 → tencentcloud-sdk-python-autoscaling-3.0.1379}/tencentcloud_sdk_python_autoscaling.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1379"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Autoscaling SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -4223,14 +4223,14 @@ class DeleteLifecycleHookRequest(AbstractModel):
|
|
|
4223
4223
|
|
|
4224
4224
|
def __init__(self):
|
|
4225
4225
|
r"""
|
|
4226
|
-
:param _LifecycleHookId: 生命周期挂钩ID
|
|
4226
|
+
:param _LifecycleHookId: 生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
|
4227
4227
|
:type LifecycleHookId: str
|
|
4228
4228
|
"""
|
|
4229
4229
|
self._LifecycleHookId = None
|
|
4230
4230
|
|
|
4231
4231
|
@property
|
|
4232
4232
|
def LifecycleHookId(self):
|
|
4233
|
-
"""生命周期挂钩ID
|
|
4233
|
+
"""生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
|
4234
4234
|
:rtype: str
|
|
4235
4235
|
"""
|
|
4236
4236
|
return self._LifecycleHookId
|
|
@@ -4848,8 +4848,11 @@ class DescribeAutoScalingGroupLastActivitiesRequest(AbstractModel):
|
|
|
4848
4848
|
r"""
|
|
4849
4849
|
:param _AutoScalingGroupIds: 伸缩组ID列表
|
|
4850
4850
|
:type AutoScalingGroupIds: list of str
|
|
4851
|
+
:param _ExcludeCancelledActivity: 查询时排除取消类型活动。默认值为 false,表示不排除取消类型活动。
|
|
4852
|
+
:type ExcludeCancelledActivity: bool
|
|
4851
4853
|
"""
|
|
4852
4854
|
self._AutoScalingGroupIds = None
|
|
4855
|
+
self._ExcludeCancelledActivity = None
|
|
4853
4856
|
|
|
4854
4857
|
@property
|
|
4855
4858
|
def AutoScalingGroupIds(self):
|
|
@@ -4862,9 +4865,21 @@ class DescribeAutoScalingGroupLastActivitiesRequest(AbstractModel):
|
|
|
4862
4865
|
def AutoScalingGroupIds(self, AutoScalingGroupIds):
|
|
4863
4866
|
self._AutoScalingGroupIds = AutoScalingGroupIds
|
|
4864
4867
|
|
|
4868
|
+
@property
|
|
4869
|
+
def ExcludeCancelledActivity(self):
|
|
4870
|
+
"""查询时排除取消类型活动。默认值为 false,表示不排除取消类型活动。
|
|
4871
|
+
:rtype: bool
|
|
4872
|
+
"""
|
|
4873
|
+
return self._ExcludeCancelledActivity
|
|
4874
|
+
|
|
4875
|
+
@ExcludeCancelledActivity.setter
|
|
4876
|
+
def ExcludeCancelledActivity(self, ExcludeCancelledActivity):
|
|
4877
|
+
self._ExcludeCancelledActivity = ExcludeCancelledActivity
|
|
4878
|
+
|
|
4865
4879
|
|
|
4866
4880
|
def _deserialize(self, params):
|
|
4867
4881
|
self._AutoScalingGroupIds = params.get("AutoScalingGroupIds")
|
|
4882
|
+
self._ExcludeCancelledActivity = params.get("ExcludeCancelledActivity")
|
|
4868
4883
|
memeber_set = set(params.keys())
|
|
4869
4884
|
for name, value in vars(self).items():
|
|
4870
4885
|
property_name = name[1:]
|
|
@@ -9031,19 +9046,24 @@ class LifecycleHook(AbstractModel):
|
|
|
9031
9046
|
:type LifecycleHookName: str
|
|
9032
9047
|
:param _AutoScalingGroupId: 伸缩组ID
|
|
9033
9048
|
:type AutoScalingGroupId: str
|
|
9034
|
-
:param _DefaultResult:
|
|
9049
|
+
:param _DefaultResult: 定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
|
|
9050
|
+
- CONTINUE: 默认值,表示继续执行扩缩容活动
|
|
9051
|
+
- ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动
|
|
9035
9052
|
:type DefaultResult: str
|
|
9036
|
-
:param _HeartbeatTimeout:
|
|
9053
|
+
:param _HeartbeatTimeout: 生命周期挂钩超时等待时间(以秒为单位),范围从 30 到 7200 秒。
|
|
9037
9054
|
:type HeartbeatTimeout: int
|
|
9038
|
-
:param _LifecycleTransition:
|
|
9055
|
+
:param _LifecycleTransition: 生命周期挂钩场景,取值范围如下:
|
|
9056
|
+
- INSTANCE_LAUNCHING: 扩容生命周期挂钩
|
|
9057
|
+
- INSTANCE_TERMINATING: 缩容生命周期挂钩
|
|
9039
9058
|
:type LifecycleTransition: str
|
|
9040
9059
|
:param _NotificationMetadata: 通知目标的附加信息
|
|
9041
9060
|
:type NotificationMetadata: str
|
|
9042
|
-
:param _CreatedTime:
|
|
9061
|
+
:param _CreatedTime: 创建时间,采用 UTC 标准计时
|
|
9043
9062
|
:type CreatedTime: str
|
|
9044
9063
|
:param _NotificationTarget: 通知目标
|
|
9045
9064
|
:type NotificationTarget: :class:`tencentcloud.autoscaling.v20180419.models.NotificationTarget`
|
|
9046
|
-
:param _LifecycleTransitionType:
|
|
9065
|
+
:param _LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括 NORMAL 和 EXTENSION,默认值为 NORMAL。
|
|
9066
|
+
说明:设置为EXTENSION值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
|
|
9047
9067
|
:type LifecycleTransitionType: str
|
|
9048
9068
|
:param _LifecycleCommand: 远程命令执行对象
|
|
9049
9069
|
:type LifecycleCommand: :class:`tencentcloud.autoscaling.v20180419.models.LifecycleCommand`
|
|
@@ -9095,7 +9115,9 @@ class LifecycleHook(AbstractModel):
|
|
|
9095
9115
|
|
|
9096
9116
|
@property
|
|
9097
9117
|
def DefaultResult(self):
|
|
9098
|
-
"""
|
|
9118
|
+
"""定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
|
|
9119
|
+
- CONTINUE: 默认值,表示继续执行扩缩容活动
|
|
9120
|
+
- ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动
|
|
9099
9121
|
:rtype: str
|
|
9100
9122
|
"""
|
|
9101
9123
|
return self._DefaultResult
|
|
@@ -9106,7 +9128,7 @@ class LifecycleHook(AbstractModel):
|
|
|
9106
9128
|
|
|
9107
9129
|
@property
|
|
9108
9130
|
def HeartbeatTimeout(self):
|
|
9109
|
-
"""
|
|
9131
|
+
"""生命周期挂钩超时等待时间(以秒为单位),范围从 30 到 7200 秒。
|
|
9110
9132
|
:rtype: int
|
|
9111
9133
|
"""
|
|
9112
9134
|
return self._HeartbeatTimeout
|
|
@@ -9117,7 +9139,9 @@ class LifecycleHook(AbstractModel):
|
|
|
9117
9139
|
|
|
9118
9140
|
@property
|
|
9119
9141
|
def LifecycleTransition(self):
|
|
9120
|
-
"""
|
|
9142
|
+
"""生命周期挂钩场景,取值范围如下:
|
|
9143
|
+
- INSTANCE_LAUNCHING: 扩容生命周期挂钩
|
|
9144
|
+
- INSTANCE_TERMINATING: 缩容生命周期挂钩
|
|
9121
9145
|
:rtype: str
|
|
9122
9146
|
"""
|
|
9123
9147
|
return self._LifecycleTransition
|
|
@@ -9139,7 +9163,7 @@ class LifecycleHook(AbstractModel):
|
|
|
9139
9163
|
|
|
9140
9164
|
@property
|
|
9141
9165
|
def CreatedTime(self):
|
|
9142
|
-
"""
|
|
9166
|
+
"""创建时间,采用 UTC 标准计时
|
|
9143
9167
|
:rtype: str
|
|
9144
9168
|
"""
|
|
9145
9169
|
return self._CreatedTime
|
|
@@ -9161,7 +9185,8 @@ class LifecycleHook(AbstractModel):
|
|
|
9161
9185
|
|
|
9162
9186
|
@property
|
|
9163
9187
|
def LifecycleTransitionType(self):
|
|
9164
|
-
"""
|
|
9188
|
+
"""进行生命周期挂钩的场景类型,取值范围包括 NORMAL 和 EXTENSION,默认值为 NORMAL。
|
|
9189
|
+
说明:设置为EXTENSION值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
|
|
9165
9190
|
:rtype: str
|
|
9166
9191
|
"""
|
|
9167
9192
|
return self._LifecycleTransitionType
|
|
@@ -12731,9 +12756,11 @@ class ScaleInInstancesRequest(AbstractModel):
|
|
|
12731
12756
|
|
|
12732
12757
|
def __init__(self):
|
|
12733
12758
|
r"""
|
|
12734
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
|
12759
|
+
:param _AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
|
12760
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
|
12761
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
12735
12762
|
:type AutoScalingGroupId: str
|
|
12736
|
-
:param _ScaleInNumber:
|
|
12763
|
+
:param _ScaleInNumber: 希望缩容的实例数量。该参数的静态取值范围是 [1,2000],同时该参数不得大于期望数与最小值的差值。例如伸缩组期望数为 100,最小值为 20,此时可取值范围为 [1,80]。
|
|
12737
12764
|
:type ScaleInNumber: int
|
|
12738
12765
|
"""
|
|
12739
12766
|
self._AutoScalingGroupId = None
|
|
@@ -12741,7 +12768,9 @@ class ScaleInInstancesRequest(AbstractModel):
|
|
|
12741
12768
|
|
|
12742
12769
|
@property
|
|
12743
12770
|
def AutoScalingGroupId(self):
|
|
12744
|
-
"""伸缩组ID
|
|
12771
|
+
"""伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
|
12772
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
|
12773
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
12745
12774
|
:rtype: str
|
|
12746
12775
|
"""
|
|
12747
12776
|
return self._AutoScalingGroupId
|
|
@@ -12752,7 +12781,7 @@ class ScaleInInstancesRequest(AbstractModel):
|
|
|
12752
12781
|
|
|
12753
12782
|
@property
|
|
12754
12783
|
def ScaleInNumber(self):
|
|
12755
|
-
"""
|
|
12784
|
+
"""希望缩容的实例数量。该参数的静态取值范围是 [1,2000],同时该参数不得大于期望数与最小值的差值。例如伸缩组期望数为 100,最小值为 20,此时可取值范围为 [1,80]。
|
|
12756
12785
|
:rtype: int
|
|
12757
12786
|
"""
|
|
12758
12787
|
return self._ScaleInNumber
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1379
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1377
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|