tencentcloud-sdk-emr 3.0.1068 → 3.0.1070
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 +149 -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: 67858f8e6a55f403938114d17e9b969dbdaf52d4
|
4
|
+
data.tar.gz: fb26a8eee4370f95f04d3dd9d46be7109b3e603b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 402dd6681a66ba6ab383614670e1621ef46d73978d4b2aaff775a1ddafa00504a2d043b323eadad6133a25975350217cdaf4ff761baca0610387f2fab849e453
|
7
|
+
data.tar.gz: 6b0583c85a74c9b328123e0b60944920c01f8329294b56feb37f531dee932d863d6c6fac96ee16b68c0defaa360100fd46b65b6a1994199d9f37602f5d92cf3e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1070
|
data/lib/v20190103/client.rb
CHANGED
@@ -608,6 +608,30 @@ module TencentCloud
|
|
608
608
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
609
609
|
end
|
610
610
|
|
611
|
+
# 查询用户组
|
612
|
+
|
613
|
+
# @param request: Request instance for DescribeGroupsSTD.
|
614
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeGroupsSTDRequest`
|
615
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeGroupsSTDResponse`
|
616
|
+
def DescribeGroupsSTD(request)
|
617
|
+
body = send_request('DescribeGroupsSTD', request.serialize)
|
618
|
+
response = JSON.parse(body)
|
619
|
+
if response['Response'].key?('Error') == false
|
620
|
+
model = DescribeGroupsSTDResponse.new
|
621
|
+
model.deserialize(response['Response'])
|
622
|
+
model
|
623
|
+
else
|
624
|
+
code = response['Response']['Error']['Code']
|
625
|
+
message = response['Response']['Error']['Message']
|
626
|
+
reqid = response['Response']['RequestId']
|
627
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
628
|
+
end
|
629
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
630
|
+
raise e
|
631
|
+
rescue StandardError => e
|
632
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
633
|
+
end
|
634
|
+
|
611
635
|
# 获取Hbase表级监控数据概览接口
|
612
636
|
|
613
637
|
# @param request: Request instance for DescribeHBaseTableOverview.
|
data/lib/v20190103/models.rb
CHANGED
@@ -3358,6 +3358,79 @@ module TencentCloud
|
|
3358
3358
|
end
|
3359
3359
|
end
|
3360
3360
|
|
3361
|
+
# DescribeGroupsSTD请求参数结构体
|
3362
|
+
class DescribeGroupsSTDRequest < TencentCloud::Common::AbstractModel
|
3363
|
+
# @param InstanceId: 集群名称
|
3364
|
+
# @type InstanceId: String
|
3365
|
+
# @param Filters: 描述键值对过滤器,用于条件过滤查询
|
3366
|
+
# @type Filters: Array
|
3367
|
+
# @param OrderFields: 描述排序,用于排序
|
3368
|
+
# @type OrderFields: :class:`Tencentcloud::Emr.v20190103.models.Order`
|
3369
|
+
# @param Limit: 返回数量
|
3370
|
+
# @type Limit: Integer
|
3371
|
+
# @param Offset: 分页参数
|
3372
|
+
# @type Offset: Integer
|
3373
|
+
|
3374
|
+
attr_accessor :InstanceId, :Filters, :OrderFields, :Limit, :Offset
|
3375
|
+
|
3376
|
+
def initialize(instanceid=nil, filters=nil, orderfields=nil, limit=nil, offset=nil)
|
3377
|
+
@InstanceId = instanceid
|
3378
|
+
@Filters = filters
|
3379
|
+
@OrderFields = orderfields
|
3380
|
+
@Limit = limit
|
3381
|
+
@Offset = offset
|
3382
|
+
end
|
3383
|
+
|
3384
|
+
def deserialize(params)
|
3385
|
+
@InstanceId = params['InstanceId']
|
3386
|
+
unless params['Filters'].nil?
|
3387
|
+
@Filters = []
|
3388
|
+
params['Filters'].each do |i|
|
3389
|
+
filter_tmp = Filter.new
|
3390
|
+
filter_tmp.deserialize(i)
|
3391
|
+
@Filters << filter_tmp
|
3392
|
+
end
|
3393
|
+
end
|
3394
|
+
unless params['OrderFields'].nil?
|
3395
|
+
@OrderFields = Order.new
|
3396
|
+
@OrderFields.deserialize(params['OrderFields'])
|
3397
|
+
end
|
3398
|
+
@Limit = params['Limit']
|
3399
|
+
@Offset = params['Offset']
|
3400
|
+
end
|
3401
|
+
end
|
3402
|
+
|
3403
|
+
# DescribeGroupsSTD返回参数结构体
|
3404
|
+
class DescribeGroupsSTDResponse < TencentCloud::Common::AbstractModel
|
3405
|
+
# @param Data: 用户组信息
|
3406
|
+
# @type Data: Array
|
3407
|
+
# @param TotalCount: 符合条件的用户组数量
|
3408
|
+
# @type TotalCount: Integer
|
3409
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3410
|
+
# @type RequestId: String
|
3411
|
+
|
3412
|
+
attr_accessor :Data, :TotalCount, :RequestId
|
3413
|
+
|
3414
|
+
def initialize(data=nil, totalcount=nil, requestid=nil)
|
3415
|
+
@Data = data
|
3416
|
+
@TotalCount = totalcount
|
3417
|
+
@RequestId = requestid
|
3418
|
+
end
|
3419
|
+
|
3420
|
+
def deserialize(params)
|
3421
|
+
unless params['Data'].nil?
|
3422
|
+
@Data = []
|
3423
|
+
params['Data'].each do |i|
|
3424
|
+
groupinfos_tmp = GroupInfos.new
|
3425
|
+
groupinfos_tmp.deserialize(i)
|
3426
|
+
@Data << groupinfos_tmp
|
3427
|
+
end
|
3428
|
+
end
|
3429
|
+
@TotalCount = params['TotalCount']
|
3430
|
+
@RequestId = params['RequestId']
|
3431
|
+
end
|
3432
|
+
end
|
3433
|
+
|
3361
3434
|
# DescribeHBaseTableOverview请求参数结构体
|
3362
3435
|
class DescribeHBaseTableOverviewRequest < TencentCloud::Common::AbstractModel
|
3363
3436
|
# @param InstanceId: 实例ID
|
@@ -5953,6 +6026,26 @@ module TencentCloud
|
|
5953
6026
|
end
|
5954
6027
|
end
|
5955
6028
|
|
6029
|
+
# 键值对过滤器,用于条件过滤查询.
|
6030
|
+
class Filter < TencentCloud::Common::AbstractModel
|
6031
|
+
# @param Name: 需要过滤的字段。
|
6032
|
+
# @type Name: String
|
6033
|
+
# @param Values: 字段的过滤值。
|
6034
|
+
# @type Values: Array
|
6035
|
+
|
6036
|
+
attr_accessor :Name, :Values
|
6037
|
+
|
6038
|
+
def initialize(name=nil, values=nil)
|
6039
|
+
@Name = name
|
6040
|
+
@Values = values
|
6041
|
+
end
|
6042
|
+
|
6043
|
+
def deserialize(params)
|
6044
|
+
@Name = params['Name']
|
6045
|
+
@Values = params['Values']
|
6046
|
+
end
|
6047
|
+
end
|
6048
|
+
|
5956
6049
|
# Emr集群列表实例自定义查询过滤
|
5957
6050
|
class Filters < TencentCloud::Common::AbstractModel
|
5958
6051
|
# @param Name: 字段名称
|
@@ -6099,6 +6192,42 @@ module TencentCloud
|
|
6099
6192
|
end
|
6100
6193
|
end
|
6101
6194
|
|
6195
|
+
# 用户组信息
|
6196
|
+
class GroupInfos < TencentCloud::Common::AbstractModel
|
6197
|
+
# @param GroupName: 用户组名称
|
6198
|
+
# @type GroupName: String
|
6199
|
+
# @param Users: 用户名称列表
|
6200
|
+
# @type Users: Array
|
6201
|
+
# @param Description: 备注
|
6202
|
+
# @type Description: String
|
6203
|
+
# @param CreateTime: 创建时间
|
6204
|
+
# @type CreateTime: String
|
6205
|
+
# @param GroupType: 用户组类型
|
6206
|
+
# @type GroupType: Integer
|
6207
|
+
# @param GroupTypeDesc: 用户组类型描述
|
6208
|
+
# @type GroupTypeDesc: String
|
6209
|
+
|
6210
|
+
attr_accessor :GroupName, :Users, :Description, :CreateTime, :GroupType, :GroupTypeDesc
|
6211
|
+
|
6212
|
+
def initialize(groupname=nil, users=nil, description=nil, createtime=nil, grouptype=nil, grouptypedesc=nil)
|
6213
|
+
@GroupName = groupname
|
6214
|
+
@Users = users
|
6215
|
+
@Description = description
|
6216
|
+
@CreateTime = createtime
|
6217
|
+
@GroupType = grouptype
|
6218
|
+
@GroupTypeDesc = grouptypedesc
|
6219
|
+
end
|
6220
|
+
|
6221
|
+
def deserialize(params)
|
6222
|
+
@GroupName = params['GroupName']
|
6223
|
+
@Users = params['Users']
|
6224
|
+
@Description = params['Description']
|
6225
|
+
@CreateTime = params['CreateTime']
|
6226
|
+
@GroupType = params['GroupType']
|
6227
|
+
@GroupTypeDesc = params['GroupTypeDesc']
|
6228
|
+
end
|
6229
|
+
end
|
6230
|
+
|
6102
6231
|
# 进程健康状态
|
6103
6232
|
class HealthStatus < TencentCloud::Common::AbstractModel
|
6104
6233
|
# @param Code: 运行正常
|
@@ -9376,6 +9505,26 @@ module TencentCloud
|
|
9376
9505
|
end
|
9377
9506
|
end
|
9378
9507
|
|
9508
|
+
# 描述排序,用于排序.
|
9509
|
+
class Order < TencentCloud::Common::AbstractModel
|
9510
|
+
# @param Name: 排序字段。
|
9511
|
+
# @type Name: String
|
9512
|
+
# @param Direction: Desc or Asc。
|
9513
|
+
# @type Direction: String
|
9514
|
+
|
9515
|
+
attr_accessor :Name, :Direction
|
9516
|
+
|
9517
|
+
def initialize(name=nil, direction=nil)
|
9518
|
+
@Name = name
|
9519
|
+
@Direction = direction
|
9520
|
+
end
|
9521
|
+
|
9522
|
+
def deserialize(params)
|
9523
|
+
@Name = params['Name']
|
9524
|
+
@Direction = params['Direction']
|
9525
|
+
end
|
9526
|
+
end
|
9527
|
+
|
9379
9528
|
# 资源详情
|
9380
9529
|
class OutterResource < TencentCloud::Common::AbstractModel
|
9381
9530
|
# @param Spec: 规格
|
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.1070
|
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-05-
|
11
|
+
date: 2025-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|