tencentcloud-sdk-as 3.0.615 → 3.0.616

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180419/models.rb +41 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45449f8b3eee9c43af5767cf4d8dbce9a8af1ce3
4
- data.tar.gz: 19ef2a9f05f93a5b2f919ae827009ed7a185195b
3
+ metadata.gz: d69f82985c28f1f2933e33f6fc36b16ee4015b8e
4
+ data.tar.gz: 1718d84707c018141e086fb0c21fef244cfbaac0
5
5
  SHA512:
6
- metadata.gz: 9c6e167b8acacb9ea550791b1720bb039ea29e019ace0909a2b1434b8ff41da07b4ba51c0e25d8f686f44fab9ab6bceb76897210c4723c2b2d6ac9255f4e1f30
7
- data.tar.gz: 7748e9e86480f98520e2a5083c4f8fc01d34cbabe17ea5be92e1a4f1be4d28369bc782a0c37a923f3b9473bd8381902d2bc760da3da320e542d2da845a8d88a1
6
+ metadata.gz: cdd48c6b9d8fcb793c44c4e04053e351f5d23b199c2e5649d672d052e1e15829a3de827aab05e86bd3979313798cb652dfb652daee0f692a1d6ed28b0bbd371e
7
+ data.tar.gz: e5ece3a3156988cfd80e09d031b2f6078cfe936aa736ab40bf619a49ef8690af392650751359017eee5bec2fa9a98034d2246a81039f089c1dd55c401b036ff8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.615
1
+ 3.0.616
@@ -49,7 +49,7 @@ module TencentCloud
49
49
  # @type EndTime: String
50
50
  # @param CreatedTime: 伸缩活动创建时间。
51
51
  # @type CreatedTime: String
52
- # @param ActivityRelatedInstanceSet: 伸缩活动相关实例信息集合。
52
+ # @param ActivityRelatedInstanceSet: 该参数已废弃,请勿使用。
53
53
  # @type ActivityRelatedInstanceSet: Array
54
54
  # @param StatusMessageSimplified: 伸缩活动状态简要描述。
55
55
  # @type StatusMessageSimplified: String
@@ -59,10 +59,15 @@ module TencentCloud
59
59
  # @type DetailedStatusMessageSet: Array
60
60
  # @param InvocationResultSet: 执行命令结果。
61
61
  # @type InvocationResultSet: Array
62
+ # @param RelatedInstanceSet: 伸缩活动相关实例信息集合。
63
+ # @type RelatedInstanceSet: Array
62
64
 
63
- attr_accessor :AutoScalingGroupId, :ActivityId, :ActivityType, :StatusCode, :StatusMessage, :Cause, :Description, :StartTime, :EndTime, :CreatedTime, :ActivityRelatedInstanceSet, :StatusMessageSimplified, :LifecycleActionResultSet, :DetailedStatusMessageSet, :InvocationResultSet
65
+ attr_accessor :AutoScalingGroupId, :ActivityId, :ActivityType, :StatusCode, :StatusMessage, :Cause, :Description, :StartTime, :EndTime, :CreatedTime, :ActivityRelatedInstanceSet, :StatusMessageSimplified, :LifecycleActionResultSet, :DetailedStatusMessageSet, :InvocationResultSet, :RelatedInstanceSet
66
+ extend Gem::Deprecate
67
+ deprecate :ActivityRelatedInstanceSet, :none, 2023, 7
68
+ deprecate :ActivityRelatedInstanceSet=, :none, 2023, 7
64
69
 
65
- 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)
70
+ 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)
66
71
  @AutoScalingGroupId = autoscalinggroupid
67
72
  @ActivityId = activityid
68
73
  @ActivityType = activitytype
@@ -78,6 +83,7 @@ module TencentCloud
78
83
  @LifecycleActionResultSet = lifecycleactionresultset
79
84
  @DetailedStatusMessageSet = detailedstatusmessageset
80
85
  @InvocationResultSet = invocationresultset
86
+ @RelatedInstanceSet = relatedinstanceset
81
87
  end
82
88
 
83
89
  def deserialize(params)
@@ -124,6 +130,14 @@ module TencentCloud
124
130
  @InvocationResultSet << invocationresult_tmp
125
131
  end
126
132
  end
133
+ unless params['RelatedInstanceSet'].nil?
134
+ @RelatedInstanceSet = []
135
+ params['RelatedInstanceSet'].each do |i|
136
+ relatedinstance_tmp = RelatedInstance.new
137
+ relatedinstance_tmp.deserialize(i)
138
+ @RelatedInstanceSet << relatedinstance_tmp
139
+ end
140
+ end
127
141
  end
128
142
  end
129
143
 
@@ -4157,6 +4171,30 @@ module TencentCloud
4157
4171
  end
4158
4172
  end
4159
4173
 
4174
+ # 与本次伸缩活动相关的实例信息。
4175
+ class RelatedInstance < TencentCloud::Common::AbstractModel
4176
+ # @param InstanceId: 实例ID。
4177
+ # @type InstanceId: String
4178
+ # @param InstanceStatus: 实例在伸缩活动中的状态。取值如下:
4179
+ # INIT:初始化中
4180
+ # RUNNING:实例操作中
4181
+ # SUCCESSFUL:活动成功
4182
+ # FAILED:活动失败
4183
+ # @type InstanceStatus: String
4184
+
4185
+ attr_accessor :InstanceId, :InstanceStatus
4186
+
4187
+ def initialize(instanceid=nil, instancestatus=nil)
4188
+ @InstanceId = instanceid
4189
+ @InstanceStatus = instancestatus
4190
+ end
4191
+
4192
+ def deserialize(params)
4193
+ @InstanceId = params['InstanceId']
4194
+ @InstanceStatus = params['InstanceStatus']
4195
+ end
4196
+ end
4197
+
4160
4198
  # RemoveInstances请求参数结构体
4161
4199
  class RemoveInstancesRequest < TencentCloud::Common::AbstractModel
4162
4200
  # @param AutoScalingGroupId: 伸缩组ID
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.615
4
+ version: 3.0.616
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-18 00:00:00.000000000 Z
11
+ date: 2023-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common