tencentcloud-sdk-python-autoscaling 3.0.1270__tar.gz → 3.0.1286__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.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/setup.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud/autoscaling/v20180419/models.py +34 -13
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud_sdk_python_autoscaling.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-autoscaling-3.0.1286/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-autoscaling-3.0.1270/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/README.rst +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/setup.cfg +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud/autoscaling/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud/autoscaling/v20180419/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud/autoscaling/v20180419/autoscaling_client.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud/autoscaling/v20180419/errorcodes.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud_sdk_python_autoscaling.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/tencentcloud_sdk_python_autoscaling.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1270 → tencentcloud-sdk-python-autoscaling-3.0.1286}/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.1286"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Autoscaling SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3439,7 +3439,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
|
3439
3439
|
<li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
|
|
3440
3440
|
<li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
|
|
3441
3441
|
<li>ASG_AVG_WAN_TRAFFIC_OUT:平均外网出带宽</li>
|
|
3442
|
-
<li>ASG_AVG_WAN_TRAFFIC_IN
|
|
3442
|
+
<li>ASG_AVG_WAN_TRAFFIC_IN:平均外网入带宽</li>
|
|
3443
3443
|
:type PredefinedMetricType: str
|
|
3444
3444
|
:param _TargetValue: 目标值,仅适用于目标追踪策略。
|
|
3445
3445
|
<li>ASG_AVG_CPU_UTILIZATION:[1, 100),单位:%</li>
|
|
@@ -3558,7 +3558,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
|
3558
3558
|
<li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
|
|
3559
3559
|
<li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
|
|
3560
3560
|
<li>ASG_AVG_WAN_TRAFFIC_OUT:平均外网出带宽</li>
|
|
3561
|
-
<li>ASG_AVG_WAN_TRAFFIC_IN
|
|
3561
|
+
<li>ASG_AVG_WAN_TRAFFIC_IN:平均外网入带宽</li>
|
|
3562
3562
|
:rtype: str
|
|
3563
3563
|
"""
|
|
3564
3564
|
return self._PredefinedMetricType
|
|
@@ -9116,9 +9116,10 @@ class LoginSettings(AbstractModel):
|
|
|
9116
9116
|
def __init__(self):
|
|
9117
9117
|
r"""
|
|
9118
9118
|
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
9119
|
+
- Linux实例密码必须8到30位,至少包括四项(小写字母、大写字母、数字和特殊符号)中的两项。
|
|
9120
|
+
- Windows实例密码必须12到30位,至少包括包括四项(小写字母、大写字母、数字和特殊符号)中的三项。
|
|
9121
|
+
- 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
9122
|
+
特殊符号的取值范围: [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
|
9122
9123
|
:type Password: str
|
|
9123
9124
|
:param _KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
|
9124
9125
|
:type KeyIds: list of str
|
|
@@ -9134,9 +9135,10 @@ class LoginSettings(AbstractModel):
|
|
|
9134
9135
|
@property
|
|
9135
9136
|
def Password(self):
|
|
9136
9137
|
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
9138
|
+
- Linux实例密码必须8到30位,至少包括四项(小写字母、大写字母、数字和特殊符号)中的两项。
|
|
9139
|
+
- Windows实例密码必须12到30位,至少包括包括四项(小写字母、大写字母、数字和特殊符号)中的三项。
|
|
9140
|
+
- 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
9141
|
+
特殊符号的取值范围: [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
|
9140
9142
|
:rtype: str
|
|
9141
9143
|
"""
|
|
9142
9144
|
return self._Password
|
|
@@ -12369,13 +12371,13 @@ class RunAutomationServiceEnabled(AbstractModel):
|
|
|
12369
12371
|
|
|
12370
12372
|
|
|
12371
12373
|
class RunMonitorServiceEnabled(AbstractModel):
|
|
12372
|
-
"""描述了
|
|
12374
|
+
"""描述了 “可观测平台(原名云监控)” 服务相关的信息。
|
|
12373
12375
|
|
|
12374
12376
|
"""
|
|
12375
12377
|
|
|
12376
12378
|
def __init__(self):
|
|
12377
12379
|
r"""
|
|
12378
|
-
:param _Enabled: 是否开启[
|
|
12380
|
+
:param _Enabled: 是否开启[可观测平台(原名云监控)](https://cloud.tencent.com/document/product/248)服务。取值范围:
|
|
12379
12381
|
<li>TRUE:表示开启云监控服务</li>
|
|
12380
12382
|
<li>FALSE:表示不开启云监控服务</li>
|
|
12381
12383
|
默认取值:TRUE。
|
|
@@ -12386,7 +12388,7 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
|
12386
12388
|
|
|
12387
12389
|
@property
|
|
12388
12390
|
def Enabled(self):
|
|
12389
|
-
"""是否开启[
|
|
12391
|
+
"""是否开启[可观测平台(原名云监控)](https://cloud.tencent.com/document/product/248)服务。取值范围:
|
|
12390
12392
|
<li>TRUE:表示开启云监控服务</li>
|
|
12391
12393
|
<li>FALSE:表示不开启云监控服务</li>
|
|
12392
12394
|
默认取值:TRUE。
|
|
@@ -13108,11 +13110,14 @@ RESET:对原有不健康实例进行重装系统操作,可保持数据盘、
|
|
|
13108
13110
|
默认取值:RECREATE
|
|
13109
13111
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13110
13112
|
:type ReplaceMode: str
|
|
13113
|
+
:param _AutoUpdateInstanceTags: 自动更新实例标签。默认取值为 false,配置后如伸缩组标签发生更新,会同步更新(同步更新仅支持新增、修改标签,暂不支持删除标签)伸缩组内运行中状态实例的标签,同步更新非立即生效,存在一定延迟。
|
|
13114
|
+
:type AutoUpdateInstanceTags: bool
|
|
13111
13115
|
"""
|
|
13112
13116
|
self._ReplaceMonitorUnhealthy = None
|
|
13113
13117
|
self._ScalingMode = None
|
|
13114
13118
|
self._ReplaceLoadBalancerUnhealthy = None
|
|
13115
13119
|
self._ReplaceMode = None
|
|
13120
|
+
self._AutoUpdateInstanceTags = None
|
|
13116
13121
|
|
|
13117
13122
|
@property
|
|
13118
13123
|
def ReplaceMonitorUnhealthy(self):
|
|
@@ -13165,12 +13170,24 @@ RESET:对原有不健康实例进行重装系统操作,可保持数据盘、
|
|
|
13165
13170
|
def ReplaceMode(self, ReplaceMode):
|
|
13166
13171
|
self._ReplaceMode = ReplaceMode
|
|
13167
13172
|
|
|
13173
|
+
@property
|
|
13174
|
+
def AutoUpdateInstanceTags(self):
|
|
13175
|
+
"""自动更新实例标签。默认取值为 false,配置后如伸缩组标签发生更新,会同步更新(同步更新仅支持新增、修改标签,暂不支持删除标签)伸缩组内运行中状态实例的标签,同步更新非立即生效,存在一定延迟。
|
|
13176
|
+
:rtype: bool
|
|
13177
|
+
"""
|
|
13178
|
+
return self._AutoUpdateInstanceTags
|
|
13179
|
+
|
|
13180
|
+
@AutoUpdateInstanceTags.setter
|
|
13181
|
+
def AutoUpdateInstanceTags(self, AutoUpdateInstanceTags):
|
|
13182
|
+
self._AutoUpdateInstanceTags = AutoUpdateInstanceTags
|
|
13183
|
+
|
|
13168
13184
|
|
|
13169
13185
|
def _deserialize(self, params):
|
|
13170
13186
|
self._ReplaceMonitorUnhealthy = params.get("ReplaceMonitorUnhealthy")
|
|
13171
13187
|
self._ScalingMode = params.get("ScalingMode")
|
|
13172
13188
|
self._ReplaceLoadBalancerUnhealthy = params.get("ReplaceLoadBalancerUnhealthy")
|
|
13173
13189
|
self._ReplaceMode = params.get("ReplaceMode")
|
|
13190
|
+
self._AutoUpdateInstanceTags = params.get("AutoUpdateInstanceTags")
|
|
13174
13191
|
memeber_set = set(params.keys())
|
|
13175
13192
|
for name, value in vars(self).items():
|
|
13176
13193
|
property_name = name[1:]
|
|
@@ -13536,7 +13553,9 @@ class StartInstanceRefreshRequest(AbstractModel):
|
|
|
13536
13553
|
:type AutoScalingGroupId: str
|
|
13537
13554
|
:param _RefreshSettings: 刷新设置。
|
|
13538
13555
|
:type RefreshSettings: :class:`tencentcloud.autoscaling.v20180419.models.RefreshSettings`
|
|
13539
|
-
:param _RefreshMode:
|
|
13556
|
+
:param _RefreshMode: 刷新模式。取值范围:
|
|
13557
|
+
<li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
|
13558
|
+
<li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
|
13540
13559
|
:type RefreshMode: str
|
|
13541
13560
|
"""
|
|
13542
13561
|
self._AutoScalingGroupId = None
|
|
@@ -13567,7 +13586,9 @@ class StartInstanceRefreshRequest(AbstractModel):
|
|
|
13567
13586
|
|
|
13568
13587
|
@property
|
|
13569
13588
|
def RefreshMode(self):
|
|
13570
|
-
"""
|
|
13589
|
+
"""刷新模式。取值范围:
|
|
13590
|
+
<li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
|
13591
|
+
<li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
|
13571
13592
|
:rtype: str
|
|
13572
13593
|
"""
|
|
13573
13594
|
return self._RefreshMode
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1286
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1270
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|