tencentcloud-sdk-python 3.0.990__py2.py3-none-any.whl → 3.0.991__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +177 -0
- tencentcloud/autoscaling/v20180419/errorcodes.py +27 -0
- tencentcloud/autoscaling/v20180419/models.py +1082 -10
- tencentcloud/emr/v20190103/models.py +67 -2
- tencentcloud/ess/v20201111/ess_client.py +23 -0
- tencentcloud/ess/v20201111/models.py +113 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +23 -0
- tencentcloud/essbasic/v20210526/models.py +31 -0
- tencentcloud/iai/v20200303/models.py +28 -28
- tencentcloud/live/v20180801/live_client.py +1 -2
- tencentcloud/live/v20180801/models.py +13 -0
- tencentcloud/mps/v20190612/models.py +78 -0
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/tcb/v20180608/models.py +114 -0
- tencentcloud/teo/v20220901/models.py +5 -8
- tencentcloud/tke/v20180525/errorcodes.py +13 -1
- tencentcloud/tke/v20180525/models.py +1993 -0
- tencentcloud/tke/v20180525/tke_client.py +207 -0
- tencentcloud/vpc/v20170312/models.py +226 -0
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/top_level.txt +0 -0
|
@@ -1210,6 +1210,76 @@ class AutoScalingNotification(AbstractModel):
|
|
|
1210
1210
|
|
|
1211
1211
|
|
|
1212
1212
|
|
|
1213
|
+
class CancelInstanceRefreshRequest(AbstractModel):
|
|
1214
|
+
"""CancelInstanceRefresh请求参数结构体
|
|
1215
|
+
|
|
1216
|
+
"""
|
|
1217
|
+
|
|
1218
|
+
def __init__(self):
|
|
1219
|
+
r"""
|
|
1220
|
+
:param _AutoScalingGroupId: 伸缩组ID。
|
|
1221
|
+
:type AutoScalingGroupId: str
|
|
1222
|
+
:param _RefreshActivityId: 刷新活动ID。
|
|
1223
|
+
:type RefreshActivityId: str
|
|
1224
|
+
"""
|
|
1225
|
+
self._AutoScalingGroupId = None
|
|
1226
|
+
self._RefreshActivityId = None
|
|
1227
|
+
|
|
1228
|
+
@property
|
|
1229
|
+
def AutoScalingGroupId(self):
|
|
1230
|
+
return self._AutoScalingGroupId
|
|
1231
|
+
|
|
1232
|
+
@AutoScalingGroupId.setter
|
|
1233
|
+
def AutoScalingGroupId(self, AutoScalingGroupId):
|
|
1234
|
+
self._AutoScalingGroupId = AutoScalingGroupId
|
|
1235
|
+
|
|
1236
|
+
@property
|
|
1237
|
+
def RefreshActivityId(self):
|
|
1238
|
+
return self._RefreshActivityId
|
|
1239
|
+
|
|
1240
|
+
@RefreshActivityId.setter
|
|
1241
|
+
def RefreshActivityId(self, RefreshActivityId):
|
|
1242
|
+
self._RefreshActivityId = RefreshActivityId
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
def _deserialize(self, params):
|
|
1246
|
+
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
1247
|
+
self._RefreshActivityId = params.get("RefreshActivityId")
|
|
1248
|
+
memeber_set = set(params.keys())
|
|
1249
|
+
for name, value in vars(self).items():
|
|
1250
|
+
property_name = name[1:]
|
|
1251
|
+
if property_name in memeber_set:
|
|
1252
|
+
memeber_set.remove(property_name)
|
|
1253
|
+
if len(memeber_set) > 0:
|
|
1254
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
class CancelInstanceRefreshResponse(AbstractModel):
|
|
1259
|
+
"""CancelInstanceRefresh返回参数结构体
|
|
1260
|
+
|
|
1261
|
+
"""
|
|
1262
|
+
|
|
1263
|
+
def __init__(self):
|
|
1264
|
+
r"""
|
|
1265
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1266
|
+
:type RequestId: str
|
|
1267
|
+
"""
|
|
1268
|
+
self._RequestId = None
|
|
1269
|
+
|
|
1270
|
+
@property
|
|
1271
|
+
def RequestId(self):
|
|
1272
|
+
return self._RequestId
|
|
1273
|
+
|
|
1274
|
+
@RequestId.setter
|
|
1275
|
+
def RequestId(self, RequestId):
|
|
1276
|
+
self._RequestId = RequestId
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
def _deserialize(self, params):
|
|
1280
|
+
self._RequestId = params.get("RequestId")
|
|
1281
|
+
|
|
1282
|
+
|
|
1213
1283
|
class ClearLaunchConfigurationAttributesRequest(AbstractModel):
|
|
1214
1284
|
"""ClearLaunchConfigurationAttributes请求参数结构体
|
|
1215
1285
|
|
|
@@ -4506,6 +4576,139 @@ class DescribeNotificationConfigurationsResponse(AbstractModel):
|
|
|
4506
4576
|
self._RequestId = params.get("RequestId")
|
|
4507
4577
|
|
|
4508
4578
|
|
|
4579
|
+
class DescribeRefreshActivitiesRequest(AbstractModel):
|
|
4580
|
+
"""DescribeRefreshActivities请求参数结构体
|
|
4581
|
+
|
|
4582
|
+
"""
|
|
4583
|
+
|
|
4584
|
+
def __init__(self):
|
|
4585
|
+
r"""
|
|
4586
|
+
:param _RefreshActivityIds: 刷新活动ID列表。ID形如:`asr-5l2ejpfo`。每次请求的上限为100。参数不支持同时指定`RefreshActivityIds`和`Filters`。
|
|
4587
|
+
:type RefreshActivityIds: list of str
|
|
4588
|
+
:param _Filters: 过滤条件。
|
|
4589
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
|
|
4590
|
+
<li> refresh-activity-status-code - String - 是否必填:否 -(过滤条件)按照刷新活动状态过滤。(INIT:初始化中 | RUNNING:运行中 | SUCCESSFUL:活动成功 | FAILED_PAUSE:失败暂停 | AUTO_PAUSE:自动暂停 | MANUAL_PAUSE:手动暂停 | CANCELLED:活动取消 | FAILED:活动失败)</li>
|
|
4591
|
+
<li> refresh-activity-type - String - 是否必填:否 -(过滤条件)按照刷新活动类型过滤。(NORMAL:正常刷新活动 | ROLLBACK:回滚刷新活动)</li>
|
|
4592
|
+
<li> refresh-activity-id - String - 是否必填:否 -(过滤条件)按照刷新活动ID过滤。</li>
|
|
4593
|
+
<li> 每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定RefreshActivityIds和Filters。
|
|
4594
|
+
:type Filters: list of Filter
|
|
4595
|
+
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
4596
|
+
:type Limit: int
|
|
4597
|
+
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
4598
|
+
:type Offset: int
|
|
4599
|
+
"""
|
|
4600
|
+
self._RefreshActivityIds = None
|
|
4601
|
+
self._Filters = None
|
|
4602
|
+
self._Limit = None
|
|
4603
|
+
self._Offset = None
|
|
4604
|
+
|
|
4605
|
+
@property
|
|
4606
|
+
def RefreshActivityIds(self):
|
|
4607
|
+
return self._RefreshActivityIds
|
|
4608
|
+
|
|
4609
|
+
@RefreshActivityIds.setter
|
|
4610
|
+
def RefreshActivityIds(self, RefreshActivityIds):
|
|
4611
|
+
self._RefreshActivityIds = RefreshActivityIds
|
|
4612
|
+
|
|
4613
|
+
@property
|
|
4614
|
+
def Filters(self):
|
|
4615
|
+
return self._Filters
|
|
4616
|
+
|
|
4617
|
+
@Filters.setter
|
|
4618
|
+
def Filters(self, Filters):
|
|
4619
|
+
self._Filters = Filters
|
|
4620
|
+
|
|
4621
|
+
@property
|
|
4622
|
+
def Limit(self):
|
|
4623
|
+
return self._Limit
|
|
4624
|
+
|
|
4625
|
+
@Limit.setter
|
|
4626
|
+
def Limit(self, Limit):
|
|
4627
|
+
self._Limit = Limit
|
|
4628
|
+
|
|
4629
|
+
@property
|
|
4630
|
+
def Offset(self):
|
|
4631
|
+
return self._Offset
|
|
4632
|
+
|
|
4633
|
+
@Offset.setter
|
|
4634
|
+
def Offset(self, Offset):
|
|
4635
|
+
self._Offset = Offset
|
|
4636
|
+
|
|
4637
|
+
|
|
4638
|
+
def _deserialize(self, params):
|
|
4639
|
+
self._RefreshActivityIds = params.get("RefreshActivityIds")
|
|
4640
|
+
if params.get("Filters") is not None:
|
|
4641
|
+
self._Filters = []
|
|
4642
|
+
for item in params.get("Filters"):
|
|
4643
|
+
obj = Filter()
|
|
4644
|
+
obj._deserialize(item)
|
|
4645
|
+
self._Filters.append(obj)
|
|
4646
|
+
self._Limit = params.get("Limit")
|
|
4647
|
+
self._Offset = params.get("Offset")
|
|
4648
|
+
memeber_set = set(params.keys())
|
|
4649
|
+
for name, value in vars(self).items():
|
|
4650
|
+
property_name = name[1:]
|
|
4651
|
+
if property_name in memeber_set:
|
|
4652
|
+
memeber_set.remove(property_name)
|
|
4653
|
+
if len(memeber_set) > 0:
|
|
4654
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4655
|
+
|
|
4656
|
+
|
|
4657
|
+
|
|
4658
|
+
class DescribeRefreshActivitiesResponse(AbstractModel):
|
|
4659
|
+
"""DescribeRefreshActivities返回参数结构体
|
|
4660
|
+
|
|
4661
|
+
"""
|
|
4662
|
+
|
|
4663
|
+
def __init__(self):
|
|
4664
|
+
r"""
|
|
4665
|
+
:param _TotalCount: 符合条件的刷新活动数量。
|
|
4666
|
+
:type TotalCount: int
|
|
4667
|
+
:param _RefreshActivitySet: 符合条件的刷新活动信息集合。
|
|
4668
|
+
:type RefreshActivitySet: list of RefreshActivity
|
|
4669
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4670
|
+
:type RequestId: str
|
|
4671
|
+
"""
|
|
4672
|
+
self._TotalCount = None
|
|
4673
|
+
self._RefreshActivitySet = None
|
|
4674
|
+
self._RequestId = None
|
|
4675
|
+
|
|
4676
|
+
@property
|
|
4677
|
+
def TotalCount(self):
|
|
4678
|
+
return self._TotalCount
|
|
4679
|
+
|
|
4680
|
+
@TotalCount.setter
|
|
4681
|
+
def TotalCount(self, TotalCount):
|
|
4682
|
+
self._TotalCount = TotalCount
|
|
4683
|
+
|
|
4684
|
+
@property
|
|
4685
|
+
def RefreshActivitySet(self):
|
|
4686
|
+
return self._RefreshActivitySet
|
|
4687
|
+
|
|
4688
|
+
@RefreshActivitySet.setter
|
|
4689
|
+
def RefreshActivitySet(self, RefreshActivitySet):
|
|
4690
|
+
self._RefreshActivitySet = RefreshActivitySet
|
|
4691
|
+
|
|
4692
|
+
@property
|
|
4693
|
+
def RequestId(self):
|
|
4694
|
+
return self._RequestId
|
|
4695
|
+
|
|
4696
|
+
@RequestId.setter
|
|
4697
|
+
def RequestId(self, RequestId):
|
|
4698
|
+
self._RequestId = RequestId
|
|
4699
|
+
|
|
4700
|
+
|
|
4701
|
+
def _deserialize(self, params):
|
|
4702
|
+
self._TotalCount = params.get("TotalCount")
|
|
4703
|
+
if params.get("RefreshActivitySet") is not None:
|
|
4704
|
+
self._RefreshActivitySet = []
|
|
4705
|
+
for item in params.get("RefreshActivitySet"):
|
|
4706
|
+
obj = RefreshActivity()
|
|
4707
|
+
obj._deserialize(item)
|
|
4708
|
+
self._RefreshActivitySet.append(obj)
|
|
4709
|
+
self._RequestId = params.get("RequestId")
|
|
4710
|
+
|
|
4711
|
+
|
|
4509
4712
|
class DescribeScalingPoliciesRequest(AbstractModel):
|
|
4510
4713
|
"""DescribeScalingPolicies请求参数结构体
|
|
4511
4714
|
|
|
@@ -5350,6 +5553,89 @@ class ExecuteScalingPolicyResponse(AbstractModel):
|
|
|
5350
5553
|
self._RequestId = params.get("RequestId")
|
|
5351
5554
|
|
|
5352
5555
|
|
|
5556
|
+
class ExitStandbyRequest(AbstractModel):
|
|
5557
|
+
"""ExitStandby请求参数结构体
|
|
5558
|
+
|
|
5559
|
+
"""
|
|
5560
|
+
|
|
5561
|
+
def __init__(self):
|
|
5562
|
+
r"""
|
|
5563
|
+
:param _AutoScalingGroupId: 伸缩组 ID。
|
|
5564
|
+
:type AutoScalingGroupId: str
|
|
5565
|
+
:param _InstanceIds: 备用中状态 CVM 实例列表。
|
|
5566
|
+
:type InstanceIds: list of str
|
|
5567
|
+
"""
|
|
5568
|
+
self._AutoScalingGroupId = None
|
|
5569
|
+
self._InstanceIds = None
|
|
5570
|
+
|
|
5571
|
+
@property
|
|
5572
|
+
def AutoScalingGroupId(self):
|
|
5573
|
+
return self._AutoScalingGroupId
|
|
5574
|
+
|
|
5575
|
+
@AutoScalingGroupId.setter
|
|
5576
|
+
def AutoScalingGroupId(self, AutoScalingGroupId):
|
|
5577
|
+
self._AutoScalingGroupId = AutoScalingGroupId
|
|
5578
|
+
|
|
5579
|
+
@property
|
|
5580
|
+
def InstanceIds(self):
|
|
5581
|
+
return self._InstanceIds
|
|
5582
|
+
|
|
5583
|
+
@InstanceIds.setter
|
|
5584
|
+
def InstanceIds(self, InstanceIds):
|
|
5585
|
+
self._InstanceIds = InstanceIds
|
|
5586
|
+
|
|
5587
|
+
|
|
5588
|
+
def _deserialize(self, params):
|
|
5589
|
+
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
5590
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
5591
|
+
memeber_set = set(params.keys())
|
|
5592
|
+
for name, value in vars(self).items():
|
|
5593
|
+
property_name = name[1:]
|
|
5594
|
+
if property_name in memeber_set:
|
|
5595
|
+
memeber_set.remove(property_name)
|
|
5596
|
+
if len(memeber_set) > 0:
|
|
5597
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5598
|
+
|
|
5599
|
+
|
|
5600
|
+
|
|
5601
|
+
class ExitStandbyResponse(AbstractModel):
|
|
5602
|
+
"""ExitStandby返回参数结构体
|
|
5603
|
+
|
|
5604
|
+
"""
|
|
5605
|
+
|
|
5606
|
+
def __init__(self):
|
|
5607
|
+
r"""
|
|
5608
|
+
:param _ActivityId: 伸缩活动ID。
|
|
5609
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5610
|
+
:type ActivityId: str
|
|
5611
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5612
|
+
:type RequestId: str
|
|
5613
|
+
"""
|
|
5614
|
+
self._ActivityId = None
|
|
5615
|
+
self._RequestId = None
|
|
5616
|
+
|
|
5617
|
+
@property
|
|
5618
|
+
def ActivityId(self):
|
|
5619
|
+
return self._ActivityId
|
|
5620
|
+
|
|
5621
|
+
@ActivityId.setter
|
|
5622
|
+
def ActivityId(self, ActivityId):
|
|
5623
|
+
self._ActivityId = ActivityId
|
|
5624
|
+
|
|
5625
|
+
@property
|
|
5626
|
+
def RequestId(self):
|
|
5627
|
+
return self._RequestId
|
|
5628
|
+
|
|
5629
|
+
@RequestId.setter
|
|
5630
|
+
def RequestId(self, RequestId):
|
|
5631
|
+
self._RequestId = RequestId
|
|
5632
|
+
|
|
5633
|
+
|
|
5634
|
+
def _deserialize(self, params):
|
|
5635
|
+
self._ActivityId = params.get("ActivityId")
|
|
5636
|
+
self._RequestId = params.get("RequestId")
|
|
5637
|
+
|
|
5638
|
+
|
|
5353
5639
|
class Filter(AbstractModel):
|
|
5354
5640
|
""">描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
5355
5641
|
> * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
|
|
@@ -8848,21 +9134,406 @@ class NotificationTarget(AbstractModel):
|
|
|
8848
9134
|
|
|
8849
9135
|
|
|
8850
9136
|
|
|
8851
|
-
class
|
|
8852
|
-
"""
|
|
9137
|
+
class RefreshActivity(AbstractModel):
|
|
9138
|
+
"""实例刷新活动。
|
|
8853
9139
|
|
|
8854
9140
|
"""
|
|
8855
9141
|
|
|
8856
9142
|
def __init__(self):
|
|
8857
9143
|
r"""
|
|
8858
|
-
:param
|
|
8859
|
-
:type
|
|
8860
|
-
:param
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
:
|
|
9144
|
+
:param _AutoScalingGroupId: 伸缩组 ID。
|
|
9145
|
+
:type AutoScalingGroupId: str
|
|
9146
|
+
:param _RefreshActivityId: 刷新活动 ID。
|
|
9147
|
+
:type RefreshActivityId: str
|
|
9148
|
+
:param _OriginRefreshActivityId: 原始刷新活动ID,仅在回滚刷新活动中存在。
|
|
9149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9150
|
+
:type OriginRefreshActivityId: str
|
|
9151
|
+
:param _RefreshBatchSet: 刷新批次信息列表。
|
|
9152
|
+
:type RefreshBatchSet: list of RefreshBatch
|
|
9153
|
+
:param _RefreshMode: 刷新模式。
|
|
9154
|
+
:type RefreshMode: str
|
|
9155
|
+
:param _RefreshSettings: 实例更新设置参数。
|
|
9156
|
+
:type RefreshSettings: :class:`tencentcloud.autoscaling.v20180419.models.RefreshSettings`
|
|
9157
|
+
:param _ActivityType: 刷新活动类型。取值如下:<br><li>NORMAL:正常刷新活动</li><li>ROLLBACK:回滚刷新活动
|
|
9158
|
+
:type ActivityType: str
|
|
9159
|
+
:param _Status: 刷新活动状态。取值如下:<br><li>INIT:初始化中</li><li>RUNNING:运行中</li><li>SUCCESSFUL:活动成功</li><li>FAILED_PAUSE:因刷新批次失败暂停</li><li>AUTO_PAUSE:因暂停策略自动暂停</li><li>MANUAL_PAUSE:手动暂停</li><li>CANCELLED:活动取消</li><li>FAILED:活动失败
|
|
9160
|
+
:type Status: str
|
|
9161
|
+
:param _CurrentRefreshBatchNum: 当前刷新批次序号。例如,2 表示当前活动正在刷新第二批次的实例。
|
|
9162
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9163
|
+
:type CurrentRefreshBatchNum: int
|
|
9164
|
+
:param _StartTime: 刷新活动开始时间。
|
|
9165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9166
|
+
:type StartTime: str
|
|
9167
|
+
:param _EndTime: 刷新活动结束时间。
|
|
9168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9169
|
+
:type EndTime: str
|
|
9170
|
+
:param _CreatedTime: 刷新活动创建时间。
|
|
9171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9172
|
+
:type CreatedTime: str
|
|
9173
|
+
"""
|
|
9174
|
+
self._AutoScalingGroupId = None
|
|
9175
|
+
self._RefreshActivityId = None
|
|
9176
|
+
self._OriginRefreshActivityId = None
|
|
9177
|
+
self._RefreshBatchSet = None
|
|
9178
|
+
self._RefreshMode = None
|
|
9179
|
+
self._RefreshSettings = None
|
|
9180
|
+
self._ActivityType = None
|
|
9181
|
+
self._Status = None
|
|
9182
|
+
self._CurrentRefreshBatchNum = None
|
|
9183
|
+
self._StartTime = None
|
|
9184
|
+
self._EndTime = None
|
|
9185
|
+
self._CreatedTime = None
|
|
9186
|
+
|
|
9187
|
+
@property
|
|
9188
|
+
def AutoScalingGroupId(self):
|
|
9189
|
+
return self._AutoScalingGroupId
|
|
9190
|
+
|
|
9191
|
+
@AutoScalingGroupId.setter
|
|
9192
|
+
def AutoScalingGroupId(self, AutoScalingGroupId):
|
|
9193
|
+
self._AutoScalingGroupId = AutoScalingGroupId
|
|
9194
|
+
|
|
9195
|
+
@property
|
|
9196
|
+
def RefreshActivityId(self):
|
|
9197
|
+
return self._RefreshActivityId
|
|
9198
|
+
|
|
9199
|
+
@RefreshActivityId.setter
|
|
9200
|
+
def RefreshActivityId(self, RefreshActivityId):
|
|
9201
|
+
self._RefreshActivityId = RefreshActivityId
|
|
9202
|
+
|
|
9203
|
+
@property
|
|
9204
|
+
def OriginRefreshActivityId(self):
|
|
9205
|
+
return self._OriginRefreshActivityId
|
|
9206
|
+
|
|
9207
|
+
@OriginRefreshActivityId.setter
|
|
9208
|
+
def OriginRefreshActivityId(self, OriginRefreshActivityId):
|
|
9209
|
+
self._OriginRefreshActivityId = OriginRefreshActivityId
|
|
9210
|
+
|
|
9211
|
+
@property
|
|
9212
|
+
def RefreshBatchSet(self):
|
|
9213
|
+
return self._RefreshBatchSet
|
|
9214
|
+
|
|
9215
|
+
@RefreshBatchSet.setter
|
|
9216
|
+
def RefreshBatchSet(self, RefreshBatchSet):
|
|
9217
|
+
self._RefreshBatchSet = RefreshBatchSet
|
|
9218
|
+
|
|
9219
|
+
@property
|
|
9220
|
+
def RefreshMode(self):
|
|
9221
|
+
return self._RefreshMode
|
|
9222
|
+
|
|
9223
|
+
@RefreshMode.setter
|
|
9224
|
+
def RefreshMode(self, RefreshMode):
|
|
9225
|
+
self._RefreshMode = RefreshMode
|
|
9226
|
+
|
|
9227
|
+
@property
|
|
9228
|
+
def RefreshSettings(self):
|
|
9229
|
+
return self._RefreshSettings
|
|
9230
|
+
|
|
9231
|
+
@RefreshSettings.setter
|
|
9232
|
+
def RefreshSettings(self, RefreshSettings):
|
|
9233
|
+
self._RefreshSettings = RefreshSettings
|
|
9234
|
+
|
|
9235
|
+
@property
|
|
9236
|
+
def ActivityType(self):
|
|
9237
|
+
return self._ActivityType
|
|
9238
|
+
|
|
9239
|
+
@ActivityType.setter
|
|
9240
|
+
def ActivityType(self, ActivityType):
|
|
9241
|
+
self._ActivityType = ActivityType
|
|
9242
|
+
|
|
9243
|
+
@property
|
|
9244
|
+
def Status(self):
|
|
9245
|
+
return self._Status
|
|
9246
|
+
|
|
9247
|
+
@Status.setter
|
|
9248
|
+
def Status(self, Status):
|
|
9249
|
+
self._Status = Status
|
|
9250
|
+
|
|
9251
|
+
@property
|
|
9252
|
+
def CurrentRefreshBatchNum(self):
|
|
9253
|
+
return self._CurrentRefreshBatchNum
|
|
9254
|
+
|
|
9255
|
+
@CurrentRefreshBatchNum.setter
|
|
9256
|
+
def CurrentRefreshBatchNum(self, CurrentRefreshBatchNum):
|
|
9257
|
+
self._CurrentRefreshBatchNum = CurrentRefreshBatchNum
|
|
9258
|
+
|
|
9259
|
+
@property
|
|
9260
|
+
def StartTime(self):
|
|
9261
|
+
return self._StartTime
|
|
9262
|
+
|
|
9263
|
+
@StartTime.setter
|
|
9264
|
+
def StartTime(self, StartTime):
|
|
9265
|
+
self._StartTime = StartTime
|
|
9266
|
+
|
|
9267
|
+
@property
|
|
9268
|
+
def EndTime(self):
|
|
9269
|
+
return self._EndTime
|
|
9270
|
+
|
|
9271
|
+
@EndTime.setter
|
|
9272
|
+
def EndTime(self, EndTime):
|
|
9273
|
+
self._EndTime = EndTime
|
|
9274
|
+
|
|
9275
|
+
@property
|
|
9276
|
+
def CreatedTime(self):
|
|
9277
|
+
return self._CreatedTime
|
|
9278
|
+
|
|
9279
|
+
@CreatedTime.setter
|
|
9280
|
+
def CreatedTime(self, CreatedTime):
|
|
9281
|
+
self._CreatedTime = CreatedTime
|
|
9282
|
+
|
|
9283
|
+
|
|
9284
|
+
def _deserialize(self, params):
|
|
9285
|
+
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
9286
|
+
self._RefreshActivityId = params.get("RefreshActivityId")
|
|
9287
|
+
self._OriginRefreshActivityId = params.get("OriginRefreshActivityId")
|
|
9288
|
+
if params.get("RefreshBatchSet") is not None:
|
|
9289
|
+
self._RefreshBatchSet = []
|
|
9290
|
+
for item in params.get("RefreshBatchSet"):
|
|
9291
|
+
obj = RefreshBatch()
|
|
9292
|
+
obj._deserialize(item)
|
|
9293
|
+
self._RefreshBatchSet.append(obj)
|
|
9294
|
+
self._RefreshMode = params.get("RefreshMode")
|
|
9295
|
+
if params.get("RefreshSettings") is not None:
|
|
9296
|
+
self._RefreshSettings = RefreshSettings()
|
|
9297
|
+
self._RefreshSettings._deserialize(params.get("RefreshSettings"))
|
|
9298
|
+
self._ActivityType = params.get("ActivityType")
|
|
9299
|
+
self._Status = params.get("Status")
|
|
9300
|
+
self._CurrentRefreshBatchNum = params.get("CurrentRefreshBatchNum")
|
|
9301
|
+
self._StartTime = params.get("StartTime")
|
|
9302
|
+
self._EndTime = params.get("EndTime")
|
|
9303
|
+
self._CreatedTime = params.get("CreatedTime")
|
|
9304
|
+
memeber_set = set(params.keys())
|
|
9305
|
+
for name, value in vars(self).items():
|
|
9306
|
+
property_name = name[1:]
|
|
9307
|
+
if property_name in memeber_set:
|
|
9308
|
+
memeber_set.remove(property_name)
|
|
9309
|
+
if len(memeber_set) > 0:
|
|
9310
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9311
|
+
|
|
9312
|
+
|
|
9313
|
+
|
|
9314
|
+
class RefreshBatch(AbstractModel):
|
|
9315
|
+
"""实例刷新批次信息,包含该批次的刷新状态、实例、起止时间等信息。
|
|
9316
|
+
|
|
9317
|
+
"""
|
|
9318
|
+
|
|
9319
|
+
def __init__(self):
|
|
9320
|
+
r"""
|
|
9321
|
+
:param _RefreshBatchNum: 刷新批次序号。例如,2 表示当前批次实例会在第二批次进行实例刷新。
|
|
9322
|
+
:type RefreshBatchNum: int
|
|
9323
|
+
:param _RefreshBatchStatus: 刷新批次状态。取值如下:<br><li>WAITING:待刷新</li><li>INIT:初始化中</li><li>RUNNING:刷新中</li><li>FAILED: 刷新失败</li><li>PARTIALLY_SUCCESSFUL:批次部分成功</li><li>CANCELLED:已取消</li><li>SUCCESSFUL:刷新成功
|
|
9324
|
+
:type RefreshBatchStatus: str
|
|
9325
|
+
:param _RefreshBatchRelatedInstanceSet: 刷新批次关联实例列表。
|
|
9326
|
+
:type RefreshBatchRelatedInstanceSet: list of RefreshBatchRelatedInstance
|
|
9327
|
+
:param _StartTime: 刷新批次开始时间。
|
|
9328
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9329
|
+
:type StartTime: str
|
|
9330
|
+
:param _EndTime: 刷新批次结束时间。
|
|
9331
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9332
|
+
:type EndTime: str
|
|
9333
|
+
"""
|
|
9334
|
+
self._RefreshBatchNum = None
|
|
9335
|
+
self._RefreshBatchStatus = None
|
|
9336
|
+
self._RefreshBatchRelatedInstanceSet = None
|
|
9337
|
+
self._StartTime = None
|
|
9338
|
+
self._EndTime = None
|
|
9339
|
+
|
|
9340
|
+
@property
|
|
9341
|
+
def RefreshBatchNum(self):
|
|
9342
|
+
return self._RefreshBatchNum
|
|
9343
|
+
|
|
9344
|
+
@RefreshBatchNum.setter
|
|
9345
|
+
def RefreshBatchNum(self, RefreshBatchNum):
|
|
9346
|
+
self._RefreshBatchNum = RefreshBatchNum
|
|
9347
|
+
|
|
9348
|
+
@property
|
|
9349
|
+
def RefreshBatchStatus(self):
|
|
9350
|
+
return self._RefreshBatchStatus
|
|
9351
|
+
|
|
9352
|
+
@RefreshBatchStatus.setter
|
|
9353
|
+
def RefreshBatchStatus(self, RefreshBatchStatus):
|
|
9354
|
+
self._RefreshBatchStatus = RefreshBatchStatus
|
|
9355
|
+
|
|
9356
|
+
@property
|
|
9357
|
+
def RefreshBatchRelatedInstanceSet(self):
|
|
9358
|
+
return self._RefreshBatchRelatedInstanceSet
|
|
9359
|
+
|
|
9360
|
+
@RefreshBatchRelatedInstanceSet.setter
|
|
9361
|
+
def RefreshBatchRelatedInstanceSet(self, RefreshBatchRelatedInstanceSet):
|
|
9362
|
+
self._RefreshBatchRelatedInstanceSet = RefreshBatchRelatedInstanceSet
|
|
9363
|
+
|
|
9364
|
+
@property
|
|
9365
|
+
def StartTime(self):
|
|
9366
|
+
return self._StartTime
|
|
9367
|
+
|
|
9368
|
+
@StartTime.setter
|
|
9369
|
+
def StartTime(self, StartTime):
|
|
9370
|
+
self._StartTime = StartTime
|
|
9371
|
+
|
|
9372
|
+
@property
|
|
9373
|
+
def EndTime(self):
|
|
9374
|
+
return self._EndTime
|
|
9375
|
+
|
|
9376
|
+
@EndTime.setter
|
|
9377
|
+
def EndTime(self, EndTime):
|
|
9378
|
+
self._EndTime = EndTime
|
|
9379
|
+
|
|
9380
|
+
|
|
9381
|
+
def _deserialize(self, params):
|
|
9382
|
+
self._RefreshBatchNum = params.get("RefreshBatchNum")
|
|
9383
|
+
self._RefreshBatchStatus = params.get("RefreshBatchStatus")
|
|
9384
|
+
if params.get("RefreshBatchRelatedInstanceSet") is not None:
|
|
9385
|
+
self._RefreshBatchRelatedInstanceSet = []
|
|
9386
|
+
for item in params.get("RefreshBatchRelatedInstanceSet"):
|
|
9387
|
+
obj = RefreshBatchRelatedInstance()
|
|
9388
|
+
obj._deserialize(item)
|
|
9389
|
+
self._RefreshBatchRelatedInstanceSet.append(obj)
|
|
9390
|
+
self._StartTime = params.get("StartTime")
|
|
9391
|
+
self._EndTime = params.get("EndTime")
|
|
9392
|
+
memeber_set = set(params.keys())
|
|
9393
|
+
for name, value in vars(self).items():
|
|
9394
|
+
property_name = name[1:]
|
|
9395
|
+
if property_name in memeber_set:
|
|
9396
|
+
memeber_set.remove(property_name)
|
|
9397
|
+
if len(memeber_set) > 0:
|
|
9398
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9399
|
+
|
|
9400
|
+
|
|
9401
|
+
|
|
9402
|
+
class RefreshBatchRelatedInstance(AbstractModel):
|
|
9403
|
+
"""刷新批次关联实例,包含单个实例的刷新活动状态、对应伸缩活动等信息。
|
|
9404
|
+
|
|
9405
|
+
"""
|
|
9406
|
+
|
|
9407
|
+
def __init__(self):
|
|
9408
|
+
r"""
|
|
9409
|
+
:param _InstanceId: 实例 ID。
|
|
9410
|
+
:type InstanceId: str
|
|
9411
|
+
:param _InstanceStatus: 刷新实例状态。如果在刷新时实例被移出或销毁,状态会更新为 NOT_FOUND。取值如下:<br><li>WAITING:待刷新</li><li>INIT:初始化中</li><li>RUNNING:刷新中</li><li>FAILED:刷新失败</li><li>CANCELLED:已取消</li><li>SUCCESSFUL:刷新成功</li><li>NOT_FOUND:实例不存在
|
|
9412
|
+
:type InstanceStatus: str
|
|
9413
|
+
:param _LastActivityId: 实例刷新中最近一次伸缩活动 ID,可通过 DescribeAutoScalingActivities 接口查询。
|
|
9414
|
+
需注意伸缩活动与实例刷新活动不同,一次实例刷新活动可能包括多次伸缩活动。
|
|
9415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9416
|
+
:type LastActivityId: str
|
|
9417
|
+
:param _InstanceStatusMessage: 实例刷新状态信息。
|
|
9418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9419
|
+
:type InstanceStatusMessage: str
|
|
9420
|
+
"""
|
|
9421
|
+
self._InstanceId = None
|
|
9422
|
+
self._InstanceStatus = None
|
|
9423
|
+
self._LastActivityId = None
|
|
9424
|
+
self._InstanceStatusMessage = None
|
|
9425
|
+
|
|
9426
|
+
@property
|
|
9427
|
+
def InstanceId(self):
|
|
9428
|
+
return self._InstanceId
|
|
9429
|
+
|
|
9430
|
+
@InstanceId.setter
|
|
9431
|
+
def InstanceId(self, InstanceId):
|
|
9432
|
+
self._InstanceId = InstanceId
|
|
9433
|
+
|
|
9434
|
+
@property
|
|
9435
|
+
def InstanceStatus(self):
|
|
9436
|
+
return self._InstanceStatus
|
|
9437
|
+
|
|
9438
|
+
@InstanceStatus.setter
|
|
9439
|
+
def InstanceStatus(self, InstanceStatus):
|
|
9440
|
+
self._InstanceStatus = InstanceStatus
|
|
9441
|
+
|
|
9442
|
+
@property
|
|
9443
|
+
def LastActivityId(self):
|
|
9444
|
+
return self._LastActivityId
|
|
9445
|
+
|
|
9446
|
+
@LastActivityId.setter
|
|
9447
|
+
def LastActivityId(self, LastActivityId):
|
|
9448
|
+
self._LastActivityId = LastActivityId
|
|
9449
|
+
|
|
9450
|
+
@property
|
|
9451
|
+
def InstanceStatusMessage(self):
|
|
9452
|
+
return self._InstanceStatusMessage
|
|
9453
|
+
|
|
9454
|
+
@InstanceStatusMessage.setter
|
|
9455
|
+
def InstanceStatusMessage(self, InstanceStatusMessage):
|
|
9456
|
+
self._InstanceStatusMessage = InstanceStatusMessage
|
|
9457
|
+
|
|
9458
|
+
|
|
9459
|
+
def _deserialize(self, params):
|
|
9460
|
+
self._InstanceId = params.get("InstanceId")
|
|
9461
|
+
self._InstanceStatus = params.get("InstanceStatus")
|
|
9462
|
+
self._LastActivityId = params.get("LastActivityId")
|
|
9463
|
+
self._InstanceStatusMessage = params.get("InstanceStatusMessage")
|
|
9464
|
+
memeber_set = set(params.keys())
|
|
9465
|
+
for name, value in vars(self).items():
|
|
9466
|
+
property_name = name[1:]
|
|
9467
|
+
if property_name in memeber_set:
|
|
9468
|
+
memeber_set.remove(property_name)
|
|
9469
|
+
if len(memeber_set) > 0:
|
|
9470
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9471
|
+
|
|
9472
|
+
|
|
9473
|
+
|
|
9474
|
+
class RefreshSettings(AbstractModel):
|
|
9475
|
+
"""实例刷新设置。
|
|
9476
|
+
|
|
9477
|
+
"""
|
|
9478
|
+
|
|
9479
|
+
def __init__(self):
|
|
9480
|
+
r"""
|
|
9481
|
+
:param _RollingUpdateSettings: 滚动更新设置参数。RefreshMode 为滚动更新该参数必须填写。
|
|
9482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9483
|
+
:type RollingUpdateSettings: :class:`tencentcloud.autoscaling.v20180419.models.RollingUpdateSettings`
|
|
9484
|
+
:param _CheckInstanceTargetHealth: 实例后端服务健康状态检查,默认为 FALSE。仅针对绑定应用型负载均衡器的伸缩组生效,开启该检查后,如刷新后实例未通过检查,负载均衡器端口权重始终为 0,且标记为刷新失败。取值范围如下:<br><li>TRUE:开启检查</li><li>FALSE:不开启检查
|
|
9485
|
+
:type CheckInstanceTargetHealth: bool
|
|
9486
|
+
"""
|
|
9487
|
+
self._RollingUpdateSettings = None
|
|
9488
|
+
self._CheckInstanceTargetHealth = None
|
|
9489
|
+
|
|
9490
|
+
@property
|
|
9491
|
+
def RollingUpdateSettings(self):
|
|
9492
|
+
return self._RollingUpdateSettings
|
|
9493
|
+
|
|
9494
|
+
@RollingUpdateSettings.setter
|
|
9495
|
+
def RollingUpdateSettings(self, RollingUpdateSettings):
|
|
9496
|
+
self._RollingUpdateSettings = RollingUpdateSettings
|
|
9497
|
+
|
|
9498
|
+
@property
|
|
9499
|
+
def CheckInstanceTargetHealth(self):
|
|
9500
|
+
return self._CheckInstanceTargetHealth
|
|
9501
|
+
|
|
9502
|
+
@CheckInstanceTargetHealth.setter
|
|
9503
|
+
def CheckInstanceTargetHealth(self, CheckInstanceTargetHealth):
|
|
9504
|
+
self._CheckInstanceTargetHealth = CheckInstanceTargetHealth
|
|
9505
|
+
|
|
9506
|
+
|
|
9507
|
+
def _deserialize(self, params):
|
|
9508
|
+
if params.get("RollingUpdateSettings") is not None:
|
|
9509
|
+
self._RollingUpdateSettings = RollingUpdateSettings()
|
|
9510
|
+
self._RollingUpdateSettings._deserialize(params.get("RollingUpdateSettings"))
|
|
9511
|
+
self._CheckInstanceTargetHealth = params.get("CheckInstanceTargetHealth")
|
|
9512
|
+
memeber_set = set(params.keys())
|
|
9513
|
+
for name, value in vars(self).items():
|
|
9514
|
+
property_name = name[1:]
|
|
9515
|
+
if property_name in memeber_set:
|
|
9516
|
+
memeber_set.remove(property_name)
|
|
9517
|
+
if len(memeber_set) > 0:
|
|
9518
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9519
|
+
|
|
9520
|
+
|
|
9521
|
+
|
|
9522
|
+
class RelatedInstance(AbstractModel):
|
|
9523
|
+
"""与本次伸缩活动相关的实例信息。
|
|
9524
|
+
|
|
9525
|
+
"""
|
|
9526
|
+
|
|
9527
|
+
def __init__(self):
|
|
9528
|
+
r"""
|
|
9529
|
+
:param _InstanceId: 实例ID。
|
|
9530
|
+
:type InstanceId: str
|
|
9531
|
+
:param _InstanceStatus: 实例在伸缩活动中的状态。取值如下:
|
|
9532
|
+
INIT:初始化中
|
|
9533
|
+
RUNNING:实例操作中
|
|
9534
|
+
SUCCESSFUL:活动成功
|
|
9535
|
+
FAILED:活动失败
|
|
9536
|
+
:type InstanceStatus: str
|
|
8866
9537
|
"""
|
|
8867
9538
|
self._InstanceId = None
|
|
8868
9539
|
self._InstanceStatus = None
|
|
@@ -8979,6 +9650,241 @@ class RemoveInstancesResponse(AbstractModel):
|
|
|
8979
9650
|
self._RequestId = params.get("RequestId")
|
|
8980
9651
|
|
|
8981
9652
|
|
|
9653
|
+
class ResumeInstanceRefreshRequest(AbstractModel):
|
|
9654
|
+
"""ResumeInstanceRefresh请求参数结构体
|
|
9655
|
+
|
|
9656
|
+
"""
|
|
9657
|
+
|
|
9658
|
+
def __init__(self):
|
|
9659
|
+
r"""
|
|
9660
|
+
:param _AutoScalingGroupId: 伸缩组ID。
|
|
9661
|
+
:type AutoScalingGroupId: str
|
|
9662
|
+
:param _RefreshActivityId: 刷新活动ID。
|
|
9663
|
+
:type RefreshActivityId: str
|
|
9664
|
+
:param _ResumeMode: 当前批次刷新失败实例的恢复方式,如不存在失败实例,该参数无效。默认值为RETRY,取值范围如下:<br><li>RETRY: 重试当前批次刷新失败实例</li><li>CONTINUE: 跳过当前批次刷新失败实例
|
|
9665
|
+
:type ResumeMode: str
|
|
9666
|
+
"""
|
|
9667
|
+
self._AutoScalingGroupId = None
|
|
9668
|
+
self._RefreshActivityId = None
|
|
9669
|
+
self._ResumeMode = None
|
|
9670
|
+
|
|
9671
|
+
@property
|
|
9672
|
+
def AutoScalingGroupId(self):
|
|
9673
|
+
return self._AutoScalingGroupId
|
|
9674
|
+
|
|
9675
|
+
@AutoScalingGroupId.setter
|
|
9676
|
+
def AutoScalingGroupId(self, AutoScalingGroupId):
|
|
9677
|
+
self._AutoScalingGroupId = AutoScalingGroupId
|
|
9678
|
+
|
|
9679
|
+
@property
|
|
9680
|
+
def RefreshActivityId(self):
|
|
9681
|
+
return self._RefreshActivityId
|
|
9682
|
+
|
|
9683
|
+
@RefreshActivityId.setter
|
|
9684
|
+
def RefreshActivityId(self, RefreshActivityId):
|
|
9685
|
+
self._RefreshActivityId = RefreshActivityId
|
|
9686
|
+
|
|
9687
|
+
@property
|
|
9688
|
+
def ResumeMode(self):
|
|
9689
|
+
return self._ResumeMode
|
|
9690
|
+
|
|
9691
|
+
@ResumeMode.setter
|
|
9692
|
+
def ResumeMode(self, ResumeMode):
|
|
9693
|
+
self._ResumeMode = ResumeMode
|
|
9694
|
+
|
|
9695
|
+
|
|
9696
|
+
def _deserialize(self, params):
|
|
9697
|
+
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
9698
|
+
self._RefreshActivityId = params.get("RefreshActivityId")
|
|
9699
|
+
self._ResumeMode = params.get("ResumeMode")
|
|
9700
|
+
memeber_set = set(params.keys())
|
|
9701
|
+
for name, value in vars(self).items():
|
|
9702
|
+
property_name = name[1:]
|
|
9703
|
+
if property_name in memeber_set:
|
|
9704
|
+
memeber_set.remove(property_name)
|
|
9705
|
+
if len(memeber_set) > 0:
|
|
9706
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9707
|
+
|
|
9708
|
+
|
|
9709
|
+
|
|
9710
|
+
class ResumeInstanceRefreshResponse(AbstractModel):
|
|
9711
|
+
"""ResumeInstanceRefresh返回参数结构体
|
|
9712
|
+
|
|
9713
|
+
"""
|
|
9714
|
+
|
|
9715
|
+
def __init__(self):
|
|
9716
|
+
r"""
|
|
9717
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9718
|
+
:type RequestId: str
|
|
9719
|
+
"""
|
|
9720
|
+
self._RequestId = None
|
|
9721
|
+
|
|
9722
|
+
@property
|
|
9723
|
+
def RequestId(self):
|
|
9724
|
+
return self._RequestId
|
|
9725
|
+
|
|
9726
|
+
@RequestId.setter
|
|
9727
|
+
def RequestId(self, RequestId):
|
|
9728
|
+
self._RequestId = RequestId
|
|
9729
|
+
|
|
9730
|
+
|
|
9731
|
+
def _deserialize(self, params):
|
|
9732
|
+
self._RequestId = params.get("RequestId")
|
|
9733
|
+
|
|
9734
|
+
|
|
9735
|
+
class RollbackInstanceRefreshRequest(AbstractModel):
|
|
9736
|
+
"""RollbackInstanceRefresh请求参数结构体
|
|
9737
|
+
|
|
9738
|
+
"""
|
|
9739
|
+
|
|
9740
|
+
def __init__(self):
|
|
9741
|
+
r"""
|
|
9742
|
+
:param _AutoScalingGroupId: 伸缩组ID。
|
|
9743
|
+
:type AutoScalingGroupId: str
|
|
9744
|
+
:param _RefreshSettings: 刷新设置。
|
|
9745
|
+
:type RefreshSettings: :class:`tencentcloud.autoscaling.v20180419.models.RefreshSettings`
|
|
9746
|
+
:param _OriginRefreshActivityId: 原始刷新活动 ID。
|
|
9747
|
+
:type OriginRefreshActivityId: str
|
|
9748
|
+
:param _RefreshMode: 刷新模式,目前仅支持滚动更新,默认值为 ROLLING_UPDATE_RESET。
|
|
9749
|
+
:type RefreshMode: str
|
|
9750
|
+
"""
|
|
9751
|
+
self._AutoScalingGroupId = None
|
|
9752
|
+
self._RefreshSettings = None
|
|
9753
|
+
self._OriginRefreshActivityId = None
|
|
9754
|
+
self._RefreshMode = None
|
|
9755
|
+
|
|
9756
|
+
@property
|
|
9757
|
+
def AutoScalingGroupId(self):
|
|
9758
|
+
return self._AutoScalingGroupId
|
|
9759
|
+
|
|
9760
|
+
@AutoScalingGroupId.setter
|
|
9761
|
+
def AutoScalingGroupId(self, AutoScalingGroupId):
|
|
9762
|
+
self._AutoScalingGroupId = AutoScalingGroupId
|
|
9763
|
+
|
|
9764
|
+
@property
|
|
9765
|
+
def RefreshSettings(self):
|
|
9766
|
+
return self._RefreshSettings
|
|
9767
|
+
|
|
9768
|
+
@RefreshSettings.setter
|
|
9769
|
+
def RefreshSettings(self, RefreshSettings):
|
|
9770
|
+
self._RefreshSettings = RefreshSettings
|
|
9771
|
+
|
|
9772
|
+
@property
|
|
9773
|
+
def OriginRefreshActivityId(self):
|
|
9774
|
+
return self._OriginRefreshActivityId
|
|
9775
|
+
|
|
9776
|
+
@OriginRefreshActivityId.setter
|
|
9777
|
+
def OriginRefreshActivityId(self, OriginRefreshActivityId):
|
|
9778
|
+
self._OriginRefreshActivityId = OriginRefreshActivityId
|
|
9779
|
+
|
|
9780
|
+
@property
|
|
9781
|
+
def RefreshMode(self):
|
|
9782
|
+
return self._RefreshMode
|
|
9783
|
+
|
|
9784
|
+
@RefreshMode.setter
|
|
9785
|
+
def RefreshMode(self, RefreshMode):
|
|
9786
|
+
self._RefreshMode = RefreshMode
|
|
9787
|
+
|
|
9788
|
+
|
|
9789
|
+
def _deserialize(self, params):
|
|
9790
|
+
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
9791
|
+
if params.get("RefreshSettings") is not None:
|
|
9792
|
+
self._RefreshSettings = RefreshSettings()
|
|
9793
|
+
self._RefreshSettings._deserialize(params.get("RefreshSettings"))
|
|
9794
|
+
self._OriginRefreshActivityId = params.get("OriginRefreshActivityId")
|
|
9795
|
+
self._RefreshMode = params.get("RefreshMode")
|
|
9796
|
+
memeber_set = set(params.keys())
|
|
9797
|
+
for name, value in vars(self).items():
|
|
9798
|
+
property_name = name[1:]
|
|
9799
|
+
if property_name in memeber_set:
|
|
9800
|
+
memeber_set.remove(property_name)
|
|
9801
|
+
if len(memeber_set) > 0:
|
|
9802
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9803
|
+
|
|
9804
|
+
|
|
9805
|
+
|
|
9806
|
+
class RollbackInstanceRefreshResponse(AbstractModel):
|
|
9807
|
+
"""RollbackInstanceRefresh返回参数结构体
|
|
9808
|
+
|
|
9809
|
+
"""
|
|
9810
|
+
|
|
9811
|
+
def __init__(self):
|
|
9812
|
+
r"""
|
|
9813
|
+
:param _RefreshActivityId: 刷新活动 ID。
|
|
9814
|
+
:type RefreshActivityId: str
|
|
9815
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9816
|
+
:type RequestId: str
|
|
9817
|
+
"""
|
|
9818
|
+
self._RefreshActivityId = None
|
|
9819
|
+
self._RequestId = None
|
|
9820
|
+
|
|
9821
|
+
@property
|
|
9822
|
+
def RefreshActivityId(self):
|
|
9823
|
+
return self._RefreshActivityId
|
|
9824
|
+
|
|
9825
|
+
@RefreshActivityId.setter
|
|
9826
|
+
def RefreshActivityId(self, RefreshActivityId):
|
|
9827
|
+
self._RefreshActivityId = RefreshActivityId
|
|
9828
|
+
|
|
9829
|
+
@property
|
|
9830
|
+
def RequestId(self):
|
|
9831
|
+
return self._RequestId
|
|
9832
|
+
|
|
9833
|
+
@RequestId.setter
|
|
9834
|
+
def RequestId(self, RequestId):
|
|
9835
|
+
self._RequestId = RequestId
|
|
9836
|
+
|
|
9837
|
+
|
|
9838
|
+
def _deserialize(self, params):
|
|
9839
|
+
self._RefreshActivityId = params.get("RefreshActivityId")
|
|
9840
|
+
self._RequestId = params.get("RequestId")
|
|
9841
|
+
|
|
9842
|
+
|
|
9843
|
+
class RollingUpdateSettings(AbstractModel):
|
|
9844
|
+
"""滚动更新设置。
|
|
9845
|
+
|
|
9846
|
+
"""
|
|
9847
|
+
|
|
9848
|
+
def __init__(self):
|
|
9849
|
+
r"""
|
|
9850
|
+
:param _BatchNumber: 批次数量。批次数量为大于 0 的正整数,但不能大于待刷新实例数量。
|
|
9851
|
+
:type BatchNumber: int
|
|
9852
|
+
:param _BatchPause: 批次间暂停策略。默认值为 Automatic,取值范围如下:<br><li>FIRST_BATCH_PAUSE:第一批次更新完成后暂停</li><li>BATCH_INTERVAL_PAUSE:批次间暂停</li><li>AUTOMATIC:不暂停
|
|
9853
|
+
:type BatchPause: str
|
|
9854
|
+
"""
|
|
9855
|
+
self._BatchNumber = None
|
|
9856
|
+
self._BatchPause = None
|
|
9857
|
+
|
|
9858
|
+
@property
|
|
9859
|
+
def BatchNumber(self):
|
|
9860
|
+
return self._BatchNumber
|
|
9861
|
+
|
|
9862
|
+
@BatchNumber.setter
|
|
9863
|
+
def BatchNumber(self, BatchNumber):
|
|
9864
|
+
self._BatchNumber = BatchNumber
|
|
9865
|
+
|
|
9866
|
+
@property
|
|
9867
|
+
def BatchPause(self):
|
|
9868
|
+
return self._BatchPause
|
|
9869
|
+
|
|
9870
|
+
@BatchPause.setter
|
|
9871
|
+
def BatchPause(self, BatchPause):
|
|
9872
|
+
self._BatchPause = BatchPause
|
|
9873
|
+
|
|
9874
|
+
|
|
9875
|
+
def _deserialize(self, params):
|
|
9876
|
+
self._BatchNumber = params.get("BatchNumber")
|
|
9877
|
+
self._BatchPause = params.get("BatchPause")
|
|
9878
|
+
memeber_set = set(params.keys())
|
|
9879
|
+
for name, value in vars(self).items():
|
|
9880
|
+
property_name = name[1:]
|
|
9881
|
+
if property_name in memeber_set:
|
|
9882
|
+
memeber_set.remove(property_name)
|
|
9883
|
+
if len(memeber_set) > 0:
|
|
9884
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9885
|
+
|
|
9886
|
+
|
|
9887
|
+
|
|
8982
9888
|
class RunAutomationServiceEnabled(AbstractModel):
|
|
8983
9889
|
"""描述了 “自动化助手” 服务相关的信息
|
|
8984
9890
|
|
|
@@ -9951,6 +10857,102 @@ class StartAutoScalingInstancesResponse(AbstractModel):
|
|
|
9951
10857
|
self._RequestId = params.get("RequestId")
|
|
9952
10858
|
|
|
9953
10859
|
|
|
10860
|
+
class StartInstanceRefreshRequest(AbstractModel):
|
|
10861
|
+
"""StartInstanceRefresh请求参数结构体
|
|
10862
|
+
|
|
10863
|
+
"""
|
|
10864
|
+
|
|
10865
|
+
def __init__(self):
|
|
10866
|
+
r"""
|
|
10867
|
+
:param _AutoScalingGroupId: 伸缩组ID。
|
|
10868
|
+
:type AutoScalingGroupId: str
|
|
10869
|
+
:param _RefreshSettings: 刷新设置。
|
|
10870
|
+
:type RefreshSettings: :class:`tencentcloud.autoscaling.v20180419.models.RefreshSettings`
|
|
10871
|
+
:param _RefreshMode: 刷新模式,目前仅支持滚动更新,默认值为 ROLLING_UPDATE_RESET。
|
|
10872
|
+
:type RefreshMode: str
|
|
10873
|
+
"""
|
|
10874
|
+
self._AutoScalingGroupId = None
|
|
10875
|
+
self._RefreshSettings = None
|
|
10876
|
+
self._RefreshMode = None
|
|
10877
|
+
|
|
10878
|
+
@property
|
|
10879
|
+
def AutoScalingGroupId(self):
|
|
10880
|
+
return self._AutoScalingGroupId
|
|
10881
|
+
|
|
10882
|
+
@AutoScalingGroupId.setter
|
|
10883
|
+
def AutoScalingGroupId(self, AutoScalingGroupId):
|
|
10884
|
+
self._AutoScalingGroupId = AutoScalingGroupId
|
|
10885
|
+
|
|
10886
|
+
@property
|
|
10887
|
+
def RefreshSettings(self):
|
|
10888
|
+
return self._RefreshSettings
|
|
10889
|
+
|
|
10890
|
+
@RefreshSettings.setter
|
|
10891
|
+
def RefreshSettings(self, RefreshSettings):
|
|
10892
|
+
self._RefreshSettings = RefreshSettings
|
|
10893
|
+
|
|
10894
|
+
@property
|
|
10895
|
+
def RefreshMode(self):
|
|
10896
|
+
return self._RefreshMode
|
|
10897
|
+
|
|
10898
|
+
@RefreshMode.setter
|
|
10899
|
+
def RefreshMode(self, RefreshMode):
|
|
10900
|
+
self._RefreshMode = RefreshMode
|
|
10901
|
+
|
|
10902
|
+
|
|
10903
|
+
def _deserialize(self, params):
|
|
10904
|
+
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
10905
|
+
if params.get("RefreshSettings") is not None:
|
|
10906
|
+
self._RefreshSettings = RefreshSettings()
|
|
10907
|
+
self._RefreshSettings._deserialize(params.get("RefreshSettings"))
|
|
10908
|
+
self._RefreshMode = params.get("RefreshMode")
|
|
10909
|
+
memeber_set = set(params.keys())
|
|
10910
|
+
for name, value in vars(self).items():
|
|
10911
|
+
property_name = name[1:]
|
|
10912
|
+
if property_name in memeber_set:
|
|
10913
|
+
memeber_set.remove(property_name)
|
|
10914
|
+
if len(memeber_set) > 0:
|
|
10915
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10916
|
+
|
|
10917
|
+
|
|
10918
|
+
|
|
10919
|
+
class StartInstanceRefreshResponse(AbstractModel):
|
|
10920
|
+
"""StartInstanceRefresh返回参数结构体
|
|
10921
|
+
|
|
10922
|
+
"""
|
|
10923
|
+
|
|
10924
|
+
def __init__(self):
|
|
10925
|
+
r"""
|
|
10926
|
+
:param _RefreshActivityId: 刷新活动 ID。
|
|
10927
|
+
:type RefreshActivityId: str
|
|
10928
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10929
|
+
:type RequestId: str
|
|
10930
|
+
"""
|
|
10931
|
+
self._RefreshActivityId = None
|
|
10932
|
+
self._RequestId = None
|
|
10933
|
+
|
|
10934
|
+
@property
|
|
10935
|
+
def RefreshActivityId(self):
|
|
10936
|
+
return self._RefreshActivityId
|
|
10937
|
+
|
|
10938
|
+
@RefreshActivityId.setter
|
|
10939
|
+
def RefreshActivityId(self, RefreshActivityId):
|
|
10940
|
+
self._RefreshActivityId = RefreshActivityId
|
|
10941
|
+
|
|
10942
|
+
@property
|
|
10943
|
+
def RequestId(self):
|
|
10944
|
+
return self._RequestId
|
|
10945
|
+
|
|
10946
|
+
@RequestId.setter
|
|
10947
|
+
def RequestId(self, RequestId):
|
|
10948
|
+
self._RequestId = RequestId
|
|
10949
|
+
|
|
10950
|
+
|
|
10951
|
+
def _deserialize(self, params):
|
|
10952
|
+
self._RefreshActivityId = params.get("RefreshActivityId")
|
|
10953
|
+
self._RequestId = params.get("RequestId")
|
|
10954
|
+
|
|
10955
|
+
|
|
9954
10956
|
class StopAutoScalingInstancesRequest(AbstractModel):
|
|
9955
10957
|
"""StopAutoScalingInstances请求参数结构体
|
|
9956
10958
|
|
|
@@ -10048,6 +11050,76 @@ class StopAutoScalingInstancesResponse(AbstractModel):
|
|
|
10048
11050
|
self._RequestId = params.get("RequestId")
|
|
10049
11051
|
|
|
10050
11052
|
|
|
11053
|
+
class StopInstanceRefreshRequest(AbstractModel):
|
|
11054
|
+
"""StopInstanceRefresh请求参数结构体
|
|
11055
|
+
|
|
11056
|
+
"""
|
|
11057
|
+
|
|
11058
|
+
def __init__(self):
|
|
11059
|
+
r"""
|
|
11060
|
+
:param _AutoScalingGroupId: 伸缩组ID。
|
|
11061
|
+
:type AutoScalingGroupId: str
|
|
11062
|
+
:param _RefreshActivityId: 刷新活动ID。
|
|
11063
|
+
:type RefreshActivityId: str
|
|
11064
|
+
"""
|
|
11065
|
+
self._AutoScalingGroupId = None
|
|
11066
|
+
self._RefreshActivityId = None
|
|
11067
|
+
|
|
11068
|
+
@property
|
|
11069
|
+
def AutoScalingGroupId(self):
|
|
11070
|
+
return self._AutoScalingGroupId
|
|
11071
|
+
|
|
11072
|
+
@AutoScalingGroupId.setter
|
|
11073
|
+
def AutoScalingGroupId(self, AutoScalingGroupId):
|
|
11074
|
+
self._AutoScalingGroupId = AutoScalingGroupId
|
|
11075
|
+
|
|
11076
|
+
@property
|
|
11077
|
+
def RefreshActivityId(self):
|
|
11078
|
+
return self._RefreshActivityId
|
|
11079
|
+
|
|
11080
|
+
@RefreshActivityId.setter
|
|
11081
|
+
def RefreshActivityId(self, RefreshActivityId):
|
|
11082
|
+
self._RefreshActivityId = RefreshActivityId
|
|
11083
|
+
|
|
11084
|
+
|
|
11085
|
+
def _deserialize(self, params):
|
|
11086
|
+
self._AutoScalingGroupId = params.get("AutoScalingGroupId")
|
|
11087
|
+
self._RefreshActivityId = params.get("RefreshActivityId")
|
|
11088
|
+
memeber_set = set(params.keys())
|
|
11089
|
+
for name, value in vars(self).items():
|
|
11090
|
+
property_name = name[1:]
|
|
11091
|
+
if property_name in memeber_set:
|
|
11092
|
+
memeber_set.remove(property_name)
|
|
11093
|
+
if len(memeber_set) > 0:
|
|
11094
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11095
|
+
|
|
11096
|
+
|
|
11097
|
+
|
|
11098
|
+
class StopInstanceRefreshResponse(AbstractModel):
|
|
11099
|
+
"""StopInstanceRefresh返回参数结构体
|
|
11100
|
+
|
|
11101
|
+
"""
|
|
11102
|
+
|
|
11103
|
+
def __init__(self):
|
|
11104
|
+
r"""
|
|
11105
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11106
|
+
:type RequestId: str
|
|
11107
|
+
"""
|
|
11108
|
+
self._RequestId = None
|
|
11109
|
+
|
|
11110
|
+
@property
|
|
11111
|
+
def RequestId(self):
|
|
11112
|
+
return self._RequestId
|
|
11113
|
+
|
|
11114
|
+
@RequestId.setter
|
|
11115
|
+
def RequestId(self, RequestId):
|
|
11116
|
+
self._RequestId = RequestId
|
|
11117
|
+
|
|
11118
|
+
|
|
11119
|
+
def _deserialize(self, params):
|
|
11120
|
+
self._RequestId = params.get("RequestId")
|
|
11121
|
+
|
|
11122
|
+
|
|
10051
11123
|
class SystemDisk(AbstractModel):
|
|
10052
11124
|
"""启动配置的系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
10053
11125
|
|