tencentcloud-sdk-emr 3.0.882 → 3.0.883

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34f681c7a51409375b09969229d9a0530d39e781
4
- data.tar.gz: 34e95ab70eb17f2d3ca4641a5b4d3bd8af0f93d2
3
+ metadata.gz: a0470ea1c86cf623e32aec2c16f38fcd13454380
4
+ data.tar.gz: bd75b07e2eb1727e58647bce427ab7d54dd00e2b
5
5
  SHA512:
6
- metadata.gz: 3a46c4fe11b8e4ec01079050ea9adc0d8f160eb8eeb437f83e04a534c5067db3c46b456ead92fd3b73f0d75ef63760c310fe96c1d1eb36c99b3a9b9febadf321
7
- data.tar.gz: 0be912ef3c6168260f8172ee805f4a8d3953c58ec5aa5c514f2320929e88b70e221d05394c079cb79d937e01f61bcb638c618dbe72a55820d035dc7166bcdb3d
6
+ metadata.gz: bd1ba03ccd2e3cff658212e66e3ba80b06ffc0aeb06fe4ae3c9932520c8398dace4b4bdf7fdf9a0e89a9bb131f6f2f03a2ac6cbec78cb7be66bb445ec615c7bb
7
+ data.tar.gz: f3452284402e4c8b008a55dc018a27d01219e4f1475286e5cae067ee6d0b1a387cbbf79c73f6800517ae0c9de8d1753d6c4eff11489385a95140324cf2b376e7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.882
1
+ 3.0.883
@@ -582,6 +582,30 @@ module TencentCloud
582
582
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
583
583
  end
584
584
 
585
+ # 查询服务进程信息
586
+
587
+ # @param request: Request instance for DescribeServiceNodeInfos.
588
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeServiceNodeInfosRequest`
589
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeServiceNodeInfosResponse`
590
+ def DescribeServiceNodeInfos(request)
591
+ body = send_request('DescribeServiceNodeInfos', request.serialize)
592
+ response = JSON.parse(body)
593
+ if response['Response'].key?('Error') == false
594
+ model = DescribeServiceNodeInfosResponse.new
595
+ model.deserialize(response['Response'])
596
+ model
597
+ else
598
+ code = response['Response']['Error']['Code']
599
+ message = response['Response']['Error']['Message']
600
+ reqid = response['Response']['RequestId']
601
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
602
+ end
603
+ rescue TencentCloud::Common::TencentCloudSDKException => e
604
+ raise e
605
+ rescue StandardError => e
606
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
607
+ end
608
+
585
609
  # 获取trino查询结果
586
610
 
587
611
  # @param request: Request instance for DescribeTrinoQueryInfo.
@@ -655,6 +679,30 @@ module TencentCloud
655
679
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
656
680
  end
657
681
 
682
+ # 查看yarn资源调度的调度历史
683
+
684
+ # @param request: Request instance for DescribeYarnScheduleHistory.
685
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeYarnScheduleHistoryRequest`
686
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeYarnScheduleHistoryResponse`
687
+ def DescribeYarnScheduleHistory(request)
688
+ body = send_request('DescribeYarnScheduleHistory', request.serialize)
689
+ response = JSON.parse(body)
690
+ if response['Response'].key?('Error') == false
691
+ model = DescribeYarnScheduleHistoryResponse.new
692
+ model.deserialize(response['Response'])
693
+ model
694
+ else
695
+ code = response['Response']['Error']['Code']
696
+ message = response['Response']['Error']['Message']
697
+ reqid = response['Response']['RequestId']
698
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
699
+ end
700
+ rescue TencentCloud::Common::TencentCloudSDKException => e
701
+ raise e
702
+ rescue StandardError => e
703
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
704
+ end
705
+
658
706
  # 集群续费询价。
659
707
 
660
708
  # @param request: Request instance for InquirePriceRenewEmr.
@@ -919,6 +967,30 @@ module TencentCloud
919
967
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
920
968
  end
921
969
 
970
+ # 部署生效
971
+
972
+ # @param request: Request instance for ModifyYarnDeploy.
973
+ # @type request: :class:`Tencentcloud::emr::V20190103::ModifyYarnDeployRequest`
974
+ # @rtype: :class:`Tencentcloud::emr::V20190103::ModifyYarnDeployResponse`
975
+ def ModifyYarnDeploy(request)
976
+ body = send_request('ModifyYarnDeploy', request.serialize)
977
+ response = JSON.parse(body)
978
+ if response['Response'].key?('Error') == false
979
+ model = ModifyYarnDeployResponse.new
980
+ model.deserialize(response['Response'])
981
+ model
982
+ else
983
+ code = response['Response']['Error']['Code']
984
+ message = response['Response']['Error']['Message']
985
+ reqid = response['Response']['RequestId']
986
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
987
+ end
988
+ rescue TencentCloud::Common::TencentCloudSDKException => e
989
+ raise e
990
+ rescue StandardError => e
991
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
992
+ end
993
+
922
994
  # 创建流程作业
