tencentcloud-sdk-as 3.0.1048 → 3.0.1049
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180419/client.rb +2 -1
- data/lib/v20180419/models.rb +103 -55
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca67bb4065e84073dc5b22304a11a390550bfa3e
|
4
|
+
data.tar.gz: b0b46bc6baf72d448a3a07654cdadbda26929fea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cb0e34a43a0f4e0e48ff80b448934ac4c09683971a11f4d275c1190d03b20009af20c3a5e77eead58741fbedbb235c92f15a5145c6cf38f74db3e651986cc81
|
7
|
+
data.tar.gz: 3684bfd19380c243ec6ddfc708f20f773c9c680918d21d411cf9e17afcbd3cd4774ef6601d1291b6044d80e46c2d89f8767c29507f0269f7ae07457a54199c5a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1049
|
data/lib/v20180419/client.rb
CHANGED
@@ -80,7 +80,8 @@ module TencentCloud
|
|
80
80
|
end
|
81
81
|
|
82
82
|
# 取消伸缩组的实例刷新活动。
|
83
|
-
# *
|
83
|
+
# * 已刷新的批次不受影响,待刷新批次被取消
|
84
|
+
# * 如存在正在刷新的批次,不允许取消;可先暂停活动,等待当前批次结束后再取消
|
84
85
|
# * 刷新失败的实例保持备用中状态,需用户手动处理后尝试退出备用中状态或销毁
|
85
86
|
# * 取消后不允许回滚操作,也不支持恢复操作
|
86
87
|
# * 因 maxSurge 参数而临时扩容的实例在取消后会自动销毁
|
data/lib/v20180419/models.rb
CHANGED
@@ -70,8 +70,8 @@ module TencentCloud
|
|
70
70
|
|
71
71
|
attr_accessor :AutoScalingGroupId, :ActivityId, :ActivityType, :StatusCode, :StatusMessage, :Cause, :Description, :StartTime, :EndTime, :CreatedTime, :ActivityRelatedInstanceSet, :StatusMessageSimplified, :LifecycleActionResultSet, :DetailedStatusMessageSet, :InvocationResultSet, :RelatedInstanceSet
|
72
72
|
extend Gem::Deprecate
|
73
|
-
deprecate :ActivityRelatedInstanceSet, :none, 2025,
|
74
|
-
deprecate :ActivityRelatedInstanceSet=, :none, 2025,
|
73
|
+
deprecate :ActivityRelatedInstanceSet, :none, 2025, 4
|
74
|
+
deprecate :ActivityRelatedInstanceSet=, :none, 2025, 4
|
75
75
|
|
76
76
|
def initialize(autoscalinggroupid=nil, activityid=nil, activitytype=nil, statuscode=nil, statusmessage=nil, cause=nil, description=nil, starttime=nil, endtime=nil, createdtime=nil, activityrelatedinstanceset=nil, statusmessagesimplified=nil, lifecycleactionresultset=nil, detailedstatusmessageset=nil, invocationresultset=nil, relatedinstanceset=nil)
|
77
77
|
@AutoScalingGroupId = autoscalinggroupid
|
@@ -199,9 +199,13 @@ module TencentCloud
|
|
199
199
|
|
200
200
|
# AttachInstances请求参数结构体
|
201
201
|
class AttachInstancesRequest < TencentCloud::Common::AbstractModel
|
202
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
202
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
203
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
204
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
203
205
|
# @type AutoScalingGroupId: String
|
204
|
-
# @param InstanceIds: CVM实例ID
|
206
|
+
# @param InstanceIds: CVM实例ID列表。可以通过以下方式获取可用的实例ID:
|
207
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
208
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
205
209
|
# @type InstanceIds: Array
|
206
210
|
|
207
211
|
attr_accessor :AutoScalingGroupId, :InstanceIds
|
@@ -566,9 +570,11 @@ module TencentCloud
|
|
566
570
|
|
567
571
|
# CancelInstanceRefresh请求参数结构体
|
568
572
|
class CancelInstanceRefreshRequest < TencentCloud::Common::AbstractModel
|
569
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
573
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
574
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
575
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
570
576
|
# @type AutoScalingGroupId: String
|
571
|
-
# @param RefreshActivityId: 刷新活动ID。
|
577
|
+
# @param RefreshActivityId: 刷新活动ID。可以通过调用接口 [DescribeRefreshActivities](https://cloud.tencent.com/document/api/377/99175) ,取返回信息中的 RefreshActivityId 获取实例刷新活动ID。
|
572
578
|
# @type RefreshActivityId: String
|
573
579
|
|
574
580
|
attr_accessor :AutoScalingGroupId, :RefreshActivityId
|
@@ -602,7 +608,9 @@ module TencentCloud
|
|
602
608
|
|
603
609
|
# ClearLaunchConfigurationAttributes请求参数结构体
|
604
610
|
class ClearLaunchConfigurationAttributesRequest < TencentCloud::Common::AbstractModel
|
605
|
-
# @param LaunchConfigurationId: 启动配置ID
|
611
|
+
# @param LaunchConfigurationId: 启动配置ID。可通过如下方式获取:
|
612
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 查询启动配置ID。</li>
|
613
|
+
# <li>通过调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。</li>
|
606
614
|
# @type LaunchConfigurationId: String
|
607
615
|
# @param ClearDataDisks: 是否清空数据盘信息,非必填,默认为 false。
|
608
616
|
# 填 true 代表清空“数据盘”信息,清空后基于此新创建的云主机将不含有任何数据盘。
|
@@ -1397,7 +1405,9 @@ module TencentCloud
|
|
1397
1405
|
|
1398
1406
|
# CreateScheduledAction请求参数结构体
|
1399
1407
|
class CreateScheduledActionRequest < TencentCloud::Common::AbstractModel
|
1400
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
1408
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
1409
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
1410
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
1401
1411
|
# @type AutoScalingGroupId: String
|
1402
1412
|
# @param ScheduledActionName: 定时任务名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。同一伸缩组下必须唯一。
|
1403
1413
|
# @type ScheduledActionName: String
|
@@ -1411,7 +1421,7 @@ module TencentCloud
|
|
1411
1421
|
# @type StartTime: String
|
1412
1422
|
# @param EndTime: 定时任务的结束时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。<br><br>此参数与`Recurrence`需要同时指定,到达结束时间之后,定时任务将不再生效。
|
1413
1423
|
# @type EndTime: String
|
1414
|
-
# @param Recurrence: 定时任务的重复方式。为标准 Cron
|
1424
|
+
# @param Recurrence: 定时任务的重复方式。为标准 Cron 格式。定时任务中的 [Recurrence参数限制](https://cloud.tencent.com/document/product/377/88119) 为5个字段,由空格分开,结构为:分,小时,日期,月份,星期。此参数与`EndTime`需要同时指定。
|
1415
1425
|
# @type Recurrence: String
|
1416
1426
|
|
1417
1427
|
attr_accessor :AutoScalingGroupId, :ScheduledActionName, :MaxSize, :MinSize, :DesiredCapacity, :StartTime, :EndTime, :Recurrence
|
@@ -1681,7 +1691,7 @@ module TencentCloud
|
|
1681
1691
|
|
1682
1692
|
# DeleteScheduledAction请求参数结构体
|
1683
1693
|
class DeleteScheduledActionRequest < TencentCloud::Common::AbstractModel
|
1684
|
-
# @param ScheduledActionId: 待删除的定时任务ID。
|
1694
|
+
# @param ScheduledActionId: 待删除的定时任务ID。可以通过调用接口 [DescribeScheduledActions](https://cloud.tencent.com/document/api/377/20450) ,取返回信息中的 ScheduledActionId 获取定时任务ID。
|
1685
1695
|
# @type ScheduledActionId: String
|
1686
1696
|
|
1687
1697
|
attr_accessor :ScheduledActionId
|
@@ -2418,9 +2428,9 @@ module TencentCloud
|
|
2418
2428
|
|
2419
2429
|
# DescribeScheduledActions请求参数结构体
|
2420
2430
|
class DescribeScheduledActionsRequest < TencentCloud::Common::AbstractModel
|
2421
|
-
# @param ScheduledActionIds: 按照一个或者多个定时任务ID
|
2431
|
+
# @param ScheduledActionIds: 按照一个或者多个定时任务ID查询。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 获取定时任务 ID。每次请求的实例的上限为100。参数不支持同时指定ScheduledActionIds和Filters。
|
2422
2432
|
# @type ScheduledActionIds: Array
|
2423
|
-
# @param Filters:
|
2433
|
+
# @param Filters: 过滤条件。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 获取定时任务 ID,定时任务名称,伸缩组 ID。
|
2424
2434
|
# <li> scheduled-action-id - String - 是否必填:否 -(过滤条件)按照定时任务ID过滤。</li>
|
2425
2435
|
# <li> scheduled-action-name - String - 是否必填:否 - (过滤条件) 按照定时任务名称过滤。</li>
|
2426
2436
|
# <li> auto-scaling-group-id - String - 是否必填:否 - (过滤条件) 按照伸缩组ID过滤。</li>
|
@@ -2487,9 +2497,13 @@ module TencentCloud
|
|
2487
2497
|
|
2488
2498
|
# DetachInstances请求参数结构体
|
2489
2499
|
class DetachInstancesRequest < TencentCloud::Common::AbstractModel
|
2490
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
2500
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
2501
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
2502
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
2491
2503
|
# @type AutoScalingGroupId: String
|
2492
|
-
# @param InstanceIds: CVM实例ID
|
2504
|
+
# @param InstanceIds: CVM实例ID列表。可以通过以下方式获取可用的实例ID:
|
2505
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
2506
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
2493
2507
|
# @type InstanceIds: Array
|
2494
2508
|
|
2495
2509
|
attr_accessor :AutoScalingGroupId, :InstanceIds
|
@@ -2693,8 +2707,8 @@ module TencentCloud
|
|
2693
2707
|
|
2694
2708
|
attr_accessor :SecurityService, :MonitorService, :AutomationService, :AutomationToolsService
|
2695
2709
|
extend Gem::Deprecate
|
2696
|
-
deprecate :AutomationService, :none, 2025,
|
2697
|
-
deprecate :AutomationService=, :none, 2025,
|
2710
|
+
deprecate :AutomationService, :none, 2025, 4
|
2711
|
+
deprecate :AutomationService=, :none, 2025, 4
|
2698
2712
|
|
2699
2713
|
def initialize(securityservice=nil, monitorservice=nil, automationservice=nil, automationtoolsservice=nil)
|
2700
2714
|
@SecurityService = securityservice
|
@@ -2729,9 +2743,13 @@ module TencentCloud
|
|
2729
2743
|
|
2730
2744
|
# EnterStandby请求参数结构体
|
2731
2745
|
class EnterStandbyRequest < TencentCloud::Common::AbstractModel
|
2732
|
-
# @param AutoScalingGroupId: 伸缩组 ID
|
2746
|
+
# @param AutoScalingGroupId: 伸缩组 ID。可以通过如下方式获取可用的伸缩组ID:
|
2747
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
2748
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
2733
2749
|
# @type AutoScalingGroupId: String
|
2734
|
-
# @param InstanceIds:
|
2750
|
+
# @param InstanceIds: 运行中状态实例列表,不支持传入非运行中状态实例。可以通过以下方式获取可用的实例ID:
|
2751
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
2752
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
2735
2753
|
# @type InstanceIds: Array
|
2736
2754
|
|
2737
2755
|
attr_accessor :AutoScalingGroupId, :InstanceIds
|
@@ -2813,9 +2831,13 @@ module TencentCloud
|
|
2813
2831
|
|
2814
2832
|
# ExitStandby请求参数结构体
|
2815
2833
|
class ExitStandbyRequest < TencentCloud::Common::AbstractModel
|
2816
|
-
# @param AutoScalingGroupId: 伸缩组 ID
|
2834
|
+
# @param AutoScalingGroupId: 伸缩组 ID。可以通过如下方式获取可用的伸缩组ID:
|
2835
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
2836
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
2817
2837
|
# @type AutoScalingGroupId: String
|
2818
|
-
# @param InstanceIds: 备用中状态 CVM
|
2838
|
+
# @param InstanceIds: 备用中状态 CVM 实例列表。可以通过以下方式获取可用的实例ID:
|
2839
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
2840
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
2819
2841
|
# @type InstanceIds: Array
|
2820
2842
|
|
2821
2843
|
attr_accessor :AutoScalingGroupId, :InstanceIds
|
@@ -4161,27 +4183,27 @@ module TencentCloud
|
|
4161
4183
|
|
4162
4184
|
# ModifyLifecycleHook请求参数结构体
|
4163
4185
|
class ModifyLifecycleHookRequest < TencentCloud::Common::AbstractModel
|
4164
|
-
# @param LifecycleHookId: 生命周期挂钩ID。
|
4186
|
+
# @param LifecycleHookId: 生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
4165
4187
|
# @type LifecycleHookId: String
|
4166
|
-
# @param LifecycleHookName:
|
4188
|
+
# @param LifecycleHookName: 生命周期挂钩名称。名称仅支持中文、英文、数字、下划线(_)、短横线(-)、小数点(.),最大长度不能超128。
|
4167
4189
|
# @type LifecycleHookName: String
|
4168
|
-
# @param LifecycleTransition:
|
4169
|
-
#
|
4170
|
-
#
|
4190
|
+
# @param LifecycleTransition: 进入生命周期挂钩场景,取值范围如下:
|
4191
|
+
# * INSTANCE_LAUNCHING: 扩容生命周期挂钩
|
4192
|
+
# * INSTANCE_TERMINATING: 缩容生命周期挂钩
|
4171
4193
|
# @type LifecycleTransition: String
|
4172
|
-
# @param DefaultResult:
|
4173
|
-
#
|
4174
|
-
#
|
4194
|
+
# @param DefaultResult: 定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
|
4195
|
+
# * CONTINUE: 默认值,表示继续执行扩缩容活动
|
4196
|
+
# * ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动。
|
4175
4197
|
# @type DefaultResult: String
|
4176
4198
|
# @param HeartbeatTimeout: 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从 30 到 7200 秒。
|
4177
4199
|
# @type HeartbeatTimeout: Integer
|
4178
|
-
# @param NotificationMetadata: 弹性伸缩向通知目标发送的附加信息。
|
4200
|
+
# @param NotificationMetadata: 弹性伸缩向通知目标发送的附加信息。NotificationMetadata 与 LifecycleCommand互斥,二者不可同时指定。
|
4179
4201
|
# @type NotificationMetadata: String
|
4180
4202
|
# @param LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括`NORMAL`和 `EXTENSION`。说明:设置为`EXTENSION`值,在AttachInstances、DetachInstances、RemoveInstances 接口时会触发生命周期挂钩操作,值为`NORMAL`则不会在这些接口中触发生命周期挂钩。
|
4181
4203
|
# @type LifecycleTransitionType: String
|
4182
|
-
# @param NotificationTarget: 通知目标信息。
|
4204
|
+
# @param NotificationTarget: 通知目标信息。NotificationTarget 与 LifecycleCommand互斥,二者不可同时指定。
|
4183
4205
|
# @type NotificationTarget: :class:`Tencentcloud::As.v20180419.models.NotificationTarget`
|
4184
|
-
# @param LifecycleCommand:
|
4206
|
+
# @param LifecycleCommand: 远程命令执行对象。通知参数 NotificationMetadata、NotificationTarget 与 LifecycleCommand互斥,不可同时指定。
|
4185
4207
|
# @type LifecycleCommand: :class:`Tencentcloud::As.v20180419.models.LifecycleCommand`
|
4186
4208
|
|
4187
4209
|
attr_accessor :LifecycleHookId, :LifecycleHookName, :LifecycleTransition, :DefaultResult, :HeartbeatTimeout, :NotificationMetadata, :LifecycleTransitionType, :NotificationTarget, :LifecycleCommand
|
@@ -4469,7 +4491,7 @@ module TencentCloud
|
|
4469
4491
|
|
4470
4492
|
# ModifyScheduledAction请求参数结构体
|
4471
4493
|
class ModifyScheduledActionRequest < TencentCloud::Common::AbstractModel
|
4472
|
-
# @param ScheduledActionId: 待修改的定时任务ID
|
4494
|
+
# @param ScheduledActionId: 待修改的定时任务ID。可以通过调用接口 [DescribeScheduledActions](https://cloud.tencent.com/document/api/377/20450) ,取返回信息中的 ScheduledActionId 获取定时任务ID。
|
4473
4495
|
# @type ScheduledActionId: String
|
4474
4496
|
# @param ScheduledActionName: 定时任务名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。同一伸缩组下必须唯一。
|
4475
4497
|
# @type ScheduledActionName: String
|
@@ -4483,7 +4505,7 @@ module TencentCloud
|
|
4483
4505
|
# @type StartTime: String
|
4484
4506
|
# @param EndTime: 定时任务的结束时间,取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。<br>此参数与`Recurrence`需要同时指定,到达结束时间之后,定时任务将不再生效。
|
4485
4507
|
# @type EndTime: String
|
4486
|
-
# @param Recurrence: 定时任务的重复方式。为标准 Cron
|
4508
|
+
# @param Recurrence: 定时任务的重复方式。为标准 Cron 格式,[Recurrence参数限制](https://cloud.tencent.com/document/product/377/88119)为5个字段,由空格分开,结构为:分,小时,日期,月份,星期。此参数与`EndTime`需要同时指定。
|
4487
4509
|
# @type Recurrence: String
|
4488
4510
|
|
4489
4511
|
attr_accessor :ScheduledActionId, :ScheduledActionName, :MaxSize, :MinSize, :DesiredCapacity, :StartTime, :EndTime, :Recurrence
|
@@ -4756,9 +4778,13 @@ module TencentCloud
|
|
4756
4778
|
|
4757
4779
|
# RemoveInstances请求参数结构体
|
4758
4780
|
class RemoveInstancesRequest < TencentCloud::Common::AbstractModel
|
4759
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
4781
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
4782
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
4783
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
4760
4784
|
# @type AutoScalingGroupId: String
|
4761
|
-
# @param InstanceIds: CVM实例ID
|
4785
|
+
# @param InstanceIds: CVM实例ID列表。可以通过以下方式获取可用的实例ID:
|
4786
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
4787
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
4762
4788
|
# @type InstanceIds: Array
|
4763
4789
|
|
4764
4790
|
attr_accessor :AutoScalingGroupId, :InstanceIds
|
@@ -4796,9 +4822,11 @@ module TencentCloud
|
|
4796
4822
|
|
4797
4823
|
# ResumeInstanceRefresh请求参数结构体
|
4798
4824
|
class ResumeInstanceRefreshRequest < TencentCloud::Common::AbstractModel
|
4799
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
4825
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过如下方式获取:
|
4826
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
4827
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
4800
4828
|
# @type AutoScalingGroupId: String
|
4801
|
-
# @param RefreshActivityId: 刷新活动ID。
|
4829
|
+
# @param RefreshActivityId: 刷新活动ID。可以通过调用接口 [DescribeRefreshActivities](https://cloud.tencent.com/document/api/377/99175) ,取返回信息中的 RefreshActivityId 获取实例刷新活动ID。
|
4802
4830
|
# @type RefreshActivityId: String
|
4803
4831
|
# @param ResumeMode: 当前批次刷新失败实例的恢复方式,如不存在失败实例,该参数无效。默认值为RETRY,取值范围如下:<li>RETRY: 重试当前批次刷新失败实例</li><li>CONTINUE: 跳过当前批次刷新失败实例</li>
|
4804
4832
|
# @type ResumeMode: String
|
@@ -4836,11 +4864,13 @@ module TencentCloud
|
|
4836
4864
|
|
4837
4865
|
# RollbackInstanceRefresh请求参数结构体
|
4838
4866
|
class RollbackInstanceRefreshRequest < TencentCloud::Common::AbstractModel
|
4839
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
4867
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过以下方式获取可用的伸缩组ID:
|
4868
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
4869
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
4840
4870
|
# @type AutoScalingGroupId: String
|
4841
4871
|
# @param RefreshSettings: 刷新设置。
|
4842
4872
|
# @type RefreshSettings: :class:`Tencentcloud::As.v20180419.models.RefreshSettings`
|
4843
|
-
# @param OriginRefreshActivityId: 原始刷新活动 ID。
|
4873
|
+
# @param OriginRefreshActivityId: 原始刷新活动 ID。可以通过调用接口 [DescribeRefreshActivities](https://cloud.tencent.com/document/api/377/99175) ,取返回信息中的 OriginRefreshActivityId 获取原始刷新活动ID。
|
4844
4874
|
# @type OriginRefreshActivityId: String
|
4845
4875
|
# @param RefreshMode: 刷新模式,目前仅支持滚动更新,默认值为 ROLLING_UPDATE_RESET。
|
4846
4876
|
# @type RefreshMode: String
|
@@ -5150,7 +5180,7 @@ module TencentCloud
|
|
5150
5180
|
# @type AutoScalingGroupId: String
|
5151
5181
|
# @param StartTime: 定时任务的开始时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
|
5152
5182
|
# @type StartTime: String
|
5153
|
-
# @param Recurrence:
|
5183
|
+
# @param Recurrence: 定时任务的重复方式。定时任务中的[Recurrence参数限制](https://cloud.tencent.com/document/product/377/88119)为5个字段,由空格分开,结构为:分,小时,日期,月份,星期。
|
5154
5184
|
# @type Recurrence: String
|
5155
5185
|
# @param EndTime: 定时任务的结束时间。取值为`北京时间`(UTC+8),按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ss+08:00`。
|
5156
5186
|
# @type EndTime: String
|
@@ -5160,7 +5190,7 @@ module TencentCloud
|
|
5160
5190
|
# @type DesiredCapacity: Integer
|
5161
5191
|
# @param MinSize: 定时任务设置的最小实例数。
|
5162
5192
|
# @type MinSize: Integer
|
5163
|
-
# @param CreatedTime:
|
5193
|
+
# @param CreatedTime: 定时任务的创建时间。取值为标准`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。
|
5164
5194
|
# @type CreatedTime: String
|
5165
5195
|
# @param ScheduledType: 定时任务的执行类型。取值范围:
|
5166
5196
|
# <li>CRONTAB:代表定时任务为重复执行。</li>
|
@@ -5244,9 +5274,13 @@ module TencentCloud
|
|
5244
5274
|
|
5245
5275
|
# SetInstancesProtection请求参数结构体
|
5246
5276
|
class SetInstancesProtectionRequest < TencentCloud::Common::AbstractModel
|
5247
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
5277
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
5278
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
5279
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
5248
5280
|
# @type AutoScalingGroupId: String
|
5249
|
-
# @param InstanceIds: 实例ID
|
5281
|
+
# @param InstanceIds: 实例ID。可以通过以下方式获取可用的实例ID:
|
5282
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
5283
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
5250
5284
|
# @type InstanceIds: Array
|
5251
5285
|
# @param ProtectedFromScaleIn: 实例是否需要设置保护。
|
5252
5286
|
# @type ProtectedFromScaleIn: Boolean
|
@@ -5343,9 +5377,13 @@ module TencentCloud
|
|
5343
5377
|
|
5344
5378
|
# StartAutoScalingInstances请求参数结构体
|
5345
5379
|
class StartAutoScalingInstancesRequest < TencentCloud::Common::AbstractModel
|
5346
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
5380
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
5381
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
5382
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
5347
5383
|
# @type AutoScalingGroupId: String
|
5348
|
-
# @param InstanceIds: 待开启的CVM实例ID
|
5384
|
+
# @param InstanceIds: 待开启的CVM实例ID列表。可以通过以下方式获取可用的实例ID:
|
5385
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
5386
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
5349
5387
|
# @type InstanceIds: Array
|
5350
5388
|
|
5351
5389
|
attr_accessor :AutoScalingGroupId, :InstanceIds
|
@@ -5432,9 +5470,13 @@ module TencentCloud
|
|
5432
5470
|
|
5433
5471
|
# StopAutoScalingInstances请求参数结构体
|
5434
5472
|
class StopAutoScalingInstancesRequest < TencentCloud::Common::AbstractModel
|
5435
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
5473
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
5474
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
5475
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
5436
5476
|
# @type AutoScalingGroupId: String
|
5437
|
-
# @param InstanceIds: 待关闭的CVM实例ID
|
5477
|
+
# @param InstanceIds: 待关闭的CVM实例ID列表。可以通过以下方式获取可用的实例ID:
|
5478
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
5479
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
5438
5480
|
# @type InstanceIds: Array
|
5439
5481
|
# @param StoppedMode: 关闭的实例是否收费,取值为:
|
5440
5482
|
# KEEP_CHARGING:关机继续收费
|
@@ -5479,9 +5521,11 @@ module TencentCloud
|
|
5479
5521
|
|
5480
5522
|
# StopInstanceRefresh请求参数结构体
|
5481
5523
|
class StopInstanceRefreshRequest < TencentCloud::Common::AbstractModel
|
5482
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
5524
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过以下方式获取可用的伸缩组ID:
|
5525
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
5526
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
5483
5527
|
# @type AutoScalingGroupId: String
|
5484
|
-
# @param RefreshActivityId: 刷新活动ID。
|
5528
|
+
# @param RefreshActivityId: 刷新活动ID。可以通过调用接口 [DescribeRefreshActivities](https://cloud.tencent.com/document/api/377/99175) ,取返回信息中的 RefreshActivityId 获取实例刷新活动ID。
|
5485
5529
|
# @type RefreshActivityId: String
|
5486
5530
|
|
5487
5531
|
attr_accessor :AutoScalingGroupId, :RefreshActivityId
|
@@ -5752,23 +5796,27 @@ module TencentCloud
|
|
5752
5796
|
|
5753
5797
|
# UpgradeLifecycleHook请求参数结构体
|
5754
5798
|
class UpgradeLifecycleHookRequest < TencentCloud::Common::AbstractModel
|
5755
|
-
# @param LifecycleHookId: 生命周期挂钩ID
|
5799
|
+
# @param LifecycleHookId: 生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
5756
5800
|
# @type LifecycleHookId: String
|
5757
|
-
# @param LifecycleHookName:
|
5801
|
+
# @param LifecycleHookName: 生命周期挂钩名称。名称仅支持中文、英文、数字、下划线(_)、短横线(-)、小数点(.),最大长度不能超128个字符。
|
5758
5802
|
# @type LifecycleHookName: String
|
5759
|
-
# @param LifecycleTransition:
|
5803
|
+
# @param LifecycleTransition: 进行生命周期挂钩的场景,取值范围如下:
|
5804
|
+
# * INSTANCE_LAUNCHING: 扩容生命周期挂钩
|
5805
|
+
# * INSTANCE_TERMINATING: 缩容生命周期挂钩
|
5760
5806
|
# @type LifecycleTransition: String
|
5761
|
-
# @param DefaultResult:
|
5807
|
+
# @param DefaultResult: 定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围是如下:
|
5808
|
+
# * CONTINUE: 默认值,表示继续执行扩缩容活动
|
5809
|
+
# * ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动。
|
5762
5810
|
# @type DefaultResult: String
|
5763
5811
|
# @param HeartbeatTimeout: 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到7200秒,默认值为300秒
|
5764
5812
|
# @type HeartbeatTimeout: Integer
|
5765
|
-
# @param NotificationMetadata:
|
5813
|
+
# @param NotificationMetadata: 弹性伸缩向通知目标发送的附加信息,配置通知时使用,默认值为空字符串。NotificationMetadata 和 LifecycleCommand参数互斥,二者不可同时指定。
|
5766
5814
|
# @type NotificationMetadata: String
|
5767
5815
|
# @param NotificationTarget: 通知目标。NotificationTarget和LifecycleCommand参数互斥,二者不可同时指定。
|
5768
5816
|
# @type NotificationTarget: :class:`Tencentcloud::As.v20180419.models.NotificationTarget`
|
5769
5817
|
# @param LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括NORMAL 和 EXTENSION。说明:设置为EXTENSION值,在AttachInstances、DetachInstances、RemoveInstaces接口时会触发生命周期挂钩操作,值为NORMAL则不会在这些接口中触发生命周期挂钩。
|
5770
5818
|
# @type LifecycleTransitionType: String
|
5771
|
-
# @param LifecycleCommand:
|
5819
|
+
# @param LifecycleCommand: 远程命令执行对象。通知参数 NotificationMetadata、NotificationTarget 与 LifecycleCommand 互斥,不可同时指定。
|
5772
5820
|
# @type LifecycleCommand: :class:`Tencentcloud::As.v20180419.models.LifecycleCommand`
|
5773
5821
|
|
5774
5822
|
attr_accessor :LifecycleHookId, :LifecycleHookName, :LifecycleTransition, :DefaultResult, :HeartbeatTimeout, :NotificationMetadata, :NotificationTarget, :LifecycleTransitionType, :LifecycleCommand
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-as
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1049
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|