tencentcloud-sdk-emr 3.0.1003 → 3.0.1005
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/v20190103/client.rb +24 -0
- data/lib/v20190103/models.rb +109 -2
- 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: 8a8118512e663b128607bf8cf3aec7a999f3ce1e
|
4
|
+
data.tar.gz: 3009dd8b32f5916ed8b238ea22d22b3e49357b85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 202dc71a80437da2ec26c6e04524277217b26b17fa0ac105c2d0f0ad1fe44ec831e22d466152317b63d11d8c399306b2f5e5350642465fdfee28d1f54b3d4a29
|
7
|
+
data.tar.gz: 8807ec19f79d1068eb2bbb1ea690ead2f3b0bd68f6b2293280de6f56005e4c52f28907b42e578485a4bf582d9b28370915c1ff4a236533644bd68252addaee24
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1005
|
data/lib/v20190103/client.rb
CHANGED
@@ -464,6 +464,30 @@ module TencentCloud
|
|
464
464
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
465
465
|
end
|
466
466
|
|
467
|
+
# 查询DAG信息
|
468
|
+
|
469
|
+
# @param request: Request instance for DescribeDAGInfo.
|
470
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeDAGInfoRequest`
|
471
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeDAGInfoResponse`
|
472
|
+
def DescribeDAGInfo(request)
|
473
|
+
body = send_request('DescribeDAGInfo', request.serialize)
|
474
|
+
response = JSON.parse(body)
|
475
|
+
if response['Response'].key?('Error') == false
|
476
|
+
model = DescribeDAGInfoResponse.new
|
477
|
+
model.deserialize(response['Response'])
|
478
|
+
model
|
479
|
+
else
|
480
|
+
code = response['Response']['Error']['Code']
|
481
|
+
message = response['Response']['Error']['Message']
|
482
|
+
reqid = response['Response']['RequestId']
|
483
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
484
|
+
end
|
485
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
486
|
+
raise e
|
487
|
+
rescue StandardError => e
|
488
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
489
|
+
end
|
490
|
+
|
467
491
|
# yarn application 统计接口查询
|
468
492
|
|
469
493
|
# @param request: Request instance for DescribeEmrApplicationStatics.
|
data/lib/v20190103/models.rb
CHANGED
@@ -2213,6 +2213,30 @@ module TencentCloud
|
|
2213
2213
|
end
|
2214
2214
|
end
|
2215
2215
|
|
2216
|
+
# DAG信息
|
2217
|
+
class DAGInfo < TencentCloud::Common::AbstractModel
|
2218
|
+
# @param ID: 查询ID
|
2219
|
+
# @type ID: String
|
2220
|
+
# @param Type: DAG类型,目前只支持starrocks
|
2221
|
+
# @type Type: String
|
2222
|
+
# @param Content: 返回的DAG的JSON字符串
|
2223
|
+
# @type Content: String
|
2224
|
+
|
2225
|
+
attr_accessor :ID, :Type, :Content
|
2226
|
+
|
2227
|
+
def initialize(id=nil, type=nil, content=nil)
|
2228
|
+
@ID = id
|
2229
|
+
@Type = type
|
2230
|
+
@Content = content
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
def deserialize(params)
|
2234
|
+
@ID = params['ID']
|
2235
|
+
@Type = params['Type']
|
2236
|
+
@Content = params['Content']
|
2237
|
+
end
|
2238
|
+
end
|
2239
|
+
|
2216
2240
|
# 弹性扩缩容按天重复任务描述
|
2217
2241
|
class DayRepeatStrategy < TencentCloud::Common::AbstractModel
|
2218
2242
|
# @param ExecuteAtTimeOfDay: 重复任务执行的具体时刻,例如"01:02:00"
|
@@ -2937,6 +2961,62 @@ module TencentCloud
|
|
2937
2961
|
end
|
2938
2962
|
end
|
2939
2963
|
|
2964
|
+
# DescribeDAGInfo请求参数结构体
|
2965
|
+
class DescribeDAGInfoRequest < TencentCloud::Common::AbstractModel
|
2966
|
+
# @param InstanceID: 集群ID
|
2967
|
+
# @type InstanceID: String
|
2968
|
+
# @param Type: DAG类型,目前只支持STARROCKS
|
2969
|
+
# @type Type: String
|
2970
|
+
# @param IDList: 查询ID列表,最大长度为1
|
2971
|
+
# @type IDList: Array
|
2972
|
+
|
2973
|
+
attr_accessor :InstanceID, :Type, :IDList
|
2974
|
+
|
2975
|
+
def initialize(instanceid=nil, type=nil, idlist=nil)
|
2976
|
+
@InstanceID = instanceid
|
2977
|
+
@Type = type
|
2978
|
+
@IDList = idlist
|
2979
|
+
end
|
2980
|
+
|
2981
|
+
def deserialize(params)
|
2982
|
+
@InstanceID = params['InstanceID']
|
2983
|
+
@Type = params['Type']
|
2984
|
+
@IDList = params['IDList']
|
2985
|
+
end
|
2986
|
+
end
|
2987
|
+
|
2988
|
+
# DescribeDAGInfo返回参数结构体
|
2989
|
+
class DescribeDAGInfoResponse < TencentCloud::Common::AbstractModel
|
2990
|
+
# @param TotalCount: 总数,分页查询时使用
|
2991
|
+
# @type TotalCount: Integer
|
2992
|
+
# @param DAGInfoList: Starrocks 查询信息列表
|
2993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2994
|
+
# @type DAGInfoList: Array
|
2995
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2996
|
+
# @type RequestId: String
|
2997
|
+
|
2998
|
+
attr_accessor :TotalCount, :DAGInfoList, :RequestId
|
2999
|
+
|
3000
|
+
def initialize(totalcount=nil, daginfolist=nil, requestid=nil)
|
3001
|
+
@TotalCount = totalcount
|
3002
|
+
@DAGInfoList = daginfolist
|
3003
|
+
@RequestId = requestid
|
3004
|
+
end
|
3005
|
+
|
3006
|
+
def deserialize(params)
|
3007
|
+
@TotalCount = params['TotalCount']
|
3008
|
+
unless params['DAGInfoList'].nil?
|
3009
|
+
@DAGInfoList = []
|
3010
|
+
params['DAGInfoList'].each do |i|
|
3011
|
+
daginfo_tmp = DAGInfo.new
|
3012
|
+
daginfo_tmp.deserialize(i)
|
3013
|
+
@DAGInfoList << daginfo_tmp
|
3014
|
+
end
|
3015
|
+
end
|
3016
|
+
@RequestId = params['RequestId']
|
3017
|
+
end
|
3018
|
+
end
|
3019
|
+
|
2940
3020
|
# DescribeEmrApplicationStatics请求参数结构体
|
2941
3021
|
class DescribeEmrApplicationStaticsRequest < TencentCloud::Common::AbstractModel
|
2942
3022
|
# @param InstanceId: 集群id
|
@@ -7005,13 +7085,28 @@ module TencentCloud
|
|
7005
7085
|
# "CPU"表示按照机器的核数计算。
|
7006
7086
|
# "MEMORYGB"表示按照机器内存数计算。
|
7007
7087
|
# @type MeasureMethod: String
|
7088
|
+
# @param SoftDeployDesc: 节点部署服务列表,例如["HDFS-3.1.2","YARN-3.1.2"]。
|
7089
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7090
|
+
# @type SoftDeployDesc: Array
|
7091
|
+
# @param ServiceNodeDesc: 启动进程列表,例如["NodeManager"]。
|
7092
|
+
# @type ServiceNodeDesc: String
|
7093
|
+
# @param ServiceNodeInfo: 启动进程列表。
|
7094
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7095
|
+
# @type ServiceNodeInfo: Array
|
7096
|
+
# @param SoftDeployInfo: 节点部署服务列表。部署服务仅填写HDFS、YARN。[组件名对应的映射关系表](https://cloud.tencent.com/document/product/589/98760)
|
7097
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7098
|
+
# @type SoftDeployInfo: Array
|
7008
7099
|
# @param LoadMetricsConditions: 多指标触发条件
|
7009
7100
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7010
7101
|
# @type LoadMetricsConditions: :class:`Tencentcloud::Emr.v20190103.models.LoadMetricsConditions`
|
7102
|
+
# @param GroupId: 伸缩组Id
|
7103
|
+
# @type GroupId: Integer
|
7104
|
+
# @param Soft: soft例如yarn
|
7105
|
+
# @type Soft: String
|
7011
7106
|
|
7012
|
-
attr_accessor :StrategyId, :StrategyName, :CalmDownTime, :ScaleAction, :ScaleNum, :ProcessMethod, :Priority, :StrategyStatus, :YarnNodeLabel, :PeriodValid, :GraceDownFlag, :GraceDownTime, :Tags, :ConfigGroupAssigned, :MeasureMethod, :LoadMetricsConditions
|
7107
|
+
attr_accessor :StrategyId, :StrategyName, :CalmDownTime, :ScaleAction, :ScaleNum, :ProcessMethod, :Priority, :StrategyStatus, :YarnNodeLabel, :PeriodValid, :GraceDownFlag, :GraceDownTime, :Tags, :ConfigGroupAssigned, :MeasureMethod, :SoftDeployDesc, :ServiceNodeDesc, :ServiceNodeInfo, :SoftDeployInfo, :LoadMetricsConditions, :GroupId, :Soft
|
7013
7108
|
|
7014
|
-
def initialize(strategyid=nil, strategyname=nil, calmdowntime=nil, scaleaction=nil, scalenum=nil, processmethod=nil, priority=nil, strategystatus=nil, yarnnodelabel=nil, periodvalid=nil, gracedownflag=nil, gracedowntime=nil, tags=nil, configgroupassigned=nil, measuremethod=nil, loadmetricsconditions=nil)
|
7109
|
+
def initialize(strategyid=nil, strategyname=nil, calmdowntime=nil, scaleaction=nil, scalenum=nil, processmethod=nil, priority=nil, strategystatus=nil, yarnnodelabel=nil, periodvalid=nil, gracedownflag=nil, gracedowntime=nil, tags=nil, configgroupassigned=nil, measuremethod=nil, softdeploydesc=nil, servicenodedesc=nil, servicenodeinfo=nil, softdeployinfo=nil, loadmetricsconditions=nil, groupid=nil, soft=nil)
|
7015
7110
|
@StrategyId = strategyid
|
7016
7111
|
@StrategyName = strategyname
|
7017
7112
|
@CalmDownTime = calmdowntime
|
@@ -7027,7 +7122,13 @@ module TencentCloud
|
|
7027
7122
|
@Tags = tags
|
7028
7123
|
@ConfigGroupAssigned = configgroupassigned
|
7029
7124
|
@MeasureMethod = measuremethod
|
7125
|
+
@SoftDeployDesc = softdeploydesc
|
7126
|
+
@ServiceNodeDesc = servicenodedesc
|
7127
|
+
@ServiceNodeInfo = servicenodeinfo
|
7128
|
+
@SoftDeployInfo = softdeployinfo
|
7030
7129
|
@LoadMetricsConditions = loadmetricsconditions
|
7130
|
+
@GroupId = groupid
|
7131
|
+
@Soft = soft
|
7031
7132
|
end
|
7032
7133
|
|
7033
7134
|
def deserialize(params)
|
@@ -7053,10 +7154,16 @@ module TencentCloud
|
|
7053
7154
|
end
|
7054
7155
|
@ConfigGroupAssigned = params['ConfigGroupAssigned']
|
7055
7156
|
@MeasureMethod = params['MeasureMethod']
|
7157
|
+
@SoftDeployDesc = params['SoftDeployDesc']
|
7158
|
+
@ServiceNodeDesc = params['ServiceNodeDesc']
|
7159
|
+
@ServiceNodeInfo = params['ServiceNodeInfo']
|
7160
|
+
@SoftDeployInfo = params['SoftDeployInfo']
|
7056
7161
|
unless params['LoadMetricsConditions'].nil?
|
7057
7162
|
@LoadMetricsConditions = LoadMetricsConditions.new
|
7058
7163
|
@LoadMetricsConditions.deserialize(params['LoadMetricsConditions'])
|
7059
7164
|
end
|
7165
|
+
@GroupId = params['GroupId']
|
7166
|
+
@Soft = params['Soft']
|
7060
7167
|
end
|
7061
7168
|
end
|
7062
7169
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-emr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1005
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|