tencentcloud-sdk-emr 3.0.901 → 3.0.902
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 +189 -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: 5a0533866a91a8d9c4debf41b75a438db22eadfc
|
4
|
+
data.tar.gz: 575cf34a1e6182a50c4e561e542c3f2d3fe42f3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6342a742832965cb3398ec81d5afce31aee26dfbd67642bc60415be488b83a883cc5dd3360bb2c9b05164be69da0f15309781e8c9f27a5bdf393524faf081d15
|
7
|
+
data.tar.gz: 37d445ca3e2bd3a81d2dbc69d80e6c16104f51869bd8ab1f86ca04f02f62c4af937577d7b4a5ebc8680242f078ac10e73b89743c92620416ff27a6334875574d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.902
|
data/lib/v20190103/client.rb
CHANGED
@@ -606,6 +606,30 @@ module TencentCloud
|
|
606
606
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
607
607
|
end
|
608
608
|
|
609
|
+
# YARN资源调度-变更详情
|
610
|
+
|
611
|
+
# @param request: Request instance for DescribeResourceScheduleDiffDetail.
|
612
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeResourceScheduleDiffDetailRequest`
|
613
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeResourceScheduleDiffDetailResponse`
|
614
|
+
def DescribeResourceScheduleDiffDetail(request)
|
615
|
+
body = send_request('DescribeResourceScheduleDiffDetail', request.serialize)
|
616
|
+
response = JSON.parse(body)
|
617
|
+
if response['Response'].key?('Error') == false
|
618
|
+
model = DescribeResourceScheduleDiffDetailResponse.new
|
619
|
+
model.deserialize(response['Response'])
|
620
|
+
model
|
621
|
+
else
|
622
|
+
code = response['Response']['Error']['Code']
|
623
|
+
message = response['Response']['Error']['Message']
|
624
|
+
reqid = response['Response']['RequestId']
|
625
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
626
|
+
end
|
627
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
628
|
+
raise e
|
629
|
+
rescue StandardError => e
|
630
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
631
|
+
end
|
632
|
+
|
609
633
|
# 查询服务进程信息
|
610
634
|
|
611
635
|
# @param request: Request instance for DescribeServiceNodeInfos.
|
data/lib/v20190103/models.rb
CHANGED
@@ -3065,6 +3065,54 @@ module TencentCloud
|
|
3065
3065
|
end
|
3066
3066
|
end
|
3067
3067
|
|
3068
|
+
# DescribeResourceScheduleDiffDetail请求参数结构体
|
3069
|
+
class DescribeResourceScheduleDiffDetailRequest < TencentCloud::Common::AbstractModel
|
3070
|
+
# @param InstanceId: emr集群的英文id
|
3071
|
+
# @type InstanceId: String
|
3072
|
+
# @param Scheduler: 查询的变更明细对应的调度器,可选值为fair、capacity。如果不传或者传空会使用最新的调度器
|
3073
|
+
# @type Scheduler: String
|
3074
|
+
|
3075
|
+
attr_accessor :InstanceId, :Scheduler
|
3076
|
+
|
3077
|
+
def initialize(instanceid=nil, scheduler=nil)
|
3078
|
+
@InstanceId = instanceid
|
3079
|
+
@Scheduler = scheduler
|
3080
|
+
end
|
3081
|
+
|
3082
|
+
def deserialize(params)
|
3083
|
+
@InstanceId = params['InstanceId']
|
3084
|
+
@Scheduler = params['Scheduler']
|
3085
|
+
end
|
3086
|
+
end
|
3087
|
+
|
3088
|
+
# DescribeResourceScheduleDiffDetail返回参数结构体
|
3089
|
+
class DescribeResourceScheduleDiffDetailResponse < TencentCloud::Common::AbstractModel
|
3090
|
+
# @param Details: 变化项的明细
|
3091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3092
|
+
# @type Details: Array
|
3093
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3094
|
+
# @type RequestId: String
|
3095
|
+
|
3096
|
+
attr_accessor :Details, :RequestId
|
3097
|
+
|
3098
|
+
def initialize(details=nil, requestid=nil)
|
3099
|
+
@Details = details
|
3100
|
+
@RequestId = requestid
|
3101
|
+
end
|
3102
|
+
|
3103
|
+
def deserialize(params)
|
3104
|
+
unless params['Details'].nil?
|
3105
|
+
@Details = []
|
3106
|
+
params['Details'].each do |i|
|
3107
|
+
diffdetail_tmp = DiffDetail.new
|
3108
|
+
diffdetail_tmp.deserialize(i)
|
3109
|
+
@Details << diffdetail_tmp
|
3110
|
+
end
|
3111
|
+
end
|
3112
|
+
@RequestId = params['RequestId']
|
3113
|
+
end
|
3114
|
+
end
|
3115
|
+
|
3068
3116
|
# DescribeResourceSchedule请求参数结构体
|
3069
3117
|
class DescribeResourceScheduleRequest < TencentCloud::Common::AbstractModel
|
3070
3118
|
# @param InstanceId: emr集群的英文id
|
@@ -3659,6 +3707,147 @@ module TencentCloud
|
|
3659
3707
|
end
|
3660
3708
|
end
|
3661
3709
|
|
3710
|
+
# 动态生成的变更详情
|
3711
|
+
class DiffDetail < TencentCloud::Common::AbstractModel
|
3712
|
+
# @param Name: tab页的头
|
3713
|
+
# @type Name: String
|
3714
|
+
# @param Count: 变化项的个数
|
3715
|
+
# @type Count: Integer
|
3716
|
+
# @param Rows: 要渲染的明细数据
|
3717
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3718
|
+
# @type Rows: Array
|
3719
|
+
# @param Header: 要渲染的头部信息
|
3720
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3721
|
+
# @type Header: Array
|
3722
|
+
|
3723
|
+
attr_accessor :Name, :Count, :Rows, :Header
|
3724
|
+
|
3725
|
+
def initialize(name=nil, count=nil, rows=nil, header=nil)
|
3726
|
+
@Name = name
|
3727
|
+
@Count = count
|
3728
|
+
@Rows = rows
|
3729
|
+
@Header = header
|
3730
|
+
end
|
3731
|
+
|
3732
|
+
def deserialize(params)
|
3733
|
+
@Name = params['Name']
|
3734
|
+
@Count = params['Count']
|
3735
|
+
unless params['Rows'].nil?
|
3736
|
+
@Rows = []
|
3737
|
+
params['Rows'].each do |i|
|
3738
|
+
diffdetailitem_tmp = DiffDetailItem.new
|
3739
|
+
diffdetailitem_tmp.deserialize(i)
|
3740
|
+
@Rows << diffdetailitem_tmp
|
3741
|
+
end
|
3742
|
+
end
|
3743
|
+
unless params['Header'].nil?
|
3744
|
+
@Header = []
|
3745
|
+
params['Header'].each do |i|
|
3746
|
+
diffheader_tmp = DiffHeader.new
|
3747
|
+
diffheader_tmp.deserialize(i)
|
3748
|
+
@Header << diffheader_tmp
|
3749
|
+
end
|
3750
|
+
end
|
3751
|
+
end
|
3752
|
+
end
|
3753
|
+
|
3754
|
+
# 动态生成的变更详情条目
|
3755
|
+
class DiffDetailItem < TencentCloud::Common::AbstractModel
|
3756
|
+
# @param Attribute: 属性
|
3757
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3758
|
+
# @type Attribute: String
|
3759
|
+
# @param InEffect: 当前生效
|
3760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3761
|
+
# @type InEffect: String
|
3762
|
+
# @param PendingEffectiveness: 待生效
|
3763
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3764
|
+
# @type PendingEffectiveness: String
|
3765
|
+
# @param Operation: 操作
|
3766
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3767
|
+
# @type Operation: String
|
3768
|
+
# @param Queue: 队列
|
3769
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3770
|
+
# @type Queue: String
|
3771
|
+
# @param ConfigSet: 配置集
|
3772
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3773
|
+
# @type ConfigSet: String
|
3774
|
+
# @param LabelName: 标签
|
3775
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3776
|
+
# @type LabelName: String
|
3777
|
+
# @param InEffectIndex: 当前所在位置
|
3778
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3779
|
+
# @type InEffectIndex: String
|
3780
|
+
# @param PendingEffectIndex: 待生效的位置
|
3781
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3782
|
+
# @type PendingEffectIndex: String
|
3783
|
+
# @param PlanName: 计划模式名称
|
3784
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3785
|
+
# @type PlanName: String
|
3786
|
+
# @param Label: 标签
|
3787
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3788
|
+
# @type Label: String
|
3789
|
+
# @param RuleName: 放置规则
|
3790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3791
|
+
# @type RuleName: String
|
3792
|
+
# @param UserName: 用户名
|
3793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3794
|
+
# @type UserName: String
|
3795
|
+
|
3796
|
+
attr_accessor :Attribute, :InEffect, :PendingEffectiveness, :Operation, :Queue, :ConfigSet, :LabelName, :InEffectIndex, :PendingEffectIndex, :PlanName, :Label, :RuleName, :UserName
|
3797
|
+
|
3798
|
+
def initialize(attribute=nil, ineffect=nil, pendingeffectiveness=nil, operation=nil, queue=nil, configset=nil, labelname=nil, ineffectindex=nil, pendingeffectindex=nil, planname=nil, label=nil, rulename=nil, username=nil)
|
3799
|
+
@Attribute = attribute
|
3800
|
+
@InEffect = ineffect
|
3801
|
+
@PendingEffectiveness = pendingeffectiveness
|
3802
|
+
@Operation = operation
|
3803
|
+
@Queue = queue
|
3804
|
+
@ConfigSet = configset
|
3805
|
+
@LabelName = labelname
|
3806
|
+
@InEffectIndex = ineffectindex
|
3807
|
+
@PendingEffectIndex = pendingeffectindex
|
3808
|
+
@PlanName = planname
|
3809
|
+
@Label = label
|
3810
|
+
@RuleName = rulename
|
3811
|
+
@UserName = username
|
3812
|
+
end
|
3813
|
+
|
3814
|
+
def deserialize(params)
|
3815
|
+
@Attribute = params['Attribute']
|
3816
|
+
@InEffect = params['InEffect']
|
3817
|
+
@PendingEffectiveness = params['PendingEffectiveness']
|
3818
|
+
@Operation = params['Operation']
|
3819
|
+
@Queue = params['Queue']
|
3820
|
+
@ConfigSet = params['ConfigSet']
|
3821
|
+
@LabelName = params['LabelName']
|
3822
|
+
@InEffectIndex = params['InEffectIndex']
|
3823
|
+
@PendingEffectIndex = params['PendingEffectIndex']
|
3824
|
+
@PlanName = params['PlanName']
|
3825
|
+
@Label = params['Label']
|
3826
|
+
@RuleName = params['RuleName']
|
3827
|
+
@UserName = params['UserName']
|
3828
|
+
end
|
3829
|
+
end
|
3830
|
+
|
3831
|
+
# 动态生成的变更详情
|
3832
|
+
class DiffHeader < TencentCloud::Common::AbstractModel
|
3833
|
+
# @param Name: 名称
|
3834
|
+
# @type Name: String
|
3835
|
+
# @param Id: ID,前端会使用
|
3836
|
+
# @type Id: String
|
3837
|
+
|
3838
|
+
attr_accessor :Name, :Id
|
3839
|
+
|
3840
|
+
def initialize(name=nil, id=nil)
|
3841
|
+
@Name = name
|
3842
|
+
@Id = id
|
3843
|
+
end
|
3844
|
+
|
3845
|
+
def deserialize(params)
|
3846
|
+
@Name = params['Name']
|
3847
|
+
@Id = params['Id']
|
3848
|
+
end
|
3849
|
+
end
|
3850
|
+
|
3662
3851
|
# 磁盘组。
|
3663
3852
|
class DiskGroup < TencentCloud::Common::AbstractModel
|
3664
3853
|
# @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.902
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|