tencentcloud-sdk-python 3.0.1379__py2.py3-none-any.whl → 3.0.1380__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +5 -6
- tencentcloud/autoscaling/v20180419/models.py +398 -294
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +235 -2
- tencentcloud/bi/v20220105/models.py +32 -0
- tencentcloud/cdb/v20170320/errorcodes.py +6 -0
- tencentcloud/cdb/v20170320/models.py +32 -2
- tencentcloud/cfw/v20190904/models.py +24 -24
- tencentcloud/clb/v20180317/models.py +8 -8
- tencentcloud/cynosdb/v20190107/errorcodes.py +9 -0
- tencentcloud/cynosdb/v20190107/models.py +21 -2
- tencentcloud/emr/v20190103/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +15 -0
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +2 -2
- tencentcloud/postgres/v20170312/models.py +0 -79
- tencentcloud/postgres/v20170312/postgres_client.py +12 -29
- tencentcloud/tbaas/v20180416/models.py +0 -234
- tencentcloud/tbaas/v20180416/tbaas_client.py +0 -23
- tencentcloud/tdmq/v20200217/errorcodes.py +6 -0
- tencentcloud/teo/v20220901/models.py +589 -92
- tencentcloud/teo/v20220901/teo_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +242 -184
- tencentcloud/tmt/v20180321/models.py +147 -0
- tencentcloud/trtc/v20190722/trtc_client.py +2 -3
- tencentcloud/vpc/v20170312/models.py +138 -100
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/wedata/v20210820/models.py +602 -2
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1380.dist-info}/top_level.txt +0 -0
@@ -55,11 +55,11 @@ class Activity(AbstractModel):
|
|
55
55
|
:type Cause: str
|
56
56
|
:param _Description: 伸缩活动描述。
|
57
57
|
:type Description: str
|
58
|
-
:param _StartTime:
|
58
|
+
:param _StartTime: 伸缩活动开始时间,为 `UTC` 标准时间。
|
59
59
|
:type StartTime: str
|
60
|
-
:param _EndTime:
|
60
|
+
:param _EndTime: 伸缩活动结束时间,为 `UTC` 标准时间。
|
61
61
|
:type EndTime: str
|
62
|
-
:param _CreatedTime:
|
62
|
+
:param _CreatedTime: 伸缩活动创建时间,为 `UTC` 标准时间。
|
63
63
|
:type CreatedTime: str
|
64
64
|
:param _ActivityRelatedInstanceSet: 该参数已废弃,请勿使用。
|
65
65
|
:type ActivityRelatedInstanceSet: list of ActivtyRelatedInstance
|
@@ -186,7 +186,7 @@ class Activity(AbstractModel):
|
|
186
186
|
|
187
187
|
@property
|
188
188
|
def StartTime(self):
|
189
|
-
"""
|
189
|
+
"""伸缩活动开始时间,为 `UTC` 标准时间。
|
190
190
|
:rtype: str
|
191
191
|
"""
|
192
192
|
return self._StartTime
|
@@ -197,7 +197,7 @@ class Activity(AbstractModel):
|
|
197
197
|
|
198
198
|
@property
|
199
199
|
def EndTime(self):
|
200
|
-
"""
|
200
|
+
"""伸缩活动结束时间,为 `UTC` 标准时间。
|
201
201
|
:rtype: str
|
202
202
|
"""
|
203
203
|
return self._EndTime
|
@@ -208,7 +208,7 @@ class Activity(AbstractModel):
|
|
208
208
|
|
209
209
|
@property
|
210
210
|
def CreatedTime(self):
|
211
|
-
"""
|
211
|
+
"""伸缩活动创建时间,为 `UTC` 标准时间。
|
212
212
|
:rtype: str
|
213
213
|
"""
|
214
214
|
return self._CreatedTime
|
@@ -585,11 +585,11 @@ class AttachLoadBalancersRequest(AbstractModel):
|
|
585
585
|
|
586
586
|
def __init__(self):
|
587
587
|
r"""
|
588
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
588
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
589
589
|
:type AutoScalingGroupId: str
|
590
|
-
:param _LoadBalancerIds: 传统型负载均衡器ID列表,每个伸缩组绑定传统型负载均衡器数量上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
590
|
+
:param _LoadBalancerIds: 传统型负载均衡器ID列表,每个伸缩组绑定传统型负载均衡器数量上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
591
591
|
:type LoadBalancerIds: list of str
|
592
|
-
:param _ForwardLoadBalancers:
|
592
|
+
:param _ForwardLoadBalancers: 负载均衡器列表,每个伸缩组绑定应用型负载均衡器数量上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
593
593
|
:type ForwardLoadBalancers: list of ForwardLoadBalancer
|
594
594
|
"""
|
595
595
|
self._AutoScalingGroupId = None
|
@@ -598,7 +598,7 @@ class AttachLoadBalancersRequest(AbstractModel):
|
|
598
598
|
|
599
599
|
@property
|
600
600
|
def AutoScalingGroupId(self):
|
601
|
-
"""伸缩组ID
|
601
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
602
602
|
:rtype: str
|
603
603
|
"""
|
604
604
|
return self._AutoScalingGroupId
|
@@ -609,7 +609,7 @@ class AttachLoadBalancersRequest(AbstractModel):
|
|
609
609
|
|
610
610
|
@property
|
611
611
|
def LoadBalancerIds(self):
|
612
|
-
"""传统型负载均衡器ID列表,每个伸缩组绑定传统型负载均衡器数量上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
612
|
+
"""传统型负载均衡器ID列表,每个伸缩组绑定传统型负载均衡器数量上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
613
613
|
:rtype: list of str
|
614
614
|
"""
|
615
615
|
return self._LoadBalancerIds
|
@@ -620,7 +620,7 @@ class AttachLoadBalancersRequest(AbstractModel):
|
|
620
620
|
|
621
621
|
@property
|
622
622
|
def ForwardLoadBalancers(self):
|
623
|
-
"""
|
623
|
+
"""负载均衡器列表,每个伸缩组绑定应用型负载均衡器数量上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
624
624
|
:rtype: list of ForwardLoadBalancer
|
625
625
|
"""
|
626
626
|
return self._ForwardLoadBalancers
|
@@ -820,13 +820,18 @@ class AutoScalingGroup(AbstractModel):
|
|
820
820
|
:type ProjectId: int
|
821
821
|
:param _SubnetIdSet: 子网ID列表
|
822
822
|
:type SubnetIdSet: list of str
|
823
|
-
:param _TerminationPolicySet:
|
823
|
+
:param _TerminationPolicySet: 销毁策略。取值范围如下:
|
824
|
+
<li>OLDEST_INSTANCE:优先销毁伸缩组中最旧的实例,默认取值。</li>
|
825
|
+
<li>NEWEST_INSTANCE:优先销毁伸缩组中最新的实例。</li>
|
824
826
|
:type TerminationPolicySet: list of str
|
825
|
-
:param _VpcId:
|
827
|
+
:param _VpcId: 私有网络ID。
|
826
828
|
:type VpcId: str
|
827
829
|
:param _ZoneSet: 可用区列表
|
828
830
|
:type ZoneSet: list of str
|
829
|
-
:param _RetryPolicy:
|
831
|
+
:param _RetryPolicy: 重试策略,部分成功的伸缩活动判定为一次失败活动。取值范围如下:
|
832
|
+
<li>IMMEDIATE_RETRY:默认取值,表示立即重试,在较短时间内快速重试,连续失败超过一定次数(5次)后不再重试。</li>
|
833
|
+
<li>INCREMENTAL_INTERVALS:间隔递增重试,随着连续失败次数的增加,重试间隔逐渐增大。前 10 次重试为快速重试,后续重试间隔逐步递增至 10 分钟、30 分钟、60 分钟、一天。</li>
|
834
|
+
<li>NO_RETRY,不进行重试,直到再次收到用户调用或者告警信息后才会重试。</li>
|
830
835
|
:type RetryPolicy: str
|
831
836
|
:param _InActivityStatus: 伸缩组是否处于伸缩活动中,`IN_ACTIVITY`表示处于伸缩活动中,`NOT_IN_ACTIVITY`表示不处于伸缩活动中。
|
832
837
|
:type InActivityStatus: str
|
@@ -834,7 +839,7 @@ class AutoScalingGroup(AbstractModel):
|
|
834
839
|
:type Tags: list of Tag
|
835
840
|
:param _ServiceSettings: 服务设置
|
836
841
|
:type ServiceSettings: :class:`tencentcloud.autoscaling.v20180419.models.ServiceSettings`
|
837
|
-
:param _Ipv6AddressCount: 实例具有IPv6
|
842
|
+
:param _Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
838
843
|
:type Ipv6AddressCount: int
|
839
844
|
:param _MultiZoneSubnetPolicy: 多可用区/子网策略。
|
840
845
|
<li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。</li>
|
@@ -844,7 +849,8 @@ class AutoScalingGroup(AbstractModel):
|
|
844
849
|
<li>CVM:根据实例网络状态判断实例是否处于不健康状态,不健康的网络状态即发生实例 PING 不可达事件,详细判断标准可参考[实例健康检查](https://cloud.tencent.com/document/product/377/8553)</li>
|
845
850
|
<li>CLB:根据 CLB 的健康检查状态判断实例是否处于不健康状态,CLB健康检查原理可参考[健康检查](https://cloud.tencent.com/document/product/214/6097)</li>
|
846
851
|
:type HealthCheckType: str
|
847
|
-
:param _LoadBalancerHealthCheckGracePeriod: CLB
|
852
|
+
:param _LoadBalancerHealthCheckGracePeriod: CLB健康检查宽限期.当扩容的实例进入IN_SERVICE后,在宽限期时间范围内将不会被标记为不健康CLB_UNHEALTHY。
|
853
|
+
默认值:0。取值范围[0, 7200],单位:秒。
|
848
854
|
:type LoadBalancerHealthCheckGracePeriod: int
|
849
855
|
:param _InstanceAllocationPolicy: 实例分配策略,取值包括 LAUNCH_CONFIGURATION 和 SPOT_MIXED。
|
850
856
|
<li> LAUNCH_CONFIGURATION,代表传统的按照启动配置模式。</li>
|
@@ -1092,7 +1098,9 @@ class AutoScalingGroup(AbstractModel):
|
|
1092
1098
|
|
1093
1099
|
@property
|
1094
1100
|
def TerminationPolicySet(self):
|
1095
|
-
"""
|
1101
|
+
"""销毁策略。取值范围如下:
|
1102
|
+
<li>OLDEST_INSTANCE:优先销毁伸缩组中最旧的实例,默认取值。</li>
|
1103
|
+
<li>NEWEST_INSTANCE:优先销毁伸缩组中最新的实例。</li>
|
1096
1104
|
:rtype: list of str
|
1097
1105
|
"""
|
1098
1106
|
return self._TerminationPolicySet
|
@@ -1103,7 +1111,7 @@ class AutoScalingGroup(AbstractModel):
|
|
1103
1111
|
|
1104
1112
|
@property
|
1105
1113
|
def VpcId(self):
|
1106
|
-
"""
|
1114
|
+
"""私有网络ID。
|
1107
1115
|
:rtype: str
|
1108
1116
|
"""
|
1109
1117
|
return self._VpcId
|
@@ -1125,7 +1133,10 @@ class AutoScalingGroup(AbstractModel):
|
|
1125
1133
|
|
1126
1134
|
@property
|
1127
1135
|
def RetryPolicy(self):
|
1128
|
-
"""
|
1136
|
+
"""重试策略,部分成功的伸缩活动判定为一次失败活动。取值范围如下:
|
1137
|
+
<li>IMMEDIATE_RETRY:默认取值,表示立即重试,在较短时间内快速重试,连续失败超过一定次数(5次)后不再重试。</li>
|
1138
|
+
<li>INCREMENTAL_INTERVALS:间隔递增重试,随着连续失败次数的增加,重试间隔逐渐增大。前 10 次重试为快速重试,后续重试间隔逐步递增至 10 分钟、30 分钟、60 分钟、一天。</li>
|
1139
|
+
<li>NO_RETRY,不进行重试,直到再次收到用户调用或者告警信息后才会重试。</li>
|
1129
1140
|
:rtype: str
|
1130
1141
|
"""
|
1131
1142
|
return self._RetryPolicy
|
@@ -1169,7 +1180,7 @@ class AutoScalingGroup(AbstractModel):
|
|
1169
1180
|
|
1170
1181
|
@property
|
1171
1182
|
def Ipv6AddressCount(self):
|
1172
|
-
"""实例具有IPv6
|
1183
|
+
"""实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
1173
1184
|
:rtype: int
|
1174
1185
|
"""
|
1175
1186
|
return self._Ipv6AddressCount
|
@@ -1206,7 +1217,8 @@ class AutoScalingGroup(AbstractModel):
|
|
1206
1217
|
|
1207
1218
|
@property
|
1208
1219
|
def LoadBalancerHealthCheckGracePeriod(self):
|
1209
|
-
"""CLB
|
1220
|
+
"""CLB健康检查宽限期.当扩容的实例进入IN_SERVICE后,在宽限期时间范围内将不会被标记为不健康CLB_UNHEALTHY。
|
1221
|
+
默认值:0。取值范围[0, 7200],单位:秒。
|
1210
1222
|
:rtype: int
|
1211
1223
|
"""
|
1212
1224
|
return self._LoadBalancerHealthCheckGracePeriod
|
@@ -1386,15 +1398,26 @@ class AutoScalingNotification(AbstractModel):
|
|
1386
1398
|
:type AutoScalingGroupId: str
|
1387
1399
|
:param _NotificationUserGroupIds: 用户组ID列表。
|
1388
1400
|
:type NotificationUserGroupIds: list of str
|
1389
|
-
:param _NotificationTypes:
|
1401
|
+
:param _NotificationTypes: 通知事件列表。取值范围如下:
|
1402
|
+
<li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
1403
|
+
<li>SCALE_OUT_FAILED:扩容失败</li>
|
1404
|
+
<li>SCALE_IN_SUCCESSFUL:缩容成功</li>
|
1405
|
+
<li>SCALE_IN_FAILED:缩容失败</li>
|
1406
|
+
<li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
1407
|
+
<li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
1390
1408
|
:type NotificationTypes: list of str
|
1391
1409
|
:param _AutoScalingNotificationId: 事件通知ID。
|
1392
1410
|
:type AutoScalingNotificationId: str
|
1393
|
-
:param _TargetType:
|
1411
|
+
:param _TargetType: 通知接收端类型。取值范围如下:
|
1412
|
+
USER_GROUP:用户组
|
1413
|
+
TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
|
1414
|
+
TDMQ_CMQ_QUEUE:TDMQ CMQ 队列
|
1415
|
+
CMQ_QUEUE:CMQ 队列,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
|
1416
|
+
CMQ_TOPIC:CMQ 主题,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
|
1394
1417
|
:type TargetType: str
|
1395
|
-
:param _QueueName: CMQ 队列名。
|
1418
|
+
:param _QueueName: TDMQ CMQ 队列名。
|
1396
1419
|
:type QueueName: str
|
1397
|
-
:param _TopicName: CMQ 主题名。
|
1420
|
+
:param _TopicName: TDMQ CMQ 主题名。
|
1398
1421
|
:type TopicName: str
|
1399
1422
|
"""
|
1400
1423
|
self._AutoScalingGroupId = None
|
@@ -1429,7 +1452,13 @@ class AutoScalingNotification(AbstractModel):
|
|
1429
1452
|
|
1430
1453
|
@property
|
1431
1454
|
def NotificationTypes(self):
|
1432
|
-
"""
|
1455
|
+
"""通知事件列表。取值范围如下:
|
1456
|
+
<li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
1457
|
+
<li>SCALE_OUT_FAILED:扩容失败</li>
|
1458
|
+
<li>SCALE_IN_SUCCESSFUL:缩容成功</li>
|
1459
|
+
<li>SCALE_IN_FAILED:缩容失败</li>
|
1460
|
+
<li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
1461
|
+
<li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
1433
1462
|
:rtype: list of str
|
1434
1463
|
"""
|
1435
1464
|
return self._NotificationTypes
|
@@ -1451,7 +1480,12 @@ class AutoScalingNotification(AbstractModel):
|
|
1451
1480
|
|
1452
1481
|
@property
|
1453
1482
|
def TargetType(self):
|
1454
|
-
"""
|
1483
|
+
"""通知接收端类型。取值范围如下:
|
1484
|
+
USER_GROUP:用户组
|
1485
|
+
TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
|
1486
|
+
TDMQ_CMQ_QUEUE:TDMQ CMQ 队列
|
1487
|
+
CMQ_QUEUE:CMQ 队列,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
|
1488
|
+
CMQ_TOPIC:CMQ 主题,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
|
1455
1489
|
:rtype: str
|
1456
1490
|
"""
|
1457
1491
|
return self._TargetType
|
@@ -1462,7 +1496,7 @@ class AutoScalingNotification(AbstractModel):
|
|
1462
1496
|
|
1463
1497
|
@property
|
1464
1498
|
def QueueName(self):
|
1465
|
-
"""CMQ 队列名。
|
1499
|
+
"""TDMQ CMQ 队列名。
|
1466
1500
|
:rtype: str
|
1467
1501
|
"""
|
1468
1502
|
return self._QueueName
|
@@ -1473,7 +1507,7 @@ class AutoScalingNotification(AbstractModel):
|
|
1473
1507
|
|
1474
1508
|
@property
|
1475
1509
|
def TopicName(self):
|
1476
|
-
"""CMQ 主题名。
|
1510
|
+
"""TDMQ CMQ 主题名。
|
1477
1511
|
:rtype: str
|
1478
1512
|
"""
|
1479
1513
|
return self._TopicName
|
@@ -1759,13 +1793,16 @@ class CompleteLifecycleActionRequest(AbstractModel):
|
|
1759
1793
|
|
1760
1794
|
def __init__(self):
|
1761
1795
|
r"""
|
1762
|
-
:param _LifecycleHookId: 生命周期挂钩ID
|
1796
|
+
:param _LifecycleHookId: 生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
1763
1797
|
:type LifecycleHookId: str
|
1764
|
-
:param _LifecycleActionResult:
|
1798
|
+
:param _LifecycleActionResult: 生命周期动作的结果,取值范围如下:
|
1799
|
+
<li>CONTINUE: 默认值,表示继续执行扩缩容活动</li>
|
1800
|
+
<li>ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动。</li>
|
1765
1801
|
:type LifecycleActionResult: str
|
1766
|
-
:param _InstanceId: 实例ID
|
1802
|
+
:param _InstanceId: 实例ID,`InstanceId` 和 `LifecycleActionToken` 参数必须填写其中一个。可通过登录 [控制台](https://console.cloud.tencent.com/cvm/index) 或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。
|
1767
1803
|
:type InstanceId: str
|
1768
|
-
:param _LifecycleActionToken:
|
1804
|
+
:param _LifecycleActionToken: 生命周期动作令牌,`InstanceId` 和 `LifecycleActionToken` 必须填充其中一个。
|
1805
|
+
该参数获取方式如下:配置 `NotificationTarget ` 参数的挂钩被触发时,向 `NotificationTarget ` 参数中指定的消息队列投递包含令牌的消息,消息队列的消费者可从消息中获取令牌。
|
1769
1806
|
:type LifecycleActionToken: str
|
1770
1807
|
"""
|
1771
1808
|
self._LifecycleHookId = None
|
@@ -1775,7 +1812,7 @@ class CompleteLifecycleActionRequest(AbstractModel):
|
|
1775
1812
|
|
1776
1813
|
@property
|
1777
1814
|
def LifecycleHookId(self):
|
1778
|
-
"""生命周期挂钩ID
|
1815
|
+
"""生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
1779
1816
|
:rtype: str
|
1780
1817
|
"""
|
1781
1818
|
return self._LifecycleHookId
|
@@ -1786,7 +1823,9 @@ class CompleteLifecycleActionRequest(AbstractModel):
|
|
1786
1823
|
|
1787
1824
|
@property
|
1788
1825
|
def LifecycleActionResult(self):
|
1789
|
-
"""
|
1826
|
+
"""生命周期动作的结果,取值范围如下:
|
1827
|
+
<li>CONTINUE: 默认值,表示继续执行扩缩容活动</li>
|
1828
|
+
<li>ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动。</li>
|
1790
1829
|
:rtype: str
|
1791
1830
|
"""
|
1792
1831
|
return self._LifecycleActionResult
|
@@ -1797,7 +1836,7 @@ class CompleteLifecycleActionRequest(AbstractModel):
|
|
1797
1836
|
|
1798
1837
|
@property
|
1799
1838
|
def InstanceId(self):
|
1800
|
-
"""实例ID
|
1839
|
+
"""实例ID,`InstanceId` 和 `LifecycleActionToken` 参数必须填写其中一个。可通过登录 [控制台](https://console.cloud.tencent.com/cvm/index) 或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。
|
1801
1840
|
:rtype: str
|
1802
1841
|
"""
|
1803
1842
|
return self._InstanceId
|
@@ -1808,7 +1847,8 @@ class CompleteLifecycleActionRequest(AbstractModel):
|
|
1808
1847
|
|
1809
1848
|
@property
|
1810
1849
|
def LifecycleActionToken(self):
|
1811
|
-
"""
|
1850
|
+
"""生命周期动作令牌,`InstanceId` 和 `LifecycleActionToken` 必须填充其中一个。
|
1851
|
+
该参数获取方式如下:配置 `NotificationTarget ` 参数的挂钩被触发时,向 `NotificationTarget ` 参数中指定的消息队列投递包含令牌的消息,消息队列的消费者可从消息中获取令牌。
|
1812
1852
|
:rtype: str
|
1813
1853
|
"""
|
1814
1854
|
return self._LifecycleActionToken
|
@@ -1870,13 +1910,13 @@ class CreateAutoScalingGroupFromInstanceRequest(AbstractModel):
|
|
1870
1910
|
r"""
|
1871
1911
|
:param _AutoScalingGroupName: 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
|
1872
1912
|
:type AutoScalingGroupName: str
|
1873
|
-
:param _InstanceId: 实例ID
|
1913
|
+
:param _InstanceId: 实例ID。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。
|
1874
1914
|
:type InstanceId: str
|
1875
|
-
:param _MinSize: 最小实例数,取值范围为0-2000
|
1915
|
+
:param _MinSize: 最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
1876
1916
|
:type MinSize: int
|
1877
|
-
:param _MaxSize: 最大实例数,取值范围为0-2000
|
1917
|
+
:param _MaxSize: 最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
1878
1918
|
:type MaxSize: int
|
1879
|
-
:param _DesiredCapacity:
|
1919
|
+
:param _DesiredCapacity: 期望实例数,大小介于最小实例数和最大实例数之间。不传入时默认值等于最小值。
|
1880
1920
|
:type DesiredCapacity: int
|
1881
1921
|
:param _InheritInstanceTag: 是否继承实例标签,默认值为False
|
1882
1922
|
:type InheritInstanceTag: bool
|
@@ -1901,7 +1941,7 @@ class CreateAutoScalingGroupFromInstanceRequest(AbstractModel):
|
|
1901
1941
|
|
1902
1942
|
@property
|
1903
1943
|
def InstanceId(self):
|
1904
|
-
"""实例ID
|
1944
|
+
"""实例ID。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。
|
1905
1945
|
:rtype: str
|
1906
1946
|
"""
|
1907
1947
|
return self._InstanceId
|
@@ -1912,7 +1952,7 @@ class CreateAutoScalingGroupFromInstanceRequest(AbstractModel):
|
|
1912
1952
|
|
1913
1953
|
@property
|
1914
1954
|
def MinSize(self):
|
1915
|
-
"""最小实例数,取值范围为0-2000
|
1955
|
+
"""最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
1916
1956
|
:rtype: int
|
1917
1957
|
"""
|
1918
1958
|
return self._MinSize
|
@@ -1923,7 +1963,7 @@ class CreateAutoScalingGroupFromInstanceRequest(AbstractModel):
|
|
1923
1963
|
|
1924
1964
|
@property
|
1925
1965
|
def MaxSize(self):
|
1926
|
-
"""最大实例数,取值范围为0-2000
|
1966
|
+
"""最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
1927
1967
|
:rtype: int
|
1928
1968
|
"""
|
1929
1969
|
return self._MaxSize
|
@@ -1934,7 +1974,7 @@ class CreateAutoScalingGroupFromInstanceRequest(AbstractModel):
|
|
1934
1974
|
|
1935
1975
|
@property
|
1936
1976
|
def DesiredCapacity(self):
|
1937
|
-
"""
|
1977
|
+
"""期望实例数,大小介于最小实例数和最大实例数之间。不传入时默认值等于最小值。
|
1938
1978
|
:rtype: int
|
1939
1979
|
"""
|
1940
1980
|
return self._DesiredCapacity
|
@@ -2024,25 +2064,25 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2024
2064
|
r"""
|
2025
2065
|
:param _AutoScalingGroupName: 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
|
2026
2066
|
:type AutoScalingGroupName: str
|
2027
|
-
:param _LaunchConfigurationId: 启动配置ID
|
2067
|
+
:param _LaunchConfigurationId: 启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
2028
2068
|
:type LaunchConfigurationId: str
|
2029
|
-
:param _MaxSize: 最大实例数,取值范围为0-2000
|
2069
|
+
:param _MaxSize: 最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
2030
2070
|
:type MaxSize: int
|
2031
|
-
:param _MinSize: 最小实例数,取值范围为0-2000
|
2071
|
+
:param _MinSize: 最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
2032
2072
|
:type MinSize: int
|
2033
|
-
:param _VpcId:
|
2073
|
+
:param _VpcId: 私有网络ID。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc)查询;也可以调用接口 [DescribeVpc](https://cloud.tencent.com/document/api/215/15778) ,从接口返回中的VpcId字段获取。
|
2034
2074
|
:type VpcId: str
|
2035
|
-
:param _DefaultCooldown: 默认冷却时间,单位秒,默认值为300
|
2075
|
+
:param _DefaultCooldown: 默认冷却时间,单位秒,默认值为300。取值范围为 [0,3600]。
|
2036
2076
|
:type DefaultCooldown: int
|
2037
|
-
:param _DesiredCapacity:
|
2077
|
+
:param _DesiredCapacity: 期望实例数,取值范围 [0,2000],默认值为最小值。需满足最大值大于等于期望值,期望值大于等于最小值。
|
2038
2078
|
:type DesiredCapacity: int
|
2039
|
-
:param _LoadBalancerIds: 传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
2079
|
+
:param _LoadBalancerIds: 传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2040
2080
|
:type LoadBalancerIds: list of str
|
2041
|
-
:param _ProjectId: 伸缩组内实例所属项目ID
|
2081
|
+
:param _ProjectId: 伸缩组内实例所属项目ID。默认值为0,表示使用默认项目。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。
|
2042
2082
|
:type ProjectId: int
|
2043
|
-
:param _ForwardLoadBalancers:
|
2083
|
+
:param _ForwardLoadBalancers: 负载均衡器列表,目前长度上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
|
2044
2084
|
:type ForwardLoadBalancers: list of ForwardLoadBalancer
|
2045
|
-
:param _SubnetIds: 子网ID列表,VPC
|
2085
|
+
:param _SubnetIds: 子网ID列表,VPC场景下必须指定子网。多个子网以填写顺序为优先级,依次进行尝试,直至可以成功创建实例。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的SubnetId字段获取。
|
2046
2086
|
:type SubnetIds: list of str
|
2047
2087
|
:param _TerminationPolicies: 销毁策略,目前长度上限为1。取值包括 OLDEST_INSTANCE 和 NEWEST_INSTANCE,默认取值为 OLDEST_INSTANCE。
|
2048
2088
|
<li> OLDEST_INSTANCE 优先销毁伸缩组中最旧的实例。</li>
|
@@ -2062,11 +2102,11 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2062
2102
|
可用区或子网不可用的常见原因包括该可用区CVM实例类型售罄、该可用区CBS云盘售罄、该可用区配额不足、该子网IP不足等。
|
2063
2103
|
如果 Zones/SubnetIds 中可用区或者子网不存在,则无论 ZonesCheckPolicy 采用何种取值,都会校验报错。
|
2064
2104
|
:type ZonesCheckPolicy: str
|
2065
|
-
:param _Tags: 标签描述列表。通过指定该参数可以支持绑定标签到伸缩组。同时绑定标签到相应的资源实例。每个伸缩组最多支持30
|
2105
|
+
:param _Tags: 标签描述列表。通过指定该参数可以支持绑定标签到伸缩组。同时绑定标签到相应的资源实例。每个伸缩组最多支持30个标签。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,根据回参获取已有的标签键值对信息。
|
2066
2106
|
:type Tags: list of Tag
|
2067
2107
|
:param _ServiceSettings: 服务设置,包括云监控不健康替换等服务设置。
|
2068
2108
|
:type ServiceSettings: :class:`tencentcloud.autoscaling.v20180419.models.ServiceSettings`
|
2069
|
-
:param _Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括
|
2109
|
+
:param _Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
2070
2110
|
:type Ipv6AddressCount: int
|
2071
2111
|
:param _MultiZoneSubnetPolicy: 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY。
|
2072
2112
|
<li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。</li>
|
@@ -2138,7 +2178,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2138
2178
|
|
2139
2179
|
@property
|
2140
2180
|
def LaunchConfigurationId(self):
|
2141
|
-
"""启动配置ID
|
2181
|
+
"""启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
2142
2182
|
:rtype: str
|
2143
2183
|
"""
|
2144
2184
|
return self._LaunchConfigurationId
|
@@ -2149,7 +2189,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2149
2189
|
|
2150
2190
|
@property
|
2151
2191
|
def MaxSize(self):
|
2152
|
-
"""最大实例数,取值范围为0-2000
|
2192
|
+
"""最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
2153
2193
|
:rtype: int
|
2154
2194
|
"""
|
2155
2195
|
return self._MaxSize
|
@@ -2160,7 +2200,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2160
2200
|
|
2161
2201
|
@property
|
2162
2202
|
def MinSize(self):
|
2163
|
-
"""最小实例数,取值范围为0-2000
|
2203
|
+
"""最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
2164
2204
|
:rtype: int
|
2165
2205
|
"""
|
2166
2206
|
return self._MinSize
|
@@ -2171,7 +2211,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2171
2211
|
|
2172
2212
|
@property
|
2173
2213
|
def VpcId(self):
|
2174
|
-
"""
|
2214
|
+
"""私有网络ID。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc)查询;也可以调用接口 [DescribeVpc](https://cloud.tencent.com/document/api/215/15778) ,从接口返回中的VpcId字段获取。
|
2175
2215
|
:rtype: str
|
2176
2216
|
"""
|
2177
2217
|
return self._VpcId
|
@@ -2182,7 +2222,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2182
2222
|
|
2183
2223
|
@property
|
2184
2224
|
def DefaultCooldown(self):
|
2185
|
-
"""默认冷却时间,单位秒,默认值为300
|
2225
|
+
"""默认冷却时间,单位秒,默认值为300。取值范围为 [0,3600]。
|
2186
2226
|
:rtype: int
|
2187
2227
|
"""
|
2188
2228
|
return self._DefaultCooldown
|
@@ -2193,7 +2233,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2193
2233
|
|
2194
2234
|
@property
|
2195
2235
|
def DesiredCapacity(self):
|
2196
|
-
"""
|
2236
|
+
"""期望实例数,取值范围 [0,2000],默认值为最小值。需满足最大值大于等于期望值,期望值大于等于最小值。
|
2197
2237
|
:rtype: int
|
2198
2238
|
"""
|
2199
2239
|
return self._DesiredCapacity
|
@@ -2204,7 +2244,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2204
2244
|
|
2205
2245
|
@property
|
2206
2246
|
def LoadBalancerIds(self):
|
2207
|
-
"""传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
2247
|
+
"""传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2208
2248
|
:rtype: list of str
|
2209
2249
|
"""
|
2210
2250
|
return self._LoadBalancerIds
|
@@ -2215,7 +2255,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2215
2255
|
|
2216
2256
|
@property
|
2217
2257
|
def ProjectId(self):
|
2218
|
-
"""伸缩组内实例所属项目ID
|
2258
|
+
"""伸缩组内实例所属项目ID。默认值为0,表示使用默认项目。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。
|
2219
2259
|
:rtype: int
|
2220
2260
|
"""
|
2221
2261
|
return self._ProjectId
|
@@ -2226,7 +2266,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2226
2266
|
|
2227
2267
|
@property
|
2228
2268
|
def ForwardLoadBalancers(self):
|
2229
|
-
"""
|
2269
|
+
"""负载均衡器列表,目前长度上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
|
2230
2270
|
:rtype: list of ForwardLoadBalancer
|
2231
2271
|
"""
|
2232
2272
|
return self._ForwardLoadBalancers
|
@@ -2237,7 +2277,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2237
2277
|
|
2238
2278
|
@property
|
2239
2279
|
def SubnetIds(self):
|
2240
|
-
"""子网ID列表,VPC
|
2280
|
+
"""子网ID列表,VPC场景下必须指定子网。多个子网以填写顺序为优先级,依次进行尝试,直至可以成功创建实例。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的SubnetId字段获取。
|
2241
2281
|
:rtype: list of str
|
2242
2282
|
"""
|
2243
2283
|
return self._SubnetIds
|
@@ -2302,7 +2342,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2302
2342
|
|
2303
2343
|
@property
|
2304
2344
|
def Tags(self):
|
2305
|
-
"""标签描述列表。通过指定该参数可以支持绑定标签到伸缩组。同时绑定标签到相应的资源实例。每个伸缩组最多支持30
|
2345
|
+
"""标签描述列表。通过指定该参数可以支持绑定标签到伸缩组。同时绑定标签到相应的资源实例。每个伸缩组最多支持30个标签。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,根据回参获取已有的标签键值对信息。
|
2306
2346
|
:rtype: list of Tag
|
2307
2347
|
"""
|
2308
2348
|
return self._Tags
|
@@ -2324,7 +2364,7 @@ class CreateAutoScalingGroupRequest(AbstractModel):
|
|
2324
2364
|
|
2325
2365
|
@property
|
2326
2366
|
def Ipv6AddressCount(self):
|
2327
|
-
"""实例具有IPv6地址数量的配置,取值包括
|
2367
|
+
"""实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
2328
2368
|
:rtype: int
|
2329
2369
|
"""
|
2330
2370
|
return self._Ipv6AddressCount
|
@@ -2533,7 +2573,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2533
2573
|
:type LaunchConfigurationName: str
|
2534
2574
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-8toqc6s3`。镜像Id与镜像族名称,二者必填一个且只能填写一个。镜像类型分为四种:<br/><li>公共镜像</li><li>自定义镜像</li><li>共享镜像</li><li>服务市场镜像</li><br/>可通过以下方式获取可用的镜像ID:<br/><li>`公共镜像`、`自定义镜像`、`共享镜像`的镜像ID可通过登录[控制台](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE)查询;`服务镜像市场`的镜像ID可通过[云市场](https://market.cloud.tencent.com/list)查询。</li><li>通过调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) ,取返回信息中的`ImageId`字段。</li>
|
2535
2575
|
:type ImageId: str
|
2536
|
-
:param _ProjectId: 启动配置所属项目ID
|
2576
|
+
:param _ProjectId: 启动配置所属项目ID。默认值为0,表示使用默认项目。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。
|
2537
2577
|
注意:伸缩组内实例所属项目ID取伸缩组项目ID,与这里取值无关。
|
2538
2578
|
:type ProjectId: int
|
2539
2579
|
:param _InstanceType: 实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口 [DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749) 来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。
|
@@ -2562,11 +2602,11 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2562
2602
|
:param _InstanceMarketOptions: 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
|
2563
2603
|
:type InstanceMarketOptions: :class:`tencentcloud.autoscaling.v20180419.models.InstanceMarketOptionsRequest`
|
2564
2604
|
:param _InstanceTypes: 实例机型列表,不同实例机型指定了不同的资源规格,最多支持10种实例机型。
|
2565
|
-
`InstanceType`和`InstanceTypes
|
2605
|
+
`InstanceType`和`InstanceTypes`参数互斥,二者必填一个且只能填写一个。具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格描述](https://cloud.tencent.com/document/product/213/11518)。
|
2566
2606
|
:type InstanceTypes: list of str
|
2567
|
-
:param _CamRoleName: CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
2607
|
+
:param _CamRoleName: CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
2568
2608
|
:type CamRoleName: str
|
2569
|
-
:param _InstanceTypesCheckPolicy: 实例类型校验策略,取值包括 ALL 和 ANY,默认取值为ANY
|
2609
|
+
:param _InstanceTypesCheckPolicy: 实例类型校验策略,取值包括 ALL 和 ANY,默认取值为ANY。该参数仅在 InstanceTypes 入参包含多个机型时生效。
|
2570
2610
|
<li> ALL,所有实例类型(InstanceType)都可用则通过校验,否则校验报错。</li>
|
2571
2611
|
<li> ANY,存在任何一个实例类型(InstanceType)可用则通过校验,否则校验报错。</li>
|
2572
2612
|
|
@@ -2588,16 +2628,16 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2588
2628
|
<li>ORIGINAL:使用设置的云盘类型</li>
|
2589
2629
|
<li>AUTOMATIC:自动选择当前可用的云盘类型</li>
|
2590
2630
|
:type DiskTypePolicy: str
|
2591
|
-
:param _HpcClusterId: 高性能计算集群ID
|
2631
|
+
:param _HpcClusterId: 高性能计算集群ID。可通过调用[DescribeHpcClusters](https://cloud.tencent.com/document/product/213/83220)接口获取该参数。
|
2592
2632
|
注意:此字段默认为空。
|
2593
2633
|
:type HpcClusterId: str
|
2594
2634
|
:param _IPv6InternetAccessible: IPv6公网带宽相关信息设置。若新建实例包含IPv6地址,该参数可为新建实例的IPv6地址分配公网带宽。关联启动配置的伸缩组Ipv6AddressCount参数为0时,该参数不会生效。
|
2595
2635
|
:type IPv6InternetAccessible: :class:`tencentcloud.autoscaling.v20180419.models.IPv6InternetAccessible`
|
2596
2636
|
:param _DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。
|
2597
2637
|
:type DisasterRecoverGroupIds: list of str
|
2598
|
-
:param _ImageFamily: 镜像族名称。镜像Id
|
2638
|
+
:param _ImageFamily: 镜像族名称。镜像Id与镜像族名称,二者必填一个且只能填写一个。可通过调用[DescribeImages](https://cloud.tencent.com/document/product/213/15715)接口获取该参数。
|
2599
2639
|
:type ImageFamily: str
|
2600
|
-
:param _DedicatedClusterId: 本地专用集群ID
|
2640
|
+
:param _DedicatedClusterId: 本地专用集群ID。可通过 [DescribeDedicatedClusters](https://cloud.tencent.com/document/product/1346/73758) 接口获取该参数。
|
2601
2641
|
:type DedicatedClusterId: str
|
2602
2642
|
:param _Metadata: 自定义metadata。
|
2603
2643
|
:type Metadata: :class:`tencentcloud.autoscaling.v20180419.models.Metadata`
|
@@ -2655,7 +2695,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2655
2695
|
|
2656
2696
|
@property
|
2657
2697
|
def ProjectId(self):
|
2658
|
-
"""启动配置所属项目ID
|
2698
|
+
"""启动配置所属项目ID。默认值为0,表示使用默认项目。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。
|
2659
2699
|
注意:伸缩组内实例所属项目ID取伸缩组项目ID,与这里取值无关。
|
2660
2700
|
:rtype: int
|
2661
2701
|
"""
|
@@ -2783,7 +2823,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2783
2823
|
@property
|
2784
2824
|
def InstanceTypes(self):
|
2785
2825
|
"""实例机型列表,不同实例机型指定了不同的资源规格,最多支持10种实例机型。
|
2786
|
-
`InstanceType`和`InstanceTypes
|
2826
|
+
`InstanceType`和`InstanceTypes`参数互斥,二者必填一个且只能填写一个。具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格描述](https://cloud.tencent.com/document/product/213/11518)。
|
2787
2827
|
:rtype: list of str
|
2788
2828
|
"""
|
2789
2829
|
return self._InstanceTypes
|
@@ -2794,7 +2834,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2794
2834
|
|
2795
2835
|
@property
|
2796
2836
|
def CamRoleName(self):
|
2797
|
-
"""CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
2837
|
+
"""CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
2798
2838
|
:rtype: str
|
2799
2839
|
"""
|
2800
2840
|
return self._CamRoleName
|
@@ -2805,7 +2845,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2805
2845
|
|
2806
2846
|
@property
|
2807
2847
|
def InstanceTypesCheckPolicy(self):
|
2808
|
-
"""实例类型校验策略,取值包括 ALL 和 ANY,默认取值为ANY
|
2848
|
+
"""实例类型校验策略,取值包括 ALL 和 ANY,默认取值为ANY。该参数仅在 InstanceTypes 入参包含多个机型时生效。
|
2809
2849
|
<li> ALL,所有实例类型(InstanceType)都可用则通过校验,否则校验报错。</li>
|
2810
2850
|
<li> ANY,存在任何一个实例类型(InstanceType)可用则通过校验,否则校验报错。</li>
|
2811
2851
|
|
@@ -2890,7 +2930,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2890
2930
|
|
2891
2931
|
@property
|
2892
2932
|
def HpcClusterId(self):
|
2893
|
-
"""高性能计算集群ID
|
2933
|
+
"""高性能计算集群ID。可通过调用[DescribeHpcClusters](https://cloud.tencent.com/document/product/213/83220)接口获取该参数。
|
2894
2934
|
注意:此字段默认为空。
|
2895
2935
|
:rtype: str
|
2896
2936
|
"""
|
@@ -2924,7 +2964,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2924
2964
|
|
2925
2965
|
@property
|
2926
2966
|
def ImageFamily(self):
|
2927
|
-
"""镜像族名称。镜像Id
|
2967
|
+
"""镜像族名称。镜像Id与镜像族名称,二者必填一个且只能填写一个。可通过调用[DescribeImages](https://cloud.tencent.com/document/product/213/15715)接口获取该参数。
|
2928
2968
|
:rtype: str
|
2929
2969
|
"""
|
2930
2970
|
return self._ImageFamily
|
@@ -2935,7 +2975,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2935
2975
|
|
2936
2976
|
@property
|
2937
2977
|
def DedicatedClusterId(self):
|
2938
|
-
"""本地专用集群ID
|
2978
|
+
"""本地专用集群ID。可通过 [DescribeDedicatedClusters](https://cloud.tencent.com/document/product/1346/73758) 接口获取该参数。
|
2939
2979
|
:rtype: str
|
2940
2980
|
"""
|
2941
2981
|
return self._DedicatedClusterId
|
@@ -3080,23 +3120,30 @@ class CreateLifecycleHookRequest(AbstractModel):
|
|
3080
3120
|
|
3081
3121
|
def __init__(self):
|
3082
3122
|
r"""
|
3083
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
3123
|
+
:param _AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
3124
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
3125
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
3084
3126
|
:type AutoScalingGroupId: str
|
3085
3127
|
:param _LifecycleHookName: 生命周期挂钩名称。名称仅支持中文、英文、数字、下划线(_)、短横线(-)、小数点(.),最大长度不能超128个字节。
|
3086
3128
|
:type LifecycleHookName: str
|
3087
|
-
:param _LifecycleTransition:
|
3129
|
+
:param _LifecycleTransition: 进行生命周期挂钩的场景,取值范围如下:
|
3130
|
+
<li> INSTANCE_LAUNCHING: 扩容生命周期挂钩</li>
|
3131
|
+
<li>INSTANCE_TERMINATING: 缩容生命周期挂钩</li>
|
3088
3132
|
:type LifecycleTransition: str
|
3089
|
-
:param _DefaultResult:
|
3133
|
+
:param _DefaultResult: 定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
|
3134
|
+
<li>CONTINUE: 默认值,表示继续执行扩缩容活动</li>
|
3135
|
+
<li>ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动。</li>
|
3090
3136
|
:type DefaultResult: str
|
3091
3137
|
:param _HeartbeatTimeout: 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到7200秒,默认值为300秒
|
3092
3138
|
:type HeartbeatTimeout: int
|
3093
|
-
:param _NotificationMetadata:
|
3139
|
+
:param _NotificationMetadata: 弹性伸缩向通知目标发送的附加信息,配置通知时使用,默认值为空字符串,最长不超过 1024 字符。NotificationMetadata 和 LifecycleCommand参数互斥,二者不可同时指定。
|
3094
3140
|
:type NotificationMetadata: str
|
3095
3141
|
:param _NotificationTarget: 通知目标。NotificationTarget和LifecycleCommand参数互斥,二者不可同时指定。
|
3096
3142
|
:type NotificationTarget: :class:`tencentcloud.autoscaling.v20180419.models.NotificationTarget`
|
3097
|
-
:param _LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括NORMAL 和 EXTENSION
|
3143
|
+
:param _LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括 NORMAL 和 EXTENSION,默认值为 NORMAL。
|
3144
|
+
说明:设置为EXTENSION值,在 [AttachInstances](https://cloud.tencent.com/document/api/377/20441)、[DetachInstances](https://cloud.tencent.com/document/api/377/20436)、[RemoveInstaces](https://cloud.tencent.com/document/api/377/20431)、[StopAutoScalingInstances](https://cloud.tencent.com/document/api/377/40286)、[StartAutoScalingInstances](https://cloud.tencent.com/document/api/377/40287)、[StartInstanceRefresh](https://cloud.tencent.com/document/api/377/99172) 接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
|
3098
3145
|
:type LifecycleTransitionType: str
|
3099
|
-
:param _LifecycleCommand:
|
3146
|
+
:param _LifecycleCommand: 远程命令执行对象。通知相关参数(NotificationTarget、NotificationMetadata)与该参数互斥,二者不可同时指定。
|
3100
3147
|
:type LifecycleCommand: :class:`tencentcloud.autoscaling.v20180419.models.LifecycleCommand`
|
3101
3148
|
"""
|
3102
3149
|
self._AutoScalingGroupId = None
|
@@ -3111,7 +3158,9 @@ class CreateLifecycleHookRequest(AbstractModel):
|
|
3111
3158
|
|
3112
3159
|
@property
|
3113
3160
|
def AutoScalingGroupId(self):
|
3114
|
-
"""伸缩组ID
|
3161
|
+
"""伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
3162
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
3163
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
3115
3164
|
:rtype: str
|
3116
3165
|
"""
|
3117
3166
|
return self._AutoScalingGroupId
|
@@ -3133,7 +3182,9 @@ class CreateLifecycleHookRequest(AbstractModel):
|
|
3133
3182
|
|
3134
3183
|
@property
|
3135
3184
|
def LifecycleTransition(self):
|
3136
|
-
"""
|
3185
|
+
"""进行生命周期挂钩的场景,取值范围如下:
|
3186
|
+
<li> INSTANCE_LAUNCHING: 扩容生命周期挂钩</li>
|
3187
|
+
<li>INSTANCE_TERMINATING: 缩容生命周期挂钩</li>
|
3137
3188
|
:rtype: str
|
3138
3189
|
"""
|
3139
3190
|
return self._LifecycleTransition
|
@@ -3144,7 +3195,9 @@ class CreateLifecycleHookRequest(AbstractModel):
|
|
3144
3195
|
|
3145
3196
|
@property
|
3146
3197
|
def DefaultResult(self):
|
3147
|
-
"""
|
3198
|
+
"""定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
|
3199
|
+
<li>CONTINUE: 默认值,表示继续执行扩缩容活动</li>
|
3200
|
+
<li>ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动。</li>
|
3148
3201
|
:rtype: str
|
3149
3202
|
"""
|
3150
3203
|
return self._DefaultResult
|
@@ -3166,7 +3219,7 @@ class CreateLifecycleHookRequest(AbstractModel):
|
|
3166
3219
|
|
3167
3220
|
@property
|
3168
3221
|
def NotificationMetadata(self):
|
3169
|
-
"""
|
3222
|
+
"""弹性伸缩向通知目标发送的附加信息,配置通知时使用,默认值为空字符串,最长不超过 1024 字符。NotificationMetadata 和 LifecycleCommand参数互斥,二者不可同时指定。
|
3170
3223
|
:rtype: str
|
3171
3224
|
"""
|
3172
3225
|
return self._NotificationMetadata
|
@@ -3188,7 +3241,8 @@ class CreateLifecycleHookRequest(AbstractModel):
|
|
3188
3241
|
|
3189
3242
|
@property
|
3190
3243
|
def LifecycleTransitionType(self):
|
3191
|
-
"""进行生命周期挂钩的场景类型,取值范围包括NORMAL 和 EXTENSION
|
3244
|
+
"""进行生命周期挂钩的场景类型,取值范围包括 NORMAL 和 EXTENSION,默认值为 NORMAL。
|
3245
|
+
说明:设置为EXTENSION值,在 [AttachInstances](https://cloud.tencent.com/document/api/377/20441)、[DetachInstances](https://cloud.tencent.com/document/api/377/20436)、[RemoveInstaces](https://cloud.tencent.com/document/api/377/20431)、[StopAutoScalingInstances](https://cloud.tencent.com/document/api/377/40286)、[StartAutoScalingInstances](https://cloud.tencent.com/document/api/377/40287)、[StartInstanceRefresh](https://cloud.tencent.com/document/api/377/99172) 接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
|
3192
3246
|
:rtype: str
|
3193
3247
|
"""
|
3194
3248
|
return self._LifecycleTransitionType
|
@@ -3199,7 +3253,7 @@ class CreateLifecycleHookRequest(AbstractModel):
|
|
3199
3253
|
|
3200
3254
|
@property
|
3201
3255
|
def LifecycleCommand(self):
|
3202
|
-
"""
|
3256
|
+
"""远程命令执行对象。通知相关参数(NotificationTarget、NotificationMetadata)与该参数互斥,二者不可同时指定。
|
3203
3257
|
:rtype: :class:`tencentcloud.autoscaling.v20180419.models.LifecycleCommand`
|
3204
3258
|
"""
|
3205
3259
|
return self._LifecycleCommand
|
@@ -3283,7 +3337,7 @@ class CreateNotificationConfigurationRequest(AbstractModel):
|
|
3283
3337
|
|
3284
3338
|
def __init__(self):
|
3285
3339
|
r"""
|
3286
|
-
:param _AutoScalingGroupId: 伸缩组ID。
|
3340
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
3287
3341
|
:type AutoScalingGroupId: str
|
3288
3342
|
:param _NotificationTypes: 通知类型,即为需要订阅的通知类型集合,取值范围如下:
|
3289
3343
|
<li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
@@ -3293,20 +3347,20 @@ class CreateNotificationConfigurationRequest(AbstractModel):
|
|
3293
3347
|
<li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
3294
3348
|
<li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
3295
3349
|
:type NotificationTypes: list of str
|
3296
|
-
:param _NotificationUserGroupIds: 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)
|
3350
|
+
:param _NotificationUserGroupIds: 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 TargetType 为 USER_GROUP 时生效。
|
3297
3351
|
:type NotificationUserGroupIds: list of str
|
3298
|
-
:param _TargetType:
|
3299
|
-
<
|
3300
|
-
<
|
3301
|
-
<
|
3302
|
-
<
|
3303
|
-
<
|
3352
|
+
:param _TargetType: 通知接收端类型,取值如下:
|
3353
|
+
<li>USER_GROUP:用户组</li>
|
3354
|
+
<li>TDMQ_CMQ_TOPIC:TDMQ CMQ 主题</li>
|
3355
|
+
<li>TDMQ_CMQ_QUEUE:TDMQ CMQ 队列</li>
|
3356
|
+
<li>CMQ_QUEUE:CMQ 队列,[CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。</li>
|
3357
|
+
<li>CMQ_TOPIC:CMQ 主题,[CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。</li>
|
3304
3358
|
|
3305
3359
|
默认值为:`USER_GROUP`。
|
3306
3360
|
:type TargetType: str
|
3307
|
-
:param _QueueName: CMQ
|
3361
|
+
:param _QueueName: TDMQ CMQ 队列名,如 TargetType 取值为 `TDMQ_CMQ_QUEUE` ,该字段必填。
|
3308
3362
|
:type QueueName: str
|
3309
|
-
:param _TopicName: CMQ
|
3363
|
+
:param _TopicName: TDMQ CMQ 主题名,如 TargetType 取值为 `TDMQ_CMQ_TOPIC` ,该字段必填。
|
3310
3364
|
:type TopicName: str
|
3311
3365
|
"""
|
3312
3366
|
self._AutoScalingGroupId = None
|
@@ -3318,7 +3372,7 @@ class CreateNotificationConfigurationRequest(AbstractModel):
|
|
3318
3372
|
|
3319
3373
|
@property
|
3320
3374
|
def AutoScalingGroupId(self):
|
3321
|
-
"""伸缩组ID。
|
3375
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
3322
3376
|
:rtype: str
|
3323
3377
|
"""
|
3324
3378
|
return self._AutoScalingGroupId
|
@@ -3346,7 +3400,7 @@ class CreateNotificationConfigurationRequest(AbstractModel):
|
|
3346
3400
|
|
3347
3401
|
@property
|
3348
3402
|
def NotificationUserGroupIds(self):
|
3349
|
-
"""通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)
|
3403
|
+
"""通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 TargetType 为 USER_GROUP 时生效。
|
3350
3404
|
:rtype: list of str
|
3351
3405
|
"""
|
3352
3406
|
return self._NotificationUserGroupIds
|
@@ -3357,12 +3411,12 @@ class CreateNotificationConfigurationRequest(AbstractModel):
|
|
3357
3411
|
|
3358
3412
|
@property
|
3359
3413
|
def TargetType(self):
|
3360
|
-
"""
|
3361
|
-
<
|
3362
|
-
<
|
3363
|
-
<
|
3364
|
-
<
|
3365
|
-
<
|
3414
|
+
"""通知接收端类型,取值如下:
|
3415
|
+
<li>USER_GROUP:用户组</li>
|
3416
|
+
<li>TDMQ_CMQ_TOPIC:TDMQ CMQ 主题</li>
|
3417
|
+
<li>TDMQ_CMQ_QUEUE:TDMQ CMQ 队列</li>
|
3418
|
+
<li>CMQ_QUEUE:CMQ 队列,[CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。</li>
|
3419
|
+
<li>CMQ_TOPIC:CMQ 主题,[CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。</li>
|
3366
3420
|
|
3367
3421
|
默认值为:`USER_GROUP`。
|
3368
3422
|
:rtype: str
|
@@ -3375,7 +3429,7 @@ class CreateNotificationConfigurationRequest(AbstractModel):
|
|
3375
3429
|
|
3376
3430
|
@property
|
3377
3431
|
def QueueName(self):
|
3378
|
-
"""CMQ
|
3432
|
+
"""TDMQ CMQ 队列名,如 TargetType 取值为 `TDMQ_CMQ_QUEUE` ,该字段必填。
|
3379
3433
|
:rtype: str
|
3380
3434
|
"""
|
3381
3435
|
return self._QueueName
|
@@ -3386,7 +3440,7 @@ class CreateNotificationConfigurationRequest(AbstractModel):
|
|
3386
3440
|
|
3387
3441
|
@property
|
3388
3442
|
def TopicName(self):
|
3389
|
-
"""CMQ
|
3443
|
+
"""TDMQ CMQ 主题名,如 TargetType 取值为 `TDMQ_CMQ_TOPIC` ,该字段必填。
|
3390
3444
|
:rtype: str
|
3391
3445
|
"""
|
3392
3446
|
return self._TopicName
|
@@ -3463,31 +3517,36 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3463
3517
|
|
3464
3518
|
def __init__(self):
|
3465
3519
|
r"""
|
3466
|
-
:param _AutoScalingGroupId: 伸缩组ID。
|
3520
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
3467
3521
|
:type AutoScalingGroupId: str
|
3468
|
-
:param _ScalingPolicyName:
|
3522
|
+
:param _ScalingPolicyName: 告警策略名称,在您账号中必须唯一。名称长度不能超过60,名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点。
|
3469
3523
|
:type ScalingPolicyName: str
|
3470
|
-
:param _ScalingPolicyType: 告警触发策略类型,默认类型为SIMPLE
|
3524
|
+
:param _ScalingPolicyType: 告警触发策略类型,默认类型为SIMPLE。取值范围:
|
3525
|
+
<li>SIMPLE:简单策略</li>
|
3526
|
+
<li>TARGET_TRACKING:目标追踪策略</li>
|
3471
3527
|
:type ScalingPolicyType: str
|
3472
|
-
:param _AdjustmentType:
|
3528
|
+
:param _AdjustmentType: 告警触发后,期望实例数修改方式,仅适用于简单策略,在简单策略场景下必填。取值范围:
|
3529
|
+
<li>CHANGE_IN_CAPACITY:增加或减少若干期望实例数</li>
|
3530
|
+
<li>EXACT_CAPACITY:调整至指定期望实例数</li>
|
3531
|
+
<li>PERCENT_CHANGE_IN_CAPACITY:按百分比调整期望实例数</li>
|
3473
3532
|
:type AdjustmentType: str
|
3474
|
-
:param _AdjustmentValue:
|
3533
|
+
:param _AdjustmentValue: 告警触发后,期望实例数的调整值,仅适用于简单策略,在简单策略场景下必填。
|
3475
3534
|
<li>当 AdjustmentType 为 CHANGE_IN_CAPACITY 时,AdjustmentValue 为正数表示告警触发后增加实例,为负数表示告警触发后减少实例 </li>
|
3476
3535
|
<li> 当 AdjustmentType 为 EXACT_CAPACITY 时,AdjustmentValue 的值即为告警触发后新的期望实例数,需要大于或等于0 </li>
|
3477
3536
|
<li> 当 AdjustmentType 为 PERCENT_CHANGE_IN_CAPACITY 时,AdjusmentValue 为正数表示告警触发后按百分比增加实例,为负数表示告警触发后按百分比减少实例,单位是:%。</li>
|
3478
3537
|
:type AdjustmentValue: int
|
3479
3538
|
:param _Cooldown: 冷却时间,单位为秒,仅适用于简单策略。默认冷却时间300秒。
|
3480
3539
|
:type Cooldown: int
|
3481
|
-
:param _MetricAlarm:
|
3540
|
+
:param _MetricAlarm: 告警监控指标,仅适用于简单策略,在简单策略场景下必填。
|
3482
3541
|
:type MetricAlarm: :class:`tencentcloud.autoscaling.v20180419.models.MetricAlarm`
|
3483
|
-
:param _PredefinedMetricType:
|
3542
|
+
:param _PredefinedMetricType: 预定义监控项,仅适用于目标追踪策略,在目标追踪策略场景下必填。取值范围:
|
3484
3543
|
<li>ASG_AVG_CPU_UTILIZATION:平均CPU使用率</li>
|
3485
3544
|
<li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
|
3486
3545
|
<li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
|
3487
3546
|
<li>ASG_AVG_WAN_TRAFFIC_OUT:平均外网出带宽</li>
|
3488
3547
|
<li>ASG_AVG_WAN_TRAFFIC_IN:平均外网入带宽</li>
|
3489
3548
|
:type PredefinedMetricType: str
|
3490
|
-
:param _TargetValue:
|
3549
|
+
:param _TargetValue: 目标值,仅适用于目标追踪策略,在目标追踪策略场景下必填。
|
3491
3550
|
<li>ASG_AVG_CPU_UTILIZATION:[1, 100),单位:%</li>
|
3492
3551
|
<li>ASG_AVG_LAN_TRAFFIC_OUT:>0,单位:Mbps</li>
|
3493
3552
|
<li>ASG_AVG_LAN_TRAFFIC_IN:>0,单位:Mbps</li>
|
@@ -3519,7 +3578,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3519
3578
|
|
3520
3579
|
@property
|
3521
3580
|
def AutoScalingGroupId(self):
|
3522
|
-
"""伸缩组ID。
|
3581
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
3523
3582
|
:rtype: str
|
3524
3583
|
"""
|
3525
3584
|
return self._AutoScalingGroupId
|
@@ -3530,7 +3589,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3530
3589
|
|
3531
3590
|
@property
|
3532
3591
|
def ScalingPolicyName(self):
|
3533
|
-
"""
|
3592
|
+
"""告警策略名称,在您账号中必须唯一。名称长度不能超过60,名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点。
|
3534
3593
|
:rtype: str
|
3535
3594
|
"""
|
3536
3595
|
return self._ScalingPolicyName
|
@@ -3541,7 +3600,9 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3541
3600
|
|
3542
3601
|
@property
|
3543
3602
|
def ScalingPolicyType(self):
|
3544
|
-
"""告警触发策略类型,默认类型为SIMPLE
|
3603
|
+
"""告警触发策略类型,默认类型为SIMPLE。取值范围:
|
3604
|
+
<li>SIMPLE:简单策略</li>
|
3605
|
+
<li>TARGET_TRACKING:目标追踪策略</li>
|
3545
3606
|
:rtype: str
|
3546
3607
|
"""
|
3547
3608
|
return self._ScalingPolicyType
|
@@ -3552,7 +3613,10 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3552
3613
|
|
3553
3614
|
@property
|
3554
3615
|
def AdjustmentType(self):
|
3555
|
-
"""
|
3616
|
+
"""告警触发后,期望实例数修改方式,仅适用于简单策略,在简单策略场景下必填。取值范围:
|
3617
|
+
<li>CHANGE_IN_CAPACITY:增加或减少若干期望实例数</li>
|
3618
|
+
<li>EXACT_CAPACITY:调整至指定期望实例数</li>
|
3619
|
+
<li>PERCENT_CHANGE_IN_CAPACITY:按百分比调整期望实例数</li>
|
3556
3620
|
:rtype: str
|
3557
3621
|
"""
|
3558
3622
|
return self._AdjustmentType
|
@@ -3563,7 +3627,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3563
3627
|
|
3564
3628
|
@property
|
3565
3629
|
def AdjustmentValue(self):
|
3566
|
-
"""
|
3630
|
+
"""告警触发后,期望实例数的调整值,仅适用于简单策略,在简单策略场景下必填。
|
3567
3631
|
<li>当 AdjustmentType 为 CHANGE_IN_CAPACITY 时,AdjustmentValue 为正数表示告警触发后增加实例,为负数表示告警触发后减少实例 </li>
|
3568
3632
|
<li> 当 AdjustmentType 为 EXACT_CAPACITY 时,AdjustmentValue 的值即为告警触发后新的期望实例数,需要大于或等于0 </li>
|
3569
3633
|
<li> 当 AdjustmentType 为 PERCENT_CHANGE_IN_CAPACITY 时,AdjusmentValue 为正数表示告警触发后按百分比增加实例,为负数表示告警触发后按百分比减少实例,单位是:%。</li>
|
@@ -3588,7 +3652,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3588
3652
|
|
3589
3653
|
@property
|
3590
3654
|
def MetricAlarm(self):
|
3591
|
-
"""
|
3655
|
+
"""告警监控指标,仅适用于简单策略,在简单策略场景下必填。
|
3592
3656
|
:rtype: :class:`tencentcloud.autoscaling.v20180419.models.MetricAlarm`
|
3593
3657
|
"""
|
3594
3658
|
return self._MetricAlarm
|
@@ -3599,7 +3663,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3599
3663
|
|
3600
3664
|
@property
|
3601
3665
|
def PredefinedMetricType(self):
|
3602
|
-
"""
|
3666
|
+
"""预定义监控项,仅适用于目标追踪策略,在目标追踪策略场景下必填。取值范围:
|
3603
3667
|
<li>ASG_AVG_CPU_UTILIZATION:平均CPU使用率</li>
|
3604
3668
|
<li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
|
3605
3669
|
<li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
|
@@ -3615,7 +3679,7 @@ class CreateScalingPolicyRequest(AbstractModel):
|
|
3615
3679
|
|
3616
3680
|
@property
|
3617
3681
|
def TargetValue(self):
|
3618
|
-
"""
|
3682
|
+
"""目标值,仅适用于目标追踪策略,在目标追踪策略场景下必填。
|
3619
3683
|
<li>ASG_AVG_CPU_UTILIZATION:[1, 100),单位:%</li>
|
3620
3684
|
<li>ASG_AVG_LAN_TRAFFIC_OUT:>0,单位:Mbps</li>
|
3621
3685
|
<li>ASG_AVG_LAN_TRAFFIC_IN:>0,单位:Mbps</li>
|
@@ -3937,11 +4001,12 @@ class DataDisk(AbstractModel):
|
|
3937
4001
|
<li>CLOUD_SSD:SSD云硬盘</li>
|
3938
4002
|
<li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
3939
4003
|
<li>CLOUD_TSSD:极速型SSD云硬盘</li>
|
4004
|
+
<li>CLOUD_BSSD:通用型SSD云硬盘</li>
|
3940
4005
|
默认取值与系统盘类型(SystemDisk.DiskType)保持一致。
|
3941
4006
|
:type DiskType: str
|
3942
|
-
:param _DiskSize: 数据盘大小,单位:GB
|
4007
|
+
:param _DiskSize: 数据盘大小,单位:GB。不同数据盘类型取值范围不同,具体限制详见:[CVM实例配置](https://cloud.tencent.com/document/product/213/2177)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
3943
4008
|
:type DiskSize: int
|
3944
|
-
:param _SnapshotId: 数据盘快照 ID
|
4009
|
+
:param _SnapshotId: 数据盘快照 ID,可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口获取该参数。
|
3945
4010
|
注意:此字段可能返回 null,表示取不到有效值。
|
3946
4011
|
:type SnapshotId: str
|
3947
4012
|
:param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
|
@@ -3958,8 +4023,7 @@ class DataDisk(AbstractModel):
|
|
3958
4023
|
当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且 需容量 > 460GB。
|
3959
4024
|
注意:此字段可能返回 null,表示取不到有效值。
|
3960
4025
|
:type ThroughputPerformance: int
|
3961
|
-
:param _BurstPerformance: 突发性能。是否开启突发性能,默认取值为 false。
|
3962
|
-
|
4026
|
+
:param _BurstPerformance: 突发性能。是否开启突发性能,默认取值为 false。当前该参数仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且需容量 > 460GB。
|
3963
4027
|
注:内测中,需提单申请后使用。
|
3964
4028
|
注意:此字段可能返回 null,表示取不到有效值。
|
3965
4029
|
:type BurstPerformance: bool
|
@@ -3982,6 +4046,7 @@ class DataDisk(AbstractModel):
|
|
3982
4046
|
<li>CLOUD_SSD:SSD云硬盘</li>
|
3983
4047
|
<li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
3984
4048
|
<li>CLOUD_TSSD:极速型SSD云硬盘</li>
|
4049
|
+
<li>CLOUD_BSSD:通用型SSD云硬盘</li>
|
3985
4050
|
默认取值与系统盘类型(SystemDisk.DiskType)保持一致。
|
3986
4051
|
:rtype: str
|
3987
4052
|
"""
|
@@ -3993,7 +4058,7 @@ class DataDisk(AbstractModel):
|
|
3993
4058
|
|
3994
4059
|
@property
|
3995
4060
|
def DiskSize(self):
|
3996
|
-
"""数据盘大小,单位:GB
|
4061
|
+
"""数据盘大小,单位:GB。不同数据盘类型取值范围不同,具体限制详见:[CVM实例配置](https://cloud.tencent.com/document/product/213/2177)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
3997
4062
|
:rtype: int
|
3998
4063
|
"""
|
3999
4064
|
return self._DiskSize
|
@@ -4004,7 +4069,7 @@ class DataDisk(AbstractModel):
|
|
4004
4069
|
|
4005
4070
|
@property
|
4006
4071
|
def SnapshotId(self):
|
4007
|
-
"""数据盘快照 ID
|
4072
|
+
"""数据盘快照 ID,可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口获取该参数。
|
4008
4073
|
注意:此字段可能返回 null,表示取不到有效值。
|
4009
4074
|
:rtype: str
|
4010
4075
|
"""
|
@@ -4057,8 +4122,7 @@ class DataDisk(AbstractModel):
|
|
4057
4122
|
|
4058
4123
|
@property
|
4059
4124
|
def BurstPerformance(self):
|
4060
|
-
"""突发性能。是否开启突发性能,默认取值为 false。
|
4061
|
-
|
4125
|
+
"""突发性能。是否开启突发性能,默认取值为 false。当前该参数仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且需容量 > 460GB。
|
4062
4126
|
注:内测中,需提单申请后使用。
|
4063
4127
|
注意:此字段可能返回 null,表示取不到有效值。
|
4064
4128
|
:rtype: bool
|
@@ -4095,14 +4159,14 @@ class DeleteAutoScalingGroupRequest(AbstractModel):
|
|
4095
4159
|
|
4096
4160
|
def __init__(self):
|
4097
4161
|
r"""
|
4098
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
4162
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
4099
4163
|
:type AutoScalingGroupId: str
|
4100
4164
|
"""
|
4101
4165
|
self._AutoScalingGroupId = None
|
4102
4166
|
|
4103
4167
|
@property
|
4104
4168
|
def AutoScalingGroupId(self):
|
4105
|
-
"""伸缩组ID
|
4169
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
4106
4170
|
:rtype: str
|
4107
4171
|
"""
|
4108
4172
|
return self._AutoScalingGroupId
|
@@ -4159,14 +4223,14 @@ class DeleteLaunchConfigurationRequest(AbstractModel):
|
|
4159
4223
|
|
4160
4224
|
def __init__(self):
|
4161
4225
|
r"""
|
4162
|
-
:param _LaunchConfigurationId: 需要删除的启动配置ID。
|
4226
|
+
:param _LaunchConfigurationId: 需要删除的启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
4163
4227
|
:type LaunchConfigurationId: str
|
4164
4228
|
"""
|
4165
4229
|
self._LaunchConfigurationId = None
|
4166
4230
|
|
4167
4231
|
@property
|
4168
4232
|
def LaunchConfigurationId(self):
|
4169
|
-
"""需要删除的启动配置ID。
|
4233
|
+
"""需要删除的启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
4170
4234
|
:rtype: str
|
4171
4235
|
"""
|
4172
4236
|
return self._LaunchConfigurationId
|
@@ -4287,14 +4351,14 @@ class DeleteNotificationConfigurationRequest(AbstractModel):
|
|
4287
4351
|
|
4288
4352
|
def __init__(self):
|
4289
4353
|
r"""
|
4290
|
-
:param _AutoScalingNotificationId: 待删除的通知ID。
|
4354
|
+
:param _AutoScalingNotificationId: 待删除的通知ID,目前为必填参数。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeNotificationConfigurations](https://cloud.tencent.com/document/api/377/33183) ,取返回信息中的 AutoScalingNotificationId 获取通知ID。
|
4291
4355
|
:type AutoScalingNotificationId: str
|
4292
4356
|
"""
|
4293
4357
|
self._AutoScalingNotificationId = None
|
4294
4358
|
|
4295
4359
|
@property
|
4296
4360
|
def AutoScalingNotificationId(self):
|
4297
|
-
"""待删除的通知ID。
|
4361
|
+
"""待删除的通知ID,目前为必填参数。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeNotificationConfigurations](https://cloud.tencent.com/document/api/377/33183) ,取返回信息中的 AutoScalingNotificationId 获取通知ID。
|
4298
4362
|
:rtype: str
|
4299
4363
|
"""
|
4300
4364
|
return self._AutoScalingNotificationId
|
@@ -4351,14 +4415,14 @@ class DeleteScalingPolicyRequest(AbstractModel):
|
|
4351
4415
|
|
4352
4416
|
def __init__(self):
|
4353
4417
|
r"""
|
4354
|
-
:param _AutoScalingPolicyId: 待删除的告警策略ID。
|
4418
|
+
:param _AutoScalingPolicyId: 待删除的告警策略ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) ,取返回信息中的 AutoScalingPolicyId 获取告警策略ID。
|
4355
4419
|
:type AutoScalingPolicyId: str
|
4356
4420
|
"""
|
4357
4421
|
self._AutoScalingPolicyId = None
|
4358
4422
|
|
4359
4423
|
@property
|
4360
4424
|
def AutoScalingPolicyId(self):
|
4361
|
-
"""待删除的告警策略ID。
|
4425
|
+
"""待删除的告警策略ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) ,取返回信息中的 AutoScalingPolicyId 获取告警策略ID。
|
4362
4426
|
:rtype: str
|
4363
4427
|
"""
|
4364
4428
|
return self._AutoScalingPolicyId
|
@@ -4576,7 +4640,7 @@ class DescribeAutoScalingActivitiesRequest(AbstractModel):
|
|
4576
4640
|
:param _ActivityIds: 按照一个或者多个伸缩活动ID查询。伸缩活动ID形如:`asa-5l2ejpfo`。每次请求的上限为100。参数不支持同时指定`ActivityIds`和`Filters`。
|
4577
4641
|
:type ActivityIds: list of str
|
4578
4642
|
:param _Filters: 过滤条件。
|
4579
|
-
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
4643
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
4580
4644
|
<li> activity-status-code - String - 是否必填:否 -(过滤条件)按照伸缩活动状态过滤。(INIT:初始化中|RUNNING:运行中|SUCCESSFUL:活动成功|PARTIALLY_SUCCESSFUL:活动部分成功|FAILED:活动失败|CANCELLED:活动取消)</li>
|
4581
4645
|
<li> activity-type - String - 是否必填:否 -(过滤条件)按照伸缩活动类型过滤。(SCALE_OUT:扩容活动|SCALE_IN:缩容活动|ATTACH_INSTANCES:添加实例|REMOVE_INSTANCES:销毁实例|DETACH_INSTANCES:移出实例|TERMINATE_INSTANCES_UNEXPECTEDLY:实例在CVM控制台被销毁|REPLACE_UNHEALTHY_INSTANCE:替换不健康实例|UPDATE_LOAD_BALANCERS:更新负载均衡器)</li>
|
4582
4646
|
<li> activity-id - String - 是否必填:否 -(过滤条件)按照伸缩活动ID过滤。</li>
|
@@ -4612,7 +4676,7 @@ class DescribeAutoScalingActivitiesRequest(AbstractModel):
|
|
4612
4676
|
@property
|
4613
4677
|
def Filters(self):
|
4614
4678
|
"""过滤条件。
|
4615
|
-
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
4679
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
4616
4680
|
<li> activity-status-code - String - 是否必填:否 -(过滤条件)按照伸缩活动状态过滤。(INIT:初始化中|RUNNING:运行中|SUCCESSFUL:活动成功|PARTIALLY_SUCCESSFUL:活动部分成功|FAILED:活动失败|CANCELLED:活动取消)</li>
|
4617
4681
|
<li> activity-type - String - 是否必填:否 -(过滤条件)按照伸缩活动类型过滤。(SCALE_OUT:扩容活动|SCALE_IN:缩容活动|ATTACH_INSTANCES:添加实例|REMOVE_INSTANCES:销毁实例|DETACH_INSTANCES:移出实例|TERMINATE_INSTANCES_UNEXPECTEDLY:实例在CVM控制台被销毁|REPLACE_UNHEALTHY_INSTANCE:替换不健康实例|UPDATE_LOAD_BALANCERS:更新负载均衡器)</li>
|
4618
4682
|
<li> activity-id - String - 是否必填:否 -(过滤条件)按照伸缩活动ID过滤。</li>
|
@@ -4762,14 +4826,14 @@ class DescribeAutoScalingAdvicesRequest(AbstractModel):
|
|
4762
4826
|
|
4763
4827
|
def __init__(self):
|
4764
4828
|
r"""
|
4765
|
-
:param _AutoScalingGroupIds: 待查询的伸缩组列表,上限100。
|
4829
|
+
:param _AutoScalingGroupIds: 待查询的伸缩组列表,上限100。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
4766
4830
|
:type AutoScalingGroupIds: list of str
|
4767
4831
|
"""
|
4768
4832
|
self._AutoScalingGroupIds = None
|
4769
4833
|
|
4770
4834
|
@property
|
4771
4835
|
def AutoScalingGroupIds(self):
|
4772
|
-
"""待查询的伸缩组列表,上限100。
|
4836
|
+
"""待查询的伸缩组列表,上限100。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
4773
4837
|
:rtype: list of str
|
4774
4838
|
"""
|
4775
4839
|
return self._AutoScalingGroupIds
|
@@ -4846,7 +4910,7 @@ class DescribeAutoScalingGroupLastActivitiesRequest(AbstractModel):
|
|
4846
4910
|
|
4847
4911
|
def __init__(self):
|
4848
4912
|
r"""
|
4849
|
-
:param _AutoScalingGroupIds: 伸缩组ID
|
4913
|
+
:param _AutoScalingGroupIds: 伸缩组ID列表。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
4850
4914
|
:type AutoScalingGroupIds: list of str
|
4851
4915
|
:param _ExcludeCancelledActivity: 查询时排除取消类型活动。默认值为 false,表示不排除取消类型活动。
|
4852
4916
|
:type ExcludeCancelledActivity: bool
|
@@ -4856,7 +4920,7 @@ class DescribeAutoScalingGroupLastActivitiesRequest(AbstractModel):
|
|
4856
4920
|
|
4857
4921
|
@property
|
4858
4922
|
def AutoScalingGroupIds(self):
|
4859
|
-
"""伸缩组ID
|
4923
|
+
"""伸缩组ID列表。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
4860
4924
|
:rtype: list of str
|
4861
4925
|
"""
|
4862
4926
|
return self._AutoScalingGroupIds
|
@@ -4948,13 +5012,14 @@ class DescribeAutoScalingGroupsRequest(AbstractModel):
|
|
4948
5012
|
:param _AutoScalingGroupIds: 按照一个或者多个伸缩组ID查询。伸缩组ID形如:`asg-nkdwoui0`。每次请求的上限为100。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。
|
4949
5013
|
:type AutoScalingGroupIds: list of str
|
4950
5014
|
:param _Filters: 过滤条件。
|
4951
|
-
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
5015
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。
|
5016
|
+
可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
4952
5017
|
<li> auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。</li>
|
4953
5018
|
<li> vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。</li>
|
4954
|
-
<li> launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID
|
4955
|
-
<li> tag-key - String - 是否必填:否
|
4956
|
-
<li> tag-value - String - 是否必填:否
|
4957
|
-
<li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key
|
5019
|
+
<li> launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。</li>
|
5020
|
+
<li> tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。</li>
|
5021
|
+
<li> tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。</li>
|
5022
|
+
<li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。</li>
|
4958
5023
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。
|
4959
5024
|
:type Filters: list of Filter
|
4960
5025
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -4981,13 +5046,14 @@ class DescribeAutoScalingGroupsRequest(AbstractModel):
|
|
4981
5046
|
@property
|
4982
5047
|
def Filters(self):
|
4983
5048
|
"""过滤条件。
|
4984
|
-
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
5049
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。
|
5050
|
+
可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
4985
5051
|
<li> auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。</li>
|
4986
5052
|
<li> vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。</li>
|
4987
|
-
<li> launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID
|
4988
|
-
<li> tag-key - String - 是否必填:否
|
4989
|
-
<li> tag-value - String - 是否必填:否
|
4990
|
-
<li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key
|
5053
|
+
<li> launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。</li>
|
5054
|
+
<li> tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。</li>
|
5055
|
+
<li> tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。</li>
|
5056
|
+
<li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。</li>
|
4991
5057
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。
|
4992
5058
|
:rtype: list of Filter
|
4993
5059
|
"""
|
@@ -5110,11 +5176,14 @@ class DescribeAutoScalingInstancesRequest(AbstractModel):
|
|
5110
5176
|
|
5111
5177
|
def __init__(self):
|
5112
5178
|
r"""
|
5113
|
-
:param _InstanceIds: 待查询云服务器(CVM)的实例ID
|
5179
|
+
:param _InstanceIds: 待查询云服务器(CVM)的实例ID列表,列表长度上限为100,不支持同时指定 InstanceIds 和 Filters。
|
5180
|
+
可以通过以下方式获取可用的实例ID:
|
5181
|
+
<li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
5182
|
+
<li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
5114
5183
|
:type InstanceIds: list of str
|
5115
5184
|
:param _Filters: 过滤条件。
|
5116
|
-
<li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID
|
5117
|
-
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
5185
|
+
<li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
5186
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
5118
5187
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
5119
5188
|
:type Filters: list of Filter
|
5120
5189
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -5129,7 +5198,10 @@ class DescribeAutoScalingInstancesRequest(AbstractModel):
|
|
5129
5198
|
|
5130
5199
|
@property
|
5131
5200
|
def InstanceIds(self):
|
5132
|
-
"""待查询云服务器(CVM)的实例ID
|
5201
|
+
"""待查询云服务器(CVM)的实例ID列表,列表长度上限为100,不支持同时指定 InstanceIds 和 Filters。
|
5202
|
+
可以通过以下方式获取可用的实例ID:
|
5203
|
+
<li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
5204
|
+
<li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
5133
5205
|
:rtype: list of str
|
5134
5206
|
"""
|
5135
5207
|
return self._InstanceIds
|
@@ -5141,8 +5213,8 @@ class DescribeAutoScalingInstancesRequest(AbstractModel):
|
|
5141
5213
|
@property
|
5142
5214
|
def Filters(self):
|
5143
5215
|
"""过滤条件。
|
5144
|
-
<li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID
|
5145
|
-
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
5216
|
+
<li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
5217
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
5146
5218
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
5147
5219
|
:rtype: list of Filter
|
5148
5220
|
"""
|
@@ -5585,7 +5657,7 @@ class DescribeNotificationConfigurationsRequest(AbstractModel):
|
|
5585
5657
|
|
5586
5658
|
def __init__(self):
|
5587
5659
|
r"""
|
5588
|
-
:param _AutoScalingNotificationIds: 按照一个或者多个通知ID
|
5660
|
+
:param _AutoScalingNotificationIds: 按照一个或者多个通知ID查询,列表长度上限为100。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 获取通知ID。参数不支持同时指定`AutoScalingNotificationIds`和`Filters`。
|
5589
5661
|
:type AutoScalingNotificationIds: list of str
|
5590
5662
|
:param _Filters: 过滤条件。
|
5591
5663
|
<li> auto-scaling-notification-id - String - 是否必填:否 -(过滤条件)按照通知ID过滤。</li>
|
@@ -5604,7 +5676,7 @@ class DescribeNotificationConfigurationsRequest(AbstractModel):
|
|
5604
5676
|
|
5605
5677
|
@property
|
5606
5678
|
def AutoScalingNotificationIds(self):
|
5607
|
-
"""按照一个或者多个通知ID
|
5679
|
+
"""按照一个或者多个通知ID查询,列表长度上限为100。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 获取通知ID。参数不支持同时指定`AutoScalingNotificationIds`和`Filters`。
|
5608
5680
|
:rtype: list of str
|
5609
5681
|
"""
|
5610
5682
|
return self._AutoScalingNotificationIds
|
@@ -5903,9 +5975,9 @@ class DescribeScalingPoliciesRequest(AbstractModel):
|
|
5903
5975
|
:type AutoScalingPolicyIds: list of str
|
5904
5976
|
:param _Filters: 过滤条件。
|
5905
5977
|
<li> auto-scaling-policy-id - String - 是否必填:否 -(过滤条件)按照告警策略ID过滤。</li>
|
5906
|
-
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
5978
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
5907
5979
|
<li> scaling-policy-name - String - 是否必填:否 -(过滤条件)按照告警策略名称过滤。</li>
|
5908
|
-
<li> scaling-policy-type - String - 是否必填:否 -(过滤条件)按照告警策略类型过滤,取值范围为SIMPLE,TARGET_TRACKING
|
5980
|
+
<li> scaling-policy-type - String - 是否必填:否 -(过滤条件)按照告警策略类型过滤,取值范围为SIMPLE,TARGET_TRACKING。两者分别表示简单策略和目标追踪策略。</li>
|
5909
5981
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingPolicyIds`和`Filters`。
|
5910
5982
|
:type Filters: list of Filter
|
5911
5983
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -5933,9 +6005,9 @@ class DescribeScalingPoliciesRequest(AbstractModel):
|
|
5933
6005
|
def Filters(self):
|
5934
6006
|
"""过滤条件。
|
5935
6007
|
<li> auto-scaling-policy-id - String - 是否必填:否 -(过滤条件)按照告警策略ID过滤。</li>
|
5936
|
-
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
6008
|
+
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
5937
6009
|
<li> scaling-policy-name - String - 是否必填:否 -(过滤条件)按照告警策略名称过滤。</li>
|
5938
|
-
<li> scaling-policy-type - String - 是否必填:否 -(过滤条件)按照告警策略类型过滤,取值范围为SIMPLE,TARGET_TRACKING
|
6010
|
+
<li> scaling-policy-type - String - 是否必填:否 -(过滤条件)按照告警策略类型过滤,取值范围为SIMPLE,TARGET_TRACKING。两者分别表示简单策略和目标追踪策略。</li>
|
5939
6011
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingPolicyIds`和`Filters`。
|
5940
6012
|
:rtype: list of Filter
|
5941
6013
|
"""
|
@@ -6315,11 +6387,11 @@ class DetachLoadBalancersRequest(AbstractModel):
|
|
6315
6387
|
|
6316
6388
|
def __init__(self):
|
6317
6389
|
r"""
|
6318
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
6390
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
6319
6391
|
:type AutoScalingGroupId: str
|
6320
|
-
:param _LoadBalancerIds: 传统负载均衡器ID列表,列表长度上限为20,LoadBalancerIds 和 ForwardLoadBalancerIdentifications
|
6392
|
+
:param _LoadBalancerIds: 传统负载均衡器ID列表,列表长度上限为20,LoadBalancerIds 和 ForwardLoadBalancerIdentifications 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
6321
6393
|
:type LoadBalancerIds: list of str
|
6322
|
-
:param _ForwardLoadBalancerIdentifications:
|
6394
|
+
:param _ForwardLoadBalancerIdentifications: 负载均衡器标识信息列表,列表长度上限为100,LoadBalancerIds 和 ForwardLoadBalancerIdentifications二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
6323
6395
|
:type ForwardLoadBalancerIdentifications: list of ForwardLoadBalancerIdentification
|
6324
6396
|
"""
|
6325
6397
|
self._AutoScalingGroupId = None
|
@@ -6328,7 +6400,7 @@ class DetachLoadBalancersRequest(AbstractModel):
|
|
6328
6400
|
|
6329
6401
|
@property
|
6330
6402
|
def AutoScalingGroupId(self):
|
6331
|
-
"""伸缩组ID
|
6403
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
6332
6404
|
:rtype: str
|
6333
6405
|
"""
|
6334
6406
|
return self._AutoScalingGroupId
|
@@ -6339,7 +6411,7 @@ class DetachLoadBalancersRequest(AbstractModel):
|
|
6339
6411
|
|
6340
6412
|
@property
|
6341
6413
|
def LoadBalancerIds(self):
|
6342
|
-
"""传统负载均衡器ID列表,列表长度上限为20,LoadBalancerIds 和 ForwardLoadBalancerIdentifications
|
6414
|
+
"""传统负载均衡器ID列表,列表长度上限为20,LoadBalancerIds 和 ForwardLoadBalancerIdentifications 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
6343
6415
|
:rtype: list of str
|
6344
6416
|
"""
|
6345
6417
|
return self._LoadBalancerIds
|
@@ -6350,7 +6422,7 @@ class DetachLoadBalancersRequest(AbstractModel):
|
|
6350
6422
|
|
6351
6423
|
@property
|
6352
6424
|
def ForwardLoadBalancerIdentifications(self):
|
6353
|
-
"""
|
6425
|
+
"""负载均衡器标识信息列表,列表长度上限为100,LoadBalancerIds 和 ForwardLoadBalancerIdentifications二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
6354
6426
|
:rtype: list of ForwardLoadBalancerIdentification
|
6355
6427
|
"""
|
6356
6428
|
return self._ForwardLoadBalancerIdentifications
|
@@ -6555,14 +6627,14 @@ class DisableAutoScalingGroupRequest(AbstractModel):
|
|
6555
6627
|
|
6556
6628
|
def __init__(self):
|
6557
6629
|
r"""
|
6558
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
6630
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
6559
6631
|
:type AutoScalingGroupId: str
|
6560
6632
|
"""
|
6561
6633
|
self._AutoScalingGroupId = None
|
6562
6634
|
|
6563
6635
|
@property
|
6564
6636
|
def AutoScalingGroupId(self):
|
6565
|
-
"""伸缩组ID
|
6637
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
6566
6638
|
:rtype: str
|
6567
6639
|
"""
|
6568
6640
|
return self._AutoScalingGroupId
|
@@ -6619,14 +6691,14 @@ class EnableAutoScalingGroupRequest(AbstractModel):
|
|
6619
6691
|
|
6620
6692
|
def __init__(self):
|
6621
6693
|
r"""
|
6622
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
6694
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
6623
6695
|
:type AutoScalingGroupId: str
|
6624
6696
|
"""
|
6625
6697
|
self._AutoScalingGroupId = None
|
6626
6698
|
|
6627
6699
|
@property
|
6628
6700
|
def AutoScalingGroupId(self):
|
6629
|
-
"""伸缩组ID
|
6701
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
6630
6702
|
:rtype: str
|
6631
6703
|
"""
|
6632
6704
|
return self._AutoScalingGroupId
|
@@ -6881,7 +6953,7 @@ class ExecuteScalingPolicyRequest(AbstractModel):
|
|
6881
6953
|
|
6882
6954
|
def __init__(self):
|
6883
6955
|
r"""
|
6884
|
-
:param _AutoScalingPolicyId: 告警伸缩策略ID
|
6956
|
+
:param _AutoScalingPolicyId: 告警伸缩策略ID,不支持目标追踪策略。可通过 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) 接口返回的 `ScalingPolicyType ` 参数获取告警策略类型。
|
6885
6957
|
:type AutoScalingPolicyId: str
|
6886
6958
|
:param _HonorCooldown: 是否检查伸缩组活动处于冷却时间内,默认值为false
|
6887
6959
|
:type HonorCooldown: bool
|
@@ -6894,7 +6966,7 @@ class ExecuteScalingPolicyRequest(AbstractModel):
|
|
6894
6966
|
|
6895
6967
|
@property
|
6896
6968
|
def AutoScalingPolicyId(self):
|
6897
|
-
"""告警伸缩策略ID
|
6969
|
+
"""告警伸缩策略ID,不支持目标追踪策略。可通过 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) 接口返回的 `ScalingPolicyType ` 参数获取告警策略类型。
|
6898
6970
|
:rtype: str
|
6899
6971
|
"""
|
6900
6972
|
return self._AutoScalingPolicyId
|
@@ -7154,13 +7226,13 @@ class ForwardLoadBalancer(AbstractModel):
|
|
7154
7226
|
|
7155
7227
|
def __init__(self):
|
7156
7228
|
r"""
|
7157
|
-
:param _LoadBalancerId: 负载均衡器ID
|
7229
|
+
:param _LoadBalancerId: 负载均衡器ID。作为入参时,该参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
7158
7230
|
:type LoadBalancerId: str
|
7159
|
-
:param _ListenerId:
|
7231
|
+
:param _ListenerId: 负载均衡监听器 ID。作为入参时,该参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
7160
7232
|
:type ListenerId: str
|
7161
|
-
:param _TargetAttributes:
|
7233
|
+
:param _TargetAttributes: 目标规则属性列表。作为入参时,该参数必填。
|
7162
7234
|
:type TargetAttributes: list of TargetAttribute
|
7163
|
-
:param _LocationId: 转发规则ID
|
7235
|
+
:param _LocationId: 转发规则ID,注意:针对七层监听器此参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
7164
7236
|
:type LocationId: str
|
7165
7237
|
:param _Region: 负载均衡实例所属地域,默认取AS服务所在地域。格式与公共参数Region相同,如:"ap-guangzhou"。
|
7166
7238
|
:type Region: str
|
@@ -7173,7 +7245,7 @@ class ForwardLoadBalancer(AbstractModel):
|
|
7173
7245
|
|
7174
7246
|
@property
|
7175
7247
|
def LoadBalancerId(self):
|
7176
|
-
"""负载均衡器ID
|
7248
|
+
"""负载均衡器ID。作为入参时,该参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
7177
7249
|
:rtype: str
|
7178
7250
|
"""
|
7179
7251
|
return self._LoadBalancerId
|
@@ -7184,7 +7256,7 @@ class ForwardLoadBalancer(AbstractModel):
|
|
7184
7256
|
|
7185
7257
|
@property
|
7186
7258
|
def ListenerId(self):
|
7187
|
-
"""
|
7259
|
+
"""负载均衡监听器 ID。作为入参时,该参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
7188
7260
|
:rtype: str
|
7189
7261
|
"""
|
7190
7262
|
return self._ListenerId
|
@@ -7195,7 +7267,7 @@ class ForwardLoadBalancer(AbstractModel):
|
|
7195
7267
|
|
7196
7268
|
@property
|
7197
7269
|
def TargetAttributes(self):
|
7198
|
-
"""
|
7270
|
+
"""目标规则属性列表。作为入参时,该参数必填。
|
7199
7271
|
:rtype: list of TargetAttribute
|
7200
7272
|
"""
|
7201
7273
|
return self._TargetAttributes
|
@@ -7206,7 +7278,7 @@ class ForwardLoadBalancer(AbstractModel):
|
|
7206
7278
|
|
7207
7279
|
@property
|
7208
7280
|
def LocationId(self):
|
7209
|
-
"""转发规则ID
|
7281
|
+
"""转发规则ID,注意:针对七层监听器此参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
7210
7282
|
:rtype: str
|
7211
7283
|
"""
|
7212
7284
|
return self._LocationId
|
@@ -7516,7 +7588,10 @@ class Instance(AbstractModel):
|
|
7516
7588
|
<li>IN_LAUNCHING_HOOK:扩容生命周期挂钩中</li>
|
7517
7589
|
<li>IN_TERMINATING_HOOK:缩容生命周期挂钩中</li>
|
7518
7590
|
:type LifeCycleState: str
|
7519
|
-
:param _HealthStatus:
|
7591
|
+
:param _HealthStatus: 健康状态,取值范围如下:
|
7592
|
+
<li>HEALTHY:实例处于健康状态</li>
|
7593
|
+
<li>UNHEALTHY:实例 ping 不可达</li>
|
7594
|
+
<li>CLB_UNHEALTHY:CLB 监听的实例端口不健康</li>
|
7520
7595
|
:type HealthStatus: str
|
7521
7596
|
:param _ProtectedFromScaleIn: 是否加入缩容保护
|
7522
7597
|
:type ProtectedFromScaleIn: bool
|
@@ -7524,7 +7599,7 @@ class Instance(AbstractModel):
|
|
7524
7599
|
:type Zone: str
|
7525
7600
|
:param _CreationType: 创建类型,取值包括AUTO_CREATION, MANUAL_ATTACHING。
|
7526
7601
|
:type CreationType: str
|
7527
|
-
:param _AddTime:
|
7602
|
+
:param _AddTime: 实例加入时间,按照ISO8601标准表示,并且使用UTC时间。
|
7528
7603
|
:type AddTime: str
|
7529
7604
|
:param _InstanceType: 实例类型
|
7530
7605
|
:type InstanceType: str
|
@@ -7633,7 +7708,10 @@ class Instance(AbstractModel):
|
|
7633
7708
|
|
7634
7709
|
@property
|
7635
7710
|
def HealthStatus(self):
|
7636
|
-
"""
|
7711
|
+
"""健康状态,取值范围如下:
|
7712
|
+
<li>HEALTHY:实例处于健康状态</li>
|
7713
|
+
<li>UNHEALTHY:实例 ping 不可达</li>
|
7714
|
+
<li>CLB_UNHEALTHY:CLB 监听的实例端口不健康</li>
|
7637
7715
|
:rtype: str
|
7638
7716
|
"""
|
7639
7717
|
return self._HealthStatus
|
@@ -7677,7 +7755,7 @@ class Instance(AbstractModel):
|
|
7677
7755
|
|
7678
7756
|
@property
|
7679
7757
|
def AddTime(self):
|
7680
|
-
"""
|
7758
|
+
"""实例加入时间,按照ISO8601标准表示,并且使用UTC时间。
|
7681
7759
|
:rtype: str
|
7682
7760
|
"""
|
7683
7761
|
return self._AddTime
|
@@ -8292,7 +8370,7 @@ class LaunchConfiguration(AbstractModel):
|
|
8292
8370
|
:param _UserData: 自定义数据。
|
8293
8371
|
注意:此字段可能返回 null,表示取不到有效值。
|
8294
8372
|
:type UserData: str
|
8295
|
-
:param _CreatedTime:
|
8373
|
+
:param _CreatedTime: 启动配置创建时间,为标准`UTC`时间。
|
8296
8374
|
:type CreatedTime: str
|
8297
8375
|
:param _EnhancedService: 实例的增强服务启用情况与其设置。
|
8298
8376
|
:type EnhancedService: :class:`tencentcloud.autoscaling.v20180419.models.EnhancedService`
|
@@ -8300,7 +8378,11 @@ class LaunchConfiguration(AbstractModel):
|
|
8300
8378
|
:type ImageId: str
|
8301
8379
|
:param _LaunchConfigurationStatus: 启动配置当前状态。取值范围:<li>NORMAL:正常</li><li>IMAGE_ABNORMAL:启动配置镜像异常</li><li>CBS_SNAP_ABNORMAL:启动配置数据盘快照异常</li><li>SECURITY_GROUP_ABNORMAL:启动配置安全组异常</li>
|
8302
8380
|
:type LaunchConfigurationStatus: str
|
8303
|
-
:param _InstanceChargeType:
|
8381
|
+
:param _InstanceChargeType: 实例计费类型,取值范围如下:
|
8382
|
+
<li>POSTPAID_BY_HOUR:按小时后付费</li>
|
8383
|
+
<li>SPOTPAID:竞价付费</li>
|
8384
|
+
<li>PREPAID:预付费,即包年包月</li>
|
8385
|
+
<li>CDCPAID:专用集群付费</li>
|
8304
8386
|
:type InstanceChargeType: str
|
8305
8387
|
:param _InstanceMarketOptions: 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
|
8306
8388
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -8309,13 +8391,13 @@ class LaunchConfiguration(AbstractModel):
|
|
8309
8391
|
:type InstanceTypes: list of str
|
8310
8392
|
:param _InstanceTags: 实例标签列表。扩容出来的实例会自动带上标签,最多支持10个标签。
|
8311
8393
|
:type InstanceTags: list of InstanceTag
|
8312
|
-
:param _Tags:
|
8394
|
+
:param _Tags: 标签列表,该参数内的标签仅用于绑定启动配置,不会传递给基于该启动配置扩容的 CVM 实例。
|
8313
8395
|
:type Tags: list of Tag
|
8314
8396
|
:param _VersionNumber: 版本号。
|
8315
8397
|
:type VersionNumber: int
|
8316
|
-
:param _UpdatedTime:
|
8398
|
+
:param _UpdatedTime: 更新时间,为标准`UTC`时间。
|
8317
8399
|
:type UpdatedTime: str
|
8318
|
-
:param _CamRoleName: CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
8400
|
+
:param _CamRoleName: CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
8319
8401
|
:type CamRoleName: str
|
8320
8402
|
:param _LastOperationInstanceTypesCheckPolicy: 上次操作时,InstanceTypesCheckPolicy 取值。
|
8321
8403
|
:type LastOperationInstanceTypesCheckPolicy: str
|
@@ -8497,7 +8579,7 @@ class LaunchConfiguration(AbstractModel):
|
|
8497
8579
|
|
8498
8580
|
@property
|
8499
8581
|
def CreatedTime(self):
|
8500
|
-
"""
|
8582
|
+
"""启动配置创建时间,为标准`UTC`时间。
|
8501
8583
|
:rtype: str
|
8502
8584
|
"""
|
8503
8585
|
return self._CreatedTime
|
@@ -8541,7 +8623,11 @@ class LaunchConfiguration(AbstractModel):
|
|
8541
8623
|
|
8542
8624
|
@property
|
8543
8625
|
def InstanceChargeType(self):
|
8544
|
-
"""
|
8626
|
+
"""实例计费类型,取值范围如下:
|
8627
|
+
<li>POSTPAID_BY_HOUR:按小时后付费</li>
|
8628
|
+
<li>SPOTPAID:竞价付费</li>
|
8629
|
+
<li>PREPAID:预付费,即包年包月</li>
|
8630
|
+
<li>CDCPAID:专用集群付费</li>
|
8545
8631
|
:rtype: str
|
8546
8632
|
"""
|
8547
8633
|
return self._InstanceChargeType
|
@@ -8586,7 +8672,7 @@ class LaunchConfiguration(AbstractModel):
|
|
8586
8672
|
|
8587
8673
|
@property
|
8588
8674
|
def Tags(self):
|
8589
|
-
"""
|
8675
|
+
"""标签列表,该参数内的标签仅用于绑定启动配置,不会传递给基于该启动配置扩容的 CVM 实例。
|
8590
8676
|
:rtype: list of Tag
|
8591
8677
|
"""
|
8592
8678
|
return self._Tags
|
@@ -8608,7 +8694,7 @@ class LaunchConfiguration(AbstractModel):
|
|
8608
8694
|
|
8609
8695
|
@property
|
8610
8696
|
def UpdatedTime(self):
|
8611
|
-
"""
|
8697
|
+
"""更新时间,为标准`UTC`时间。
|
8612
8698
|
:rtype: str
|
8613
8699
|
"""
|
8614
8700
|
return self._UpdatedTime
|
@@ -8619,7 +8705,7 @@ class LaunchConfiguration(AbstractModel):
|
|
8619
8705
|
|
8620
8706
|
@property
|
8621
8707
|
def CamRoleName(self):
|
8622
|
-
"""CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
8708
|
+
"""CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
8623
8709
|
:rtype: str
|
8624
8710
|
"""
|
8625
8711
|
return self._CamRoleName
|
@@ -9282,7 +9368,7 @@ class LoginSettings(AbstractModel):
|
|
9282
9368
|
- 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
9283
9369
|
特殊符号的取值范围: [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
9284
9370
|
:type Password: str
|
9285
|
-
:param _KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
9371
|
+
:param _KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
9286
9372
|
:type KeyIds: list of str
|
9287
9373
|
:param _KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:
|
9288
9374
|
<li>TRUE:表示保持镜像的登录设置</li>
|
@@ -9310,7 +9396,7 @@ class LoginSettings(AbstractModel):
|
|
9310
9396
|
|
9311
9397
|
@property
|
9312
9398
|
def KeyIds(self):
|
9313
|
-
"""密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
9399
|
+
"""密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
9314
9400
|
:rtype: list of str
|
9315
9401
|
"""
|
9316
9402
|
return self._KeyIds
|
@@ -9572,29 +9658,33 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9572
9658
|
|
9573
9659
|
def __init__(self):
|
9574
9660
|
r"""
|
9575
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
9661
|
+
:param _AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
9662
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
9663
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
9576
9664
|
:type AutoScalingGroupId: str
|
9577
9665
|
:param _AutoScalingGroupName: 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
|
9578
9666
|
:type AutoScalingGroupName: str
|
9579
|
-
:param _DefaultCooldown:
|
9667
|
+
:param _DefaultCooldown: 默认冷却时间,单位秒,取值范围 [0,3600],默认值为300。
|
9580
9668
|
:type DefaultCooldown: int
|
9581
|
-
:param _DesiredCapacity:
|
9669
|
+
:param _DesiredCapacity: 期望实例数,取值范围 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
9582
9670
|
:type DesiredCapacity: int
|
9583
|
-
:param _LaunchConfigurationId: 启动配置ID
|
9671
|
+
:param _LaunchConfigurationId: 启动配置ID。可以通过如下方式获取可用的启动配置ID:
|
9672
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 查询启动配置ID。</li>
|
9673
|
+
<li>通过调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。</li>
|
9584
9674
|
:type LaunchConfigurationId: str
|
9585
|
-
:param _MaxSize: 最大实例数,取值范围为0
|
9675
|
+
:param _MaxSize: 最大实例数,取值范围为 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
9586
9676
|
:type MaxSize: int
|
9587
|
-
:param _MinSize: 最小实例数,取值范围为0
|
9677
|
+
:param _MinSize: 最小实例数,取值范围为 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
9588
9678
|
:type MinSize: int
|
9589
|
-
:param _ProjectId: 项目ID
|
9679
|
+
:param _ProjectId: 项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 ProjectId 字段来获取。默认值为 0,表示使用默认项目。
|
9590
9680
|
:type ProjectId: int
|
9591
|
-
:param _SubnetIds: 子网ID
|
9681
|
+
:param _SubnetIds: 子网ID列表。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的SubnetId字段获取。
|
9592
9682
|
:type SubnetIds: list of str
|
9593
9683
|
:param _TerminationPolicies: 销毁策略,目前长度上限为1。取值包括 OLDEST_INSTANCE 和 NEWEST_INSTANCE。
|
9594
9684
|
<li> OLDEST_INSTANCE 优先销毁伸缩组中最旧的实例。</li>
|
9595
9685
|
<li> NEWEST_INSTANCE,优先销毁伸缩组中最新的实例。</li>
|
9596
9686
|
:type TerminationPolicies: list of str
|
9597
|
-
:param _VpcId:
|
9687
|
+
:param _VpcId: 私有网络ID。修改私有网络时,需将 SubnetIds 参数同步修改为该私有网络的子网。有效的 VpcId 可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc)查询;也可以调用接口 [DescribeVpc](https://cloud.tencent.com/document/api/215/15778) ,从接口返回中的 VpcId 字段获取。
|
9598
9688
|
:type VpcId: str
|
9599
9689
|
:param _Zones: 可用区列表
|
9600
9690
|
:type Zones: list of str
|
@@ -9612,7 +9702,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9612
9702
|
:type ZonesCheckPolicy: str
|
9613
9703
|
:param _ServiceSettings: 服务设置,包括云监控不健康替换等服务设置。
|
9614
9704
|
:type ServiceSettings: :class:`tencentcloud.autoscaling.v20180419.models.ServiceSettings`
|
9615
|
-
:param _Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括0、1。
|
9705
|
+
:param _Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
9616
9706
|
:type Ipv6AddressCount: int
|
9617
9707
|
:param _MultiZoneSubnetPolicy: 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY。
|
9618
9708
|
<li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。</li>
|
@@ -9669,7 +9759,9 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9669
9759
|
|
9670
9760
|
@property
|
9671
9761
|
def AutoScalingGroupId(self):
|
9672
|
-
"""伸缩组ID
|
9762
|
+
"""伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
9763
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
9764
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
9673
9765
|
:rtype: str
|
9674
9766
|
"""
|
9675
9767
|
return self._AutoScalingGroupId
|
@@ -9691,7 +9783,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9691
9783
|
|
9692
9784
|
@property
|
9693
9785
|
def DefaultCooldown(self):
|
9694
|
-
"""
|
9786
|
+
"""默认冷却时间,单位秒,取值范围 [0,3600],默认值为300。
|
9695
9787
|
:rtype: int
|
9696
9788
|
"""
|
9697
9789
|
return self._DefaultCooldown
|
@@ -9702,7 +9794,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9702
9794
|
|
9703
9795
|
@property
|
9704
9796
|
def DesiredCapacity(self):
|
9705
|
-
"""
|
9797
|
+
"""期望实例数,取值范围 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
9706
9798
|
:rtype: int
|
9707
9799
|
"""
|
9708
9800
|
return self._DesiredCapacity
|
@@ -9713,7 +9805,9 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9713
9805
|
|
9714
9806
|
@property
|
9715
9807
|
def LaunchConfigurationId(self):
|
9716
|
-
"""启动配置ID
|
9808
|
+
"""启动配置ID。可以通过如下方式获取可用的启动配置ID:
|
9809
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 查询启动配置ID。</li>
|
9810
|
+
<li>通过调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。</li>
|
9717
9811
|
:rtype: str
|
9718
9812
|
"""
|
9719
9813
|
return self._LaunchConfigurationId
|
@@ -9724,7 +9818,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9724
9818
|
|
9725
9819
|
@property
|
9726
9820
|
def MaxSize(self):
|
9727
|
-
"""最大实例数,取值范围为0
|
9821
|
+
"""最大实例数,取值范围为 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
9728
9822
|
:rtype: int
|
9729
9823
|
"""
|
9730
9824
|
return self._MaxSize
|
@@ -9735,7 +9829,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9735
9829
|
|
9736
9830
|
@property
|
9737
9831
|
def MinSize(self):
|
9738
|
-
"""最小实例数,取值范围为0
|
9832
|
+
"""最小实例数,取值范围为 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
9739
9833
|
:rtype: int
|
9740
9834
|
"""
|
9741
9835
|
return self._MinSize
|
@@ -9746,7 +9840,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9746
9840
|
|
9747
9841
|
@property
|
9748
9842
|
def ProjectId(self):
|
9749
|
-
"""项目ID
|
9843
|
+
"""项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 ProjectId 字段来获取。默认值为 0,表示使用默认项目。
|
9750
9844
|
:rtype: int
|
9751
9845
|
"""
|
9752
9846
|
return self._ProjectId
|
@@ -9757,7 +9851,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9757
9851
|
|
9758
9852
|
@property
|
9759
9853
|
def SubnetIds(self):
|
9760
|
-
"""子网ID
|
9854
|
+
"""子网ID列表。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的SubnetId字段获取。
|
9761
9855
|
:rtype: list of str
|
9762
9856
|
"""
|
9763
9857
|
return self._SubnetIds
|
@@ -9781,7 +9875,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9781
9875
|
|
9782
9876
|
@property
|
9783
9877
|
def VpcId(self):
|
9784
|
-
"""
|
9878
|
+
"""私有网络ID。修改私有网络时,需将 SubnetIds 参数同步修改为该私有网络的子网。有效的 VpcId 可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc)查询;也可以调用接口 [DescribeVpc](https://cloud.tencent.com/document/api/215/15778) ,从接口返回中的 VpcId 字段获取。
|
9785
9879
|
:rtype: str
|
9786
9880
|
"""
|
9787
9881
|
return self._VpcId
|
@@ -9844,7 +9938,7 @@ class ModifyAutoScalingGroupRequest(AbstractModel):
|
|
9844
9938
|
|
9845
9939
|
@property
|
9846
9940
|
def Ipv6AddressCount(self):
|
9847
|
-
"""实例具有IPv6地址数量的配置,取值包括0、1。
|
9941
|
+
"""实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
9848
9942
|
:rtype: int
|
9849
9943
|
"""
|
9850
9944
|
return self._Ipv6AddressCount
|
@@ -10020,13 +10114,13 @@ class ModifyDesiredCapacityRequest(AbstractModel):
|
|
10020
10114
|
|
10021
10115
|
def __init__(self):
|
10022
10116
|
r"""
|
10023
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
10117
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
10024
10118
|
:type AutoScalingGroupId: str
|
10025
|
-
:param _DesiredCapacity:
|
10119
|
+
:param _DesiredCapacity: 期望实例数,取值范围 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
10026
10120
|
:type DesiredCapacity: int
|
10027
|
-
:param _MinSize: 最小实例数,取值范围为0-2000
|
10121
|
+
:param _MinSize: 最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
10028
10122
|
:type MinSize: int
|
10029
|
-
:param _MaxSize: 最大实例数,取值范围为0-2000
|
10123
|
+
:param _MaxSize: 最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
10030
10124
|
:type MaxSize: int
|
10031
10125
|
"""
|
10032
10126
|
self._AutoScalingGroupId = None
|
@@ -10036,7 +10130,7 @@ class ModifyDesiredCapacityRequest(AbstractModel):
|
|
10036
10130
|
|
10037
10131
|
@property
|
10038
10132
|
def AutoScalingGroupId(self):
|
10039
|
-
"""伸缩组ID
|
10133
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
10040
10134
|
:rtype: str
|
10041
10135
|
"""
|
10042
10136
|
return self._AutoScalingGroupId
|
@@ -10047,7 +10141,7 @@ class ModifyDesiredCapacityRequest(AbstractModel):
|
|
10047
10141
|
|
10048
10142
|
@property
|
10049
10143
|
def DesiredCapacity(self):
|
10050
|
-
"""
|
10144
|
+
"""期望实例数,取值范围 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
10051
10145
|
:rtype: int
|
10052
10146
|
"""
|
10053
10147
|
return self._DesiredCapacity
|
@@ -10058,7 +10152,7 @@ class ModifyDesiredCapacityRequest(AbstractModel):
|
|
10058
10152
|
|
10059
10153
|
@property
|
10060
10154
|
def MinSize(self):
|
10061
|
-
"""最小实例数,取值范围为0-2000
|
10155
|
+
"""最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
10062
10156
|
:rtype: int
|
10063
10157
|
"""
|
10064
10158
|
return self._MinSize
|
@@ -10069,7 +10163,7 @@ class ModifyDesiredCapacityRequest(AbstractModel):
|
|
10069
10163
|
|
10070
10164
|
@property
|
10071
10165
|
def MaxSize(self):
|
10072
|
-
"""最大实例数,取值范围为0-2000
|
10166
|
+
"""最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
10073
10167
|
:rtype: int
|
10074
10168
|
"""
|
10075
10169
|
return self._MaxSize
|
@@ -10129,12 +10223,12 @@ class ModifyLaunchConfigurationAttributesRequest(AbstractModel):
|
|
10129
10223
|
|
10130
10224
|
def __init__(self):
|
10131
10225
|
r"""
|
10132
|
-
:param _LaunchConfigurationId: 启动配置ID
|
10226
|
+
:param _LaunchConfigurationId: 启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
10133
10227
|
:type LaunchConfigurationId: str
|
10134
10228
|
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-8toqc6s3`。镜像类型分为四种:<br/><li>公共镜像</li><li>自定义镜像</li><li>共享镜像</li><li>服务市场镜像</li><br/>可通过以下方式获取可用的镜像ID:<br/><li>`公共镜像`、`自定义镜像`、`共享镜像`的镜像ID可通过登录[控制台](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE)查询;`服务镜像市场`的镜像ID可通过[云市场](https://market.cloud.tencent.com/list)查询。</li><li>通过调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) ,取返回信息中的`ImageId`字段。</li>
|
10135
10229
|
:type ImageId: str
|
10136
10230
|
:param _InstanceTypes: 实例类型列表,不同实例机型指定了不同的资源规格,最多支持10种实例机型。
|
10137
|
-
InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定多实例类型,并使原有的InstanceType
|
10231
|
+
InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定多实例类型,并使原有的InstanceType失效。具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格描述](https://cloud.tencent.com/document/product/213/11518)。
|
10138
10232
|
:type InstanceTypes: list of str
|
10139
10233
|
:param _InstanceTypesCheckPolicy: 实例类型校验策略,在实际修改 InstanceTypes 时发挥作用,取值包括 ALL 和 ANY,默认取值为ANY。
|
10140
10234
|
<li> ALL,所有实例类型(InstanceType)都可用则通过校验,否则校验报错。</li>
|
@@ -10188,21 +10282,21 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
10188
10282
|
:type InstanceNameSettings: :class:`tencentcloud.autoscaling.v20180419.models.InstanceNameSettings`
|
10189
10283
|
:param _EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
|
10190
10284
|
:type EnhancedService: :class:`tencentcloud.autoscaling.v20180419.models.EnhancedService`
|
10191
|
-
:param _CamRoleName: CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
10285
|
+
:param _CamRoleName: CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
10192
10286
|
:type CamRoleName: str
|
10193
|
-
:param _HpcClusterId: 高性能计算集群ID
|
10287
|
+
:param _HpcClusterId: 高性能计算集群ID。可通过调用[DescribeHpcClusters](https://cloud.tencent.com/document/product/213/83220)接口获取该参数。
|
10194
10288
|
注意:此字段默认为空。
|
10195
10289
|
:type HpcClusterId: str
|
10196
10290
|
:param _IPv6InternetAccessible: IPv6公网带宽相关信息设置。若新建实例包含IPv6地址,该参数可为新建实例的IPv6地址分配公网带宽。关联启动配置的伸缩组Ipv6AddressCount参数为0时,该参数不会生效。
|
10197
10291
|
:type IPv6InternetAccessible: :class:`tencentcloud.autoscaling.v20180419.models.IPv6InternetAccessible`
|
10198
|
-
:param _DisasterRecoverGroupIds: 置放群组id
|
10292
|
+
:param _DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。可通过调用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)接口获取该参数。
|
10199
10293
|
:type DisasterRecoverGroupIds: list of str
|
10200
10294
|
:param _LoginSettings: 实例登录设置,包括密码、密钥或保持镜像的原始登录设置。<br>请注意,指定新的登录设置会覆盖原有登录设置。例如,如果您之前使用密码登录,使用该参数将登录设置修改为密钥,则原有密码被清除。
|
10201
10295
|
:type LoginSettings: :class:`tencentcloud.autoscaling.v20180419.models.LoginSettings`
|
10202
10296
|
:param _InstanceTags: 实例标签列表。通过指定该参数,可以为扩容的实例绑定标签。最多支持指定10个标签。
|
10203
10297
|
该参数会覆盖原有的实例标签列表,如需新增标签,需将新标签和原有标签一并传入。
|
10204
10298
|
:type InstanceTags: list of InstanceTag
|
10205
|
-
:param _ImageFamily:
|
10299
|
+
:param _ImageFamily: 镜像族名称。可通过调用[DescribeImages](https://cloud.tencent.com/document/product/213/15715)接口获取该参数。
|
10206
10300
|
:type ImageFamily: str
|
10207
10301
|
:param _DedicatedClusterId: 本地专用集群ID。
|
10208
10302
|
:type DedicatedClusterId: str
|
@@ -10238,7 +10332,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
10238
10332
|
|
10239
10333
|
@property
|
10240
10334
|
def LaunchConfigurationId(self):
|
10241
|
-
"""启动配置ID
|
10335
|
+
"""启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
10242
10336
|
:rtype: str
|
10243
10337
|
"""
|
10244
10338
|
return self._LaunchConfigurationId
|
@@ -10261,7 +10355,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
10261
10355
|
@property
|
10262
10356
|
def InstanceTypes(self):
|
10263
10357
|
"""实例类型列表,不同实例机型指定了不同的资源规格,最多支持10种实例机型。
|
10264
|
-
InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定多实例类型,并使原有的InstanceType
|
10358
|
+
InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定多实例类型,并使原有的InstanceType失效。具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格描述](https://cloud.tencent.com/document/product/213/11518)。
|
10265
10359
|
:rtype: list of str
|
10266
10360
|
"""
|
10267
10361
|
return self._InstanceTypes
|
@@ -10450,7 +10544,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
10450
10544
|
|
10451
10545
|
@property
|
10452
10546
|
def CamRoleName(self):
|
10453
|
-
"""CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
10547
|
+
"""CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
10454
10548
|
:rtype: str
|
10455
10549
|
"""
|
10456
10550
|
return self._CamRoleName
|
@@ -10461,7 +10555,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
10461
10555
|
|
10462
10556
|
@property
|
10463
10557
|
def HpcClusterId(self):
|
10464
|
-
"""高性能计算集群ID
|
10558
|
+
"""高性能计算集群ID。可通过调用[DescribeHpcClusters](https://cloud.tencent.com/document/product/213/83220)接口获取该参数。
|
10465
10559
|
注意:此字段默认为空。
|
10466
10560
|
:rtype: str
|
10467
10561
|
"""
|
@@ -10484,7 +10578,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
10484
10578
|
|
10485
10579
|
@property
|
10486
10580
|
def DisasterRecoverGroupIds(self):
|
10487
|
-
"""置放群组id
|
10581
|
+
"""置放群组id,仅支持指定一个。可通过调用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)接口获取该参数。
|
10488
10582
|
:rtype: list of str
|
10489
10583
|
"""
|
10490
10584
|
return self._DisasterRecoverGroupIds
|
@@ -10518,7 +10612,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
10518
10612
|
|
10519
10613
|
@property
|
10520
10614
|
def ImageFamily(self):
|
10521
|
-
"""
|
10615
|
+
"""镜像族名称。可通过调用[DescribeImages](https://cloud.tencent.com/document/product/213/15715)接口获取该参数。
|
10522
10616
|
:rtype: str
|
10523
10617
|
"""
|
10524
10618
|
return self._ImageFamily
|
@@ -10848,9 +10942,9 @@ class ModifyLoadBalancerTargetAttributesRequest(AbstractModel):
|
|
10848
10942
|
|
10849
10943
|
def __init__(self):
|
10850
10944
|
r"""
|
10851
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
10945
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
10852
10946
|
:type AutoScalingGroupId: str
|
10853
|
-
:param _ForwardLoadBalancers:
|
10947
|
+
:param _ForwardLoadBalancers: 需修改目标规则属性的负载均衡器列表,列表长度上限为100。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
10854
10948
|
:type ForwardLoadBalancers: list of ForwardLoadBalancer
|
10855
10949
|
"""
|
10856
10950
|
self._AutoScalingGroupId = None
|
@@ -10858,7 +10952,7 @@ class ModifyLoadBalancerTargetAttributesRequest(AbstractModel):
|
|
10858
10952
|
|
10859
10953
|
@property
|
10860
10954
|
def AutoScalingGroupId(self):
|
10861
|
-
"""伸缩组ID
|
10955
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
10862
10956
|
:rtype: str
|
10863
10957
|
"""
|
10864
10958
|
return self._AutoScalingGroupId
|
@@ -10869,7 +10963,7 @@ class ModifyLoadBalancerTargetAttributesRequest(AbstractModel):
|
|
10869
10963
|
|
10870
10964
|
@property
|
10871
10965
|
def ForwardLoadBalancers(self):
|
10872
|
-
"""
|
10966
|
+
"""需修改目标规则属性的负载均衡器列表,列表长度上限为100。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
10873
10967
|
:rtype: list of ForwardLoadBalancer
|
10874
10968
|
"""
|
10875
10969
|
return self._ForwardLoadBalancers
|
@@ -10947,11 +11041,11 @@ class ModifyLoadBalancersRequest(AbstractModel):
|
|
10947
11041
|
|
10948
11042
|
def __init__(self):
|
10949
11043
|
r"""
|
10950
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
11044
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
10951
11045
|
:type AutoScalingGroupId: str
|
10952
|
-
:param _LoadBalancerIds: 传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
11046
|
+
:param _LoadBalancerIds: 传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
10953
11047
|
:type LoadBalancerIds: list of str
|
10954
|
-
:param _ForwardLoadBalancers:
|
11048
|
+
:param _ForwardLoadBalancers: 负载均衡器列表,目前长度上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
10955
11049
|
:type ForwardLoadBalancers: list of ForwardLoadBalancer
|
10956
11050
|
:param _LoadBalancersCheckPolicy: 负载均衡器校验策略,取值包括 ALL 和 DIFF,默认取值为 ALL。
|
10957
11051
|
<li> ALL,所有负载均衡器都合法则通过校验,否则校验报错。</li>
|
@@ -10965,7 +11059,7 @@ class ModifyLoadBalancersRequest(AbstractModel):
|
|
10965
11059
|
|
10966
11060
|
@property
|
10967
11061
|
def AutoScalingGroupId(self):
|
10968
|
-
"""伸缩组ID
|
11062
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
10969
11063
|
:rtype: str
|
10970
11064
|
"""
|
10971
11065
|
return self._AutoScalingGroupId
|
@@ -10976,7 +11070,7 @@ class ModifyLoadBalancersRequest(AbstractModel):
|
|
10976
11070
|
|
10977
11071
|
@property
|
10978
11072
|
def LoadBalancerIds(self):
|
10979
|
-
"""传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
11073
|
+
"""传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
10980
11074
|
:rtype: list of str
|
10981
11075
|
"""
|
10982
11076
|
return self._LoadBalancerIds
|
@@ -10987,7 +11081,7 @@ class ModifyLoadBalancersRequest(AbstractModel):
|
|
10987
11081
|
|
10988
11082
|
@property
|
10989
11083
|
def ForwardLoadBalancers(self):
|
10990
|
-
"""
|
11084
|
+
"""负载均衡器列表,目前长度上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
10991
11085
|
:rtype: list of ForwardLoadBalancer
|
10992
11086
|
"""
|
10993
11087
|
return self._ForwardLoadBalancers
|
@@ -11080,7 +11174,7 @@ class ModifyNotificationConfigurationRequest(AbstractModel):
|
|
11080
11174
|
|
11081
11175
|
def __init__(self):
|
11082
11176
|
r"""
|
11083
|
-
:param _AutoScalingNotificationId: 待修改的通知ID。
|
11177
|
+
:param _AutoScalingNotificationId: 待修改的通知ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeNotificationConfigurations](https://cloud.tencent.com/document/api/377/33183) ,取返回信息中的 AutoScalingNotificationId 获取通知ID。
|
11084
11178
|
:type AutoScalingNotificationId: str
|
11085
11179
|
:param _NotificationTypes: 通知类型,即为需要订阅的通知类型集合,取值范围如下:
|
11086
11180
|
<li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
@@ -11090,11 +11184,11 @@ class ModifyNotificationConfigurationRequest(AbstractModel):
|
|
11090
11184
|
<li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
11091
11185
|
<li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
11092
11186
|
:type NotificationTypes: list of str
|
11093
|
-
:param _NotificationUserGroupIds: 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)
|
11187
|
+
:param _NotificationUserGroupIds: 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 `TargetType ` 为 `USER_GROUP ` 时生效。
|
11094
11188
|
:type NotificationUserGroupIds: list of str
|
11095
|
-
:param _QueueName: CMQ
|
11189
|
+
:param _QueueName: TDMQ CMQ 队列名。[原CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。该参数仅在 `TargetType ` 为 `TDMQ_CMQ_QUEUE ` 时生效。
|
11096
11190
|
:type QueueName: str
|
11097
|
-
:param _TopicName: CMQ
|
11191
|
+
:param _TopicName: TDMQ CMQ 主题名。[原CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。该参数仅在 `TargetType ` 为 `TDMQ_CMQ_TOPIC ` 时生效。
|
11098
11192
|
:type TopicName: str
|
11099
11193
|
"""
|
11100
11194
|
self._AutoScalingNotificationId = None
|
@@ -11105,7 +11199,7 @@ class ModifyNotificationConfigurationRequest(AbstractModel):
|
|
11105
11199
|
|
11106
11200
|
@property
|
11107
11201
|
def AutoScalingNotificationId(self):
|
11108
|
-
"""待修改的通知ID。
|
11202
|
+
"""待修改的通知ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeNotificationConfigurations](https://cloud.tencent.com/document/api/377/33183) ,取返回信息中的 AutoScalingNotificationId 获取通知ID。
|
11109
11203
|
:rtype: str
|
11110
11204
|
"""
|
11111
11205
|
return self._AutoScalingNotificationId
|
@@ -11133,7 +11227,7 @@ class ModifyNotificationConfigurationRequest(AbstractModel):
|
|
11133
11227
|
|
11134
11228
|
@property
|
11135
11229
|
def NotificationUserGroupIds(self):
|
11136
|
-
"""通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)
|
11230
|
+
"""通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 `TargetType ` 为 `USER_GROUP ` 时生效。
|
11137
11231
|
:rtype: list of str
|
11138
11232
|
"""
|
11139
11233
|
return self._NotificationUserGroupIds
|
@@ -11144,7 +11238,7 @@ class ModifyNotificationConfigurationRequest(AbstractModel):
|
|
11144
11238
|
|
11145
11239
|
@property
|
11146
11240
|
def QueueName(self):
|
11147
|
-
"""CMQ
|
11241
|
+
""" TDMQ CMQ 队列名。[原CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。该参数仅在 `TargetType ` 为 `TDMQ_CMQ_QUEUE ` 时生效。
|
11148
11242
|
:rtype: str
|
11149
11243
|
"""
|
11150
11244
|
return self._QueueName
|
@@ -11155,7 +11249,7 @@ class ModifyNotificationConfigurationRequest(AbstractModel):
|
|
11155
11249
|
|
11156
11250
|
@property
|
11157
11251
|
def TopicName(self):
|
11158
|
-
"""CMQ
|
11252
|
+
"""TDMQ CMQ 主题名。[原CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。该参数仅在 `TargetType ` 为 `TDMQ_CMQ_TOPIC ` 时生效。
|
11159
11253
|
:rtype: str
|
11160
11254
|
"""
|
11161
11255
|
return self._TopicName
|
@@ -11216,9 +11310,9 @@ class ModifyScalingPolicyRequest(AbstractModel):
|
|
11216
11310
|
|
11217
11311
|
def __init__(self):
|
11218
11312
|
r"""
|
11219
|
-
:param _AutoScalingPolicyId: 告警策略ID。
|
11313
|
+
:param _AutoScalingPolicyId: 告警策略ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) ,取返回信息中的 AutoScalingPolicyId 获取告警策略ID。
|
11220
11314
|
:type AutoScalingPolicyId: str
|
11221
|
-
:param _ScalingPolicyName:
|
11315
|
+
:param _ScalingPolicyName: 告警策略名称,在您账号中必须唯一。名称长度不能超过60,名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点。
|
11222
11316
|
:type ScalingPolicyName: str
|
11223
11317
|
:param _AdjustmentType: 告警触发后,期望实例数修改方式,仅适用于简单策略。取值范围:<br><li>CHANGE_IN_CAPACITY:增加或减少若干期望实例数</li><li>EXACT_CAPACITY:调整至指定期望实例数</li> <li>PERCENT_CHANGE_IN_CAPACITY:按百分比调整期望实例数</li>
|
11224
11318
|
:type AdjustmentType: str
|
@@ -11254,7 +11348,7 @@ class ModifyScalingPolicyRequest(AbstractModel):
|
|
11254
11348
|
|
11255
11349
|
@property
|
11256
11350
|
def AutoScalingPolicyId(self):
|
11257
|
-
"""告警策略ID。
|
11351
|
+
"""告警策略ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) ,取返回信息中的 AutoScalingPolicyId 获取告警策略ID。
|
11258
11352
|
:rtype: str
|
11259
11353
|
"""
|
11260
11354
|
return self._AutoScalingPolicyId
|
@@ -11265,7 +11359,7 @@ class ModifyScalingPolicyRequest(AbstractModel):
|
|
11265
11359
|
|
11266
11360
|
@property
|
11267
11361
|
def ScalingPolicyName(self):
|
11268
|
-
"""
|
11362
|
+
"""告警策略名称,在您账号中必须唯一。名称长度不能超过60,名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点。
|
11269
11363
|
:rtype: str
|
11270
11364
|
"""
|
11271
11365
|
return self._ScalingPolicyName
|
@@ -11604,8 +11698,8 @@ class NotificationTarget(AbstractModel):
|
|
11604
11698
|
def __init__(self):
|
11605
11699
|
r"""
|
11606
11700
|
:param _TargetType: 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`、`TDMQ_CMQ_QUEUE`、`TDMQ_CMQ_TOPIC`。
|
11607
|
-
<li> CMQ_QUEUE
|
11608
|
-
<li> CMQ_TOPIC
|
11701
|
+
<li> CMQ_QUEUE,指腾讯云消息队列-队列模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_QUEUE 使用。</li>
|
11702
|
+
<li> CMQ_TOPIC,指腾讯云消息队列-主题模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_TOPIC 使用。</li>
|
11609
11703
|
<li> TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。</li>
|
11610
11704
|
<li> TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。</li>
|
11611
11705
|
:type TargetType: str
|
@@ -11621,8 +11715,8 @@ class NotificationTarget(AbstractModel):
|
|
11621
11715
|
@property
|
11622
11716
|
def TargetType(self):
|
11623
11717
|
"""目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`、`TDMQ_CMQ_QUEUE`、`TDMQ_CMQ_TOPIC`。
|
11624
|
-
<li> CMQ_QUEUE
|
11625
|
-
<li> CMQ_TOPIC
|
11718
|
+
<li> CMQ_QUEUE,指腾讯云消息队列-队列模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_QUEUE 使用。</li>
|
11719
|
+
<li> CMQ_TOPIC,指腾讯云消息队列-主题模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_TOPIC 使用。</li>
|
11626
11720
|
<li> TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。</li>
|
11627
11721
|
<li> TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。</li>
|
11628
11722
|
:rtype: str
|
@@ -11685,7 +11779,9 @@ class RefreshActivity(AbstractModel):
|
|
11685
11779
|
:type OriginRefreshActivityId: str
|
11686
11780
|
:param _RefreshBatchSet: 刷新批次信息列表。
|
11687
11781
|
:type RefreshBatchSet: list of RefreshBatch
|
11688
|
-
:param _RefreshMode:
|
11782
|
+
:param _RefreshMode: 刷新模式。取值范围如下:
|
11783
|
+
<li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
11784
|
+
<li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
11689
11785
|
:type RefreshMode: str
|
11690
11786
|
:param _RefreshSettings: 实例更新设置参数。
|
11691
11787
|
:type RefreshSettings: :class:`tencentcloud.autoscaling.v20180419.models.RefreshSettings`
|
@@ -11705,13 +11801,13 @@ class RefreshActivity(AbstractModel):
|
|
11705
11801
|
:type Status: str
|
11706
11802
|
:param _CurrentRefreshBatchNum: 当前刷新批次序号。例如,2 表示当前活动正在刷新第二批次的实例。
|
11707
11803
|
:type CurrentRefreshBatchNum: int
|
11708
|
-
:param _StartTime:
|
11804
|
+
:param _StartTime: 刷新活动开始时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
11709
11805
|
注意:此字段可能返回 null,表示取不到有效值。
|
11710
11806
|
:type StartTime: str
|
11711
|
-
:param _EndTime:
|
11807
|
+
:param _EndTime: 刷新活动结束时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
11712
11808
|
注意:此字段可能返回 null,表示取不到有效值。
|
11713
11809
|
:type EndTime: str
|
11714
|
-
:param _CreatedTime:
|
11810
|
+
:param _CreatedTime: 刷新活动创建时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
11715
11811
|
:type CreatedTime: str
|
11716
11812
|
"""
|
11717
11813
|
self._AutoScalingGroupId = None
|
@@ -11773,7 +11869,9 @@ class RefreshActivity(AbstractModel):
|
|
11773
11869
|
|
11774
11870
|
@property
|
11775
11871
|
def RefreshMode(self):
|
11776
|
-
"""
|
11872
|
+
"""刷新模式。取值范围如下:
|
11873
|
+
<li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
11874
|
+
<li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
11777
11875
|
:rtype: str
|
11778
11876
|
"""
|
11779
11877
|
return self._RefreshMode
|
@@ -11838,7 +11936,7 @@ class RefreshActivity(AbstractModel):
|
|
11838
11936
|
|
11839
11937
|
@property
|
11840
11938
|
def StartTime(self):
|
11841
|
-
"""
|
11939
|
+
"""刷新活动开始时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
11842
11940
|
注意:此字段可能返回 null,表示取不到有效值。
|
11843
11941
|
:rtype: str
|
11844
11942
|
"""
|
@@ -11850,7 +11948,7 @@ class RefreshActivity(AbstractModel):
|
|
11850
11948
|
|
11851
11949
|
@property
|
11852
11950
|
def EndTime(self):
|
11853
|
-
"""
|
11951
|
+
"""刷新活动结束时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
11854
11952
|
注意:此字段可能返回 null,表示取不到有效值。
|
11855
11953
|
:rtype: str
|
11856
11954
|
"""
|
@@ -11862,7 +11960,7 @@ class RefreshActivity(AbstractModel):
|
|
11862
11960
|
|
11863
11961
|
@property
|
11864
11962
|
def CreatedTime(self):
|
11865
|
-
"""
|
11963
|
+
"""刷新活动创建时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
11866
11964
|
:rtype: str
|
11867
11965
|
"""
|
11868
11966
|
return self._CreatedTime
|
@@ -12962,7 +13060,7 @@ class ScalingPolicy(AbstractModel):
|
|
12962
13060
|
:type AdjustmentType: str
|
12963
13061
|
:param _AdjustmentValue: 告警触发后,期望实例数的调整值,仅适用于简单策略。
|
12964
13062
|
:type AdjustmentValue: int
|
12965
|
-
:param _Cooldown:
|
13063
|
+
:param _Cooldown: 冷却时间,单位为秒,仅适用于简单策略。取值范围 [0,3600],默认冷却时间300秒。
|
12966
13064
|
:type Cooldown: int
|
12967
13065
|
:param _MetricAlarm: 简单告警触发策略告警监控指标,仅适用于简单策略。
|
12968
13066
|
:type MetricAlarm: :class:`tencentcloud.autoscaling.v20180419.models.MetricAlarm`
|
@@ -13069,7 +13167,7 @@ class ScalingPolicy(AbstractModel):
|
|
13069
13167
|
|
13070
13168
|
@property
|
13071
13169
|
def Cooldown(self):
|
13072
|
-
"""
|
13170
|
+
"""冷却时间,单位为秒,仅适用于简单策略。取值范围 [0,3600],默认冷却时间300秒。
|
13073
13171
|
:rtype: int
|
13074
13172
|
"""
|
13075
13173
|
return self._Cooldown
|
@@ -14202,6 +14300,9 @@ class SystemDisk(AbstractModel):
|
|
14202
14300
|
<li>CLOUD_BASIC:普通云硬盘</li>
|
14203
14301
|
<li>CLOUD_PREMIUM:高性能云硬盘</li>
|
14204
14302
|
<li>CLOUD_SSD:SSD云硬盘</li>
|
14303
|
+
<li>CLOUD_BSSD:通用型SSD云硬盘</li>
|
14304
|
+
<li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
14305
|
+
<li>CLOUD_TSSD:极速型SSD云硬盘</li>
|
14205
14306
|
<li>默认取值:CLOUD_PREMIUM。</li>
|
14206
14307
|
:type DiskType: str
|
14207
14308
|
:param _DiskSize: 系统盘大小,单位:GB。默认值为 50
|
@@ -14218,6 +14319,9 @@ class SystemDisk(AbstractModel):
|
|
14218
14319
|
<li>CLOUD_BASIC:普通云硬盘</li>
|
14219
14320
|
<li>CLOUD_PREMIUM:高性能云硬盘</li>
|
14220
14321
|
<li>CLOUD_SSD:SSD云硬盘</li>
|
14322
|
+
<li>CLOUD_BSSD:通用型SSD云硬盘</li>
|
14323
|
+
<li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
14324
|
+
<li>CLOUD_TSSD:极速型SSD云硬盘</li>
|
14221
14325
|
<li>默认取值:CLOUD_PREMIUM。</li>
|
14222
14326
|
:rtype: str
|
14223
14327
|
"""
|
@@ -14263,7 +14367,7 @@ class Tag(AbstractModel):
|
|
14263
14367
|
:type Key: str
|
14264
14368
|
:param _Value: 标签值
|
14265
14369
|
:type Value: str
|
14266
|
-
:param _ResourceType: 标签绑定的资源类型,当前支持类型:"auto-scaling-group", "launch-configuration"
|
14370
|
+
:param _ResourceType: 标签绑定的资源类型,当前支持类型:"auto-scaling-group", "launch-configuration"。分别表示:伸缩组资源,启动配置资源。
|
14267
14371
|
:type ResourceType: str
|
14268
14372
|
"""
|
14269
14373
|
self._Key = None
|
@@ -14294,7 +14398,7 @@ class Tag(AbstractModel):
|
|
14294
14398
|
|
14295
14399
|
@property
|
14296
14400
|
def ResourceType(self):
|
14297
|
-
"""标签绑定的资源类型,当前支持类型:"auto-scaling-group", "launch-configuration"
|
14401
|
+
"""标签绑定的资源类型,当前支持类型:"auto-scaling-group", "launch-configuration"。分别表示:伸缩组资源,启动配置资源。
|
14298
14402
|
:rtype: str
|
14299
14403
|
"""
|
14300
14404
|
return self._ResourceType
|
@@ -14325,9 +14429,9 @@ class TargetAttribute(AbstractModel):
|
|
14325
14429
|
|
14326
14430
|
def __init__(self):
|
14327
14431
|
r"""
|
14328
|
-
:param _Port:
|
14432
|
+
:param _Port: 端口。取值范围为 [1,65535]。作为入参时,该参数必填。
|
14329
14433
|
:type Port: int
|
14330
|
-
:param _Weight:
|
14434
|
+
:param _Weight: 权重。取值范围为 [0,100]。作为入参时,该参数必填。
|
14331
14435
|
:type Weight: int
|
14332
14436
|
"""
|
14333
14437
|
self._Port = None
|
@@ -14335,7 +14439,7 @@ class TargetAttribute(AbstractModel):
|
|
14335
14439
|
|
14336
14440
|
@property
|
14337
14441
|
def Port(self):
|
14338
|
-
"""
|
14442
|
+
"""端口。取值范围为 [1,65535]。作为入参时,该参数必填。
|
14339
14443
|
:rtype: int
|
14340
14444
|
"""
|
14341
14445
|
return self._Port
|
@@ -14346,7 +14450,7 @@ class TargetAttribute(AbstractModel):
|
|
14346
14450
|
|
14347
14451
|
@property
|
14348
14452
|
def Weight(self):
|
14349
|
-
"""
|
14453
|
+
"""权重。取值范围为 [0,100]。作为入参时,该参数必填。
|
14350
14454
|
:rtype: int
|
14351
14455
|
"""
|
14352
14456
|
return self._Weight
|