tencentcloud-sdk-emr 3.0.902 → 3.0.904
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 +124 -0
- data/lib/v20190103/models.rb +416 -2
- 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: 802695f989cc4c2d0f6d7ef6faaf8c98eea9d7a2
|
4
|
+
data.tar.gz: c9b8fb46d31f2e8e77214deffbc0584cb4b0fcbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5822be1486895f32cf541a9b93b90ede9d7a2c5646c6499a2e24607a1177b693709a425aabea261788b33dfba00e7de79c12bee5aacde8123789eb6f4236507c
|
7
|
+
data.tar.gz: b208e402ffd3cf63632947f52c9eff2b4571613432d143b6e19225af3a2c940f60b4f9933c376a457e4c4242f467228d3fbcc3bc8424186b5f65a0fdfcc98192
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.904
|
data/lib/v20190103/client.rb
CHANGED
@@ -126,6 +126,32 @@ module TencentCloud
|
|
126
126
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
127
127
|
end
|
128
128
|
|
129
|
+
# 本接口(CreateSLInstance)用于创建 Lite HBase 实例
|
130
|
+
# - 接口调用成功,会创建Lite HBase实例,创建实例请求成功会返回创建实例的 InstaceId 和请求的 RequestID。
|
131
|
+
# - 接口为异步接口,接口返回时操作并未立即完成,实例操作结果可以通过调用 DescribeInstancesList 查看当前实例的 StatusDesc 状态。
|
132
|
+
|
133
|
+
# @param request: Request instance for CreateSLInstance.
|
134
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::CreateSLInstanceRequest`
|
135
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::CreateSLInstanceResponse`
|
136
|
+
def CreateSLInstance(request)
|
137
|
+
body = send_request('CreateSLInstance', request.serialize)
|
138
|
+
response = JSON.parse(body)
|
139
|
+
if response['Response'].key?('Error') == false
|
140
|
+
model = CreateSLInstanceResponse.new
|
141
|
+
model.deserialize(response['Response'])
|
142
|
+
model
|
143
|
+
else
|
144
|
+
code = response['Response']['Error']['Code']
|
145
|
+
message = response['Response']['Error']['Message']
|
146
|
+
reqid = response['Response']['RequestId']
|
147
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
148
|
+
end
|
149
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
150
|
+
raise e
|
151
|
+
rescue StandardError => e
|
152
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
153
|
+
end
|
154
|
+
|
129
155
|
# 删除自动扩缩容规则,后台销毁根据该规则扩缩容出来的节点
|
130
156
|
|
131
157
|
# @param request: Request instance for DeleteAutoScaleStrategy.
|
@@ -630,6 +656,54 @@ module TencentCloud
|
|
630
656
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
631
657
|
end
|
632
658
|
|
659
|
+
# 本接口(DescribeSLInstance)用于查询 Lite HBase 实例基本信息
|
660
|
+
|
661
|
+
# @param request: Request instance for DescribeSLInstance.
|
662
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeSLInstanceRequest`
|
663
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeSLInstanceResponse`
|
664
|
+
def DescribeSLInstance(request)
|
665
|
+
body = send_request('DescribeSLInstance', request.serialize)
|
666
|
+
response = JSON.parse(body)
|
667
|
+
if response['Response'].key?('Error') == false
|
668
|
+
model = DescribeSLInstanceResponse.new
|
669
|
+
model.deserialize(response['Response'])
|
670
|
+
model
|
671
|
+
else
|
672
|
+
code = response['Response']['Error']['Code']
|
673
|
+
message = response['Response']['Error']['Message']
|
674
|
+
reqid = response['Response']['RequestId']
|
675
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
676
|
+
end
|
677
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
678
|
+
raise e
|
679
|
+
rescue StandardError => e
|
680
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
681
|
+
end
|
682
|
+
|
683
|
+
# 本接口(DescribeSLInstanceList)用于查询 Lite HBase 实例列表详细信息
|
684
|
+
|
685
|
+
# @param request: Request instance for DescribeSLInstanceList.
|
686
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeSLInstanceListRequest`
|
687
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeSLInstanceListResponse`
|
688
|
+
def DescribeSLInstanceList(request)
|
689
|
+
body = send_request('DescribeSLInstanceList', request.serialize)
|
690
|
+
response = JSON.parse(body)
|
691
|
+
if response['Response'].key?('Error') == false
|
692
|
+
model = DescribeSLInstanceListResponse.new
|
693
|
+
model.deserialize(response['Response'])
|
694
|
+
model
|
695
|
+
else
|
696
|
+
code = response['Response']['Error']['Code']
|
697
|
+
message = response['Response']['Error']['Message']
|
698
|
+
reqid = response['Response']['RequestId']
|
699
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
700
|
+
end
|
701
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
702
|
+
raise e
|
703
|
+
rescue StandardError => e
|
704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
705
|
+
end
|
706
|
+
|
633
707
|
# 查询服务进程信息
|
634
708
|
|
635
709
|
# @param request: Request instance for DescribeServiceNodeInfos.
|
@@ -1040,6 +1114,32 @@ module TencentCloud
|
|
1040
1114
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1041
1115
|
end
|
1042
1116
|
|
1117
|
+
# 本接口(ModifySLInstance)用于修改Lite HBase 实例节点数。
|
1118
|
+
# - 接口调用成功,会创建Lite HBase实例,创建实例请求成功会返回请求的 RequestID。
|
1119
|
+
# - 接口为异步接口,接口返回时操作并未立即完成,实例操作结果可以通过调用 DescribeInstancesList 查看当前实例的 StatusDesc 状态。
|
1120
|
+
|
1121
|
+
# @param request: Request instance for ModifySLInstance.
|
1122
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::ModifySLInstanceRequest`
|
1123
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::ModifySLInstanceResponse`
|
1124
|
+
def ModifySLInstance(request)
|
1125
|
+
body = send_request('ModifySLInstance', request.serialize)
|
1126
|
+
response = JSON.parse(body)
|
1127
|
+
if response['Response'].key?('Error') == false
|
1128
|
+
model = ModifySLInstanceResponse.new
|
1129
|
+
model.deserialize(response['Response'])
|
1130
|
+
model
|
1131
|
+
else
|
1132
|
+
code = response['Response']['Error']['Code']
|
1133
|
+
message = response['Response']['Error']['Message']
|
1134
|
+
reqid = response['Response']['RequestId']
|
1135
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1136
|
+
end
|
1137
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1138
|
+
raise e
|
1139
|
+
rescue StandardError => e
|
1140
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1141
|
+
end
|
1142
|
+
|
1043
1143
|
# 修改用户密码(用户管理)
|
1044
1144
|
|
1045
1145
|
# @param request: Request instance for ModifyUserManagerPwd.
|
@@ -1304,6 +1404,30 @@ module TencentCloud
|
|
1304
1404
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1305
1405
|
end
|
1306
1406
|
|
1407
|
+
# 本接口(TerminateSLInstance)用于销毁 Lite HBase 实例
|
1408
|
+
|
1409
|
+
# @param request: Request instance for TerminateSLInstance.
|
1410
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::TerminateSLInstanceRequest`
|
1411
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::TerminateSLInstanceResponse`
|
1412
|
+
def TerminateSLInstance(request)
|
1413
|
+
body = send_request('TerminateSLInstance', request.serialize)
|
1414
|
+
response = JSON.parse(body)
|
1415
|
+
if response['Response'].key?('Error') == false
|
1416
|
+
model = TerminateSLInstanceResponse.new
|
1417
|
+
model.deserialize(response['Response'])
|
1418
|
+
model
|
1419
|
+
else
|
1420
|
+
code = response['Response']['Error']['Code']
|
1421
|
+
message = response['Response']['Error']['Message']
|
1422
|
+
reqid = response['Response']['RequestId']
|
1423
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1424
|
+
end
|
1425
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1426
|
+
raise e
|
1427
|
+
rescue StandardError => e
|
1428
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1429
|
+
end
|
1430
|
+
|
1307
1431
|
# 缩容Task节点
|
1308
1432
|
|
1309
1433
|
# @param request: Request instance for TerminateTasks.
|
data/lib/v20190103/models.rb
CHANGED
@@ -1620,6 +1620,80 @@ module TencentCloud
|
|
1620
1620
|
end
|
1621
1621
|
end
|
1622
1622
|
|
1623
|
+
# CreateSLInstance请求参数结构体
|
1624
|
+
class CreateSLInstanceRequest < TencentCloud::Common::AbstractModel
|
1625
|
+
# @param InstanceName: 实例名称。
|
1626
|
+
# @type InstanceName: String
|
1627
|
+
# @param PayMode: 实例计费模式,0表示后付费,即按量计费。
|
1628
|
+
# @type PayMode: Integer
|
1629
|
+
# @param DiskType: 实例存储类型,填写CLOUD_HSSD,表示性能云存储。
|
1630
|
+
# @type DiskType: String
|
1631
|
+
# @param DiskSize: 实例单节点磁盘容量,单位GB,单节点磁盘容量需大于等于100,小于等于10000,容量调整步长为20。
|
1632
|
+
# @type DiskSize: Integer
|
1633
|
+
# @param NodeType: 实例节点规格,可填写4C16G、8C32G、16C64G、32C128G,不区分大小写。
|
1634
|
+
# @type NodeType: String
|
1635
|
+
# @param ZoneSettings: 实例可用区详细配置,当前支持多可用区,可用区数量只能为1或3,包含区域名称,VPC信息、节点数量,其中所有区域节点总数需大于等于3,小于等于50。
|
1636
|
+
# @type ZoneSettings: Array
|
1637
|
+
# @param Tags: 实例要绑定的标签列表。
|
1638
|
+
# @type Tags: Array
|
1639
|
+
|
1640
|
+
attr_accessor :InstanceName, :PayMode, :DiskType, :DiskSize, :NodeType, :ZoneSettings, :Tags
|
1641
|
+
|
1642
|
+
def initialize(instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil)
|
1643
|
+
@InstanceName = instancename
|
1644
|
+
@PayMode = paymode
|
1645
|
+
@DiskType = disktype
|
1646
|
+
@DiskSize = disksize
|
1647
|
+
@NodeType = nodetype
|
1648
|
+
@ZoneSettings = zonesettings
|
1649
|
+
@Tags = tags
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
def deserialize(params)
|
1653
|
+
@InstanceName = params['InstanceName']
|
1654
|
+
@PayMode = params['PayMode']
|
1655
|
+
@DiskType = params['DiskType']
|
1656
|
+
@DiskSize = params['DiskSize']
|
1657
|
+
@NodeType = params['NodeType']
|
1658
|
+
unless params['ZoneSettings'].nil?
|
1659
|
+
@ZoneSettings = []
|
1660
|
+
params['ZoneSettings'].each do |i|
|
1661
|
+
zonesetting_tmp = ZoneSetting.new
|
1662
|
+
zonesetting_tmp.deserialize(i)
|
1663
|
+
@ZoneSettings << zonesetting_tmp
|
1664
|
+
end
|
1665
|
+
end
|
1666
|
+
unless params['Tags'].nil?
|
1667
|
+
@Tags = []
|
1668
|
+
params['Tags'].each do |i|
|
1669
|
+
tag_tmp = Tag.new
|
1670
|
+
tag_tmp.deserialize(i)
|
1671
|
+
@Tags << tag_tmp
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
end
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
# CreateSLInstance返回参数结构体
|
1678
|
+
class CreateSLInstanceResponse < TencentCloud::Common::AbstractModel
|
1679
|
+
# @param InstanceId: 实例唯一标识符(字符串表示)
|
1680
|
+
# @type InstanceId: String
|
1681
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1682
|
+
# @type RequestId: String
|
1683
|
+
|
1684
|
+
attr_accessor :InstanceId, :RequestId
|
1685
|
+
|
1686
|
+
def initialize(instanceid=nil, requestid=nil)
|
1687
|
+
@InstanceId = instanceid
|
1688
|
+
@RequestId = requestid
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
def deserialize(params)
|
1692
|
+
@InstanceId = params['InstanceId']
|
1693
|
+
@RequestId = params['RequestId']
|
1694
|
+
end
|
1695
|
+
end
|
1696
|
+
|
1623
1697
|
# 用户Hive-MetaDB信息
|
1624
1698
|
class CustomMetaDBInfo < TencentCloud::Common::AbstractModel
|
1625
1699
|
# @param MetaDataJdbcUrl: 自定义MetaDB的JDBC连接,示例: jdbc:mysql://10.10.10.10:3306/dbname
|
@@ -3161,6 +3235,155 @@ module TencentCloud
|
|
3161
3235
|
end
|
3162
3236
|
end
|
3163
3237
|
|
3238
|
+
# DescribeSLInstanceList请求参数结构体
|
3239
|
+
class DescribeSLInstanceListRequest < TencentCloud::Common::AbstractModel
|
3240
|
+
# @param DisplayStrategy: 实例筛选策略。取值范围:<li>clusterList:表示查询除了已销毁实例之外的实例列表。</li><li>monitorManage:表示查询除了已销毁、创建中以及创建失败的实例之外的实例列表。</li>
|
3241
|
+
# @type DisplayStrategy: String
|
3242
|
+
# @param Offset: 页编号,默认值为0,表示第一页。
|
3243
|
+
# @type Offset: Integer
|
3244
|
+
# @param Limit: 每页返回数量,默认值为10,最大值为100。
|
3245
|
+
# @type Limit: Integer
|
3246
|
+
# @param OrderField: 排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li>
|
3247
|
+
# @type OrderField: String
|
3248
|
+
# @param Asc: 按照OrderField升序或者降序进行排序。取值范围:<li>0:表示降序。</li><li>1:表示升序。</li>默认值为0。
|
3249
|
+
# @type Asc: Integer
|
3250
|
+
# @param Filters: 自定义查询过滤器。
|
3251
|
+
# @type Filters: Array
|
3252
|
+
|
3253
|
+
attr_accessor :DisplayStrategy, :Offset, :Limit, :OrderField, :Asc, :Filters
|
3254
|
+
|
3255
|
+
def initialize(displaystrategy=nil, offset=nil, limit=nil, orderfield=nil, asc=nil, filters=nil)
|
3256
|
+
@DisplayStrategy = displaystrategy
|
3257
|
+
@Offset = offset
|
3258
|
+
@Limit = limit
|
3259
|
+
@OrderField = orderfield
|
3260
|
+
@Asc = asc
|
3261
|
+
@Filters = filters
|
3262
|
+
end
|
3263
|
+
|
3264
|
+
def deserialize(params)
|
3265
|
+
@DisplayStrategy = params['DisplayStrategy']
|
3266
|
+
@Offset = params['Offset']
|
3267
|
+
@Limit = params['Limit']
|
3268
|
+
@OrderField = params['OrderField']
|
3269
|
+
@Asc = params['Asc']
|
3270
|
+
unless params['Filters'].nil?
|
3271
|
+
@Filters = []
|
3272
|
+
params['Filters'].each do |i|
|
3273
|
+
filters_tmp = Filters.new
|
3274
|
+
filters_tmp.deserialize(i)
|
3275
|
+
@Filters << filters_tmp
|
3276
|
+
end
|
3277
|
+
end
|
3278
|
+
end
|
3279
|
+
end
|
3280
|
+
|
3281
|
+
# DescribeSLInstanceList返回参数结构体
|
3282
|
+
class DescribeSLInstanceListResponse < TencentCloud::Common::AbstractModel
|
3283
|
+
# @param TotalCnt: 符合条件的实例总数。
|
3284
|
+
# @type TotalCnt: Integer
|
3285
|
+
# @param InstancesList: 实例信息列表,如果进行了分页,只显示当前分页的示例信息列表。
|
3286
|
+
# @type InstancesList: Array
|
3287
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3288
|
+
# @type RequestId: String
|
3289
|
+
|
3290
|
+
attr_accessor :TotalCnt, :InstancesList, :RequestId
|
3291
|
+
|
3292
|
+
def initialize(totalcnt=nil, instanceslist=nil, requestid=nil)
|
3293
|
+
@TotalCnt = totalcnt
|
3294
|
+
@InstancesList = instanceslist
|
3295
|
+
@RequestId = requestid
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
def deserialize(params)
|
3299
|
+
@TotalCnt = params['TotalCnt']
|
3300
|
+
unless params['InstancesList'].nil?
|
3301
|
+
@InstancesList = []
|
3302
|
+
params['InstancesList'].each do |i|
|
3303
|
+
slinstanceinfo_tmp = SLInstanceInfo.new
|
3304
|
+
slinstanceinfo_tmp.deserialize(i)
|
3305
|
+
@InstancesList << slinstanceinfo_tmp
|
3306
|
+
end
|
3307
|
+
end
|
3308
|
+
@RequestId = params['RequestId']
|
3309
|
+
end
|
3310
|
+
end
|
3311
|
+
|
3312
|
+
# DescribeSLInstance请求参数结构体
|
3313
|
+
class DescribeSLInstanceRequest < TencentCloud::Common::AbstractModel
|
3314
|
+
# @param InstanceId: 实例唯一标识符(字符串表示)
|
3315
|
+
# @type InstanceId: String
|
3316
|
+
|
3317
|
+
attr_accessor :InstanceId
|
3318
|
+
|
3319
|
+
def initialize(instanceid=nil)
|
3320
|
+
@InstanceId = instanceid
|
3321
|
+
end
|
3322
|
+
|
3323
|
+
def deserialize(params)
|
3324
|
+
@InstanceId = params['InstanceId']
|
3325
|
+
end
|
3326
|
+
end
|
3327
|
+
|
3328
|
+
# DescribeSLInstance返回参数结构体
|
3329
|
+
class DescribeSLInstanceResponse < TencentCloud::Common::AbstractModel
|
3330
|
+
# @param InstanceName: 实例名称。
|
3331
|
+
# @type InstanceName: String
|
3332
|
+
# @param PayMode: 实例计费模式。0表示后付费,即按量计费,1表示预付费,即包年包月。
|
3333
|
+
# @type PayMode: Integer
|
3334
|
+
# @param DiskType: 实例存储类型。
|
3335
|
+
# @type DiskType: String
|
3336
|
+
# @param DiskSize: 实例单节点磁盘容量,单位GB。
|
3337
|
+
# @type DiskSize: Integer
|
3338
|
+
# @param NodeType: 实例节点规格。
|
3339
|
+
# @type NodeType: String
|
3340
|
+
# @param ZoneSettings: 实例可用区详细配置,包含可用区名称,VPC信息、节点数量。
|
3341
|
+
# @type ZoneSettings: Array
|
3342
|
+
# @param Tags: 实例绑定的标签列表。
|
3343
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3344
|
+
# @type Tags: Array
|
3345
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3346
|
+
# @type RequestId: String
|
3347
|
+
|
3348
|
+
attr_accessor :InstanceName, :PayMode, :DiskType, :DiskSize, :NodeType, :ZoneSettings, :Tags, :RequestId
|
3349
|
+
|
3350
|
+
def initialize(instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil, requestid=nil)
|
3351
|
+
@InstanceName = instancename
|
3352
|
+
@PayMode = paymode
|
3353
|
+
@DiskType = disktype
|
3354
|
+
@DiskSize = disksize
|
3355
|
+
@NodeType = nodetype
|
3356
|
+
@ZoneSettings = zonesettings
|
3357
|
+
@Tags = tags
|
3358
|
+
@RequestId = requestid
|
3359
|
+
end
|
3360
|
+
|
3361
|
+
def deserialize(params)
|
3362
|
+
@InstanceName = params['InstanceName']
|
3363
|
+
@PayMode = params['PayMode']
|
3364
|
+
@DiskType = params['DiskType']
|
3365
|
+
@DiskSize = params['DiskSize']
|
3366
|
+
@NodeType = params['NodeType']
|
3367
|
+
unless params['ZoneSettings'].nil?
|
3368
|
+
@ZoneSettings = []
|
3369
|
+
params['ZoneSettings'].each do |i|
|
3370
|
+
zonesetting_tmp = ZoneSetting.new
|
3371
|
+
zonesetting_tmp.deserialize(i)
|
3372
|
+
@ZoneSettings << zonesetting_tmp
|
3373
|
+
end
|
3374
|
+
end
|
3375
|
+
unless params['Tags'].nil?
|
3376
|
+
@Tags = []
|
3377
|
+
params['Tags'].each do |i|
|
3378
|
+
tag_tmp = Tag.new
|
3379
|
+
tag_tmp.deserialize(i)
|
3380
|
+
@Tags << tag_tmp
|
3381
|
+
end
|
3382
|
+
end
|
3383
|
+
@RequestId = params['RequestId']
|
3384
|
+
end
|
3385
|
+
end
|
3386
|
+
|
3164
3387
|
# DescribeServiceNodeInfos请求参数结构体
|
3165
3388
|
class DescribeServiceNodeInfosRequest < TencentCloud::Common::AbstractModel
|
3166
3389
|
# @param InstanceId: 实例ID
|
@@ -5989,19 +6212,23 @@ module TencentCloud
|
|
5989
6212
|
# @type ResourceIds: Array
|
5990
6213
|
# @param RenewFlag: NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:表示不通知即将过期,也不自动续费。
|
5991
6214
|
# @type RenewFlag: String
|
6215
|
+
# @param ComputeResourceId: 计算资源id
|
6216
|
+
# @type ComputeResourceId: String
|
5992
6217
|
|
5993
|
-
attr_accessor :InstanceId, :ResourceIds, :RenewFlag
|
6218
|
+
attr_accessor :InstanceId, :ResourceIds, :RenewFlag, :ComputeResourceId
|
5994
6219
|
|
5995
|
-
def initialize(instanceid=nil, resourceids=nil, renewflag=nil)
|
6220
|
+
def initialize(instanceid=nil, resourceids=nil, renewflag=nil, computeresourceid=nil)
|
5996
6221
|
@InstanceId = instanceid
|
5997
6222
|
@ResourceIds = resourceids
|
5998
6223
|
@RenewFlag = renewflag
|
6224
|
+
@ComputeResourceId = computeresourceid
|
5999
6225
|
end
|
6000
6226
|
|
6001
6227
|
def deserialize(params)
|
6002
6228
|
@InstanceId = params['InstanceId']
|
6003
6229
|
@ResourceIds = params['ResourceIds']
|
6004
6230
|
@RenewFlag = params['RenewFlag']
|
6231
|
+
@ComputeResourceId = params['ComputeResourceId']
|
6005
6232
|
end
|
6006
6233
|
end
|
6007
6234
|
|
@@ -6359,6 +6586,46 @@ module TencentCloud
|
|
6359
6586
|
end
|
6360
6587
|
end
|
6361
6588
|
|
6589
|
+
# ModifySLInstance请求参数结构体
|
6590
|
+
class ModifySLInstanceRequest < TencentCloud::Common::AbstractModel
|
6591
|
+
# @param InstanceId: 实例唯一标识符(字符串表示)。
|
6592
|
+
# @type InstanceId: String
|
6593
|
+
# @param Zone: 需要变更的区域名称。
|
6594
|
+
# @type Zone: String
|
6595
|
+
# @param NodeNum: 该区域变配后的目标节点数量,所有区域节点总数应大于等于3,小于等于50。
|
6596
|
+
# @type NodeNum: Integer
|
6597
|
+
|
6598
|
+
attr_accessor :InstanceId, :Zone, :NodeNum
|
6599
|
+
|
6600
|
+
def initialize(instanceid=nil, zone=nil, nodenum=nil)
|
6601
|
+
@InstanceId = instanceid
|
6602
|
+
@Zone = zone
|
6603
|
+
@NodeNum = nodenum
|
6604
|
+
end
|
6605
|
+
|
6606
|
+
def deserialize(params)
|
6607
|
+
@InstanceId = params['InstanceId']
|
6608
|
+
@Zone = params['Zone']
|
6609
|
+
@NodeNum = params['NodeNum']
|
6610
|
+
end
|
6611
|
+
end
|
6612
|
+
|
6613
|
+
# ModifySLInstance返回参数结构体
|
6614
|
+
class ModifySLInstanceResponse < TencentCloud::Common::AbstractModel
|
6615
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6616
|
+
# @type RequestId: String
|
6617
|
+
|
6618
|
+
attr_accessor :RequestId
|
6619
|
+
|
6620
|
+
def initialize(requestid=nil)
|
6621
|
+
@RequestId = requestid
|
6622
|
+
end
|
6623
|
+
|
6624
|
+
def deserialize(params)
|
6625
|
+
@RequestId = params['RequestId']
|
6626
|
+
end
|
6627
|
+
end
|
6628
|
+
|
6362
6629
|
# ModifyUserManagerPwd请求参数结构体
|
6363
6630
|
class ModifyUserManagerPwdRequest < TencentCloud::Common::AbstractModel
|
6364
6631
|
# @param InstanceId: 集群实例ID
|
@@ -8549,6 +8816,94 @@ module TencentCloud
|
|
8549
8816
|
end
|
8550
8817
|
end
|
8551
8818
|
|
8819
|
+
# EMR Lite HBase 实例信息
|
8820
|
+
class SLInstanceInfo < TencentCloud::Common::AbstractModel
|
8821
|
+
# @param ClusterId: 集群实例字符串ID
|
8822
|
+
# @type ClusterId: String
|
8823
|
+
# @param Id: 集群实例数字ID
|
8824
|
+
# @type Id: Integer
|
8825
|
+
# @param StatusDesc: 状态描述
|
8826
|
+
# @type StatusDesc: String
|
8827
|
+
# @param ClusterName: 实例名称
|
8828
|
+
# @type ClusterName: String
|
8829
|
+
# @param RegionId: 地域ID
|
8830
|
+
# @type RegionId: Integer
|
8831
|
+
# @param ZoneId: 主可用区ID
|
8832
|
+
# @type ZoneId: Integer
|
8833
|
+
# @param Zone: 主可用区
|
8834
|
+
# @type Zone: String
|
8835
|
+
# @param AppId: 用户APPID
|
8836
|
+
# @type AppId: Integer
|
8837
|
+
# @param VpcId: 主可用区私有网络ID
|
8838
|
+
# @type VpcId: Integer
|
8839
|
+
# @param SubnetId: 主可用区子网ID
|
8840
|
+
# @type SubnetId: Integer
|
8841
|
+
# @param Status: 状态码
|
8842
|
+
# @type Status: Integer
|
8843
|
+
# @param AddTime: 创建时间
|
8844
|
+
# @type AddTime: String
|
8845
|
+
# @param PayMode: 集群计费类型。0表示按量计费,1表示包年包月
|
8846
|
+
# @type PayMode: Integer
|
8847
|
+
# @param ZoneSettings: 多可用区信息
|
8848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8849
|
+
# @type ZoneSettings: Array
|
8850
|
+
# @param Tags: 实例标签
|
8851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8852
|
+
# @type Tags: Array
|
8853
|
+
|
8854
|
+
attr_accessor :ClusterId, :Id, :StatusDesc, :ClusterName, :RegionId, :ZoneId, :Zone, :AppId, :VpcId, :SubnetId, :Status, :AddTime, :PayMode, :ZoneSettings, :Tags
|
8855
|
+
|
8856
|
+
def initialize(clusterid=nil, id=nil, statusdesc=nil, clustername=nil, regionid=nil, zoneid=nil, zone=nil, appid=nil, vpcid=nil, subnetid=nil, status=nil, addtime=nil, paymode=nil, zonesettings=nil, tags=nil)
|
8857
|
+
@ClusterId = clusterid
|
8858
|
+
@Id = id
|
8859
|
+
@StatusDesc = statusdesc
|
8860
|
+
@ClusterName = clustername
|
8861
|
+
@RegionId = regionid
|
8862
|
+
@ZoneId = zoneid
|
8863
|
+
@Zone = zone
|
8864
|
+
@AppId = appid
|
8865
|
+
@VpcId = vpcid
|
8866
|
+
@SubnetId = subnetid
|
8867
|
+
@Status = status
|
8868
|
+
@AddTime = addtime
|
8869
|
+
@PayMode = paymode
|
8870
|
+
@ZoneSettings = zonesettings
|
8871
|
+
@Tags = tags
|
8872
|
+
end
|
8873
|
+
|
8874
|
+
def deserialize(params)
|
8875
|
+
@ClusterId = params['ClusterId']
|
8876
|
+
@Id = params['Id']
|
8877
|
+
@StatusDesc = params['StatusDesc']
|
8878
|
+
@ClusterName = params['ClusterName']
|
8879
|
+
@RegionId = params['RegionId']
|
8880
|
+
@ZoneId = params['ZoneId']
|
8881
|
+
@Zone = params['Zone']
|
8882
|
+
@AppId = params['AppId']
|
8883
|
+
@VpcId = params['VpcId']
|
8884
|
+
@SubnetId = params['SubnetId']
|
8885
|
+
@Status = params['Status']
|
8886
|
+
@AddTime = params['AddTime']
|
8887
|
+
@PayMode = params['PayMode']
|
8888
|
+
unless params['ZoneSettings'].nil?
|
8889
|
+
@ZoneSettings = []
|
8890
|
+
params['ZoneSettings'].each do |i|
|
8891
|
+
zonesetting_tmp = ZoneSetting.new
|
8892
|
+
zonesetting_tmp.deserialize(i)
|
8893
|
+
@ZoneSettings << zonesetting_tmp
|
8894
|
+
end
|
8895
|
+
end
|
8896
|
+
unless params['Tags'].nil?
|
8897
|
+
@Tags = []
|
8898
|
+
params['Tags'].each do |i|
|
8899
|
+
tag_tmp = Tag.new
|
8900
|
+
tag_tmp.deserialize(i)
|
8901
|
+
@Tags << tag_tmp
|
8902
|
+
end
|
8903
|
+
end
|
8904
|
+
end
|
8905
|
+
end
|
8906
|
+
|
8552
8907
|
# ScaleOutCluster请求参数结构体
|
8553
8908
|
class ScaleOutClusterRequest < TencentCloud::Common::AbstractModel
|
8554
8909
|
# @param InstanceChargeType: 节点计费模式。取值范围:
|
@@ -9833,6 +10188,38 @@ module TencentCloud
|
|
9833
10188
|
end
|
9834
10189
|
end
|
9835
10190
|
|
10191
|
+
# TerminateSLInstance请求参数结构体
|
10192
|
+
class TerminateSLInstanceRequest < TencentCloud::Common::AbstractModel
|
10193
|
+
# @param InstanceId: 实例唯一标识符(字符串表示)
|
10194
|
+
# @type InstanceId: String
|
10195
|
+
|
10196
|
+
attr_accessor :InstanceId
|
10197
|
+
|
10198
|
+
def initialize(instanceid=nil)
|
10199
|
+
@InstanceId = instanceid
|
10200
|
+
end
|
10201
|
+
|
10202
|
+
def deserialize(params)
|
10203
|
+
@InstanceId = params['InstanceId']
|
10204
|
+
end
|
10205
|
+
end
|
10206
|
+
|
10207
|
+
# TerminateSLInstance返回参数结构体
|
10208
|
+
class TerminateSLInstanceResponse < TencentCloud::Common::AbstractModel
|
10209
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10210
|
+
# @type RequestId: String
|
10211
|
+
|
10212
|
+
attr_accessor :RequestId
|
10213
|
+
|
10214
|
+
def initialize(requestid=nil)
|
10215
|
+
@RequestId = requestid
|
10216
|
+
end
|
10217
|
+
|
10218
|
+
def deserialize(params)
|
10219
|
+
@RequestId = params['RequestId']
|
10220
|
+
end
|
10221
|
+
end
|
10222
|
+
|
9836
10223
|
# TerminateTasks请求参数结构体
|
9837
10224
|
class TerminateTasksRequest < TencentCloud::Common::AbstractModel
|
9838
10225
|
# @param InstanceId: 实例ID。
|
@@ -10693,6 +11080,33 @@ module TencentCloud
|
|
10693
11080
|
end
|
10694
11081
|
end
|
10695
11082
|
|
11083
|
+
# 可用区配置描述。
|
11084
|
+
class ZoneSetting < TencentCloud::Common::AbstractModel
|
11085
|
+
# @param Zone: 可用区名称
|
11086
|
+
# @type Zone: String
|
11087
|
+
# @param VPCSettings: 可用区VPC和子网
|
11088
|
+
# @type VPCSettings: :class:`Tencentcloud::Emr.v20190103.models.VPCSettings`
|
11089
|
+
# @param NodeNum: 可用区节点数量
|
11090
|
+
# @type NodeNum: Integer
|
11091
|
+
|
11092
|
+
attr_accessor :Zone, :VPCSettings, :NodeNum
|
11093
|
+
|
11094
|
+
def initialize(zone=nil, vpcsettings=nil, nodenum=nil)
|
11095
|
+
@Zone = zone
|
11096
|
+
@VPCSettings = vpcsettings
|
11097
|
+
@NodeNum = nodenum
|
11098
|
+
end
|
11099
|
+
|
11100
|
+
def deserialize(params)
|
11101
|
+
@Zone = params['Zone']
|
11102
|
+
unless params['VPCSettings'].nil?
|
11103
|
+
@VPCSettings = VPCSettings.new
|
11104
|
+
@VPCSettings.deserialize(params['VPCSettings'])
|
11105
|
+
end
|
11106
|
+
@NodeNum = params['NodeNum']
|
11107
|
+
end
|
11108
|
+
end
|
11109
|
+
|
10696
11110
|
end
|
10697
11111
|
end
|
10698
11112
|
end
|
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.904
|
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-09-
|
11
|
+
date: 2024-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|