tencentcloud-sdk-tcbr 3.0.1140 → 3.0.1187
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/v20220217/client.rb +216 -0
- data/lib/v20220217/models.rb +1032 -2
- 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: babfa95d00ad132c6e337332f21e47045dd50027
|
|
4
|
+
data.tar.gz: 58cfa03e8379ad7db7f970432a6b6267f226d73f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6be8e5f903729d0877375003b87c1ca123fd4b4d27966823a4ca11f2e767d7c3d5eca680a9788543c9041e8eb04e9da30130fc7ff0fd7c1111552e2e4d9656d5
|
|
7
|
+
data.tar.gz: 88f2e2737f0bbbbfd7ef9811b876e67c6e0009bcaf8b577d778a17e3bc5752092618dee6a6e43f7879b1ee285483eb6ba8745845d162a71f1a6b9612f27fe568
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1187
|
data/lib/v20220217/client.rb
CHANGED
|
@@ -77,6 +77,78 @@ module TencentCloud
|
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
# 删除云托管服务:包括服务下的版本,镜像,流水线
|
|
81
|
+
|
|
82
|
+
# @param request: Request instance for DeleteCloudRunServer.
|
|
83
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::DeleteCloudRunServerRequest`
|
|
84
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::DeleteCloudRunServerResponse`
|
|
85
|
+
def DeleteCloudRunServer(request)
|
|
86
|
+
body = send_request('DeleteCloudRunServer', request.serialize)
|
|
87
|
+
response = JSON.parse(body)
|
|
88
|
+
if response['Response'].key?('Error') == false
|
|
89
|
+
model = DeleteCloudRunServerResponse.new
|
|
90
|
+
model.deserialize(response['Response'])
|
|
91
|
+
model
|
|
92
|
+
else
|
|
93
|
+
code = response['Response']['Error']['Code']
|
|
94
|
+
message = response['Response']['Error']['Message']
|
|
95
|
+
reqid = response['Response']['RequestId']
|
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
97
|
+
end
|
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
99
|
+
raise e
|
|
100
|
+
rescue StandardError => e
|
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# 批量删除版本
|
|
105
|
+
|
|
106
|
+
# @param request: Request instance for DeleteCloudRunVersions.
|
|
107
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::DeleteCloudRunVersionsRequest`
|
|
108
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::DeleteCloudRunVersionsResponse`
|
|
109
|
+
def DeleteCloudRunVersions(request)
|
|
110
|
+
body = send_request('DeleteCloudRunVersions', request.serialize)
|
|
111
|
+
response = JSON.parse(body)
|
|
112
|
+
if response['Response'].key?('Error') == false
|
|
113
|
+
model = DeleteCloudRunVersionsResponse.new
|
|
114
|
+
model.deserialize(response['Response'])
|
|
115
|
+
model
|
|
116
|
+
else
|
|
117
|
+
code = response['Response']['Error']['Code']
|
|
118
|
+
message = response['Response']['Error']['Message']
|
|
119
|
+
reqid = response['Response']['RequestId']
|
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
121
|
+
end
|
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
123
|
+
raise e
|
|
124
|
+
rescue StandardError => e
|
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# 查询云托管部署记录
|
|
129
|
+
|
|
130
|
+
# @param request: Request instance for DescribeCloudRunDeployRecord.
|
|
131
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::DescribeCloudRunDeployRecordRequest`
|
|
132
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::DescribeCloudRunDeployRecordResponse`
|
|
133
|
+
def DescribeCloudRunDeployRecord(request)
|
|
134
|
+
body = send_request('DescribeCloudRunDeployRecord', request.serialize)
|
|
135
|
+
response = JSON.parse(body)
|
|
136
|
+
if response['Response'].key?('Error') == false
|
|
137
|
+
model = DescribeCloudRunDeployRecordResponse.new
|
|
138
|
+
model.deserialize(response['Response'])
|
|
139
|
+
model
|
|
140
|
+
else
|
|
141
|
+
code = response['Response']['Error']['Code']
|
|
142
|
+
message = response['Response']['Error']['Message']
|
|
143
|
+
reqid = response['Response']['RequestId']
|
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
145
|
+
end
|
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
147
|
+
raise e
|
|
148
|
+
rescue StandardError => e
|
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
150
|
+
end
|
|
151
|
+
|
|
80
152
|
# 获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数
|
|
81
153
|
|
|
82
154
|
# @param request: Request instance for DescribeCloudRunEnvs.
|
|
@@ -101,6 +173,54 @@ module TencentCloud
|
|
|
101
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
174
|
end
|
|
103
175
|
|
|
176
|
+
# 查询云托管Pod实例列表
|
|
177
|
+
|
|
178
|
+
# @param request: Request instance for DescribeCloudRunPodList.
|
|
179
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::DescribeCloudRunPodListRequest`
|
|
180
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::DescribeCloudRunPodListResponse`
|
|
181
|
+
def DescribeCloudRunPodList(request)
|
|
182
|
+
body = send_request('DescribeCloudRunPodList', request.serialize)
|
|
183
|
+
response = JSON.parse(body)
|
|
184
|
+
if response['Response'].key?('Error') == false
|
|
185
|
+
model = DescribeCloudRunPodListResponse.new
|
|
186
|
+
model.deserialize(response['Response'])
|
|
187
|
+
model
|
|
188
|
+
else
|
|
189
|
+
code = response['Response']['Error']['Code']
|
|
190
|
+
message = response['Response']['Error']['Message']
|
|
191
|
+
reqid = response['Response']['RequestId']
|
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
193
|
+
end
|
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
195
|
+
raise e
|
|
196
|
+
rescue StandardError => e
|
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# 查询运行日志
|
|
201
|
+
|
|
202
|
+
# @param request: Request instance for DescribeCloudRunProcessLog.
|
|
203
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::DescribeCloudRunProcessLogRequest`
|
|
204
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::DescribeCloudRunProcessLogResponse`
|
|
205
|
+
def DescribeCloudRunProcessLog(request)
|
|
206
|
+
body = send_request('DescribeCloudRunProcessLog', request.serialize)
|
|
207
|
+
response = JSON.parse(body)
|
|
208
|
+
if response['Response'].key?('Error') == false
|
|
209
|
+
model = DescribeCloudRunProcessLogResponse.new
|
|
210
|
+
model.deserialize(response['Response'])
|
|
211
|
+
model
|
|
212
|
+
else
|
|
213
|
+
code = response['Response']['Error']['Code']
|
|
214
|
+
message = response['Response']['Error']['Message']
|
|
215
|
+
reqid = response['Response']['RequestId']
|
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
217
|
+
end
|
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
219
|
+
raise e
|
|
220
|
+
rescue StandardError => e
|
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
222
|
+
end
|
|
223
|
+
|
|
104
224
|
# 查询云托管服务详情
|
|
105
225
|
|
|
106
226
|
# @param request: Request instance for DescribeCloudRunServerDetail.
|
|
@@ -173,6 +293,30 @@ module TencentCloud
|
|
|
173
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
174
294
|
end
|
|
175
295
|
|
|
296
|
+
# 查询发布单
|
|
297
|
+
|
|
298
|
+
# @param request: Request instance for DescribeReleaseOrder.
|
|
299
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::DescribeReleaseOrderRequest`
|
|
300
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::DescribeReleaseOrderResponse`
|
|
301
|
+
def DescribeReleaseOrder(request)
|
|
302
|
+
body = send_request('DescribeReleaseOrder', request.serialize)
|
|
303
|
+
response = JSON.parse(body)
|
|
304
|
+
if response['Response'].key?('Error') == false
|
|
305
|
+
model = DescribeReleaseOrderResponse.new
|
|
306
|
+
model.deserialize(response['Response'])
|
|
307
|
+
model
|
|
308
|
+
else
|
|
309
|
+
code = response['Response']['Error']['Code']
|
|
310
|
+
message = response['Response']['Error']['Message']
|
|
311
|
+
reqid = response['Response']['RequestId']
|
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
313
|
+
end
|
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
315
|
+
raise e
|
|
316
|
+
rescue StandardError => e
|
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
318
|
+
end
|
|
319
|
+
|
|
176
320
|
# 查询服务管理任务信息
|
|
177
321
|
|
|
178
322
|
# @param request: Request instance for DescribeServerManageTask.
|
|
@@ -197,6 +341,30 @@ module TencentCloud
|
|
|
197
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
198
342
|
end
|
|
199
343
|
|
|
344
|
+
# 查询版本详情
|
|
345
|
+
|
|
346
|
+
# @param request: Request instance for DescribeVersionDetail.
|
|
347
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::DescribeVersionDetailRequest`
|
|
348
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::DescribeVersionDetailResponse`
|
|
349
|
+
def DescribeVersionDetail(request)
|
|
350
|
+
body = send_request('DescribeVersionDetail', request.serialize)
|
|
351
|
+
response = JSON.parse(body)
|
|
352
|
+
if response['Response'].key?('Error') == false
|
|
353
|
+
model = DescribeVersionDetailResponse.new
|
|
354
|
+
model.deserialize(response['Response'])
|
|
355
|
+
model
|
|
356
|
+
else
|
|
357
|
+
code = response['Response']['Error']['Code']
|
|
358
|
+
message = response['Response']['Error']['Message']
|
|
359
|
+
reqid = response['Response']['RequestId']
|
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
361
|
+
end
|
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
363
|
+
raise e
|
|
364
|
+
rescue StandardError => e
|
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
366
|
+
end
|
|
367
|
+
|
|
200
368
|
# 操作发布单
|
|
201
369
|
|
|
202
370
|
# @param request: Request instance for OperateServerManage.
|
|
@@ -245,6 +413,54 @@ module TencentCloud
|
|
|
245
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
246
414
|
end
|
|
247
415
|
|
|
416
|
+
# 查询日志信息
|
|
417
|
+
|
|
418
|
+
# @param request: Request instance for SearchClsLog.
|
|
419
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::SearchClsLogRequest`
|
|
420
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::SearchClsLogResponse`
|
|
421
|
+
def SearchClsLog(request)
|
|
422
|
+
body = send_request('SearchClsLog', request.serialize)
|
|
423
|
+
response = JSON.parse(body)
|
|
424
|
+
if response['Response'].key?('Error') == false
|
|
425
|
+
model = SearchClsLogResponse.new
|
|
426
|
+
model.deserialize(response['Response'])
|
|
427
|
+
model
|
|
428
|
+
else
|
|
429
|
+
code = response['Response']['Error']['Code']
|
|
430
|
+
message = response['Response']['Error']['Message']
|
|
431
|
+
reqid = response['Response']['RequestId']
|
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
433
|
+
end
|
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
435
|
+
raise e
|
|
436
|
+
rescue StandardError => e
|
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
# 回滚版本
|
|
441
|
+
|
|
442
|
+
# @param request: Request instance for SubmitServerRollback.
|
|
443
|
+
# @type request: :class:`Tencentcloud::tcbr::V20220217::SubmitServerRollbackRequest`
|
|
444
|
+
# @rtype: :class:`Tencentcloud::tcbr::V20220217::SubmitServerRollbackResponse`
|
|
445
|
+
def SubmitServerRollback(request)
|
|
446
|
+
body = send_request('SubmitServerRollback', request.serialize)
|
|
447
|
+
response = JSON.parse(body)
|
|
448
|
+
if response['Response'].key?('Error') == false
|
|
449
|
+
model = SubmitServerRollbackResponse.new
|
|
450
|
+
model.deserialize(response['Response'])
|
|
451
|
+
model
|
|
452
|
+
else
|
|
453
|
+
code = response['Response']['Error']['Code']
|
|
454
|
+
message = response['Response']['Error']['Message']
|
|
455
|
+
reqid = response['Response']['RequestId']
|
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
457
|
+
end
|
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
459
|
+
raise e
|
|
460
|
+
rescue StandardError => e
|
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
462
|
+
end
|
|
463
|
+
|
|
248
464
|
# 更新云托管服务
|
|
249
465
|
|
|
250
466
|
# @param request: Request instance for UpdateCloudRunServer.
|