tencentcloud-sdk-tic 1.0.200

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6bc31223004ff02666cbacf02442157f339b0baf
4
+ data.tar.gz: 6add8592191628f1d4e8f25dc36433ccb8210a9d
5
+ SHA512:
6
+ metadata.gz: ba8c9b3583c8b5c383bb3815278e8efaea8fc013ace7669527177c4664309320c778f10b2da929caf3521defebd66af96b660e7020185814cd658d0a64123b50
7
+ data.tar.gz: db1c8ebf9b080119db392da52d840748f87068405834ac516df0dfe4502fab1cde6fb57824b0081cb344e0d7909c06d962082e8e47401daf1a24d33f66e5bb21
data/lib/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.200
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tencentcloud-sdk-common'
4
+
5
+ require_relative 'v20201117/client'
6
+ require_relative 'v20201117/models'
7
+
8
+ module TencentCloud
9
+ module Tic
10
+ end
11
+ end
@@ -0,0 +1,365 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ require 'json'
18
+
19
+ module TencentCloud
20
+ module Tic
21
+ module V20201117
22
+ class Client < TencentCloud::Common::AbstractClient
23
+
24
+ def initialize(credential, region, profile = nil)
25
+ api_version = '2020-11-17'
26
+ api_endpoint = 'tic.tencentcloudapi.com'
27
+ sdk_version = 'TIC_' + File.read(File.expand_path('../VERSION', __dir__)).strip
28
+ super(credential, region, api_version, api_endpoint, sdk_version, profile)
29
+ end
30
+
31
+
32
+ # 本接口(ApplyStack)用于触发资源栈下某个版本的Apply事件。
33
+
34
+ # - 当版本处于PLAN_IN_PROGRESS或APPLY_IN_PROGRESS状态时,将无法再执行本操作
35
+ # - 当版本处于APPLY_COMPLETED状态时,本操作无法执行
36
+
37
+ # @param request: Request instance for ApplyStack.
38
+ # @type request: :class:`Tencentcloud::tic::V20201117::ApplyStackRequest`
39
+ # @rtype: :class:`Tencentcloud::tic::V20201117::ApplyStackResponse`
40
+ def ApplyStack(request)
41
+ body = send_request('ApplyStack', request.serialize)
42
+ response = JSON.parse(body)
43
+ if response['Response'].key?('Error') == false
44
+ model = ApplyStackResponse.new
45
+ model.deserialize(response['Response'])
46
+ model
47
+ else
48
+ code = response['Response']['Error']['Code']
49
+ message = response['Response']['Error']['Message']
50
+ reqid = response['Response']['RequestId']
51
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
52
+ end
53
+ rescue TencentCloud::Common::TencentCloudSDKException => e
54
+ raise e
55
+ rescue StandardError => e
56
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
57
+ end
58
+
59
+ # 本接口(CreateStack)用于通过传递一个COS的terraform zip模版URL来创建一个资源栈。创建资源栈后仍需要用户调用对应的plan, apply, destory执行对应的事件。
60
+
61
+ # @param request: Request instance for CreateStack.
62
+ # @type request: :class:`Tencentcloud::tic::V20201117::CreateStackRequest`
63
+ # @rtype: :class:`Tencentcloud::tic::V20201117::CreateStackResponse`
64
+ def CreateStack(request)
65
+ body = send_request('CreateStack', request.serialize)
66
+ response = JSON.parse(body)
67
+ if response['Response'].key?('Error') == false
68
+ model = CreateStackResponse.new
69
+ model.deserialize(response['Response'])
70
+ model
71
+ else
72
+ code = response['Response']['Error']['Code']
73
+ message = response['Response']['Error']['Message']
74
+ reqid = response['Response']['RequestId']
75
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
76
+ end
77
+ rescue TencentCloud::Common::TencentCloudSDKException => e
78
+ raise e
79
+ rescue StandardError => e
80
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
81
+ end
82
+
83
+ # 本接口(CreateStackVersion)用于给资源栈新增一个HCL模版版本,仅限COS链接,且为zip格式。
84
+
85
+ # @param request: Request instance for CreateStackVersion.
86
+ # @type request: :class:`Tencentcloud::tic::V20201117::CreateStackVersionRequest`
87
+ # @rtype: :class:`Tencentcloud::tic::V20201117::CreateStackVersionResponse`
88
+ def CreateStackVersion(request)
89
+ body = send_request('CreateStackVersion', request.serialize)
90
+ response = JSON.parse(body)
91
+ if response['Response'].key?('Error') == false
92
+ model = CreateStackVersionResponse.new
93
+ model.deserialize(response['Response'])
94
+ model
95
+ else
96
+ code = response['Response']['Error']['Code']
97
+ message = response['Response']['Error']['Message']
98
+ reqid = response['Response']['RequestId']
99
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
100
+ end
101
+ rescue TencentCloud::Common::TencentCloudSDKException => e
102
+ raise e
103
+ rescue StandardError => e
104
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
105
+ end
106
+
107
+ # 本接口(DeleteStack)用于删除一个资源栈(配置、版本、事件信息)。但不会销毁资源管理的云资源。如果需要销毁资源栈管理的云资源,请调用 DestoryStack 接口销毁云资源。
108
+
109
+ # @param request: Request instance for DeleteStack.
110
+ # @type request: :class:`Tencentcloud::tic::V20201117::DeleteStackRequest`
111
+ # @rtype: :class:`Tencentcloud::tic::V20201117::DeleteStackResponse`
112
+ def DeleteStack(request)
113
+ body = send_request('DeleteStack', request.serialize)
114
+ response = JSON.parse(body)
115
+ if response['Response'].key?('Error') == false
116
+ model = DeleteStackResponse.new
117
+ model.deserialize(response['Response'])
118
+ model
119
+ else
120
+ code = response['Response']['Error']['Code']
121
+ message = response['Response']['Error']['Message']
122
+ reqid = response['Response']['RequestId']
123
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
124
+ end
125
+ rescue TencentCloud::Common::TencentCloudSDKException => e
126
+ raise e
127
+ rescue StandardError => e
128
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
129
+ end
130
+
131
+ # 本接口(DeleteStackVersion)用于删除一个版本,处于PLAN_IN_PROGRESS和APPLY_IN_PROGRESS状态中的版本无法删除。
132
+
133
+ # @param request: Request instance for DeleteStackVersion.
134
+ # @type request: :class:`Tencentcloud::tic::V20201117::DeleteStackVersionRequest`
135
+ # @rtype: :class:`Tencentcloud::tic::V20201117::DeleteStackVersionResponse`
136
+ def DeleteStackVersion(request)
137
+ body = send_request('DeleteStackVersion', request.serialize)
138
+ response = JSON.parse(body)
139
+ if response['Response'].key?('Error') == false
140
+ model = DeleteStackVersionResponse.new
141
+ model.deserialize(response['Response'])
142
+ model
143
+ else
144
+ code = response['Response']['Error']['Code']
145
+ message = response['Response']['Error']['Message']
146
+ reqid = response['Response']['RequestId']
147
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
148
+ end
149
+ rescue TencentCloud::Common::TencentCloudSDKException => e
150
+ raise e
151
+ rescue StandardError => e
152
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
153
+ end
154
+
155
+ # 本接口(DescribeStackEvent)用于获取单个事件详情,尤其是可以得到事件的详细控制台输出文本。
156
+
157
+ # @param request: Request instance for DescribeStackEvent.
158
+ # @type request: :class:`Tencentcloud::tic::V20201117::DescribeStackEventRequest`
159
+ # @rtype: :class:`Tencentcloud::tic::V20201117::DescribeStackEventResponse`
160
+ def DescribeStackEvent(request)
161
+ body = send_request('DescribeStackEvent', request.serialize)
162
+ response = JSON.parse(body)
163
+ if response['Response'].key?('Error') == false
164
+ model = DescribeStackEventResponse.new
165
+ model.deserialize(response['Response'])
166
+ model
167
+ else
168
+ code = response['Response']['Error']['Code']
169
+ message = response['Response']['Error']['Message']
170
+ reqid = response['Response']['RequestId']
171
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
172
+ end
173
+ rescue TencentCloud::Common::TencentCloudSDKException => e
174
+ raise e
175
+ rescue StandardError => e
176
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
177
+ end
178
+
179
+ # 本接口(DescribeStackEvents)用于查看一个或多个事件详细信息。
180
+
181
+ # - 可以根据事件ID过滤感兴趣的事件
182
+ # - 也可以根据版本ID,资源栈ID,事件类型,事件状态过滤事件,过滤信息详细请见过滤器Filter
183
+ # - 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的事件
184
+
185
+ # @param request: Request instance for DescribeStackEvents.
186
+ # @type request: :class:`Tencentcloud::tic::V20201117::DescribeStackEventsRequest`
187
+ # @rtype: :class:`Tencentcloud::tic::V20201117::DescribeStackEventsResponse`
188
+ def DescribeStackEvents(request)
189
+ body = send_request('DescribeStackEvents', request.serialize)
190
+ response = JSON.parse(body)
191
+ if response['Response'].key?('Error') == false
192
+ model = DescribeStackEventsResponse.new
193
+ model.deserialize(response['Response'])
194
+ model
195
+ else
196
+ code = response['Response']['Error']['Code']
197
+ message = response['Response']['Error']['Message']
198
+ reqid = response['Response']['RequestId']
199
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
200
+ end
201
+ rescue TencentCloud::Common::TencentCloudSDKException => e
202
+ raise e
203
+ rescue StandardError => e
204
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
205
+ end
206
+
207
+ # 本接口(DescribeStackVersions)用于查询一个或多个版本的详细信息。
208
+
209
+ # - 可以根据版本ID查询感兴趣的版本
210
+ # - 可以根据版本名字和状态来过滤版本,详见过滤器Filter
211
+ # - 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的版本
212
+
213
+ # @param request: Request instance for DescribeStackVersions.
214
+ # @type request: :class:`Tencentcloud::tic::V20201117::DescribeStackVersionsRequest`
215
+ # @rtype: :class:`Tencentcloud::tic::V20201117::DescribeStackVersionsResponse`
216
+ def DescribeStackVersions(request)
217
+ body = send_request('DescribeStackVersions', request.serialize)
218
+ response = JSON.parse(body)
219
+ if response['Response'].key?('Error') == false
220
+ model = DescribeStackVersionsResponse.new
221
+ model.deserialize(response['Response'])
222
+ model
223
+ else
224
+ code = response['Response']['Error']['Code']
225
+ message = response['Response']['Error']['Message']
226
+ reqid = response['Response']['RequestId']
227
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
228
+ end
229
+ rescue TencentCloud::Common::TencentCloudSDKException => e
230
+ raise e
231
+ rescue StandardError => e
232
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
233
+ end
234
+
235
+ # 本接口(DescribeStacks)用于查询一个或多个资源栈的详细信息。
236
+
237
+ # - 可以根据资源栈ID来查询感兴趣的资源栈信息
238
+ # - 若参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的资源栈
239
+
240
+ # @param request: Request instance for DescribeStacks.
241
+ # @type request: :class:`Tencentcloud::tic::V20201117::DescribeStacksRequest`
242
+ # @rtype: :class:`Tencentcloud::tic::V20201117::DescribeStacksResponse`
243
+ def DescribeStacks(request)
244
+ body = send_request('DescribeStacks', request.serialize)
245
+ response = JSON.parse(body)
246
+ if response['Response'].key?('Error') == false
247
+ model = DescribeStacksResponse.new
248
+ model.deserialize(response['Response'])
249
+ model
250
+ else
251
+ code = response['Response']['Error']['Code']
252
+ message = response['Response']['Error']['Message']
253
+ reqid = response['Response']['RequestId']
254
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
255
+ end
256
+ rescue TencentCloud::Common::TencentCloudSDKException => e
257
+ raise e
258
+ rescue StandardError => e
259
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
260
+ end
261
+
262
+ # 本接口(DestroyStack)用于删除资源栈下的某个版本所创建的资源。
263
+
264
+ # @param request: Request instance for DestroyStack.
265
+ # @type request: :class:`Tencentcloud::tic::V20201117::DestroyStackRequest`
266
+ # @rtype: :class:`Tencentcloud::tic::V20201117::DestroyStackResponse`
267
+ def DestroyStack(request)
268
+ body = send_request('DestroyStack', request.serialize)
269
+ response = JSON.parse(body)
270
+ if response['Response'].key?('Error') == false
271
+ model = DestroyStackResponse.new
272
+ model.deserialize(response['Response'])
273
+ model
274
+ else
275
+ code = response['Response']['Error']['Code']
276
+ message = response['Response']['Error']['Message']
277
+ reqid = response['Response']['RequestId']
278
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
279
+ end
280
+ rescue TencentCloud::Common::TencentCloudSDKException => e
281
+ raise e
282
+ rescue StandardError => e
283
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
284
+ end
285
+
286
+ # 本接口(PlanStack)用于触发资源栈下某个版本的PLAN事件。
287
+
288
+ # - 当版本处于PLAN_IN_PROGRESS或APPLY_IN_PROGRESS状态时,将无法再执行本操作
289
+ # - 当版本处于APPLY_COMPLETED状态时,本操作无法执行
290
+
291
+ # @param request: Request instance for PlanStack.
292
+ # @type request: :class:`Tencentcloud::tic::V20201117::PlanStackRequest`
293
+ # @rtype: :class:`Tencentcloud::tic::V20201117::PlanStackResponse`
294
+ def PlanStack(request)
295
+ body = send_request('PlanStack', request.serialize)
296
+ response = JSON.parse(body)
297
+ if response['Response'].key?('Error') == false
298
+ model = PlanStackResponse.new
299
+ model.deserialize(response['Response'])
300
+ model
301
+ else
302
+ code = response['Response']['Error']['Code']
303
+ message = response['Response']['Error']['Message']
304
+ reqid = response['Response']['RequestId']
305
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
306
+ end
307
+ rescue TencentCloud::Common::TencentCloudSDKException => e
308
+ raise e
309
+ rescue StandardError => e
310
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
311
+ end
312
+
313
+ # 本接口(UpdateStack)用于更新资源栈的名称和描述。
314
+
315
+ # @param request: Request instance for UpdateStack.
316
+ # @type request: :class:`Tencentcloud::tic::V20201117::UpdateStackRequest`
317
+ # @rtype: :class:`Tencentcloud::tic::V20201117::UpdateStackResponse`
318
+ def UpdateStack(request)
319
+ body = send_request('UpdateStack', request.serialize)
320
+ response = JSON.parse(body)
321
+ if response['Response'].key?('Error') == false
322
+ model = UpdateStackResponse.new
323
+ model.deserialize(response['Response'])
324
+ model
325
+ else
326
+ code = response['Response']['Error']['Code']
327
+ message = response['Response']['Error']['Message']
328
+ reqid = response['Response']['RequestId']
329
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
330
+ end
331
+ rescue TencentCloud::Common::TencentCloudSDKException => e
332
+ raise e
333
+ rescue StandardError => e
334
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
335
+ end
336
+
337
+ # 本接口(UpdateStackVersion)用于更新一个版本的模版内容,名称或描述,模版仅限COS URL,且为zip格式。
338
+
339
+ # @param request: Request instance for UpdateStackVersion.
340
+ # @type request: :class:`Tencentcloud::tic::V20201117::UpdateStackVersionRequest`
341
+ # @rtype: :class:`Tencentcloud::tic::V20201117::UpdateStackVersionResponse`
342
+ def UpdateStackVersion(request)
343
+ body = send_request('UpdateStackVersion', request.serialize)
344
+ response = JSON.parse(body)
345
+ if response['Response'].key?('Error') == false
346
+ model = UpdateStackVersionResponse.new
347
+ model.deserialize(response['Response'])
348
+ model
349
+ else
350
+ code = response['Response']['Error']['Code']
351
+ message = response['Response']['Error']['Message']
352
+ reqid = response['Response']['RequestId']
353
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
354
+ end
355
+ rescue TencentCloud::Common::TencentCloudSDKException => e
356
+ raise e
357
+ rescue StandardError => e
358
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
359
+ end
360
+
361
+
362
+ end
363
+ end
364
+ end
365
+ end
@@ -0,0 +1,798 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Tic
19
+ module V20201117
20
+ # ApplyStack请求参数结构体
21
+ class ApplyStackRequest < TencentCloud::Common::AbstractModel
22
+ # @param StackId: 资源栈ID
23
+ # @type StackId: String
24
+ # @param VersionId: 待执行apply事件的版本ID
25
+ # @type VersionId: String
26
+
27
+ attr_accessor :StackId, :VersionId
28
+
29
+ def initialize(stackid=nil, versionid=nil)
30
+ @StackId = stackid
31
+ @VersionId = versionid
32
+ end
33
+
34
+ def deserialize(params)
35
+ @StackId = params['StackId']
36
+ @VersionId = params['VersionId']
37
+ end
38
+ end
39
+
40
+ # ApplyStack返回参数结构体
41
+ class ApplyStackResponse < TencentCloud::Common::AbstractModel
42
+ # @param EventId: 执行的事件ID
43
+ # @type EventId: String
44
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
45
+ # @type RequestId: String
46
+
47
+ attr_accessor :EventId, :RequestId
48
+
49
+ def initialize(eventid=nil, requestid=nil)
50
+ @EventId = eventid
51
+ @RequestId = requestid
52
+ end
53
+
54
+ def deserialize(params)
55
+ @EventId = params['EventId']
56
+ @RequestId = params['RequestId']
57
+ end
58
+ end
59
+
60
+ # CreateStack请求参数结构体
61
+ class CreateStackRequest < TencentCloud::Common::AbstractModel
62
+ # @param StackName: 资源栈名称,不得超过60个字符
63
+ # @type StackName: String
64
+ # @param StackRegion: 资源栈所在地域
65
+ # @type StackRegion: String
66
+ # @param TemplateUrl: HCL模板URL,⽬前仅限 COS URL, ⽂件为zip压缩格式
67
+ # @type TemplateUrl: String
68
+ # @param Description: 资源栈描述,不得超过200个字符
69
+ # @type Description: String
70
+
71
+ attr_accessor :StackName, :StackRegion, :TemplateUrl, :Description
72
+
73
+ def initialize(stackname=nil, stackregion=nil, templateurl=nil, description=nil)
74
+ @StackName = stackname
75
+ @StackRegion = stackregion
76
+ @TemplateUrl = templateurl
77
+ @Description = description
78
+ end
79
+
80
+ def deserialize(params)
81
+ @StackName = params['StackName']
82
+ @StackRegion = params['StackRegion']
83
+ @TemplateUrl = params['TemplateUrl']
84
+ @Description = params['Description']
85
+ end
86
+ end
87
+
88
+ # CreateStack返回参数结构体
89
+ class CreateStackResponse < TencentCloud::Common::AbstractModel
90
+ # @param StackId: 创建得到的资源栈ID
91
+ # @type StackId: String
92
+ # @param VersionId: 资源栈版本ID
93
+ # @type VersionId: String
94
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
95
+ # @type RequestId: String
96
+
97
+ attr_accessor :StackId, :VersionId, :RequestId
98
+
99
+ def initialize(stackid=nil, versionid=nil, requestid=nil)
100
+ @StackId = stackid
101
+ @VersionId = versionid
102
+ @RequestId = requestid
103
+ end
104
+
105
+ def deserialize(params)
106
+ @StackId = params['StackId']
107
+ @VersionId = params['VersionId']
108
+ @RequestId = params['RequestId']
109
+ end
110
+ end
111
+
112
+ # CreateStackVersion请求参数结构体
113
+ class CreateStackVersionRequest < TencentCloud::Common::AbstractModel
114
+ # @param StackId: 待增加版本的资源栈ID
115
+ # @type StackId: String
116
+ # @param TemplateUrl: 模板 URL,⽬前仅限 COS URL, ⽂件为zip压缩格式
117
+ # @type TemplateUrl: String
118
+ # @param VersionName: 版本名称,不得超过60个字符
119
+ # @type VersionName: String
120
+ # @param Description: 版本描述,不得超过200个字符
121
+ # @type Description: String
122
+
123
+ attr_accessor :StackId, :TemplateUrl, :VersionName, :Description
124
+
125
+ def initialize(stackid=nil, templateurl=nil, versionname=nil, description=nil)
126
+ @StackId = stackid
127
+ @TemplateUrl = templateurl
128
+ @VersionName = versionname
129
+ @Description = description
130
+ end
131
+
132
+ def deserialize(params)
133
+ @StackId = params['StackId']
134
+ @TemplateUrl = params['TemplateUrl']
135
+ @VersionName = params['VersionName']
136
+ @Description = params['Description']
137
+ end
138
+ end
139
+
140
+ # CreateStackVersion返回参数结构体
141
+ class CreateStackVersionResponse < TencentCloud::Common::AbstractModel
142
+ # @param VersionId: 新创建的版本ID
143
+ # @type VersionId: String
144
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
145
+ # @type RequestId: String
146
+
147
+ attr_accessor :VersionId, :RequestId
148
+
149
+ def initialize(versionid=nil, requestid=nil)
150
+ @VersionId = versionid
151
+ @RequestId = requestid
152
+ end
153
+
154
+ def deserialize(params)
155
+ @VersionId = params['VersionId']
156
+ @RequestId = params['RequestId']
157
+ end
158
+ end
159
+
160
+ # DeleteStack请求参数结构体
161
+ class DeleteStackRequest < TencentCloud::Common::AbstractModel
162
+ # @param StackId: 待删除的资源栈ID
163
+ # @type StackId: String
164
+
165
+ attr_accessor :StackId
166
+
167
+ def initialize(stackid=nil)
168
+ @StackId = stackid
169
+ end
170
+
171
+ def deserialize(params)
172
+ @StackId = params['StackId']
173
+ end
174
+ end
175
+
176
+ # DeleteStack返回参数结构体
177
+ class DeleteStackResponse < TencentCloud::Common::AbstractModel
178
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
179
+ # @type RequestId: String
180
+
181
+ attr_accessor :RequestId
182
+
183
+ def initialize(requestid=nil)
184
+ @RequestId = requestid
185
+ end
186
+
187
+ def deserialize(params)
188
+ @RequestId = params['RequestId']
189
+ end
190
+ end
191
+
192
+ # DeleteStackVersion请求参数结构体
193
+ class DeleteStackVersionRequest < TencentCloud::Common::AbstractModel
194
+ # @param VersionId: 待删除的版本ID
195
+ # @type VersionId: String
196
+
197
+ attr_accessor :VersionId
198
+
199
+ def initialize(versionid=nil)
200
+ @VersionId = versionid
201
+ end
202
+
203
+ def deserialize(params)
204
+ @VersionId = params['VersionId']
205
+ end
206
+ end
207
+
208
+ # DeleteStackVersion返回参数结构体
209
+ class DeleteStackVersionResponse < TencentCloud::Common::AbstractModel
210
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
211
+ # @type RequestId: String
212
+
213
+ attr_accessor :RequestId
214
+
215
+ def initialize(requestid=nil)
216
+ @RequestId = requestid
217
+ end
218
+
219
+ def deserialize(params)
220
+ @RequestId = params['RequestId']
221
+ end
222
+ end
223
+
224
+ # DescribeStackEvent请求参数结构体
225
+ class DescribeStackEventRequest < TencentCloud::Common::AbstractModel
226
+ # @param EventId: 事件ID
227
+ # @type EventId: String
228
+
229
+ attr_accessor :EventId
230
+
231
+ def initialize(eventid=nil)
232
+ @EventId = eventid
233
+ end
234
+
235
+ def deserialize(params)
236
+ @EventId = params['EventId']
237
+ end
238
+ end
239
+
240
+ # DescribeStackEvent返回参数结构体
241
+ class DescribeStackEventResponse < TencentCloud::Common::AbstractModel
242
+ # @param EventId: 事件ID
243
+ # @type EventId: String
244
+ # @param VersionId: 版本ID
245
+ # @type VersionId: String
246
+ # @param StackId: 资源栈ID
247
+ # @type StackId: String
248
+ # @param Type: 事件类型
249
+ # @type Type: String
250
+ # @param Status: 事件状态
251
+ # @type Status: String
252
+ # @param EventMessage: 状态信息
253
+ # @type EventMessage: String
254
+ # @param CreateTime: 创建时间
255
+ # @type CreateTime: String
256
+ # @param ConsoleLog: 控制台输出文本
257
+ # @type ConsoleLog: String
258
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
259
+ # @type RequestId: String
260
+
261
+ attr_accessor :EventId, :VersionId, :StackId, :Type, :Status, :EventMessage, :CreateTime, :ConsoleLog, :RequestId
262
+
263
+ def initialize(eventid=nil, versionid=nil, stackid=nil, type=nil, status=nil, eventmessage=nil, createtime=nil, consolelog=nil, requestid=nil)
264
+ @EventId = eventid
265
+ @VersionId = versionid
266
+ @StackId = stackid
267
+ @Type = type
268
+ @Status = status
269
+ @EventMessage = eventmessage
270
+ @CreateTime = createtime
271
+ @ConsoleLog = consolelog
272
+ @RequestId = requestid
273
+ end
274
+
275
+ def deserialize(params)
276
+ @EventId = params['EventId']
277
+ @VersionId = params['VersionId']
278
+ @StackId = params['StackId']
279
+ @Type = params['Type']
280
+ @Status = params['Status']
281
+ @EventMessage = params['EventMessage']
282
+ @CreateTime = params['CreateTime']
283
+ @ConsoleLog = params['ConsoleLog']
284
+ @RequestId = params['RequestId']
285
+ end
286
+ end
287
+
288
+ # DescribeStackEvents请求参数结构体
289
+ class DescribeStackEventsRequest < TencentCloud::Common::AbstractModel
290
+ # @param EventIds: 按照⼀个或者多个事件ID查询
291
+ # @type EventIds: Array
292
+ # @param Filters: <li>**VersionId**</li>
293
+ # 按照【**版本ID**】过滤,VersionId形如 `ver-kg8hn58h`
294
+ # 类型:string
295
+
296
+ # <li>**StackId**</li>
297
+ # 按照【**资源栈ID**】过滤,StackId形如 `stk-hz5vn3te`
298
+ # 类型:string
299
+
300
+ # <li>**Type**</li>
301
+ # 按照【**事件类型**】过滤,Type 形如 plan, apply, destroy
302
+ # 类型:string
303
+
304
+ # <li>**Status**</li>
305
+ # 按照【**事件状态**】过滤,Status形如 queueing, running, success, failed
306
+ # 类型:string
307
+ # @type Filters: Array
308
+ # @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节
309
+ # @type Offset: Integer
310
+ # @param Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节
311
+ # @type Limit: Integer
312
+
313
+ attr_accessor :EventIds, :Filters, :Offset, :Limit
314
+
315
+ def initialize(eventids=nil, filters=nil, offset=nil, limit=nil)
316
+ @EventIds = eventids
317
+ @Filters = filters
318
+ @Offset = offset
319
+ @Limit = limit
320
+ end
321
+
322
+ def deserialize(params)
323
+ @EventIds = params['EventIds']
324
+ unless params['Filters'].nil?
325
+ @Filters = []
326
+ params['Filters'].each do |i|
327
+ filter_tmp = Filter.new
328
+ filter_tmp.deserialize(i)
329
+ @Filters << filter_tmp
330
+ end
331
+ end
332
+ @Offset = params['Offset']
333
+ @Limit = params['Limit']
334
+ end
335
+ end
336
+
337
+ # DescribeStackEvents返回参数结构体
338
+ class DescribeStackEventsResponse < TencentCloud::Common::AbstractModel
339
+ # @param TotalCount: 符合条件的事件数量
340
+ # @type TotalCount: Integer
341
+ # @param Events: 事件详细信息列表
342
+ # @type Events: Array
343
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
344
+ # @type RequestId: String
345
+
346
+ attr_accessor :TotalCount, :Events, :RequestId
347
+
348
+ def initialize(totalcount=nil, events=nil, requestid=nil)
349
+ @TotalCount = totalcount
350
+ @Events = events
351
+ @RequestId = requestid
352
+ end
353
+
354
+ def deserialize(params)
355
+ @TotalCount = params['TotalCount']
356
+ unless params['Events'].nil?
357
+ @Events = []
358
+ params['Events'].each do |i|
359
+ eventinfo_tmp = EventInfo.new
360
+ eventinfo_tmp.deserialize(i)
361
+ @Events << eventinfo_tmp
362
+ end
363
+ end
364
+ @RequestId = params['RequestId']
365
+ end
366
+ end
367
+
368
+ # DescribeStackVersions请求参数结构体
369
+ class DescribeStackVersionsRequest < TencentCloud::Common::AbstractModel
370
+ # @param VersionIds: 按照⼀个或者多个版本ID查询
371
+ # @type VersionIds: Array
372
+ # @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节
373
+ # @type Offset: Integer
374
+ # @param Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节
375
+ # @type Limit: Integer
376
+ # @param Filters: <li>**Name**</li>
377
+ # 按照【**版本名称**】进行过滤
378
+ # 类型:string
379
+
380
+ # <li>**Status**</li>
381
+ # 按照【**版本状态**】过滤,形如`VERSION_EDITING`,`PLAN_IN_PROGRESS`等
382
+ # 类型:string
383
+
384
+ # <li>**StackId**</li>
385
+ # 按照版本所属的【**资源栈ID**】进行过滤,形如`stk-xxxxxx`
386
+ # 类型:string
387
+ # @type Filters: Array
388
+
389
+ attr_accessor :VersionIds, :Offset, :Limit, :Filters
390
+
391
+ def initialize(versionids=nil, offset=nil, limit=nil, filters=nil)
392
+ @VersionIds = versionids
393
+ @Offset = offset
394
+ @Limit = limit
395
+ @Filters = filters
396
+ end
397
+
398
+ def deserialize(params)
399
+ @VersionIds = params['VersionIds']
400
+ @Offset = params['Offset']
401
+ @Limit = params['Limit']
402
+ unless params['Filters'].nil?
403
+ @Filters = []
404
+ params['Filters'].each do |i|
405
+ filter_tmp = Filter.new
406
+ filter_tmp.deserialize(i)
407
+ @Filters << filter_tmp
408
+ end
409
+ end
410
+ end
411
+ end
412
+
413
+ # DescribeStackVersions返回参数结构体
414
+ class DescribeStackVersionsResponse < TencentCloud::Common::AbstractModel
415
+ # @param TotalCount: 符合条件的版本数量
416
+ # @type TotalCount: Integer
417
+ # @param Versions: 版本详细信息列表
418
+ # @type Versions: Array
419
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
420
+ # @type RequestId: String
421
+
422
+ attr_accessor :TotalCount, :Versions, :RequestId
423
+
424
+ def initialize(totalcount=nil, versions=nil, requestid=nil)
425
+ @TotalCount = totalcount
426
+ @Versions = versions
427
+ @RequestId = requestid
428
+ end
429
+
430
+ def deserialize(params)
431
+ @TotalCount = params['TotalCount']
432
+ unless params['Versions'].nil?
433
+ @Versions = []
434
+ params['Versions'].each do |i|
435
+ versioninfo_tmp = VersionInfo.new
436
+ versioninfo_tmp.deserialize(i)
437
+ @Versions << versioninfo_tmp
438
+ end
439
+ end
440
+ @RequestId = params['RequestId']
441
+ end
442
+ end
443
+
444
+ # DescribeStacks请求参数结构体
445
+ class DescribeStacksRequest < TencentCloud::Common::AbstractModel
446
+ # @param StackIds: 按照⼀个或者多个资源栈ID查询
447
+ # @type StackIds: Array
448
+ # @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
449
+ # @type Offset: Integer
450
+ # @param Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
451
+ # @type Limit: Integer
452
+
453
+ attr_accessor :StackIds, :Offset, :Limit
454
+
455
+ def initialize(stackids=nil, offset=nil, limit=nil)
456
+ @StackIds = stackids
457
+ @Offset = offset
458
+ @Limit = limit
459
+ end
460
+
461
+ def deserialize(params)
462
+ @StackIds = params['StackIds']
463
+ @Offset = params['Offset']
464
+ @Limit = params['Limit']
465
+ end
466
+ end
467
+
468
+ # DescribeStacks返回参数结构体
469
+ class DescribeStacksResponse < TencentCloud::Common::AbstractModel
470
+ # @param TotalCount: 符合条件的资源栈数量
471
+ # @type TotalCount: Integer
472
+ # @param Stacks: 资源栈详细信息列表
473
+ # @type Stacks: Array
474
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
475
+ # @type RequestId: String
476
+
477
+ attr_accessor :TotalCount, :Stacks, :RequestId
478
+
479
+ def initialize(totalcount=nil, stacks=nil, requestid=nil)
480
+ @TotalCount = totalcount
481
+ @Stacks = stacks
482
+ @RequestId = requestid
483
+ end
484
+
485
+ def deserialize(params)
486
+ @TotalCount = params['TotalCount']
487
+ unless params['Stacks'].nil?
488
+ @Stacks = []
489
+ params['Stacks'].each do |i|
490
+ stackinfo_tmp = StackInfo.new
491
+ stackinfo_tmp.deserialize(i)
492
+ @Stacks << stackinfo_tmp
493
+ end
494
+ end
495
+ @RequestId = params['RequestId']
496
+ end
497
+ end
498
+
499
+ # DestroyStack请求参数结构体
500
+ class DestroyStackRequest < TencentCloud::Common::AbstractModel
501
+ # @param StackId: 资源栈ID
502
+ # @type StackId: String
503
+ # @param VersionId: 待执行destroy事件的版本ID
504
+ # @type VersionId: String
505
+
506
+ attr_accessor :StackId, :VersionId
507
+
508
+ def initialize(stackid=nil, versionid=nil)
509
+ @StackId = stackid
510
+ @VersionId = versionid
511
+ end
512
+
513
+ def deserialize(params)
514
+ @StackId = params['StackId']
515
+ @VersionId = params['VersionId']
516
+ end
517
+ end
518
+
519
+ # DestroyStack返回参数结构体
520
+ class DestroyStackResponse < TencentCloud::Common::AbstractModel
521
+ # @param EventId: 事件ID
522
+ # @type EventId: String
523
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
524
+ # @type RequestId: String
525
+
526
+ attr_accessor :EventId, :RequestId
527
+
528
+ def initialize(eventid=nil, requestid=nil)
529
+ @EventId = eventid
530
+ @RequestId = requestid
531
+ end
532
+
533
+ def deserialize(params)
534
+ @EventId = params['EventId']
535
+ @RequestId = params['RequestId']
536
+ end
537
+ end
538
+
539
+ # 事件详情
540
+ class EventInfo < TencentCloud::Common::AbstractModel
541
+ # @param EventId: 事件ID
542
+ # @type EventId: String
543
+ # @param VersionId: 版本ID
544
+ # @type VersionId: String
545
+ # @param StackId: 资源栈ID
546
+ # @type StackId: String
547
+ # @param Type: 事件类型
548
+ # @type Type: String
549
+ # @param Status: 版本状态
550
+ # @type Status: String
551
+ # @param Message: 状态信息
552
+ # @type Message: String
553
+ # @param CreateTime: 创建时间
554
+ # @type CreateTime: String
555
+
556
+ attr_accessor :EventId, :VersionId, :StackId, :Type, :Status, :Message, :CreateTime
557
+
558
+ def initialize(eventid=nil, versionid=nil, stackid=nil, type=nil, status=nil, message=nil, createtime=nil)
559
+ @EventId = eventid
560
+ @VersionId = versionid
561
+ @StackId = stackid
562
+ @Type = type
563
+ @Status = status
564
+ @Message = message
565
+ @CreateTime = createtime
566
+ end
567
+
568
+ def deserialize(params)
569
+ @EventId = params['EventId']
570
+ @VersionId = params['VersionId']
571
+ @StackId = params['StackId']
572
+ @Type = params['Type']
573
+ @Status = params['Status']
574
+ @Message = params['Message']
575
+ @CreateTime = params['CreateTime']
576
+ end
577
+ end
578
+
579
+ # 查询过滤条件
580
+ class Filter < TencentCloud::Common::AbstractModel
581
+ # @param Name: 条件名字
582
+ # @type Name: String
583
+ # @param Values: 匹配的值,可以有多个
584
+ # @type Values: Array
585
+
586
+ attr_accessor :Name, :Values
587
+
588
+ def initialize(name=nil, values=nil)
589
+ @Name = name
590
+ @Values = values
591
+ end
592
+
593
+ def deserialize(params)
594
+ @Name = params['Name']
595
+ @Values = params['Values']
596
+ end
597
+ end
598
+
599
+ # PlanStack请求参数结构体
600
+ class PlanStackRequest < TencentCloud::Common::AbstractModel
601
+ # @param StackId: 资源栈ID
602
+ # @type StackId: String
603
+ # @param VersionId: 待执行plan事件的版本ID
604
+ # @type VersionId: String
605
+
606
+ attr_accessor :StackId, :VersionId
607
+
608
+ def initialize(stackid=nil, versionid=nil)
609
+ @StackId = stackid
610
+ @VersionId = versionid
611
+ end
612
+
613
+ def deserialize(params)
614
+ @StackId = params['StackId']
615
+ @VersionId = params['VersionId']
616
+ end
617
+ end
618
+
619
+ # PlanStack返回参数结构体
620
+ class PlanStackResponse < TencentCloud::Common::AbstractModel
621
+ # @param EventId: 执行的事件ID
622
+ # @type EventId: String
623
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
624
+ # @type RequestId: String
625
+
626
+ attr_accessor :EventId, :RequestId
627
+
628
+ def initialize(eventid=nil, requestid=nil)
629
+ @EventId = eventid
630
+ @RequestId = requestid
631
+ end
632
+
633
+ def deserialize(params)
634
+ @EventId = params['EventId']
635
+ @RequestId = params['RequestId']
636
+ end
637
+ end
638
+
639
+ # 资源栈信息
640
+ class StackInfo < TencentCloud::Common::AbstractModel
641
+ # @param StackId: 资源栈ID
642
+ # @type StackId: String
643
+ # @param StackName: 资源栈名称
644
+ # @type StackName: String
645
+ # @param Description: 资源栈描述
646
+ # @type Description: String
647
+ # @param Region: 所处地域
648
+ # @type Region: String
649
+ # @param Status: 资源栈状态
650
+ # @type Status: String
651
+ # @param CreateTime: 创建时间
652
+ # @type CreateTime: String
653
+
654
+ attr_accessor :StackId, :StackName, :Description, :Region, :Status, :CreateTime
655
+
656
+ def initialize(stackid=nil, stackname=nil, description=nil, region=nil, status=nil, createtime=nil)
657
+ @StackId = stackid
658
+ @StackName = stackname
659
+ @Description = description
660
+ @Region = region
661
+ @Status = status
662
+ @CreateTime = createtime
663
+ end
664
+
665
+ def deserialize(params)
666
+ @StackId = params['StackId']
667
+ @StackName = params['StackName']
668
+ @Description = params['Description']
669
+ @Region = params['Region']
670
+ @Status = params['Status']
671
+ @CreateTime = params['CreateTime']
672
+ end
673
+ end
674
+
675
+ # UpdateStack请求参数结构体
676
+ class UpdateStackRequest < TencentCloud::Common::AbstractModel
677
+ # @param StackId: 待更新的资源栈ID
678
+ # @type StackId: String
679
+ # @param StackName: 资源栈名称,不得超过60个字符
680
+ # @type StackName: String
681
+ # @param Description: 资源栈描述,不得超过200个字符
682
+ # @type Description: String
683
+
684
+ attr_accessor :StackId, :StackName, :Description
685
+
686
+ def initialize(stackid=nil, stackname=nil, description=nil)
687
+ @StackId = stackid
688
+ @StackName = stackname
689
+ @Description = description
690
+ end
691
+
692
+ def deserialize(params)
693
+ @StackId = params['StackId']
694
+ @StackName = params['StackName']
695
+ @Description = params['Description']
696
+ end
697
+ end
698
+
699
+ # UpdateStack返回参数结构体
700
+ class UpdateStackResponse < TencentCloud::Common::AbstractModel
701
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
702
+ # @type RequestId: String
703
+
704
+ attr_accessor :RequestId
705
+
706
+ def initialize(requestid=nil)
707
+ @RequestId = requestid
708
+ end
709
+
710
+ def deserialize(params)
711
+ @RequestId = params['RequestId']
712
+ end
713
+ end
714
+
715
+ # UpdateStackVersion请求参数结构体
716
+ class UpdateStackVersionRequest < TencentCloud::Common::AbstractModel
717
+ # @param VersionId: 待更新的版本ID
718
+ # @type VersionId: String
719
+ # @param TemplateUrl: 模板 URL,⽬前仅限 COS URL, ⽂件为zip压缩格式
720
+ # @type TemplateUrl: String
721
+ # @param VersionName: 版本名称,不得超过60个字符
722
+ # @type VersionName: String
723
+ # @param Description: 版本描述,不得超过200个字符
724
+ # @type Description: String
725
+
726
+ attr_accessor :VersionId, :TemplateUrl, :VersionName, :Description
727
+
728
+ def initialize(versionid=nil, templateurl=nil, versionname=nil, description=nil)
729
+ @VersionId = versionid
730
+ @TemplateUrl = templateurl
731
+ @VersionName = versionname
732
+ @Description = description
733
+ end
734
+
735
+ def deserialize(params)
736
+ @VersionId = params['VersionId']
737
+ @TemplateUrl = params['TemplateUrl']
738
+ @VersionName = params['VersionName']
739
+ @Description = params['Description']
740
+ end
741
+ end
742
+
743
+ # UpdateStackVersion返回参数结构体
744
+ class UpdateStackVersionResponse < TencentCloud::Common::AbstractModel
745
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
746
+ # @type RequestId: String
747
+
748
+ attr_accessor :RequestId
749
+
750
+ def initialize(requestid=nil)
751
+ @RequestId = requestid
752
+ end
753
+
754
+ def deserialize(params)
755
+ @RequestId = params['RequestId']
756
+ end
757
+ end
758
+
759
+ # 版本信息
760
+ class VersionInfo < TencentCloud::Common::AbstractModel
761
+ # @param VersionId: 版本ID
762
+ # @type VersionId: String
763
+ # @param VersionName: 版本名称
764
+ # @type VersionName: String
765
+ # @param Description: 版本描述
766
+ # @type Description: String
767
+ # @param StackId: 资源栈ID
768
+ # @type StackId: String
769
+ # @param Status: 版本状态
770
+ # @type Status: String
771
+ # @param CreateTime: 创建时间
772
+ # @type CreateTime: String
773
+
774
+ attr_accessor :VersionId, :VersionName, :Description, :StackId, :Status, :CreateTime
775
+
776
+ def initialize(versionid=nil, versionname=nil, description=nil, stackid=nil, status=nil, createtime=nil)
777
+ @VersionId = versionid
778
+ @VersionName = versionname
779
+ @Description = description
780
+ @StackId = stackid
781
+ @Status = status
782
+ @CreateTime = createtime
783
+ end
784
+
785
+ def deserialize(params)
786
+ @VersionId = params['VersionId']
787
+ @VersionName = params['VersionName']
788
+ @Description = params['Description']
789
+ @StackId = params['StackId']
790
+ @Status = params['Status']
791
+ @CreateTime = params['CreateTime']
792
+ end
793
+ end
794
+
795
+ end
796
+ end
797
+ end
798
+
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tencentcloud-sdk-tic
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.200
5
+ platform: ruby
6
+ authors:
7
+ - Tencent Cloud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-11-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tencentcloud-sdk-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ description: Tencent Cloud Ruby SDK is the official software development kit, which
28
+ allows Ruby developers to write software that makes use of Tencent Cloud service
29
+ TIC.
30
+ email:
31
+ - tencentcloudapi@tencent.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - lib/VERSION
37
+ - lib/tencentcloud-sdk-tic.rb
38
+ - lib/v20201117/client.rb
39
+ - lib/v20201117/models.rb
40
+ homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
+ licenses:
42
+ - Apache-2.0
43
+ metadata:
44
+ source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-tic
45
+ changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.6.14
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Tencent Cloud SDK for Ruby - TIC
66
+ test_files: []