tencentcloud-sdk-emr 3.0.1080 → 3.0.1089
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 +193 -10
- 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: 4cefc4575b47ed7d2a889236e458e805883d0d0a
|
4
|
+
data.tar.gz: 34210a559c4374e3d35c7264e36b13f3927e6fee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 180072621d62fc74dbd0d8e7346dcd7e4e2cf35c8cdbce8d296a9ae3b7f6640950741bfad9a26319a9015eaceaa8e2a166e7dd044b2ac5bb1e7bd5f35b8aefcd
|
7
|
+
data.tar.gz: 9466617e1da4e12c38d62675ac6c64d1389446cbc8817075a48c617a4ef96775d5c0fff95efea03801c3e9c8553dd22ec4b030fe884fd78e6a78012019ba3ca2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1089
|
data/lib/v20190103/client.rb
CHANGED
@@ -1064,6 +1064,30 @@ module TencentCloud
|
|
1064
1064
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1065
1065
|
end
|
1066
1066
|
|
1067
|
+
# 获取spark应用列表
|
1068
|
+
|
1069
|
+
# @param request: Request instance for DescribeSparkApplications.
|
1070
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeSparkApplicationsRequest`
|
1071
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeSparkApplicationsResponse`
|
1072
|
+
def DescribeSparkApplications(request)
|
1073
|
+
body = send_request('DescribeSparkApplications', request.serialize)
|
1074
|
+
response = JSON.parse(body)
|
1075
|
+
if response['Response'].key?('Error') == false
|
1076
|
+
model = DescribeSparkApplicationsResponse.new
|
1077
|
+
model.deserialize(response['Response'])
|
1078
|
+
model
|
1079
|
+
else
|
1080
|
+
code = response['Response']['Error']['Code']
|
1081
|
+
message = response['Response']['Error']['Message']
|
1082
|
+
reqid = response['Response']['RequestId']
|
1083
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1084
|
+
end
|
1085
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1086
|
+
raise e
|
1087
|
+
rescue StandardError => e
|
1088
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1089
|
+
end
|
1090
|
+
|
1067
1091
|
# 查询Spark查询信息列表
|
1068
1092
|
|
1069
1093
|
# @param request: Request instance for DescribeSparkQueries.
|
data/lib/v20190103/models.rb
CHANGED
@@ -1770,10 +1770,12 @@ module TencentCloud
|
|
1770
1770
|
# @type ZoneResourceConfiguration: Array
|
1771
1771
|
# @param CosBucket: cos桶路径,创建StarRocks存算分离集群时用到
|
1772
1772
|
# @type CosBucket: String
|
1773
|
+
# @param NodeMarks: 节点标识信息,目前只提供给tf平台使用
|
1774
|
+
# @type NodeMarks: Array
|
1773
1775
|
|
1774
|
-
attr_accessor :ProductVersion, :EnableSupportHAFlag, :InstanceName, :InstanceChargeType, :LoginSettings, :SceneSoftwareConfig, :InstanceChargePrepaid, :SecurityGroupIds, :ScriptBootstrapActionConfig, :ClientToken, :NeedMasterWan, :EnableRemoteLoginFlag, :EnableKerberosFlag, :CustomConf, :Tags, :DisasterRecoverGroupIds, :EnableCbsEncryptFlag, :MetaDBInfo, :DependService, :ZoneResourceConfiguration, :CosBucket
|
1776
|
+
attr_accessor :ProductVersion, :EnableSupportHAFlag, :InstanceName, :InstanceChargeType, :LoginSettings, :SceneSoftwareConfig, :InstanceChargePrepaid, :SecurityGroupIds, :ScriptBootstrapActionConfig, :ClientToken, :NeedMasterWan, :EnableRemoteLoginFlag, :EnableKerberosFlag, :CustomConf, :Tags, :DisasterRecoverGroupIds, :EnableCbsEncryptFlag, :MetaDBInfo, :DependService, :ZoneResourceConfiguration, :CosBucket, :NodeMarks
|
1775
1777
|
|
1776
|
-
def initialize(productversion=nil, enablesupporthaflag=nil, instancename=nil, instancechargetype=nil, loginsettings=nil, scenesoftwareconfig=nil, instancechargeprepaid=nil, securitygroupids=nil, scriptbootstrapactionconfig=nil, clienttoken=nil, needmasterwan=nil, enableremoteloginflag=nil, enablekerberosflag=nil, customconf=nil, tags=nil, disasterrecovergroupids=nil, enablecbsencryptflag=nil, metadbinfo=nil, dependservice=nil, zoneresourceconfiguration=nil, cosbucket=nil)
|
1778
|
+
def initialize(productversion=nil, enablesupporthaflag=nil, instancename=nil, instancechargetype=nil, loginsettings=nil, scenesoftwareconfig=nil, instancechargeprepaid=nil, securitygroupids=nil, scriptbootstrapactionconfig=nil, clienttoken=nil, needmasterwan=nil, enableremoteloginflag=nil, enablekerberosflag=nil, customconf=nil, tags=nil, disasterrecovergroupids=nil, enablecbsencryptflag=nil, metadbinfo=nil, dependservice=nil, zoneresourceconfiguration=nil, cosbucket=nil, nodemarks=nil)
|
1777
1779
|
@ProductVersion = productversion
|
1778
1780
|
@EnableSupportHAFlag = enablesupporthaflag
|
1779
1781
|
@InstanceName = instancename
|
@@ -1795,6 +1797,7 @@ module TencentCloud
|
|
1795
1797
|
@DependService = dependservice
|
1796
1798
|
@ZoneResourceConfiguration = zoneresourceconfiguration
|
1797
1799
|
@CosBucket = cosbucket
|
1800
|
+
@NodeMarks = nodemarks
|
1798
1801
|
end
|
1799
1802
|
|
1800
1803
|
def deserialize(params)
|
@@ -1859,6 +1862,14 @@ module TencentCloud
|
|
1859
1862
|
end
|
1860
1863
|
end
|
1861
1864
|
@CosBucket = params['CosBucket']
|
1865
|
+
unless params['NodeMarks'].nil?
|
1866
|
+
@NodeMarks = []
|
1867
|
+
params['NodeMarks'].each do |i|
|
1868
|
+
nodemark_tmp = NodeMark.new
|
1869
|
+
nodemark_tmp.deserialize(i)
|
1870
|
+
@NodeMarks << nodemark_tmp
|
1871
|
+
end
|
1872
|
+
end
|
1862
1873
|
end
|
1863
1874
|
end
|
1864
1875
|
|
@@ -2043,10 +2054,12 @@ module TencentCloud
|
|
2043
2054
|
# @type MultiZoneSettings: Array
|
2044
2055
|
# @param CosBucket: cos桶路径,创建StarRocks存算分离集群时用到
|
2045
2056
|
# @type CosBucket: String
|
2057
|
+
# @param NodeMarks: 节点标识信息,目前只提供给tf平台使用
|
2058
|
+
# @type NodeMarks: Array
|
2046
2059
|
|
2047
|
-
attr_accessor :ProductId, :Software, :SupportHA, :InstanceName, :PayMode, :TimeSpan, :TimeUnit, :LoginSettings, :VPCSettings, :ResourceSpec, :COSSettings, :Placement, :SgId, :PreExecutedFileSettings, :AutoRenew, :ClientToken, :NeedMasterWan, :RemoteLoginAtCreate, :CheckSecurity, :ExtendFsField, :Tags, :DisasterRecoverGroupIds, :CbsEncrypt, :MetaType, :UnifyMetaInstanceId, :MetaDBInfo, :ApplicationRole, :SceneName, :ExternalService, :VersionID, :MultiZone, :MultiZoneSettings, :CosBucket
|
2060
|
+
attr_accessor :ProductId, :Software, :SupportHA, :InstanceName, :PayMode, :TimeSpan, :TimeUnit, :LoginSettings, :VPCSettings, :ResourceSpec, :COSSettings, :Placement, :SgId, :PreExecutedFileSettings, :AutoRenew, :ClientToken, :NeedMasterWan, :RemoteLoginAtCreate, :CheckSecurity, :ExtendFsField, :Tags, :DisasterRecoverGroupIds, :CbsEncrypt, :MetaType, :UnifyMetaInstanceId, :MetaDBInfo, :ApplicationRole, :SceneName, :ExternalService, :VersionID, :MultiZone, :MultiZoneSettings, :CosBucket, :NodeMarks
|
2048
2061
|
|
2049
|
-
def initialize(productid=nil, software=nil, supportha=nil, instancename=nil, paymode=nil, timespan=nil, timeunit=nil, loginsettings=nil, vpcsettings=nil, resourcespec=nil, cossettings=nil, placement=nil, sgid=nil, preexecutedfilesettings=nil, autorenew=nil, clienttoken=nil, needmasterwan=nil, remoteloginatcreate=nil, checksecurity=nil, extendfsfield=nil, tags=nil, disasterrecovergroupids=nil, cbsencrypt=nil, metatype=nil, unifymetainstanceid=nil, metadbinfo=nil, applicationrole=nil, scenename=nil, externalservice=nil, versionid=nil, multizone=nil, multizonesettings=nil, cosbucket=nil)
|
2062
|
+
def initialize(productid=nil, software=nil, supportha=nil, instancename=nil, paymode=nil, timespan=nil, timeunit=nil, loginsettings=nil, vpcsettings=nil, resourcespec=nil, cossettings=nil, placement=nil, sgid=nil, preexecutedfilesettings=nil, autorenew=nil, clienttoken=nil, needmasterwan=nil, remoteloginatcreate=nil, checksecurity=nil, extendfsfield=nil, tags=nil, disasterrecovergroupids=nil, cbsencrypt=nil, metatype=nil, unifymetainstanceid=nil, metadbinfo=nil, applicationrole=nil, scenename=nil, externalservice=nil, versionid=nil, multizone=nil, multizonesettings=nil, cosbucket=nil, nodemarks=nil)
|
2050
2063
|
@ProductId = productid
|
2051
2064
|
@Software = software
|
2052
2065
|
@SupportHA = supportha
|
@@ -2080,6 +2093,7 @@ module TencentCloud
|
|
2080
2093
|
@MultiZone = multizone
|
2081
2094
|
@MultiZoneSettings = multizonesettings
|
2082
2095
|
@CosBucket = cosbucket
|
2096
|
+
@NodeMarks = nodemarks
|
2083
2097
|
end
|
2084
2098
|
|
2085
2099
|
def deserialize(params)
|
@@ -2162,6 +2176,14 @@ module TencentCloud
|
|
2162
2176
|
end
|
2163
2177
|
end
|
2164
2178
|
@CosBucket = params['CosBucket']
|
2179
|
+
unless params['NodeMarks'].nil?
|
2180
|
+
@NodeMarks = []
|
2181
|
+
params['NodeMarks'].each do |i|
|
2182
|
+
nodemark_tmp = NodeMark.new
|
2183
|
+
nodemark_tmp.deserialize(i)
|
2184
|
+
@NodeMarks << nodemark_tmp
|
2185
|
+
end
|
2186
|
+
end
|
2165
2187
|
end
|
2166
2188
|
end
|
2167
2189
|
|
@@ -4832,6 +4854,69 @@ module TencentCloud
|
|
4832
4854
|
end
|
4833
4855
|
end
|
4834
4856
|
|
4857
|
+
# DescribeSparkApplications请求参数结构体
|
4858
|
+
class DescribeSparkApplicationsRequest < TencentCloud::Common::AbstractModel
|
4859
|
+
# @param InstanceId: 集群id
|
4860
|
+
# @type InstanceId: String
|
4861
|
+
# @param StartTime: 查询开始时间
|
4862
|
+
# @type StartTime: Integer
|
4863
|
+
# @param EndTime: 查询结束时间
|
4864
|
+
# @type EndTime: Integer
|
4865
|
+
# @param PageSize: 每一页条数
|
4866
|
+
# @type PageSize: Integer
|
4867
|
+
# @param Page: 第几页
|
4868
|
+
# @type Page: Integer
|
4869
|
+
|
4870
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :PageSize, :Page
|
4871
|
+
|
4872
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, pagesize=nil, page=nil)
|
4873
|
+
@InstanceId = instanceid
|
4874
|
+
@StartTime = starttime
|
4875
|
+
@EndTime = endtime
|
4876
|
+
@PageSize = pagesize
|
4877
|
+
@Page = page
|
4878
|
+
end
|
4879
|
+
|
4880
|
+
def deserialize(params)
|
4881
|
+
@InstanceId = params['InstanceId']
|
4882
|
+
@StartTime = params['StartTime']
|
4883
|
+
@EndTime = params['EndTime']
|
4884
|
+
@PageSize = params['PageSize']
|
4885
|
+
@Page = params['Page']
|
4886
|
+
end
|
4887
|
+
end
|
4888
|
+
|
4889
|
+
# DescribeSparkApplications返回参数结构体
|
4890
|
+
class DescribeSparkApplicationsResponse < TencentCloud::Common::AbstractModel
|
4891
|
+
# @param TotalCount: 返回数量
|
4892
|
+
# @type TotalCount: Integer
|
4893
|
+
# @param ResultList: spark应用列表
|
4894
|
+
# @type ResultList: Array
|
4895
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4896
|
+
# @type RequestId: String
|
4897
|
+
|
4898
|
+
attr_accessor :TotalCount, :ResultList, :RequestId
|
4899
|
+
|
4900
|
+
def initialize(totalcount=nil, resultlist=nil, requestid=nil)
|
4901
|
+
@TotalCount = totalcount
|
4902
|
+
@ResultList = resultlist
|
4903
|
+
@RequestId = requestid
|
4904
|
+
end
|
4905
|
+
|
4906
|
+
def deserialize(params)
|
4907
|
+
@TotalCount = params['TotalCount']
|
4908
|
+
unless params['ResultList'].nil?
|
4909
|
+
@ResultList = []
|
4910
|
+
params['ResultList'].each do |i|
|
4911
|
+
sparkapplicationslist_tmp = SparkApplicationsList.new
|
4912
|
+
sparkapplicationslist_tmp.deserialize(i)
|
4913
|
+
@ResultList << sparkapplicationslist_tmp
|
4914
|
+
end
|
4915
|
+
end
|
4916
|
+
@RequestId = params['RequestId']
|
4917
|
+
end
|
4918
|
+
end
|
4919
|
+
|
4835
4920
|
# DescribeSparkQueries请求参数结构体
|
4836
4921
|
class DescribeSparkQueriesRequest < TencentCloud::Common::AbstractModel
|
4837
4922
|
# @param InstanceId: 集群ID
|
@@ -9140,10 +9225,12 @@ module TencentCloud
|
|
9140
9225
|
# @type TkeClusterId: String
|
9141
9226
|
# @param ConfigurableServices: 新挂磁盘时可支持配置的服务名称列表
|
9142
9227
|
# @type ConfigurableServices: Array
|
9228
|
+
# @param NodeMark: 节点标注信息,目前只提供给tf平台使用
|
9229
|
+
# @type NodeMark: String
|
9143
9230
|
|
9144
|
-
attr_accessor :AppId, :SerialNo, :OrderNo, :WanIp, :Flag, :Spec, :CpuNum, :MemSize, :MemDesc, :RegionId, :ZoneId, :ApplyTime, :FreeTime, :DiskSize, :NameTag, :Services, :StorageType, :RootSize, :ChargeType, :CdbIp, :CdbPort, :HwDiskSize, :HwDiskSizeDesc, :HwMemSize, :HwMemSizeDesc, :ExpireTime, :EmrResourceId, :IsAutoRenew, :DeviceClass, :Mutable, :MCMultiDisk, :CdbNodeInfo, :Ip, :Destroyable, :Tags, :AutoFlag, :HardwareResourceType, :IsDynamicSpec, :DynamicPodSpec, :SupportModifyPayMode, :RootStorageType, :Zone, :SubnetInfo, :Clients, :CurrentTime, :IsFederation, :DeviceName, :ServiceClient, :DisableApiTermination, :TradeVersion, :ServicesStatus, :Remark, :SharedClusterId, :SharedClusterIdDesc, :TimingResource, :TkeClusterId, :ConfigurableServices
|
9231
|
+
attr_accessor :AppId, :SerialNo, :OrderNo, :WanIp, :Flag, :Spec, :CpuNum, :MemSize, :MemDesc, :RegionId, :ZoneId, :ApplyTime, :FreeTime, :DiskSize, :NameTag, :Services, :StorageType, :RootSize, :ChargeType, :CdbIp, :CdbPort, :HwDiskSize, :HwDiskSizeDesc, :HwMemSize, :HwMemSizeDesc, :ExpireTime, :EmrResourceId, :IsAutoRenew, :DeviceClass, :Mutable, :MCMultiDisk, :CdbNodeInfo, :Ip, :Destroyable, :Tags, :AutoFlag, :HardwareResourceType, :IsDynamicSpec, :DynamicPodSpec, :SupportModifyPayMode, :RootStorageType, :Zone, :SubnetInfo, :Clients, :CurrentTime, :IsFederation, :DeviceName, :ServiceClient, :DisableApiTermination, :TradeVersion, :ServicesStatus, :Remark, :SharedClusterId, :SharedClusterIdDesc, :TimingResource, :TkeClusterId, :ConfigurableServices, :NodeMark
|
9145
9232
|
|
9146
|
-
def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil, currenttime=nil, isfederation=nil, devicename=nil, serviceclient=nil, disableapitermination=nil, tradeversion=nil, servicesstatus=nil, remark=nil, sharedclusterid=nil, sharedclusteriddesc=nil, timingresource=nil, tkeclusterid=nil, configurableservices=nil)
|
9233
|
+
def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil, currenttime=nil, isfederation=nil, devicename=nil, serviceclient=nil, disableapitermination=nil, tradeversion=nil, servicesstatus=nil, remark=nil, sharedclusterid=nil, sharedclusteriddesc=nil, timingresource=nil, tkeclusterid=nil, configurableservices=nil, nodemark=nil)
|
9147
9234
|
@AppId = appid
|
9148
9235
|
@SerialNo = serialno
|
9149
9236
|
@OrderNo = orderno
|
@@ -9201,6 +9288,7 @@ module TencentCloud
|
|
9201
9288
|
@TimingResource = timingresource
|
9202
9289
|
@TkeClusterId = tkeclusterid
|
9203
9290
|
@ConfigurableServices = configurableservices
|
9291
|
+
@NodeMark = nodemark
|
9204
9292
|
end
|
9205
9293
|
|
9206
9294
|
def deserialize(params)
|
@@ -9281,6 +9369,31 @@ module TencentCloud
|
|
9281
9369
|
@TimingResource = params['TimingResource']
|
9282
9370
|
@TkeClusterId = params['TkeClusterId']
|
9283
9371
|
@ConfigurableServices = params['ConfigurableServices']
|
9372
|
+
@NodeMark = params['NodeMark']
|
9373
|
+
end
|
9374
|
+
end
|
9375
|
+
|
9376
|
+
# 节点标记信息
|
9377
|
+
class NodeMark < TencentCloud::Common::AbstractModel
|
9378
|
+
# @param NodeType: 节点类型:master,core,task,router
|
9379
|
+
# @type NodeType: String
|
9380
|
+
# @param NodeNames: 节点标记信息,目前只提供给tf平台使用,作为入参区分同类型节点信息
|
9381
|
+
# @type NodeNames: Array
|
9382
|
+
# @param Zone: 可用区名称
|
9383
|
+
# @type Zone: String
|
9384
|
+
|
9385
|
+
attr_accessor :NodeType, :NodeNames, :Zone
|
9386
|
+
|
9387
|
+
def initialize(nodetype=nil, nodenames=nil, zone=nil)
|
9388
|
+
@NodeType = nodetype
|
9389
|
+
@NodeNames = nodenames
|
9390
|
+
@Zone = zone
|
9391
|
+
end
|
9392
|
+
|
9393
|
+
def deserialize(params)
|
9394
|
+
@NodeType = params['NodeType']
|
9395
|
+
@NodeNames = params['NodeNames']
|
9396
|
+
@Zone = params['Zone']
|
9284
9397
|
end
|
9285
9398
|
end
|
9286
9399
|
|
@@ -11358,10 +11471,12 @@ module TencentCloud
|
|
11358
11471
|
# @type SubnetId: String
|
11359
11472
|
# @param ScaleOutServiceConfGroupsInfo: 扩容指定配置组
|
11360
11473
|
# @type ScaleOutServiceConfGroupsInfo: Array
|
11474
|
+
# @param NodeMarks: 节点标记信息,当前只提供给tf平台使用
|
11475
|
+
# @type NodeMarks: :class:`Tencentcloud::Emr.v20190103.models.NodeMark`
|
11361
11476
|
|
11362
|
-
attr_accessor :InstanceChargeType, :InstanceId, :ScaleOutNodeConfig, :ClientToken, :InstanceChargePrepaid, :ScriptBootstrapActionConfig, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareSourceType, :PodSpecInfo, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :EnableStartServiceFlag, :ResourceSpec, :Zone, :SubnetId, :ScaleOutServiceConfGroupsInfo
|
11477
|
+
attr_accessor :InstanceChargeType, :InstanceId, :ScaleOutNodeConfig, :ClientToken, :InstanceChargePrepaid, :ScriptBootstrapActionConfig, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareSourceType, :PodSpecInfo, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :EnableStartServiceFlag, :ResourceSpec, :Zone, :SubnetId, :ScaleOutServiceConfGroupsInfo, :NodeMarks
|
11363
11478
|
|
11364
|
-
def initialize(instancechargetype=nil, instanceid=nil, scaleoutnodeconfig=nil, clienttoken=nil, instancechargeprepaid=nil, scriptbootstrapactionconfig=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwaresourcetype=nil, podspecinfo=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, enablestartserviceflag=nil, resourcespec=nil, zone=nil, subnetid=nil, scaleoutserviceconfgroupsinfo=nil)
|
11479
|
+
def initialize(instancechargetype=nil, instanceid=nil, scaleoutnodeconfig=nil, clienttoken=nil, instancechargeprepaid=nil, scriptbootstrapactionconfig=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwaresourcetype=nil, podspecinfo=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, enablestartserviceflag=nil, resourcespec=nil, zone=nil, subnetid=nil, scaleoutserviceconfgroupsinfo=nil, nodemarks=nil)
|
11365
11480
|
@InstanceChargeType = instancechargetype
|
11366
11481
|
@InstanceId = instanceid
|
11367
11482
|
@ScaleOutNodeConfig = scaleoutnodeconfig
|
@@ -11382,6 +11497,7 @@ module TencentCloud
|
|
11382
11497
|
@Zone = zone
|
11383
11498
|
@SubnetId = subnetid
|
11384
11499
|
@ScaleOutServiceConfGroupsInfo = scaleoutserviceconfgroupsinfo
|
11500
|
+
@NodeMarks = nodemarks
|
11385
11501
|
end
|
11386
11502
|
|
11387
11503
|
def deserialize(params)
|
@@ -11438,6 +11554,10 @@ module TencentCloud
|
|
11438
11554
|
@ScaleOutServiceConfGroupsInfo << scaleoutserviceconfgroupsinfo_tmp
|
11439
11555
|
end
|
11440
11556
|
end
|
11557
|
+
unless params['NodeMarks'].nil?
|
11558
|
+
@NodeMarks = NodeMark.new
|
11559
|
+
@NodeMarks.deserialize(params['NodeMarks'])
|
11560
|
+
end
|
11441
11561
|
end
|
11442
11562
|
end
|
11443
11563
|
|
@@ -11553,10 +11673,12 @@ module TencentCloud
|
|
11553
11673
|
# @type ComputeResourceId: String
|
11554
11674
|
# @param ComputeResourceAdvanceParams: 计算资源高级设置
|
11555
11675
|
# @type ComputeResourceAdvanceParams: :class:`Tencentcloud::Emr.v20190103.models.ComputeResourceAdvanceParams`
|
11676
|
+
# @param NodeMarks: 节点标记信息,目前只提供tf平台使用
|
11677
|
+
# @type NodeMarks: :class:`Tencentcloud::Emr.v20190103.models.NodeMark`
|
11556
11678
|
|
11557
|
-
attr_accessor :TimeUnit, :TimeSpan, :InstanceId, :PayMode, :ClientToken, :PreExecutedFileSettings, :TaskCount, :CoreCount, :UnNecessaryNodeList, :RouterCount, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareResourceType, :PodSpec, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :PodParameter, :MasterCount, :StartServiceAfterScaleOut, :ZoneId, :SubnetId, :ScaleOutServiceConfAssign, :AutoRenew, :ResourceBaseType, :ComputeResourceId, :ComputeResourceAdvanceParams
|
11679
|
+
attr_accessor :TimeUnit, :TimeSpan, :InstanceId, :PayMode, :ClientToken, :PreExecutedFileSettings, :TaskCount, :CoreCount, :UnNecessaryNodeList, :RouterCount, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareResourceType, :PodSpec, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :PodParameter, :MasterCount, :StartServiceAfterScaleOut, :ZoneId, :SubnetId, :ScaleOutServiceConfAssign, :AutoRenew, :ResourceBaseType, :ComputeResourceId, :ComputeResourceAdvanceParams, :NodeMarks
|
11558
11680
|
|
11559
|
-
def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil, scaleoutserviceconfassign=nil, autorenew=nil, resourcebasetype=nil, computeresourceid=nil, computeresourceadvanceparams=nil)
|
11681
|
+
def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil, scaleoutserviceconfassign=nil, autorenew=nil, resourcebasetype=nil, computeresourceid=nil, computeresourceadvanceparams=nil, nodemarks=nil)
|
11560
11682
|
@TimeUnit = timeunit
|
11561
11683
|
@TimeSpan = timespan
|
11562
11684
|
@InstanceId = instanceid
|
@@ -11586,6 +11708,7 @@ module TencentCloud
|
|
11586
11708
|
@ResourceBaseType = resourcebasetype
|
11587
11709
|
@ComputeResourceId = computeresourceid
|
11588
11710
|
@ComputeResourceAdvanceParams = computeresourceadvanceparams
|
11711
|
+
@NodeMarks = nodemarks
|
11589
11712
|
end
|
11590
11713
|
|
11591
11714
|
def deserialize(params)
|
@@ -11641,6 +11764,10 @@ module TencentCloud
|
|
11641
11764
|
@ComputeResourceAdvanceParams = ComputeResourceAdvanceParams.new
|
11642
11765
|
@ComputeResourceAdvanceParams.deserialize(params['ComputeResourceAdvanceParams'])
|
11643
11766
|
end
|
11767
|
+
unless params['NodeMarks'].nil?
|
11768
|
+
@NodeMarks = NodeMark.new
|
11769
|
+
@NodeMarks.deserialize(params['NodeMarks'])
|
11770
|
+
end
|
11644
11771
|
end
|
11645
11772
|
end
|
11646
11773
|
|
@@ -12168,6 +12295,62 @@ module TencentCloud
|
|
12168
12295
|
end
|
12169
12296
|
end
|
12170
12297
|
|
12298
|
+
# spark任务列表
|
12299
|
+
class SparkApplicationsList < TencentCloud::Common::AbstractModel
|
12300
|
+
# @param ID: 应用id
|
12301
|
+
# @type ID: String
|
12302
|
+
# @param Name: 应用名称
|
12303
|
+
# @type Name: String
|
12304
|
+
# @param User: 用户
|
12305
|
+
# @type User: String
|
12306
|
+
# @param StartTime: 起始时间
|
12307
|
+
# @type StartTime: Integer
|
12308
|
+
# @param EndTime: 结束时间
|
12309
|
+
# @type EndTime: Integer
|
12310
|
+
# @param Duration: 持续时间
|
12311
|
+
# @type Duration: Integer
|
12312
|
+
# @param State: 状态
|
12313
|
+
# @type State: String
|
12314
|
+
# @param ApplicationType: 类型
|
12315
|
+
# @type ApplicationType: String
|
12316
|
+
# @param CoreSeconds: 核数*秒
|
12317
|
+
# @type CoreSeconds: Integer
|
12318
|
+
# @param MemorySeconds: 内存MB*秒
|
12319
|
+
# @type MemorySeconds: String
|
12320
|
+
# @param Insight: 洞察结果
|
12321
|
+
# @type Insight: String
|
12322
|
+
|
12323
|
+
attr_accessor :ID, :Name, :User, :StartTime, :EndTime, :Duration, :State, :ApplicationType, :CoreSeconds, :MemorySeconds, :Insight
|
12324
|
+
|
12325
|
+
def initialize(id=nil, name=nil, user=nil, starttime=nil, endtime=nil, duration=nil, state=nil, applicationtype=nil, coreseconds=nil, memoryseconds=nil, insight=nil)
|
12326
|
+
@ID = id
|
12327
|
+
@Name = name
|
12328
|
+
@User = user
|
12329
|
+
@StartTime = starttime
|
12330
|
+
@EndTime = endtime
|
12331
|
+
@Duration = duration
|
12332
|
+
@State = state
|
12333
|
+
@ApplicationType = applicationtype
|
12334
|
+
@CoreSeconds = coreseconds
|
12335
|
+
@MemorySeconds = memoryseconds
|
12336
|
+
@Insight = insight
|
12337
|
+
end
|
12338
|
+
|
12339
|
+
def deserialize(params)
|
12340
|
+
@ID = params['ID']
|
12341
|
+
@Name = params['Name']
|
12342
|
+
@User = params['User']
|
12343
|
+
@StartTime = params['StartTime']
|
12344
|
+
@EndTime = params['EndTime']
|
12345
|
+
@Duration = params['Duration']
|
12346
|
+
@State = params['State']
|
12347
|
+
@ApplicationType = params['ApplicationType']
|
12348
|
+
@CoreSeconds = params['CoreSeconds']
|
12349
|
+
@MemorySeconds = params['MemorySeconds']
|
12350
|
+
@Insight = params['Insight']
|
12351
|
+
end
|
12352
|
+
end
|
12353
|
+
|
12171
12354
|
# spark查询详情
|
12172
12355
|
class SparkQuery < TencentCloud::Common::AbstractModel
|
12173
12356
|
# @param Statement: 执行语句
|
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.1089
|
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-06-
|
11
|
+
date: 2025-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|