tencentcloud-sdk-emr 3.0.901 → 3.0.903
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 +148 -0
- data/lib/v20190103/models.rb +605 -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: 5051ad6b8d55614064b7e8d2dbf745d8bd1b471f
|
4
|
+
data.tar.gz: 4aa2d08358fe676d99270698c56ff464a3d3a03e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc17619552475253e62ac6c4d253725a079fa16a0b3897e8f68c8c857919a5e5bb3fe091689d93475beaadb14bd3bf0e60ee36b504d62dd8c307d4e4ebf3ade3
|
7
|
+
data.tar.gz: 252bbea8d4c55c65f342fa43e6e34891a32ce979c621d8302969fdcecd79145f2fc098e1573374ad70a9ed6eeaced9c2e0b39674227191d54b2ef19973cac6e3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.903
|
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.
|
@@ -606,6 +632,78 @@ module TencentCloud
|
|
606
632
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
607
633
|
end
|
608
634
|
|
635
|
+
# YARN资源调度-变更详情
|
636
|
+
|
637
|
+
# @param request: Request instance for DescribeResourceScheduleDiffDetail.
|
638
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeResourceScheduleDiffDetailRequest`
|
639
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeResourceScheduleDiffDetailResponse`
|
640
|
+
def DescribeResourceScheduleDiffDetail(request)
|
641
|
+
body = send_request('DescribeResourceScheduleDiffDetail', request.serialize)
|
642
|
+
response = JSON.parse(body)
|
643
|
+
if response['Response'].key?('Error') == false
|
644
|
+
model = DescribeResourceScheduleDiffDetailResponse.new
|
645
|
+
model.deserialize(response['Response'])
|
646
|
+
model
|
647
|
+
else
|
648
|
+
code = response['Response']['Error']['Code']
|
649
|
+
message = response['Response']['Error']['Message']
|
650
|
+
reqid = response['Response']['RequestId']
|
651
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
652
|
+
end
|
653
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
654
|
+
raise e
|
655
|
+
rescue StandardError => e
|
656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
657
|
+
end
|
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
|
+
|
609
707
|
# 查询服务进程信息
|
610
708
|
|
611
709
|
# @param request: Request instance for DescribeServiceNodeInfos.
|
@@ -1016,6 +1114,32 @@ module TencentCloud
|
|
1016
1114
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1017
1115
|
end
|
1018
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
|
+
|
1019
1143
|
# 修改用户密码(用户管理)
|
1020
1144
|
|
1021
1145
|
# @param request: Request instance for ModifyUserManagerPwd.
|
@@ -1280,6 +1404,30 @@ module TencentCloud
|
|
1280
1404
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1281
1405
|
end
|
1282
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
|
+
|
1283
1431
|
# 缩容Task节点
|
1284
1432
|
|
1285
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
|
@@ -3065,6 +3139,54 @@ module TencentCloud
|
|
3065
3139
|
end
|
3066
3140
|
end
|
3067
3141
|
|
3142
|
+
# DescribeResourceScheduleDiffDetail请求参数结构体
|
3143
|
+
class DescribeResourceScheduleDiffDetailRequest < TencentCloud::Common::AbstractModel
|
3144
|
+
# @param InstanceId: emr集群的英文id
|
3145
|
+
# @type InstanceId: String
|
3146
|
+
# @param Scheduler: 查询的变更明细对应的调度器,可选值为fair、capacity。如果不传或者传空会使用最新的调度器
|
3147
|
+
# @type Scheduler: String
|
3148
|
+
|
3149
|
+
attr_accessor :InstanceId, :Scheduler
|
3150
|
+
|
3151
|
+
def initialize(instanceid=nil, scheduler=nil)
|
3152
|
+
@InstanceId = instanceid
|
3153
|
+
@Scheduler = scheduler
|
3154
|
+
end
|
3155
|
+
|
3156
|
+
def deserialize(params)
|
3157
|
+
@InstanceId = params['InstanceId']
|
3158
|
+
@Scheduler = params['Scheduler']
|
3159
|
+
end
|
3160
|
+
end
|
3161
|
+
|
3162
|
+
# DescribeResourceScheduleDiffDetail返回参数结构体
|
3163
|
+
class DescribeResourceScheduleDiffDetailResponse < TencentCloud::Common::AbstractModel
|
3164
|
+
# @param Details: 变化项的明细
|
3165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3166
|
+
# @type Details: Array
|
3167
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3168
|
+
# @type RequestId: String
|
3169
|
+
|
3170
|
+
attr_accessor :Details, :RequestId
|
3171
|
+
|
3172
|
+
def initialize(details=nil, requestid=nil)
|
3173
|
+
@Details = details
|
3174
|
+
@RequestId = requestid
|
3175
|
+
end
|
3176
|
+
|
3177
|
+
def deserialize(params)
|
3178
|
+
unless params['Details'].nil?
|
3179
|
+
@Details = []
|
3180
|
+
params['Details'].each do |i|
|
3181
|
+
diffdetail_tmp = DiffDetail.new
|
3182
|
+
diffdetail_tmp.deserialize(i)
|
3183
|
+
@Details << diffdetail_tmp
|
3184
|
+
end
|
3185
|
+
end
|
3186
|
+
@RequestId = params['RequestId']
|
3187
|
+
end
|
3188
|
+
end
|
3189
|
+
|
3068
3190
|
# DescribeResourceSchedule请求参数结构体
|
3069
3191
|
class DescribeResourceScheduleRequest < TencentCloud::Common::AbstractModel
|
3070
3192
|
# @param InstanceId: emr集群的英文id
|
@@ -3113,6 +3235,155 @@ module TencentCloud
|
|
3113
3235
|
end
|
3114
3236
|
end
|
3115
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
|
+
|
3116
3387
|
# DescribeServiceNodeInfos请求参数结构体
|
3117
3388
|
class DescribeServiceNodeInfosRequest < TencentCloud::Common::AbstractModel
|
3118
3389
|
# @param InstanceId: 实例ID
|
@@ -3659,6 +3930,147 @@ module TencentCloud
|
|
3659
3930
|
end
|
3660
3931
|
end
|
3661
3932
|
|
3933
|
+
# 动态生成的变更详情
|
3934
|
+
class DiffDetail < TencentCloud::Common::AbstractModel
|
3935
|
+
# @param Name: tab页的头
|
3936
|
+
# @type Name: String
|
3937
|
+
# @param Count: 变化项的个数
|
3938
|
+
# @type Count: Integer
|
3939
|
+
# @param Rows: 要渲染的明细数据
|
3940
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3941
|
+
# @type Rows: Array
|
3942
|
+
# @param Header: 要渲染的头部信息
|
3943
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3944
|
+
# @type Header: Array
|
3945
|
+
|
3946
|
+
attr_accessor :Name, :Count, :Rows, :Header
|
3947
|
+
|
3948
|
+
def initialize(name=nil, count=nil, rows=nil, header=nil)
|
3949
|
+
@Name = name
|
3950
|
+
@Count = count
|
3951
|
+
@Rows = rows
|
3952
|
+
@Header = header
|
3953
|
+
end
|
3954
|
+
|
3955
|
+
def deserialize(params)
|
3956
|
+
@Name = params['Name']
|
3957
|
+
@Count = params['Count']
|
3958
|
+
unless params['Rows'].nil?
|
3959
|
+
@Rows = []
|
3960
|
+
params['Rows'].each do |i|
|
3961
|
+
diffdetailitem_tmp = DiffDetailItem.new
|
3962
|
+
diffdetailitem_tmp.deserialize(i)
|
3963
|
+
@Rows << diffdetailitem_tmp
|
3964
|
+
end
|
3965
|
+
end
|
3966
|
+
unless params['Header'].nil?
|
3967
|
+
@Header = []
|
3968
|
+
params['Header'].each do |i|
|
3969
|
+
diffheader_tmp = DiffHeader.new
|
3970
|
+
diffheader_tmp.deserialize(i)
|
3971
|
+
@Header << diffheader_tmp
|
3972
|
+
end
|
3973
|
+
end
|
3974
|
+
end
|
3975
|
+
end
|
3976
|
+
|
3977
|
+
# 动态生成的变更详情条目
|
3978
|
+
class DiffDetailItem < TencentCloud::Common::AbstractModel
|
3979
|
+
# @param Attribute: 属性
|
3980
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3981
|
+
# @type Attribute: String
|
3982
|
+
# @param InEffect: 当前生效
|
3983
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3984
|
+
# @type InEffect: String
|
3985
|
+
# @param PendingEffectiveness: 待生效
|
3986
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3987
|
+
# @type PendingEffectiveness: String
|
3988
|
+
# @param Operation: 操作
|
3989
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3990
|
+
# @type Operation: String
|
3991
|
+
# @param Queue: 队列
|
3992
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3993
|
+
# @type Queue: String
|
3994
|
+
# @param ConfigSet: 配置集
|
3995
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3996
|
+
# @type ConfigSet: String
|
3997
|
+
# @param LabelName: 标签
|
3998
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3999
|
+
# @type LabelName: String
|
4000
|
+
# @param InEffectIndex: 当前所在位置
|
4001
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4002
|
+
# @type InEffectIndex: String
|
4003
|
+
# @param PendingEffectIndex: 待生效的位置
|
4004
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4005
|
+
# @type PendingEffectIndex: String
|
4006
|
+
# @param PlanName: 计划模式名称
|
4007
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4008
|
+
# @type PlanName: String
|
4009
|
+
# @param Label: 标签
|
4010
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4011
|
+
# @type Label: String
|
4012
|
+
# @param RuleName: 放置规则
|
4013
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4014
|
+
# @type RuleName: String
|
4015
|
+
# @param UserName: 用户名
|
4016
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4017
|
+
# @type UserName: String
|
4018
|
+
|
4019
|
+
attr_accessor :Attribute, :InEffect, :PendingEffectiveness, :Operation, :Queue, :ConfigSet, :LabelName, :InEffectIndex, :PendingEffectIndex, :PlanName, :Label, :RuleName, :UserName
|
4020
|
+
|
4021
|
+
def initialize(attribute=nil, ineffect=nil, pendingeffectiveness=nil, operation=nil, queue=nil, configset=nil, labelname=nil, ineffectindex=nil, pendingeffectindex=nil, planname=nil, label=nil, rulename=nil, username=nil)
|
4022
|
+
@Attribute = attribute
|
4023
|
+
@InEffect = ineffect
|
4024
|
+
@PendingEffectiveness = pendingeffectiveness
|
4025
|
+
@Operation = operation
|
4026
|
+
@Queue = queue
|
4027
|
+
@ConfigSet = configset
|
4028
|
+
@LabelName = labelname
|
4029
|
+
@InEffectIndex = ineffectindex
|
4030
|
+
@PendingEffectIndex = pendingeffectindex
|
4031
|
+
@PlanName = planname
|
4032
|
+
@Label = label
|
4033
|
+
@RuleName = rulename
|
4034
|
+
@UserName = username
|
4035
|
+
end
|
4036
|
+
|
4037
|
+
def deserialize(params)
|
4038
|
+
@Attribute = params['Attribute']
|
4039
|
+
@InEffect = params['InEffect']
|
4040
|
+
@PendingEffectiveness = params['PendingEffectiveness']
|
4041
|
+
@Operation = params['Operation']
|
4042
|
+
@Queue = params['Queue']
|
4043
|
+
@ConfigSet = params['ConfigSet']
|
4044
|
+
@LabelName = params['LabelName']
|
4045
|
+
@InEffectIndex = params['InEffectIndex']
|
4046
|
+
@PendingEffectIndex = params['PendingEffectIndex']
|
4047
|
+
@PlanName = params['PlanName']
|
4048
|
+
@Label = params['Label']
|
4049
|
+
@RuleName = params['RuleName']
|
4050
|
+
@UserName = params['UserName']
|
4051
|
+
end
|
4052
|
+
end
|
4053
|
+
|
4054
|
+
# 动态生成的变更详情
|
4055
|
+
class DiffHeader < TencentCloud::Common::AbstractModel
|
4056
|
+
# @param Name: 名称
|
4057
|
+
# @type Name: String
|
4058
|
+
# @param Id: ID,前端会使用
|
4059
|
+
# @type Id: String
|
4060
|
+
|
4061
|
+
attr_accessor :Name, :Id
|
4062
|
+
|
4063
|
+
def initialize(name=nil, id=nil)
|
4064
|
+
@Name = name
|
4065
|
+
@Id = id
|
4066
|
+
end
|
4067
|
+
|
4068
|
+
def deserialize(params)
|
4069
|
+
@Name = params['Name']
|
4070
|
+
@Id = params['Id']
|
4071
|
+
end
|
4072
|
+
end
|
4073
|
+
|
3662
4074
|
# 磁盘组。
|
3663
4075
|
class DiskGroup < TencentCloud::Common::AbstractModel
|
3664
4076
|
# @param Spec: 磁盘规格。
|
@@ -5800,19 +6212,23 @@ module TencentCloud
|
|
5800
6212
|
# @type ResourceIds: Array
|
5801
6213
|
# @param RenewFlag: NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:表示不通知即将过期,也不自动续费。
|
5802
6214
|
# @type RenewFlag: String
|
6215
|
+
# @param ComputeResourceId: 计算资源id
|
6216
|
+
# @type ComputeResourceId: String
|
5803
6217
|
|
5804
|
-
attr_accessor :InstanceId, :ResourceIds, :RenewFlag
|
6218
|
+
attr_accessor :InstanceId, :ResourceIds, :RenewFlag, :ComputeResourceId
|
5805
6219
|
|
5806
|
-
def initialize(instanceid=nil, resourceids=nil, renewflag=nil)
|
6220
|
+
def initialize(instanceid=nil, resourceids=nil, renewflag=nil, computeresourceid=nil)
|
5807
6221
|
@InstanceId = instanceid
|
5808
6222
|
@ResourceIds = resourceids
|
5809
6223
|
@RenewFlag = renewflag
|
6224
|
+
@ComputeResourceId = computeresourceid
|
5810
6225
|
end
|
5811
6226
|
|
5812
6227
|
def deserialize(params)
|
5813
6228
|
@InstanceId = params['InstanceId']
|
5814
6229
|
@ResourceIds = params['ResourceIds']
|
5815
6230
|
@RenewFlag = params['RenewFlag']
|
6231
|
+
@ComputeResourceId = params['ComputeResourceId']
|
5816
6232
|
end
|
5817
6233
|
end
|
5818
6234
|
|
@@ -6170,6 +6586,46 @@ module TencentCloud
|
|
6170
6586
|
end
|
6171
6587
|
end
|
6172
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
|
+
|
6173
6629
|
# ModifyUserManagerPwd请求参数结构体
|
6174
6630
|
class ModifyUserManagerPwdRequest < TencentCloud::Common::AbstractModel
|
6175
6631
|
# @param InstanceId: 集群实例ID
|
@@ -8360,6 +8816,94 @@ module TencentCloud
|
|
8360
8816
|
end
|
8361
8817
|
end
|
8362
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
|
+
|
8363
8907
|
# ScaleOutCluster请求参数结构体
|
8364
8908
|
class ScaleOutClusterRequest < TencentCloud::Common::AbstractModel
|
8365
8909
|
# @param InstanceChargeType: 节点计费模式。取值范围:
|
@@ -9644,6 +10188,38 @@ module TencentCloud
|
|
9644
10188
|
end
|
9645
10189
|
end
|
9646
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
|
+
|
9647
10223
|
# TerminateTasks请求参数结构体
|
9648
10224
|
class TerminateTasksRequest < TencentCloud::Common::AbstractModel
|
9649
10225
|
# @param InstanceId: 实例ID。
|
@@ -10504,6 +11080,33 @@ module TencentCloud
|
|
10504
11080
|
end
|
10505
11081
|
end
|
10506
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
|
+
|
10507
11110
|
end
|
10508
11111
|
end
|
10509
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.903
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|