tencentcloud-sdk-emr 3.0.1089 → 3.0.1092
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 +72 -0
- data/lib/v20190103/models.rb +570 -22
- 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: b7dab31c074b8ca7410498508b9d64af3672be62
|
4
|
+
data.tar.gz: a0a2e149aa4d865ae50e899e9db1c436b414b383
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0498895b416ce63f5223b31f4eb2d815f00c4aa6775762d377e39ece87861dc96f7bc9c7d36a79e6b7b23d35bc446b2e7c4bd690adc0c3d31bded217fad2970
|
7
|
+
data.tar.gz: 3dd22a2ee1c649a8cc974922b9b69da8bd4e237cad419118b12793460a5f8861f0cd7168d90e73c03e1112684ccacfd74c8571b19009f8dd0d3c031abeb2b8a9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1092
|
data/lib/v20190103/client.rb
CHANGED
@@ -126,6 +126,30 @@ module TencentCloud
|
|
126
126
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
127
127
|
end
|
128
128
|
|
129
|
+
# 包月集群转按量集群(不含cdb)
|
130
|
+
|
131
|
+
# @param request: Request instance for ConvertPreToPostCluster.
|
132
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::ConvertPreToPostClusterRequest`
|
133
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::ConvertPreToPostClusterResponse`
|
134
|
+
def ConvertPreToPostCluster(request)
|
135
|
+
body = send_request('ConvertPreToPostCluster', request.serialize)
|
136
|
+
response = JSON.parse(body)
|
137
|
+
if response['Response'].key?('Error') == false
|
138
|
+
model = ConvertPreToPostClusterResponse.new
|
139
|
+
model.deserialize(response['Response'])
|
140
|
+
model
|
141
|
+
else
|
142
|
+
code = response['Response']['Error']['Code']
|
143
|
+
message = response['Response']['Error']['Message']
|
144
|
+
reqid = response['Response']['RequestId']
|
145
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
146
|
+
end
|
147
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
148
|
+
raise e
|
149
|
+
rescue StandardError => e
|
150
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
151
|
+
end
|
152
|
+
|
129
153
|
# 创建EMR容器集群实例
|
130
154
|
|
131
155
|
# @param request: Request instance for CreateCloudInstance.
|
@@ -944,6 +968,30 @@ module TencentCloud
|
|
944
968
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
945
969
|
end
|
946
970
|
|
971
|
+
# 查询节点规格
|
972
|
+
|
973
|
+
# @param request: Request instance for DescribeNodeSpec.
|
974
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeNodeSpecRequest`
|
975
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeNodeSpecResponse`
|
976
|
+
def DescribeNodeSpec(request)
|
977
|
+
body = send_request('DescribeNodeSpec', request.serialize)
|
978
|
+
response = JSON.parse(body)
|
979
|
+
if response['Response'].key?('Error') == false
|
980
|
+
model = DescribeNodeSpecResponse.new
|
981
|
+
model.deserialize(response['Response'])
|
982
|
+
model
|
983
|
+
else
|
984
|
+
code = response['Response']['Error']['Code']
|
985
|
+
message = response['Response']['Error']['Message']
|
986
|
+
reqid = response['Response']['RequestId']
|
987
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
988
|
+
end
|
989
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
990
|
+
raise e
|
991
|
+
rescue StandardError => e
|
992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
993
|
+
end
|
994
|
+
|
947
995
|
# 查询YARN资源调度数据信息。已废弃,请使用`DescribeYarnQueue`去查询队列信息。
|
948
996
|
|
949
997
|
# @param request: Request instance for DescribeResourceSchedule.
|
@@ -1040,6 +1088,30 @@ module TencentCloud
|
|
1040
1088
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1041
1089
|
end
|
1042
1090
|
|
1091
|
+
# 描述服务配置组信息
|
1092
|
+
|
1093
|
+
# @param request: Request instance for DescribeServiceConfGroupInfos.
|
1094
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeServiceConfGroupInfosRequest`
|
1095
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeServiceConfGroupInfosResponse`
|
1096
|
+
def DescribeServiceConfGroupInfos(request)
|
1097
|
+
body = send_request('DescribeServiceConfGroupInfos', request.serialize)
|
1098
|
+
response = JSON.parse(body)
|
1099
|
+
if response['Response'].key?('Error') == false
|
1100
|
+
model = DescribeServiceConfGroupInfosResponse.new
|
1101
|
+
model.deserialize(response['Response'])
|
1102
|
+
model
|
1103
|
+
else
|
1104
|
+
code = response['Response']['Error']['Code']
|
1105
|
+
message = response['Response']['Error']['Message']
|
1106
|
+
reqid = response['Response']['RequestId']
|
1107
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1108
|
+
end
|
1109
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1110
|
+
raise e
|
1111
|
+
rescue StandardError => e
|
1112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1113
|
+
end
|
1114
|
+
|
1043
1115
|
# 查询服务进程信息
|
1044
1116
|
|
1045
1117
|
# @param request: Request instance for DescribeServiceNodeInfos.
|
data/lib/v20190103/models.rb
CHANGED
@@ -347,10 +347,14 @@ module TencentCloud
|
|
347
347
|
# @type DeleteWithInstance: Boolean
|
348
348
|
# @param SelectiveConfServices: 新挂磁盘时可支持配置的服务名称列表
|
349
349
|
# @type SelectiveConfServices: Array
|
350
|
+
# @param ChargeType: 磁盘计费类型(1包月、3包销)
|
351
|
+
# @type ChargeType: Integer
|
352
|
+
# @param UnderWriteDuration: 磁盘包销购买时长(仅支持12、24、36、48、60)
|
353
|
+
# @type UnderWriteDuration: Integer
|
350
354
|
|
351
|
-
attr_accessor :InstanceId, :DiskIds, :AlignType, :CvmInstanceIds, :CreateDisk, :DiskSpec, :DeleteWithInstance, :SelectiveConfServices
|
355
|
+
attr_accessor :InstanceId, :DiskIds, :AlignType, :CvmInstanceIds, :CreateDisk, :DiskSpec, :DeleteWithInstance, :SelectiveConfServices, :ChargeType, :UnderWriteDuration
|
352
356
|
|
353
|
-
def initialize(instanceid=nil, diskids=nil, aligntype=nil, cvminstanceids=nil, createdisk=nil, diskspec=nil, deletewithinstance=nil, selectiveconfservices=nil)
|
357
|
+
def initialize(instanceid=nil, diskids=nil, aligntype=nil, cvminstanceids=nil, createdisk=nil, diskspec=nil, deletewithinstance=nil, selectiveconfservices=nil, chargetype=nil, underwriteduration=nil)
|
354
358
|
@InstanceId = instanceid
|
355
359
|
@DiskIds = diskids
|
356
360
|
@AlignType = aligntype
|
@@ -359,6 +363,8 @@ module TencentCloud
|
|
359
363
|
@DiskSpec = diskspec
|
360
364
|
@DeleteWithInstance = deletewithinstance
|
361
365
|
@SelectiveConfServices = selectiveconfservices
|
366
|
+
@ChargeType = chargetype
|
367
|
+
@UnderWriteDuration = underwriteduration
|
362
368
|
end
|
363
369
|
|
364
370
|
def deserialize(params)
|
@@ -373,6 +379,8 @@ module TencentCloud
|
|
373
379
|
end
|
374
380
|
@DeleteWithInstance = params['DeleteWithInstance']
|
375
381
|
@SelectiveConfServices = params['SelectiveConfServices']
|
382
|
+
@ChargeType = params['ChargeType']
|
383
|
+
@UnderWriteDuration = params['UnderWriteDuration']
|
376
384
|
end
|
377
385
|
end
|
378
386
|
|
@@ -632,10 +640,12 @@ module TencentCloud
|
|
632
640
|
# @type Shareable: Boolean
|
633
641
|
# @param EmrResourceId: emr节点ID
|
634
642
|
# @type EmrResourceId: String
|
643
|
+
# @param UnderwriteExpiredTime: 包销到期时间
|
644
|
+
# @type UnderwriteExpiredTime: String
|
635
645
|
|
636
|
-
attr_accessor :DiskId, :DiskUsage, :DiskName, :DiskSize, :DiskType, :DeleteWithInstance, :DiskChargeType, :DiskState, :RenewFlag, :DeadlineTime, :Attached, :DifferDaysOfDeadline, :InstanceIdList, :InstanceId, :Shareable, :EmrResourceId
|
646
|
+
attr_accessor :DiskId, :DiskUsage, :DiskName, :DiskSize, :DiskType, :DeleteWithInstance, :DiskChargeType, :DiskState, :RenewFlag, :DeadlineTime, :Attached, :DifferDaysOfDeadline, :InstanceIdList, :InstanceId, :Shareable, :EmrResourceId, :UnderwriteExpiredTime
|
637
647
|
|
638
|
-
def initialize(diskid=nil, diskusage=nil, diskname=nil, disksize=nil, disktype=nil, deletewithinstance=nil, diskchargetype=nil, diskstate=nil, renewflag=nil, deadlinetime=nil, attached=nil, differdaysofdeadline=nil, instanceidlist=nil, instanceid=nil, shareable=nil, emrresourceid=nil)
|
648
|
+
def initialize(diskid=nil, diskusage=nil, diskname=nil, disksize=nil, disktype=nil, deletewithinstance=nil, diskchargetype=nil, diskstate=nil, renewflag=nil, deadlinetime=nil, attached=nil, differdaysofdeadline=nil, instanceidlist=nil, instanceid=nil, shareable=nil, emrresourceid=nil, underwriteexpiredtime=nil)
|
639
649
|
@DiskId = diskid
|
640
650
|
@DiskUsage = diskusage
|
641
651
|
@DiskName = diskname
|
@@ -652,6 +662,7 @@ module TencentCloud
|
|
652
662
|
@InstanceId = instanceid
|
653
663
|
@Shareable = shareable
|
654
664
|
@EmrResourceId = emrresourceid
|
665
|
+
@UnderwriteExpiredTime = underwriteexpiredtime
|
655
666
|
end
|
656
667
|
|
657
668
|
def deserialize(params)
|
@@ -671,6 +682,7 @@ module TencentCloud
|
|
671
682
|
@InstanceId = params['InstanceId']
|
672
683
|
@Shareable = params['Shareable']
|
673
684
|
@EmrResourceId = params['EmrResourceId']
|
685
|
+
@UnderwriteExpiredTime = params['UnderwriteExpiredTime']
|
674
686
|
end
|
675
687
|
end
|
676
688
|
|
@@ -1076,15 +1088,17 @@ module TencentCloud
|
|
1076
1088
|
# @param ClusterRelationInfoList: rss集群的绑定列表
|
1077
1089
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1078
1090
|
# @type ClusterRelationInfoList: Array
|
1091
|
+
# @param RedisId: Redis信息
|
1092
|
+
# @type RedisId: String
|
1079
1093
|
|
1080
|
-
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
|
1094
|
+
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, :RedisId
|
1081
1095
|
extend Gem::Deprecate
|
1082
|
-
deprecate :Ftitle, :none, 2025,
|
1083
|
-
deprecate :Ftitle=, :none, 2025,
|
1084
|
-
deprecate :Config, :none, 2025,
|
1085
|
-
deprecate :Config=, :none, 2025,
|
1096
|
+
deprecate :Ftitle, :none, 2025, 7
|
1097
|
+
deprecate :Ftitle=, :none, 2025, 7
|
1098
|
+
deprecate :Config, :none, 2025, 7
|
1099
|
+
deprecate :Config=, :none, 2025, 7
|
1086
1100
|
|
1087
|
-
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)
|
1101
|
+
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, redisid=nil)
|
1088
1102
|
@Id = id
|
1089
1103
|
@ClusterId = clusterid
|
1090
1104
|
@Ftitle = ftitle
|
@@ -1131,6 +1145,7 @@ module TencentCloud
|
|
1131
1145
|
@ConfigDetail = configdetail
|
1132
1146
|
@BindFileSystemNum = bindfilesystemnum
|
1133
1147
|
@ClusterRelationInfoList = clusterrelationinfolist
|
1148
|
+
@RedisId = redisid
|
1134
1149
|
end
|
1135
1150
|
|
1136
1151
|
def deserialize(params)
|
@@ -1214,6 +1229,7 @@ module TencentCloud
|
|
1214
1229
|
@ClusterRelationInfoList << clusterrelationmeta_tmp
|
1215
1230
|
end
|
1216
1231
|
end
|
1232
|
+
@RedisId = params['RedisId']
|
1217
1233
|
end
|
1218
1234
|
end
|
1219
1235
|
|
@@ -1570,6 +1586,66 @@ module TencentCloud
|
|
1570
1586
|
end
|
1571
1587
|
end
|
1572
1588
|
|
1589
|
+
# 配置项(配置管理页)
|
1590
|
+
class ConfigurationItem < TencentCloud::Common::AbstractModel
|
1591
|
+
# @param Name: 配置项名称
|
1592
|
+
# @type Name: String
|
1593
|
+
# @param Value: 配置项值
|
1594
|
+
# @type Value: String
|
1595
|
+
# @param InFile: 所在的配置文件名
|
1596
|
+
# @type InFile: String
|
1597
|
+
|
1598
|
+
attr_accessor :Name, :Value, :InFile
|
1599
|
+
|
1600
|
+
def initialize(name=nil, value=nil, infile=nil)
|
1601
|
+
@Name = name
|
1602
|
+
@Value = value
|
1603
|
+
@InFile = infile
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
def deserialize(params)
|
1607
|
+
@Name = params['Name']
|
1608
|
+
@Value = params['Value']
|
1609
|
+
@InFile = params['InFile']
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
# ConvertPreToPostCluster请求参数结构体
|
1614
|
+
class ConvertPreToPostClusterRequest < TencentCloud::Common::AbstractModel
|
1615
|
+
# @param InstanceId: 集群实例ID。
|
1616
|
+
# @type InstanceId: String
|
1617
|
+
# @param ClientToken: 5min内不可重入标识,订单标识
|
1618
|
+
# @type ClientToken: String
|
1619
|
+
|
1620
|
+
attr_accessor :InstanceId, :ClientToken
|
1621
|
+
|
1622
|
+
def initialize(instanceid=nil, clienttoken=nil)
|
1623
|
+
@InstanceId = instanceid
|
1624
|
+
@ClientToken = clienttoken
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
def deserialize(params)
|
1628
|
+
@InstanceId = params['InstanceId']
|
1629
|
+
@ClientToken = params['ClientToken']
|
1630
|
+
end
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
# ConvertPreToPostCluster返回参数结构体
|
1634
|
+
class ConvertPreToPostClusterResponse < TencentCloud::Common::AbstractModel
|
1635
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1636
|
+
# @type RequestId: String
|
1637
|
+
|
1638
|
+
attr_accessor :RequestId
|
1639
|
+
|
1640
|
+
def initialize(requestid=nil)
|
1641
|
+
@RequestId = requestid
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
def deserialize(params)
|
1645
|
+
@RequestId = params['RequestId']
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
|
1573
1649
|
# CreateCloudInstance请求参数结构体
|
1574
1650
|
class CreateCloudInstanceRequest < TencentCloud::Common::AbstractModel
|
1575
1651
|
# @param InstanceName: 实例名称。
|
@@ -2056,10 +2132,12 @@ module TencentCloud
|
|
2056
2132
|
# @type CosBucket: String
|
2057
2133
|
# @param NodeMarks: 节点标识信息,目前只提供给tf平台使用
|
2058
2134
|
# @type NodeMarks: Array
|
2135
|
+
# @param LoadBalancerId: CLB id
|
2136
|
+
# @type LoadBalancerId: String
|
2059
2137
|
|
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
|
2138
|
+
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, :LoadBalancerId
|
2061
2139
|
|
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)
|
2140
|
+
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, loadbalancerid=nil)
|
2063
2141
|
@ProductId = productid
|
2064
2142
|
@Software = software
|
2065
2143
|
@SupportHA = supportha
|
@@ -2094,6 +2172,7 @@ module TencentCloud
|
|
2094
2172
|
@MultiZoneSettings = multizonesettings
|
2095
2173
|
@CosBucket = cosbucket
|
2096
2174
|
@NodeMarks = nodemarks
|
2175
|
+
@LoadBalancerId = loadbalancerid
|
2097
2176
|
end
|
2098
2177
|
|
2099
2178
|
def deserialize(params)
|
@@ -2184,6 +2263,7 @@ module TencentCloud
|
|
2184
2263
|
@NodeMarks << nodemark_tmp
|
2185
2264
|
end
|
2186
2265
|
end
|
2266
|
+
@LoadBalancerId = params['LoadBalancerId']
|
2187
2267
|
end
|
2188
2268
|
end
|
2189
2269
|
|
@@ -4420,6 +4500,177 @@ module TencentCloud
|
|
4420
4500
|
end
|
4421
4501
|
end
|
4422
4502
|
|
4503
|
+
# 节点规格
|
4504
|
+
class DescribeNodeSpec < TencentCloud::Common::AbstractModel
|
4505
|
+
# @param NodeType: 节点类型
|
4506
|
+
# @type NodeType: String
|
4507
|
+
# @param NodeName: 节点类型名称
|
4508
|
+
# @type NodeName: String
|
4509
|
+
# @param Types: Types数组
|
4510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4511
|
+
# @type Types: Array
|
4512
|
+
# @param CmnTypes: 云托管节点机型规格列表
|
4513
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4514
|
+
# @type CmnTypes: Array
|
4515
|
+
|
4516
|
+
attr_accessor :NodeType, :NodeName, :Types, :CmnTypes
|
4517
|
+
|
4518
|
+
def initialize(nodetype=nil, nodename=nil, types=nil, cmntypes=nil)
|
4519
|
+
@NodeType = nodetype
|
4520
|
+
@NodeName = nodename
|
4521
|
+
@Types = types
|
4522
|
+
@CmnTypes = cmntypes
|
4523
|
+
end
|
4524
|
+
|
4525
|
+
def deserialize(params)
|
4526
|
+
@NodeType = params['NodeType']
|
4527
|
+
@NodeName = params['NodeName']
|
4528
|
+
unless params['Types'].nil?
|
4529
|
+
@Types = []
|
4530
|
+
params['Types'].each do |i|
|
4531
|
+
nodespectype_tmp = NodeSpecType.new
|
4532
|
+
nodespectype_tmp.deserialize(i)
|
4533
|
+
@Types << nodespectype_tmp
|
4534
|
+
end
|
4535
|
+
end
|
4536
|
+
unless params['CmnTypes'].nil?
|
4537
|
+
@CmnTypes = []
|
4538
|
+
params['CmnTypes'].each do |i|
|
4539
|
+
nodespectype_tmp = NodeSpecType.new
|
4540
|
+
nodespectype_tmp.deserialize(i)
|
4541
|
+
@CmnTypes << nodespectype_tmp
|
4542
|
+
end
|
4543
|
+
end
|
4544
|
+
end
|
4545
|
+
end
|
4546
|
+
|
4547
|
+
# DescribeNodeSpec请求参数结构体
|
4548
|
+
class DescribeNodeSpecRequest < TencentCloud::Common::AbstractModel
|
4549
|
+
# @param ZoneId: 可用区Id,可以通过https://document.capi.woa.com/document/api/1605/76892查询相关信息
|
4550
|
+
# @type ZoneId: Integer
|
4551
|
+
# @param CvmPayMode: 0,按量,1包年包月,99按量+包年包月,错填将不会展示费用信息
|
4552
|
+
# @type CvmPayMode: Integer
|
4553
|
+
# @param NodeType: 节点类型,Master,Core,Task,Router,All
|
4554
|
+
# @type NodeType: String
|
4555
|
+
# @param TradeType: 0:旧计费页面,1:新计费页面。 错填,默认为旧计费
|
4556
|
+
# @type TradeType: Integer
|
4557
|
+
# @param ProductId: 产品Id,不填为0,则表示所有productId,前台使用必填
|
4558
|
+
|
4559
|
+
# 44 EMR V3.5.0
|
4560
|
+
# 43 EMR V3.4.0.tlinux
|
4561
|
+
# 42 EMR V2.7.0.tlinux
|
4562
|
+
# 41 DRUID V1.1.0
|
4563
|
+
# 67 STARROCKS V2.2.0
|
4564
|
+
# 45 DRUID V1.1.0.tlinux
|
4565
|
+
# 40 EMRCLOUD v3.2.0
|
4566
|
+
# 47 EMR V4.0.0
|
4567
|
+
# 48 STARROCKS V1.2.0
|
4568
|
+
# 49 STARROCKS V1.3.0
|
4569
|
+
# 50 KAFKA V2.0.0
|
4570
|
+
# 51 STARROCKS V1.4.0
|
4571
|
+
# 52 EMR-TKE V1.0.0
|
4572
|
+
# 53 EMR V3.6.0
|
4573
|
+
# 54 STARROCKS V2.0.0
|
4574
|
+
# 55 EMR-TKE V1.0.1
|
4575
|
+
# 56 EMR-TKE DLCV1.0.0
|
4576
|
+
# 57 EMR V2.8.0
|
4577
|
+
# 58 EMR V3.6.1
|
4578
|
+
# 59 SERVERLESS V1.0.0
|
4579
|
+
# 60 EMR-TKE V1.1.0
|
4580
|
+
# 62 STARROCKS V2.1.1
|
4581
|
+
# 63 STARROCKS V2.1.1.tlinux
|
4582
|
+
# 64 EMR-TKE TCCV1.0.0
|
4583
|
+
# 65 EMR-TKE-AI V1.0.0
|
4584
|
+
# 66 RSS V1.0.0
|
4585
|
+
# 24 EMR TianQiong-V1.0.0
|
4586
|
+
# 3 EMR V2.0.1.tlinux
|
4587
|
+
# 4 EMR V2.1.0
|
4588
|
+
# 7 EMR V3.0.0
|
4589
|
+
# 8 EMR V3.0.0.tlinux
|
4590
|
+
# 9 EMR V2.2.0
|
4591
|
+
# 11 CLICKHOUSE V1.0.0
|
4592
|
+
# 12 CLICKHOUSE V1.0.0.tlinux
|
4593
|
+
# 16 EMR V2.3.0
|
4594
|
+
# 17 CLICKHOUSE V1.1.0
|
4595
|
+
# 18 CLICKHOUSE V1.1.0.tlinux
|
4596
|
+
# 19 EMR V2.4.0
|
4597
|
+
# 20 EMR V2.5.0
|
4598
|
+
# 21 USERCUSTOM V1.0.0
|
4599
|
+
# 22 CLICKHOUSE V1.2.0
|
4600
|
+
# 39 STARROCKS V1.1.0
|
4601
|
+
# 25 EMR V3.1.0
|
4602
|
+
# 26 DORIS V1.0.0
|
4603
|
+
# 27 KAFKA V1.0.0
|
4604
|
+
# 28 EMR V3.2.0
|
4605
|
+
# 29 EMR V2.5.1
|
4606
|
+
# 30 EMR V2.6.0
|
4607
|
+
# 32 DORIS V1.1.0
|
4608
|
+
# 33 EMR V3.2.1
|
4609
|
+
# 34 EMR V3.3.0
|
4610
|
+
# 35 DORIS V1.2.0
|
4611
|
+
# 36 STARROCKS V1.0.0
|
4612
|
+
# 37 EMR V3.4.0
|
4613
|
+
# 38 EMR V2.7.0
|
4614
|
+
# @type ProductId: Integer
|
4615
|
+
# @param SceneName: 场景名
|
4616
|
+
# @type SceneName: String
|
4617
|
+
# @param ResourceBaseType: 类型为ComputeResource和EMR以及默认,默认为EMR
|
4618
|
+
# @type ResourceBaseType: String
|
4619
|
+
# @param ComputeResourceId: 计算资源id
|
4620
|
+
# @type ComputeResourceId: String
|
4621
|
+
|
4622
|
+
attr_accessor :ZoneId, :CvmPayMode, :NodeType, :TradeType, :ProductId, :SceneName, :ResourceBaseType, :ComputeResourceId
|
4623
|
+
|
4624
|
+
def initialize(zoneid=nil, cvmpaymode=nil, nodetype=nil, tradetype=nil, productid=nil, scenename=nil, resourcebasetype=nil, computeresourceid=nil)
|
4625
|
+
@ZoneId = zoneid
|
4626
|
+
@CvmPayMode = cvmpaymode
|
4627
|
+
@NodeType = nodetype
|
4628
|
+
@TradeType = tradetype
|
4629
|
+
@ProductId = productid
|
4630
|
+
@SceneName = scenename
|
4631
|
+
@ResourceBaseType = resourcebasetype
|
4632
|
+
@ComputeResourceId = computeresourceid
|
4633
|
+
end
|
4634
|
+
|
4635
|
+
def deserialize(params)
|
4636
|
+
@ZoneId = params['ZoneId']
|
4637
|
+
@CvmPayMode = params['CvmPayMode']
|
4638
|
+
@NodeType = params['NodeType']
|
4639
|
+
@TradeType = params['TradeType']
|
4640
|
+
@ProductId = params['ProductId']
|
4641
|
+
@SceneName = params['SceneName']
|
4642
|
+
@ResourceBaseType = params['ResourceBaseType']
|
4643
|
+
@ComputeResourceId = params['ComputeResourceId']
|
4644
|
+
end
|
4645
|
+
end
|
4646
|
+
|
4647
|
+
# DescribeNodeSpec返回参数结构体
|
4648
|
+
class DescribeNodeSpecResponse < TencentCloud::Common::AbstractModel
|
4649
|
+
# @param NodeSpecs: 节点规格类型
|
4650
|
+
# @type NodeSpecs: Array
|
4651
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4652
|
+
# @type RequestId: String
|
4653
|
+
|
4654
|
+
attr_accessor :NodeSpecs, :RequestId
|
4655
|
+
|
4656
|
+
def initialize(nodespecs=nil, requestid=nil)
|
4657
|
+
@NodeSpecs = nodespecs
|
4658
|
+
@RequestId = requestid
|
4659
|
+
end
|
4660
|
+
|
4661
|
+
def deserialize(params)
|
4662
|
+
unless params['NodeSpecs'].nil?
|
4663
|
+
@NodeSpecs = []
|
4664
|
+
params['NodeSpecs'].each do |i|
|
4665
|
+
describenodespec_tmp = DescribeNodeSpec.new
|
4666
|
+
describenodespec_tmp.deserialize(i)
|
4667
|
+
@NodeSpecs << describenodespec_tmp
|
4668
|
+
end
|
4669
|
+
end
|
4670
|
+
@RequestId = params['RequestId']
|
4671
|
+
end
|
4672
|
+
end
|
4673
|
+
|
4423
4674
|
# DescribeResourceConfig接口出参
|
4424
4675
|
class DescribeResourceConfig < TencentCloud::Common::AbstractModel
|
4425
4676
|
# @param ResourceType: 规格管理类型
|
@@ -4732,6 +4983,69 @@ module TencentCloud
|
|
4732
4983
|
end
|
4733
4984
|
end
|
4734
4985
|
|
4986
|
+
# DescribeServiceConfGroupInfos请求参数结构体
|
4987
|
+
class DescribeServiceConfGroupInfosRequest < TencentCloud::Common::AbstractModel
|
4988
|
+
# @param InstanceId: 集群id
|
4989
|
+
# @type InstanceId: String
|
4990
|
+
# @param ServiceName: 组件名
|
4991
|
+
# @type ServiceName: String
|
4992
|
+
# @param ConfGroupName: 配置组名称
|
4993
|
+
# @type ConfGroupName: String
|
4994
|
+
# @param PageNo: 页码,从1开始
|
4995
|
+
# @type PageNo: Integer
|
4996
|
+
# @param PageSize: 页大小
|
4997
|
+
# @type PageSize: Integer
|
4998
|
+
|
4999
|
+
attr_accessor :InstanceId, :ServiceName, :ConfGroupName, :PageNo, :PageSize
|
5000
|
+
|
5001
|
+
def initialize(instanceid=nil, servicename=nil, confgroupname=nil, pageno=nil, pagesize=nil)
|
5002
|
+
@InstanceId = instanceid
|
5003
|
+
@ServiceName = servicename
|
5004
|
+
@ConfGroupName = confgroupname
|
5005
|
+
@PageNo = pageno
|
5006
|
+
@PageSize = pagesize
|
5007
|
+
end
|
5008
|
+
|
5009
|
+
def deserialize(params)
|
5010
|
+
@InstanceId = params['InstanceId']
|
5011
|
+
@ServiceName = params['ServiceName']
|
5012
|
+
@ConfGroupName = params['ConfGroupName']
|
5013
|
+
@PageNo = params['PageNo']
|
5014
|
+
@PageSize = params['PageSize']
|
5015
|
+
end
|
5016
|
+
end
|
5017
|
+
|
5018
|
+
# DescribeServiceConfGroupInfos返回参数结构体
|
5019
|
+
class DescribeServiceConfGroupInfosResponse < TencentCloud::Common::AbstractModel
|
5020
|
+
# @param TotalCount: 列表大小
|
5021
|
+
# @type TotalCount: Integer
|
5022
|
+
# @param ConfItemKVList: 配置项key value列表
|
5023
|
+
# @type ConfItemKVList: Array
|
5024
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5025
|
+
# @type RequestId: String
|
5026
|
+
|
5027
|
+
attr_accessor :TotalCount, :ConfItemKVList, :RequestId
|
5028
|
+
|
5029
|
+
def initialize(totalcount=nil, confitemkvlist=nil, requestid=nil)
|
5030
|
+
@TotalCount = totalcount
|
5031
|
+
@ConfItemKVList = confitemkvlist
|
5032
|
+
@RequestId = requestid
|
5033
|
+
end
|
5034
|
+
|
5035
|
+
def deserialize(params)
|
5036
|
+
@TotalCount = params['TotalCount']
|
5037
|
+
unless params['ConfItemKVList'].nil?
|
5038
|
+
@ConfItemKVList = []
|
5039
|
+
params['ConfItemKVList'].each do |i|
|
5040
|
+
configurationitem_tmp = ConfigurationItem.new
|
5041
|
+
configurationitem_tmp.deserialize(i)
|
5042
|
+
@ConfItemKVList << configurationitem_tmp
|
5043
|
+
end
|
5044
|
+
end
|
5045
|
+
@RequestId = params['RequestId']
|
5046
|
+
end
|
5047
|
+
end
|
5048
|
+
|
4735
5049
|
# DescribeServiceNodeInfos请求参数结构体
|
4736
5050
|
class DescribeServiceNodeInfosRequest < TencentCloud::Common::AbstractModel
|
4737
5051
|
# @param InstanceId: 实例ID
|
@@ -7788,11 +8102,15 @@ module TencentCloud
|
|
7788
8102
|
# @param LoadMetrics: 触发规则条件
|
7789
8103
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7790
8104
|
# @type LoadMetrics: Array
|
8105
|
+
# @param Match: 0:所有条件满足
|
8106
|
+
# 1:满足任意一个
|
8107
|
+
# @type Match: Integer
|
7791
8108
|
|
7792
|
-
attr_accessor :LoadMetrics
|
8109
|
+
attr_accessor :LoadMetrics, :Match
|
7793
8110
|
|
7794
|
-
def initialize(loadmetrics=nil)
|
8111
|
+
def initialize(loadmetrics=nil, match=nil)
|
7795
8112
|
@LoadMetrics = loadmetrics
|
8113
|
+
@Match = match
|
7796
8114
|
end
|
7797
8115
|
|
7798
8116
|
def deserialize(params)
|
@@ -7804,6 +8122,7 @@ module TencentCloud
|
|
7804
8122
|
@LoadMetrics << loadmetricscondition_tmp
|
7805
8123
|
end
|
7806
8124
|
end
|
8125
|
+
@Match = params['Match']
|
7807
8126
|
end
|
7808
8127
|
end
|
7809
8128
|
|
@@ -9227,10 +9546,14 @@ module TencentCloud
|
|
9227
9546
|
# @type ConfigurableServices: Array
|
9228
9547
|
# @param NodeMark: 节点标注信息,目前只提供给tf平台使用
|
9229
9548
|
# @type NodeMark: String
|
9549
|
+
# @param UnderwriteSetAutoRenew: 包销资源是否支持设置自动续费
|
9550
|
+
# @type UnderwriteSetAutoRenew: Boolean
|
9551
|
+
# @param GpuDesc: Gpu信息
|
9552
|
+
# @type GpuDesc: String
|
9230
9553
|
|
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
|
9554
|
+
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, :UnderwriteSetAutoRenew, :GpuDesc
|
9232
9555
|
|
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)
|
9556
|
+
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, underwritesetautorenew=nil, gpudesc=nil)
|
9234
9557
|
@AppId = appid
|
9235
9558
|
@SerialNo = serialno
|
9236
9559
|
@OrderNo = orderno
|
@@ -9289,6 +9612,8 @@ module TencentCloud
|
|
9289
9612
|
@TkeClusterId = tkeclusterid
|
9290
9613
|
@ConfigurableServices = configurableservices
|
9291
9614
|
@NodeMark = nodemark
|
9615
|
+
@UnderwriteSetAutoRenew = underwritesetautorenew
|
9616
|
+
@GpuDesc = gpudesc
|
9292
9617
|
end
|
9293
9618
|
|
9294
9619
|
def deserialize(params)
|
@@ -9370,6 +9695,8 @@ module TencentCloud
|
|
9370
9695
|
@TkeClusterId = params['TkeClusterId']
|
9371
9696
|
@ConfigurableServices = params['ConfigurableServices']
|
9372
9697
|
@NodeMark = params['NodeMark']
|
9698
|
+
@UnderwriteSetAutoRenew = params['UnderwriteSetAutoRenew']
|
9699
|
+
@GpuDesc = params['GpuDesc']
|
9373
9700
|
end
|
9374
9701
|
end
|
9375
9702
|
|
@@ -9630,6 +9957,34 @@ module TencentCloud
|
|
9630
9957
|
end
|
9631
9958
|
end
|
9632
9959
|
|
9960
|
+
# 节点磁盘类型
|
9961
|
+
class NodeSpecDisk < TencentCloud::Common::AbstractModel
|
9962
|
+
# @param Count: 数量
|
9963
|
+
# @type Count: Integer
|
9964
|
+
# @param Name: 名字
|
9965
|
+
# @type Name: String
|
9966
|
+
# @param DiskType: 磁盘类型
|
9967
|
+
# @type DiskType: String
|
9968
|
+
# @param DefaultDiskSize: 指定磁盘大小
|
9969
|
+
# @type DefaultDiskSize: Integer
|
9970
|
+
|
9971
|
+
attr_accessor :Count, :Name, :DiskType, :DefaultDiskSize
|
9972
|
+
|
9973
|
+
def initialize(count=nil, name=nil, disktype=nil, defaultdisksize=nil)
|
9974
|
+
@Count = count
|
9975
|
+
@Name = name
|
9976
|
+
@DiskType = disktype
|
9977
|
+
@DefaultDiskSize = defaultdisksize
|
9978
|
+
end
|
9979
|
+
|
9980
|
+
def deserialize(params)
|
9981
|
+
@Count = params['Count']
|
9982
|
+
@Name = params['Name']
|
9983
|
+
@DiskType = params['DiskType']
|
9984
|
+
@DefaultDiskSize = params['DefaultDiskSize']
|
9985
|
+
end
|
9986
|
+
end
|
9987
|
+
|
9633
9988
|
# 节点磁盘类型
|
9634
9989
|
class NodeSpecDiskV2 < TencentCloud::Common::AbstractModel
|
9635
9990
|
# @param Count: 数量
|
@@ -9658,6 +10013,199 @@ module TencentCloud
|
|
9658
10013
|
end
|
9659
10014
|
end
|
9660
10015
|
|
10016
|
+
# 节点机型列族
|
10017
|
+
class NodeSpecFamily < TencentCloud::Common::AbstractModel
|
10018
|
+
# @param InstanceFamily: 机型
|
10019
|
+
# @type InstanceFamily: String
|
10020
|
+
# @param FamilyName: 机型名称
|
10021
|
+
# @type FamilyName: String
|
10022
|
+
# @param Order: 排序
|
10023
|
+
# @type Order: Integer
|
10024
|
+
# @param InstanceTypes: InstanceType的列表
|
10025
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10026
|
+
# @type InstanceTypes: Array
|
10027
|
+
|
10028
|
+
attr_accessor :InstanceFamily, :FamilyName, :Order, :InstanceTypes
|
10029
|
+
|
10030
|
+
def initialize(instancefamily=nil, familyname=nil, order=nil, instancetypes=nil)
|
10031
|
+
@InstanceFamily = instancefamily
|
10032
|
+
@FamilyName = familyname
|
10033
|
+
@Order = order
|
10034
|
+
@InstanceTypes = instancetypes
|
10035
|
+
end
|
10036
|
+
|
10037
|
+
def deserialize(params)
|
10038
|
+
@InstanceFamily = params['InstanceFamily']
|
10039
|
+
@FamilyName = params['FamilyName']
|
10040
|
+
@Order = params['Order']
|
10041
|
+
unless params['InstanceTypes'].nil?
|
10042
|
+
@InstanceTypes = []
|
10043
|
+
params['InstanceTypes'].each do |i|
|
10044
|
+
nodespecinstancetype_tmp = NodeSpecInstanceType.new
|
10045
|
+
nodespecinstancetype_tmp.deserialize(i)
|
10046
|
+
@InstanceTypes << nodespecinstancetype_tmp
|
10047
|
+
end
|
10048
|
+
end
|
10049
|
+
end
|
10050
|
+
end
|
10051
|
+
|
10052
|
+
# 节点规格类型
|
10053
|
+
class NodeSpecInstanceType < TencentCloud::Common::AbstractModel
|
10054
|
+
# @param InstanceType: 规格
|
10055
|
+
# @type InstanceType: String
|
10056
|
+
# @param Cpu: 4
|
10057
|
+
# @type Cpu: Integer
|
10058
|
+
# @param Memory: 8,单位G
|
10059
|
+
# @type Memory: Integer
|
10060
|
+
# @param Order: 排序,越小排的越前
|
10061
|
+
# @type Order: Integer
|
10062
|
+
# @param Num: 数量
|
10063
|
+
# @type Num: Integer
|
10064
|
+
# @param SellOutReason: 售罄原因
|
10065
|
+
# @type SellOutReason: String
|
10066
|
+
# @param SystemDisk: 系统盘
|
10067
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10068
|
+
# @type SystemDisk: Array
|
10069
|
+
# @param DataDisk: 数据盘
|
10070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10071
|
+
# @type DataDisk: Array
|
10072
|
+
# @param LocalDataDisk: 本地数据盘
|
10073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10074
|
+
# @type LocalDataDisk: Array
|
10075
|
+
# @param SoldOutReason: 售罄原因
|
10076
|
+
# @type SoldOutReason: String
|
10077
|
+
# @param InstanceFamily: 机型类别
|
10078
|
+
# @type InstanceFamily: String
|
10079
|
+
# @param NodeName: 节点名称
|
10080
|
+
# @type NodeName: String
|
10081
|
+
# @param NodeType: 节点类型
|
10082
|
+
# @type NodeType: String
|
10083
|
+
# @param Type: 类别
|
10084
|
+
# @type Type: String
|
10085
|
+
# @param TypeName: 类别名称
|
10086
|
+
# @type TypeName: String
|
10087
|
+
# @param FamilyName: 类别分类
|
10088
|
+
# @type FamilyName: String
|
10089
|
+
# @param CpuType: cpu类型
|
10090
|
+
# @type CpuType: String
|
10091
|
+
# @param Remark: 售罄 RunOut、库存少 Less、充足 Enough
|
10092
|
+
# @type Remark: String
|
10093
|
+
# @param OriginPrice: 原价
|
10094
|
+
# @type OriginPrice: Float
|
10095
|
+
# @param PrepaidUnderwritePeriods: 包销计费机型支持的购买时长
|
10096
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10097
|
+
# @type PrepaidUnderwritePeriods: Array
|
10098
|
+
# @param GpuDesc: GPU信息
|
10099
|
+
# @type GpuDesc: String
|
10100
|
+
|
10101
|
+
attr_accessor :InstanceType, :Cpu, :Memory, :Order, :Num, :SellOutReason, :SystemDisk, :DataDisk, :LocalDataDisk, :SoldOutReason, :InstanceFamily, :NodeName, :NodeType, :Type, :TypeName, :FamilyName, :CpuType, :Remark, :OriginPrice, :PrepaidUnderwritePeriods, :GpuDesc
|
10102
|
+
|
10103
|
+
def initialize(instancetype=nil, cpu=nil, memory=nil, order=nil, num=nil, selloutreason=nil, systemdisk=nil, datadisk=nil, localdatadisk=nil, soldoutreason=nil, instancefamily=nil, nodename=nil, nodetype=nil, type=nil, typename=nil, familyname=nil, cputype=nil, remark=nil, originprice=nil, prepaidunderwriteperiods=nil, gpudesc=nil)
|
10104
|
+
@InstanceType = instancetype
|
10105
|
+
@Cpu = cpu
|
10106
|
+
@Memory = memory
|
10107
|
+
@Order = order
|
10108
|
+
@Num = num
|
10109
|
+
@SellOutReason = selloutreason
|
10110
|
+
@SystemDisk = systemdisk
|
10111
|
+
@DataDisk = datadisk
|
10112
|
+
@LocalDataDisk = localdatadisk
|
10113
|
+
@SoldOutReason = soldoutreason
|
10114
|
+
@InstanceFamily = instancefamily
|
10115
|
+
@NodeName = nodename
|
10116
|
+
@NodeType = nodetype
|
10117
|
+
@Type = type
|
10118
|
+
@TypeName = typename
|
10119
|
+
@FamilyName = familyname
|
10120
|
+
@CpuType = cputype
|
10121
|
+
@Remark = remark
|
10122
|
+
@OriginPrice = originprice
|
10123
|
+
@PrepaidUnderwritePeriods = prepaidunderwriteperiods
|
10124
|
+
@GpuDesc = gpudesc
|
10125
|
+
end
|
10126
|
+
|
10127
|
+
def deserialize(params)
|
10128
|
+
@InstanceType = params['InstanceType']
|
10129
|
+
@Cpu = params['Cpu']
|
10130
|
+
@Memory = params['Memory']
|
10131
|
+
@Order = params['Order']
|
10132
|
+
@Num = params['Num']
|
10133
|
+
@SellOutReason = params['SellOutReason']
|
10134
|
+
unless params['SystemDisk'].nil?
|
10135
|
+
@SystemDisk = []
|
10136
|
+
params['SystemDisk'].each do |i|
|
10137
|
+
nodespecdisk_tmp = NodeSpecDisk.new
|
10138
|
+
nodespecdisk_tmp.deserialize(i)
|
10139
|
+
@SystemDisk << nodespecdisk_tmp
|
10140
|
+
end
|
10141
|
+
end
|
10142
|
+
unless params['DataDisk'].nil?
|
10143
|
+
@DataDisk = []
|
10144
|
+
params['DataDisk'].each do |i|
|
10145
|
+
nodespecdisk_tmp = NodeSpecDisk.new
|
10146
|
+
nodespecdisk_tmp.deserialize(i)
|
10147
|
+
@DataDisk << nodespecdisk_tmp
|
10148
|
+
end
|
10149
|
+
end
|
10150
|
+
unless params['LocalDataDisk'].nil?
|
10151
|
+
@LocalDataDisk = []
|
10152
|
+
params['LocalDataDisk'].each do |i|
|
10153
|
+
nodespecdisk_tmp = NodeSpecDisk.new
|
10154
|
+
nodespecdisk_tmp.deserialize(i)
|
10155
|
+
@LocalDataDisk << nodespecdisk_tmp
|
10156
|
+
end
|
10157
|
+
end
|
10158
|
+
@SoldOutReason = params['SoldOutReason']
|
10159
|
+
@InstanceFamily = params['InstanceFamily']
|
10160
|
+
@NodeName = params['NodeName']
|
10161
|
+
@NodeType = params['NodeType']
|
10162
|
+
@Type = params['Type']
|
10163
|
+
@TypeName = params['TypeName']
|
10164
|
+
@FamilyName = params['FamilyName']
|
10165
|
+
@CpuType = params['CpuType']
|
10166
|
+
@Remark = params['Remark']
|
10167
|
+
@OriginPrice = params['OriginPrice']
|
10168
|
+
@PrepaidUnderwritePeriods = params['PrepaidUnderwritePeriods']
|
10169
|
+
@GpuDesc = params['GpuDesc']
|
10170
|
+
end
|
10171
|
+
end
|
10172
|
+
|
10173
|
+
# 节点机型类型
|
10174
|
+
class NodeSpecType < TencentCloud::Common::AbstractModel
|
10175
|
+
# @param Type: 机型序列
|
10176
|
+
# @type Type: String
|
10177
|
+
# @param TypeName: 机型序列名字
|
10178
|
+
# @type TypeName: String
|
10179
|
+
# @param Order: 排序
|
10180
|
+
# @type Order: Integer
|
10181
|
+
# @param InstanceFamilies: InstanceFamily数组
|
10182
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10183
|
+
# @type InstanceFamilies: Array
|
10184
|
+
|
10185
|
+
attr_accessor :Type, :TypeName, :Order, :InstanceFamilies
|
10186
|
+
|
10187
|
+
def initialize(type=nil, typename=nil, order=nil, instancefamilies=nil)
|
10188
|
+
@Type = type
|
10189
|
+
@TypeName = typename
|
10190
|
+
@Order = order
|
10191
|
+
@InstanceFamilies = instancefamilies
|
10192
|
+
end
|
10193
|
+
|
10194
|
+
def deserialize(params)
|
10195
|
+
@Type = params['Type']
|
10196
|
+
@TypeName = params['TypeName']
|
10197
|
+
@Order = params['Order']
|
10198
|
+
unless params['InstanceFamilies'].nil?
|
10199
|
+
@InstanceFamilies = []
|
10200
|
+
params['InstanceFamilies'].each do |i|
|
10201
|
+
nodespecfamily_tmp = NodeSpecFamily.new
|
10202
|
+
nodespecfamily_tmp.deserialize(i)
|
10203
|
+
@InstanceFamilies << nodespecfamily_tmp
|
10204
|
+
end
|
10205
|
+
end
|
10206
|
+
end
|
10207
|
+
end
|
10208
|
+
|
9661
10209
|
# 弹性扩缩容执行一次规则上下文
|
9662
10210
|
class NotRepeatStrategy < TencentCloud::Common::AbstractModel
|
9663
10211
|
# @param ExecuteAt: 该次任务执行的具体完整时间,格式为"2020-07-13 00:00:00"
|
@@ -12175,12 +12723,12 @@ module TencentCloud
|
|
12175
12723
|
|
12176
12724
|
attr_accessor :DetectAlert, :DetetcFunctionKey, :DetetcFunctionValue, :DetetcTime, :DetectFunctionKey, :DetectFunctionValue, :DetectTime
|
12177
12725
|
extend Gem::Deprecate
|
12178
|
-
deprecate :DetetcFunctionKey, :none, 2025,
|
12179
|
-
deprecate :DetetcFunctionKey=, :none, 2025,
|
12180
|
-
deprecate :DetetcFunctionValue, :none, 2025,
|
12181
|
-
deprecate :DetetcFunctionValue=, :none, 2025,
|
12182
|
-
deprecate :DetetcTime, :none, 2025,
|
12183
|
-
deprecate :DetetcTime=, :none, 2025,
|
12726
|
+
deprecate :DetetcFunctionKey, :none, 2025, 7
|
12727
|
+
deprecate :DetetcFunctionKey=, :none, 2025, 7
|
12728
|
+
deprecate :DetetcFunctionValue, :none, 2025, 7
|
12729
|
+
deprecate :DetetcFunctionValue=, :none, 2025, 7
|
12730
|
+
deprecate :DetetcTime, :none, 2025, 7
|
12731
|
+
deprecate :DetetcTime=, :none, 2025, 7
|
12184
12732
|
|
12185
12733
|
def initialize(detectalert=nil, detetcfunctionkey=nil, detetcfunctionvalue=nil, detetctime=nil, detectfunctionkey=nil, detectfunctionvalue=nil, detecttime=nil)
|
12186
12734
|
@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.1092
|
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-
|
11
|
+
date: 2025-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|