tencentcloud-sdk-emr 3.0.1017 → 3.0.1018
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 +154 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbd24eaed2ba0bac9290a7689de245d241e3febc
|
4
|
+
data.tar.gz: 91b412b9f094843a80f444e9d2ee612d59c3e295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94237961af3d84b47e13765bdb0fac31073101043d5acbf23fb62003ec66c31573f5c91138eff4c11cb56d89500c4b2d66c1b5cfb4641a705623dda1904cd113
|
7
|
+
data.tar.gz: 2ed633e48de82af7ca6d9764c274826b1bdb223155febee4327d189a47ad7bb0d9910c741f2bdd415f033009f2e8cf9eac3b67b2e577f57fa8c3c5fd7f3755d8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1018
|
data/lib/v20190103/client.rb
CHANGED
@@ -1330,6 +1330,30 @@ module TencentCloud
|
|
1330
1330
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1331
1331
|
end
|
1332
1332
|
|
1333
|
+
# 设置巡检任务配置
|
1334
|
+
|
1335
|
+
# @param request: Request instance for ModifyInspectionSettings.
|
1336
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::ModifyInspectionSettingsRequest`
|
1337
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::ModifyInspectionSettingsResponse`
|
1338
|
+
def ModifyInspectionSettings(request)
|
1339
|
+
body = send_request('ModifyInspectionSettings', request.serialize)
|
1340
|
+
response = JSON.parse(body)
|
1341
|
+
if response['Response'].key?('Error') == false
|
1342
|
+
model = ModifyInspectionSettingsResponse.new
|
1343
|
+
model.deserialize(response['Response'])
|
1344
|
+
model
|
1345
|
+
else
|
1346
|
+
code = response['Response']['Error']['Code']
|
1347
|
+
message = response['Response']['Error']['Message']
|
1348
|
+
reqid = response['Response']['RequestId']
|
1349
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1350
|
+
end
|
1351
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1352
|
+
raise e
|
1353
|
+
rescue StandardError => e
|
1354
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1355
|
+
end
|
1356
|
+
|
1333
1357
|
# 修改集群名称
|
1334
1358
|
|
1335
1359
|
# @param request: Request instance for ModifyInstanceBasic.
|
data/lib/v20190103/models.rb
CHANGED
@@ -6773,6 +6773,49 @@ module TencentCloud
|
|
6773
6773
|
end
|
6774
6774
|
end
|
6775
6775
|
|
6776
|
+
# 设置巡检任务配置
|
6777
|
+
class InspectionTaskSettings < TencentCloud::Common::AbstractModel
|
6778
|
+
# @param TaskType: 巡检任务的唯一标记
|
6779
|
+
# @type TaskType: String
|
6780
|
+
# @param Group: 巡检任务组名称
|
6781
|
+
# @type Group: String
|
6782
|
+
# @param Name: 巡检任务名称
|
6783
|
+
# @type Name: String
|
6784
|
+
# @param TaskSettings: 巡检任务参数设置
|
6785
|
+
# @type TaskSettings: Array
|
6786
|
+
# @param Selected: 是否选中,”true“ ”false“
|
6787
|
+
# @type Selected: String
|
6788
|
+
# @param Enable: 是否开启监控
|
6789
|
+
# @type Enable: String
|
6790
|
+
|
6791
|
+
attr_accessor :TaskType, :Group, :Name, :TaskSettings, :Selected, :Enable
|
6792
|
+
|
6793
|
+
def initialize(tasktype=nil, group=nil, name=nil, tasksettings=nil, selected=nil, enable=nil)
|
6794
|
+
@TaskType = tasktype
|
6795
|
+
@Group = group
|
6796
|
+
@Name = name
|
6797
|
+
@TaskSettings = tasksettings
|
6798
|
+
@Selected = selected
|
6799
|
+
@Enable = enable
|
6800
|
+
end
|
6801
|
+
|
6802
|
+
def deserialize(params)
|
6803
|
+
@TaskType = params['TaskType']
|
6804
|
+
@Group = params['Group']
|
6805
|
+
@Name = params['Name']
|
6806
|
+
unless params['TaskSettings'].nil?
|
6807
|
+
@TaskSettings = []
|
6808
|
+
params['TaskSettings'].each do |i|
|
6809
|
+
tasksettings_tmp = TaskSettings.new
|
6810
|
+
tasksettings_tmp.deserialize(i)
|
6811
|
+
@TaskSettings << tasksettings_tmp
|
6812
|
+
end
|
6813
|
+
end
|
6814
|
+
@Selected = params['Selected']
|
6815
|
+
@Enable = params['Enable']
|
6816
|
+
end
|
6817
|
+
end
|
6818
|
+
|
6776
6819
|
# 实例预付费参数,只有在付费类型为PREPAID时生效。
|
6777
6820
|
class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
|
6778
6821
|
# @param Period: 包年包月时间,默认为1,单位:月。
|
@@ -7460,6 +7503,89 @@ module TencentCloud
|
|
7460
7503
|
end
|
7461
7504
|
end
|
7462
7505
|
|
7506
|
+
# ModifyInspectionSettings请求参数结构体
|
7507
|
+
class ModifyInspectionSettingsRequest < TencentCloud::Common::AbstractModel
|
7508
|
+
# @param InstanceId: 实例ID
|
7509
|
+
# @type InstanceId: String
|
7510
|
+
# @param Type: 巡检类型,FixedTime/RealTime
|
7511
|
+
# @type Type: String
|
7512
|
+
# @param Settings: 任务配置
|
7513
|
+
# @type Settings: Array
|
7514
|
+
# @param StartTime: 开始时间戳
|
7515
|
+
# @type StartTime: Integer
|
7516
|
+
# @param EndTime: 结束时间戳
|
7517
|
+
# @type EndTime: Integer
|
7518
|
+
# @param Strategy: 巡检周期,eg EveryDay EveryWeek EveryMonth
|
7519
|
+
# @type Strategy: String
|
7520
|
+
# @param Clock: 每天的开始的时间
|
7521
|
+
# @type Clock: String
|
7522
|
+
# @param DayOfWeek: 每周的周几
|
7523
|
+
# @type DayOfWeek: String
|
7524
|
+
# @param DayOfMonth: 每月的第几号
|
7525
|
+
# @type DayOfMonth: String
|
7526
|
+
# @param JobId: 巡检作业Id
|
7527
|
+
# @type JobId: String
|
7528
|
+
|
7529
|
+
attr_accessor :InstanceId, :Type, :Settings, :StartTime, :EndTime, :Strategy, :Clock, :DayOfWeek, :DayOfMonth, :JobId
|
7530
|
+
|
7531
|
+
def initialize(instanceid=nil, type=nil, settings=nil, starttime=nil, endtime=nil, strategy=nil, clock=nil, dayofweek=nil, dayofmonth=nil, jobid=nil)
|
7532
|
+
@InstanceId = instanceid
|
7533
|
+
@Type = type
|
7534
|
+
@Settings = settings
|
7535
|
+
@StartTime = starttime
|
7536
|
+
@EndTime = endtime
|
7537
|
+
@Strategy = strategy
|
7538
|
+
@Clock = clock
|
7539
|
+
@DayOfWeek = dayofweek
|
7540
|
+
@DayOfMonth = dayofmonth
|
7541
|
+
@JobId = jobid
|
7542
|
+
end
|
7543
|
+
|
7544
|
+
def deserialize(params)
|
7545
|
+
@InstanceId = params['InstanceId']
|
7546
|
+
@Type = params['Type']
|
7547
|
+
unless params['Settings'].nil?
|
7548
|
+
@Settings = []
|
7549
|
+
params['Settings'].each do |i|
|
7550
|
+
inspectiontasksettings_tmp = InspectionTaskSettings.new
|
7551
|
+
inspectiontasksettings_tmp.deserialize(i)
|
7552
|
+
@Settings << inspectiontasksettings_tmp
|
7553
|
+
end
|
7554
|
+
end
|
7555
|
+
@StartTime = params['StartTime']
|
7556
|
+
@EndTime = params['EndTime']
|
7557
|
+
@Strategy = params['Strategy']
|
7558
|
+
@Clock = params['Clock']
|
7559
|
+
@DayOfWeek = params['DayOfWeek']
|
7560
|
+
@DayOfMonth = params['DayOfMonth']
|
7561
|
+
@JobId = params['JobId']
|
7562
|
+
end
|
7563
|
+
end
|
7564
|
+
|
7565
|
+
# ModifyInspectionSettings返回参数结构体
|
7566
|
+
class ModifyInspectionSettingsResponse < TencentCloud::Common::AbstractModel
|
7567
|
+
# @param Info: 返回值描述
|
7568
|
+
# @type Info: String
|
7569
|
+
# @param JobId: 返回成功修改的巡检任务Id
|
7570
|
+
# @type JobId: String
|
7571
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7572
|
+
# @type RequestId: String
|
7573
|
+
|
7574
|
+
attr_accessor :Info, :JobId, :RequestId
|
7575
|
+
|
7576
|
+
def initialize(info=nil, jobid=nil, requestid=nil)
|
7577
|
+
@Info = info
|
7578
|
+
@JobId = jobid
|
7579
|
+
@RequestId = requestid
|
7580
|
+
end
|
7581
|
+
|
7582
|
+
def deserialize(params)
|
7583
|
+
@Info = params['Info']
|
7584
|
+
@JobId = params['JobId']
|
7585
|
+
@RequestId = params['RequestId']
|
7586
|
+
end
|
7587
|
+
end
|
7588
|
+
|
7463
7589
|
# ModifyInstanceBasic请求参数结构体
|
7464
7590
|
class ModifyInstanceBasicRequest < TencentCloud::Common::AbstractModel
|
7465
7591
|
# @param InstanceId: 集群实例ID
|
@@ -11889,6 +12015,34 @@ module TencentCloud
|
|
11889
12015
|
end
|
11890
12016
|
end
|
11891
12017
|
|
12018
|
+
# 巡检任务参数
|
12019
|
+
class TaskSettings < TencentCloud::Common::AbstractModel
|
12020
|
+
# @param Name: 参数名称
|
12021
|
+
# @type Name: String
|
12022
|
+
# @param Value: 参数值
|
12023
|
+
# @type Value: String
|
12024
|
+
# @param Key: 参数唯一标记
|
12025
|
+
# @type Key: String
|
12026
|
+
# @param Editable: 是否可编辑,”true" "false"
|
12027
|
+
# @type Editable: String
|
12028
|
+
|
12029
|
+
attr_accessor :Name, :Value, :Key, :Editable
|
12030
|
+
|
12031
|
+
def initialize(name=nil, value=nil, key=nil, editable=nil)
|
12032
|
+
@Name = name
|
12033
|
+
@Value = value
|
12034
|
+
@Key = key
|
12035
|
+
@Editable = editable
|
12036
|
+
end
|
12037
|
+
|
12038
|
+
def deserialize(params)
|
12039
|
+
@Name = params['Name']
|
12040
|
+
@Value = params['Value']
|
12041
|
+
@Key = params['Key']
|
12042
|
+
@Editable = params['Editable']
|
12043
|
+
end
|
12044
|
+
end
|
12045
|
+
|
11892
12046
|
# TerminateClusterNodes请求参数结构体
|
11893
12047
|
class TerminateClusterNodesRequest < TencentCloud::Common::AbstractModel
|
11894
12048
|
# @param InstanceId: 实例ID
|
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.1018
|
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-03-
|
11
|
+
date: 2025-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20190103/models.rb
|
37
36
|
- lib/v20190103/client.rb
|
37
|
+
- lib/v20190103/models.rb
|
38
38
|
- lib/tencentcloud-sdk-emr.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|