923
995
 
924
996
  # @param request: Request instance for RunJobFlow.
@@ -2912,6 +2912,135 @@ module TencentCloud
2912
2912
  end
2913
2913
  end
2914
2914
 
2915
+ # DescribeServiceNodeInfos请求参数结构体
2916
+ class DescribeServiceNodeInfosRequest < TencentCloud::Common::AbstractModel
2917
+ # @param InstanceId: 实例ID
2918
+ # @type InstanceId: String
2919
+ # @param Offset: 页码
2920
+ # @type Offset: Integer
2921
+ # @param Limit: 页大小
2922
+ # @type Limit: Integer
2923
+ # @param SearchText: 搜索字段
2924
+ # @type SearchText: String
2925
+ # @param ConfStatus: '配置状态,-2:配置失败,-1:配置过期,1:已同步', -99 '全部'
2926
+ # @type ConfStatus: Integer
2927
+ # @param MaintainStateId: 过滤条件:维护状态
2928
+ # 0代表所有状态
2929
+ # 1代表正常模式
2930
+ # 2代表维护模式
2931
+ # @type MaintainStateId: Integer
2932
+ # @param OperatorStateId: 过滤条件:操作状态
2933
+ # 0代表所有状态
2934
+ # 1代表已启动
2935
+ # 2代表已停止
2936
+ # @type OperatorStateId: Integer
2937
+ # @param HealthStateId: 过滤条件:健康状态
2938
+ # "0"代表不可用
2939
+ # "1"代表良好
2940
+ # "-2"代表未知
2941
+ # "-99"代表所有
2942
+ # "-3"代表存在隐患
2943
+ # "-4"代表未探测
2944
+ # @type HealthStateId: String
2945
+ # @param ServiceName: 服务组件名称,都是大写比如YARN
2946
+ # @type ServiceName: String
2947
+ # @param NodeTypeName: 节点名称
2948
+ # master
2949
+ # core
2950
+ # task
2951
+ # common
2952
+ # router
2953
+ # @type NodeTypeName: String
2954
+ # @param DataNodeMaintenanceId: 过滤条件:dn是否处于维护状态
2955
+ # 0代表所有状态
2956
+ # 1代表处于维护状态
2957
+ # @type DataNodeMaintenanceId: Integer
2958
+ # @param SearchFields: 支持搜索的字段
2959
+ # @type SearchFields: Array
2960
+
2961
+ attr_accessor :InstanceId, :Offset, :Limit, :SearchText, :ConfStatus, :MaintainStateId, :OperatorStateId, :HealthStateId, :ServiceName, :NodeTypeName, :DataNodeMaintenanceId, :SearchFields
2962
+
2963
+ def initialize(instanceid=nil, offset=nil, limit=nil, searchtext=nil, confstatus=nil, maintainstateid=nil, operatorstateid=nil, healthstateid=nil, servicename=nil, nodetypename=nil, datanodemaintenanceid=nil, searchfields=nil)
2964
+ @InstanceId = instanceid
2965
+ @Offset = offset
2966
+ @Limit = limit
2967
+ @SearchText = searchtext
2968
+ @ConfStatus = confstatus
2969
+ @MaintainStateId = maintainstateid
2970
+ @OperatorStateId = operatorstateid
2971
+ @HealthStateId = healthstateid
2972
+ @ServiceName = servicename
2973
+ @NodeTypeName = nodetypename
2974
+ @DataNodeMaintenanceId = datanodemaintenanceid
2975
+ @SearchFields = searchfields
2976
+ end
2977
+
2978
+ def deserialize(params)
2979
+ @InstanceId = params['InstanceId']
2980
+ @Offset = params['Offset']
2981
+ @Limit = params['Limit']
2982
+ @SearchText = params['SearchText']
2983
+ @ConfStatus = params['ConfStatus']
2984
+ @MaintainStateId = params['MaintainStateId']
2985
+ @OperatorStateId = params['OperatorStateId']
2986
+ @HealthStateId = params['HealthStateId']
2987
+ @ServiceName = params['ServiceName']
2988
+ @NodeTypeName = params['NodeTypeName']
2989
+ @DataNodeMaintenanceId = params['DataNodeMaintenanceId']
2990
+ unless params['SearchFields'].nil?
2991
+ @SearchFields = []
2992
+ params['SearchFields'].each do |i|
2993
+ searchitem_tmp = SearchItem.new
2994
+ searchitem_tmp.deserialize(i)
2995
+ @SearchFields << searchitem_tmp
2996
+ end
2997
+ end
2998
+ end
2999
+ end
3000
+
3001
+ # DescribeServiceNodeInfos返回参数结构体
3002
+ class DescribeServiceNodeInfosResponse < TencentCloud::Common::AbstractModel
3003
+ # @param TotalCnt: 总数量
3004
+ # 注意:此字段可能返回 null,表示取不到有效值。
3005
+ # @type TotalCnt: Integer
3006
+ # @param ServiceNodeList: 进程信息
3007
+ # 注意:此字段可能返回 null,表示取不到有效值。
3008
+ # @type ServiceNodeList: Array
3009
+ # @param AliasInfo: 集群所有节点的别名序列化
3010
+ # 注意:此字段可能返回 null,表示取不到有效值。
3011
+ # @type AliasInfo: String
3012
+ # @param SupportNodeFlagFilterList: 支持的FlagNode列表
3013
+ # 注意:此字段可能返回 null,表示取不到有效值。
3014
+ # @type SupportNodeFlagFilterList: Array
3015
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3016
+ # @type RequestId: String
3017
+
3018
+ attr_accessor :TotalCnt, :ServiceNodeList, :AliasInfo, :SupportNodeFlagFilterList, :RequestId
3019
+
3020
+ def initialize(totalcnt=nil, servicenodelist=nil, aliasinfo=nil, supportnodeflagfilterlist=nil, requestid=nil)
3021
+ @TotalCnt = totalcnt
3022
+ @ServiceNodeList = servicenodelist
3023
+ @AliasInfo = aliasinfo
3024
+ @SupportNodeFlagFilterList = supportnodeflagfilterlist
3025
+ @RequestId = requestid
3026
+ end
3027
+
3028
+ def deserialize(params)
3029
+ @TotalCnt = params['TotalCnt']
3030
+ unless params['ServiceNodeList'].nil?
3031
+ @ServiceNodeList = []
3032
+ params['ServiceNodeList'].each do |i|
3033
+ servicenodedetailinfo_tmp = ServiceNodeDetailInfo.new
3034
+ servicenodedetailinfo_tmp.deserialize(i)
3035
+ @ServiceNodeList << servicenodedetailinfo_tmp
3036
+ end
3037
+ end
3038
+ @AliasInfo = params['AliasInfo']
3039
+ @SupportNodeFlagFilterList = params['SupportNodeFlagFilterList']
3040
+ @RequestId = params['RequestId']
3041
+ end
3042
+ end
3043
+
2915
3044
  # DescribeTrinoQueryInfo请求参数结构体
