tencentcloud-sdk-emr 1.0.359 → 1.0.360
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/v20190103/client.rb +24 -0
- data/lib/v20190103/models.rb +143 -0
- 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: 3ac45a56cf1d61446649f2d786a2c8f87e575b20
|
4
|
+
data.tar.gz: 7d38dd83fb447c01aef248751d9160ae1d68e41c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0bee4ef7ffb6c5a50c500f6bccdcca70a9afddcfb1226d73a54fe71971b592925376f5ce51c20f250479cbf401186a17f735df0da51313fa8434446f536fcb0
|
7
|
+
data.tar.gz: de2c1d60d84a561c54dc2dd9ea8623432d940e3c75a7540478b32056dfefa5f1bc20a0b286d58e2914c7d0896585df2a3a0583fddef272ce5a627dd8277a42ec
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.360
|
data/lib/v20190103/client.rb
CHANGED
@@ -126,6 +126,30 @@ module TencentCloud
|
|
126
126
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
127
127
|
end
|
128
128
|
|
129
|
+
# (通过走emrcc接入到cam) yarn applciation 统计接口
|
130
|
+
|
131
|
+
# @param request: Request instance for DescribeEmrApplicationStatics.
|
132
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeEmrApplicationStaticsRequest`
|
133
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeEmrApplicationStaticsResponse`
|
134
|
+
def DescribeEmrApplicationStatics(request)
|
135
|
+
body = send_request('DescribeEmrApplicationStatics', request.serialize)
|
136
|
+
response = JSON.parse(body)
|
137
|
+
if response['Response'].key?('Error') == false
|
138
|
+
model = DescribeEmrApplicationStaticsResponse.new
|
139
|
+
model.deserialize(response['Response'])
|
140
|
+
model
|
141
|
+
else
|
142
|
+
code = response['Response']['Error']['Code']
|
143
|
+
message = response['Response']['Error']['Message']
|
144
|
+
reqid = response['Response']['RequestId']
|
145
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
146
|
+
end
|
147
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
148
|
+
raise e
|
149
|
+
rescue StandardError => e
|
150
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
151
|
+
end
|
152
|
+
|
129
153
|
# 预付费集群隔离后续费资源查询
|
130
154
|
|
131
155
|
# @param request: Request instance for DescribeInstanceRenewNodes.
|
data/lib/v20190103/models.rb
CHANGED
@@ -70,6 +70,50 @@ module TencentCloud
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
+
# yarn application 统计信息
|
74
|
+
class ApplicationStatics < TencentCloud::Common::AbstractModel
|
75
|
+
# @param Queue: 队列名
|
76
|
+
# @type Queue: String
|
77
|
+
# @param User: 用户名
|
78
|
+
# @type User: String
|
79
|
+
# @param ApplicationType: 作业类型
|
80
|
+
# @type ApplicationType: String
|
81
|
+
# @param SumMemorySeconds: SumMemorySeconds含义
|
82
|
+
# @type SumMemorySeconds: Integer
|
83
|
+
# @param SumVCoreSeconds: SumVCoreSeconds含义
|
84
|
+
# @type SumVCoreSeconds: Integer
|
85
|
+
# @param SumHDFSBytesWritten: SumHDFSBytesWritten(带单位)
|
86
|
+
# @type SumHDFSBytesWritten: String
|
87
|
+
# @param SumHDFSBytesRead: SumHDFSBytesRead(待单位)
|
88
|
+
# @type SumHDFSBytesRead: String
|
89
|
+
# @param CountApps: 作业数
|
90
|
+
# @type CountApps: Integer
|
91
|
+
|
92
|
+
attr_accessor :Queue, :User, :ApplicationType, :SumMemorySeconds, :SumVCoreSeconds, :SumHDFSBytesWritten, :SumHDFSBytesRead, :CountApps
|
93
|
+
|
94
|
+
def initialize(queue=nil, user=nil, applicationtype=nil, summemoryseconds=nil, sumvcoreseconds=nil, sumhdfsbyteswritten=nil, sumhdfsbytesread=nil, countapps=nil)
|
95
|
+
@Queue = queue
|
96
|
+
@User = user
|
97
|
+
@ApplicationType = applicationtype
|
98
|
+
@SumMemorySeconds = summemoryseconds
|
99
|
+
@SumVCoreSeconds = sumvcoreseconds
|
100
|
+
@SumHDFSBytesWritten = sumhdfsbyteswritten
|
101
|
+
@SumHDFSBytesRead = sumhdfsbytesread
|
102
|
+
@CountApps = countapps
|
103
|
+
end
|
104
|
+
|
105
|
+
def deserialize(params)
|
106
|
+
@Queue = params['Queue']
|
107
|
+
@User = params['User']
|
108
|
+
@ApplicationType = params['ApplicationType']
|
109
|
+
@SumMemorySeconds = params['SumMemorySeconds']
|
110
|
+
@SumVCoreSeconds = params['SumVCoreSeconds']
|
111
|
+
@SumHDFSBytesWritten = params['SumHDFSBytesWritten']
|
112
|
+
@SumHDFSBytesRead = params['SumHDFSBytesRead']
|
113
|
+
@CountApps = params['CountApps']
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
73
117
|
# 引导脚本
|
74
118
|
class BootstrapAction < TencentCloud::Common::AbstractModel
|
75
119
|
# @param Path: 脚本位置,支持cos上的文件,且只支持https协议。
|
@@ -1079,6 +1123,105 @@ module TencentCloud
|
|
1079
1123
|
end
|
1080
1124
|
end
|
1081
1125
|
|
1126
|
+
# DescribeEmrApplicationStatics请求参数结构体
|
1127
|
+
class DescribeEmrApplicationStaticsRequest < TencentCloud::Common::AbstractModel
|
1128
|
+
# @param InstanceId: 集群id
|
1129
|
+
# @type InstanceId: String
|
1130
|
+
# @param StartTime: 起始时间
|
1131
|
+
# @type StartTime: Integer
|
1132
|
+
# @param EndTime: 结束时间
|
1133
|
+
# @type EndTime: Integer
|
1134
|
+
# @param Queues: 过滤的队列名
|
1135
|
+
# @type Queues: Array
|
1136
|
+
# @param Users: 过滤的用户名
|
1137
|
+
# @type Users: Array
|
1138
|
+
# @param ApplicationTypes: 过滤的作业类型
|
1139
|
+
# @type ApplicationTypes: Array
|
1140
|
+
# @param GroupBy: 分组字段,可选:queue, user, applicationType
|
1141
|
+
# @type GroupBy: Array
|
1142
|
+
# @param OrderBy: 排序字段,可选:sumMemorySeconds, sumVCoreSeconds, sumHDFSBytesWritten, sumHDFSBytesRead
|
1143
|
+
# @type OrderBy: String
|
1144
|
+
# @param IsAsc: 是否顺序排序,0-逆序,1-正序
|
1145
|
+
# @type IsAsc: Integer
|
1146
|
+
# @param Offset: 页号
|
1147
|
+
# @type Offset: Integer
|
1148
|
+
# @param Limit: 页容量
|
1149
|
+
# @type Limit: Integer
|
1150
|
+
|
1151
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :Queues, :Users, :ApplicationTypes, :GroupBy, :OrderBy, :IsAsc, :Offset, :Limit
|
1152
|
+
|
1153
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, queues=nil, users=nil, applicationtypes=nil, groupby=nil, orderby=nil, isasc=nil, offset=nil, limit=nil)
|
1154
|
+
@InstanceId = instanceid
|
1155
|
+
@StartTime = starttime
|
1156
|
+
@EndTime = endtime
|
1157
|
+
@Queues = queues
|
1158
|
+
@Users = users
|
1159
|
+
@ApplicationTypes = applicationtypes
|
1160
|
+
@GroupBy = groupby
|
1161
|
+
@OrderBy = orderby
|
1162
|
+
@IsAsc = isasc
|
1163
|
+
@Offset = offset
|
1164
|
+
@Limit = limit
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
def deserialize(params)
|
1168
|
+
@InstanceId = params['InstanceId']
|
1169
|
+
@StartTime = params['StartTime']
|
1170
|
+
@EndTime = params['EndTime']
|
1171
|
+
@Queues = params['Queues']
|
1172
|
+
@Users = params['Users']
|
1173
|
+
@ApplicationTypes = params['ApplicationTypes']
|
1174
|
+
@GroupBy = params['GroupBy']
|
1175
|
+
@OrderBy = params['OrderBy']
|
1176
|
+
@IsAsc = params['IsAsc']
|
1177
|
+
@Offset = params['Offset']
|
1178
|
+
@Limit = params['Limit']
|
1179
|
+
end
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
# DescribeEmrApplicationStatics返回参数结构体
|
1183
|
+
class DescribeEmrApplicationStaticsResponse < TencentCloud::Common::AbstractModel
|
1184
|
+
# @param Statics: 作业统计信息
|
1185
|
+
# @type Statics: Array
|
1186
|
+
# @param TotalCount: 总数
|
1187
|
+
# @type TotalCount: Integer
|
1188
|
+
# @param Queues: 可选择的队列名
|
1189
|
+
# @type Queues: Array
|
1190
|
+
# @param Users: 可选择的用户名
|
1191
|
+
# @type Users: Array
|
1192
|
+
# @param ApplicationTypes: 可选择的作业类型
|
1193
|
+
# @type ApplicationTypes: Array
|
1194
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1195
|
+
# @type RequestId: String
|
1196
|
+
|
1197
|
+
attr_accessor :Statics, :TotalCount, :Queues, :Users, :ApplicationTypes, :RequestId
|
1198
|
+
|
1199
|
+
def initialize(statics=nil, totalcount=nil, queues=nil, users=nil, applicationtypes=nil, requestid=nil)
|
1200
|
+
@Statics = statics
|
1201
|
+
@TotalCount = totalcount
|
1202
|
+
@Queues = queues
|
1203
|
+
@Users = users
|
1204
|
+
@ApplicationTypes = applicationtypes
|
1205
|
+
@RequestId = requestid
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
def deserialize(params)
|
1209
|
+
unless params['Statics'].nil?
|
1210
|
+
@Statics = []
|
1211
|
+
params['Statics'].each do |i|
|
1212
|
+
applicationstatics_tmp = ApplicationStatics.new
|
1213
|
+
applicationstatics_tmp.deserialize(i)
|
1214
|
+
@Statics << applicationstatics_tmp
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
@TotalCount = params['TotalCount']
|
1218
|
+
@Queues = params['Queues']
|
1219
|
+
@Users = params['Users']
|
1220
|
+
@ApplicationTypes = params['ApplicationTypes']
|
1221
|
+
@RequestId = params['RequestId']
|
1222
|
+
end
|
1223
|
+
end
|
1224
|
+
|
1082
1225
|
# DescribeInstanceRenewNodes请求参数结构体
|
1083
1226
|
class DescribeInstanceRenewNodesRequest < TencentCloud::Common::AbstractModel
|
1084
1227
|
# @param InstanceId: 集群实例ID,实例ID形如: emr-xxxxxxxx
|
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: 1.0.
|
4
|
+
version: 1.0.360
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|