tencentcloud-sdk-emr 3.0.970 → 3.0.971
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190103/client.rb +216 -0
- data/lib/v20190103/models.rb +727 -3
- 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: 11a990d51cd9c2bc2fb7a1f7f15d97d341e8782c
|
4
|
+
data.tar.gz: 2c98f4e2c565edc3e77f5570734f5cdc85f6dd66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 653681ca9700869a6d63b73d391faad1b8d0fd2a962774b39105c73ccc5a2e9885c00264ec5767e4e8b9d0f478a7b6b1a60117b8b044a6cfd3b1f13fc6944600
|
7
|
+
data.tar.gz: 35bbb719daf608416c825c975e2ba2409fac949d4575ac71a38b9ac263b796bcbe0244697e36e9db926a38fd3c7804dfe1507f0b85b2ce7376e2ec0a5a753030
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.971
|
data/lib/v20190103/client.rb
CHANGED
@@ -53,6 +53,30 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
+
# 增加当前集群的节点规格配置
|
57
|
+
|
58
|
+
# @param request: Request instance for AddNodeResourceConfig.
|
59
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::AddNodeResourceConfigRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::AddNodeResourceConfigResponse`
|
61
|
+
def AddNodeResourceConfig(request)
|
62
|
+
body = send_request('AddNodeResourceConfig', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = AddNodeResourceConfigResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
56
80
|
# 该接口支持安装了OpenLdap组件的集群。
|
57
81
|
# 新增用户列表(用户管理)。
|
58
82
|
|
@@ -78,6 +102,30 @@ module TencentCloud
|
|
78
102
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
79
103
|
end
|
80
104
|
|
105
|
+
# 云盘挂载
|
106
|
+
|
107
|
+
# @param request: Request instance for AttachDisks.
|
108
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::AttachDisksRequest`
|
109
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::AttachDisksResponse`
|
110
|
+
def AttachDisks(request)
|
111
|
+
body = send_request('AttachDisks', request.serialize)
|
112
|
+
response = JSON.parse(body)
|
113
|
+
if response['Response'].key?('Error') == false
|
114
|
+
model = AttachDisksResponse.new
|
115
|
+
model.deserialize(response['Response'])
|
116
|
+
model
|
117
|
+
else
|
118
|
+
code = response['Response']['Error']['Code']
|
119
|
+
message = response['Response']['Error']['Message']
|
120
|
+
reqid = response['Response']['RequestId']
|
121
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
122
|
+
end
|
123
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
124
|
+
raise e
|
125
|
+
rescue StandardError => e
|
126
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
127
|
+
end
|
128
|
+
|
81
129
|
# 创建EMR容器集群实例
|
82
130
|
|
83
131
|
# @param request: Request instance for CreateCloudInstance.
|
@@ -200,6 +248,30 @@ module TencentCloud
|
|
200
248
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
201
249
|
end
|
202
250
|
|
251
|
+
# 删除当前集群的节点规格配置
|
252
|
+
|
253
|
+
# @param request: Request instance for DeleteNodeResourceConfig.
|
254
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DeleteNodeResourceConfigRequest`
|
255
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DeleteNodeResourceConfigResponse`
|
256
|
+
def DeleteNodeResourceConfig(request)
|
257
|
+
body = send_request('DeleteNodeResourceConfig', request.serialize)
|
258
|
+
response = JSON.parse(body)
|
259
|
+
if response['Response'].key?('Error') == false
|
260
|
+
model = DeleteNodeResourceConfigResponse.new
|
261
|
+
model.deserialize(response['Response'])
|
262
|
+
model
|
263
|
+
else
|
264
|
+
code = response['Response']['Error']['Code']
|
265
|
+
message = response['Response']['Error']['Message']
|
266
|
+
reqid = response['Response']['RequestId']
|
267
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
268
|
+
end
|
269
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
270
|
+
raise e
|
271
|
+
rescue StandardError => e
|
272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
273
|
+
end
|
274
|
+
|
203
275
|
# 删除用户列表(用户管理)
|
204
276
|
|
205
277
|
# @param request: Request instance for DeleteUserManagerUserList.
|
@@ -704,6 +776,54 @@ module TencentCloud
|
|
704
776
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
705
777
|
end
|
706
778
|
|
779
|
+
# 查询节点数据盘信息
|
780
|
+
|
781
|
+
# @param request: Request instance for DescribeNodeDataDisks.
|
782
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeNodeDataDisksRequest`
|
783
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeNodeDataDisksResponse`
|
784
|
+
def DescribeNodeDataDisks(request)
|
785
|
+
body = send_request('DescribeNodeDataDisks', request.serialize)
|
786
|
+
response = JSON.parse(body)
|
787
|
+
if response['Response'].key?('Error') == false
|
788
|
+
model = DescribeNodeDataDisksResponse.new
|
789
|
+
model.deserialize(response['Response'])
|
790
|
+
model
|
791
|
+
else
|
792
|
+
code = response['Response']['Error']['Code']
|
793
|
+
message = response['Response']['Error']['Message']
|
794
|
+
reqid = response['Response']['RequestId']
|
795
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
796
|
+
end
|
797
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
798
|
+
raise e
|
799
|
+
rescue StandardError => e
|
800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
801
|
+
end
|
802
|
+
|
803
|
+
# 快速获取当前集群的节点规格配置
|
804
|
+
|
805
|
+
# @param request: Request instance for DescribeNodeResourceConfigFast.
|
806
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeNodeResourceConfigFastRequest`
|
807
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeNodeResourceConfigFastResponse`
|
808
|
+
def DescribeNodeResourceConfigFast(request)
|
809
|
+
body = send_request('DescribeNodeResourceConfigFast', request.serialize)
|
810
|
+
response = JSON.parse(body)
|
811
|
+
if response['Response'].key?('Error') == false
|
812
|
+
model = DescribeNodeResourceConfigFastResponse.new
|
813
|
+
model.deserialize(response['Response'])
|
814
|
+
model
|
815
|
+
else
|
816
|
+
code = response['Response']['Error']['Code']
|
817
|
+
message = response['Response']['Error']['Message']
|
818
|
+
reqid = response['Response']['RequestId']
|
819
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
820
|
+
end
|
821
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
822
|
+
raise e
|
823
|
+
rescue StandardError => e
|
824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
825
|
+
end
|
826
|
+
|
707
827
|
# 查询YARN资源调度数据信息。已废弃,请使用`DescribeYarnQueue`去查询队列信息。
|
708
828
|
|
709
829
|
# @param request: Request instance for DescribeResourceSchedule.
|
@@ -1186,6 +1306,30 @@ module TencentCloud
|
|
1186
1306
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1187
1307
|
end
|
1188
1308
|
|
1309
|
+
# 修改集群名称
|
1310
|
+
|
1311
|
+
# @param request: Request instance for ModifyInstanceBasic.
|
1312
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::ModifyInstanceBasicRequest`
|
1313
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::ModifyInstanceBasicResponse`
|
1314
|
+
def ModifyInstanceBasic(request)
|
1315
|
+
body = send_request('ModifyInstanceBasic', request.serialize)
|
1316
|
+
response = JSON.parse(body)
|
1317
|
+
if response['Response'].key?('Error') == false
|
1318
|
+
model = ModifyInstanceBasicResponse.new
|
1319
|
+
model.deserialize(response['Response'])
|
1320
|
+
model
|
1321
|
+
else
|
1322
|
+
code = response['Response']['Error']['Code']
|
1323
|
+
message = response['Response']['Error']['Message']
|
1324
|
+
reqid = response['Response']['RequestId']
|
1325
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1326
|
+
end
|
1327
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1328
|
+
raise e
|
1329
|
+
rescue StandardError => e
|
1330
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1331
|
+
end
|
1332
|
+
|
1189
1333
|
# 调整Pod数量
|
1190
1334
|
|
1191
1335
|
# @param request: Request instance for ModifyPodNum.
|
@@ -1210,6 +1354,30 @@ module TencentCloud
|
|
1210
1354
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1211
1355
|
end
|
1212
1356
|
|
1357
|
+
# 变配实例
|
1358
|
+
|
1359
|
+
# @param request: Request instance for ModifyResource.
|
1360
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::ModifyResourceRequest`
|
1361
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::ModifyResourceResponse`
|
1362
|
+
def ModifyResource(request)
|
1363
|
+
body = send_request('ModifyResource', request.serialize)
|
1364
|
+
response = JSON.parse(body)
|
1365
|
+
if response['Response'].key?('Error') == false
|
1366
|
+
model = ModifyResourceResponse.new
|
1367
|
+
model.deserialize(response['Response'])
|
1368
|
+
model
|
1369
|
+
else
|
1370
|
+
code = response['Response']['Error']['Code']
|
1371
|
+
message = response['Response']['Error']['Message']
|
1372
|
+
reqid = response['Response']['RequestId']
|
1373
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1374
|
+
end
|
1375
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1376
|
+
raise e
|
1377
|
+
rescue StandardError => e
|
1378
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1379
|
+
end
|
1380
|
+
|
1213
1381
|
# 刷新YARN的动态资源池。已废弃,请使用`DeployYarnConf`
|
1214
1382
|
|
1215
1383
|
# @param request: Request instance for ModifyResourcePools.
|
@@ -1428,6 +1596,30 @@ module TencentCloud
|
|
1428
1596
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1429
1597
|
end
|
1430
1598
|
|
1599
|
+
# 云盘扩容
|
1600
|
+
|
1601
|
+
# @param request: Request instance for ResizeDataDisks.
|
1602
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::ResizeDataDisksRequest`
|
1603
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::ResizeDataDisksResponse`
|
1604
|
+
def ResizeDataDisks(request)
|
1605
|
+
body = send_request('ResizeDataDisks', request.serialize)
|
1606
|
+
response = JSON.parse(body)
|
1607
|
+
if response['Response'].key?('Error') == false
|
1608
|
+
model = ResizeDataDisksResponse.new
|
1609
|
+
model.deserialize(response['Response'])
|
1610
|
+
model
|
1611
|
+
else
|
1612
|
+
code = response['Response']['Error']['Code']
|
1613
|
+
message = response['Response']['Error']['Message']
|
1614
|
+
reqid = response['Response']['RequestId']
|
1615
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1616
|
+
end
|
1617
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1618
|
+
raise e
|
1619
|
+
rescue StandardError => e
|
1620
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1621
|
+
end
|
1622
|
+
|
1431
1623
|
# 创建流程作业
|
1432
1624
|
|
1433
1625
|
# @param request: Request instance for RunJobFlow.
|
@@ -1500,6 +1692,30 @@ module TencentCloud
|
|
1500
1692
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1501
1693
|
end
|
1502
1694
|
|
1695
|
+
# 设置当前集群的某个节点规格配置为默认或取消默认
|
1696
|
+
|
1697
|
+
# @param request: Request instance for SetNodeResourceConfigDefault.
|
1698
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::SetNodeResourceConfigDefaultRequest`
|
1699
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::SetNodeResourceConfigDefaultResponse`
|
1700
|
+
def SetNodeResourceConfigDefault(request)
|
1701
|
+
body = send_request('SetNodeResourceConfigDefault', request.serialize)
|
1702
|
+
response = JSON.parse(body)
|
1703
|
+
if response['Response'].key?('Error') == false
|
1704
|
+
model = SetNodeResourceConfigDefaultResponse.new
|
1705
|
+
model.deserialize(response['Response'])
|
1706
|
+
model
|
1707
|
+
else
|
1708
|
+
code = response['Response']['Error']['Code']
|
1709
|
+
message = response['Response']['Error']['Message']
|
1710
|
+
reqid = response['Response']['RequestId']
|
1711
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1712
|
+
end
|
1713
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1714
|
+
raise e
|
1715
|
+
rescue StandardError => e
|
1716
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1717
|
+
end
|
1718
|
+
|
1503
1719
|
# 用于启停服务 重启服务等功能
|
1504
1720
|
|
1505
1721
|
# @param request: Request instance for StartStopServiceOrMonitor.
|
data/lib/v20190103/models.rb
CHANGED
@@ -67,6 +67,84 @@ module TencentCloud
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
# AddNodeResourceConfig请求参数结构体
|
71
|
+
class AddNodeResourceConfigRequest < TencentCloud::Common::AbstractModel
|
72
|
+
# @param InstanceId: 集群实例Id
|
73
|
+
# @type InstanceId: String
|
74
|
+
# @param ResourceType: 节点类型 CORE TASK ROUTER
|
75
|
+
# @type ResourceType: String
|
76
|
+
# @param ResourceConfig: 资源详情
|
77
|
+
# @type ResourceConfig: :class:`Tencentcloud::Emr.v20190103.models.Resource`
|
78
|
+
# @param PayMode: 付费模式
|
79
|
+
# @type PayMode: Integer
|
80
|
+
# @param IsDefault: 是否默认配置,DEFAULT,BACKUP,不填默认不是默认配置
|
81
|
+
# @type IsDefault: String
|
82
|
+
# @param ZoneId: 地域ID
|
83
|
+
# @type ZoneId: Integer
|
84
|
+
# @param MultipleResourceConfig: 添加多个规格时,第1个规格详情在ResourceConfig参数,第2-n个在MultipleResourceConfig参数
|
85
|
+
# @type MultipleResourceConfig: Array
|
86
|
+
# @param ResourceBaseType: 类型为ComputeResource和EMR以及默认,默认为EMR
|
87
|
+
# @type ResourceBaseType: String
|
88
|
+
# @param ComputeResourceId: 计算资源id
|
89
|
+
# @type ComputeResourceId: String
|
90
|
+
# @param HardwareResourceType: 硬件类型
|
91
|
+
# @type HardwareResourceType: String
|
92
|
+
|
93
|
+
attr_accessor :InstanceId, :ResourceType, :ResourceConfig, :PayMode, :IsDefault, :ZoneId, :MultipleResourceConfig, :ResourceBaseType, :ComputeResourceId, :HardwareResourceType
|
94
|
+
|
95
|
+
def initialize(instanceid=nil, resourcetype=nil, resourceconfig=nil, paymode=nil, isdefault=nil, zoneid=nil, multipleresourceconfig=nil, resourcebasetype=nil, computeresourceid=nil, hardwareresourcetype=nil)
|
96
|
+
@InstanceId = instanceid
|
97
|
+
@ResourceType = resourcetype
|
98
|
+
@ResourceConfig = resourceconfig
|
99
|
+
@PayMode = paymode
|
100
|
+
@IsDefault = isdefault
|
101
|
+
@ZoneId = zoneid
|
102
|
+
@MultipleResourceConfig = multipleresourceconfig
|
103
|
+
@ResourceBaseType = resourcebasetype
|
104
|
+
@ComputeResourceId = computeresourceid
|
105
|
+
@HardwareResourceType = hardwareresourcetype
|
106
|
+
end
|
107
|
+
|
108
|
+
def deserialize(params)
|
109
|
+
@InstanceId = params['InstanceId']
|
110
|
+
@ResourceType = params['ResourceType']
|
111
|
+
unless params['ResourceConfig'].nil?
|
112
|
+
@ResourceConfig = Resource.new
|
113
|
+
@ResourceConfig.deserialize(params['ResourceConfig'])
|
114
|
+
end
|
115
|
+
@PayMode = params['PayMode']
|
116
|
+
@IsDefault = params['IsDefault']
|
117
|
+
@ZoneId = params['ZoneId']
|
118
|
+
unless params['MultipleResourceConfig'].nil?
|
119
|
+
@MultipleResourceConfig = []
|
120
|
+
params['MultipleResourceConfig'].each do |i|
|
121
|
+
resource_tmp = Resource.new
|
122
|
+
resource_tmp.deserialize(i)
|
123
|
+
@MultipleResourceConfig << resource_tmp
|
124
|
+
end
|
125
|
+
end
|
126
|
+
@ResourceBaseType = params['ResourceBaseType']
|
127
|
+
@ComputeResourceId = params['ComputeResourceId']
|
128
|
+
@HardwareResourceType = params['HardwareResourceType']
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# AddNodeResourceConfig返回参数结构体
|
133
|
+
class AddNodeResourceConfigResponse < TencentCloud::Common::AbstractModel
|
134
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
135
|
+
# @type RequestId: String
|
136
|
+
|
137
|
+
attr_accessor :RequestId
|
138
|
+
|
139
|
+
def initialize(requestid=nil)
|
140
|
+
@RequestId = requestid
|
141
|
+
end
|
142
|
+
|
143
|
+
def deserialize(params)
|
144
|
+
@RequestId = params['RequestId']
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
70
148
|
# AddUsersForUserManager请求参数结构体
|
71
149
|
class AddUsersForUserManagerRequest < TencentCloud::Common::AbstractModel
|
72
150
|
# @param InstanceId: 集群字符串ID
|
@@ -250,6 +328,72 @@ module TencentCloud
|
|
250
328
|
end
|
251
329
|
end
|
252
330
|
|
331
|
+
# AttachDisks请求参数结构体
|
332
|
+
class AttachDisksRequest < TencentCloud::Common::AbstractModel
|
333
|
+
# @param InstanceId: EMR集群实例ID
|
334
|
+
# @type InstanceId: String
|
335
|
+
# @param DiskIds: 需要挂载的云盘ID
|
336
|
+
# @type DiskIds: Array
|
337
|
+
# @param AlignType: 挂载模式,取值范围:
|
338
|
+
# AUTO_RENEW:自动续费
|
339
|
+
# ALIGN_DEADLINE:自动对其到期时间
|
340
|
+
# @type AlignType: String
|
341
|
+
# @param CvmInstanceIds: 需要挂载的cvm节点id列表
|
342
|
+
# @type CvmInstanceIds: Array
|
343
|
+
# @param CreateDisk: 是否是新购云盘进行挂载
|
344
|
+
# @type CreateDisk: Boolean
|
345
|
+
# @param DiskSpec: 新购云盘规格
|
346
|
+
# @type DiskSpec: :class:`Tencentcloud::Emr.v20190103.models.NodeSpecDiskV2`
|
347
|
+
# @param DeleteWithInstance: 可选参数,不传该参数则仅执行挂载操作。传入True时,会在挂载成功后将云硬盘设置为随云主机销毁模式,仅对按量计费云硬盘有效。
|
348
|
+
# @type DeleteWithInstance: Boolean
|
349
|
+
|
350
|
+
attr_accessor :InstanceId, :DiskIds, :AlignType, :CvmInstanceIds, :CreateDisk, :DiskSpec, :DeleteWithInstance
|
351
|
+
|
352
|
+
def initialize(instanceid=nil, diskids=nil, aligntype=nil, cvminstanceids=nil, createdisk=nil, diskspec=nil, deletewithinstance=nil)
|
353
|
+
@InstanceId = instanceid
|
354
|
+
@DiskIds = diskids
|
355
|
+
@AlignType = aligntype
|
356
|
+
@CvmInstanceIds = cvminstanceids
|
357
|
+
@CreateDisk = createdisk
|
358
|
+
@DiskSpec = diskspec
|
359
|
+
@DeleteWithInstance = deletewithinstance
|
360
|
+
end
|
361
|
+
|
362
|
+
def deserialize(params)
|
363
|
+
@InstanceId = params['InstanceId']
|
364
|
+
@DiskIds = params['DiskIds']
|
365
|
+
@AlignType = params['AlignType']
|
366
|
+
@CvmInstanceIds = params['CvmInstanceIds']
|
367
|
+
@CreateDisk = params['CreateDisk']
|
368
|
+
unless params['DiskSpec'].nil?
|
369
|
+
@DiskSpec = NodeSpecDiskV2.new
|
370
|
+
@DiskSpec.deserialize(params['DiskSpec'])
|
371
|
+
end
|
372
|
+
@DeleteWithInstance = params['DeleteWithInstance']
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
# AttachDisks返回参数结构体
|
377
|
+
class AttachDisksResponse < TencentCloud::Common::AbstractModel
|
378
|
+
# @param FlowId: 流程id
|
379
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
380
|
+
# @type FlowId: Integer
|
381
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
382
|
+
# @type RequestId: String
|
383
|
+
|
384
|
+
attr_accessor :FlowId, :RequestId
|
385
|
+
|
386
|
+
def initialize(flowid=nil, requestid=nil)
|
387
|
+
@FlowId = flowid
|
388
|
+
@RequestId = requestid
|
389
|
+
end
|
390
|
+
|
391
|
+
def deserialize(params)
|
392
|
+
@FlowId = params['FlowId']
|
393
|
+
@RequestId = params['RequestId']
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
253
397
|
# 弹性扩缩容记录
|
254
398
|
class AutoScaleRecord < TencentCloud::Common::AbstractModel
|
255
399
|
# @param StrategyName: 扩缩容规则名。
|
@@ -443,6 +587,93 @@ module TencentCloud
|
|
443
587
|
end
|
444
588
|
end
|
445
589
|
|
590
|
+
# CBS实例信息
|
591
|
+
class CBSInstance < TencentCloud::Common::AbstractModel
|
592
|
+
# @param DiskId: 云硬盘ID
|
593
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
594
|
+
# @type DiskId: String
|
595
|
+
# @param DiskUsage: 云硬盘类型
|
596
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
597
|
+
# @type DiskUsage: String
|
598
|
+
# @param DiskName: 云硬盘名称
|
599
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
600
|
+
# @type DiskName: String
|
601
|
+
# @param DiskSize: 云硬盘大小
|
602
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
603
|
+
# @type DiskSize: Integer
|
604
|
+
# @param DiskType: 云盘介质类型
|
605
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
606
|
+
# @type DiskType: String
|
607
|
+
# @param DeleteWithInstance: 是否跟随实例删除
|
608
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
609
|
+
# @type DeleteWithInstance: Boolean
|
610
|
+
# @param DiskChargeType: 云硬盘收费类型
|
611
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
612
|
+
# @type DiskChargeType: String
|
613
|
+
# @param DiskState: 云硬盘运行状态
|
614
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
615
|
+
# @type DiskState: String
|
616
|
+
# @param RenewFlag: 是否自动续费
|
617
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
618
|
+
# @type RenewFlag: String
|
619
|
+
# @param DeadlineTime: 到期时间
|
620
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
621
|
+
# @type DeadlineTime: String
|
622
|
+
# @param Attached: 云盘是否挂载到云主机上
|
623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
624
|
+
# @type Attached: Boolean
|
625
|
+
# @param DifferDaysOfDeadline: 当前时间距离盘到期的天数
|
626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
627
|
+
# @type DifferDaysOfDeadline: Integer
|
628
|
+
# @param InstanceIdList: 该云盘当前被挂载到的CVM实例InstanceId
|
629
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
630
|
+
# @type InstanceIdList: Array
|
631
|
+
# @param InstanceId: 云硬盘挂载的云主机ID
|
632
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
633
|
+
# @type InstanceId: String
|
634
|
+
# @param Shareable: 云盘是否为共享型云盘。
|
635
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
636
|
+
# @type Shareable: Boolean
|
637
|
+
|
638
|
+
attr_accessor :DiskId, :DiskUsage, :DiskName, :DiskSize, :DiskType, :DeleteWithInstance, :DiskChargeType, :DiskState, :RenewFlag, :DeadlineTime, :Attached, :DifferDaysOfDeadline, :InstanceIdList, :InstanceId, :Shareable
|
639
|
+
|
640
|
+
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)
|
641
|
+
@DiskId = diskid
|
642
|
+
@DiskUsage = diskusage
|
643
|
+
@DiskName = diskname
|
644
|
+
@DiskSize = disksize
|
645
|
+
@DiskType = disktype
|
646
|
+
@DeleteWithInstance = deletewithinstance
|
647
|
+
@DiskChargeType = diskchargetype
|
648
|
+
@DiskState = diskstate
|
649
|
+
@RenewFlag = renewflag
|
650
|
+
@DeadlineTime = deadlinetime
|
651
|
+
@Attached = attached
|
652
|
+
@DifferDaysOfDeadline = differdaysofdeadline
|
653
|
+
@InstanceIdList = instanceidlist
|
654
|
+
@InstanceId = instanceid
|
655
|
+
@Shareable = shareable
|
656
|
+
end
|
657
|
+
|
658
|
+
def deserialize(params)
|
659
|
+
@DiskId = params['DiskId']
|
660
|
+
@DiskUsage = params['DiskUsage']
|
661
|
+
@DiskName = params['DiskName']
|
662
|
+
@DiskSize = params['DiskSize']
|
663
|
+
@DiskType = params['DiskType']
|
664
|
+
@DeleteWithInstance = params['DeleteWithInstance']
|
665
|
+
@DiskChargeType = params['DiskChargeType']
|
666
|
+
@DiskState = params['DiskState']
|
667
|
+
@RenewFlag = params['RenewFlag']
|
668
|
+
@DeadlineTime = params['DeadlineTime']
|
669
|
+
@Attached = params['Attached']
|
670
|
+
@DifferDaysOfDeadline = params['DifferDaysOfDeadline']
|
671
|
+
@InstanceIdList = params['InstanceIdList']
|
672
|
+
@InstanceId = params['InstanceId']
|
673
|
+
@Shareable = params['Shareable']
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
446
677
|
# 容器集群Pod服务CLB设置
|
447
678
|
class CLBSetting < TencentCloud::Common::AbstractModel
|
448
679
|
# @param CLBType: CLB类型,PUBLIC_IP表示支持公网CLB和INTERNAL_IP表示支持内网CLB字段
|
@@ -2154,6 +2385,54 @@ module TencentCloud
|
|
2154
2385
|
end
|
2155
2386
|
end
|
2156
2387
|
|
2388
|
+
# DeleteNodeResourceConfig请求参数结构体
|
2389
|
+
class DeleteNodeResourceConfigRequest < TencentCloud::Common::AbstractModel
|
2390
|
+
# @param InstanceId: 集群实例Id
|
2391
|
+
# @type InstanceId: String
|
2392
|
+
# @param ResourceConfigId: 节点配置Id
|
2393
|
+
# @type ResourceConfigId: Integer
|
2394
|
+
# @param ResourceType: 节点类型 CORE TASK ROUTER
|
2395
|
+
# @type ResourceType: String
|
2396
|
+
# @param ResourceBaseType: 类型为ComputeResource和EMR以及默认,默认为EMR
|
2397
|
+
# @type ResourceBaseType: String
|
2398
|
+
# @param ComputeResourceId: 计算资源id
|
2399
|
+
# @type ComputeResourceId: String
|
2400
|
+
|
2401
|
+
attr_accessor :InstanceId, :ResourceConfigId, :ResourceType, :ResourceBaseType, :ComputeResourceId
|
2402
|
+
|
2403
|
+
def initialize(instanceid=nil, resourceconfigid=nil, resourcetype=nil, resourcebasetype=nil, computeresourceid=nil)
|
2404
|
+
@InstanceId = instanceid
|
2405
|
+
@ResourceConfigId = resourceconfigid
|
2406
|
+
@ResourceType = resourcetype
|
2407
|
+
@ResourceBaseType = resourcebasetype
|
2408
|
+
@ComputeResourceId = computeresourceid
|
2409
|
+
end
|
2410
|
+
|
2411
|
+
def deserialize(params)
|
2412
|
+
@InstanceId = params['InstanceId']
|
2413
|
+
@ResourceConfigId = params['ResourceConfigId']
|
2414
|
+
@ResourceType = params['ResourceType']
|
2415
|
+
@ResourceBaseType = params['ResourceBaseType']
|
2416
|
+
@ComputeResourceId = params['ComputeResourceId']
|
2417
|
+
end
|
2418
|
+
end
|
2419
|
+
|
2420
|
+
# DeleteNodeResourceConfig返回参数结构体
|
2421
|
+
class DeleteNodeResourceConfigResponse < TencentCloud::Common::AbstractModel
|
2422
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2423
|
+
# @type RequestId: String
|
2424
|
+
|
2425
|
+
attr_accessor :RequestId
|
2426
|
+
|
2427
|
+
def initialize(requestid=nil)
|
2428
|
+
@RequestId = requestid
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
def deserialize(params)
|
2432
|
+
@RequestId = params['RequestId']
|
2433
|
+
end
|
2434
|
+
end
|
2435
|
+
|
2157
2436
|
# DeleteUserManagerUserList请求参数结构体
|
2158
2437
|
class DeleteUserManagerUserListRequest < TencentCloud::Common::AbstractModel
|
2159
2438
|
# @param InstanceId: 集群实例ID
|
@@ -3643,6 +3922,152 @@ module TencentCloud
|
|
3643
3922
|
end
|
3644
3923
|
end
|
3645
3924
|
|
3925
|
+
# DescribeNodeDataDisks请求参数结构体
|
3926
|
+
class DescribeNodeDataDisksRequest < TencentCloud::Common::AbstractModel
|
3927
|
+
# @param InstanceId: EMR集群实例ID
|
3928
|
+
# @type InstanceId: String
|
3929
|
+
# @param CvmInstanceIds: 节点CVM实例Id列表
|
3930
|
+
# @type CvmInstanceIds: Array
|
3931
|
+
|
3932
|
+
attr_accessor :InstanceId, :CvmInstanceIds
|
3933
|
+
|
3934
|
+
def initialize(instanceid=nil, cvminstanceids=nil)
|
3935
|
+
@InstanceId = instanceid
|
3936
|
+
@CvmInstanceIds = cvminstanceids
|
3937
|
+
end
|
3938
|
+
|
3939
|
+
def deserialize(params)
|
3940
|
+
@InstanceId = params['InstanceId']
|
3941
|
+
@CvmInstanceIds = params['CvmInstanceIds']
|
3942
|
+
end
|
3943
|
+
end
|
3944
|
+
|
3945
|
+
# DescribeNodeDataDisks返回参数结构体
|
3946
|
+
class DescribeNodeDataDisksResponse < TencentCloud::Common::AbstractModel
|
3947
|
+
# @param TotalCount: 总数量
|
3948
|
+
# @type TotalCount: Integer
|
3949
|
+
# @param CBSList: 云盘列表
|
3950
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3951
|
+
# @type CBSList: Array
|
3952
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3953
|
+
# @type RequestId: String
|
3954
|
+
|
3955
|
+
attr_accessor :TotalCount, :CBSList, :RequestId
|
3956
|
+
|
3957
|
+
def initialize(totalcount=nil, cbslist=nil, requestid=nil)
|
3958
|
+
@TotalCount = totalcount
|
3959
|
+
@CBSList = cbslist
|
3960
|
+
@RequestId = requestid
|
3961
|
+
end
|
3962
|
+
|
3963
|
+
def deserialize(params)
|
3964
|
+
@TotalCount = params['TotalCount']
|
3965
|
+
unless params['CBSList'].nil?
|
3966
|
+
@CBSList = []
|
3967
|
+
params['CBSList'].each do |i|
|
3968
|
+
cbsinstance_tmp = CBSInstance.new
|
3969
|
+
cbsinstance_tmp.deserialize(i)
|
3970
|
+
@CBSList << cbsinstance_tmp
|
3971
|
+
end
|
3972
|
+
end
|
3973
|
+
@RequestId = params['RequestId']
|
3974
|
+
end
|
3975
|
+
end
|
3976
|
+
|
3977
|
+
# DescribeNodeResourceConfigFast请求参数结构体
|
3978
|
+
class DescribeNodeResourceConfigFastRequest < TencentCloud::Common::AbstractModel
|
3979
|
+
# @param InstanceId: 集群实例Id
|
3980
|
+
# @type InstanceId: String
|
3981
|
+
# @param ResourceType: 节点类型 CORE TASK ROUTER ALL
|
3982
|
+
# @type ResourceType: String
|
3983
|
+
# @param PayMode: 计费类型
|
3984
|
+
# @type PayMode: Integer
|
3985
|
+
# @param ZoneId: 可用区ID
|
3986
|
+
# @type ZoneId: Integer
|
3987
|
+
# @param ResourceBaseType: 类型为ComputeResource和EMR以及默认,默认为EMR
|
3988
|
+
# @type ResourceBaseType: String
|
3989
|
+
# @param ComputeResourceId: 计算资源id
|
3990
|
+
# @type ComputeResourceId: String
|
3991
|
+
# @param HardwareResourceType: 硬件类型
|
3992
|
+
# @type HardwareResourceType: String
|
3993
|
+
|
3994
|
+
attr_accessor :InstanceId, :ResourceType, :PayMode, :ZoneId, :ResourceBaseType, :ComputeResourceId, :HardwareResourceType
|
3995
|
+
|
3996
|
+
def initialize(instanceid=nil, resourcetype=nil, paymode=nil, zoneid=nil, resourcebasetype=nil, computeresourceid=nil, hardwareresourcetype=nil)
|
3997
|
+
@InstanceId = instanceid
|
3998
|
+
@ResourceType = resourcetype
|
3999
|
+
@PayMode = paymode
|
4000
|
+
@ZoneId = zoneid
|
4001
|
+
@ResourceBaseType = resourcebasetype
|
4002
|
+
@ComputeResourceId = computeresourceid
|
4003
|
+
@HardwareResourceType = hardwareresourcetype
|
4004
|
+
end
|
4005
|
+
|
4006
|
+
def deserialize(params)
|
4007
|
+
@InstanceId = params['InstanceId']
|
4008
|
+
@ResourceType = params['ResourceType']
|
4009
|
+
@PayMode = params['PayMode']
|
4010
|
+
@ZoneId = params['ZoneId']
|
4011
|
+
@ResourceBaseType = params['ResourceBaseType']
|
4012
|
+
@ComputeResourceId = params['ComputeResourceId']
|
4013
|
+
@HardwareResourceType = params['HardwareResourceType']
|
4014
|
+
end
|
4015
|
+
end
|
4016
|
+
|
4017
|
+
# DescribeNodeResourceConfigFast返回参数结构体
|
4018
|
+
class DescribeNodeResourceConfigFastResponse < TencentCloud::Common::AbstractModel
|
4019
|
+
# @param Data: DescribeResourceConfig接口返回值
|
4020
|
+
# @type Data: Array
|
4021
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4022
|
+
# @type RequestId: String
|
4023
|
+
|
4024
|
+
attr_accessor :Data, :RequestId
|
4025
|
+
|
4026
|
+
def initialize(data=nil, requestid=nil)
|
4027
|
+
@Data = data
|
4028
|
+
@RequestId = requestid
|
4029
|
+
end
|
4030
|
+
|
4031
|
+
def deserialize(params)
|
4032
|
+
unless params['Data'].nil?
|
4033
|
+
@Data = []
|
4034
|
+
params['Data'].each do |i|
|
4035
|
+
describeresourceconfig_tmp = DescribeResourceConfig.new
|
4036
|
+
describeresourceconfig_tmp.deserialize(i)
|
4037
|
+
@Data << describeresourceconfig_tmp
|
4038
|
+
end
|
4039
|
+
end
|
4040
|
+
@RequestId = params['RequestId']
|
4041
|
+
end
|
4042
|
+
end
|
4043
|
+
|
4044
|
+
# DescribeResourceConfig接口出参
|
4045
|
+
class DescribeResourceConfig < TencentCloud::Common::AbstractModel
|
4046
|
+
# @param ResourceType: 规格管理类型
|
4047
|
+
# @type ResourceType: String
|
4048
|
+
# @param ResourceData: 规格管理数据
|
4049
|
+
# @type ResourceData: Array
|
4050
|
+
|
4051
|
+
attr_accessor :ResourceType, :ResourceData
|
4052
|
+
|
4053
|
+
def initialize(resourcetype=nil, resourcedata=nil)
|
4054
|
+
@ResourceType = resourcetype
|
4055
|
+
@ResourceData = resourcedata
|
4056
|
+
end
|
4057
|
+
|
4058
|
+
def deserialize(params)
|
4059
|
+
@ResourceType = params['ResourceType']
|
4060
|
+
unless params['ResourceData'].nil?
|
4061
|
+
@ResourceData = []
|
4062
|
+
params['ResourceData'].each do |i|
|
4063
|
+
noderesource_tmp = NodeResource.new
|
4064
|
+
noderesource_tmp.deserialize(i)
|
4065
|
+
@ResourceData << noderesource_tmp
|
4066
|
+
end
|
4067
|
+
end
|
4068
|
+
end
|
4069
|
+
end
|
4070
|
+
|
3646
4071
|
# DescribeResourceScheduleDiffDetail请求参数结构体
|
3647
4072
|
class DescribeResourceScheduleDiffDetailRequest < TencentCloud::Common::AbstractModel
|
3648
4073
|
# @param InstanceId: emr集群的英文id
|
@@ -7148,6 +7573,50 @@ module TencentCloud
|
|
7148
7573
|
end
|
7149
7574
|
end
|
7150
7575
|
|
7576
|
+
# ModifyInstanceBasic请求参数结构体
|
7577
|
+
class ModifyInstanceBasicRequest < TencentCloud::Common::AbstractModel
|
7578
|
+
# @param InstanceId: 集群实例ID
|
7579
|
+
# @type InstanceId: String
|
7580
|
+
# @param ClusterName: 集群名称
|
7581
|
+
# @type ClusterName: String
|
7582
|
+
# @param ResourceBaseType: 用来标注修改计算资源
|
7583
|
+
# @type ResourceBaseType: String
|
7584
|
+
# @param ComputeResourceId: 需要修改的计算资源id,与ResourceBaseType 配合使用
|
7585
|
+
# @type ComputeResourceId: String
|
7586
|
+
|
7587
|
+
attr_accessor :InstanceId, :ClusterName, :ResourceBaseType, :ComputeResourceId
|
7588
|
+
|
7589
|
+
def initialize(instanceid=nil, clustername=nil, resourcebasetype=nil, computeresourceid=nil)
|
7590
|
+
@InstanceId = instanceid
|
7591
|
+
@ClusterName = clustername
|
7592
|
+
@ResourceBaseType = resourcebasetype
|
7593
|
+
@ComputeResourceId = computeresourceid
|
7594
|
+
end
|
7595
|
+
|
7596
|
+
def deserialize(params)
|
7597
|
+
@InstanceId = params['InstanceId']
|
7598
|
+
@ClusterName = params['ClusterName']
|
7599
|
+
@ResourceBaseType = params['ResourceBaseType']
|
7600
|
+
@ComputeResourceId = params['ComputeResourceId']
|
7601
|
+
end
|
7602
|
+
end
|
7603
|
+
|
7604
|
+
# ModifyInstanceBasic返回参数结构体
|
7605
|
+
class ModifyInstanceBasicResponse < TencentCloud::Common::AbstractModel
|
7606
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7607
|
+
# @type RequestId: String
|
7608
|
+
|
7609
|
+
attr_accessor :RequestId
|
7610
|
+
|
7611
|
+
def initialize(requestid=nil)
|
7612
|
+
@RequestId = requestid
|
7613
|
+
end
|
7614
|
+
|
7615
|
+
def deserialize(params)
|
7616
|
+
@RequestId = params['RequestId']
|
7617
|
+
end
|
7618
|
+
end
|
7619
|
+
|
7151
7620
|
# ModifyPodNum请求参数结构体
|
7152
7621
|
class ModifyPodNumRequest < TencentCloud::Common::AbstractModel
|
7153
7622
|
# @param InstanceId: 集群Id
|
@@ -7249,6 +7718,67 @@ module TencentCloud
|
|
7249
7718
|
end
|
7250
7719
|
end
|
7251
7720
|
|
7721
|
+
# ModifyResource请求参数结构体
|
7722
|
+
class ModifyResourceRequest < TencentCloud::Common::AbstractModel
|
7723
|
+
# @param InstanceId: 实例ID
|
7724
|
+
# @type InstanceId: String
|
7725
|
+
# @param PayMode: 计费类型
|
7726
|
+
# @type PayMode: Integer
|
7727
|
+
# @param NewCpu: 变配CPU
|
7728
|
+
# @type NewCpu: Integer
|
7729
|
+
# @param NewMem: 变配内存
|
7730
|
+
# @type NewMem: Integer
|
7731
|
+
# @param ClientToken: Token
|
7732
|
+
# @type ClientToken: String
|
7733
|
+
# @param InstanceType: 变配机器规格
|
7734
|
+
# @type InstanceType: String
|
7735
|
+
# @param ResourceIdList: 节点ID列表
|
7736
|
+
# @type ResourceIdList: Array
|
7737
|
+
|
7738
|
+
attr_accessor :InstanceId, :PayMode, :NewCpu, :NewMem, :ClientToken, :InstanceType, :ResourceIdList
|
7739
|
+
|
7740
|
+
def initialize(instanceid=nil, paymode=nil, newcpu=nil, newmem=nil, clienttoken=nil, instancetype=nil, resourceidlist=nil)
|
7741
|
+
@InstanceId = instanceid
|
7742
|
+
@PayMode = paymode
|
7743
|
+
@NewCpu = newcpu
|
7744
|
+
@NewMem = newmem
|
7745
|
+
@ClientToken = clienttoken
|
7746
|
+
@InstanceType = instancetype
|
7747
|
+
@ResourceIdList = resourceidlist
|
7748
|
+
end
|
7749
|
+
|
7750
|
+
def deserialize(params)
|
7751
|
+
@InstanceId = params['InstanceId']
|
7752
|
+
@PayMode = params['PayMode']
|
7753
|
+
@NewCpu = params['NewCpu']
|
7754
|
+
@NewMem = params['NewMem']
|
7755
|
+
@ClientToken = params['ClientToken']
|
7756
|
+
@InstanceType = params['InstanceType']
|
7757
|
+
@ResourceIdList = params['ResourceIdList']
|
7758
|
+
end
|
7759
|
+
end
|
7760
|
+
|
7761
|
+
# ModifyResource返回参数结构体
|
7762
|
+
class ModifyResourceResponse < TencentCloud::Common::AbstractModel
|
7763
|
+
# @param TraceId: 流程traceId
|
7764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7765
|
+
# @type TraceId: String
|
7766
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7767
|
+
# @type RequestId: String
|
7768
|
+
|
7769
|
+
attr_accessor :TraceId, :RequestId
|
7770
|
+
|
7771
|
+
def initialize(traceid=nil, requestid=nil)
|
7772
|
+
@TraceId = traceid
|
7773
|
+
@RequestId = requestid
|
7774
|
+
end
|
7775
|
+
|
7776
|
+
def deserialize(params)
|
7777
|
+
@TraceId = params['TraceId']
|
7778
|
+
@RequestId = params['RequestId']
|
7779
|
+
end
|
7780
|
+
end
|
7781
|
+
|
7252
7782
|
# ModifyResourceScheduleConfig请求参数结构体
|
7253
7783
|
class ModifyResourceScheduleConfigRequest < TencentCloud::Common::AbstractModel
|
7254
7784
|
# @param InstanceId: emr集群的英文id
|
@@ -7716,12 +8246,24 @@ module TencentCloud
|
|
7716
8246
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7717
8247
|
# @type Count: Integer
|
7718
8248
|
# @param Type: 磁盘类型
|
8249
|
+
# 1 :本地盘
|
8250
|
+
# 2 :云硬盘
|
8251
|
+
# 3 : 本地SSD
|
8252
|
+
# 4 : 云SSD
|
8253
|
+
# 5 : 高效云盘
|
8254
|
+
# 6 : 增强型SSD云硬盘
|
8255
|
+
# 11 : 吞吐型云硬盘
|
8256
|
+
# 12 : 极速型SSD云硬盘
|
8257
|
+
# 13 : 通用型SSD云硬盘
|
8258
|
+
# 14 : 大数据型云硬盘
|
8259
|
+
# 15 : 高IO型云硬盘
|
8260
|
+
# 16 : 远端SSD盘
|
7719
8261
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7720
8262
|
# @type Type: Integer
|
7721
8263
|
# @param Size: 磁盘大小
|
7722
8264
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7723
8265
|
# @type Size: String
|
7724
|
-
# @param Volume:
|
8266
|
+
# @param Volume: 云盘大小,单位b
|
7725
8267
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7726
8268
|
# @type Volume: Integer
|
7727
8269
|
|
@@ -8199,6 +8741,55 @@ module TencentCloud
|
|
8199
8741
|
end
|
8200
8742
|
end
|
8201
8743
|
|
8744
|
+
# 规格管理,规格类型描述
|
8745
|
+
class NodeResource < TencentCloud::Common::AbstractModel
|
8746
|
+
# @param ResourceConfigId: 配置Id
|
8747
|
+
# @type ResourceConfigId: Integer
|
8748
|
+
# @param Resource: Resource
|
8749
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8750
|
+
# @type Resource: :class:`Tencentcloud::Emr.v20190103.models.Resource`
|
8751
|
+
# @param CreateTime: 创建时间
|
8752
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8753
|
+
# @type CreateTime: String
|
8754
|
+
# @param UpdateTime: 更新时间
|
8755
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8756
|
+
# @type UpdateTime: String
|
8757
|
+
# @param IsDefault: 是否默认配置,DEFAULT,BACKUP
|
8758
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8759
|
+
# @type IsDefault: String
|
8760
|
+
# @param MaxResourceNum: 该类型剩余
|
8761
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8762
|
+
# @type MaxResourceNum: Integer
|
8763
|
+
# @param PrepaidUnderwritePeriods: 支持的包销时长
|
8764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8765
|
+
# @type PrepaidUnderwritePeriods: Array
|
8766
|
+
|
8767
|
+
attr_accessor :ResourceConfigId, :Resource, :CreateTime, :UpdateTime, :IsDefault, :MaxResourceNum, :PrepaidUnderwritePeriods
|
8768
|
+
|
8769
|
+
def initialize(resourceconfigid=nil, resource=nil, createtime=nil, updatetime=nil, isdefault=nil, maxresourcenum=nil, prepaidunderwriteperiods=nil)
|
8770
|
+
@ResourceConfigId = resourceconfigid
|
8771
|
+
@Resource = resource
|
8772
|
+
@CreateTime = createtime
|
8773
|
+
@UpdateTime = updatetime
|
8774
|
+
@IsDefault = isdefault
|
8775
|
+
@MaxResourceNum = maxresourcenum
|
8776
|
+
@PrepaidUnderwritePeriods = prepaidunderwriteperiods
|
8777
|
+
end
|
8778
|
+
|
8779
|
+
def deserialize(params)
|
8780
|
+
@ResourceConfigId = params['ResourceConfigId']
|
8781
|
+
unless params['Resource'].nil?
|
8782
|
+
@Resource = Resource.new
|
8783
|
+
@Resource.deserialize(params['Resource'])
|
8784
|
+
end
|
8785
|
+
@CreateTime = params['CreateTime']
|
8786
|
+
@UpdateTime = params['UpdateTime']
|
8787
|
+
@IsDefault = params['IsDefault']
|
8788
|
+
@MaxResourceNum = params['MaxResourceNum']
|
8789
|
+
@PrepaidUnderwritePeriods = params['PrepaidUnderwritePeriods']
|
8790
|
+
end
|
8791
|
+
end
|
8792
|
+
|
8202
8793
|
# 资源详情
|
8203
8794
|
class NodeResourceSpec < TencentCloud::Common::AbstractModel
|
8204
8795
|
# @param InstanceType: 规格类型,如S2.MEDIUM8
|
@@ -8339,6 +8930,38 @@ module TencentCloud
|
|
8339
8930
|
end
|
8340
8931
|
end
|
8341
8932
|
|
8933
|
+
# 节点磁盘类型
|
8934
|
+
class NodeSpecDiskV2 < TencentCloud::Common::AbstractModel
|
8935
|
+
# @param Count: 数量
|
8936
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8937
|
+
# @type Count: Integer
|
8938
|
+
# @param Name: 名字
|
8939
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8940
|
+
# @type Name: String
|
8941
|
+
# @param DiskType: 磁盘类型
|
8942
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8943
|
+
# @type DiskType: String
|
8944
|
+
# @param DefaultDiskSize: 指定磁盘大小
|
8945
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8946
|
+
# @type DefaultDiskSize: Integer
|
8947
|
+
|
8948
|
+
attr_accessor :Count, :Name, :DiskType, :DefaultDiskSize
|
8949
|
+
|
8950
|
+
def initialize(count=nil, name=nil, disktype=nil, defaultdisksize=nil)
|
8951
|
+
@Count = count
|
8952
|
+
@Name = name
|
8953
|
+
@DiskType = disktype
|
8954
|
+
@DefaultDiskSize = defaultdisksize
|
8955
|
+
end
|
8956
|
+
|
8957
|
+
def deserialize(params)
|
8958
|
+
@Count = params['Count']
|
8959
|
+
@Name = params['Name']
|
8960
|
+
@DiskType = params['DiskType']
|
8961
|
+
@DefaultDiskSize = params['DefaultDiskSize']
|
8962
|
+
end
|
8963
|
+
end
|
8964
|
+
|
8342
8965
|
# 弹性扩缩容执行一次规则上下文
|
8343
8966
|
class NotRepeatStrategy < TencentCloud::Common::AbstractModel
|
8344
8967
|
# @param ExecuteAt: 该次任务执行的具体完整时间,格式为"2020-07-13 00:00:00"
|
@@ -9621,6 +10244,55 @@ module TencentCloud
|
|
9621
10244
|
end
|
9622
10245
|
end
|
9623
10246
|
|
10247
|
+
# ResizeDataDisks请求参数结构体
|
10248
|
+
class ResizeDataDisksRequest < TencentCloud::Common::AbstractModel
|
10249
|
+
# @param InstanceId: EMR集群实例ID
|
10250
|
+
# @type InstanceId: String
|
10251
|
+
# @param DiskIds: 需要扩容的云盘ID
|
10252
|
+
# @type DiskIds: Array
|
10253
|
+
# @param DiskSize: 需要扩充的容量值,容量值需要大于原容量,并且为10的整数倍
|
10254
|
+
# @type DiskSize: Integer
|
10255
|
+
# @param CvmInstanceIds: 需要扩容的节点ID列表
|
10256
|
+
# @type CvmInstanceIds: Array
|
10257
|
+
|
10258
|
+
attr_accessor :InstanceId, :DiskIds, :DiskSize, :CvmInstanceIds
|
10259
|
+
|
10260
|
+
def initialize(instanceid=nil, diskids=nil, disksize=nil, cvminstanceids=nil)
|
10261
|
+
@InstanceId = instanceid
|
10262
|
+
@DiskIds = diskids
|
10263
|
+
@DiskSize = disksize
|
10264
|
+
@CvmInstanceIds = cvminstanceids
|
10265
|
+
end
|
10266
|
+
|
10267
|
+
def deserialize(params)
|
10268
|
+
@InstanceId = params['InstanceId']
|
10269
|
+
@DiskIds = params['DiskIds']
|
10270
|
+
@DiskSize = params['DiskSize']
|
10271
|
+
@CvmInstanceIds = params['CvmInstanceIds']
|
10272
|
+
end
|
10273
|
+
end
|
10274
|
+
|
10275
|
+
# ResizeDataDisks返回参数结构体
|
10276
|
+
class ResizeDataDisksResponse < TencentCloud::Common::AbstractModel
|
10277
|
+
# @param FlowId: 流程Id
|
10278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10279
|
+
# @type FlowId: Integer
|
10280
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10281
|
+
# @type RequestId: String
|
10282
|
+
|
10283
|
+
attr_accessor :FlowId, :RequestId
|
10284
|
+
|
10285
|
+
def initialize(flowid=nil, requestid=nil)
|
10286
|
+
@FlowId = flowid
|
10287
|
+
@RequestId = requestid
|
10288
|
+
end
|
10289
|
+
|
10290
|
+
def deserialize(params)
|
10291
|
+
@FlowId = params['FlowId']
|
10292
|
+
@RequestId = params['RequestId']
|
10293
|
+
end
|
10294
|
+
end
|
10295
|
+
|
9624
10296
|
# 资源详情
|
9625
10297
|
class Resource < TencentCloud::Common::AbstractModel
|
9626
10298
|
# @param Spec: 节点规格描述,如CVM.SA2。
|
@@ -9632,7 +10304,7 @@ module TencentCloud
|
|
9632
10304
|
# <li>5:表示高效云盘。</li>
|
9633
10305
|
# <li>6:表示增强型SSD云硬盘。</li>
|
9634
10306
|
# <li>11:表示吞吐型云硬盘。</li>
|
9635
|
-
# <li>12:表示极速型SSD云硬盘。</li
|
10307
|
+
# <li>12:表示极速型SSD云硬盘。</li>:创建时该类型无效,会根据数据盘类型和节点类型自动判断
|
9636
10308
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9637
10309
|
# @type StorageType: Integer
|
9638
10310
|
# @param DiskType: 磁盘类型
|
@@ -10810,6 +11482,58 @@ module TencentCloud
|
|
10810
11482
|
end
|
10811
11483
|
end
|
10812
11484
|
|
11485
|
+
# SetNodeResourceConfigDefault请求参数结构体
|
11486
|
+
class SetNodeResourceConfigDefaultRequest < TencentCloud::Common::AbstractModel
|
11487
|
+
# @param InstanceId: 集群实例Id
|
11488
|
+
# @type InstanceId: String
|
11489
|
+
# @param ResourceConfigId: 配置Id
|
11490
|
+
# @type ResourceConfigId: Integer
|
11491
|
+
# @param ResourceType: 规格节点类型 CORE TASK ROUTER
|
11492
|
+
# @type ResourceType: String
|
11493
|
+
# @param ResourceBaseType: 类型为ComputeResource和EMR以及默认,默认为EMR
|
11494
|
+
# @type ResourceBaseType: String
|
11495
|
+
# @param ComputeResourceId: 计算资源id
|
11496
|
+
# @type ComputeResourceId: String
|
11497
|
+
# @param HardwareResourceType: 硬件类型
|
11498
|
+
# @type HardwareResourceType: String
|
11499
|
+
|
11500
|
+
attr_accessor :InstanceId, :ResourceConfigId, :ResourceType, :ResourceBaseType, :ComputeResourceId, :HardwareResourceType
|
11501
|
+
|
11502
|
+
def initialize(instanceid=nil, resourceconfigid=nil, resourcetype=nil, resourcebasetype=nil, computeresourceid=nil, hardwareresourcetype=nil)
|
11503
|
+
@InstanceId = instanceid
|
11504
|
+
@ResourceConfigId = resourceconfigid
|
11505
|
+
@ResourceType = resourcetype
|
11506
|
+
@ResourceBaseType = resourcebasetype
|
11507
|
+
@ComputeResourceId = computeresourceid
|
11508
|
+
@HardwareResourceType = hardwareresourcetype
|
11509
|
+
end
|
11510
|
+
|
11511
|
+
def deserialize(params)
|
11512
|
+
@InstanceId = params['InstanceId']
|
11513
|
+
@ResourceConfigId = params['ResourceConfigId']
|
11514
|
+
@ResourceType = params['ResourceType']
|
11515
|
+
@ResourceBaseType = params['ResourceBaseType']
|
11516
|
+
@ComputeResourceId = params['ComputeResourceId']
|
11517
|
+
@HardwareResourceType = params['HardwareResourceType']
|
11518
|
+
end
|
11519
|
+
end
|
11520
|
+
|
11521
|
+
# SetNodeResourceConfigDefault返回参数结构体
|
11522
|
+
class SetNodeResourceConfigDefaultResponse < TencentCloud::Common::AbstractModel
|
11523
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11524
|
+
# @type RequestId: String
|
11525
|
+
|
11526
|
+
attr_accessor :RequestId
|
11527
|
+
|
11528
|
+
def initialize(requestid=nil)
|
11529
|
+
@RequestId = requestid
|
11530
|
+
end
|
11531
|
+
|
11532
|
+
def deserialize(params)
|
11533
|
+
@RequestId = params['RequestId']
|
11534
|
+
end
|
11535
|
+
end
|
11536
|
+
|
10813
11537
|
# 节点信息
|
10814
11538
|
class ShortNodeInfo < TencentCloud::Common::AbstractModel
|
10815
11539
|
# @param NodeType: 节点类型,Master/Core/Task/Router/Common
|
@@ -10937,7 +11661,7 @@ module TencentCloud
|
|
10937
11661
|
|
10938
11662
|
# 任务步骤详情
|
10939
11663
|
class StageInfoDetail < TencentCloud::Common::AbstractModel
|
10940
|
-
# @param Stage: 步骤
|
11664
|
+
# @param Stage: 步骤
|
10941
11665
|
# @type Stage: String
|
10942
11666
|
# @param Name: 步骤名
|
10943
11667
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
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.971
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|