2916
3045
  class DescribeTrinoQueryInfoRequest < TencentCloud::Common::AbstractModel
2917
3046
  # @param InstanceId: 集群ID
@@ -3107,6 +3236,89 @@ module TencentCloud
3107
3236
  end
3108
3237
  end
3109
3238
 
3239
+ # DescribeYarnScheduleHistory请求参数结构体
3240
+ class DescribeYarnScheduleHistoryRequest < TencentCloud::Common::AbstractModel
3241
+ # @param InstanceId: 集群id
3242
+ # @type InstanceId: String
3243
+ # @param StartTime: 开始时间
3244
+ # @type StartTime: Integer
3245
+ # @param EndTime: 结束时间
3246
+ # @type EndTime: Integer
3247
+ # @param Limit: 页码
3248
+ # @type Limit: Integer
3249
+ # @param Offset: 页大小
3250
+ # @type Offset: Integer
3251
+ # @param SchedulerType: 调度器类型 可选值为“ALL”,"Capacity Scheduler", "Fair Scheduler"
3252
+ # @type SchedulerType: String
3253
+ # @param TaskState: 任务类型0:等待执行,1:执行中,2:完成,-1:失败 ,-99:全部
3254
+ # @type TaskState: Integer
3255
+
3256
+ attr_accessor :InstanceId, :StartTime, :EndTime, :Limit, :Offset, :SchedulerType, :TaskState
3257
+
3258
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, schedulertype=nil, taskstate=nil)
3259
+ @InstanceId = instanceid
3260
+ @StartTime = starttime
3261
+ @EndTime = endtime
3262
+ @Limit = limit
3263
+ @Offset = offset
3264
+ @SchedulerType = schedulertype
3265
+ @TaskState = taskstate
3266
+ end
3267
+
3268
+ def deserialize(params)
3269
+ @InstanceId = params['InstanceId']
3270
+ @StartTime = params['StartTime']
3271
+ @EndTime = params['EndTime']
3272
+ @Limit = params['Limit']
3273
+ @Offset = params['Offset']
3274
+ @SchedulerType = params['SchedulerType']
3275
+ @TaskState = params['TaskState']
3276
+ end
3277
+ end
3278
+
3279
+ # DescribeYarnScheduleHistory返回参数结构体
3280
+ class DescribeYarnScheduleHistoryResponse < TencentCloud::Common::AbstractModel
3281
+ # @param Tasks: 任务详情
3282
+ # 注意:此字段可能返回 null,表示取不到有效值。
3283
+ # @type Tasks: Array
3284
+ # @param Total: 任务详情总数
3285
+ # 注意:此字段可能返回 null,表示取不到有效值。
3286
+ # @type Total: Integer
3287
+ # @param SchedulerNameList: 调度类型筛选列表
3288
+ # 注意:此字段可能返回 null,表示取不到有效值。
3289
+ # @type SchedulerNameList: Array
3290
+ # @param StateList: 状态筛选列表
3291
+ # 注意:此字段可能返回 null,表示取不到有效值。
3292
+ # @type StateList: Array
3293
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3294
+ # @type RequestId: String
3295
+
3296
+ attr_accessor :Tasks, :Total, :SchedulerNameList, :StateList, :RequestId
3297
+
3298
+ def initialize(tasks=nil, total=nil, schedulernamelist=nil, statelist=nil, requestid=nil)
3299
+ @Tasks = tasks
3300
+ @Total = total
3301
+ @SchedulerNameList = schedulernamelist
3302
+ @StateList = statelist
3303
+ @RequestId = requestid
3304
+ end
3305
+
3306
+ def deserialize(params)
3307
+ unless params['Tasks'].nil?
3308
+ @Tasks = []
3309
+ params['Tasks'].each do |i|
3310
+ schedulertaskinfo_tmp = SchedulerTaskInfo.new
3311
+ schedulertaskinfo_tmp.deserialize(i)
3312
+ @Tasks << schedulertaskinfo_tmp
3313
+ end
3314
+ end
3315
+ @Total = params['Total']
3316
+ @SchedulerNameList = params['SchedulerNameList']
3317
+ @StateList = params['StateList']
3318
+ @RequestId = params['RequestId']
3319
+ end
3320
+ end
3321
+
3110
3322
  # 磁盘组。
