tencentcloud-sdk-emr 3.0.1040 → 3.0.1041
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 +86 -14
- 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: 59930612aef23691f7a4a4c8be624d20dd6dc18f
|
4
|
+
data.tar.gz: 94c25cb688f5ad074e2394bef99117726a110c82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdc71b6cd04e574bfb562d12b0d93d305bc59025d5b1fd4d3d3baa2b51fd935798e3f2d940c43fa1d64af5fc894062c7ac0184055910d7858169eb0d4d9e623b
|
7
|
+
data.tar.gz: 0b784851676b6c67bbf2bfc7975909d6f3c610920782a7575b6f8594b51905eecfa256a296b787cfabbf0a4561ebe82c63bbb4240533306b65a9e25893ba9d83
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1041
|
data/lib/v20190103/client.rb
CHANGED
@@ -680,6 +680,30 @@ module TencentCloud
|
|
680
680
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
681
681
|
end
|
682
682
|
|
683
|
+
# 获取巡检任务结果列表
|
684
|
+
|
685
|
+
# @param request: Request instance for DescribeInspectionTaskResult.
|
686
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeInspectionTaskResultRequest`
|
687
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeInspectionTaskResultResponse`
|
688
|
+
def DescribeInspectionTaskResult(request)
|
689
|
+
body = send_request('DescribeInspectionTaskResult', request.serialize)
|
690
|
+
response = JSON.parse(body)
|
691
|
+
if response['Response'].key?('Error') == false
|
692
|
+
model = DescribeInspectionTaskResultResponse.new
|
693
|
+
model.deserialize(response['Response'])
|
694
|
+
model
|
695
|
+
else
|
696
|
+
code = response['Response']['Error']['Code']
|
697
|
+
message = response['Response']['Error']['Message']
|
698
|
+
reqid = response['Response']['RequestId']
|
699
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
700
|
+
end
|
701
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
702
|
+
raise e
|
703
|
+
rescue StandardError => e
|
704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
705
|
+
end
|
706
|
+
|
683
707
|
# 查询待续费节点信息
|
684
708
|
|
685
709
|
# @param request: Request instance for DescribeInstanceRenewNodes.
|
data/lib/v20190103/models.rb
CHANGED
@@ -1049,10 +1049,10 @@ module TencentCloud
|
|
1049
1049
|
|
1050
1050
|
attr_accessor :Id, :ClusterId, :Ftitle, :ClusterName, :RegionId, :ZoneId, :AppId, :Uin, :ProjectId, :VpcId, :SubnetId, :Status, :AddTime, :RunTime, :Config, :MasterIp, :EmrVersion, :ChargeType, :TradeVersion, :ResourceOrderId, :IsTradeCluster, :AlarmInfo, :IsWoodpeckerCluster, :MetaDb, :Tags, :HiveMetaDb, :ServiceClass, :AliasInfo, :ProductId, :Zone, :SceneName, :SceneServiceClass, :SceneEmrVersion, :DisplayName, :VpcName, :SubnetName, :ClusterExternalServiceInfo, :UniqVpcId, :UniqSubnetId, :TopologyInfoList, :IsMultiZoneCluster, :IsCvmReplace, :ClusterTitle, :ConfigDetail, :BindFileSystemNum, :ClusterRelationInfoList
|
1051
1051
|
extend Gem::Deprecate
|
1052
|
-
deprecate :Ftitle, :none, 2025,
|
1053
|
-
deprecate :Ftitle=, :none, 2025,
|
1054
|
-
deprecate :Config, :none, 2025,
|
1055
|
-
deprecate :Config=, :none, 2025,
|
1052
|
+
deprecate :Ftitle, :none, 2025, 4
|
1053
|
+
deprecate :Ftitle=, :none, 2025, 4
|
1054
|
+
deprecate :Config, :none, 2025, 4
|
1055
|
+
deprecate :Config=, :none, 2025, 4
|
1056
1056
|
|
1057
1057
|
def initialize(id=nil, clusterid=nil, ftitle=nil, clustername=nil, regionid=nil, zoneid=nil, appid=nil, uin=nil, projectid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, runtime=nil, config=nil, masterip=nil, emrversion=nil, chargetype=nil, tradeversion=nil, resourceorderid=nil, istradecluster=nil, alarminfo=nil, iswoodpeckercluster=nil, metadb=nil, tags=nil, hivemetadb=nil, serviceclass=nil, aliasinfo=nil, productid=nil, zone=nil, scenename=nil, sceneserviceclass=nil, sceneemrversion=nil, displayname=nil, vpcname=nil, subnetname=nil, clusterexternalserviceinfo=nil, uniqvpcid=nil, uniqsubnetid=nil, topologyinfolist=nil, ismultizonecluster=nil, iscvmreplace=nil, clustertitle=nil, configdetail=nil, bindfilesystemnum=nil, clusterrelationinfolist=nil)
|
1058
1058
|
@Id = id
|
@@ -2077,10 +2077,12 @@ module TencentCloud
|
|
2077
2077
|
# @type Tags: Array
|
2078
2078
|
# @param PrePaySetting: 预付费参数
|
2079
2079
|
# @type PrePaySetting: :class:`Tencentcloud::Emr.v20190103.models.PrePaySetting`
|
2080
|
+
# @param ClientToken: 唯一随机标识,时效性为5分钟,需要调用者指定 防止客户端重复创建资源,例如 a9a90aa6-****-****-****-fae360632808
|
2081
|
+
# @type ClientToken: String
|
2080
2082
|
|
2081
|
-
attr_accessor :InstanceName, :PayMode, :DiskType, :DiskSize, :NodeType, :ZoneSettings, :Tags, :PrePaySetting
|
2083
|
+
attr_accessor :InstanceName, :PayMode, :DiskType, :DiskSize, :NodeType, :ZoneSettings, :Tags, :PrePaySetting, :ClientToken
|
2082
2084
|
|
2083
|
-
def initialize(instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil, prepaysetting=nil)
|
2085
|
+
def initialize(instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil, prepaysetting=nil, clienttoken=nil)
|
2084
2086
|
@InstanceName = instancename
|
2085
2087
|
@PayMode = paymode
|
2086
2088
|
@DiskType = disktype
|
@@ -2089,6 +2091,7 @@ module TencentCloud
|
|
2089
2091
|
@ZoneSettings = zonesettings
|
2090
2092
|
@Tags = tags
|
2091
2093
|
@PrePaySetting = prepaysetting
|
2094
|
+
@ClientToken = clienttoken
|
2092
2095
|
end
|
2093
2096
|
|
2094
2097
|
def deserialize(params)
|
@@ -2117,6 +2120,7 @@ module TencentCloud
|
|
2117
2120
|
@PrePaySetting = PrePaySetting.new
|
2118
2121
|
@PrePaySetting.deserialize(params['PrePaySetting'])
|
2119
2122
|
end
|
2123
|
+
@ClientToken = params['ClientToken']
|
2120
2124
|
end
|
2121
2125
|
end
|
2122
2126
|
|
@@ -3601,6 +3605,70 @@ module TencentCloud
|
|
3601
3605
|
end
|
3602
3606
|
end
|
3603
3607
|
|
3608
|
+
# DescribeInspectionTaskResult请求参数结构体
|
3609
|
+
class DescribeInspectionTaskResultRequest < TencentCloud::Common::AbstractModel
|
3610
|
+
# @param InstanceId: 实例ID
|
3611
|
+
# @type InstanceId: String
|
3612
|
+
# @param Type: 类型
|
3613
|
+
# @type Type: String
|
3614
|
+
# @param StartTime: 开始时间
|
3615
|
+
# @type StartTime: Integer
|
3616
|
+
# @param EndTime: 结束时间
|
3617
|
+
# @type EndTime: Integer
|
3618
|
+
# @param Limit: 分页大小
|
3619
|
+
# @type Limit: Integer
|
3620
|
+
# @param Offset: 分页偏移量
|
3621
|
+
# @type Offset: Integer
|
3622
|
+
|
3623
|
+
attr_accessor :InstanceId, :Type, :StartTime, :EndTime, :Limit, :Offset
|
3624
|
+
|
3625
|
+
def initialize(instanceid=nil, type=nil, starttime=nil, endtime=nil, limit=nil, offset=nil)
|
3626
|
+
@InstanceId = instanceid
|
3627
|
+
@Type = type
|
3628
|
+
@StartTime = starttime
|
3629
|
+
@EndTime = endtime
|
3630
|
+
@Limit = limit
|
3631
|
+
@Offset = offset
|
3632
|
+
end
|
3633
|
+
|
3634
|
+
def deserialize(params)
|
3635
|
+
@InstanceId = params['InstanceId']
|
3636
|
+
@Type = params['Type']
|
3637
|
+
@StartTime = params['StartTime']
|
3638
|
+
@EndTime = params['EndTime']
|
3639
|
+
@Limit = params['Limit']
|
3640
|
+
@Offset = params['Offset']
|
3641
|
+
end
|
3642
|
+
end
|
3643
|
+
|
3644
|
+
# DescribeInspectionTaskResult返回参数结构体
|
3645
|
+
class DescribeInspectionTaskResultResponse < TencentCloud::Common::AbstractModel
|
3646
|
+
# @param InspectionResultInfo: 巡检任务记录,base64编码
|
3647
|
+
# @type InspectionResultInfo: String
|
3648
|
+
# @param Total: 记录总数
|
3649
|
+
# @type Total: Integer
|
3650
|
+
# @param TypeInfo: 类别信息,base64编码,{"FixedTime": "定时", "RealTime": "及时"}
|
3651
|
+
# @type TypeInfo: String
|
3652
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3653
|
+
# @type RequestId: String
|
3654
|
+
|
3655
|
+
attr_accessor :InspectionResultInfo, :Total, :TypeInfo, :RequestId
|
3656
|
+
|
3657
|
+
def initialize(inspectionresultinfo=nil, total=nil, typeinfo=nil, requestid=nil)
|
3658
|
+
@InspectionResultInfo = inspectionresultinfo
|
3659
|
+
@Total = total
|
3660
|
+
@TypeInfo = typeinfo
|
3661
|
+
@RequestId = requestid
|
3662
|
+
end
|
3663
|
+
|
3664
|
+
def deserialize(params)
|
3665
|
+
@InspectionResultInfo = params['InspectionResultInfo']
|
3666
|
+
@Total = params['Total']
|
3667
|
+
@TypeInfo = params['TypeInfo']
|
3668
|
+
@RequestId = params['RequestId']
|
3669
|
+
end
|
3670
|
+
end
|
3671
|
+
|
3604
3672
|
# DescribeInstanceRenewNodes请求参数结构体
|
3605
3673
|
class DescribeInstanceRenewNodesRequest < TencentCloud::Common::AbstractModel
|
3606
3674
|
# @param InstanceId: 集群实例ID,实例ID形如: emr-xxxxxxxx
|
@@ -8096,19 +8164,23 @@ module TencentCloud
|
|
8096
8164
|
# @type Zone: String
|
8097
8165
|
# @param NodeNum: 该区域变配后的目标节点数量,所有区域节点总数应大于等于3,小于等于50。
|
8098
8166
|
# @type NodeNum: Integer
|
8167
|
+
# @param ClientToken: 唯一随机标识,时效性为5分钟,需要调用者指定 防止客户端重复创建资源,例如 a9a90aa6-****-****-****-fae360632808
|
8168
|
+
# @type ClientToken: String
|
8099
8169
|
|
8100
|
-
attr_accessor :InstanceId, :Zone, :NodeNum
|
8170
|
+
attr_accessor :InstanceId, :Zone, :NodeNum, :ClientToken
|
8101
8171
|
|
8102
|
-
def initialize(instanceid=nil, zone=nil, nodenum=nil)
|
8172
|
+
def initialize(instanceid=nil, zone=nil, nodenum=nil, clienttoken=nil)
|
8103
8173
|
@InstanceId = instanceid
|
8104
8174
|
@Zone = zone
|
8105
8175
|
@NodeNum = nodenum
|
8176
|
+
@ClientToken = clienttoken
|
8106
8177
|
end
|
8107
8178
|
|
8108
8179
|
def deserialize(params)
|
8109
8180
|
@InstanceId = params['InstanceId']
|
8110
8181
|
@Zone = params['Zone']
|
8111
8182
|
@NodeNum = params['NodeNum']
|
8183
|
+
@ClientToken = params['ClientToken']
|
8112
8184
|
end
|
8113
8185
|
end
|
8114
8186
|
|
@@ -11476,12 +11548,12 @@ module TencentCloud
|
|
11476
11548
|
|
11477
11549
|
attr_accessor :DetectAlert, :DetetcFunctionKey, :DetetcFunctionValue, :DetetcTime, :DetectFunctionKey, :DetectFunctionValue, :DetectTime
|
11478
11550
|
extend Gem::Deprecate
|
11479
|
-
deprecate :DetetcFunctionKey, :none, 2025,
|
11480
|
-
deprecate :DetetcFunctionKey=, :none, 2025,
|
11481
|
-
deprecate :DetetcFunctionValue, :none, 2025,
|
11482
|
-
deprecate :DetetcFunctionValue=, :none, 2025,
|
11483
|
-
deprecate :DetetcTime, :none, 2025,
|
11484
|
-
deprecate :DetetcTime=, :none, 2025,
|
11551
|
+
deprecate :DetetcFunctionKey, :none, 2025, 4
|
11552
|
+
deprecate :DetetcFunctionKey=, :none, 2025, 4
|
11553
|
+
deprecate :DetetcFunctionValue, :none, 2025, 4
|
11554
|
+
deprecate :DetetcFunctionValue=, :none, 2025, 4
|
11555
|
+
deprecate :DetetcTime, :none, 2025, 4
|
11556
|
+
deprecate :DetetcTime=, :none, 2025, 4
|
11485
11557
|
|
11486
11558
|
def initialize(detectalert=nil, detetcfunctionkey=nil, detetcfunctionvalue=nil, detetctime=nil, detectfunctionkey=nil, detectfunctionvalue=nil, detecttime=nil)
|
11487
11559
|
@DetectAlert = detectalert
|
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.1041
|
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-04-
|
11
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|