tencentcloud-sdk-tcb 3.0.1211 → 3.0.1213
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/v20180608/client.rb +312 -0
- data/lib/v20180608/models.rb +1153 -28
- 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: 76008723609bc50dea9e0957aa5a1a8e16219c89
|
|
4
|
+
data.tar.gz: a6036d7c406d8acea5a0b25063f438d69bee2672
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36c062fc2f66d1ab31711c3f34c210d8552bd223863ae4a8a2ebe635a84c009766cb708cfd6b0e6635422ced0af2dd772f4c81cee905c0d13dbb55416596e4a6
|
|
7
|
+
data.tar.gz: 42c48852520520228963f55edce21d3b8a2b24996c3031b27e783ba7cda06314f92d909c991bcd91c03ce5db44c6464caf23fef888e5431bca55959aeb015dbf
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1213
|
data/lib/v20180608/client.rb
CHANGED
|
@@ -29,6 +29,54 @@ module TencentCloud
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
|
|
32
|
+
# 绑定云开发自定义域名,用于云接入和静态托管
|
|
33
|
+
|
|
34
|
+
# @param request: Request instance for BindCloudBaseAccessDomain.
|
|
35
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::BindCloudBaseAccessDomainRequest`
|
|
36
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::BindCloudBaseAccessDomainResponse`
|
|
37
|
+
def BindCloudBaseAccessDomain(request)
|
|
38
|
+
body = send_request('BindCloudBaseAccessDomain', request.serialize)
|
|
39
|
+
response = JSON.parse(body)
|
|
40
|
+
if response['Response'].key?('Error') == false
|
|
41
|
+
model = BindCloudBaseAccessDomainResponse.new
|
|
42
|
+
model.deserialize(response['Response'])
|
|
43
|
+
model
|
|
44
|
+
else
|
|
45
|
+
code = response['Response']['Error']['Code']
|
|
46
|
+
message = response['Response']['Error']['Message']
|
|
47
|
+
reqid = response['Response']['RequestId']
|
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
49
|
+
end
|
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
51
|
+
raise e
|
|
52
|
+
rescue StandardError => e
|
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# 绑定自定义域名
|
|
57
|
+
|
|
58
|
+
# @param request: Request instance for BindCloudBaseGWDomain.
|
|
59
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::BindCloudBaseGWDomainRequest`
|
|
60
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::BindCloudBaseGWDomainResponse`
|
|
61
|
+
def BindCloudBaseGWDomain(request)
|
|
62
|
+
body = send_request('BindCloudBaseGWDomain', request.serialize)
|
|
63
|
+
response = JSON.parse(body)
|
|
64
|
+
if response['Response'].key?('Error') == false
|
|
65
|
+
model = BindCloudBaseGWDomainResponse.new
|
|
66
|
+
model.deserialize(response['Response'])
|
|
67
|
+
model
|
|
68
|
+
else
|
|
69
|
+
code = response['Response']['Error']['Code']
|
|
70
|
+
message = response['Response']['Error']['Message']
|
|
71
|
+
reqid = response['Response']['RequestId']
|
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
73
|
+
end
|
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
75
|
+
raise e
|
|
76
|
+
rescue StandardError => e
|
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
|
+
end
|
|
79
|
+
|
|
32
80
|
# 绑定另外一个环境下的网关,callContainer请求可以访问到该网关
|
|
33
81
|
|
|
34
82
|
# @param request: Request instance for BindEnvGateway.
|
|
@@ -149,6 +197,54 @@ module TencentCloud
|
|
|
149
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
150
198
|
end
|
|
151
199
|
|
|
200
|
+
# 创建云开发产品计费订单
|
|
201
|
+
|
|
202
|
+
# @param request: Request instance for CreateBillDeal.
|
|
203
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::CreateBillDealRequest`
|
|
204
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::CreateBillDealResponse`
|
|
205
|
+
def CreateBillDeal(request)
|
|
206
|
+
body = send_request('CreateBillDeal', request.serialize)
|
|
207
|
+
response = JSON.parse(body)
|
|
208
|
+
if response['Response'].key?('Error') == false
|
|
209
|
+
model = CreateBillDealResponse.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
|
+
|
|
224
|
+
# 创建云开发网关API
|
|
225
|
+
|
|
226
|
+
# @param request: Request instance for CreateCloudBaseGWAPI.
|
|
227
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::CreateCloudBaseGWAPIRequest`
|
|
228
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::CreateCloudBaseGWAPIResponse`
|
|
229
|
+
def CreateCloudBaseGWAPI(request)
|
|
230
|
+
body = send_request('CreateCloudBaseGWAPI', request.serialize)
|
|
231
|
+
response = JSON.parse(body)
|
|
232
|
+
if response['Response'].key?('Error') == false
|
|
233
|
+
model = CreateCloudBaseGWAPIResponse.new
|
|
234
|
+
model.deserialize(response['Response'])
|
|
235
|
+
model
|
|
236
|
+
else
|
|
237
|
+
code = response['Response']['Error']['Code']
|
|
238
|
+
message = response['Response']['Error']['Message']
|
|
239
|
+
reqid = response['Response']['RequestId']
|
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
241
|
+
end
|
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
243
|
+
raise e
|
|
244
|
+
rescue StandardError => e
|
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
246
|
+
end
|
|
247
|
+
|
|
152
248
|
# 开通容器托管的资源,包括集群创建,VPC配置,异步任务创建,镜像托管,Coding等,查看创建结果需要根据DescribeCloudBaseRunResource接口来查看
|
|
153
249
|
|
|
154
250
|
# @param request: Request instance for CreateCloudBaseRunResource.
|
|
@@ -317,6 +413,54 @@ module TencentCloud
|
|
|
317
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
318
414
|
end
|
|
319
415
|
|
|
416
|
+
# 删除网关API
|
|
417
|
+
|
|
418
|
+
# @param request: Request instance for DeleteCloudBaseGWAPI.
|
|
419
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DeleteCloudBaseGWAPIRequest`
|
|
420
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DeleteCloudBaseGWAPIResponse`
|
|
421
|
+
def DeleteCloudBaseGWAPI(request)
|
|
422
|
+
body = send_request('DeleteCloudBaseGWAPI', request.serialize)
|
|
423
|
+
response = JSON.parse(body)
|
|
424
|
+
if response['Response'].key?('Error') == false
|
|
425
|
+
model = DeleteCloudBaseGWAPIResponse.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 DeleteCloudBaseGWDomain.
|
|
443
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DeleteCloudBaseGWDomainRequest`
|
|
444
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DeleteCloudBaseGWDomainResponse`
|
|
445
|
+
def DeleteCloudBaseGWDomain(request)
|
|
446
|
+
body = send_request('DeleteCloudBaseGWDomain', request.serialize)
|
|
447
|
+
response = JSON.parse(body)
|
|
448
|
+
if response['Response'].key?('Error') == false
|
|
449
|
+
model = DeleteCloudBaseGWDomainResponse.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
|
+
|
|
320
464
|
# 删除云项目
|
|
321
465
|
|
|
322
466
|
# @param request: Request instance for DeleteCloudBaseProjectLatestVersion.
|
|
@@ -605,6 +749,54 @@ module TencentCloud
|
|
|
605
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
606
750
|
end
|
|
607
751
|
|
|
752
|
+
# 获取网关API列表
|
|
753
|
+
|
|
754
|
+
# @param request: Request instance for DescribeCloudBaseGWAPI.
|
|
755
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseGWAPIRequest`
|
|
756
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseGWAPIResponse`
|
|
757
|
+
def DescribeCloudBaseGWAPI(request)
|
|
758
|
+
body = send_request('DescribeCloudBaseGWAPI', request.serialize)
|
|
759
|
+
response = JSON.parse(body)
|
|
760
|
+
if response['Response'].key?('Error') == false
|
|
761
|
+
model = DescribeCloudBaseGWAPIResponse.new
|
|
762
|
+
model.deserialize(response['Response'])
|
|
763
|
+
model
|
|
764
|
+
else
|
|
765
|
+
code = response['Response']['Error']['Code']
|
|
766
|
+
message = response['Response']['Error']['Message']
|
|
767
|
+
reqid = response['Response']['RequestId']
|
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
769
|
+
end
|
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
771
|
+
raise e
|
|
772
|
+
rescue StandardError => e
|
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# 获取网关服务
|
|
777
|
+
|
|
778
|
+
# @param request: Request instance for DescribeCloudBaseGWService.
|
|
779
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseGWServiceRequest`
|
|
780
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseGWServiceResponse`
|
|
781
|
+
def DescribeCloudBaseGWService(request)
|
|
782
|
+
body = send_request('DescribeCloudBaseGWService', request.serialize)
|
|
783
|
+
response = JSON.parse(body)
|
|
784
|
+
if response['Response'].key?('Error') == false
|
|
785
|
+
model = DescribeCloudBaseGWServiceResponse.new
|
|
786
|
+
model.deserialize(response['Response'])
|
|
787
|
+
model
|
|
788
|
+
else
|
|
789
|
+
code = response['Response']['Error']['Code']
|
|
790
|
+
message = response['Response']['Error']['Message']
|
|
791
|
+
reqid = response['Response']['RequestId']
|
|
792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
793
|
+
end
|
|
794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
795
|
+
raise e
|
|
796
|
+
rescue StandardError => e
|
|
797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
798
|
+
end
|
|
799
|
+
|
|
608
800
|
# 获取云开发项目列表
|
|
609
801
|
|
|
610
802
|
# @param request: Request instance for DescribeCloudBaseProjectLatestVersionList.
|
|
@@ -869,6 +1061,30 @@ module TencentCloud
|
|
|
869
1061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
870
1062
|
end
|
|
871
1063
|
|
|
1064
|
+
# 查询环境计费周期
|
|
1065
|
+
|
|
1066
|
+
# @param request: Request instance for DescribeEnvAccountCircle.
|
|
1067
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeEnvAccountCircleRequest`
|
|
1068
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeEnvAccountCircleResponse`
|
|
1069
|
+
def DescribeEnvAccountCircle(request)
|
|
1070
|
+
body = send_request('DescribeEnvAccountCircle', request.serialize)
|
|
1071
|
+
response = JSON.parse(body)
|
|
1072
|
+
if response['Response'].key?('Error') == false
|
|
1073
|
+
model = DescribeEnvAccountCircleResponse.new
|
|
1074
|
+
model.deserialize(response['Response'])
|
|
1075
|
+
model
|
|
1076
|
+
else
|
|
1077
|
+
code = response['Response']['Error']['Code']
|
|
1078
|
+
message = response['Response']['Error']['Message']
|
|
1079
|
+
reqid = response['Response']['RequestId']
|
|
1080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1081
|
+
end
|
|
1082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1083
|
+
raise e
|
|
1084
|
+
rescue StandardError => e
|
|
1085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1086
|
+
end
|
|
1087
|
+
|
|
872
1088
|
# 获取环境下单地域
|
|
873
1089
|
|
|
874
1090
|
# @param request: Request instance for DescribeEnvDealRegion.
|
|
@@ -1206,6 +1422,30 @@ module TencentCloud
|
|
|
1206
1422
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1207
1423
|
end
|
|
1208
1424
|
|
|
1425
|
+
# 查询数据库安全规则
|
|
1426
|
+
|
|
1427
|
+
# @param request: Request instance for DescribeSafeRule.
|
|
1428
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeSafeRuleRequest`
|
|
1429
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeSafeRuleResponse`
|
|
1430
|
+
def DescribeSafeRule(request)
|
|
1431
|
+
body = send_request('DescribeSafeRule', request.serialize)
|
|
1432
|
+
response = JSON.parse(body)
|
|
1433
|
+
if response['Response'].key?('Error') == false
|
|
1434
|
+
model = DescribeSafeRuleResponse.new
|
|
1435
|
+
model.deserialize(response['Response'])
|
|
1436
|
+
model
|
|
1437
|
+
else
|
|
1438
|
+
code = response['Response']['Error']['Code']
|
|
1439
|
+
message = response['Response']['Error']['Message']
|
|
1440
|
+
reqid = response['Response']['RequestId']
|
|
1441
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1442
|
+
end
|
|
1443
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1444
|
+
raise e
|
|
1445
|
+
rescue StandardError => e
|
|
1446
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1447
|
+
end
|
|
1448
|
+
|
|
1209
1449
|
# 查询后付费短信资源量
|
|
1210
1450
|
# 1 有免费包的返回SmsFreeQuota结构所有字段
|
|
1211
1451
|
# 2 没有免费包,有付费包,付费返回复用SmsFreeQuota结构,其中只有 TodayUsedQuota 字段有效
|
|
@@ -1257,6 +1497,30 @@ module TencentCloud
|
|
|
1257
1497
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1258
1498
|
end
|
|
1259
1499
|
|
|
1500
|
+
# 查看当前环境下静态托管资源信息,根据返回结果判断静态资源的状态
|
|
1501
|
+
|
|
1502
|
+
# @param request: Request instance for DescribeStaticStore.
|
|
1503
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeStaticStoreRequest`
|
|
1504
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeStaticStoreResponse`
|
|
1505
|
+
def DescribeStaticStore(request)
|
|
1506
|
+
body = send_request('DescribeStaticStore', request.serialize)
|
|
1507
|
+
response = JSON.parse(body)
|
|
1508
|
+
if response['Response'].key?('Error') == false
|
|
1509
|
+
model = DescribeStaticStoreResponse.new
|
|
1510
|
+
model.deserialize(response['Response'])
|
|
1511
|
+
model
|
|
1512
|
+
else
|
|
1513
|
+
code = response['Response']['Error']['Code']
|
|
1514
|
+
message = response['Response']['Error']['Message']
|
|
1515
|
+
reqid = response['Response']['RequestId']
|
|
1516
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1517
|
+
end
|
|
1518
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1519
|
+
raise e
|
|
1520
|
+
rescue StandardError => e
|
|
1521
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1522
|
+
end
|
|
1523
|
+
|
|
1260
1524
|
# 查询表的相关信息,包括索引等信息
|
|
1261
1525
|
|
|
1262
1526
|
# @param request: Request instance for DescribeTable.
|
|
@@ -1569,6 +1833,30 @@ module TencentCloud
|
|
|
1569
1833
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1570
1834
|
end
|
|
1571
1835
|
|
|
1836
|
+
# 修改云开发网关API
|
|
1837
|
+
|
|
1838
|
+
# @param request: Request instance for ModifyCloudBaseGWAPI.
|
|
1839
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::ModifyCloudBaseGWAPIRequest`
|
|
1840
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::ModifyCloudBaseGWAPIResponse`
|
|
1841
|
+
def ModifyCloudBaseGWAPI(request)
|
|
1842
|
+
body = send_request('ModifyCloudBaseGWAPI', request.serialize)
|
|
1843
|
+
response = JSON.parse(body)
|
|
1844
|
+
if response['Response'].key?('Error') == false
|
|
1845
|
+
model = ModifyCloudBaseGWAPIResponse.new
|
|
1846
|
+
model.deserialize(response['Response'])
|
|
1847
|
+
model
|
|
1848
|
+
else
|
|
1849
|
+
code = response['Response']['Error']['Code']
|
|
1850
|
+
message = response['Response']['Error']['Message']
|
|
1851
|
+
reqid = response['Response']['RequestId']
|
|
1852
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1853
|
+
end
|
|
1854
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1855
|
+
raise e
|
|
1856
|
+
rescue StandardError => e
|
|
1857
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1858
|
+
end
|
|
1859
|
+
|
|
1572
1860
|
# 修改容器内的版本流量配置
|
|
1573
1861
|
|
|
1574
1862
|
# @param request: Request instance for ModifyCloudBaseRunServerFlowConf.
|
|
@@ -1809,6 +2097,30 @@ module TencentCloud
|
|
|
1809
2097
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1810
2098
|
end
|
|
1811
2099
|
|
|
2100
|
+
# 搜索CLS日志,TCB角色密钥访问
|
|
2101
|
+
|
|
2102
|
+
# @param request: Request instance for SearchClsLog.
|
|
2103
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::SearchClsLogRequest`
|
|
2104
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::SearchClsLogResponse`
|
|
2105
|
+
def SearchClsLog(request)
|
|
2106
|
+
body = send_request('SearchClsLog', request.serialize)
|
|
2107
|
+
response = JSON.parse(body)
|
|
2108
|
+
if response['Response'].key?('Error') == false
|
|
2109
|
+
model = SearchClsLogResponse.new
|
|
2110
|
+
model.deserialize(response['Response'])
|
|
2111
|
+
model
|
|
2112
|
+
else
|
|
2113
|
+
code = response['Response']['Error']['Code']
|
|
2114
|
+
message = response['Response']['Error']['Message']
|
|
2115
|
+
reqid = response['Response']['RequestId']
|
|
2116
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2117
|
+
end
|
|
2118
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2119
|
+
raise e
|
|
2120
|
+
rescue StandardError => e
|
|
2121
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2122
|
+
end
|
|
2123
|
+
|
|
1812
2124
|
# 批量解冻服务
|
|
1813
2125
|
|
|
1814
2126
|
# @param request: Request instance for UnfreezeCloudBaseRunServers.
|