tencentcloud-sdk-dlc 3.0.522 → 3.0.524
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/v20210125/client.rb +144 -0
- data/lib/v20210125/models.rb +355 -4
- 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: 3fc9447ef59a31668b981e20b8994ec1c1baccef
|
4
|
+
data.tar.gz: cefdea52f7b4e50fc1c23d564232c10c170ec8ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25f2667cba7affcdcf45b9af0302988dae21385e2d344abf5b9af3aad24c841b0e3593c906c13028dcb0f5c5632941cc419a94649eac221bd97f558fc13ce6bf
|
7
|
+
data.tar.gz: 5b3e0ae2110ae871e4c3b91b2c33594f8b871b6eccfdca13f28ae782a7cdc7756549d4229251f1875238f04181e494f58f7549a69fe3b16e740697cff5f8d3ef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.524
|
data/lib/v20210125/client.rb
CHANGED
@@ -365,6 +365,30 @@ module TencentCloud
|
|
365
365
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
366
|
end
|
367
367
|
|
368
|
+
# 为用户创建数据引擎
|
369
|
+
|
370
|
+
# @param request: Request instance for CreateDataEngine.
|
371
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateDataEngineRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateDataEngineResponse`
|
373
|
+
def CreateDataEngine(request)
|
374
|
+
body = send_request('CreateDataEngine', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = CreateDataEngineResponse.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
|
+
|
368
392
|
# 本接口(CreateDatabase)用于生成建库SQL语句。
|
369
393
|
|
370
394
|
# @param request: Request instance for CreateDatabase.
|
@@ -1085,6 +1109,78 @@ module TencentCloud
|
|
1085
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1086
1110
|
end
|
1087
1111
|
|
1112
|
+
# 本接口根据引擎ID获取数据引擎资源使用情况
|
1113
|
+
|
1114
|
+
# @param request: Request instance for DescribeEngineUsageInfo.
|
1115
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeEngineUsageInfoRequest`
|
1116
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeEngineUsageInfoResponse`
|
1117
|
+
def DescribeEngineUsageInfo(request)
|
1118
|
+
body = send_request('DescribeEngineUsageInfo', request.serialize)
|
1119
|
+
response = JSON.parse(body)
|
1120
|
+
if response['Response'].key?('Error') == false
|
1121
|
+
model = DescribeEngineUsageInfoResponse.new
|
1122
|
+
model.deserialize(response['Response'])
|
1123
|
+
model
|
1124
|
+
else
|
1125
|
+
code = response['Response']['Error']['Code']
|
1126
|
+
message = response['Response']['Error']['Message']
|
1127
|
+
reqid = response['Response']['RequestId']
|
1128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1129
|
+
end
|
1130
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1131
|
+
raise e
|
1132
|
+
rescue StandardError => e
|
1133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# 查询托管存储指定目录的Summary
|
1137
|
+
|
1138
|
+
# @param request: Request instance for DescribeLakeFsDirSummary.
|
1139
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeLakeFsDirSummaryRequest`
|
1140
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeLakeFsDirSummaryResponse`
|
1141
|
+
def DescribeLakeFsDirSummary(request)
|
1142
|
+
body = send_request('DescribeLakeFsDirSummary', request.serialize)
|
1143
|
+
response = JSON.parse(body)
|
1144
|
+
if response['Response'].key?('Error') == false
|
1145
|
+
model = DescribeLakeFsDirSummaryResponse.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
|
+
|
1160
|
+
# 查询用户的托管存储信息
|
1161
|
+
|
1162
|
+
# @param request: Request instance for DescribeLakeFsInfo.
|
1163
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeLakeFsInfoRequest`
|
1164
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeLakeFsInfoResponse`
|
1165
|
+
def DescribeLakeFsInfo(request)
|
1166
|
+
body = send_request('DescribeLakeFsInfo', request.serialize)
|
1167
|
+
response = JSON.parse(body)
|
1168
|
+
if response['Response'].key?('Error') == false
|
1169
|
+
model = DescribeLakeFsInfoResponse.new
|
1170
|
+
model.deserialize(response['Response'])
|
1171
|
+
model
|
1172
|
+
else
|
1173
|
+
code = response['Response']['Error']['Code']
|
1174
|
+
message = response['Response']['Error']['Message']
|
1175
|
+
reqid = response['Response']['RequestId']
|
1176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1177
|
+
end
|
1178
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1179
|
+
raise e
|
1180
|
+
rescue StandardError => e
|
1181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
|
+
end
|
1183
|
+
|
1088
1184
|
# 本接口(DescribeNotebookSession)用于获取notebook livy session详情信息
|
1089
1185
|
|
1090
1186
|
# @param request: Request instance for DescribeNotebookSession.
|
@@ -1877,6 +1973,30 @@ module TencentCloud
|
|
1877
1973
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1878
1974
|
end
|
1879
1975
|
|
1976
|
+
# 切换主备集群
|
1977
|
+
|
1978
|
+
# @param request: Request instance for SwitchDataEngine.
|
1979
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::SwitchDataEngineRequest`
|
1980
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::SwitchDataEngineResponse`
|
1981
|
+
def SwitchDataEngine(request)
|
1982
|
+
body = send_request('SwitchDataEngine', request.serialize)
|
1983
|
+
response = JSON.parse(body)
|
1984
|
+
if response['Response'].key?('Error') == false
|
1985
|
+
model = SwitchDataEngineResponse.new
|
1986
|
+
model.deserialize(response['Response'])
|
1987
|
+
model
|
1988
|
+
else
|
1989
|
+
code = response['Response']['Error']['Code']
|
1990
|
+
message = response['Response']['Error']['Message']
|
1991
|
+
reqid = response['Response']['RequestId']
|
1992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1993
|
+
end
|
1994
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1995
|
+
raise e
|
1996
|
+
rescue StandardError => e
|
1997
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1998
|
+
end
|
1999
|
+
|
1880
2000
|
# 解绑用户上的用户组
|
1881
2001
|
|
1882
2002
|
# @param request: Request instance for UnbindWorkGroupsFromUser.
|
@@ -1925,6 +2045,30 @@ module TencentCloud
|
|
1925
2045
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1926
2046
|
end
|
1927
2047
|
|
2048
|
+
# 此接口用于更新行过滤规则。注意只能更新过滤规则,不能更新规格对象catalog,database和table。
|
2049
|
+
|
2050
|
+
# @param request: Request instance for UpdateRowFilter.
|
2051
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::UpdateRowFilterRequest`
|
2052
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::UpdateRowFilterResponse`
|
2053
|
+
def UpdateRowFilter(request)
|
2054
|
+
body = send_request('UpdateRowFilter', request.serialize)
|
2055
|
+
response = JSON.parse(body)
|
2056
|
+
if response['Response'].key?('Error') == false
|
2057
|
+
model = UpdateRowFilterResponse.new
|
2058
|
+
model.deserialize(response['Response'])
|
2059
|
+
model
|
2060
|
+
else
|
2061
|
+
code = response['Response']['Error']['Code']
|
2062
|
+
message = response['Response']['Error']['Message']
|
2063
|
+
reqid = response['Response']['RequestId']
|
2064
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2065
|
+
end
|
2066
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2067
|
+
raise e
|
2068
|
+
rescue StandardError => e
|
2069
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2070
|
+
end
|
2071
|
+
|
1928
2072
|
|
1929
2073
|
end
|
1930
2074
|
end
|
data/lib/v20210125/models.rb
CHANGED
@@ -981,6 +981,163 @@ module TencentCloud
|
|
981
981
|
end
|
982
982
|
end
|
983
983
|
|
984
|
+
# CreateDataEngine请求参数结构体
|
985
|
+
class CreateDataEngineRequest < TencentCloud::Common::AbstractModel
|
986
|
+
# @param EngineType: 引擎类型spark/presto
|
987
|
+
# @type EngineType: String
|
988
|
+
# @param DataEngineName: 虚拟集群名称
|
989
|
+
# @type DataEngineName: String
|
990
|
+
# @param ClusterType: 集群类型 spark_private/presto_private/presto_cu/spark_cu
|
991
|
+
# @type ClusterType: String
|
992
|
+
# @param Mode: 计费模式 0=共享模式 1=按量计费 2=包年包月
|
993
|
+
# @type Mode: Integer
|
994
|
+
# @param AutoResume: 是否自动启动集群
|
995
|
+
# @type AutoResume: Boolean
|
996
|
+
# @param MinClusters: 最小资源
|
997
|
+
# @type MinClusters: Integer
|
998
|
+
# @param MaxClusters: 最大资源
|
999
|
+
# @type MaxClusters: Integer
|
1000
|
+
# @param DefaultDataEngine: 是否为默虚拟集群
|
1001
|
+
# @type DefaultDataEngine: Boolean
|
1002
|
+
# @param CidrBlock: VPC网段
|
1003
|
+
# @type CidrBlock: String
|
1004
|
+
# @param Message: 描述信息
|
1005
|
+
# @type Message: String
|
1006
|
+
# @param Size: 集群规模
|
1007
|
+
# @type Size: Integer
|
1008
|
+
# @param PayMode: 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。
|
1009
|
+
# @type PayMode: Integer
|
1010
|
+
# @param TimeSpan: 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认3600
|
1011
|
+
# @type TimeSpan: Integer
|
1012
|
+
# @param TimeUnit: 资源使用时长的单位,后付费:s,预付费:m。默认为s
|
1013
|
+
# @type TimeUnit: String
|
1014
|
+
# @param AutoRenew: 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0
|
1015
|
+
# @type AutoRenew: Integer
|
1016
|
+
# @param Tags: 创建资源的时候需要绑定的标签信息
|
1017
|
+
# @type Tags: Array
|
1018
|
+
# @param AutoSuspend: 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
|
1019
|
+
# @type AutoSuspend: Boolean
|
1020
|
+
# @param CrontabResumeSuspend: 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
|
1021
|
+
# @type CrontabResumeSuspend: Integer
|
1022
|
+
# @param CrontabResumeSuspendStrategy: 定时启停策略,复杂类型:包含启停时间、挂起集群策略
|
1023
|
+
# @type CrontabResumeSuspendStrategy: :class:`Tencentcloud::Dlc.v20210125.models.CrontabResumeSuspendStrategy`
|
1024
|
+
# @param EngineExecType: 引擎执行任务类型,默认为SQL
|
1025
|
+
# @type EngineExecType: String
|
1026
|
+
# @param MaxConcurrency: 单个集群最大并发任务数,默认5
|
1027
|
+
# @type MaxConcurrency: Integer
|
1028
|
+
# @param TolerableQueueTime: 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。
|
1029
|
+
# @type TolerableQueueTime: Integer
|
1030
|
+
# @param AutoSuspendTime: 集群自动挂起时间,默认10分钟
|
1031
|
+
# @type AutoSuspendTime: Integer
|
1032
|
+
# @param ResourceType: 资源类型。Standard_CU:标准型;Memory_CU:内存型
|
1033
|
+
# @type ResourceType: String
|
1034
|
+
# @param DataEngineConfigPairs: 集群高级配置
|
1035
|
+
# @type DataEngineConfigPairs: Array
|
1036
|
+
# @param ImageVersionName: 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群
|
1037
|
+
# @type ImageVersionName: String
|
1038
|
+
# @param MainClusterName: 主集群名称
|
1039
|
+
# @type MainClusterName: String
|
1040
|
+
|
1041
|
+
attr_accessor :EngineType, :DataEngineName, :ClusterType, :Mode, :AutoResume, :MinClusters, :MaxClusters, :DefaultDataEngine, :CidrBlock, :Message, :Size, :PayMode, :TimeSpan, :TimeUnit, :AutoRenew, :Tags, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ResourceType, :DataEngineConfigPairs, :ImageVersionName, :MainClusterName
|
1042
|
+
|
1043
|
+
def initialize(enginetype=nil, dataenginename=nil, clustertype=nil, mode=nil, autoresume=nil, minclusters=nil, maxclusters=nil, defaultdataengine=nil, cidrblock=nil, message=nil, size=nil, paymode=nil, timespan=nil, timeunit=nil, autorenew=nil, tags=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, resourcetype=nil, dataengineconfigpairs=nil, imageversionname=nil, mainclustername=nil)
|
1044
|
+
@EngineType = enginetype
|
1045
|
+
@DataEngineName = dataenginename
|
1046
|
+
@ClusterType = clustertype
|
1047
|
+
@Mode = mode
|
1048
|
+
@AutoResume = autoresume
|
1049
|
+
@MinClusters = minclusters
|
1050
|
+
@MaxClusters = maxclusters
|
1051
|
+
@DefaultDataEngine = defaultdataengine
|
1052
|
+
@CidrBlock = cidrblock
|
1053
|
+
@Message = message
|
1054
|
+
@Size = size
|
1055
|
+
@PayMode = paymode
|
1056
|
+
@TimeSpan = timespan
|
1057
|
+
@TimeUnit = timeunit
|
1058
|
+
@AutoRenew = autorenew
|
1059
|
+
@Tags = tags
|
1060
|
+
@AutoSuspend = autosuspend
|
1061
|
+
@CrontabResumeSuspend = crontabresumesuspend
|
1062
|
+
@CrontabResumeSuspendStrategy = crontabresumesuspendstrategy
|
1063
|
+
@EngineExecType = engineexectype
|
1064
|
+
@MaxConcurrency = maxconcurrency
|
1065
|
+
@TolerableQueueTime = tolerablequeuetime
|
1066
|
+
@AutoSuspendTime = autosuspendtime
|
1067
|
+
@ResourceType = resourcetype
|
1068
|
+
@DataEngineConfigPairs = dataengineconfigpairs
|
1069
|
+
@ImageVersionName = imageversionname
|
1070
|
+
@MainClusterName = mainclustername
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
def deserialize(params)
|
1074
|
+
@EngineType = params['EngineType']
|
1075
|
+
@DataEngineName = params['DataEngineName']
|
1076
|
+
@ClusterType = params['ClusterType']
|
1077
|
+
@Mode = params['Mode']
|
1078
|
+
@AutoResume = params['AutoResume']
|
1079
|
+
@MinClusters = params['MinClusters']
|
1080
|
+
@MaxClusters = params['MaxClusters']
|
1081
|
+
@DefaultDataEngine = params['DefaultDataEngine']
|
1082
|
+
@CidrBlock = params['CidrBlock']
|
1083
|
+
@Message = params['Message']
|
1084
|
+
@Size = params['Size']
|
1085
|
+
@PayMode = params['PayMode']
|
1086
|
+
@TimeSpan = params['TimeSpan']
|
1087
|
+
@TimeUnit = params['TimeUnit']
|
1088
|
+
@AutoRenew = params['AutoRenew']
|
1089
|
+
unless params['Tags'].nil?
|
1090
|
+
@Tags = []
|
1091
|
+
params['Tags'].each do |i|
|
1092
|
+
taginfo_tmp = TagInfo.new
|
1093
|
+
taginfo_tmp.deserialize(i)
|
1094
|
+
@Tags << taginfo_tmp
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
@AutoSuspend = params['AutoSuspend']
|
1098
|
+
@CrontabResumeSuspend = params['CrontabResumeSuspend']
|
1099
|
+
unless params['CrontabResumeSuspendStrategy'].nil?
|
1100
|
+
@CrontabResumeSuspendStrategy = CrontabResumeSuspendStrategy.new
|
1101
|
+
@CrontabResumeSuspendStrategy.deserialize(params['CrontabResumeSuspendStrategy'])
|
1102
|
+
end
|
1103
|
+
@EngineExecType = params['EngineExecType']
|
1104
|
+
@MaxConcurrency = params['MaxConcurrency']
|
1105
|
+
@TolerableQueueTime = params['TolerableQueueTime']
|
1106
|
+
@AutoSuspendTime = params['AutoSuspendTime']
|
1107
|
+
@ResourceType = params['ResourceType']
|
1108
|
+
unless params['DataEngineConfigPairs'].nil?
|
1109
|
+
@DataEngineConfigPairs = []
|
1110
|
+
params['DataEngineConfigPairs'].each do |i|
|
1111
|
+
dataengineconfigpair_tmp = DataEngineConfigPair.new
|
1112
|
+
dataengineconfigpair_tmp.deserialize(i)
|
1113
|
+
@DataEngineConfigPairs << dataengineconfigpair_tmp
|
1114
|
+
end
|
1115
|
+
end
|
1116
|
+
@ImageVersionName = params['ImageVersionName']
|
1117
|
+
@MainClusterName = params['MainClusterName']
|
1118
|
+
end
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
# CreateDataEngine返回参数结构体
|
1122
|
+
class CreateDataEngineResponse < TencentCloud::Common::AbstractModel
|
1123
|
+
# @param DataEngineId: 虚拟引擎id
|
1124
|
+
# @type DataEngineId: String
|
1125
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1126
|
+
# @type RequestId: String
|
1127
|
+
|
1128
|
+
attr_accessor :DataEngineId, :RequestId
|
1129
|
+
|
1130
|
+
def initialize(dataengineid=nil, requestid=nil)
|
1131
|
+
@DataEngineId = dataengineid
|
1132
|
+
@RequestId = requestid
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
def deserialize(params)
|
1136
|
+
@DataEngineId = params['DataEngineId']
|
1137
|
+
@RequestId = params['RequestId']
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
984
1141
|
# CreateDatabase请求参数结构体
|
985
1142
|
class CreateDatabaseRequest < TencentCloud::Common::AbstractModel
|
986
1143
|
# @param DatabaseInfo: 数据库基础信息
|
@@ -2486,6 +2643,17 @@ module TencentCloud
|
|
2486
2643
|
end
|
2487
2644
|
end
|
2488
2645
|
|
2646
|
+
# 引擎配置
|
2647
|
+
class DataEngineConfigPair < TencentCloud::Common::AbstractModel
|
2648
|
+
|
2649
|
+
|
2650
|
+
def initialize()
|
2651
|
+
end
|
2652
|
+
|
2653
|
+
def deserialize(params)
|
2654
|
+
end
|
2655
|
+
end
|
2656
|
+
|
2489
2657
|
# DataEngine详细信息
|
2490
2658
|
class DataEngineInfo < TencentCloud::Common::AbstractModel
|
2491
2659
|
# @param DataEngineName: DataEngine名称
|
@@ -2583,10 +2751,13 @@ module TencentCloud
|
|
2583
2751
|
# @param ImageVersionName: 集群镜像版本名字
|
2584
2752
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2585
2753
|
# @type ImageVersionName: String
|
2754
|
+
# @param StartStandbyCluster: 是否开启备集群
|
2755
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2756
|
+
# @type StartStandbyCluster: Boolean
|
2586
2757
|
|
2587
|
-
attr_accessor :DataEngineName, :EngineType, :ClusterType, :QuotaId, :State, :CreateTime, :UpdateTime, :Size, :Mode, :MinClusters, :MaxClusters, :AutoResume, :SpendAfter, :CidrBlock, :DefaultDataEngine, :Message, :DataEngineId, :SubAccountUin, :ExpireTime, :IsolatedTime, :ReversalTime, :UserAlias, :TagList, :Permissions, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :RenewFlag, :AutoSuspendTime, :NetworkConnectionSet, :UiURL, :ResourceType, :ImageVersionId, :ChildImageVersionId, :ImageVersionName
|
2758
|
+
attr_accessor :DataEngineName, :EngineType, :ClusterType, :QuotaId, :State, :CreateTime, :UpdateTime, :Size, :Mode, :MinClusters, :MaxClusters, :AutoResume, :SpendAfter, :CidrBlock, :DefaultDataEngine, :Message, :DataEngineId, :SubAccountUin, :ExpireTime, :IsolatedTime, :ReversalTime, :UserAlias, :TagList, :Permissions, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :RenewFlag, :AutoSuspendTime, :NetworkConnectionSet, :UiURL, :ResourceType, :ImageVersionId, :ChildImageVersionId, :ImageVersionName, :StartStandbyCluster
|
2588
2759
|
|
2589
|
-
def initialize(dataenginename=nil, enginetype=nil, clustertype=nil, quotaid=nil, state=nil, createtime=nil, updatetime=nil, size=nil, mode=nil, minclusters=nil, maxclusters=nil, autoresume=nil, spendafter=nil, cidrblock=nil, defaultdataengine=nil, message=nil, dataengineid=nil, subaccountuin=nil, expiretime=nil, isolatedtime=nil, reversaltime=nil, useralias=nil, taglist=nil, permissions=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, renewflag=nil, autosuspendtime=nil, networkconnectionset=nil, uiurl=nil, resourcetype=nil, imageversionid=nil, childimageversionid=nil, imageversionname=nil)
|
2760
|
+
def initialize(dataenginename=nil, enginetype=nil, clustertype=nil, quotaid=nil, state=nil, createtime=nil, updatetime=nil, size=nil, mode=nil, minclusters=nil, maxclusters=nil, autoresume=nil, spendafter=nil, cidrblock=nil, defaultdataengine=nil, message=nil, dataengineid=nil, subaccountuin=nil, expiretime=nil, isolatedtime=nil, reversaltime=nil, useralias=nil, taglist=nil, permissions=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, renewflag=nil, autosuspendtime=nil, networkconnectionset=nil, uiurl=nil, resourcetype=nil, imageversionid=nil, childimageversionid=nil, imageversionname=nil, startstandbycluster=nil)
|
2590
2761
|
@DataEngineName = dataenginename
|
2591
2762
|
@EngineType = enginetype
|
2592
2763
|
@ClusterType = clustertype
|
@@ -2623,6 +2794,7 @@ module TencentCloud
|
|
2623
2794
|
@ImageVersionId = imageversionid
|
2624
2795
|
@ChildImageVersionId = childimageversionid
|
2625
2796
|
@ImageVersionName = imageversionname
|
2797
|
+
@StartStandbyCluster = startstandbycluster
|
2626
2798
|
end
|
2627
2799
|
|
2628
2800
|
def deserialize(params)
|
@@ -2679,6 +2851,7 @@ module TencentCloud
|
|
2679
2851
|
@ImageVersionId = params['ImageVersionId']
|
2680
2852
|
@ChildImageVersionId = params['ChildImageVersionId']
|
2681
2853
|
@ImageVersionName = params['ImageVersionName']
|
2854
|
+
@StartStandbyCluster = params['StartStandbyCluster']
|
2682
2855
|
end
|
2683
2856
|
end
|
2684
2857
|
|
@@ -3654,6 +3827,104 @@ module TencentCloud
|
|
3654
3827
|
end
|
3655
3828
|
end
|
3656
3829
|
|
3830
|
+
# DescribeEngineUsageInfo请求参数结构体
|
3831
|
+
class DescribeEngineUsageInfoRequest < TencentCloud::Common::AbstractModel
|
3832
|
+
# @param DataEngineId: House Id
|
3833
|
+
# @type DataEngineId: String
|
3834
|
+
|
3835
|
+
attr_accessor :DataEngineId
|
3836
|
+
|
3837
|
+
def initialize(dataengineid=nil)
|
3838
|
+
@DataEngineId = dataengineid
|
3839
|
+
end
|
3840
|
+
|
3841
|
+
def deserialize(params)
|
3842
|
+
@DataEngineId = params['DataEngineId']
|
3843
|
+
end
|
3844
|
+
end
|
3845
|
+
|
3846
|
+
# DescribeEngineUsageInfo返回参数结构体
|
3847
|
+
class DescribeEngineUsageInfoResponse < TencentCloud::Common::AbstractModel
|
3848
|
+
# @param Total: 集群总规格
|
3849
|
+
# @type Total: Integer
|
3850
|
+
# @param Used: 已占用集群规格
|
3851
|
+
# @type Used: Integer
|
3852
|
+
# @param Available: 剩余集群规格
|
3853
|
+
# @type Available: Integer
|
3854
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3855
|
+
# @type RequestId: String
|
3856
|
+
|
3857
|
+
attr_accessor :Total, :Used, :Available, :RequestId
|
3858
|
+
|
3859
|
+
def initialize(total=nil, used=nil, available=nil, requestid=nil)
|
3860
|
+
@Total = total
|
3861
|
+
@Used = used
|
3862
|
+
@Available = available
|
3863
|
+
@RequestId = requestid
|
3864
|
+
end
|
3865
|
+
|
3866
|
+
def deserialize(params)
|
3867
|
+
@Total = params['Total']
|
3868
|
+
@Used = params['Used']
|
3869
|
+
@Available = params['Available']
|
3870
|
+
@RequestId = params['RequestId']
|
3871
|
+
end
|
3872
|
+
end
|
3873
|
+
|
3874
|
+
# DescribeLakeFsDirSummary请求参数结构体
|
3875
|
+
class DescribeLakeFsDirSummaryRequest < TencentCloud::Common::AbstractModel
|
3876
|
+
|
3877
|
+
|
3878
|
+
def initialize()
|
3879
|
+
end
|
3880
|
+
|
3881
|
+
def deserialize(params)
|
3882
|
+
end
|
3883
|
+
end
|
3884
|
+
|
3885
|
+
# DescribeLakeFsDirSummary返回参数结构体
|
3886
|
+
class DescribeLakeFsDirSummaryResponse < TencentCloud::Common::AbstractModel
|
3887
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3888
|
+
# @type RequestId: String
|
3889
|
+
|
3890
|
+
attr_accessor :RequestId
|
3891
|
+
|
3892
|
+
def initialize(requestid=nil)
|
3893
|
+
@RequestId = requestid
|
3894
|
+
end
|
3895
|
+
|
3896
|
+
def deserialize(params)
|
3897
|
+
@RequestId = params['RequestId']
|
3898
|
+
end
|
3899
|
+
end
|
3900
|
+
|
3901
|
+
# DescribeLakeFsInfo请求参数结构体
|
3902
|
+
class DescribeLakeFsInfoRequest < TencentCloud::Common::AbstractModel
|
3903
|
+
|
3904
|
+
|
3905
|
+
def initialize()
|
3906
|
+
end
|
3907
|
+
|
3908
|
+
def deserialize(params)
|
3909
|
+
end
|
3910
|
+
end
|
3911
|
+
|
3912
|
+
# DescribeLakeFsInfo返回参数结构体
|
3913
|
+
class DescribeLakeFsInfoResponse < TencentCloud::Common::AbstractModel
|
3914
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3915
|
+
# @type RequestId: String
|
3916
|
+
|
3917
|
+
attr_accessor :RequestId
|
3918
|
+
|
3919
|
+
def initialize(requestid=nil)
|
3920
|
+
@RequestId = requestid
|
3921
|
+
end
|
3922
|
+
|
3923
|
+
def deserialize(params)
|
3924
|
+
@RequestId = params['RequestId']
|
3925
|
+
end
|
3926
|
+
end
|
3927
|
+
|
3657
3928
|
# DescribeNotebookSessionLog请求参数结构体
|
3658
3929
|
class DescribeNotebookSessionLogRequest < TencentCloud::Common::AbstractModel
|
3659
3930
|
# @param SessionId: Session唯一标识
|
@@ -6180,10 +6451,13 @@ module TencentCloud
|
|
6180
6451
|
# @param SourceName: 权限所属工作组的名称,只有当该权限的来源为工作组时才会有值。即仅当Source字段的值为WORKGROUP时该字段才有值。
|
6181
6452
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6182
6453
|
# @type SourceName: String
|
6454
|
+
# @param Id: 策略ID
|
6455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6456
|
+
# @type Id: Integer
|
6183
6457
|
|
6184
|
-
attr_accessor :Database, :Catalog, :Table, :Operation, :PolicyType, :Function, :View, :Column, :DataEngine, :ReAuth, :Source, :Mode, :Operator, :CreateTime, :SourceId, :SourceName
|
6458
|
+
attr_accessor :Database, :Catalog, :Table, :Operation, :PolicyType, :Function, :View, :Column, :DataEngine, :ReAuth, :Source, :Mode, :Operator, :CreateTime, :SourceId, :SourceName, :Id
|
6185
6459
|
|
6186
|
-
def initialize(database=nil, catalog=nil, table=nil, operation=nil, policytype=nil, function=nil, view=nil, column=nil, dataengine=nil, reauth=nil, source=nil, mode=nil, operator=nil, createtime=nil, sourceid=nil, sourcename=nil)
|
6460
|
+
def initialize(database=nil, catalog=nil, table=nil, operation=nil, policytype=nil, function=nil, view=nil, column=nil, dataengine=nil, reauth=nil, source=nil, mode=nil, operator=nil, createtime=nil, sourceid=nil, sourcename=nil, id=nil)
|
6187
6461
|
@Database = database
|
6188
6462
|
@Catalog = catalog
|
6189
6463
|
@Table = table
|
@@ -6200,6 +6474,7 @@ module TencentCloud
|
|
6200
6474
|
@CreateTime = createtime
|
6201
6475
|
@SourceId = sourceid
|
6202
6476
|
@SourceName = sourcename
|
6477
|
+
@Id = id
|
6203
6478
|
end
|
6204
6479
|
|
6205
6480
|
def deserialize(params)
|
@@ -6219,6 +6494,7 @@ module TencentCloud
|
|
6219
6494
|
@CreateTime = params['CreateTime']
|
6220
6495
|
@SourceId = params['SourceId']
|
6221
6496
|
@SourceName = params['SourceName']
|
6497
|
+
@Id = params['Id']
|
6222
6498
|
end
|
6223
6499
|
end
|
6224
6500
|
|
@@ -6667,6 +6943,42 @@ module TencentCloud
|
|
6667
6943
|
end
|
6668
6944
|
end
|
6669
6945
|
|
6946
|
+
# SwitchDataEngine请求参数结构体
|
6947
|
+
class SwitchDataEngineRequest < TencentCloud::Common::AbstractModel
|
6948
|
+
# @param DataEngineName: 主集群名称
|
6949
|
+
# @type DataEngineName: String
|
6950
|
+
# @param StartStandbyCluster: 是否开启备集群
|
6951
|
+
# @type StartStandbyCluster: Boolean
|
6952
|
+
|
6953
|
+
attr_accessor :DataEngineName, :StartStandbyCluster
|
6954
|
+
|
6955
|
+
def initialize(dataenginename=nil, startstandbycluster=nil)
|
6956
|
+
@DataEngineName = dataenginename
|
6957
|
+
@StartStandbyCluster = startstandbycluster
|
6958
|
+
end
|
6959
|
+
|
6960
|
+
def deserialize(params)
|
6961
|
+
@DataEngineName = params['DataEngineName']
|
6962
|
+
@StartStandbyCluster = params['StartStandbyCluster']
|
6963
|
+
end
|
6964
|
+
end
|
6965
|
+
|
6966
|
+
# SwitchDataEngine返回参数结构体
|
6967
|
+
class SwitchDataEngineResponse < TencentCloud::Common::AbstractModel
|
6968
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6969
|
+
# @type RequestId: String
|
6970
|
+
|
6971
|
+
attr_accessor :RequestId
|
6972
|
+
|
6973
|
+
def initialize(requestid=nil)
|
6974
|
+
@RequestId = requestid
|
6975
|
+
end
|
6976
|
+
|
6977
|
+
def deserialize(params)
|
6978
|
+
@RequestId = params['RequestId']
|
6979
|
+
end
|
6980
|
+
end
|
6981
|
+
|
6670
6982
|
# 表字段描述信息
|
6671
6983
|
class TColumn < TencentCloud::Common::AbstractModel
|
6672
6984
|
# @param Name: 字段名称
|
@@ -7408,6 +7720,45 @@ module TencentCloud
|
|
7408
7720
|
end
|
7409
7721
|
end
|
7410
7722
|
|
7723
|
+
# UpdateRowFilter请求参数结构体
|
7724
|
+
class UpdateRowFilterRequest < TencentCloud::Common::AbstractModel
|
7725
|
+
# @param PolicyId: 行过滤策略的id,此值可以通过DescribeUserInfo或者DescribeWorkGroupInfo接口获取
|
7726
|
+
# @type PolicyId: Integer
|
7727
|
+
# @param Policy: 新的过滤策略。
|
7728
|
+
# @type Policy: :class:`Tencentcloud::Dlc.v20210125.models.Policy`
|
7729
|
+
|
7730
|
+
attr_accessor :PolicyId, :Policy
|
7731
|
+
|
7732
|
+
def initialize(policyid=nil, policy=nil)
|
7733
|
+
@PolicyId = policyid
|
7734
|
+
@Policy = policy
|
7735
|
+
end
|
7736
|
+
|
7737
|
+
def deserialize(params)
|
7738
|
+
@PolicyId = params['PolicyId']
|
7739
|
+
unless params['Policy'].nil?
|
7740
|
+
@Policy = Policy.new
|
7741
|
+
@Policy.deserialize(params['Policy'])
|
7742
|
+
end
|
7743
|
+
end
|
7744
|
+
end
|
7745
|
+
|
7746
|
+
# UpdateRowFilter返回参数结构体
|
7747
|
+
class UpdateRowFilterResponse < TencentCloud::Common::AbstractModel
|
7748
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7749
|
+
# @type RequestId: String
|
7750
|
+
|
7751
|
+
attr_accessor :RequestId
|
7752
|
+
|
7753
|
+
def initialize(requestid=nil)
|
7754
|
+
@RequestId = requestid
|
7755
|
+
end
|
7756
|
+
|
7757
|
+
def deserialize(params)
|
7758
|
+
@RequestId = params['RequestId']
|
7759
|
+
end
|
7760
|
+
end
|
7761
|
+
|
7411
7762
|
# 绑定到同一个工作组的用户Id的集合
|
7412
7763
|
class UserIdSetOfWorkGroupId < TencentCloud::Common::AbstractModel
|
7413
7764
|
# @param WorkGroupId: 工作组Id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dlc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.524
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|