tencentcloud-sdk-tcb 3.0.1183 → 3.0.1189
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 +0 -288
- data/lib/v20180608/models.rb +6 -950
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b74da7e3a56841818e708e3905862f3a83caa7bc
|
|
4
|
+
data.tar.gz: ec4bfb30c632fba460de7d323e6ff0772b9512af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c750bb42b255137c8175ea7a90ca9011370ecac660104ce4b36ad4f8ea4cf0a49a590f94ba820fb0f61ef52dacc8bc15f8f9ffb8e16d83955f915dd8974e9ccb
|
|
7
|
+
data.tar.gz: 3ad1f8a673e17dfeb875775f0a014048a2136eccf47ca63a53cced12a9c069900ce5e3d14f90b61c5de1de7857b65ee7dbbf5ceb373a5cb6419dfb6726602f38
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1189
|
data/lib/v20180608/client.rb
CHANGED
|
@@ -269,54 +269,6 @@ module TencentCloud
|
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
270
270
|
end
|
|
271
271
|
|
|
272
|
-
# 创建微信云托管
|
|
273
|
-
|
|
274
|
-
# @param request: Request instance for CreateWxCloudBaseRunEnv.
|
|
275
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::CreateWxCloudBaseRunEnvRequest`
|
|
276
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::CreateWxCloudBaseRunEnvResponse`
|
|
277
|
-
def CreateWxCloudBaseRunEnv(request)
|
|
278
|
-
body = send_request('CreateWxCloudBaseRunEnv', request.serialize)
|
|
279
|
-
response = JSON.parse(body)
|
|
280
|
-
if response['Response'].key?('Error') == false
|
|
281
|
-
model = CreateWxCloudBaseRunEnvResponse.new
|
|
282
|
-
model.deserialize(response['Response'])
|
|
283
|
-
model
|
|
284
|
-
else
|
|
285
|
-
code = response['Response']['Error']['Code']
|
|
286
|
-
message = response['Response']['Error']['Message']
|
|
287
|
-
reqid = response['Response']['RequestId']
|
|
288
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
289
|
-
end
|
|
290
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
291
|
-
raise e
|
|
292
|
-
rescue StandardError => e
|
|
293
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
294
|
-
end
|
|
295
|
-
|
|
296
|
-
# 开通微信云托管MySQL数据库服务
|
|
297
|
-
|
|
298
|
-
# @param request: Request instance for CreateWxCloudBaseRunServerDBCluster.
|
|
299
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::CreateWxCloudBaseRunServerDBClusterRequest`
|
|
300
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::CreateWxCloudBaseRunServerDBClusterResponse`
|
|
301
|
-
def CreateWxCloudBaseRunServerDBCluster(request)
|
|
302
|
-
body = send_request('CreateWxCloudBaseRunServerDBCluster', request.serialize)
|
|
303
|
-
response = JSON.parse(body)
|
|
304
|
-
if response['Response'].key?('Error') == false
|
|
305
|
-
model = CreateWxCloudBaseRunServerDBClusterResponse.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
|
-
|
|
320
272
|
# 删除云项目
|
|
321
273
|
|
|
322
274
|
# @param request: Request instance for DeleteCloudBaseProjectLatestVersion.
|
|
@@ -605,126 +557,6 @@ module TencentCloud
|
|
|
605
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
606
558
|
end
|
|
607
559
|
|
|
608
|
-
# 查询环境下所有的vpc列表
|
|
609
|
-
|
|
610
|
-
# @param request: Request instance for DescribeCloudBaseRunAllVpcs.
|
|
611
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunAllVpcsRequest`
|
|
612
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunAllVpcsResponse`
|
|
613
|
-
def DescribeCloudBaseRunAllVpcs(request)
|
|
614
|
-
body = send_request('DescribeCloudBaseRunAllVpcs', request.serialize)
|
|
615
|
-
response = JSON.parse(body)
|
|
616
|
-
if response['Response'].key?('Error') == false
|
|
617
|
-
model = DescribeCloudBaseRunAllVpcsResponse.new
|
|
618
|
-
model.deserialize(response['Response'])
|
|
619
|
-
model
|
|
620
|
-
else
|
|
621
|
-
code = response['Response']['Error']['Code']
|
|
622
|
-
message = response['Response']['Error']['Message']
|
|
623
|
-
reqid = response['Response']['RequestId']
|
|
624
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
625
|
-
end
|
|
626
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
627
|
-
raise e
|
|
628
|
-
rescue StandardError => e
|
|
629
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
630
|
-
end
|
|
631
|
-
|
|
632
|
-
# 独立网关中拉取云托管服务对应的配置信息
|
|
633
|
-
|
|
634
|
-
# @param request: Request instance for DescribeCloudBaseRunConfForGateWay.
|
|
635
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunConfForGateWayRequest`
|
|
636
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunConfForGateWayResponse`
|
|
637
|
-
def DescribeCloudBaseRunConfForGateWay(request)
|
|
638
|
-
body = send_request('DescribeCloudBaseRunConfForGateWay', request.serialize)
|
|
639
|
-
response = JSON.parse(body)
|
|
640
|
-
if response['Response'].key?('Error') == false
|
|
641
|
-
model = DescribeCloudBaseRunConfForGateWayResponse.new
|
|
642
|
-
model.deserialize(response['Response'])
|
|
643
|
-
model
|
|
644
|
-
else
|
|
645
|
-
code = response['Response']['Error']['Code']
|
|
646
|
-
message = response['Response']['Error']['Message']
|
|
647
|
-
reqid = response['Response']['RequestId']
|
|
648
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
649
|
-
end
|
|
650
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
651
|
-
raise e
|
|
652
|
-
rescue StandardError => e
|
|
653
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
654
|
-
end
|
|
655
|
-
|
|
656
|
-
# 查询一键部署任务 (特定接口:外部查询使用)
|
|
657
|
-
|
|
658
|
-
# @param request: Request instance for DescribeCloudBaseRunOneClickTaskExternal.
|
|
659
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunOneClickTaskExternalRequest`
|
|
660
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunOneClickTaskExternalResponse`
|
|
661
|
-
def DescribeCloudBaseRunOneClickTaskExternal(request)
|
|
662
|
-
body = send_request('DescribeCloudBaseRunOneClickTaskExternal', request.serialize)
|
|
663
|
-
response = JSON.parse(body)
|
|
664
|
-
if response['Response'].key?('Error') == false
|
|
665
|
-
model = DescribeCloudBaseRunOneClickTaskExternalResponse.new
|
|
666
|
-
model.deserialize(response['Response'])
|
|
667
|
-
model
|
|
668
|
-
else
|
|
669
|
-
code = response['Response']['Error']['Code']
|
|
670
|
-
message = response['Response']['Error']['Message']
|
|
671
|
-
reqid = response['Response']['RequestId']
|
|
672
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
673
|
-
end
|
|
674
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
675
|
-
raise e
|
|
676
|
-
rescue StandardError => e
|
|
677
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
678
|
-
end
|
|
679
|
-
|
|
680
|
-
# 查询服务、版本和操作类型
|
|
681
|
-
|
|
682
|
-
# @param request: Request instance for DescribeCloudBaseRunOperationTypes.
|
|
683
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunOperationTypesRequest`
|
|
684
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunOperationTypesResponse`
|
|
685
|
-
def DescribeCloudBaseRunOperationTypes(request)
|
|
686
|
-
body = send_request('DescribeCloudBaseRunOperationTypes', request.serialize)
|
|
687
|
-
response = JSON.parse(body)
|
|
688
|
-
if response['Response'].key?('Error') == false
|
|
689
|
-
model = DescribeCloudBaseRunOperationTypesResponse.new
|
|
690
|
-
model.deserialize(response['Response'])
|
|
691
|
-
model
|
|
692
|
-
else
|
|
693
|
-
code = response['Response']['Error']['Code']
|
|
694
|
-
message = response['Response']['Error']['Message']
|
|
695
|
-
reqid = response['Response']['RequestId']
|
|
696
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
697
|
-
end
|
|
698
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
699
|
-
raise e
|
|
700
|
-
rescue StandardError => e
|
|
701
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
702
|
-
end
|
|
703
|
-
|
|
704
|
-
# 查询云托管服务版本容器列表
|
|
705
|
-
|
|
706
|
-
# @param request: Request instance for DescribeCloudBaseRunPodList.
|
|
707
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunPodListRequest`
|
|
708
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunPodListResponse`
|
|
709
|
-
def DescribeCloudBaseRunPodList(request)
|
|
710
|
-
body = send_request('DescribeCloudBaseRunPodList', request.serialize)
|
|
711
|
-
response = JSON.parse(body)
|
|
712
|
-
if response['Response'].key?('Error') == false
|
|
713
|
-
model = DescribeCloudBaseRunPodListResponse.new
|
|
714
|
-
model.deserialize(response['Response'])
|
|
715
|
-
model
|
|
716
|
-
else
|
|
717
|
-
code = response['Response']['Error']['Code']
|
|
718
|
-
message = response['Response']['Error']['Message']
|
|
719
|
-
reqid = response['Response']['RequestId']
|
|
720
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
721
|
-
end
|
|
722
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
723
|
-
raise e
|
|
724
|
-
rescue StandardError => e
|
|
725
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
726
|
-
end
|
|
727
|
-
|
|
728
560
|
# 查看容器托管的集群状态
|
|
729
561
|
|
|
730
562
|
# @param request: Request instance for DescribeCloudBaseRunResource.
|
|
@@ -797,30 +629,6 @@ module TencentCloud
|
|
|
797
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
798
630
|
end
|
|
799
631
|
|
|
800
|
-
# 查询微信云托管服务域名
|
|
801
|
-
|
|
802
|
-
# @param request: Request instance for DescribeCloudBaseRunServerDomainName.
|
|
803
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunServerDomainNameRequest`
|
|
804
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunServerDomainNameResponse`
|
|
805
|
-
def DescribeCloudBaseRunServerDomainName(request)
|
|
806
|
-
body = send_request('DescribeCloudBaseRunServerDomainName', request.serialize)
|
|
807
|
-
response = JSON.parse(body)
|
|
808
|
-
if response['Response'].key?('Error') == false
|
|
809
|
-
model = DescribeCloudBaseRunServerDomainNameResponse.new
|
|
810
|
-
model.deserialize(response['Response'])
|
|
811
|
-
model
|
|
812
|
-
else
|
|
813
|
-
code = response['Response']['Error']['Code']
|
|
814
|
-
message = response['Response']['Error']['Message']
|
|
815
|
-
reqid = response['Response']['RequestId']
|
|
816
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
817
|
-
end
|
|
818
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
819
|
-
raise e
|
|
820
|
-
rescue StandardError => e
|
|
821
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
822
|
-
end
|
|
823
|
-
|
|
824
632
|
# 查询服务版本的详情,CPU和MEM 请使用CPUSize和MemSize
|
|
825
633
|
|
|
826
634
|
# @param request: Request instance for DescribeCloudBaseRunServerVersion.
|
|
@@ -869,30 +677,6 @@ module TencentCloud
|
|
|
869
677
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
870
678
|
end
|
|
871
679
|
|
|
872
|
-
# DescribeCloudBaseRunVersionRsByCondition 获取云托管详情
|
|
873
|
-
|
|
874
|
-
# @param request: Request instance for DescribeCloudBaseRunVersionRsByCondition.
|
|
875
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunVersionRsByConditionRequest`
|
|
876
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeCloudBaseRunVersionRsByConditionResponse`
|
|
877
|
-
def DescribeCloudBaseRunVersionRsByCondition(request)
|
|
878
|
-
body = send_request('DescribeCloudBaseRunVersionRsByCondition', request.serialize)
|
|
879
|
-
response = JSON.parse(body)
|
|
880
|
-
if response['Response'].key?('Error') == false
|
|
881
|
-
model = DescribeCloudBaseRunVersionRsByConditionResponse.new
|
|
882
|
-
model.deserialize(response['Response'])
|
|
883
|
-
model
|
|
884
|
-
else
|
|
885
|
-
code = response['Response']['Error']['Code']
|
|
886
|
-
message = response['Response']['Error']['Message']
|
|
887
|
-
reqid = response['Response']['RequestId']
|
|
888
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
889
|
-
end
|
|
890
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
891
|
-
raise e
|
|
892
|
-
rescue StandardError => e
|
|
893
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
894
|
-
end
|
|
895
|
-
|
|
896
680
|
# 查询版本历史
|
|
897
681
|
|
|
898
682
|
# @param request: Request instance for DescribeCloudBaseRunVersionSnapshot.
|
|
@@ -1401,54 +1185,6 @@ module TencentCloud
|
|
|
1401
1185
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1402
1186
|
end
|
|
1403
1187
|
|
|
1404
|
-
# 查询微信云托管环境信息
|
|
1405
|
-
|
|
1406
|
-
# @param request: Request instance for DescribeWxCloudBaseRunEnvs.
|
|
1407
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeWxCloudBaseRunEnvsRequest`
|
|
1408
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeWxCloudBaseRunEnvsResponse`
|
|
1409
|
-
def DescribeWxCloudBaseRunEnvs(request)
|
|
1410
|
-
body = send_request('DescribeWxCloudBaseRunEnvs', request.serialize)
|
|
1411
|
-
response = JSON.parse(body)
|
|
1412
|
-
if response['Response'].key?('Error') == false
|
|
1413
|
-
model = DescribeWxCloudBaseRunEnvsResponse.new
|
|
1414
|
-
model.deserialize(response['Response'])
|
|
1415
|
-
model
|
|
1416
|
-
else
|
|
1417
|
-
code = response['Response']['Error']['Code']
|
|
1418
|
-
message = response['Response']['Error']['Message']
|
|
1419
|
-
reqid = response['Response']['RequestId']
|
|
1420
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1421
|
-
end
|
|
1422
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1423
|
-
raise e
|
|
1424
|
-
rescue StandardError => e
|
|
1425
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1426
|
-
end
|
|
1427
|
-
|
|
1428
|
-
# 查询微信云托管子网
|
|
1429
|
-
|
|
1430
|
-
# @param request: Request instance for DescribeWxCloudBaseRunSubNets.
|
|
1431
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::DescribeWxCloudBaseRunSubNetsRequest`
|
|
1432
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeWxCloudBaseRunSubNetsResponse`
|
|
1433
|
-
def DescribeWxCloudBaseRunSubNets(request)
|
|
1434
|
-
body = send_request('DescribeWxCloudBaseRunSubNets', request.serialize)
|
|
1435
|
-
response = JSON.parse(body)
|
|
1436
|
-
if response['Response'].key?('Error') == false
|
|
1437
|
-
model = DescribeWxCloudBaseRunSubNetsResponse.new
|
|
1438
|
-
model.deserialize(response['Response'])
|
|
1439
|
-
model
|
|
1440
|
-
else
|
|
1441
|
-
code = response['Response']['Error']['Code']
|
|
1442
|
-
message = response['Response']['Error']['Message']
|
|
1443
|
-
reqid = response['Response']['RequestId']
|
|
1444
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1445
|
-
end
|
|
1446
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1447
|
-
raise e
|
|
1448
|
-
rescue StandardError => e
|
|
1449
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1450
|
-
end
|
|
1451
|
-
|
|
1452
1188
|
# 查看安全网关路由
|
|
1453
1189
|
|
|
1454
1190
|
# @param request: Request instance for DescribeWxGatewayRoutes.
|
|
@@ -1833,30 +1569,6 @@ module TencentCloud
|
|
|
1833
1569
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1834
1570
|
end
|
|
1835
1571
|
|
|
1836
|
-
# 针对特定的版本,进行滚动更新
|
|
1837
|
-
|
|
1838
|
-
# @param request: Request instance for RollUpdateCloudBaseRunServerVersion.
|
|
1839
|
-
# @type request: :class:`Tencentcloud::tcb::V20180608::RollUpdateCloudBaseRunServerVersionRequest`
|
|
1840
|
-
# @rtype: :class:`Tencentcloud::tcb::V20180608::RollUpdateCloudBaseRunServerVersionResponse`
|
|
1841
|
-
def RollUpdateCloudBaseRunServerVersion(request)
|
|
1842
|
-
body = send_request('RollUpdateCloudBaseRunServerVersion', request.serialize)
|
|
1843
|
-
response = JSON.parse(body)
|
|
1844
|
-
if response['Response'].key?('Error') == false
|
|
1845
|
-
model = RollUpdateCloudBaseRunServerVersionResponse.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
|
-
|
|
1860
1572
|
# 搜索CLS日志,TCB角色密钥访问
|
|
1861
1573
|
|
|
1862
1574
|
# @param request: Request instance for SearchClsLog.
|