tencentcloud-sdk-python-autoscaling 3.0.1265__tar.gz → 3.0.1276__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.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/PKG-INFO +3 -3
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/setup.cfg +0 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/setup.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud/autoscaling/v20180419/models.py +93 -13
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud_sdk_python_autoscaling.egg-info/PKG-INFO +3 -3
- tencentcloud-sdk-python-autoscaling-3.0.1276/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-autoscaling-3.0.1265/tencentcloud_sdk_python_autoscaling.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/README.rst +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud/autoscaling/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud/autoscaling/v20180419/__init__.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud/autoscaling/v20180419/autoscaling_client.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud/autoscaling/v20180419/errorcodes.py +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud_sdk_python_autoscaling.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud_sdk_python_autoscaling.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-autoscaling-3.0.1265 → tencentcloud-sdk-python-autoscaling-3.0.1276}/tencentcloud_sdk_python_autoscaling.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 1.
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: tencentcloud-sdk-python-autoscaling
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1276
|
|
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
|
|
7
|
-
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
8
|
License: Apache License 2.0
|
|
9
9
|
Description: ============================
|
|
10
10
|
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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1276"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Autoscaling SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2528,6 +2528,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
|
2528
2528
|
<li>POSTPAID_BY_HOUR:按小时后付费</li>
|
|
2529
2529
|
<li>SPOTPAID:竞价付费</li>
|
|
2530
2530
|
<li>PREPAID:预付费,即包年包月</li>
|
|
2531
|
+
<li>CDCPAID:专用集群付费</li>
|
|
2531
2532
|
:type InstanceChargeType: str
|
|
2532
2533
|
:param _InstanceMarketOptions: 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
|
|
2533
2534
|
:type InstanceMarketOptions: :class:`tencentcloud.autoscaling.v20180419.models.InstanceMarketOptionsRequest`
|
|
@@ -2567,6 +2568,8 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
|
2567
2568
|
:type DisasterRecoverGroupIds: list of str
|
|
2568
2569
|
:param _ImageFamily: 镜像族名称。镜像Id与镜像族名称,二者必填一个且只能填写一个。
|
|
2569
2570
|
:type ImageFamily: str
|
|
2571
|
+
:param _DedicatedClusterId: 本地专用集群ID。
|
|
2572
|
+
:type DedicatedClusterId: str
|
|
2570
2573
|
"""
|
|
2571
2574
|
self._LaunchConfigurationName = None
|
|
2572
2575
|
self._ImageId = None
|
|
@@ -2594,6 +2597,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
|
2594
2597
|
self._IPv6InternetAccessible = None
|
|
2595
2598
|
self._DisasterRecoverGroupIds = None
|
|
2596
2599
|
self._ImageFamily = None
|
|
2600
|
+
self._DedicatedClusterId = None
|
|
2597
2601
|
|
|
2598
2602
|
@property
|
|
2599
2603
|
def LaunchConfigurationName(self):
|
|
@@ -2724,6 +2728,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
|
2724
2728
|
<li>POSTPAID_BY_HOUR:按小时后付费</li>
|
|
2725
2729
|
<li>SPOTPAID:竞价付费</li>
|
|
2726
2730
|
<li>PREPAID:预付费,即包年包月</li>
|
|
2731
|
+
<li>CDCPAID:专用集群付费</li>
|
|
2727
2732
|
:rtype: str
|
|
2728
2733
|
"""
|
|
2729
2734
|
return self._InstanceChargeType
|
|
@@ -2896,6 +2901,17 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
|
2896
2901
|
def ImageFamily(self, ImageFamily):
|
|
2897
2902
|
self._ImageFamily = ImageFamily
|
|
2898
2903
|
|
|
2904
|
+
@property
|
|
2905
|
+
def DedicatedClusterId(self):
|
|
2906
|
+
"""本地专用集群ID。
|
|
2907
|
+
:rtype: str
|
|
2908
|
+
"""
|
|
2909
|
+
return self._DedicatedClusterId
|
|
2910
|
+
|
|
2911
|
+
@DedicatedClusterId.setter
|
|
2912
|
+
def DedicatedClusterId(self, DedicatedClusterId):
|
|
2913
|
+
self._DedicatedClusterId = DedicatedClusterId
|
|
2914
|
+
|
|
2899
2915
|
|
|
2900
2916
|
def _deserialize(self, params):
|
|
2901
2917
|
self._LaunchConfigurationName = params.get("LaunchConfigurationName")
|
|
@@ -2957,6 +2973,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
|
2957
2973
|
self._IPv6InternetAccessible._deserialize(params.get("IPv6InternetAccessible"))
|
|
2958
2974
|
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
|
2959
2975
|
self._ImageFamily = params.get("ImageFamily")
|
|
2976
|
+
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
|
2960
2977
|
memeber_set = set(params.keys())
|
|
2961
2978
|
for name, value in vars(self).items():
|
|
2962
2979
|
property_name = name[1:]
|
|
@@ -3422,7 +3439,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
|
3422
3439
|
<li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
|
|
3423
3440
|
<li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
|
|
3424
3441
|
<li>ASG_AVG_WAN_TRAFFIC_OUT:平均外网出带宽</li>
|
|
3425
|
-
<li>ASG_AVG_WAN_TRAFFIC_IN
|
|
3442
|
+
<li>ASG_AVG_WAN_TRAFFIC_IN:平均外网入带宽</li>
|
|
3426
3443
|
:type PredefinedMetricType: str
|
|
3427
3444
|
:param _TargetValue: 目标值,仅适用于目标追踪策略。
|
|
3428
3445
|
<li>ASG_AVG_CPU_UTILIZATION:[1, 100),单位:%</li>
|
|
@@ -3541,7 +3558,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
|
3541
3558
|
<li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
|
|
3542
3559
|
<li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
|
|
3543
3560
|
<li>ASG_AVG_WAN_TRAFFIC_OUT:平均外网出带宽</li>
|
|
3544
|
-
<li>ASG_AVG_WAN_TRAFFIC_IN
|
|
3561
|
+
<li>ASG_AVG_WAN_TRAFFIC_IN:平均外网入带宽</li>
|
|
3545
3562
|
:rtype: str
|
|
3546
3563
|
"""
|
|
3547
3564
|
return self._PredefinedMetricType
|
|
@@ -8160,6 +8177,8 @@ class LaunchConfiguration(AbstractModel):
|
|
|
8160
8177
|
:param _ImageFamily: 镜像族名称。
|
|
8161
8178
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8162
8179
|
:type ImageFamily: str
|
|
8180
|
+
:param _DedicatedClusterId: 本地专用集群 ID。
|
|
8181
|
+
:type DedicatedClusterId: str
|
|
8163
8182
|
"""
|
|
8164
8183
|
self._ProjectId = None
|
|
8165
8184
|
self._LaunchConfigurationId = None
|
|
@@ -8193,6 +8212,7 @@ class LaunchConfiguration(AbstractModel):
|
|
|
8193
8212
|
self._IPv6InternetAccessible = None
|
|
8194
8213
|
self._DisasterRecoverGroupIds = None
|
|
8195
8214
|
self._ImageFamily = None
|
|
8215
|
+
self._DedicatedClusterId = None
|
|
8196
8216
|
|
|
8197
8217
|
@property
|
|
8198
8218
|
def ProjectId(self):
|
|
@@ -8551,6 +8571,17 @@ class LaunchConfiguration(AbstractModel):
|
|
|
8551
8571
|
def ImageFamily(self, ImageFamily):
|
|
8552
8572
|
self._ImageFamily = ImageFamily
|
|
8553
8573
|
|
|
8574
|
+
@property
|
|
8575
|
+
def DedicatedClusterId(self):
|
|
8576
|
+
"""本地专用集群 ID。
|
|
8577
|
+
:rtype: str
|
|
8578
|
+
"""
|
|
8579
|
+
return self._DedicatedClusterId
|
|
8580
|
+
|
|
8581
|
+
@DedicatedClusterId.setter
|
|
8582
|
+
def DedicatedClusterId(self, DedicatedClusterId):
|
|
8583
|
+
self._DedicatedClusterId = DedicatedClusterId
|
|
8584
|
+
|
|
8554
8585
|
|
|
8555
8586
|
def _deserialize(self, params):
|
|
8556
8587
|
self._ProjectId = params.get("ProjectId")
|
|
@@ -8623,6 +8654,7 @@ class LaunchConfiguration(AbstractModel):
|
|
|
8623
8654
|
self._IPv6InternetAccessible._deserialize(params.get("IPv6InternetAccessible"))
|
|
8624
8655
|
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
|
8625
8656
|
self._ImageFamily = params.get("ImageFamily")
|
|
8657
|
+
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
|
8626
8658
|
memeber_set = set(params.keys())
|
|
8627
8659
|
for name, value in vars(self).items():
|
|
8628
8660
|
property_name = name[1:]
|
|
@@ -9083,11 +9115,17 @@ class LoginSettings(AbstractModel):
|
|
|
9083
9115
|
|
|
9084
9116
|
def __init__(self):
|
|
9085
9117
|
r"""
|
|
9086
|
-
:param _Password:
|
|
9118
|
+
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
|
|
9119
|
+
- Linux实例密码必须8到30位,至少包括四项(小写字母、大写字母、数字和特殊符号)中的两项。
|
|
9120
|
+
- Windows实例密码必须12到30位,至少包括包括四项(小写字母、大写字母、数字和特殊符号)中的三项。
|
|
9121
|
+
- 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
9122
|
+
特殊符号的取值范围: [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
|
9087
9123
|
:type Password: str
|
|
9088
9124
|
:param _KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
|
9089
9125
|
:type KeyIds: list of str
|
|
9090
|
-
:param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE
|
|
9126
|
+
:param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:
|
|
9127
|
+
<li>TRUE:表示保持镜像的登录设置</li>
|
|
9128
|
+
<li>FALSE:表示不保持镜像的登录设置</li>默认取值:FALSE。
|
|
9091
9129
|
:type KeepImageLogin: bool
|
|
9092
9130
|
"""
|
|
9093
9131
|
self._Password = None
|
|
@@ -9096,7 +9134,11 @@ class LoginSettings(AbstractModel):
|
|
|
9096
9134
|
|
|
9097
9135
|
@property
|
|
9098
9136
|
def Password(self):
|
|
9099
|
-
"""
|
|
9137
|
+
"""实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
|
|
9138
|
+
- Linux实例密码必须8到30位,至少包括四项(小写字母、大写字母、数字和特殊符号)中的两项。
|
|
9139
|
+
- Windows实例密码必须12到30位,至少包括包括四项(小写字母、大写字母、数字和特殊符号)中的三项。
|
|
9140
|
+
- 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
9141
|
+
特殊符号的取值范围: [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
|
9100
9142
|
:rtype: str
|
|
9101
9143
|
"""
|
|
9102
9144
|
return self._Password
|
|
@@ -9118,7 +9160,9 @@ class LoginSettings(AbstractModel):
|
|
|
9118
9160
|
|
|
9119
9161
|
@property
|
|
9120
9162
|
def KeepImageLogin(self):
|
|
9121
|
-
"""保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE
|
|
9163
|
+
"""保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:
|
|
9164
|
+
<li>TRUE:表示保持镜像的登录设置</li>
|
|
9165
|
+
<li>FALSE:表示不保持镜像的登录设置</li>默认取值:FALSE。
|
|
9122
9166
|
:rtype: bool
|
|
9123
9167
|
"""
|
|
9124
9168
|
return self._KeepImageLogin
|
|
@@ -9859,6 +9903,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
|
9859
9903
|
<li>POSTPAID_BY_HOUR:按小时后付费</li>
|
|
9860
9904
|
<li>SPOTPAID:竞价付费</li>
|
|
9861
9905
|
<li>PREPAID:预付费,即包年包月</li>
|
|
9906
|
+
<li>CDCPAID:专用集群付费</li>
|
|
9862
9907
|
:type InstanceChargeType: str
|
|
9863
9908
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
|
|
9864
9909
|
若修改实例的付费模式为预付费,则该参数必传;从预付费修改为其他付费模式时,本字段原信息会自动丢弃。
|
|
@@ -9906,6 +9951,8 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
|
9906
9951
|
:type InstanceTags: list of InstanceTag
|
|
9907
9952
|
:param _ImageFamily: 镜像族名称。
|
|
9908
9953
|
:type ImageFamily: str
|
|
9954
|
+
:param _DedicatedClusterId: 本地专用集群ID。
|
|
9955
|
+
:type DedicatedClusterId: str
|
|
9909
9956
|
"""
|
|
9910
9957
|
self._LaunchConfigurationId = None
|
|
9911
9958
|
self._ImageId = None
|
|
@@ -9931,6 +9978,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
|
9931
9978
|
self._LoginSettings = None
|
|
9932
9979
|
self._InstanceTags = None
|
|
9933
9980
|
self._ImageFamily = None
|
|
9981
|
+
self._DedicatedClusterId = None
|
|
9934
9982
|
|
|
9935
9983
|
@property
|
|
9936
9984
|
def LaunchConfigurationId(self):
|
|
@@ -10033,6 +10081,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
|
10033
10081
|
<li>POSTPAID_BY_HOUR:按小时后付费</li>
|
|
10034
10082
|
<li>SPOTPAID:竞价付费</li>
|
|
10035
10083
|
<li>PREPAID:预付费,即包年包月</li>
|
|
10084
|
+
<li>CDCPAID:专用集群付费</li>
|
|
10036
10085
|
:rtype: str
|
|
10037
10086
|
"""
|
|
10038
10087
|
return self._InstanceChargeType
|
|
@@ -10222,6 +10271,17 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
|
10222
10271
|
def ImageFamily(self, ImageFamily):
|
|
10223
10272
|
self._ImageFamily = ImageFamily
|
|
10224
10273
|
|
|
10274
|
+
@property
|
|
10275
|
+
def DedicatedClusterId(self):
|
|
10276
|
+
"""本地专用集群ID。
|
|
10277
|
+
:rtype: str
|
|
10278
|
+
"""
|
|
10279
|
+
return self._DedicatedClusterId
|
|
10280
|
+
|
|
10281
|
+
@DedicatedClusterId.setter
|
|
10282
|
+
def DedicatedClusterId(self, DedicatedClusterId):
|
|
10283
|
+
self._DedicatedClusterId = DedicatedClusterId
|
|
10284
|
+
|
|
10225
10285
|
|
|
10226
10286
|
def _deserialize(self, params):
|
|
10227
10287
|
self._LaunchConfigurationId = params.get("LaunchConfigurationId")
|
|
@@ -10276,6 +10336,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
|
10276
10336
|
obj._deserialize(item)
|
|
10277
10337
|
self._InstanceTags.append(obj)
|
|
10278
10338
|
self._ImageFamily = params.get("ImageFamily")
|
|
10339
|
+
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
|
10279
10340
|
memeber_set = set(params.keys())
|
|
10280
10341
|
for name, value in vars(self).items():
|
|
10281
10342
|
property_name = name[1:]
|
|
@@ -12310,13 +12371,13 @@ class RunAutomationServiceEnabled(AbstractModel):
|
|
|
12310
12371
|
|
|
12311
12372
|
|
|
12312
12373
|
class RunMonitorServiceEnabled(AbstractModel):
|
|
12313
|
-
"""描述了
|
|
12374
|
+
"""描述了 “可观测平台(原名云监控)” 服务相关的信息。
|
|
12314
12375
|
|
|
12315
12376
|
"""
|
|
12316
12377
|
|
|
12317
12378
|
def __init__(self):
|
|
12318
12379
|
r"""
|
|
12319
|
-
:param _Enabled: 是否开启[
|
|
12380
|
+
:param _Enabled: 是否开启[可观测平台(原名云监控)](https://cloud.tencent.com/document/product/248)服务。取值范围:
|
|
12320
12381
|
<li>TRUE:表示开启云监控服务</li>
|
|
12321
12382
|
<li>FALSE:表示不开启云监控服务</li>
|
|
12322
12383
|
默认取值:TRUE。
|
|
@@ -12327,7 +12388,7 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
|
12327
12388
|
|
|
12328
12389
|
@property
|
|
12329
12390
|
def Enabled(self):
|
|
12330
|
-
"""是否开启[
|
|
12391
|
+
"""是否开启[可观测平台(原名云监控)](https://cloud.tencent.com/document/product/248)服务。取值范围:
|
|
12331
12392
|
<li>TRUE:表示开启云监控服务</li>
|
|
12332
12393
|
<li>FALSE:表示不开启云监控服务</li>
|
|
12333
12394
|
默认取值:TRUE。
|
|
@@ -13049,11 +13110,14 @@ RESET:对原有不健康实例进行重装系统操作,可保持数据盘、
|
|
|
13049
13110
|
默认取值:RECREATE
|
|
13050
13111
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13051
13112
|
:type ReplaceMode: str
|
|
13113
|
+
:param _AutoUpdateInstanceTags: 自动更新实例标签。默认取值为 false,配置后如伸缩组标签发生更新,会同步更新(同步更新仅支持新增、修改标签,暂不支持删除标签)伸缩组内运行中状态实例的标签,同步更新非立即生效,存在一定延迟。
|
|
13114
|
+
:type AutoUpdateInstanceTags: bool
|
|
13052
13115
|
"""
|
|
13053
13116
|
self._ReplaceMonitorUnhealthy = None
|
|
13054
13117
|
self._ScalingMode = None
|
|
13055
13118
|
self._ReplaceLoadBalancerUnhealthy = None
|
|
13056
13119
|
self._ReplaceMode = None
|
|
13120
|
+
self._AutoUpdateInstanceTags = None
|
|
13057
13121
|
|
|
13058
13122
|
@property
|
|
13059
13123
|
def ReplaceMonitorUnhealthy(self):
|
|
@@ -13106,12 +13170,24 @@ RESET:对原有不健康实例进行重装系统操作,可保持数据盘、
|
|
|
13106
13170
|
def ReplaceMode(self, ReplaceMode):
|
|
13107
13171
|
self._ReplaceMode = ReplaceMode
|
|
13108
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
|
+
|
|
13109
13184
|
|
|
13110
13185
|
def _deserialize(self, params):
|
|
13111
13186
|
self._ReplaceMonitorUnhealthy = params.get("ReplaceMonitorUnhealthy")
|
|
13112
13187
|
self._ScalingMode = params.get("ScalingMode")
|
|
13113
13188
|
self._ReplaceLoadBalancerUnhealthy = params.get("ReplaceLoadBalancerUnhealthy")
|
|
13114
13189
|
self._ReplaceMode = params.get("ReplaceMode")
|
|
13190
|
+
self._AutoUpdateInstanceTags = params.get("AutoUpdateInstanceTags")
|
|
13115
13191
|
memeber_set = set(params.keys())
|
|
13116
13192
|
for name, value in vars(self).items():
|
|
13117
13193
|
property_name = name[1:]
|
|
@@ -13477,7 +13553,9 @@ class StartInstanceRefreshRequest(AbstractModel):
|
|
|
13477
13553
|
:type AutoScalingGroupId: str
|
|
13478
13554
|
:param _RefreshSettings: 刷新设置。
|
|
13479
13555
|
:type RefreshSettings: :class:`tencentcloud.autoscaling.v20180419.models.RefreshSettings`
|
|
13480
|
-
:param _RefreshMode:
|
|
13556
|
+
:param _RefreshMode: 刷新模式。取值范围:
|
|
13557
|
+
<li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
|
13558
|
+
<li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
|
13481
13559
|
:type RefreshMode: str
|
|
13482
13560
|
"""
|
|
13483
13561
|
self._AutoScalingGroupId = None
|
|
@@ -13508,7 +13586,9 @@ class StartInstanceRefreshRequest(AbstractModel):
|
|
|
13508
13586
|
|
|
13509
13587
|
@property
|
|
13510
13588
|
def RefreshMode(self):
|
|
13511
|
-
"""
|
|
13589
|
+
"""刷新模式。取值范围:
|
|
13590
|
+
<li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
|
13591
|
+
<li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
|
13512
13592
|
:rtype: str
|
|
13513
13593
|
"""
|
|
13514
13594
|
return self._RefreshMode
|
|
@@ -13837,7 +13917,7 @@ class Tag(AbstractModel):
|
|
|
13837
13917
|
:type Key: str
|
|
13838
13918
|
:param _Value: 标签值
|
|
13839
13919
|
:type Value: str
|
|
13840
|
-
:param _ResourceType: 标签绑定的资源类型,当前支持类型:"auto-scaling-group
|
|
13920
|
+
:param _ResourceType: 标签绑定的资源类型,当前支持类型:"auto-scaling-group", "launch-configuration"
|
|
13841
13921
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13842
13922
|
:type ResourceType: str
|
|
13843
13923
|
"""
|
|
@@ -13869,7 +13949,7 @@ class Tag(AbstractModel):
|
|
|
13869
13949
|
|
|
13870
13950
|
@property
|
|
13871
13951
|
def ResourceType(self):
|
|
13872
|
-
"""标签绑定的资源类型,当前支持类型:"auto-scaling-group
|
|
13952
|
+
"""标签绑定的资源类型,当前支持类型:"auto-scaling-group", "launch-configuration"
|
|
13873
13953
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13874
13954
|
:rtype: str
|
|
13875
13955
|
"""
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 1.
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: tencentcloud-sdk-python-autoscaling
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1276
|
|
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
|
|
7
|
-
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
8
|
License: Apache License 2.0
|
|
9
9
|
Description: ============================
|
|
10
10
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1276
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1265
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|