tencentcloud-sdk-tcb 3.0.601 → 3.0.603
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180608/client.rb +194 -1
- data/lib/v20180608/models.rb +1229 -163
- 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: ad733ca15eda2be53ef3dfc87a1e66fdcad6cfbe
|
4
|
+
data.tar.gz: a7006a6a8445087745f42a95f519a343c5616d9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c2f37de102ecf4c00fd798992cefcdb507513a5829a43b058c3fb0b8e4b3f4dab6224228aaf8ab5358d5e83da2167c3c006ce181494411fd0c7c739d707e111
|
7
|
+
data.tar.gz: 0b2905f6cf327e9fb5484aac085cd6e7e5c27976c39c865a50584656e34456befaff39dc3eaa551de813cb369a98475c208ec27f0f72fd2b479210b528c6e78c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.603
|
data/lib/v20180608/client.rb
CHANGED
@@ -413,6 +413,30 @@ module TencentCloud
|
|
413
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
414
|
end
|
415
415
|
|
416
|
+
# 删除网关某版本
|
417
|
+
|
418
|
+
# @param request: Request instance for DeleteGatewayVersion.
|
419
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DeleteGatewayVersionRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DeleteGatewayVersionResponse`
|
421
|
+
def DeleteGatewayVersion(request)
|
422
|
+
body = send_request('DeleteGatewayVersion', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DeleteGatewayVersionResponse.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
|
+
|
416
440
|
# 删除安全网关路由
|
417
441
|
|
418
442
|
# @param request: Request instance for DeleteWxGatewayRoute.
|
@@ -533,6 +557,54 @@ module TencentCloud
|
|
533
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
558
|
end
|
535
559
|
|
560
|
+
# 获取计费相关信息
|
561
|
+
|
562
|
+
# @param request: Request instance for DescribeBillingInfo.
|
563
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeBillingInfoRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeBillingInfoResponse`
|
565
|
+
def DescribeBillingInfo(request)
|
566
|
+
body = send_request('DescribeBillingInfo', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = DescribeBillingInfoResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
584
|
+
# 查询服务版本的详情
|
585
|
+
|
586
|
+
# @param request: Request instance for DescribeCbrServerVersion.
|
587
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCbrServerVersionRequest`
|
588
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCbrServerVersionResponse`
|
589
|
+
def DescribeCbrServerVersion(request)
|
590
|
+
body = send_request('DescribeCbrServerVersion', request.serialize)
|
591
|
+
response = JSON.parse(body)
|
592
|
+
if response['Response'].key?('Error') == false
|
593
|
+
model = DescribeCbrServerVersionResponse.new
|
594
|
+
model.deserialize(response['Response'])
|
595
|
+
model
|
596
|
+
else
|
597
|
+
code = response['Response']['Error']['Code']
|
598
|
+
message = response['Response']['Error']['Message']
|
599
|
+
reqid = response['Response']['RequestId']
|
600
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
601
|
+
end
|
602
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
603
|
+
raise e
|
604
|
+
rescue StandardError => e
|
605
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
|
+
end
|
607
|
+
|
536
608
|
# 获取云托管代码上传url
|
537
609
|
|
538
610
|
# @param request: Request instance for DescribeCloudBaseBuildService.
|
@@ -1253,6 +1325,55 @@ module TencentCloud
|
|
1253
1325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
1326
|
end
|
1255
1327
|
|
1328
|
+
# 查询网关版本信息
|
1329
|
+
# 暂不鉴权
|
1330
|
+
|
1331
|
+
# @param request: Request instance for DescribeGatewayVersions.
|
1332
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeGatewayVersionsRequest`
|
1333
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeGatewayVersionsResponse`
|
1334
|
+
def DescribeGatewayVersions(request)
|
1335
|
+
body = send_request('DescribeGatewayVersions', request.serialize)
|
1336
|
+
response = JSON.parse(body)
|
1337
|
+
if response['Response'].key?('Error') == false
|
1338
|
+
model = DescribeGatewayVersionsResponse.new
|
1339
|
+
model.deserialize(response['Response'])
|
1340
|
+
model
|
1341
|
+
else
|
1342
|
+
code = response['Response']['Error']['Code']
|
1343
|
+
message = response['Response']['Error']['Message']
|
1344
|
+
reqid = response['Response']['RequestId']
|
1345
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1346
|
+
end
|
1347
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1348
|
+
raise e
|
1349
|
+
rescue StandardError => e
|
1350
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# 根据用户传入的指标, 拉取一段时间内的监控数据。
|
1354
|
+
|
1355
|
+
# @param request: Request instance for DescribeGraphData.
|
1356
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeGraphDataRequest`
|
1357
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeGraphDataResponse`
|
1358
|
+
def DescribeGraphData(request)
|
1359
|
+
body = send_request('DescribeGraphData', request.serialize)
|
1360
|
+
response = JSON.parse(body)
|
1361
|
+
if response['Response'].key?('Error') == false
|
1362
|
+
model = DescribeGraphDataResponse.new
|
1363
|
+
model.deserialize(response['Response'])
|
1364
|
+
model
|
1365
|
+
else
|
1366
|
+
code = response['Response']['Error']['Code']
|
1367
|
+
message = response['Response']['Error']['Message']
|
1368
|
+
reqid = response['Response']['RequestId']
|
1369
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1370
|
+
end
|
1371
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1372
|
+
raise e
|
1373
|
+
rescue StandardError => e
|
1374
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1375
|
+
end
|
1376
|
+
|
1256
1377
|
# 查询静态托管域名任务状态
|
1257
1378
|
|
1258
1379
|
# @param request: Request instance for DescribeHostingDomainTask.
|
@@ -1520,6 +1641,54 @@ module TencentCloud
|
|
1520
1641
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1521
1642
|
end
|
1522
1643
|
|
1644
|
+
# 查看安全网关路由
|
1645
|
+
|
1646
|
+
# @param request: Request instance for DescribeWxGatewayRoutes.
|
1647
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeWxGatewayRoutesRequest`
|
1648
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeWxGatewayRoutesResponse`
|
1649
|
+
def DescribeWxGatewayRoutes(request)
|
1650
|
+
body = send_request('DescribeWxGatewayRoutes', request.serialize)
|
1651
|
+
response = JSON.parse(body)
|
1652
|
+
if response['Response'].key?('Error') == false
|
1653
|
+
model = DescribeWxGatewayRoutesResponse.new
|
1654
|
+
model.deserialize(response['Response'])
|
1655
|
+
model
|
1656
|
+
else
|
1657
|
+
code = response['Response']['Error']['Code']
|
1658
|
+
message = response['Response']['Error']['Message']
|
1659
|
+
reqid = response['Response']['RequestId']
|
1660
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1661
|
+
end
|
1662
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1663
|
+
raise e
|
1664
|
+
rescue StandardError => e
|
1665
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
# 查看安全网关
|
1669
|
+
|
1670
|
+
# @param request: Request instance for DescribeWxGateways.
|
1671
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeWxGatewaysRequest`
|
1672
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeWxGatewaysResponse`
|
1673
|
+
def DescribeWxGateways(request)
|
1674
|
+
body = send_request('DescribeWxGateways', request.serialize)
|
1675
|
+
response = JSON.parse(body)
|
1676
|
+
if response['Response'].key?('Error') == false
|
1677
|
+
model = DescribeWxGatewaysResponse.new
|
1678
|
+
model.deserialize(response['Response'])
|
1679
|
+
model
|
1680
|
+
else
|
1681
|
+
code = response['Response']['Error']['Code']
|
1682
|
+
message = response['Response']['Error']['Message']
|
1683
|
+
reqid = response['Response']['RequestId']
|
1684
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1685
|
+
end
|
1686
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1687
|
+
raise e
|
1688
|
+
rescue StandardError => e
|
1689
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1690
|
+
end
|
1691
|
+
|
1523
1692
|
# 销毁环境
|
1524
1693
|
|
1525
1694
|
# @param request: Request instance for DestroyEnv.
|
@@ -1808,6 +1977,30 @@ module TencentCloud
|
|
1808
1977
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1809
1978
|
end
|
1810
1979
|
|
1980
|
+
# 设置网关版本的流量比例
|
1981
|
+
|
1982
|
+
# @param request: Request instance for ModifyGatewayVersionTraffic.
|
1983
|
+
# @type request: :class:`Tencentcloud::tcb::V20180608::ModifyGatewayVersionTrafficRequest`
|
1984
|
+
# @rtype: :class:`Tencentcloud::tcb::V20180608::ModifyGatewayVersionTrafficResponse`
|
1985
|
+
def ModifyGatewayVersionTraffic(request)
|
1986
|
+
body = send_request('ModifyGatewayVersionTraffic', request.serialize)
|
1987
|
+
response = JSON.parse(body)
|
1988
|
+
if response['Response'].key?('Error') == false
|
1989
|
+
model = ModifyGatewayVersionTrafficResponse.new
|
1990
|
+
model.deserialize(response['Response'])
|
1991
|
+
model
|
1992
|
+
else
|
1993
|
+
code = response['Response']['Error']['Code']
|
1994
|
+
message = response['Response']['Error']['Message']
|
1995
|
+
reqid = response['Response']['RequestId']
|
1996
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1997
|
+
end
|
1998
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1999
|
+
raise e
|
2000
|
+
rescue StandardError => e
|
2001
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2002
|
+
end
|
2003
|
+
|
1811
2004
|
# 针对已隔离的免费环境,可以通过本接口将其恢复访问。
|
1812
2005
|
|
1813
2006
|
# @param request: Request instance for ReinstateEnv.
|
@@ -1880,7 +2073,7 @@ module TencentCloud
|
|
1880
2073
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1881
2074
|
end
|
1882
2075
|
|
1883
|
-
# 搜索CLS日志,TCB
|
2076
|
+
# 搜索CLS日志,TCB角色密钥访问
|
1884
2077
|
|
1885
2078
|
# @param request: Request instance for SearchClsLog.
|
1886
2079
|
# @type request: :class:`Tencentcloud::tcb::V20180608::SearchClsLogRequest`
|