tencentcloud-sdk-as 3.0.1059 → 3.0.1060
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 +5 -6
- data/lib/v20180419/models.rb +199 -147
- 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: 2fc57b10a55a08069545e569575237ef0e8ec01a
|
4
|
+
data.tar.gz: cb7d1995a0e6c62ad6ce6e3f30b02ba4a7182fa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c516c11a128639bce63397062314add375034e213f2efff5ed72e43a4bc5fb48b53b19d7273aed75a4e87e239ba1fc89f5d9b626b0e1a52f342dae40f000313
|
7
|
+
data.tar.gz: 67e98aa063aa845ae5926602333d61c82c0f3a7df2c848bb4e87c17b2398a37202d7131e3d8500804d5f42dc690c356eb40a775f85d346f75d93348de0c72ae7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1060
|
data/lib/v20180419/client.rb
CHANGED
@@ -211,9 +211,9 @@ module TencentCloud
|
|
211
211
|
|
212
212
|
# 本接口(CreateLaunchConfiguration)用于创建新的启动配置。
|
213
213
|
|
214
|
-
# * 启动配置,可以通过
|
214
|
+
# * 启动配置,可以通过 [ModifyLaunchConfigurationAttributes](https://cloud.tencent.com/document/api/377/31298) 修改少量字段。如需使用新的启动配置,建议重新创建启动配置。
|
215
215
|
|
216
|
-
# *
|
216
|
+
# * 每个地域默认只能创建50个启动配置,详见[使用限制](https://cloud.tencent.com/document/product/377/3120)。
|
217
217
|
|
218
218
|
# @param request: Request instance for CreateLaunchConfiguration.
|
219
219
|
# @type request: :class:`Tencentcloud::as::V20180419::CreateLaunchConfigurationRequest`
|
@@ -249,11 +249,11 @@ module TencentCloud
|
|
249
249
|
# "Time": "2019-03-14T10:15:11Z",
|
250
250
|
# "AppId": "1251783334",
|
251
251
|
# "ActivityId": "asa-fznnvrja",
|
252
|
-
# "AutoScalingGroupId": "asg-
|
253
|
-
# "LifecycleHookId": "ash-
|
252
|
+
# "AutoScalingGroupId": "asg-ft6y7u8n",
|
253
|
+
# "LifecycleHookId": "ash-p9i7y6t5",
|
254
254
|
# "LifecycleHookName": "my-hook",
|
255
255
|
# "LifecycleActionToken": "3080e1c9-0efe-4dd7-ad3b-90cd6618298f",
|
256
|
-
# "InstanceId": "ins-
|
256
|
+
# "InstanceId": "ins-y6dr5e43",
|
257
257
|
# "LifecycleTransition": "INSTANCE_LAUNCHING",
|
258
258
|
# "NotificationMetadata": ""
|
259
259
|
# }
|
@@ -1077,7 +1077,6 @@ module TencentCloud
|
|
1077
1077
|
# 本接口(ModifyLaunchConfigurationAttributes)用于修改启动配置部分属性。
|
1078
1078
|
|
1079
1079
|
# * 修改启动配置后,已经使用该启动配置扩容的存量实例不会发生变更,此后使用该启动配置的新增实例会按照新的配置进行扩容。
|
1080
|
-
# * 本接口支持修改部分简单类型。
|
1081
1080
|
|
1082
1081
|
# @param request: Request instance for ModifyLaunchConfigurationAttributes.
|
1083
1082
|
# @type request: :class:`Tencentcloud::as::V20180419::ModifyLaunchConfigurationAttributesRequest`
|
data/lib/v20180419/models.rb
CHANGED
@@ -49,11 +49,11 @@ module TencentCloud
|
|
49
49
|
# @type Cause: String
|
50
50
|
# @param Description: 伸缩活动描述。
|
51
51
|
# @type Description: String
|
52
|
-
# @param StartTime:
|
52
|
+
# @param StartTime: 伸缩活动开始时间,为 `UTC` 标准时间。
|
53
53
|
# @type StartTime: String
|
54
|
-
# @param EndTime:
|
54
|
+
# @param EndTime: 伸缩活动结束时间,为 `UTC` 标准时间。
|
55
55
|
# @type EndTime: String
|
56
|
-
# @param CreatedTime:
|
56
|
+
# @param CreatedTime: 伸缩活动创建时间,为 `UTC` 标准时间。
|
57
57
|
# @type CreatedTime: String
|
58
58
|
# @param ActivityRelatedInstanceSet: 该参数已废弃,请勿使用。
|
59
59
|
# @type ActivityRelatedInstanceSet: Array
|
@@ -243,11 +243,11 @@ module TencentCloud
|
|
243
243
|
|
244
244
|
# AttachLoadBalancers请求参数结构体
|
245
245
|
class AttachLoadBalancersRequest < TencentCloud::Common::AbstractModel
|
246
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
246
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
247
247
|
# @type AutoScalingGroupId: String
|
248
|
-
# @param LoadBalancerIds: 传统型负载均衡器ID列表,每个伸缩组绑定传统型负载均衡器数量上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
248
|
+
# @param LoadBalancerIds: 传统型负载均衡器ID列表,每个伸缩组绑定传统型负载均衡器数量上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
249
249
|
# @type LoadBalancerIds: Array
|
250
|
-
# @param ForwardLoadBalancers:
|
250
|
+
# @param ForwardLoadBalancers: 负载均衡器列表,每个伸缩组绑定应用型负载均衡器数量上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
251
251
|
# @type ForwardLoadBalancers: Array
|
252
252
|
|
253
253
|
attr_accessor :AutoScalingGroupId, :LoadBalancerIds, :ForwardLoadBalancers
|
@@ -372,13 +372,18 @@ module TencentCloud
|
|
372
372
|
# @type ProjectId: Integer
|
373
373
|
# @param SubnetIdSet: 子网ID列表
|
374
374
|
# @type SubnetIdSet: Array
|
375
|
-
# @param TerminationPolicySet:
|
375
|
+
# @param TerminationPolicySet: 销毁策略。取值范围如下:
|
376
|
+
# <li>OLDEST_INSTANCE:优先销毁伸缩组中最旧的实例,默认取值。</li>
|
377
|
+
# <li>NEWEST_INSTANCE:优先销毁伸缩组中最新的实例。</li>
|
376
378
|
# @type TerminationPolicySet: Array
|
377
|
-
# @param VpcId:
|
379
|
+
# @param VpcId: 私有网络ID。
|
378
380
|
# @type VpcId: String
|
379
381
|
# @param ZoneSet: 可用区列表
|
380
382
|
# @type ZoneSet: Array
|
381
|
-
# @param RetryPolicy:
|
383
|
+
# @param RetryPolicy: 重试策略,部分成功的伸缩活动判定为一次失败活动。取值范围如下:
|
384
|
+
# <li>IMMEDIATE_RETRY:默认取值,表示立即重试,在较短时间内快速重试,连续失败超过一定次数(5次)后不再重试。</li>
|
385
|
+
# <li>INCREMENTAL_INTERVALS:间隔递增重试,随着连续失败次数的增加,重试间隔逐渐增大。前 10 次重试为快速重试,后续重试间隔逐步递增至 10 分钟、30 分钟、60 分钟、一天。</li>
|
386
|
+
# <li>NO_RETRY,不进行重试,直到再次收到用户调用或者告警信息后才会重试。</li>
|
382
387
|
# @type RetryPolicy: String
|
383
388
|
# @param InActivityStatus: 伸缩组是否处于伸缩活动中,`IN_ACTIVITY`表示处于伸缩活动中,`NOT_IN_ACTIVITY`表示不处于伸缩活动中。
|
384
389
|
# @type InActivityStatus: String
|
@@ -386,7 +391,7 @@ module TencentCloud
|
|
386
391
|
# @type Tags: Array
|
387
392
|
# @param ServiceSettings: 服务设置
|
388
393
|
# @type ServiceSettings: :class:`Tencentcloud::As.v20180419.models.ServiceSettings`
|
389
|
-
# @param Ipv6AddressCount: 实例具有IPv6
|
394
|
+
# @param Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
390
395
|
# @type Ipv6AddressCount: Integer
|
391
396
|
# @param MultiZoneSubnetPolicy: 多可用区/子网策略。
|
392
397
|
# <li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。</li>
|
@@ -396,7 +401,8 @@ module TencentCloud
|
|
396
401
|
# <li>CVM:根据实例网络状态判断实例是否处于不健康状态,不健康的网络状态即发生实例 PING 不可达事件,详细判断标准可参考[实例健康检查](https://cloud.tencent.com/document/product/377/8553)</li>
|
397
402
|
# <li>CLB:根据 CLB 的健康检查状态判断实例是否处于不健康状态,CLB健康检查原理可参考[健康检查](https://cloud.tencent.com/document/product/214/6097)</li>
|
398
403
|
# @type HealthCheckType: String
|
399
|
-
# @param LoadBalancerHealthCheckGracePeriod: CLB
|
404
|
+
# @param LoadBalancerHealthCheckGracePeriod: CLB健康检查宽限期.当扩容的实例进入IN_SERVICE后,在宽限期时间范围内将不会被标记为不健康CLB_UNHEALTHY。
|
405
|
+
# 默认值:0。取值范围[0, 7200],单位:秒。
|
400
406
|
# @type LoadBalancerHealthCheckGracePeriod: Integer
|
401
407
|
# @param InstanceAllocationPolicy: 实例分配策略,取值包括 LAUNCH_CONFIGURATION 和 SPOT_MIXED。
|
402
408
|
# <li> LAUNCH_CONFIGURATION,代表传统的按照启动配置模式。</li>
|
@@ -534,15 +540,26 @@ module TencentCloud
|
|
534
540
|
# @type AutoScalingGroupId: String
|
535
541
|
# @param NotificationUserGroupIds: 用户组ID列表。
|
536
542
|
# @type NotificationUserGroupIds: Array
|
537
|
-
# @param NotificationTypes:
|
543
|
+
# @param NotificationTypes: 通知事件列表。取值范围如下:
|
544
|
+
# <li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
545
|
+
# <li>SCALE_OUT_FAILED:扩容失败</li>
|
546
|
+
# <li>SCALE_IN_SUCCESSFUL:缩容成功</li>
|
547
|
+
# <li>SCALE_IN_FAILED:缩容失败</li>
|
548
|
+
# <li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
549
|
+
# <li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
538
550
|
# @type NotificationTypes: Array
|
539
551
|
# @param AutoScalingNotificationId: 事件通知ID。
|
540
552
|
# @type AutoScalingNotificationId: String
|
541
|
-
# @param TargetType:
|
553
|
+
# @param TargetType: 通知接收端类型。取值范围如下:
|
554
|
+
# USER_GROUP:用户组
|
555
|
+
# TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
|
556
|
+
# TDMQ_CMQ_QUEUE:TDMQ CMQ 队列
|
557
|
+
# CMQ_QUEUE:CMQ 队列,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
|
558
|
+
# CMQ_TOPIC:CMQ 主题,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
|
542
559
|
# @type TargetType: String
|
543
|
-
# @param QueueName: CMQ 队列名。
|
560
|
+
# @param QueueName: TDMQ CMQ 队列名。
|
544
561
|
# @type QueueName: String
|
545
|
-
# @param TopicName: CMQ 主题名。
|
562
|
+
# @param TopicName: TDMQ CMQ 主题名。
|
546
563
|
# @type TopicName: String
|
547
564
|
|
548
565
|
attr_accessor :AutoScalingGroupId, :NotificationUserGroupIds, :NotificationTypes, :AutoScalingNotificationId, :TargetType, :QueueName, :TopicName
|
@@ -671,13 +688,16 @@ module TencentCloud
|
|
671
688
|
|
672
689
|
# CompleteLifecycleAction请求参数结构体
|
673
690
|
class CompleteLifecycleActionRequest < TencentCloud::Common::AbstractModel
|
674
|
-
# @param LifecycleHookId: 生命周期挂钩ID
|
691
|
+
# @param LifecycleHookId: 生命周期挂钩ID。可以通过调用接口 [DescribeLifecycleHooks](https://cloud.tencent.com/document/api/377/34452) ,取返回信息中的 LifecycleHookId 获取生命周期挂钩ID。
|
675
692
|
# @type LifecycleHookId: String
|
676
|
-
# @param LifecycleActionResult:
|
693
|
+
# @param LifecycleActionResult: 生命周期动作的结果,取值范围如下:
|
694
|
+
# <li>CONTINUE: 默认值,表示继续执行扩缩容活动</li>
|
695
|
+
# <li>ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动。</li>
|
677
696
|
# @type LifecycleActionResult: String
|
678
|
-
# @param InstanceId: 实例ID
|
697
|
+
# @param InstanceId: 实例ID,`InstanceId` 和 `LifecycleActionToken` 参数必须填写其中一个。可通过登录 [控制台](https://console.cloud.tencent.com/cvm/index) 或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。
|
679
698
|
# @type InstanceId: String
|
680
|
-
# @param LifecycleActionToken:
|
699
|
+
# @param LifecycleActionToken: 生命周期动作令牌,`InstanceId` 和 `LifecycleActionToken` 必须填充其中一个。
|
700
|
+
# 该参数获取方式如下:配置 `NotificationTarget ` 参数的挂钩被触发时,向 `NotificationTarget ` 参数中指定的消息队列投递包含令牌的消息,消息队列的消费者可从消息中获取令牌。
|
681
701
|
# @type LifecycleActionToken: String
|
682
702
|
|
683
703
|
attr_accessor :LifecycleHookId, :LifecycleActionResult, :InstanceId, :LifecycleActionToken
|
@@ -717,13 +737,13 @@ module TencentCloud
|
|
717
737
|
class CreateAutoScalingGroupFromInstanceRequest < TencentCloud::Common::AbstractModel
|
718
738
|
# @param AutoScalingGroupName: 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
|
719
739
|
# @type AutoScalingGroupName: String
|
720
|
-
# @param InstanceId: 实例ID
|
740
|
+
# @param InstanceId: 实例ID。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。
|
721
741
|
# @type InstanceId: String
|
722
|
-
# @param MinSize: 最小实例数,取值范围为0-2000
|
742
|
+
# @param MinSize: 最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
723
743
|
# @type MinSize: Integer
|
724
|
-
# @param MaxSize: 最大实例数,取值范围为0-2000
|
744
|
+
# @param MaxSize: 最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
725
745
|
# @type MaxSize: Integer
|
726
|
-
# @param DesiredCapacity:
|
746
|
+
# @param DesiredCapacity: 期望实例数,大小介于最小实例数和最大实例数之间。不传入时默认值等于最小值。
|
727
747
|
# @type DesiredCapacity: Integer
|
728
748
|
# @param InheritInstanceTag: 是否继承实例标签,默认值为False
|
729
749
|
# @type InheritInstanceTag: Boolean
|
@@ -773,25 +793,25 @@ module TencentCloud
|
|
773
793
|
class CreateAutoScalingGroupRequest < TencentCloud::Common::AbstractModel
|
774
794
|
# @param AutoScalingGroupName: 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
|
775
795
|
# @type AutoScalingGroupName: String
|
776
|
-
# @param LaunchConfigurationId: 启动配置ID
|
796
|
+
# @param LaunchConfigurationId: 启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
777
797
|
# @type LaunchConfigurationId: String
|
778
|
-
# @param MaxSize: 最大实例数,取值范围为0-2000
|
798
|
+
# @param MaxSize: 最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
779
799
|
# @type MaxSize: Integer
|
780
|
-
# @param MinSize: 最小实例数,取值范围为0-2000
|
800
|
+
# @param MinSize: 最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
781
801
|
# @type MinSize: Integer
|
782
|
-
# @param VpcId:
|
802
|
+
# @param VpcId: 私有网络ID。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc)查询;也可以调用接口 [DescribeVpc](https://cloud.tencent.com/document/api/215/15778) ,从接口返回中的VpcId字段获取。
|
783
803
|
# @type VpcId: String
|
784
|
-
# @param DefaultCooldown: 默认冷却时间,单位秒,默认值为300
|
804
|
+
# @param DefaultCooldown: 默认冷却时间,单位秒,默认值为300。取值范围为 [0,3600]。
|
785
805
|
# @type DefaultCooldown: Integer
|
786
|
-
# @param DesiredCapacity:
|
806
|
+
# @param DesiredCapacity: 期望实例数,取值范围 [0,2000],默认值为最小值。需满足最大值大于等于期望值,期望值大于等于最小值。
|
787
807
|
# @type DesiredCapacity: Integer
|
788
|
-
# @param LoadBalancerIds: 传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
808
|
+
# @param LoadBalancerIds: 传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
789
809
|
# @type LoadBalancerIds: Array
|
790
|
-
# @param ProjectId: 伸缩组内实例所属项目ID
|
810
|
+
# @param ProjectId: 伸缩组内实例所属项目ID。默认值为0,表示使用默认项目。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。
|
791
811
|
# @type ProjectId: Integer
|
792
|
-
# @param ForwardLoadBalancers:
|
812
|
+
# @param ForwardLoadBalancers: 负载均衡器列表,目前长度上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个
|
793
813
|
# @type ForwardLoadBalancers: Array
|
794
|
-
# @param SubnetIds: 子网ID列表,VPC
|
814
|
+
# @param SubnetIds: 子网ID列表,VPC场景下必须指定子网。多个子网以填写顺序为优先级,依次进行尝试,直至可以成功创建实例。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的SubnetId字段获取。
|
795
815
|
# @type SubnetIds: Array
|
796
816
|
# @param TerminationPolicies: 销毁策略,目前长度上限为1。取值包括 OLDEST_INSTANCE 和 NEWEST_INSTANCE,默认取值为 OLDEST_INSTANCE。
|
797
817
|
# <li> OLDEST_INSTANCE 优先销毁伸缩组中最旧的实例。</li>
|
@@ -811,11 +831,11 @@ module TencentCloud
|
|
811
831
|
# 可用区或子网不可用的常见原因包括该可用区CVM实例类型售罄、该可用区CBS云盘售罄、该可用区配额不足、该子网IP不足等。
|
812
832
|
# 如果 Zones/SubnetIds 中可用区或者子网不存在,则无论 ZonesCheckPolicy 采用何种取值,都会校验报错。
|
813
833
|
# @type ZonesCheckPolicy: String
|
814
|
-
# @param Tags: 标签描述列表。通过指定该参数可以支持绑定标签到伸缩组。同时绑定标签到相应的资源实例。每个伸缩组最多支持30
|
834
|
+
# @param Tags: 标签描述列表。通过指定该参数可以支持绑定标签到伸缩组。同时绑定标签到相应的资源实例。每个伸缩组最多支持30个标签。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,根据回参获取已有的标签键值对信息。
|
815
835
|
# @type Tags: Array
|
816
836
|
# @param ServiceSettings: 服务设置,包括云监控不健康替换等服务设置。
|
817
837
|
# @type ServiceSettings: :class:`Tencentcloud::As.v20180419.models.ServiceSettings`
|
818
|
-
# @param Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括
|
838
|
+
# @param Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
819
839
|
# @type Ipv6AddressCount: Integer
|
820
840
|
# @param MultiZoneSubnetPolicy: 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY。
|
821
841
|
# <li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。</li>
|
@@ -956,7 +976,7 @@ module TencentCloud
|
|
956
976
|
# @type LaunchConfigurationName: String
|
957
977
|
# @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>
|
958
978
|
# @type ImageId: String
|
959
|
-
# @param ProjectId: 启动配置所属项目ID
|
979
|
+
# @param ProjectId: 启动配置所属项目ID。默认值为0,表示使用默认项目。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。
|
960
980
|
# 注意:伸缩组内实例所属项目ID取伸缩组项目ID,与这里取值无关。
|
961
981
|
# @type ProjectId: Integer
|
962
982
|
# @param InstanceType: 实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口 [DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749) 来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。
|
@@ -985,11 +1005,11 @@ module TencentCloud
|
|
985
1005
|
# @param InstanceMarketOptions: 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
|
986
1006
|
# @type InstanceMarketOptions: :class:`Tencentcloud::As.v20180419.models.InstanceMarketOptionsRequest`
|
987
1007
|
# @param InstanceTypes: 实例机型列表,不同实例机型指定了不同的资源规格,最多支持10种实例机型。
|
988
|
-
# `InstanceType`和`InstanceTypes
|
1008
|
+
# `InstanceType`和`InstanceTypes`参数互斥,二者必填一个且只能填写一个。具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格描述](https://cloud.tencent.com/document/product/213/11518)。
|
989
1009
|
# @type InstanceTypes: Array
|
990
|
-
# @param CamRoleName: CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
1010
|
+
# @param CamRoleName: CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
991
1011
|
# @type CamRoleName: String
|
992
|
-
# @param InstanceTypesCheckPolicy: 实例类型校验策略,取值包括 ALL 和 ANY,默认取值为ANY
|
1012
|
+
# @param InstanceTypesCheckPolicy: 实例类型校验策略,取值包括 ALL 和 ANY,默认取值为ANY。该参数仅在 InstanceTypes 入参包含多个机型时生效。
|
993
1013
|
# <li> ALL,所有实例类型(InstanceType)都可用则通过校验,否则校验报错。</li>
|
994
1014
|
# <li> ANY,存在任何一个实例类型(InstanceType)可用则通过校验,否则校验报错。</li>
|
995
1015
|
|
@@ -1011,16 +1031,16 @@ module TencentCloud
|
|
1011
1031
|
# <li>ORIGINAL:使用设置的云盘类型</li>
|
1012
1032
|
# <li>AUTOMATIC:自动选择当前可用的云盘类型</li>
|
1013
1033
|
# @type DiskTypePolicy: String
|
1014
|
-
# @param HpcClusterId: 高性能计算集群ID
|
1034
|
+
# @param HpcClusterId: 高性能计算集群ID。可通过调用[DescribeHpcClusters](https://cloud.tencent.com/document/product/213/83220)接口获取该参数。
|
1015
1035
|
# 注意:此字段默认为空。
|
1016
1036
|
# @type HpcClusterId: String
|
1017
1037
|
# @param IPv6InternetAccessible: IPv6公网带宽相关信息设置。若新建实例包含IPv6地址,该参数可为新建实例的IPv6地址分配公网带宽。关联启动配置的伸缩组Ipv6AddressCount参数为0时,该参数不会生效。
|
1018
1038
|
# @type IPv6InternetAccessible: :class:`Tencentcloud::As.v20180419.models.IPv6InternetAccessible`
|
1019
1039
|
# @param DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。
|
1020
1040
|
# @type DisasterRecoverGroupIds: Array
|
1021
|
-
# @param ImageFamily: 镜像族名称。镜像Id
|
1041
|
+
# @param ImageFamily: 镜像族名称。镜像Id与镜像族名称,二者必填一个且只能填写一个。可通过调用[DescribeImages](https://cloud.tencent.com/document/product/213/15715)接口获取该参数。
|
1022
1042
|
# @type ImageFamily: String
|
1023
|
-
# @param DedicatedClusterId: 本地专用集群ID
|
1043
|
+
# @param DedicatedClusterId: 本地专用集群ID。可通过 [DescribeDedicatedClusters](https://cloud.tencent.com/document/product/1346/73758) 接口获取该参数。
|
1024
1044
|
# @type DedicatedClusterId: String
|
1025
1045
|
# @param Metadata: 自定义metadata。
|
1026
1046
|
# @type Metadata: :class:`Tencentcloud::As.v20180419.models.Metadata`
|
@@ -1163,23 +1183,30 @@ module TencentCloud
|
|
1163
1183
|
|
1164
1184
|
# CreateLifecycleHook请求参数结构体
|
1165
1185
|
class CreateLifecycleHookRequest < TencentCloud::Common::AbstractModel
|
1166
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
1186
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
1187
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
1188
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
1167
1189
|
# @type AutoScalingGroupId: String
|
1168
1190
|
# @param LifecycleHookName: 生命周期挂钩名称。名称仅支持中文、英文、数字、下划线(_)、短横线(-)、小数点(.),最大长度不能超128个字节。
|
1169
1191
|
# @type LifecycleHookName: String
|
1170
|
-
# @param LifecycleTransition:
|
1192
|
+
# @param LifecycleTransition: 进行生命周期挂钩的场景,取值范围如下:
|
1193
|
+
# <li> INSTANCE_LAUNCHING: 扩容生命周期挂钩</li>
|
1194
|
+
# <li>INSTANCE_TERMINATING: 缩容生命周期挂钩</li>
|
1171
1195
|
# @type LifecycleTransition: String
|
1172
|
-
# @param DefaultResult:
|
1196
|
+
# @param DefaultResult: 定义伸缩组在生命周期挂钩超时或 LifecycleCommand 执行失败时应采取的操作,取值范围如下:
|
1197
|
+
# <li>CONTINUE: 默认值,表示继续执行扩缩容活动</li>
|
1198
|
+
# <li>ABANDON: 针对扩容挂钩,挂钩超时或 LifecycleCommand 执行失败的 CVM 实例会直接释放或移出;而针对缩容挂钩,会继续执行缩容活动。</li>
|
1173
1199
|
# @type DefaultResult: String
|
1174
1200
|
# @param HeartbeatTimeout: 生命周期挂钩超时之前可以经过的最长时间(以秒为单位),范围从30到7200秒,默认值为300秒
|
1175
1201
|
# @type HeartbeatTimeout: Integer
|
1176
|
-
# @param NotificationMetadata:
|
1202
|
+
# @param NotificationMetadata: 弹性伸缩向通知目标发送的附加信息,配置通知时使用,默认值为空字符串,最长不超过 1024 字符。NotificationMetadata 和 LifecycleCommand参数互斥,二者不可同时指定。
|
1177
1203
|
# @type NotificationMetadata: String
|
1178
1204
|
# @param NotificationTarget: 通知目标。NotificationTarget和LifecycleCommand参数互斥,二者不可同时指定。
|
1179
1205
|
# @type NotificationTarget: :class:`Tencentcloud::As.v20180419.models.NotificationTarget`
|
1180
|
-
# @param LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括NORMAL 和 EXTENSION
|
1206
|
+
# @param LifecycleTransitionType: 进行生命周期挂钩的场景类型,取值范围包括 NORMAL 和 EXTENSION,默认值为 NORMAL。
|
1207
|
+
# 说明:设置为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则不会在这些接口中触发生命周期挂钩。
|
1181
1208
|
# @type LifecycleTransitionType: String
|
1182
|
-
# @param LifecycleCommand:
|
1209
|
+
# @param LifecycleCommand: 远程命令执行对象。通知相关参数(NotificationTarget、NotificationMetadata)与该参数互斥,二者不可同时指定。
|
1183
1210
|
# @type LifecycleCommand: :class:`Tencentcloud::As.v20180419.models.LifecycleCommand`
|
1184
1211
|
|
1185
1212
|
attr_accessor :AutoScalingGroupId, :LifecycleHookName, :LifecycleTransition, :DefaultResult, :HeartbeatTimeout, :NotificationMetadata, :NotificationTarget, :LifecycleTransitionType, :LifecycleCommand
|
@@ -1237,7 +1264,7 @@ module TencentCloud
|
|
1237
1264
|
|
1238
1265
|
# CreateNotificationConfiguration请求参数结构体
|
1239
1266
|
class CreateNotificationConfigurationRequest < TencentCloud::Common::AbstractModel
|
1240
|
-
# @param AutoScalingGroupId: 伸缩组ID。
|
1267
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
1241
1268
|
# @type AutoScalingGroupId: String
|
1242
1269
|
# @param NotificationTypes: 通知类型,即为需要订阅的通知类型集合,取值范围如下:
|
1243
1270
|
# <li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
@@ -1247,20 +1274,20 @@ module TencentCloud
|
|
1247
1274
|
# <li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
1248
1275
|
# <li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
1249
1276
|
# @type NotificationTypes: Array
|
1250
|
-
# @param NotificationUserGroupIds: 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)
|
1277
|
+
# @param NotificationUserGroupIds: 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 TargetType 为 USER_GROUP 时生效。
|
1251
1278
|
# @type NotificationUserGroupIds: Array
|
1252
|
-
# @param TargetType:
|
1253
|
-
# <
|
1254
|
-
# <
|
1255
|
-
# <
|
1256
|
-
# <
|
1257
|
-
# <
|
1279
|
+
# @param TargetType: 通知接收端类型,取值如下:
|
1280
|
+
# <li>USER_GROUP:用户组</li>
|
1281
|
+
# <li>TDMQ_CMQ_TOPIC:TDMQ CMQ 主题</li>
|
1282
|
+
# <li>TDMQ_CMQ_QUEUE:TDMQ CMQ 队列</li>
|
1283
|
+
# <li>CMQ_QUEUE:CMQ 队列,[CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。</li>
|
1284
|
+
# <li>CMQ_TOPIC:CMQ 主题,[CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。</li>
|
1258
1285
|
|
1259
1286
|
# 默认值为:`USER_GROUP`。
|
1260
1287
|
# @type TargetType: String
|
1261
|
-
# @param QueueName: CMQ
|
1288
|
+
# @param QueueName: TDMQ CMQ 队列名,如 TargetType 取值为 `TDMQ_CMQ_QUEUE` ,该字段必填。
|
1262
1289
|
# @type QueueName: String
|
1263
|
-
# @param TopicName: CMQ
|
1290
|
+
# @param TopicName: TDMQ CMQ 主题名,如 TargetType 取值为 `TDMQ_CMQ_TOPIC` ,该字段必填。
|
1264
1291
|
# @type TopicName: String
|
1265
1292
|
|
1266
1293
|
attr_accessor :AutoScalingGroupId, :NotificationTypes, :NotificationUserGroupIds, :TargetType, :QueueName, :TopicName
|
@@ -1306,31 +1333,36 @@ module TencentCloud
|
|
1306
1333
|
|
1307
1334
|
# CreateScalingPolicy请求参数结构体
|
1308
1335
|
class CreateScalingPolicyRequest < TencentCloud::Common::AbstractModel
|
1309
|
-
# @param AutoScalingGroupId: 伸缩组ID。
|
1336
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
1310
1337
|
# @type AutoScalingGroupId: String
|
1311
|
-
# @param ScalingPolicyName:
|
1338
|
+
# @param ScalingPolicyName: 告警策略名称,在您账号中必须唯一。名称长度不能超过60,名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点。
|
1312
1339
|
# @type ScalingPolicyName: String
|
1313
|
-
# @param ScalingPolicyType: 告警触发策略类型,默认类型为SIMPLE
|
1340
|
+
# @param ScalingPolicyType: 告警触发策略类型,默认类型为SIMPLE。取值范围:
|
1341
|
+
# <li>SIMPLE:简单策略</li>
|
1342
|
+
# <li>TARGET_TRACKING:目标追踪策略</li>
|
1314
1343
|
# @type ScalingPolicyType: String
|
1315
|
-
# @param AdjustmentType:
|
1344
|
+
# @param AdjustmentType: 告警触发后,期望实例数修改方式,仅适用于简单策略,在简单策略场景下必填。取值范围:
|
1345
|
+
# <li>CHANGE_IN_CAPACITY:增加或减少若干期望实例数</li>
|
1346
|
+
# <li>EXACT_CAPACITY:调整至指定期望实例数</li>
|
1347
|
+
# <li>PERCENT_CHANGE_IN_CAPACITY:按百分比调整期望实例数</li>
|
1316
1348
|
# @type AdjustmentType: String
|
1317
|
-
# @param AdjustmentValue:
|
1349
|
+
# @param AdjustmentValue: 告警触发后,期望实例数的调整值,仅适用于简单策略,在简单策略场景下必填。
|
1318
1350
|
# <li>当 AdjustmentType 为 CHANGE_IN_CAPACITY 时,AdjustmentValue 为正数表示告警触发后增加实例,为负数表示告警触发后减少实例 </li>
|
1319
1351
|
# <li> 当 AdjustmentType 为 EXACT_CAPACITY 时,AdjustmentValue 的值即为告警触发后新的期望实例数,需要大于或等于0 </li>
|
1320
1352
|
# <li> 当 AdjustmentType 为 PERCENT_CHANGE_IN_CAPACITY 时,AdjusmentValue 为正数表示告警触发后按百分比增加实例,为负数表示告警触发后按百分比减少实例,单位是:%。</li>
|
1321
1353
|
# @type AdjustmentValue: Integer
|
1322
1354
|
# @param Cooldown: 冷却时间,单位为秒,仅适用于简单策略。默认冷却时间300秒。
|
1323
1355
|
# @type Cooldown: Integer
|
1324
|
-
# @param MetricAlarm:
|
1356
|
+
# @param MetricAlarm: 告警监控指标,仅适用于简单策略,在简单策略场景下必填。
|
1325
1357
|
# @type MetricAlarm: :class:`Tencentcloud::As.v20180419.models.MetricAlarm`
|
1326
|
-
# @param PredefinedMetricType:
|
1358
|
+
# @param PredefinedMetricType: 预定义监控项,仅适用于目标追踪策略,在目标追踪策略场景下必填。取值范围:
|
1327
1359
|
# <li>ASG_AVG_CPU_UTILIZATION:平均CPU使用率</li>
|
1328
1360
|
# <li>ASG_AVG_LAN_TRAFFIC_OUT:平均内网出带宽</li>
|
1329
1361
|
# <li>ASG_AVG_LAN_TRAFFIC_IN:平均内网入带宽</li>
|
1330
1362
|
# <li>ASG_AVG_WAN_TRAFFIC_OUT:平均外网出带宽</li>
|
1331
1363
|
# <li>ASG_AVG_WAN_TRAFFIC_IN:平均外网入带宽</li>
|
1332
1364
|
# @type PredefinedMetricType: String
|
1333
|
-
# @param TargetValue:
|
1365
|
+
# @param TargetValue: 目标值,仅适用于目标追踪策略,在目标追踪策略场景下必填。
|
1334
1366
|
# <li>ASG_AVG_CPU_UTILIZATION:[1, 100),单位:%</li>
|
1335
1367
|
# <li>ASG_AVG_LAN_TRAFFIC_OUT:>0,单位:Mbps</li>
|
1336
1368
|
# <li>ASG_AVG_LAN_TRAFFIC_IN:>0,单位:Mbps</li>
|
@@ -1479,11 +1511,12 @@ module TencentCloud
|
|
1479
1511
|
# <li>CLOUD_SSD:SSD云硬盘</li>
|
1480
1512
|
# <li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
1481
1513
|
# <li>CLOUD_TSSD:极速型SSD云硬盘</li>
|
1514
|
+
# <li>CLOUD_BSSD:通用型SSD云硬盘</li>
|
1482
1515
|
# 默认取值与系统盘类型(SystemDisk.DiskType)保持一致。
|
1483
1516
|
# @type DiskType: String
|
1484
|
-
# @param DiskSize: 数据盘大小,单位:GB
|
1517
|
+
# @param DiskSize: 数据盘大小,单位:GB。不同数据盘类型取值范围不同,具体限制详见:[CVM实例配置](https://cloud.tencent.com/document/product/213/2177)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
1485
1518
|
# @type DiskSize: Integer
|
1486
|
-
# @param SnapshotId: 数据盘快照 ID
|
1519
|
+
# @param SnapshotId: 数据盘快照 ID,可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口获取该参数。
|
1487
1520
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1488
1521
|
# @type SnapshotId: String
|
1489
1522
|
# @param DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
|
@@ -1500,8 +1533,7 @@ module TencentCloud
|
|
1500
1533
|
# 当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且 需容量 > 460GB。
|
1501
1534
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1502
1535
|
# @type ThroughputPerformance: Integer
|
1503
|
-
# @param BurstPerformance: 突发性能。是否开启突发性能,默认取值为 false。
|
1504
|
-
|
1536
|
+
# @param BurstPerformance: 突发性能。是否开启突发性能,默认取值为 false。当前该参数仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且需容量 > 460GB。
|
1505
1537
|
# 注:内测中,需提单申请后使用。
|
1506
1538
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1507
1539
|
# @type BurstPerformance: Boolean
|
@@ -1531,7 +1563,7 @@ module TencentCloud
|
|
1531
1563
|
|
1532
1564
|
# DeleteAutoScalingGroup请求参数结构体
|
1533
1565
|
class DeleteAutoScalingGroupRequest < TencentCloud::Common::AbstractModel
|
1534
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
1566
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
1535
1567
|
# @type AutoScalingGroupId: String
|
1536
1568
|
|
1537
1569
|
attr_accessor :AutoScalingGroupId
|
@@ -1563,7 +1595,7 @@ module TencentCloud
|
|
1563
1595
|
|
1564
1596
|
# DeleteLaunchConfiguration请求参数结构体
|
1565
1597
|
class DeleteLaunchConfigurationRequest < TencentCloud::Common::AbstractModel
|
1566
|
-
# @param LaunchConfigurationId: 需要删除的启动配置ID。
|
1598
|
+
# @param LaunchConfigurationId: 需要删除的启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
1567
1599
|
# @type LaunchConfigurationId: String
|
1568
1600
|
|
1569
1601
|
attr_accessor :LaunchConfigurationId
|
@@ -1627,7 +1659,7 @@ module TencentCloud
|
|
1627
1659
|
|
1628
1660
|
# DeleteNotificationConfiguration请求参数结构体
|
1629
1661
|
class DeleteNotificationConfigurationRequest < TencentCloud::Common::AbstractModel
|
1630
|
-
# @param AutoScalingNotificationId: 待删除的通知ID。
|
1662
|
+
# @param AutoScalingNotificationId: 待删除的通知ID,目前为必填参数。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeNotificationConfigurations](https://cloud.tencent.com/document/api/377/33183) ,取返回信息中的 AutoScalingNotificationId 获取通知ID。
|
1631
1663
|
# @type AutoScalingNotificationId: String
|
1632
1664
|
|
1633
1665
|
attr_accessor :AutoScalingNotificationId
|
@@ -1659,7 +1691,7 @@ module TencentCloud
|
|
1659
1691
|
|
1660
1692
|
# DeleteScalingPolicy请求参数结构体
|
1661
1693
|
class DeleteScalingPolicyRequest < TencentCloud::Common::AbstractModel
|
1662
|
-
# @param AutoScalingPolicyId: 待删除的告警策略ID。
|
1694
|
+
# @param AutoScalingPolicyId: 待删除的告警策略ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) ,取返回信息中的 AutoScalingPolicyId 获取告警策略ID。
|
1663
1695
|
# @type AutoScalingPolicyId: String
|
1664
1696
|
|
1665
1697
|
attr_accessor :AutoScalingPolicyId
|
@@ -1769,7 +1801,7 @@ module TencentCloud
|
|
1769
1801
|
# @param ActivityIds: 按照一个或者多个伸缩活动ID查询。伸缩活动ID形如:`asa-5l2ejpfo`。每次请求的上限为100。参数不支持同时指定`ActivityIds`和`Filters`。
|
1770
1802
|
# @type ActivityIds: Array
|
1771
1803
|
# @param Filters: 过滤条件。
|
1772
|
-
# <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
1804
|
+
# <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>
|
1773
1805
|
# <li> activity-status-code - String - 是否必填:否 -(过滤条件)按照伸缩活动状态过滤。(INIT:初始化中|RUNNING:运行中|SUCCESSFUL:活动成功|PARTIALLY_SUCCESSFUL:活动部分成功|FAILED:活动失败|CANCELLED:活动取消)</li>
|
1774
1806
|
# <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>
|
1775
1807
|
# <li> activity-id - String - 是否必填:否 -(过滤条件)按照伸缩活动ID过滤。</li>
|
@@ -1845,7 +1877,7 @@ module TencentCloud
|
|
1845
1877
|
|
1846
1878
|
# DescribeAutoScalingAdvices请求参数结构体
|
1847
1879
|
class DescribeAutoScalingAdvicesRequest < TencentCloud::Common::AbstractModel
|
1848
|
-
# @param AutoScalingGroupIds: 待查询的伸缩组列表,上限100。
|
1880
|
+
# @param AutoScalingGroupIds: 待查询的伸缩组列表,上限100。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
1849
1881
|
# @type AutoScalingGroupIds: Array
|
1850
1882
|
|
1851
1883
|
attr_accessor :AutoScalingGroupIds
|
@@ -1888,7 +1920,7 @@ module TencentCloud
|
|
1888
1920
|
|
1889
1921
|
# DescribeAutoScalingGroupLastActivities请求参数结构体
|
1890
1922
|
class DescribeAutoScalingGroupLastActivitiesRequest < TencentCloud::Common::AbstractModel
|
1891
|
-
# @param AutoScalingGroupIds: 伸缩组ID
|
1923
|
+
# @param AutoScalingGroupIds: 伸缩组ID列表。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
1892
1924
|
# @type AutoScalingGroupIds: Array
|
1893
1925
|
# @param ExcludeCancelledActivity: 查询时排除取消类型活动。默认值为 false,表示不排除取消类型活动。
|
1894
1926
|
# @type ExcludeCancelledActivity: Boolean
|
@@ -1938,13 +1970,14 @@ module TencentCloud
|
|
1938
1970
|
# @param AutoScalingGroupIds: 按照一个或者多个伸缩组ID查询。伸缩组ID形如:`asg-nkdwoui0`。每次请求的上限为100。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。
|
1939
1971
|
# @type AutoScalingGroupIds: Array
|
1940
1972
|
# @param Filters: 过滤条件。
|
1941
|
-
# <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
1973
|
+
# <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。
|
1974
|
+
# 可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
1942
1975
|
# <li> auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称过滤。</li>
|
1943
1976
|
# <li> vague-auto-scaling-group-name - String - 是否必填:否 -(过滤条件)按照伸缩组名称模糊搜索。</li>
|
1944
|
-
# <li> launch-configuration-id - String - 是否必填:否 -(过滤条件)按照启动配置ID
|
1945
|
-
# <li> tag-key - String - 是否必填:否
|
1946
|
-
# <li> tag-value - String - 是否必填:否
|
1947
|
-
# <li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key
|
1977
|
+
# <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>
|
1978
|
+
# <li> tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。</li>
|
1979
|
+
# <li> tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagValue 获取标签值。</li>
|
1980
|
+
# <li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换,请参考示例2。可通过调用接口 [GetTags](https://cloud.tencent.com/document/product/651/72275) ,取返回信息中的 TagKey 获取标签键。</li>
|
1948
1981
|
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingGroupIds`和`Filters`。
|
1949
1982
|
# @type Filters: Array
|
1950
1983
|
# @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -2009,11 +2042,14 @@ module TencentCloud
|
|
2009
2042
|
|
2010
2043
|
# DescribeAutoScalingInstances请求参数结构体
|
2011
2044
|
class DescribeAutoScalingInstancesRequest < TencentCloud::Common::AbstractModel
|
2012
|
-
# @param InstanceIds: 待查询云服务器(CVM)的实例ID
|
2045
|
+
# @param InstanceIds: 待查询云服务器(CVM)的实例ID列表,列表长度上限为100,不支持同时指定 InstanceIds 和 Filters。
|
2046
|
+
# 可以通过以下方式获取可用的实例ID:
|
2047
|
+
# <li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li>
|
2048
|
+
# <li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
2013
2049
|
# @type InstanceIds: Array
|
2014
2050
|
# @param Filters: 过滤条件。
|
2015
|
-
# <li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID
|
2016
|
-
# <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
2051
|
+
# <li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
2052
|
+
# <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>
|
2017
2053
|
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
2018
2054
|
# @type Filters: Array
|
2019
2055
|
# @param Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -2221,7 +2257,7 @@ module TencentCloud
|
|
2221
2257
|
|
2222
2258
|
# DescribeNotificationConfigurations请求参数结构体
|
2223
2259
|
class DescribeNotificationConfigurationsRequest < TencentCloud::Common::AbstractModel
|
2224
|
-
# @param AutoScalingNotificationIds: 按照一个或者多个通知ID
|
2260
|
+
# @param AutoScalingNotificationIds: 按照一个或者多个通知ID查询,列表长度上限为100。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 获取通知ID。参数不支持同时指定`AutoScalingNotificationIds`和`Filters`。
|
2225
2261
|
# @type AutoScalingNotificationIds: Array
|
2226
2262
|
# @param Filters: 过滤条件。
|
2227
2263
|
# <li> auto-scaling-notification-id - String - 是否必填:否 -(过滤条件)按照通知ID过滤。</li>
|
@@ -2365,9 +2401,9 @@ module TencentCloud
|
|
2365
2401
|
# @type AutoScalingPolicyIds: Array
|
2366
2402
|
# @param Filters: 过滤条件。
|
2367
2403
|
# <li> auto-scaling-policy-id - String - 是否必填:否 -(过滤条件)按照告警策略ID过滤。</li>
|
2368
|
-
# <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID
|
2404
|
+
# <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>
|
2369
2405
|
# <li> scaling-policy-name - String - 是否必填:否 -(过滤条件)按照告警策略名称过滤。</li>
|
2370
|
-
# <li> scaling-policy-type - String - 是否必填:否 -(过滤条件)按照告警策略类型过滤,取值范围为SIMPLE,TARGET_TRACKING
|
2406
|
+
# <li> scaling-policy-type - String - 是否必填:否 -(过滤条件)按照告警策略类型过滤,取值范围为SIMPLE,TARGET_TRACKING。两者分别表示简单策略和目标追踪策略。</li>
|
2371
2407
|
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AutoScalingPolicyIds`和`Filters`。
|
2372
2408
|
# @type Filters: Array
|
2373
2409
|
# @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -2545,11 +2581,11 @@ module TencentCloud
|
|
2545
2581
|
|
2546
2582
|
# DetachLoadBalancers请求参数结构体
|
2547
2583
|
class DetachLoadBalancersRequest < TencentCloud::Common::AbstractModel
|
2548
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
2584
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
2549
2585
|
# @type AutoScalingGroupId: String
|
2550
|
-
# @param LoadBalancerIds: 传统负载均衡器ID列表,列表长度上限为20,LoadBalancerIds 和 ForwardLoadBalancerIdentifications
|
2586
|
+
# @param LoadBalancerIds: 传统负载均衡器ID列表,列表长度上限为20,LoadBalancerIds 和 ForwardLoadBalancerIdentifications 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2551
2587
|
# @type LoadBalancerIds: Array
|
2552
|
-
# @param ForwardLoadBalancerIdentifications:
|
2588
|
+
# @param ForwardLoadBalancerIdentifications: 负载均衡器标识信息列表,列表长度上限为100,LoadBalancerIds 和 ForwardLoadBalancerIdentifications二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2553
2589
|
# @type ForwardLoadBalancerIdentifications: Array
|
2554
2590
|
|
2555
2591
|
attr_accessor :AutoScalingGroupId, :LoadBalancerIds, :ForwardLoadBalancerIdentifications
|
@@ -2636,7 +2672,7 @@ module TencentCloud
|
|
2636
2672
|
|
2637
2673
|
# DisableAutoScalingGroup请求参数结构体
|
2638
2674
|
class DisableAutoScalingGroupRequest < TencentCloud::Common::AbstractModel
|
2639
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
2675
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
2640
2676
|
# @type AutoScalingGroupId: String
|
2641
2677
|
|
2642
2678
|
attr_accessor :AutoScalingGroupId
|
@@ -2668,7 +2704,7 @@ module TencentCloud
|
|
2668
2704
|
|
2669
2705
|
# EnableAutoScalingGroup请求参数结构体
|
2670
2706
|
class EnableAutoScalingGroupRequest < TencentCloud::Common::AbstractModel
|
2671
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
2707
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
2672
2708
|
# @type AutoScalingGroupId: String
|
2673
2709
|
|
2674
2710
|
attr_accessor :AutoScalingGroupId
|
@@ -2791,7 +2827,7 @@ module TencentCloud
|
|
2791
2827
|
|
2792
2828
|
# ExecuteScalingPolicy请求参数结构体
|
2793
2829
|
class ExecuteScalingPolicyRequest < TencentCloud::Common::AbstractModel
|
2794
|
-
# @param AutoScalingPolicyId: 告警伸缩策略ID
|
2830
|
+
# @param AutoScalingPolicyId: 告警伸缩策略ID,不支持目标追踪策略。可通过 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) 接口返回的 `ScalingPolicyType ` 参数获取告警策略类型。
|
2795
2831
|
# @type AutoScalingPolicyId: String
|
2796
2832
|
# @param HonorCooldown: 是否检查伸缩组活动处于冷却时间内,默认值为false
|
2797
2833
|
# @type HonorCooldown: Boolean
|
@@ -2910,13 +2946,13 @@ module TencentCloud
|
|
2910
2946
|
|
2911
2947
|
# 应用型负载均衡器
|
2912
2948
|
class ForwardLoadBalancer < TencentCloud::Common::AbstractModel
|
2913
|
-
# @param LoadBalancerId: 负载均衡器ID
|
2949
|
+
# @param LoadBalancerId: 负载均衡器ID。作为入参时,该参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2914
2950
|
# @type LoadBalancerId: String
|
2915
|
-
# @param ListenerId:
|
2951
|
+
# @param ListenerId: 负载均衡监听器 ID。作为入参时,该参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2916
2952
|
# @type ListenerId: String
|
2917
|
-
# @param TargetAttributes:
|
2953
|
+
# @param TargetAttributes: 目标规则属性列表。作为入参时,该参数必填。
|
2918
2954
|
# @type TargetAttributes: Array
|
2919
|
-
# @param LocationId: 转发规则ID
|
2955
|
+
# @param LocationId: 转发规则ID,注意:针对七层监听器此参数必填。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
2920
2956
|
# @type LocationId: String
|
2921
2957
|
# @param Region: 负载均衡实例所属地域,默认取AS服务所在地域。格式与公共参数Region相同,如:"ap-guangzhou"。
|
2922
2958
|
# @type Region: String
|
@@ -3067,7 +3103,10 @@ module TencentCloud
|
|
3067
3103
|
# <li>IN_LAUNCHING_HOOK:扩容生命周期挂钩中</li>
|
3068
3104
|
# <li>IN_TERMINATING_HOOK:缩容生命周期挂钩中</li>
|
3069
3105
|
# @type LifeCycleState: String
|
3070
|
-
# @param HealthStatus:
|
3106
|
+
# @param HealthStatus: 健康状态,取值范围如下:
|
3107
|
+
# <li>HEALTHY:实例处于健康状态</li>
|
3108
|
+
# <li>UNHEALTHY:实例 ping 不可达</li>
|
3109
|
+
# <li>CLB_UNHEALTHY:CLB 监听的实例端口不健康</li>
|
3071
3110
|
# @type HealthStatus: String
|
3072
3111
|
# @param ProtectedFromScaleIn: 是否加入缩容保护
|
3073
3112
|
# @type ProtectedFromScaleIn: Boolean
|
@@ -3075,7 +3114,7 @@ module TencentCloud
|
|
3075
3114
|
# @type Zone: String
|
3076
3115
|
# @param CreationType: 创建类型,取值包括AUTO_CREATION, MANUAL_ATTACHING。
|
3077
3116
|
# @type CreationType: String
|
3078
|
-
# @param AddTime:
|
3117
|
+
# @param AddTime: 实例加入时间,按照ISO8601标准表示,并且使用UTC时间。
|
3079
3118
|
# @type AddTime: String
|
3080
3119
|
# @param InstanceType: 实例类型
|
3081
3120
|
# @type InstanceType: String
|
@@ -3340,7 +3379,7 @@ module TencentCloud
|
|
3340
3379
|
# @param UserData: 自定义数据。
|
3341
3380
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3342
3381
|
# @type UserData: String
|
3343
|
-
# @param CreatedTime:
|
3382
|
+
# @param CreatedTime: 启动配置创建时间,为标准`UTC`时间。
|
3344
3383
|
# @type CreatedTime: String
|
3345
3384
|
# @param EnhancedService: 实例的增强服务启用情况与其设置。
|
3346
3385
|
# @type EnhancedService: :class:`Tencentcloud::As.v20180419.models.EnhancedService`
|
@@ -3348,7 +3387,11 @@ module TencentCloud
|
|
3348
3387
|
# @type ImageId: String
|
3349
3388
|
# @param LaunchConfigurationStatus: 启动配置当前状态。取值范围:<li>NORMAL:正常</li><li>IMAGE_ABNORMAL:启动配置镜像异常</li><li>CBS_SNAP_ABNORMAL:启动配置数据盘快照异常</li><li>SECURITY_GROUP_ABNORMAL:启动配置安全组异常</li>
|
3350
3389
|
# @type LaunchConfigurationStatus: String
|
3351
|
-
# @param InstanceChargeType:
|
3390
|
+
# @param InstanceChargeType: 实例计费类型,取值范围如下:
|
3391
|
+
# <li>POSTPAID_BY_HOUR:按小时后付费</li>
|
3392
|
+
# <li>SPOTPAID:竞价付费</li>
|
3393
|
+
# <li>PREPAID:预付费,即包年包月</li>
|
3394
|
+
# <li>CDCPAID:专用集群付费</li>
|
3352
3395
|
# @type InstanceChargeType: String
|
3353
3396
|
# @param InstanceMarketOptions: 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。
|
3354
3397
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3357,13 +3400,13 @@ module TencentCloud
|
|
3357
3400
|
# @type InstanceTypes: Array
|
3358
3401
|
# @param InstanceTags: 实例标签列表。扩容出来的实例会自动带上标签,最多支持10个标签。
|
3359
3402
|
# @type InstanceTags: Array
|
3360
|
-
# @param Tags:
|
3403
|
+
# @param Tags: 标签列表,该参数内的标签仅用于绑定启动配置,不会传递给基于该启动配置扩容的 CVM 实例。
|
3361
3404
|
# @type Tags: Array
|
3362
3405
|
# @param VersionNumber: 版本号。
|
3363
3406
|
# @type VersionNumber: Integer
|
3364
|
-
# @param UpdatedTime:
|
3407
|
+
# @param UpdatedTime: 更新时间,为标准`UTC`时间。
|
3365
3408
|
# @type UpdatedTime: String
|
3366
|
-
# @param CamRoleName: CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
3409
|
+
# @param CamRoleName: CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
3367
3410
|
# @type CamRoleName: String
|
3368
3411
|
# @param LastOperationInstanceTypesCheckPolicy: 上次操作时,InstanceTypesCheckPolicy 取值。
|
3369
3412
|
# @type LastOperationInstanceTypesCheckPolicy: String
|
@@ -3685,7 +3728,7 @@ module TencentCloud
|
|
3685
3728
|
# - 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
3686
3729
|
# 特殊符号的取值范围: [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]
|
3687
3730
|
# @type Password: String
|
3688
|
-
# @param KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
3731
|
+
# @param KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
|
3689
3732
|
# @type KeyIds: Array
|
3690
3733
|
# @param KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:
|
3691
3734
|
# <li>TRUE:表示保持镜像的登录设置</li>
|
@@ -3792,29 +3835,33 @@ module TencentCloud
|
|
3792
3835
|
|
3793
3836
|
# ModifyAutoScalingGroup请求参数结构体
|
3794
3837
|
class ModifyAutoScalingGroupRequest < TencentCloud::Common::AbstractModel
|
3795
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
3838
|
+
# @param AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
3839
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
3840
|
+
# <li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
3796
3841
|
# @type AutoScalingGroupId: String
|
3797
3842
|
# @param AutoScalingGroupName: 伸缩组名称,在您账号中必须唯一。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超55个字节。
|
3798
3843
|
# @type AutoScalingGroupName: String
|
3799
|
-
# @param DefaultCooldown:
|
3844
|
+
# @param DefaultCooldown: 默认冷却时间,单位秒,取值范围 [0,3600],默认值为300。
|
3800
3845
|
# @type DefaultCooldown: Integer
|
3801
|
-
# @param DesiredCapacity:
|
3846
|
+
# @param DesiredCapacity: 期望实例数,取值范围 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
3802
3847
|
# @type DesiredCapacity: Integer
|
3803
|
-
# @param LaunchConfigurationId: 启动配置ID
|
3848
|
+
# @param LaunchConfigurationId: 启动配置ID。可以通过如下方式获取可用的启动配置ID:
|
3849
|
+
# <li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 查询启动配置ID。</li>
|
3850
|
+
# <li>通过调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。</li>
|
3804
3851
|
# @type LaunchConfigurationId: String
|
3805
|
-
# @param MaxSize: 最大实例数,取值范围为0
|
3852
|
+
# @param MaxSize: 最大实例数,取值范围为 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
3806
3853
|
# @type MaxSize: Integer
|
3807
|
-
# @param MinSize: 最小实例数,取值范围为0
|
3854
|
+
# @param MinSize: 最小实例数,取值范围为 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
3808
3855
|
# @type MinSize: Integer
|
3809
|
-
# @param ProjectId: 项目ID
|
3856
|
+
# @param ProjectId: 项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 ProjectId 字段来获取。默认值为 0,表示使用默认项目。
|
3810
3857
|
# @type ProjectId: Integer
|
3811
|
-
# @param SubnetIds: 子网ID
|
3858
|
+
# @param SubnetIds: 子网ID列表。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的SubnetId字段获取。
|
3812
3859
|
# @type SubnetIds: Array
|
3813
3860
|
# @param TerminationPolicies: 销毁策略,目前长度上限为1。取值包括 OLDEST_INSTANCE 和 NEWEST_INSTANCE。
|
3814
3861
|
# <li> OLDEST_INSTANCE 优先销毁伸缩组中最旧的实例。</li>
|
3815
3862
|
# <li> NEWEST_INSTANCE,优先销毁伸缩组中最新的实例。</li>
|
3816
3863
|
# @type TerminationPolicies: Array
|
3817
|
-
# @param VpcId:
|
3864
|
+
# @param VpcId: 私有网络ID。修改私有网络时,需将 SubnetIds 参数同步修改为该私有网络的子网。有效的 VpcId 可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc)查询;也可以调用接口 [DescribeVpc](https://cloud.tencent.com/document/api/215/15778) ,从接口返回中的 VpcId 字段获取。
|
3818
3865
|
# @type VpcId: String
|
3819
3866
|
# @param Zones: 可用区列表
|
3820
3867
|
# @type Zones: Array
|
@@ -3832,7 +3879,7 @@ module TencentCloud
|
|
3832
3879
|
# @type ZonesCheckPolicy: String
|
3833
3880
|
# @param ServiceSettings: 服务设置,包括云监控不健康替换等服务设置。
|
3834
3881
|
# @type ServiceSettings: :class:`Tencentcloud::As.v20180419.models.ServiceSettings`
|
3835
|
-
# @param Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括0、1。
|
3882
|
+
# @param Ipv6AddressCount: 实例具有IPv6地址数量的配置,取值包括0、1。默认值为 0,表示实例不分配 IPv6 地址。需使用支持 IPv6 的私有网络,需在子网中开启 IPv6 CIDR,其他使用限制可参考 [IPv6使用限制](https://cloud.tencent.com/document/product/1142/38369)。
|
3836
3883
|
# @type Ipv6AddressCount: Integer
|
3837
3884
|
# @param MultiZoneSubnetPolicy: 多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY。
|
3838
3885
|
# <li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。</li>
|
@@ -3945,13 +3992,13 @@ module TencentCloud
|
|
3945
3992
|
|
3946
3993
|
# ModifyDesiredCapacity请求参数结构体
|
3947
3994
|
class ModifyDesiredCapacityRequest < TencentCloud::Common::AbstractModel
|
3948
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
3995
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
3949
3996
|
# @type AutoScalingGroupId: String
|
3950
|
-
# @param DesiredCapacity:
|
3997
|
+
# @param DesiredCapacity: 期望实例数,取值范围 [0,2000]。需满足最大值大于等于期望值,期望值大于等于最小值。
|
3951
3998
|
# @type DesiredCapacity: Integer
|
3952
|
-
# @param MinSize: 最小实例数,取值范围为0-2000
|
3999
|
+
# @param MinSize: 最小实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
3953
4000
|
# @type MinSize: Integer
|
3954
|
-
# @param MaxSize: 最大实例数,取值范围为0-2000
|
4001
|
+
# @param MaxSize: 最大实例数,取值范围为0-2000。需满足最大值大于等于期望值,期望值大于等于最小值。
|
3955
4002
|
# @type MaxSize: Integer
|
3956
4003
|
|
3957
4004
|
attr_accessor :AutoScalingGroupId, :DesiredCapacity, :MinSize, :MaxSize
|
@@ -3989,12 +4036,12 @@ module TencentCloud
|
|
3989
4036
|
|
3990
4037
|
# ModifyLaunchConfigurationAttributes请求参数结构体
|
3991
4038
|
class ModifyLaunchConfigurationAttributesRequest < TencentCloud::Common::AbstractModel
|
3992
|
-
# @param LaunchConfigurationId: 启动配置ID
|
4039
|
+
# @param LaunchConfigurationId: 启动配置ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/config) 或调用接口 [DescribeLaunchConfigurations](https://cloud.tencent.com/document/api/377/20445) ,取返回信息中的 LaunchConfigurationId 获取启动配置ID。
|
3993
4040
|
# @type LaunchConfigurationId: String
|
3994
4041
|
# @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>
|
3995
4042
|
# @type ImageId: String
|
3996
4043
|
# @param InstanceTypes: 实例类型列表,不同实例机型指定了不同的资源规格,最多支持10种实例机型。
|
3997
|
-
# InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定多实例类型,并使原有的InstanceType
|
4044
|
+
# InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定多实例类型,并使原有的InstanceType失效。具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格描述](https://cloud.tencent.com/document/product/213/11518)。
|
3998
4045
|
# @type InstanceTypes: Array
|
3999
4046
|
# @param InstanceTypesCheckPolicy: 实例类型校验策略,在实际修改 InstanceTypes 时发挥作用,取值包括 ALL 和 ANY,默认取值为ANY。
|
4000
4047
|
# <li> ALL,所有实例类型(InstanceType)都可用则通过校验,否则校验报错。</li>
|
@@ -4048,21 +4095,21 @@ module TencentCloud
|
|
4048
4095
|
# @type InstanceNameSettings: :class:`Tencentcloud::As.v20180419.models.InstanceNameSettings`
|
4049
4096
|
# @param EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
|
4050
4097
|
# @type EnhancedService: :class:`Tencentcloud::As.v20180419.models.EnhancedService`
|
4051
|
-
# @param CamRoleName: CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
|
4098
|
+
# @param CamRoleName: CAM角色名称。可通过[DescribeRoleList](https://cloud.tencent.com/document/product/598/36223)接口返回值中的roleName获取。
|
4052
4099
|
# @type CamRoleName: String
|
4053
|
-
# @param HpcClusterId: 高性能计算集群ID
|
4100
|
+
# @param HpcClusterId: 高性能计算集群ID。可通过调用[DescribeHpcClusters](https://cloud.tencent.com/document/product/213/83220)接口获取该参数。
|
4054
4101
|
# 注意:此字段默认为空。
|
4055
4102
|
# @type HpcClusterId: String
|
4056
4103
|
# @param IPv6InternetAccessible: IPv6公网带宽相关信息设置。若新建实例包含IPv6地址,该参数可为新建实例的IPv6地址分配公网带宽。关联启动配置的伸缩组Ipv6AddressCount参数为0时,该参数不会生效。
|
4057
4104
|
# @type IPv6InternetAccessible: :class:`Tencentcloud::As.v20180419.models.IPv6InternetAccessible`
|
4058
|
-
# @param DisasterRecoverGroupIds: 置放群组id
|
4105
|
+
# @param DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。可通过调用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810)接口获取该参数。
|
4059
4106
|
# @type DisasterRecoverGroupIds: Array
|
4060
4107
|
# @param LoginSettings: 实例登录设置,包括密码、密钥或保持镜像的原始登录设置。<br>请注意,指定新的登录设置会覆盖原有登录设置。例如,如果您之前使用密码登录,使用该参数将登录设置修改为密钥,则原有密码被清除。
|
4061
4108
|
# @type LoginSettings: :class:`Tencentcloud::As.v20180419.models.LoginSettings`
|
4062
4109
|
# @param InstanceTags: 实例标签列表。通过指定该参数,可以为扩容的实例绑定标签。最多支持指定10个标签。
|
4063
4110
|
# 该参数会覆盖原有的实例标签列表,如需新增标签,需将新标签和原有标签一并传入。
|
4064
4111
|
# @type InstanceTags: Array
|
4065
|
-
# @param ImageFamily:
|
4112
|
+
# @param ImageFamily: 镜像族名称。可通过调用[DescribeImages](https://cloud.tencent.com/document/product/213/15715)接口获取该参数。
|
4066
4113
|
# @type ImageFamily: String
|
4067
4114
|
# @param DedicatedClusterId: 本地专用集群ID。
|
4068
4115
|
# @type DedicatedClusterId: String
|
@@ -4266,9 +4313,9 @@ module TencentCloud
|
|
4266
4313
|
|
4267
4314
|
# ModifyLoadBalancerTargetAttributes请求参数结构体
|
4268
4315
|
class ModifyLoadBalancerTargetAttributesRequest < TencentCloud::Common::AbstractModel
|
4269
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
4316
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
4270
4317
|
# @type AutoScalingGroupId: String
|
4271
|
-
# @param ForwardLoadBalancers:
|
4318
|
+
# @param ForwardLoadBalancers: 需修改目标规则属性的负载均衡器列表,列表长度上限为100。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
4272
4319
|
# @type ForwardLoadBalancers: Array
|
4273
4320
|
|
4274
4321
|
attr_accessor :AutoScalingGroupId, :ForwardLoadBalancers
|
@@ -4313,11 +4360,11 @@ module TencentCloud
|
|
4313
4360
|
|
4314
4361
|
# ModifyLoadBalancers请求参数结构体
|
4315
4362
|
class ModifyLoadBalancersRequest < TencentCloud::Common::AbstractModel
|
4316
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
4363
|
+
# @param AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
4317
4364
|
# @type AutoScalingGroupId: String
|
4318
|
-
# @param LoadBalancerIds: 传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers
|
4365
|
+
# @param LoadBalancerIds: 传统负载均衡器ID列表,目前长度上限为20,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
4319
4366
|
# @type LoadBalancerIds: Array
|
4320
|
-
# @param ForwardLoadBalancers:
|
4367
|
+
# @param ForwardLoadBalancers: 负载均衡器列表,目前长度上限为100,LoadBalancerIds 和 ForwardLoadBalancers 二者同时最多只能指定一个。可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取。
|
4321
4368
|
# @type ForwardLoadBalancers: Array
|
4322
4369
|
# @param LoadBalancersCheckPolicy: 负载均衡器校验策略,取值包括 ALL 和 DIFF,默认取值为 ALL。
|
4323
4370
|
# <li> ALL,所有负载均衡器都合法则通过校验,否则校验报错。</li>
|
@@ -4370,7 +4417,7 @@ module TencentCloud
|
|
4370
4417
|
|
4371
4418
|
# ModifyNotificationConfiguration请求参数结构体
|
4372
4419
|
class ModifyNotificationConfigurationRequest < TencentCloud::Common::AbstractModel
|
4373
|
-
# @param AutoScalingNotificationId: 待修改的通知ID。
|
4420
|
+
# @param AutoScalingNotificationId: 待修改的通知ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeNotificationConfigurations](https://cloud.tencent.com/document/api/377/33183) ,取返回信息中的 AutoScalingNotificationId 获取通知ID。
|
4374
4421
|
# @type AutoScalingNotificationId: String
|
4375
4422
|
# @param NotificationTypes: 通知类型,即为需要订阅的通知类型集合,取值范围如下:
|
4376
4423
|
# <li>SCALE_OUT_SUCCESSFUL:扩容成功</li>
|
@@ -4380,11 +4427,11 @@ module TencentCloud
|
|
4380
4427
|
# <li>REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功</li>
|
4381
4428
|
# <li>REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败</li>
|
4382
4429
|
# @type NotificationTypes: Array
|
4383
|
-
# @param NotificationUserGroupIds: 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)
|
4430
|
+
# @param NotificationUserGroupIds: 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 `TargetType ` 为 `USER_GROUP ` 时生效。
|
4384
4431
|
# @type NotificationUserGroupIds: Array
|
4385
|
-
# @param QueueName: CMQ
|
4432
|
+
# @param QueueName: TDMQ CMQ 队列名。[原CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。该参数仅在 `TargetType ` 为 `TDMQ_CMQ_QUEUE ` 时生效。
|
4386
4433
|
# @type QueueName: String
|
4387
|
-
# @param TopicName: CMQ
|
4434
|
+
# @param TopicName: TDMQ CMQ 主题名。[原CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。该参数仅在 `TargetType ` 为 `TDMQ_CMQ_TOPIC ` 时生效。
|
4388
4435
|
# @type TopicName: String
|
4389
4436
|
|
4390
4437
|
attr_accessor :AutoScalingNotificationId, :NotificationTypes, :NotificationUserGroupIds, :QueueName, :TopicName
|
@@ -4424,9 +4471,9 @@ module TencentCloud
|
|
4424
4471
|
|
4425
4472
|
# ModifyScalingPolicy请求参数结构体
|
4426
4473
|
class ModifyScalingPolicyRequest < TencentCloud::Common::AbstractModel
|
4427
|
-
# @param AutoScalingPolicyId: 告警策略ID。
|
4474
|
+
# @param AutoScalingPolicyId: 告警策略ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeScalingPolicies](https://cloud.tencent.com/document/api/377/33178) ,取返回信息中的 AutoScalingPolicyId 获取告警策略ID。
|
4428
4475
|
# @type AutoScalingPolicyId: String
|
4429
|
-
# @param ScalingPolicyName:
|
4476
|
+
# @param ScalingPolicyName: 告警策略名称,在您账号中必须唯一。名称长度不能超过60,名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点。
|
4430
4477
|
# @type ScalingPolicyName: String
|
4431
4478
|
# @param AdjustmentType: 告警触发后,期望实例数修改方式,仅适用于简单策略。取值范围:<br><li>CHANGE_IN_CAPACITY:增加或减少若干期望实例数</li><li>EXACT_CAPACITY:调整至指定期望实例数</li> <li>PERCENT_CHANGE_IN_CAPACITY:按百分比调整期望实例数</li>
|
4432
4479
|
# @type AdjustmentType: String
|
@@ -4561,8 +4608,8 @@ module TencentCloud
|
|
4561
4608
|
# 通知目标
|
4562
4609
|
class NotificationTarget < TencentCloud::Common::AbstractModel
|
4563
4610
|
# @param TargetType: 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`、`TDMQ_CMQ_QUEUE`、`TDMQ_CMQ_TOPIC`。
|
4564
|
-
# <li> CMQ_QUEUE
|
4565
|
-
# <li> CMQ_TOPIC
|
4611
|
+
# <li> CMQ_QUEUE,指腾讯云消息队列-队列模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_QUEUE 使用。</li>
|
4612
|
+
# <li> CMQ_TOPIC,指腾讯云消息队列-主题模型,对应产品已下线,[建议切换](https://cloud.tencent.com/document/product/1496/83970) TDMQ_CMQ_TOPIC 使用。</li>
|
4566
4613
|
# <li> TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。</li>
|
4567
4614
|
# <li> TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。</li>
|
4568
4615
|
# @type TargetType: String
|
@@ -4596,7 +4643,9 @@ module TencentCloud
|
|
4596
4643
|
# @type OriginRefreshActivityId: String
|
4597
4644
|
# @param RefreshBatchSet: 刷新批次信息列表。
|
4598
4645
|
# @type RefreshBatchSet: Array
|
4599
|
-
# @param RefreshMode:
|
4646
|
+
# @param RefreshMode: 刷新模式。取值范围如下:
|
4647
|
+
# <li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
4648
|
+
# <li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
4600
4649
|
# @type RefreshMode: String
|
4601
4650
|
# @param RefreshSettings: 实例更新设置参数。
|
4602
4651
|
# @type RefreshSettings: :class:`Tencentcloud::As.v20180419.models.RefreshSettings`
|
@@ -4616,13 +4665,13 @@ module TencentCloud
|
|
4616
4665
|
# @type Status: String
|
4617
4666
|
# @param CurrentRefreshBatchNum: 当前刷新批次序号。例如,2 表示当前活动正在刷新第二批次的实例。
|
4618
4667
|
# @type CurrentRefreshBatchNum: Integer
|
4619
|
-
# @param StartTime:
|
4668
|
+
# @param StartTime: 刷新活动开始时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
4620
4669
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4621
4670
|
# @type StartTime: String
|
4622
|
-
# @param EndTime:
|
4671
|
+
# @param EndTime: 刷新活动结束时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
4623
4672
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4624
4673
|
# @type EndTime: String
|
4625
|
-
# @param CreatedTime:
|
4674
|
+
# @param CreatedTime: 刷新活动创建时间,为标准 `UTC` 时间,格式形如 `YYYY-MM-DDTHH:mm:ssZ`。
|
4626
4675
|
# @type CreatedTime: String
|
4627
4676
|
|
4628
4677
|
attr_accessor :AutoScalingGroupId, :RefreshActivityId, :OriginRefreshActivityId, :RefreshBatchSet, :RefreshMode, :RefreshSettings, :ActivityType, :Status, :CurrentRefreshBatchNum, :StartTime, :EndTime, :CreatedTime
|
@@ -5112,7 +5161,7 @@ module TencentCloud
|
|
5112
5161
|
# @type AdjustmentType: String
|
5113
5162
|
# @param AdjustmentValue: 告警触发后,期望实例数的调整值,仅适用于简单策略。
|
5114
5163
|
# @type AdjustmentValue: Integer
|
5115
|
-
# @param Cooldown:
|
5164
|
+
# @param Cooldown: 冷却时间,单位为秒,仅适用于简单策略。取值范围 [0,3600],默认冷却时间300秒。
|
5116
5165
|
# @type Cooldown: Integer
|
5117
5166
|
# @param MetricAlarm: 简单告警触发策略告警监控指标,仅适用于简单策略。
|
5118
5167
|
# @type MetricAlarm: :class:`Tencentcloud::As.v20180419.models.MetricAlarm`
|
@@ -5576,6 +5625,9 @@ module TencentCloud
|
|
5576
5625
|
# <li>CLOUD_BASIC:普通云硬盘</li>
|
5577
5626
|
# <li>CLOUD_PREMIUM:高性能云硬盘</li>
|
5578
5627
|
# <li>CLOUD_SSD:SSD云硬盘</li>
|
5628
|
+
# <li>CLOUD_BSSD:通用型SSD云硬盘</li>
|
5629
|
+
# <li>CLOUD_HSSD:增强型SSD云硬盘</li>
|
5630
|
+
# <li>CLOUD_TSSD:极速型SSD云硬盘</li>
|
5579
5631
|
# <li>默认取值:CLOUD_PREMIUM。</li>
|
5580
5632
|
# @type DiskType: String
|
5581
5633
|
# @param DiskSize: 系统盘大小,单位:GB。默认值为 50
|
@@ -5600,7 +5652,7 @@ module TencentCloud
|
|
5600
5652
|
# @type Key: String
|
5601
5653
|
# @param Value: 标签值
|
5602
5654
|
# @type Value: String
|
5603
|
-
# @param ResourceType: 标签绑定的资源类型,当前支持类型:"auto-scaling-group", "launch-configuration"
|
5655
|
+
# @param ResourceType: 标签绑定的资源类型,当前支持类型:"auto-scaling-group", "launch-configuration"。分别表示:伸缩组资源,启动配置资源。
|
5604
5656
|
# @type ResourceType: String
|
5605
5657
|
|
5606
5658
|
attr_accessor :Key, :Value, :ResourceType
|
@@ -5620,9 +5672,9 @@ module TencentCloud
|
|
5620
5672
|
|
5621
5673
|
# 负载均衡器目标属性
|
5622
5674
|
class TargetAttribute < TencentCloud::Common::AbstractModel
|
5623
|
-
# @param Port:
|
5675
|
+
# @param Port: 端口。取值范围为 [1,65535]。作为入参时,该参数必填。
|
5624
5676
|
# @type Port: Integer
|
5625
|
-
# @param Weight:
|
5677
|
+
# @param Weight: 权重。取值范围为 [0,100]。作为入参时,该参数必填。
|
5626
5678
|
# @type Weight: Integer
|
5627
5679
|
|
5628
5680
|
attr_accessor :Port, :Weight
|
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.1060
|
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-05-
|
11
|
+
date: 2025-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|