tencentcloud-sdk-dlc 3.0.671 → 3.0.673
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/v20210125/client.rb +528 -0
- data/lib/v20210125/models.rb +1626 -80
- 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: ffe5566671e94209b7f3adb5f7a0fd16439314d1
|
4
|
+
data.tar.gz: bac1d816089a2b346e46171f08e8e6b198760fdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe44d4d59c399ccd5f7c2637d2e696721191ac4b8c33742667c574c4611e79772d5cbc1f053a5f9d24dc69882a0c96d7234c848c8710739121629f8e1ed0eb9e
|
7
|
+
data.tar.gz: 7eace573295a5643701ac1d719ab6c5c7be4cc5091f4f8ff4b7d634d7aebc1be1ddf68954016eed363061b7323acaee44d6a7bde463a1ba38a609b2073f360f4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.673
|
data/lib/v20210125/client.rb
CHANGED
@@ -317,6 +317,78 @@ module TencentCloud
|
|
317
317
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
318
|
end
|
319
319
|
|
320
|
+
# 本接口(CheckDataEngineConfigPairsValidity)用于检查引擎用户自定义参数的有效性
|
321
|
+
|
322
|
+
# @param request: Request instance for CheckDataEngineConfigPairsValidity.
|
323
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineConfigPairsValidityRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineConfigPairsValidityResponse`
|
325
|
+
def CheckDataEngineConfigPairsValidity(request)
|
326
|
+
body = send_request('CheckDataEngineConfigPairsValidity', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = CheckDataEngineConfigPairsValidityResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
344
|
+
# 本接口(CheckDataEngineImageCanBeRollback)用于查看集群是否能回滚。
|
345
|
+
|
346
|
+
# @param request: Request instance for CheckDataEngineImageCanBeRollback.
|
347
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineImageCanBeRollbackRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineImageCanBeRollbackResponse`
|
349
|
+
def CheckDataEngineImageCanBeRollback(request)
|
350
|
+
body = send_request('CheckDataEngineImageCanBeRollback', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = CheckDataEngineImageCanBeRollbackResponse.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
|
+
|
368
|
+
# 本接口(CheckDataEngineImageCanBeUpgrade)用于查看集群镜像是否能够升级。
|
369
|
+
|
370
|
+
# @param request: Request instance for CheckDataEngineImageCanBeUpgrade.
|
371
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineImageCanBeUpgradeRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineImageCanBeUpgradeResponse`
|
373
|
+
def CheckDataEngineImageCanBeUpgrade(request)
|
374
|
+
body = send_request('CheckDataEngineImageCanBeUpgrade', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = CheckDataEngineImageCanBeUpgradeResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
320
392
|
# 元数据锁检查
|
321
393
|
|
322
394
|
# @param request: Request instance for CheckLockMetaData.
|
@@ -869,6 +941,30 @@ module TencentCloud
|
|
869
941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
942
|
end
|
871
943
|
|
944
|
+
# 删除数据引擎
|
945
|
+
|
946
|
+
# @param request: Request instance for DeleteDataEngine.
|
947
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DeleteDataEngineRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DeleteDataEngineResponse`
|
949
|
+
def DeleteDataEngine(request)
|
950
|
+
body = send_request('DeleteDataEngine', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = DeleteDataEngineResponse.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
|
+
|
872
968
|
# 本接口(DeleteNotebookSession)用于删除交互式session(notebook)
|
873
969
|
|
874
970
|
# @param request: Request instance for DeleteNotebookSession.
|
@@ -1109,6 +1205,78 @@ module TencentCloud
|
|
1109
1205
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
1206
|
end
|
1111
1207
|
|
1208
|
+
# 本接口根据名称用于获取数据引擎详细信息
|
1209
|
+
|
1210
|
+
# @param request: Request instance for DescribeDataEngine.
|
1211
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDataEngineRequest`
|
1212
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDataEngineResponse`
|
1213
|
+
def DescribeDataEngine(request)
|
1214
|
+
body = send_request('DescribeDataEngine', request.serialize)
|
1215
|
+
response = JSON.parse(body)
|
1216
|
+
if response['Response'].key?('Error') == false
|
1217
|
+
model = DescribeDataEngineResponse.new
|
1218
|
+
model.deserialize(response['Response'])
|
1219
|
+
model
|
1220
|
+
else
|
1221
|
+
code = response['Response']['Error']['Code']
|
1222
|
+
message = response['Response']['Error']['Message']
|
1223
|
+
reqid = response['Response']['RequestId']
|
1224
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1225
|
+
end
|
1226
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1227
|
+
raise e
|
1228
|
+
rescue StandardError => e
|
1229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
|
+
end
|
1231
|
+
|
1232
|
+
# 本接口(DescribeDataEngineImageVersions)用于获取独享集群大版本镜像列表。
|
1233
|
+
|
1234
|
+
# @param request: Request instance for DescribeDataEngineImageVersions.
|
1235
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDataEngineImageVersionsRequest`
|
1236
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDataEngineImageVersionsResponse`
|
1237
|
+
def DescribeDataEngineImageVersions(request)
|
1238
|
+
body = send_request('DescribeDataEngineImageVersions', request.serialize)
|
1239
|
+
response = JSON.parse(body)
|
1240
|
+
if response['Response'].key?('Error') == false
|
1241
|
+
model = DescribeDataEngineImageVersionsResponse.new
|
1242
|
+
model.deserialize(response['Response'])
|
1243
|
+
model
|
1244
|
+
else
|
1245
|
+
code = response['Response']['Error']['Code']
|
1246
|
+
message = response['Response']['Error']['Message']
|
1247
|
+
reqid = response['Response']['RequestId']
|
1248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1249
|
+
end
|
1250
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1251
|
+
raise e
|
1252
|
+
rescue StandardError => e
|
1253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
# 本接口(DescribeDataEnginePythonSparkImages)用于获取PYSPARK镜像列表
|
1257
|
+
|
1258
|
+
# @param request: Request instance for DescribeDataEnginePythonSparkImages.
|
1259
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDataEnginePythonSparkImagesRequest`
|
1260
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDataEnginePythonSparkImagesResponse`
|
1261
|
+
def DescribeDataEnginePythonSparkImages(request)
|
1262
|
+
body = send_request('DescribeDataEnginePythonSparkImages', request.serialize)
|
1263
|
+
response = JSON.parse(body)
|
1264
|
+
if response['Response'].key?('Error') == false
|
1265
|
+
model = DescribeDataEnginePythonSparkImagesResponse.new
|
1266
|
+
model.deserialize(response['Response'])
|
1267
|
+
model
|
1268
|
+
else
|
1269
|
+
code = response['Response']['Error']['Code']
|
1270
|
+
message = response['Response']['Error']['Message']
|
1271
|
+
reqid = response['Response']['RequestId']
|
1272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1273
|
+
end
|
1274
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1275
|
+
raise e
|
1276
|
+
rescue StandardError => e
|
1277
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1278
|
+
end
|
1279
|
+
|
1112
1280
|
# 本接口(DescribeDataEngines)用于查询DataEngines信息列表
|
1113
1281
|
|
1114
1282
|
# @param request: Request instance for DescribeDataEngines.
|
@@ -1709,6 +1877,54 @@ module TencentCloud
|
|
1709
1877
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1710
1878
|
end
|
1711
1879
|
|
1880
|
+
# 查询用户自定义引擎参数
|
1881
|
+
|
1882
|
+
# @param request: Request instance for DescribeUserDataEngineConfig.
|
1883
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeUserDataEngineConfigRequest`
|
1884
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeUserDataEngineConfigResponse`
|
1885
|
+
def DescribeUserDataEngineConfig(request)
|
1886
|
+
body = send_request('DescribeUserDataEngineConfig', request.serialize)
|
1887
|
+
response = JSON.parse(body)
|
1888
|
+
if response['Response'].key?('Error') == false
|
1889
|
+
model = DescribeUserDataEngineConfigResponse.new
|
1890
|
+
model.deserialize(response['Response'])
|
1891
|
+
model
|
1892
|
+
else
|
1893
|
+
code = response['Response']['Error']['Code']
|
1894
|
+
message = response['Response']['Error']['Message']
|
1895
|
+
reqid = response['Response']['RequestId']
|
1896
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1897
|
+
end
|
1898
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1899
|
+
raise e
|
1900
|
+
rescue StandardError => e
|
1901
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1902
|
+
end
|
1903
|
+
|
1904
|
+
# 获取用户详细信息
|
1905
|
+
|
1906
|
+
# @param request: Request instance for DescribeUserInfo.
|
1907
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeUserInfoRequest`
|
1908
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeUserInfoResponse`
|
1909
|
+
def DescribeUserInfo(request)
|
1910
|
+
body = send_request('DescribeUserInfo', request.serialize)
|
1911
|
+
response = JSON.parse(body)
|
1912
|
+
if response['Response'].key?('Error') == false
|
1913
|
+
model = DescribeUserInfoResponse.new
|
1914
|
+
model.deserialize(response['Response'])
|
1915
|
+
model
|
1916
|
+
else
|
1917
|
+
code = response['Response']['Error']['Code']
|
1918
|
+
message = response['Response']['Error']['Message']
|
1919
|
+
reqid = response['Response']['RequestId']
|
1920
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1921
|
+
end
|
1922
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1923
|
+
raise e
|
1924
|
+
rescue StandardError => e
|
1925
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1926
|
+
end
|
1927
|
+
|
1712
1928
|
# 列举用户角色信息
|
1713
1929
|
|
1714
1930
|
# @param request: Request instance for DescribeUserRoles.
|
@@ -1733,6 +1949,30 @@ module TencentCloud
|
|
1733
1949
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
1950
|
end
|
1735
1951
|
|
1952
|
+
# 获取用户类型
|
1953
|
+
|
1954
|
+
# @param request: Request instance for DescribeUserType.
|
1955
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeUserTypeRequest`
|
1956
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeUserTypeResponse`
|
1957
|
+
def DescribeUserType(request)
|
1958
|
+
body = send_request('DescribeUserType', request.serialize)
|
1959
|
+
response = JSON.parse(body)
|
1960
|
+
if response['Response'].key?('Error') == false
|
1961
|
+
model = DescribeUserTypeResponse.new
|
1962
|
+
model.deserialize(response['Response'])
|
1963
|
+
model
|
1964
|
+
else
|
1965
|
+
code = response['Response']['Error']['Code']
|
1966
|
+
message = response['Response']['Error']['Message']
|
1967
|
+
reqid = response['Response']['RequestId']
|
1968
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1969
|
+
end
|
1970
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1971
|
+
raise e
|
1972
|
+
rescue StandardError => e
|
1973
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
|
+
end
|
1975
|
+
|
1736
1976
|
# 获取用户列表信息
|
1737
1977
|
|
1738
1978
|
# @param request: Request instance for DescribeUsers.
|
@@ -1781,6 +2021,30 @@ module TencentCloud
|
|
1781
2021
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1782
2022
|
end
|
1783
2023
|
|
2024
|
+
# 获取工作组详细信息
|
2025
|
+
|
2026
|
+
# @param request: Request instance for DescribeWorkGroupInfo.
|
2027
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeWorkGroupInfoRequest`
|
2028
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeWorkGroupInfoResponse`
|
2029
|
+
def DescribeWorkGroupInfo(request)
|
2030
|
+
body = send_request('DescribeWorkGroupInfo', request.serialize)
|
2031
|
+
response = JSON.parse(body)
|
2032
|
+
if response['Response'].key?('Error') == false
|
2033
|
+
model = DescribeWorkGroupInfoResponse.new
|
2034
|
+
model.deserialize(response['Response'])
|
2035
|
+
model
|
2036
|
+
else
|
2037
|
+
code = response['Response']['Error']['Code']
|
2038
|
+
message = response['Response']['Error']['Message']
|
2039
|
+
reqid = response['Response']['RequestId']
|
2040
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2041
|
+
end
|
2042
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2043
|
+
raise e
|
2044
|
+
rescue StandardError => e
|
2045
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2046
|
+
end
|
2047
|
+
|
1784
2048
|
# 获取工作组列表
|
1785
2049
|
|
1786
2050
|
# @param request: Request instance for DescribeWorkGroups.
|
@@ -1949,6 +2213,30 @@ module TencentCloud
|
|
1949
2213
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1950
2214
|
end
|
1951
2215
|
|
2216
|
+
# GetOptimizerPolicy
|
2217
|
+
|
2218
|
+
# @param request: Request instance for GetOptimizerPolicy.
|
2219
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::GetOptimizerPolicyRequest`
|
2220
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::GetOptimizerPolicyResponse`
|
2221
|
+
def GetOptimizerPolicy(request)
|
2222
|
+
body = send_request('GetOptimizerPolicy', request.serialize)
|
2223
|
+
response = JSON.parse(body)
|
2224
|
+
if response['Response'].key?('Error') == false
|
2225
|
+
model = GetOptimizerPolicyResponse.new
|
2226
|
+
model.deserialize(response['Response'])
|
2227
|
+
model
|
2228
|
+
else
|
2229
|
+
code = response['Response']['Error']['Code']
|
2230
|
+
message = response['Response']['Error']['Message']
|
2231
|
+
reqid = response['Response']['RequestId']
|
2232
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2233
|
+
end
|
2234
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2235
|
+
raise e
|
2236
|
+
rescue StandardError => e
|
2237
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2238
|
+
end
|
2239
|
+
|
1952
2240
|
# 本接口(ListTaskJobLogDetail)用于获取spark 作业任务日志详情
|
1953
2241
|
|
1954
2242
|
# @param request: Request instance for ListTaskJobLogDetail.
|
@@ -1997,6 +2285,30 @@ module TencentCloud
|
|
1997
2285
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1998
2286
|
end
|
1999
2287
|
|
2288
|
+
# 修改引擎描述信息
|
2289
|
+
|
2290
|
+
# @param request: Request instance for ModifyDataEngineDescription.
|
2291
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::ModifyDataEngineDescriptionRequest`
|
2292
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::ModifyDataEngineDescriptionResponse`
|
2293
|
+
def ModifyDataEngineDescription(request)
|
2294
|
+
body = send_request('ModifyDataEngineDescription', request.serialize)
|
2295
|
+
response = JSON.parse(body)
|
2296
|
+
if response['Response'].key?('Error') == false
|
2297
|
+
model = ModifyDataEngineDescriptionResponse.new
|
2298
|
+
model.deserialize(response['Response'])
|
2299
|
+
model
|
2300
|
+
else
|
2301
|
+
code = response['Response']['Error']['Code']
|
2302
|
+
message = response['Response']['Error']['Message']
|
2303
|
+
reqid = response['Response']['RequestId']
|
2304
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2305
|
+
end
|
2306
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2307
|
+
raise e
|
2308
|
+
rescue StandardError => e
|
2309
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2310
|
+
end
|
2311
|
+
|
2000
2312
|
# 修改数据治理事件阈值
|
2001
2313
|
|
2002
2314
|
# @param request: Request instance for ModifyGovernEventRule.
|
@@ -2093,6 +2405,30 @@ module TencentCloud
|
|
2093
2405
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2094
2406
|
end
|
2095
2407
|
|
2408
|
+
# 修改用户类型。只有管理员用户能够调用该接口进行操作
|
2409
|
+
|
2410
|
+
# @param request: Request instance for ModifyUserType.
|
2411
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::ModifyUserTypeRequest`
|
2412
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::ModifyUserTypeResponse`
|
2413
|
+
def ModifyUserType(request)
|
2414
|
+
body = send_request('ModifyUserType', request.serialize)
|
2415
|
+
response = JSON.parse(body)
|
2416
|
+
if response['Response'].key?('Error') == false
|
2417
|
+
model = ModifyUserTypeResponse.new
|
2418
|
+
model.deserialize(response['Response'])
|
2419
|
+
model
|
2420
|
+
else
|
2421
|
+
code = response['Response']['Error']['Code']
|
2422
|
+
message = response['Response']['Error']['Message']
|
2423
|
+
reqid = response['Response']['RequestId']
|
2424
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2425
|
+
end
|
2426
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2427
|
+
raise e
|
2428
|
+
rescue StandardError => e
|
2429
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2430
|
+
end
|
2431
|
+
|
2096
2432
|
# 修改工作组信息
|
2097
2433
|
|
2098
2434
|
# @param request: Request instance for ModifyWorkGroup.
|
@@ -2141,6 +2477,30 @@ module TencentCloud
|
|
2141
2477
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2142
2478
|
end
|
2143
2479
|
|
2480
|
+
# 续费数据引擎
|
2481
|
+
|
2482
|
+
# @param request: Request instance for RenewDataEngine.
|
2483
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::RenewDataEngineRequest`
|
2484
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::RenewDataEngineResponse`
|
2485
|
+
def RenewDataEngine(request)
|
2486
|
+
body = send_request('RenewDataEngine', request.serialize)
|
2487
|
+
response = JSON.parse(body)
|
2488
|
+
if response['Response'].key?('Error') == false
|
2489
|
+
model = RenewDataEngineResponse.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
|
+
|
2144
2504
|
# 上报元数据心跳
|
2145
2505
|
|
2146
2506
|
# @param request: Request instance for ReportHeartbeatMetaData.
|
@@ -2165,6 +2525,54 @@ module TencentCloud
|
|
2165
2525
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2166
2526
|
end
|
2167
2527
|
|
2528
|
+
# 重启引擎
|
2529
|
+
|
2530
|
+
# @param request: Request instance for RestartDataEngine.
|
2531
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::RestartDataEngineRequest`
|
2532
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::RestartDataEngineResponse`
|
2533
|
+
def RestartDataEngine(request)
|
2534
|
+
body = send_request('RestartDataEngine', request.serialize)
|
2535
|
+
response = JSON.parse(body)
|
2536
|
+
if response['Response'].key?('Error') == false
|
2537
|
+
model = RestartDataEngineResponse.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
|
+
# 回滚引擎镜像版本
|
2553
|
+
|
2554
|
+
# @param request: Request instance for RollbackDataEngineImage.
|
2555
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::RollbackDataEngineImageRequest`
|
2556
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::RollbackDataEngineImageResponse`
|
2557
|
+
def RollbackDataEngineImage(request)
|
2558
|
+
body = send_request('RollbackDataEngineImage', request.serialize)
|
2559
|
+
response = JSON.parse(body)
|
2560
|
+
if response['Response'].key?('Error') == false
|
2561
|
+
model = RollbackDataEngineImageResponse.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 SuspendResumeDataEngine.
|
@@ -2213,6 +2621,30 @@ module TencentCloud
|
|
2213
2621
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2214
2622
|
end
|
2215
2623
|
|
2624
|
+
# 切换引擎镜像版本
|
2625
|
+
|
2626
|
+
# @param request: Request instance for SwitchDataEngineImage.
|
2627
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::SwitchDataEngineImageRequest`
|
2628
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::SwitchDataEngineImageResponse`
|
2629
|
+
def SwitchDataEngineImage(request)
|
2630
|
+
body = send_request('SwitchDataEngineImage', request.serialize)
|
2631
|
+
response = JSON.parse(body)
|
2632
|
+
if response['Response'].key?('Error') == false
|
2633
|
+
model = SwitchDataEngineImageResponse.new
|
2634
|
+
model.deserialize(response['Response'])
|
2635
|
+
model
|
2636
|
+
else
|
2637
|
+
code = response['Response']['Error']['Code']
|
2638
|
+
message = response['Response']['Error']['Message']
|
2639
|
+
reqid = response['Response']['RequestId']
|
2640
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2641
|
+
end
|
2642
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2643
|
+
raise e
|
2644
|
+
rescue StandardError => e
|
2645
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2646
|
+
end
|
2647
|
+
|
2216
2648
|
# 解绑用户上的用户组
|
2217
2649
|
|
2218
2650
|
# @param request: Request instance for UnbindWorkGroupsFromUser.
|
@@ -2261,6 +2693,54 @@ module TencentCloud
|
|
2261
2693
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2262
2694
|
end
|
2263
2695
|
|
2696
|
+
# 本接口用于更新数据引擎配置
|
2697
|
+
|
2698
|
+
# @param request: Request instance for UpdateDataEngine.
|
2699
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::UpdateDataEngineRequest`
|
2700
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::UpdateDataEngineResponse`
|
2701
|
+
def UpdateDataEngine(request)
|
2702
|
+
body = send_request('UpdateDataEngine', request.serialize)
|
2703
|
+
response = JSON.parse(body)
|
2704
|
+
if response['Response'].key?('Error') == false
|
2705
|
+
model = UpdateDataEngineResponse.new
|
2706
|
+
model.deserialize(response['Response'])
|
2707
|
+
model
|
2708
|
+
else
|
2709
|
+
code = response['Response']['Error']['Code']
|
2710
|
+
message = response['Response']['Error']['Message']
|
2711
|
+
reqid = response['Response']['RequestId']
|
2712
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2713
|
+
end
|
2714
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2715
|
+
raise e
|
2716
|
+
rescue StandardError => e
|
2717
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2718
|
+
end
|
2719
|
+
|
2720
|
+
# 用户某种操作,触发引擎配置修改
|
2721
|
+
|
2722
|
+
# @param request: Request instance for UpdateDataEngineConfig.
|
2723
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::UpdateDataEngineConfigRequest`
|
2724
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::UpdateDataEngineConfigResponse`
|
2725
|
+
def UpdateDataEngineConfig(request)
|
2726
|
+
body = send_request('UpdateDataEngineConfig', request.serialize)
|
2727
|
+
response = JSON.parse(body)
|
2728
|
+
if response['Response'].key?('Error') == false
|
2729
|
+
model = UpdateDataEngineConfigResponse.new
|
2730
|
+
model.deserialize(response['Response'])
|
2731
|
+
model
|
2732
|
+
else
|
2733
|
+
code = response['Response']['Error']['Code']
|
2734
|
+
message = response['Response']['Error']['Message']
|
2735
|
+
reqid = response['Response']['RequestId']
|
2736
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2737
|
+
end
|
2738
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2739
|
+
raise e
|
2740
|
+
rescue StandardError => e
|
2741
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2742
|
+
end
|
2743
|
+
|
2264
2744
|
# 此接口用于更新行过滤规则。注意只能更新过滤规则,不能更新规格对象catalog,database和table。
|
2265
2745
|
|
2266
2746
|
# @param request: Request instance for UpdateRowFilter.
|
@@ -2285,6 +2765,54 @@ module TencentCloud
|
|
2285
2765
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2286
2766
|
end
|
2287
2767
|
|
2768
|
+
# 修改用户引擎自定义配置
|
2769
|
+
|
2770
|
+
# @param request: Request instance for UpdateUserDataEngineConfig.
|
2771
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::UpdateUserDataEngineConfigRequest`
|
2772
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::UpdateUserDataEngineConfigResponse`
|
2773
|
+
def UpdateUserDataEngineConfig(request)
|
2774
|
+
body = send_request('UpdateUserDataEngineConfig', request.serialize)
|
2775
|
+
response = JSON.parse(body)
|
2776
|
+
if response['Response'].key?('Error') == false
|
2777
|
+
model = UpdateUserDataEngineConfigResponse.new
|
2778
|
+
model.deserialize(response['Response'])
|
2779
|
+
model
|
2780
|
+
else
|
2781
|
+
code = response['Response']['Error']['Code']
|
2782
|
+
message = response['Response']['Error']['Message']
|
2783
|
+
reqid = response['Response']['RequestId']
|
2784
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2785
|
+
end
|
2786
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2787
|
+
raise e
|
2788
|
+
rescue StandardError => e
|
2789
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2790
|
+
end
|
2791
|
+
|
2792
|
+
# 升级引擎镜像
|
2793
|
+
|
2794
|
+
# @param request: Request instance for UpgradeDataEngineImage.
|
2795
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::UpgradeDataEngineImageRequest`
|
2796
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::UpgradeDataEngineImageResponse`
|
2797
|
+
def UpgradeDataEngineImage(request)
|
2798
|
+
body = send_request('UpgradeDataEngineImage', request.serialize)
|
2799
|
+
response = JSON.parse(body)
|
2800
|
+
if response['Response'].key?('Error') == false
|
2801
|
+
model = UpgradeDataEngineImageResponse.new
|
2802
|
+
model.deserialize(response['Response'])
|
2803
|
+
model
|
2804
|
+
else
|
2805
|
+
code = response['Response']['Error']['Code']
|
2806
|
+
message = response['Response']['Error']['Message']
|
2807
|
+
reqid = response['Response']['RequestId']
|
2808
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2809
|
+
end
|
2810
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2811
|
+
raise e
|
2812
|
+
rescue StandardError => e
|
2813
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2814
|
+
end
|
2815
|
+
|
2288
2816
|
|
2289
2817
|
end
|
2290
2818
|
end
|