tencentcloud-sdk-tke 1.0.324 → 1.0.325
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/v20180525/client.rb +432 -0
- data/lib/v20180525/models.rb +1468 -139
- 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: ce37dce1d8278bc3249af10d2e8239b83ca7a053
|
4
|
+
data.tar.gz: 5109715d7acd723a0370a2cd354f2a5bd6217e21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa5ba08aea7adf4f7739399d14a1621dc0035b7bb3fc980d54b017d6ce2058dd4c52fe98b18977d6c4ca5d87c7ca50d40de4c5923e2efe3d804c1be048205dbe
|
7
|
+
data.tar.gz: c8f79e653b4220bb17ef14eaeb2c8adda5e6b52a9dc0d938c363eb39ede0774765d174639c3363f99d915eea7f819de85bef5f233053107d5878838577eb44a4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.325
|
data/lib/v20180525/client.rb
CHANGED
@@ -149,6 +149,30 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
151
|
|
152
|
+
# 检查边缘计算集群的CIDR是否冲突
|
153
|
+
|
154
|
+
# @param request: Request instance for CheckEdgeClusterCIDR.
|
155
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::CheckEdgeClusterCIDRRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::CheckEdgeClusterCIDRResponse`
|
157
|
+
def CheckEdgeClusterCIDR(request)
|
158
|
+
body = send_request('CheckEdgeClusterCIDR', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = CheckEdgeClusterCIDRResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
152
176
|
# 检查给定节点列表中哪些是可升级的
|
153
177
|
|
154
178
|
# @param request: Request instance for CheckInstancesUpgradeAble.
|
@@ -365,6 +389,30 @@ module TencentCloud
|
|
365
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
390
|
end
|
367
391
|
|
392
|
+
# 创建边缘计算ECM机器
|
393
|
+
|
394
|
+
# @param request: Request instance for CreateECMInstances.
|
395
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::CreateECMInstancesRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::CreateECMInstancesResponse`
|
397
|
+
def CreateECMInstances(request)
|
398
|
+
body = send_request('CreateECMInstances', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = CreateECMInstancesResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
368
416
|
# 创建弹性集群
|
369
417
|
|
370
418
|
# @param request: Request instance for CreateEKSCluster.
|
@@ -581,6 +629,30 @@ module TencentCloud
|
|
581
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
630
|
end
|
583
631
|
|
632
|
+
# 创建边缘计算集群
|
633
|
+
|
634
|
+
# @param request: Request instance for CreateTKEEdgeCluster.
|
635
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::CreateTKEEdgeClusterRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::CreateTKEEdgeClusterResponse`
|
637
|
+
def CreateTKEEdgeCluster(request)
|
638
|
+
body = send_request('CreateTKEEdgeCluster', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = CreateTKEEdgeClusterResponse.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
|
+
|
584
656
|
# 删除集群(YUNAPI V3版本)
|
585
657
|
|
586
658
|
# @param request: Request instance for DeleteCluster.
|
@@ -773,6 +845,30 @@ module TencentCloud
|
|
773
845
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
846
|
end
|
775
847
|
|
848
|
+
# 删除ECM实例
|
849
|
+
|
850
|
+
# @param request: Request instance for DeleteECMInstances.
|
851
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DeleteECMInstancesRequest`
|
852
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DeleteECMInstancesResponse`
|
853
|
+
def DeleteECMInstances(request)
|
854
|
+
body = send_request('DeleteECMInstances', request.serialize)
|
855
|
+
response = JSON.parse(body)
|
856
|
+
if response['Response'].key?('Error') == false
|
857
|
+
model = DeleteECMInstancesResponse.new
|
858
|
+
model.deserialize(response['Response'])
|
859
|
+
model
|
860
|
+
else
|
861
|
+
code = response['Response']['Error']['Code']
|
862
|
+
message = response['Response']['Error']['Message']
|
863
|
+
reqid = response['Response']['RequestId']
|
864
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
865
|
+
end
|
866
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
867
|
+
raise e
|
868
|
+
rescue StandardError => e
|
869
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
|
+
end
|
871
|
+
|
776
872
|
# 删除弹性集群(yunapiv3)
|
777
873
|
|
778
874
|
# @param request: Request instance for DeleteEKSCluster.
|
@@ -821,6 +917,54 @@ module TencentCloud
|
|
821
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
918
|
end
|
823
919
|
|
920
|
+
# 删除边缘容器CVM实例
|
921
|
+
|
922
|
+
# @param request: Request instance for DeleteEdgeCVMInstances.
|
923
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DeleteEdgeCVMInstancesRequest`
|
924
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DeleteEdgeCVMInstancesResponse`
|
925
|
+
def DeleteEdgeCVMInstances(request)
|
926
|
+
body = send_request('DeleteEdgeCVMInstances', request.serialize)
|
927
|
+
response = JSON.parse(body)
|
928
|
+
if response['Response'].key?('Error') == false
|
929
|
+
model = DeleteEdgeCVMInstancesResponse.new
|
930
|
+
model.deserialize(response['Response'])
|
931
|
+
model
|
932
|
+
else
|
933
|
+
code = response['Response']['Error']['Code']
|
934
|
+
message = response['Response']['Error']['Message']
|
935
|
+
reqid = response['Response']['RequestId']
|
936
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
937
|
+
end
|
938
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
939
|
+
raise e
|
940
|
+
rescue StandardError => e
|
941
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
|
+
end
|
943
|
+
|
944
|
+
# 删除边缘计算实例
|
945
|
+
|
946
|
+
# @param request: Request instance for DeleteEdgeClusterInstances.
|
947
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DeleteEdgeClusterInstancesRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DeleteEdgeClusterInstancesResponse`
|
949
|
+
def DeleteEdgeClusterInstances(request)
|
950
|
+
body = send_request('DeleteEdgeClusterInstances', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = DeleteEdgeClusterInstancesResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
824
968
|
# 批量删除镜像缓存
|
825
969
|
|
826
970
|
# @param request: Request instance for DeleteImageCaches.
|
@@ -989,6 +1133,30 @@ module TencentCloud
|
|
989
1133
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
1134
|
end
|
991
1135
|
|
1136
|
+
# 删除边缘计算集群
|
1137
|
+
|
1138
|
+
# @param request: Request instance for DeleteTKEEdgeCluster.
|
1139
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DeleteTKEEdgeClusterRequest`
|
1140
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DeleteTKEEdgeClusterResponse`
|
1141
|
+
def DeleteTKEEdgeCluster(request)
|
1142
|
+
body = send_request('DeleteTKEEdgeCluster', request.serialize)
|
1143
|
+
response = JSON.parse(body)
|
1144
|
+
if response['Response'].key?('Error') == false
|
1145
|
+
model = DeleteTKEEdgeClusterResponse.new
|
1146
|
+
model.deserialize(response['Response'])
|
1147
|
+
model
|
1148
|
+
else
|
1149
|
+
code = response['Response']['Error']['Code']
|
1150
|
+
message = response['Response']['Error']['Message']
|
1151
|
+
reqid = response['Response']['RequestId']
|
1152
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1153
|
+
end
|
1154
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1155
|
+
raise e
|
1156
|
+
rescue StandardError => e
|
1157
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
|
+
end
|
1159
|
+
|
992
1160
|
# 获取集群可以升级的所有版本
|
993
1161
|
|
994
1162
|
# @param request: Request instance for DescribeAvailableClusterVersion.
|
@@ -1013,6 +1181,30 @@ module TencentCloud
|
|
1013
1181
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1014
1182
|
end
|
1015
1183
|
|
1184
|
+
# 边缘计算支持的k8s版本
|
1185
|
+
|
1186
|
+
# @param request: Request instance for DescribeAvailableTKEEdgeVersion.
|
1187
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeAvailableTKEEdgeVersionRequest`
|
1188
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeAvailableTKEEdgeVersionResponse`
|
1189
|
+
def DescribeAvailableTKEEdgeVersion(request)
|
1190
|
+
body = send_request('DescribeAvailableTKEEdgeVersion', request.serialize)
|
1191
|
+
response = JSON.parse(body)
|
1192
|
+
if response['Response'].key?('Error') == false
|
1193
|
+
model = DescribeAvailableTKEEdgeVersionResponse.new
|
1194
|
+
model.deserialize(response['Response'])
|
1195
|
+
model
|
1196
|
+
else
|
1197
|
+
code = response['Response']['Error']['Code']
|
1198
|
+
message = response['Response']['Error']['Message']
|
1199
|
+
reqid = response['Response']['RequestId']
|
1200
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1201
|
+
end
|
1202
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1203
|
+
raise e
|
1204
|
+
rescue StandardError => e
|
1205
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
|
+
end
|
1207
|
+
|
1016
1208
|
# 集群弹性伸缩配置
|
1017
1209
|
|
1018
1210
|
# @param request: Request instance for DescribeClusterAsGroupOption.
|
@@ -1445,6 +1637,30 @@ module TencentCloud
|
|
1445
1637
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1446
1638
|
end
|
1447
1639
|
|
1640
|
+
# 获取ECM实例相关信息
|
1641
|
+
|
1642
|
+
# @param request: Request instance for DescribeECMInstances.
|
1643
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeECMInstancesRequest`
|
1644
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeECMInstancesResponse`
|
1645
|
+
def DescribeECMInstances(request)
|
1646
|
+
body = send_request('DescribeECMInstances', request.serialize)
|
1647
|
+
response = JSON.parse(body)
|
1648
|
+
if response['Response'].key?('Error') == false
|
1649
|
+
model = DescribeECMInstancesResponse.new
|
1650
|
+
model.deserialize(response['Response'])
|
1651
|
+
model
|
1652
|
+
else
|
1653
|
+
code = response['Response']['Error']['Code']
|
1654
|
+
message = response['Response']['Error']['Message']
|
1655
|
+
reqid = response['Response']['RequestId']
|
1656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1657
|
+
end
|
1658
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1659
|
+
raise e
|
1660
|
+
rescue StandardError => e
|
1661
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1662
|
+
end
|
1663
|
+
|
1448
1664
|
# 获取弹性容器集群的接入认证信息
|
1449
1665
|
|
1450
1666
|
# @param request: Request instance for DescribeEKSClusterCredential.
|
@@ -1565,6 +1781,102 @@ module TencentCloud
|
|
1565
1781
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1566
1782
|
end
|
1567
1783
|
|
1784
|
+
# 查询边缘容器集群可用的自定义参数
|
1785
|
+
|
1786
|
+
# @param request: Request instance for DescribeEdgeAvailableExtraArgs.
|
1787
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeEdgeAvailableExtraArgsRequest`
|
1788
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeEdgeAvailableExtraArgsResponse`
|
1789
|
+
def DescribeEdgeAvailableExtraArgs(request)
|
1790
|
+
body = send_request('DescribeEdgeAvailableExtraArgs', request.serialize)
|
1791
|
+
response = JSON.parse(body)
|
1792
|
+
if response['Response'].key?('Error') == false
|
1793
|
+
model = DescribeEdgeAvailableExtraArgsResponse.new
|
1794
|
+
model.deserialize(response['Response'])
|
1795
|
+
model
|
1796
|
+
else
|
1797
|
+
code = response['Response']['Error']['Code']
|
1798
|
+
message = response['Response']['Error']['Message']
|
1799
|
+
reqid = response['Response']['RequestId']
|
1800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1801
|
+
end
|
1802
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1803
|
+
raise e
|
1804
|
+
rescue StandardError => e
|
1805
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# 获取边缘容器CVM实例相关信息
|
1809
|
+
|
1810
|
+
# @param request: Request instance for DescribeEdgeCVMInstances.
|
1811
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeEdgeCVMInstancesRequest`
|
1812
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeEdgeCVMInstancesResponse`
|
1813
|
+
def DescribeEdgeCVMInstances(request)
|
1814
|
+
body = send_request('DescribeEdgeCVMInstances', request.serialize)
|
1815
|
+
response = JSON.parse(body)
|
1816
|
+
if response['Response'].key?('Error') == false
|
1817
|
+
model = DescribeEdgeCVMInstancesResponse.new
|
1818
|
+
model.deserialize(response['Response'])
|
1819
|
+
model
|
1820
|
+
else
|
1821
|
+
code = response['Response']['Error']['Code']
|
1822
|
+
message = response['Response']['Error']['Message']
|
1823
|
+
reqid = response['Response']['RequestId']
|
1824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1825
|
+
end
|
1826
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1827
|
+
raise e
|
1828
|
+
rescue StandardError => e
|
1829
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
# 查询边缘集群自定义参数
|
1833
|
+
|
1834
|
+
# @param request: Request instance for DescribeEdgeClusterExtraArgs.
|
1835
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeEdgeClusterExtraArgsRequest`
|
1836
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeEdgeClusterExtraArgsResponse`
|
1837
|
+
def DescribeEdgeClusterExtraArgs(request)
|
1838
|
+
body = send_request('DescribeEdgeClusterExtraArgs', request.serialize)
|
1839
|
+
response = JSON.parse(body)
|
1840
|
+
if response['Response'].key?('Error') == false
|
1841
|
+
model = DescribeEdgeClusterExtraArgsResponse.new
|
1842
|
+
model.deserialize(response['Response'])
|
1843
|
+
model
|
1844
|
+
else
|
1845
|
+
code = response['Response']['Error']['Code']
|
1846
|
+
message = response['Response']['Error']['Message']
|
1847
|
+
reqid = response['Response']['RequestId']
|
1848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1849
|
+
end
|
1850
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1851
|
+
raise e
|
1852
|
+
rescue StandardError => e
|
1853
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
|
+
end
|
1855
|
+
|
1856
|
+
# 查询边缘计算集群的节点信息
|
1857
|
+
|
1858
|
+
# @param request: Request instance for DescribeEdgeClusterInstances.
|
1859
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeEdgeClusterInstancesRequest`
|
1860
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeEdgeClusterInstancesResponse`
|
1861
|
+
def DescribeEdgeClusterInstances(request)
|
1862
|
+
body = send_request('DescribeEdgeClusterInstances', request.serialize)
|
1863
|
+
response = JSON.parse(body)
|
1864
|
+
if response['Response'].key?('Error') == false
|
1865
|
+
model = DescribeEdgeClusterInstancesResponse.new
|
1866
|
+
model.deserialize(response['Response'])
|
1867
|
+
model
|
1868
|
+
else
|
1869
|
+
code = response['Response']['Error']['Code']
|
1870
|
+
message = response['Response']['Error']['Message']
|
1871
|
+
reqid = response['Response']['RequestId']
|
1872
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1873
|
+
end
|
1874
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1875
|
+
raise e
|
1876
|
+
rescue StandardError => e
|
1877
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1878
|
+
end
|
1879
|
+
|
1568
1880
|
# 查询容器实例中容器日志
|
1569
1881
|
|
1570
1882
|
# @param request: Request instance for DescribeEksContainerInstanceLog.
|
@@ -2165,6 +2477,102 @@ module TencentCloud
|
|
2165
2477
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2166
2478
|
end
|
2167
2479
|
|
2480
|
+
# 获取边缘计算集群的认证信息
|
2481
|
+
|
2482
|
+
# @param request: Request instance for DescribeTKEEdgeClusterCredential.
|
2483
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeClusterCredentialRequest`
|
2484
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeClusterCredentialResponse`
|
2485
|
+
def DescribeTKEEdgeClusterCredential(request)
|
2486
|
+
body = send_request('DescribeTKEEdgeClusterCredential', request.serialize)
|
2487
|
+
response = JSON.parse(body)
|
2488
|
+
if response['Response'].key?('Error') == false
|
2489
|
+
model = DescribeTKEEdgeClusterCredentialResponse.new
|
2490
|
+
model.deserialize(response['Response'])
|
2491
|
+
model
|
2492
|
+
else
|
2493
|
+
code = response['Response']['Error']['Code']
|
2494
|
+
message = response['Response']['Error']['Message']
|
2495
|
+
reqid = response['Response']['RequestId']
|
2496
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2497
|
+
end
|
2498
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2499
|
+
raise e
|
2500
|
+
rescue StandardError => e
|
2501
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2502
|
+
end
|
2503
|
+
|
2504
|
+
# 获取边缘计算集群的当前状态以及过程信息
|
2505
|
+
|
2506
|
+
# @param request: Request instance for DescribeTKEEdgeClusterStatus.
|
2507
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeClusterStatusRequest`
|
2508
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeClusterStatusResponse`
|
2509
|
+
def DescribeTKEEdgeClusterStatus(request)
|
2510
|
+
body = send_request('DescribeTKEEdgeClusterStatus', request.serialize)
|
2511
|
+
response = JSON.parse(body)
|
2512
|
+
if response['Response'].key?('Error') == false
|
2513
|
+
model = DescribeTKEEdgeClusterStatusResponse.new
|
2514
|
+
model.deserialize(response['Response'])
|
2515
|
+
model
|
2516
|
+
else
|
2517
|
+
code = response['Response']['Error']['Code']
|
2518
|
+
message = response['Response']['Error']['Message']
|
2519
|
+
reqid = response['Response']['RequestId']
|
2520
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2521
|
+
end
|
2522
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2523
|
+
raise e
|
2524
|
+
rescue StandardError => e
|
2525
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2526
|
+
end
|
2527
|
+
|
2528
|
+
# 查询边缘集群列表
|
2529
|
+
|
2530
|
+
# @param request: Request instance for DescribeTKEEdgeClusters.
|
2531
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeClustersRequest`
|
2532
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeClustersResponse`
|
2533
|
+
def DescribeTKEEdgeClusters(request)
|
2534
|
+
body = send_request('DescribeTKEEdgeClusters', request.serialize)
|
2535
|
+
response = JSON.parse(body)
|
2536
|
+
if response['Response'].key?('Error') == false
|
2537
|
+
model = DescribeTKEEdgeClustersResponse.new
|
2538
|
+
model.deserialize(response['Response'])
|
2539
|
+
model
|
2540
|
+
else
|
2541
|
+
code = response['Response']['Error']['Code']
|
2542
|
+
message = response['Response']['Error']['Message']
|
2543
|
+
reqid = response['Response']['RequestId']
|
2544
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2545
|
+
end
|
2546
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2547
|
+
raise e
|
2548
|
+
rescue StandardError => e
|
2549
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2550
|
+
end
|
2551
|
+
|
2552
|
+
# 获取边缘计算外部访问的kubeconfig
|
2553
|
+
|
2554
|
+
# @param request: Request instance for DescribeTKEEdgeExternalKubeconfig.
|
2555
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeExternalKubeconfigRequest`
|
2556
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeExternalKubeconfigResponse`
|
2557
|
+
def DescribeTKEEdgeExternalKubeconfig(request)
|
2558
|
+
body = send_request('DescribeTKEEdgeExternalKubeconfig', request.serialize)
|
2559
|
+
response = JSON.parse(body)
|
2560
|
+
if response['Response'].key?('Error') == false
|
2561
|
+
model = DescribeTKEEdgeExternalKubeconfigResponse.new
|
2562
|
+
model.deserialize(response['Response'])
|
2563
|
+
model
|
2564
|
+
else
|
2565
|
+
code = response['Response']['Error']['Code']
|
2566
|
+
message = response['Response']['Error']['Message']
|
2567
|
+
reqid = response['Response']['RequestId']
|
2568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2569
|
+
end
|
2570
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2571
|
+
raise e
|
2572
|
+
rescue StandardError => e
|
2573
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2574
|
+
end
|
2575
|
+
|
2168
2576
|
# 获取边缘脚本链接
|
2169
2577
|
|
2170
2578
|
# @param request: Request instance for DescribeTKEEdgeScript.
|
@@ -3173,6 +3581,30 @@ module TencentCloud
|
|
3173
3581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3174
3582
|
end
|
3175
3583
|
|
3584
|
+
# 修改边缘计算集群名称等属性
|
3585
|
+
|
3586
|
+
# @param request: Request instance for UpdateTKEEdgeCluster.
|
3587
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::UpdateTKEEdgeClusterRequest`
|
3588
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::UpdateTKEEdgeClusterResponse`
|
3589
|
+
def UpdateTKEEdgeCluster(request)
|
3590
|
+
body = send_request('UpdateTKEEdgeCluster', request.serialize)
|
3591
|
+
response = JSON.parse(body)
|
3592
|
+
if response['Response'].key?('Error') == false
|
3593
|
+
model = UpdateTKEEdgeClusterResponse.new
|
3594
|
+
model.deserialize(response['Response'])
|
3595
|
+
model
|
3596
|
+
else
|
3597
|
+
code = response['Response']['Error']['Code']
|
3598
|
+
message = response['Response']['Error']['Message']
|
3599
|
+
reqid = response['Response']['RequestId']
|
3600
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3601
|
+
end
|
3602
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3603
|
+
raise e
|
3604
|
+
rescue StandardError => e
|
3605
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3606
|
+
end
|
3607
|
+
|
3176
3608
|
# 给集群的一批work节点进行升级
|
3177
3609
|
|
3178
3610
|
# @param request: Request instance for UpgradeClusterInstances.
|