3111
3323
  class DiskGroup < TencentCloud::Common::AbstractModel
3112
3324
  # @param Spec: 磁盘规格。
@@ -3860,6 +4072,30 @@ module TencentCloud
3860
4072
  end
3861
4073
  end
3862
4074
 
4075
+ # 进程健康状态
4076
+ class HealthStatus < TencentCloud::Common::AbstractModel
4077
+ # @param Code: 运行正常
4078
+ # @type Code: Integer
4079
+ # @param Text: 运行正常
4080
+ # @type Text: String
4081
+ # @param Desc: 运行正常
4082
+ # @type Desc: String
4083
+
4084
+ attr_accessor :Code, :Text, :Desc
4085
+
4086
+ def initialize(code=nil, text=nil, desc=nil)
4087
+ @Code = code
4088
+ @Text = text
4089
+ @Desc = desc
4090
+ end
4091
+
4092
+ def deserialize(params)
4093
+ @Code = params['Code']
4094
+ @Text = params['Text']
4095
+ @Desc = params['Desc']
4096
+ end
4097
+ end
4098
+
3863
4099
  # Hive查询详情
3864
4100
  class HiveQuery < TencentCloud::Common::AbstractModel
3865
4101
  # @param Statement: 查询语句
@@ -5544,6 +5780,56 @@ module TencentCloud
5544
5780
  end
5545
5781
  end
5546
5782
 
5783
+ # ModifyYarnDeploy请求参数结构体
5784
+ class ModifyYarnDeployRequest < TencentCloud::Common::AbstractModel
5785
+ # @param InstanceId: 集群id
5786
+ # @type InstanceId: String
5787
+ # @param NewScheduler: 切换后的调度器,可选值为fair、capacity
5788
+ # @type NewScheduler: String
5789
+ # @param OldScheduler: 现在使用的调度器,可选值为fair、capacity
5790
+ # @type OldScheduler: String
5791
+
5792
+ attr_accessor :InstanceId, :NewScheduler, :OldScheduler
5793
+
5794
+ def initialize(instanceid=nil, newscheduler=nil, oldscheduler=nil)
5795
+ @InstanceId = instanceid
5796
+ @NewScheduler = newscheduler
5797
+ @OldScheduler = oldscheduler
5798
+ end
5799
+
5800
+ def deserialize(params)
5801
+ @InstanceId = params['InstanceId']
5802
+ @NewScheduler = params['NewScheduler']
5803
+ @OldScheduler = params['OldScheduler']
5804
+ end
5805
+ end
5806
+
5807
+ # ModifyYarnDeploy返回参数结构体
5808
+ class ModifyYarnDeployResponse < TencentCloud::Common::AbstractModel
5809
+ # @param IsDraft: 为false不点亮部署生效、重置
5810
+ # 注意:此字段可能返回 null,表示取不到有效值。
5811
+ # @type IsDraft: Boolean
5812
+ # @param ErrorMsg: 错误信息,预留
5813
+ # 注意:此字段可能返回 null,表示取不到有效值。
5814
+ # @type ErrorMsg: String
5815
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5816
+ # @type RequestId: String
5817
+
5818
+ attr_accessor :IsDraft, :ErrorMsg, :RequestId
5819
+
5820
+ def initialize(isdraft=nil, errormsg=nil, requestid=nil)
5821
+ @IsDraft = isdraft
5822
+ @ErrorMsg = errormsg
5823
+ @RequestId = requestid
5824
+ end
5825
+
5826
+ def deserialize(params)
5827
+ @IsDraft = params['IsDraft']
5828
+ @ErrorMsg = params['ErrorMsg']
5829
+ @RequestId = params['RequestId']
5830
+ end
5831
+ end
5832
+
5547
5833
  # 定时伸缩每月重复任务策略
5548
5834
  class MonthRepeatStrategy < TencentCloud::Common::AbstractModel
5549
5835
  # @param ExecuteAtTimeOfDay: 重复任务执行的具体时刻,例如"01:02:00"
@@ -7404,6 +7690,38 @@ module TencentCloud
7404
7690
  end
7405
7691
  end
7406
7692
 
7693
+ # 组件重启策略
7694
+ class RestartPolicy < TencentCloud::Common::AbstractModel
7695
+ # @param Name: 重启策略名。
7696
+ # @type Name: String
7697
+ # @param DisplayName: 策略展示名称。
7698
+ # @type DisplayName: String
7699
+ # @param Describe: 策略描述。
7700
+ # @type Describe: String
7701
+ # @param BatchSizeRange: 批量重启节点数可选范围。
7702
+ # @type BatchSizeRange: Array
7703
+ # @param IsDefault: 是否是默认策略。
7704
+ # @type IsDefault: String
7705
+
7706
+ attr_accessor :Name, :DisplayName, :Describe, :BatchSizeRange, :IsDefault
7707
+
7708
+ def initialize(name=nil, displayname=nil, describe=nil, batchsizerange=nil, isdefault=nil)
7709
+ @Name = name
7710
+ @DisplayName = displayname
7711
+ @Describe = describe
7712
+ @BatchSizeRange = batchsizerange
7713
+ @IsDefault = isdefault
7714
+ end
7715
+
7716
+ def deserialize(params)
7717
+ @Name = params['Name']
7718
+ @DisplayName = params['DisplayName']
7719
+ @Describe = params['Describe']
7720
+ @BatchSizeRange = params['BatchSizeRange']
7721
+ @IsDefault = params['IsDefault']
7722
+ end
7723
+ end
7724
+
7407
7725
  # RunJobFlow请求参数结构体
7408
7726
  class RunJobFlowRequest < TencentCloud::Common::AbstractModel
7409
7727
  # @param Name: 作业名称。
@@ -7959,6 +8277,85 @@ module TencentCloud
7959
8277
  end
7960
8278
  end
7961
8279
 
8280
+ # 调度任务详情
8281
+ class SchedulerTaskDetail < TencentCloud::Common::AbstractModel
8282
+ # @param Step: 步骤
8283
+ # 注意:此字段可能返回 null,表示取不到有效值。
8284
+ # @type Step: String
8285
+ # @param Progress: 进度
8286
+ # 注意:此字段可能返回 null,表示取不到有效值。
8287
+ # @type Progress: String
8288
+ # @param FailReason: 失败信息
8289
+ # 注意:此字段可能返回 null,表示取不到有效值。
8290
+ # @type FailReason: String
8291
+ # @param JobId: 用来获取详情的id
8292
+ # 注意:此字段可能返回 null,表示取不到有效值。
8293
+ # @type JobId: Integer
8294
+
8295
+ attr_accessor :Step, :Progress, :FailReason, :JobId
8296
+
8297
+ def initialize(step=nil, progress=nil, failreason=nil, jobid=nil)
8298
+ @Step = step
8299
+ @Progress = progress
8300
+ @FailReason = failreason
8301
+ @JobId = jobid
8302
+ end
8303
+
8304
+ def deserialize(params)
8305
+ @Step = params['Step']
8306
+ @Progress = params['Progress']
8307
+ @FailReason = params['FailReason']
8308
+ @JobId = params['JobId']
8309
+ end
8310
+ end
8311
+
8312
+ # yarn资源调度历史
8313
+ class SchedulerTaskInfo < TencentCloud::Common::AbstractModel
8314
+ # @param SchedulerName: 调度器类型
8315
+ # @type SchedulerName: String
8316
+ # @param OperatorName: 操作类型
8317
+ # @type OperatorName: String
8318
+ # @param CreateTime: 开始时间
8319
+ # 注意:此字段可能返回 null,表示取不到有效值。
8320
+ # @type CreateTime: String
8321
+ # @param EndTime: 结束时间
8322
+ # 注意:此字段可能返回 null,表示取不到有效值。
8323
+ # @type EndTime: String
8324
+ # @param State: 状态
8325
+ # 注意:此字段可能返回 null,表示取不到有效值。
8326
+ # @type State: Integer
8327
+ # @param Details: 详情
8328
+ # 注意:此字段可能返回 null,表示取不到有效值。
8329
+ # @type Details: Array
8330
+
8331
+ attr_accessor :SchedulerName, :OperatorName, :CreateTime, :EndTime, :State, :Details
8332
+
8333
+ def initialize(schedulername=nil, operatorname=nil, createtime=nil, endtime=nil, state=nil, details=nil)
8334
+ @SchedulerName = schedulername
8335
+ @OperatorName = operatorname
8336
+ @CreateTime = createtime
8337
+ @EndTime = endtime
8338
+ @State = state
8339
+ @Details = details
8340
+ end
8341
+
8342
+ def deserialize(params)
8343
+ @SchedulerName = params['SchedulerName']
8344
+ @OperatorName = params['OperatorName']
8345
+ @CreateTime = params['CreateTime']
8346
+ @EndTime = params['EndTime']
8347
+ @State = params['State']
8348
+ unless params['Details'].nil?
8349
+ @Details = []
8350
+ params['Details'].each do |i|
8351
+ schedulertaskdetail_tmp = SchedulerTaskDetail.new
8352
+ schedulertaskdetail_tmp.deserialize(i)
8353
+ @Details << schedulertaskdetail_tmp
8354
+ end
8355
+ end
8356
+ end
8357
+ end
8358
+
7962
8359
  # 添加引导操作
7963
8360
  class ScriptBootstrapActionConfig < TencentCloud::Common::AbstractModel
7964
8361
  # @param CosFileURI: 脚本的cos地址,参照格式:https://beijing-111111.cos.ap-beijing.myqcloud.com/data/test.sh查询cos存储桶列表:[存储桶列表](https://console.cloud.tencent.com/cos/bucket)
@@ -8043,6 +8440,182 @@ module TencentCloud
8043
8440
  end
8044
8441
  end
8045
8442
 
8443
+ # 服务进程信息
8444
+ class ServiceNodeDetailInfo < TencentCloud::Common::AbstractModel
8445
+ # @param Ip: 进程所在节点IP
8446
+ # @type Ip: String
8447
+ # @param NodeType: 进程类型
8448
+ # @type NodeType: Integer
8449
+ # @param NodeName: 进程名称
8450
+ # @type NodeName: String
8451
+ # @param ServiceStatus: 服务组件状态
8452
+ # @type ServiceStatus: Integer
8453
+ # @param MonitorStatus: 进程监控状态
8454
+ # @type MonitorStatus: Integer
8455
+ # @param Status: 服务组件状态
8456
+ # @type Status: Integer
8457
+ # @param PortsInfo: 进程端口信息
8458
+ # @type PortsInfo: String
8459
+ # @param LastRestartTime: 最近重启时间
8460
+ # @type LastRestartTime: String
8461
+ # @param Flag: 节点类型
8462
+ # @type Flag: Integer
8463
+ # @param ConfGroupId: 配置组ID
8464
+ # @type ConfGroupId: Integer
8465
+ # @param ConfGroupName: 配置组名称
8466
+ # @type ConfGroupName: String
8467
+ # @param ConfStatus: 节点是否需要重启
8468
+ # @type ConfStatus: Integer
8469
+ # @param ServiceDetectionInfo: 进程探测信息
8470
+ # 注意:此字段可能返回 null,表示取不到有效值。
8471
+ # @type ServiceDetectionInfo: Array
8472
+ # @param NodeFlagFilter: 节点类型
8473
+ # 注意:此字段可能返回 null,表示取不到有效值。
8474
+ # @type NodeFlagFilter: String
8475
+ # @param HealthStatus: 进程健康状态
8476
+ # 注意:此字段可能返回 null,表示取不到有效值。
8477
+ # @type HealthStatus: :class:`Tencentcloud::Emr.v20190103.models.HealthStatus`
8478
+ # @param IsSupportRoleMonitor: 角色是否支持监控
8479
+ # 注意:此字段可能返回 null,表示取不到有效值。
8480
+ # @type IsSupportRoleMonitor: Boolean
8481
+ # @param StopPolicies: 暂停策略
8482
+ # 注意:此字段可能返回 null,表示取不到有效值。
8483
+ # @type StopPolicies: Array
8484
+ # @param HAState: 测试环境api强校验,现网没有,emrcc接口返回有。不加会报错
8485
+ # 注意:此字段可能返回 null,表示取不到有效值。
8486
+ # @type HAState: String
8487
+ # @param NameService: NameService名称
8488
+ # 注意:此字段可能返回 null,表示取不到有效值。
8489
+ # @type NameService: String
8490
+ # @param IsFederation: 是否支持联邦
8491
+ # 注意:此字段可能返回 null,表示取不到有效值。
8492
+ # @type IsFederation: Boolean
8493
+ # @param DataNodeMaintenanceState: datanode是否是维护状态
8494
+ # 注意:此字段可能返回 null,表示取不到有效值。
8495
+ # @type DataNodeMaintenanceState: Integer
8496
+
8497
+ attr_accessor :Ip, :NodeType, :NodeName, :ServiceStatus, :MonitorStatus, :Status, :PortsInfo, :LastRestartTime, :Flag, :ConfGroupId, :ConfGroupName, :ConfStatus, :ServiceDetectionInfo, :NodeFlagFilter, :HealthStatus, :IsSupportRoleMonitor, :StopPolicies, :HAState, :NameService, :IsFederation, :DataNodeMaintenanceState
8498
+
8499
+ def initialize(ip=nil, nodetype=nil, nodename=nil, servicestatus=nil, monitorstatus=nil, status=nil, portsinfo=nil, lastrestarttime=nil, flag=nil, confgroupid=nil, confgroupname=nil, confstatus=nil, servicedetectioninfo=nil, nodeflagfilter=nil, healthstatus=nil, issupportrolemonitor=nil, stoppolicies=nil, hastate=nil, nameservice=nil, isfederation=nil, datanodemaintenancestate=nil)
8500
+ @Ip = ip
8501
+ @NodeType = nodetype
8502
+ @NodeName = nodename
8503
+ @ServiceStatus = servicestatus
8504
+ @MonitorStatus = monitorstatus
8505
+ @Status = status
8506
+ @PortsInfo = portsinfo
8507
+ @LastRestartTime = lastrestarttime
8508
+ @Flag = flag
8509
+ @ConfGroupId = confgroupid
8510
+ @ConfGroupName = confgroupname
8511
+ @ConfStatus = confstatus
8512
+ @ServiceDetectionInfo = servicedetectioninfo
8513
+ @NodeFlagFilter = nodeflagfilter
8514
+ @HealthStatus = healthstatus
8515
+ @IsSupportRoleMonitor = issupportrolemonitor
8516
+ @StopPolicies = stoppolicies
8517
+ @HAState = hastate
8518
+ @NameService = nameservice
8519
+ @IsFederation = isfederation
8520
+ @DataNodeMaintenanceState = datanodemaintenancestate
8521
+ end
8522
+
8523
+ def deserialize(params)
8524
+ @Ip = params['Ip']
8525
+ @NodeType = params['NodeType']
8526
+ @NodeName = params['NodeName']
8527
+ @ServiceStatus = params['ServiceStatus']
8528
+ @MonitorStatus = params['MonitorStatus']
8529
+ @Status = params['Status']
8530
+ @PortsInfo = params['PortsInfo']
8531
+ @LastRestartTime = params['LastRestartTime']
8532
+ @Flag = params['Flag']
8533
+ @ConfGroupId = params['ConfGroupId']
8534
+ @ConfGroupName = params['ConfGroupName']
8535
+ @ConfStatus = params['ConfStatus']
8536
+ unless params['ServiceDetectionInfo'].nil?
8537
+ @ServiceDetectionInfo = []
8538
+ params['ServiceDetectionInfo'].each do |i|
8539
+ serviceprocessfunctioninfo_tmp = ServiceProcessFunctionInfo.new
8540
+ serviceprocessfunctioninfo_tmp.deserialize(i)
8541
+ @ServiceDetectionInfo << serviceprocessfunctioninfo_tmp
8542
+ end
8543
+ end
8544
+ @NodeFlagFilter = params['NodeFlagFilter']
8545
+ unless params['HealthStatus'].nil?
8546
+ @HealthStatus = HealthStatus.new
8547
+ @HealthStatus.deserialize(params['HealthStatus'])
8548
+ end
8549
+ @IsSupportRoleMonitor = params['IsSupportRoleMonitor']
8550
+ unless params['StopPolicies'].nil?
8551
+ @StopPolicies = []
8552
+ params['StopPolicies'].each do |i|
8553
+ restartpolicy_tmp = RestartPolicy.new
8554
+ restartpolicy_tmp.deserialize(i)
8555
+ @StopPolicies << restartpolicy_tmp
8556
+ end
8557
+ end
8558
+ @HAState = params['HAState']
8559
+ @NameService = params['NameService']
8560
+ @IsFederation = params['IsFederation']
8561
+ @DataNodeMaintenanceState = params['DataNodeMaintenanceState']
8562
+ end
8563
+ end
8564
+
8565
+ # 进程检测信息
8566
+ class ServiceProcessFunctionInfo < TencentCloud::Common::AbstractModel
8567
+ # @param DetectAlert: 探测告警级别
8568
+ # 注意:此字段可能返回 null,表示取不到有效值。
8569
+ # @type DetectAlert: String
8570
+ # @param DetetcFunctionKey: 探测功能描述
8571
+ # 注意:此字段可能返回 null,表示取不到有效值。
8572
+ # @type DetetcFunctionKey: String
8573
+ # @param DetetcFunctionValue: 探测功能结果
8574
+ # 注意:此字段可能返回 null,表示取不到有效值。
8575
+ # @type DetetcFunctionValue: String
8576
+ # @param DetetcTime: 探测结果
8577
+ # 注意:此字段可能返回 null,表示取不到有效值。
8578
+ # @type DetetcTime: String
8579
+ # @param DetectFunctionKey: 探测功能描述
8580
+ # 注意:此字段可能返回 null,表示取不到有效值。
8581
+ # @type DetectFunctionKey: String
8582
+ # @param DetectFunctionValue: 探测功能结果
8583
+ # 注意:此字段可能返回 null,表示取不到有效值。
8584
+ # @type DetectFunctionValue: String
8585
+ # @param DetectTime: 探测结果
8586
+ # 注意:此字段可能返回 null,表示取不到有效值。
8587
+ # @type DetectTime: String
8588
+
8589
+ attr_accessor :DetectAlert, :DetetcFunctionKey, :DetetcFunctionValue, :DetetcTime, :DetectFunctionKey, :DetectFunctionValue, :DetectTime
8590
+ extend Gem::Deprecate
8591
+ deprecate :DetetcFunctionKey, :none, 2024, 8
8592
+ deprecate :DetetcFunctionKey=, :none, 2024, 8
8593
+ deprecate :DetetcFunctionValue, :none, 2024, 8
8594
+ deprecate :DetetcFunctionValue=, :none, 2024, 8
8595
+ deprecate :DetetcTime, :none, 2024, 8
8596
+ deprecate :DetetcTime=, :none, 2024, 8
8597
+
8598
+ def initialize(detectalert=nil, detetcfunctionkey=nil, detetcfunctionvalue=nil, detetctime=nil, detectfunctionkey=nil, detectfunctionvalue=nil, detecttime=nil)
8599
+ @DetectAlert = detectalert
8600
+ @DetetcFunctionKey = detetcfunctionkey
8601
+ @DetetcFunctionValue = detetcfunctionvalue
8602
+ @DetetcTime = detetctime
8603
+ @DetectFunctionKey = detectfunctionkey
8604
+ @DetectFunctionValue = detectfunctionvalue
8605
+ @DetectTime = detecttime
8606
+ end
8607
+
8608
+ def deserialize(params)
8609
+ @DetectAlert = params['DetectAlert']
8610
+ @DetetcFunctionKey = params['DetetcFunctionKey']
8611
+ @DetetcFunctionValue = params['DetetcFunctionValue']
8612
+ @DetetcTime = params['DetetcTime']
8613
+ @DetectFunctionKey = params['DetectFunctionKey']
8614
+ @DetectFunctionValue = params['DetectFunctionValue']
8615
+ @DetectTime = params['DetectTime']
8616
+ end
8617
+ end
8618
+
8046
8619
  # 节点信息
8047
8620
  class ShortNodeInfo < TencentCloud::Common::AbstractModel
8048
8621
  # @param NodeType: 节点类型,Master/Core/Task/Router/Common
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.882
4
+ version: 3.0.883
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-08-08 00:00:00.000000000 Z
11
+ date: 2024-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common