tencentcloud-sdk-emr 3.0.872 → 3.0.874
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190103/client.rb +24 -0
- data/lib/v20190103/models.rb +210 -60
- 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: 0c70d18ec33eaad512729f3f2f414df3b35c16f0
|
4
|
+
data.tar.gz: 91a0f19f4d3a8c85e51e7765d27cf1a27493eac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9378e9fbb336dac910d1a2735d4c9ab76c232f53a93ffb67684f1e89c5cdbbd23dfac34e1aa4947ad5d01064f319ba402f0c7fe582347bfa9fb5e6585e4df70
|
7
|
+
data.tar.gz: 017fbf7b936bdfe4ad34032bbbcc6f435c54d1d66aea5543ade9b49624fa4590d6f6f4e2ad23abcecc94cbea20bcd3c04191208ae312dbf6dd53e82a4eeaaa96
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.874
|
data/lib/v20190103/client.rb
CHANGED
@@ -582,6 +582,30 @@ module TencentCloud
|
|
582
582
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
583
583
|
end
|
584
584
|
|
585
|
+
# 获取trino查询结果
|
586
|
+
|
587
|
+
# @param request: Request instance for DescribeTrinoQueryInfo.
|
588
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::DescribeTrinoQueryInfoRequest`
|
589
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::DescribeTrinoQueryInfoResponse`
|
590
|
+
def DescribeTrinoQueryInfo(request)
|
591
|
+
body = send_request('DescribeTrinoQueryInfo', request.serialize)
|
592
|
+
response = JSON.parse(body)
|
593
|
+
if response['Response'].key?('Error') == false
|
594
|
+
model = DescribeTrinoQueryInfoResponse.new
|
595
|
+
model.deserialize(response['Response'])
|
596
|
+
model
|
597
|
+
else
|
598
|
+
code = response['Response']['Error']['Code']
|
599
|
+
message = response['Response']['Error']['Message']
|
600
|
+
reqid = response['Response']['RequestId']
|
601
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
602
|
+
end
|
603
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
604
|
+
raise e
|
605
|
+
rescue StandardError => e
|
606
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
607
|
+
end
|
608
|
+
|
585
609
|
# 该接口支持安装了OpenLdap组件的集群。
|
586
610
|
# 批量导出用户。对于kerberos集群,如果需要kertab文件下载地址,可以将NeedKeytabInfo设置为true;注意SupportDownLoadKeyTab为true,但是DownLoadKeyTabUrl为空字符串,表示keytab文件在后台没有准备好(正在生成)。
|
587
611
|
|
data/lib/v20190103/models.rb
CHANGED
@@ -2904,6 +2904,70 @@ module TencentCloud
|
|
2904
2904
|
end
|
2905
2905
|
end
|
2906
2906
|
|
2907
|
+
# DescribeTrinoQueryInfo请求参数结构体
|
2908
|
+
class DescribeTrinoQueryInfoRequest < TencentCloud::Common::AbstractModel
|
2909
|
+
# @param InstanceId: 集群ID
|
2910
|
+
# @type InstanceId: String
|
2911
|
+
# @param StartTime: 获取查询信息开始时间 (s)
|
2912
|
+
# @type StartTime: Integer
|
2913
|
+
# @param EndTime: 获取查询信息结束时间 (s)
|
2914
|
+
# @type EndTime: Integer
|
2915
|
+
# @param PageSize: 分页查询时的分页大小,最小1,最大100
|
2916
|
+
# @type PageSize: Integer
|
2917
|
+
# @param Page: 分页查询时的页号,从1开始
|
2918
|
+
# @type Page: Integer
|
2919
|
+
|
2920
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :PageSize, :Page
|
2921
|
+
|
2922
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, pagesize=nil, page=nil)
|
2923
|
+
@InstanceId = instanceid
|
2924
|
+
@StartTime = starttime
|
2925
|
+
@EndTime = endtime
|
2926
|
+
@PageSize = pagesize
|
2927
|
+
@Page = page
|
2928
|
+
end
|
2929
|
+
|
2930
|
+
def deserialize(params)
|
2931
|
+
@InstanceId = params['InstanceId']
|
2932
|
+
@StartTime = params['StartTime']
|
2933
|
+
@EndTime = params['EndTime']
|
2934
|
+
@PageSize = params['PageSize']
|
2935
|
+
@Page = params['Page']
|
2936
|
+
end
|
2937
|
+
end
|
2938
|
+
|
2939
|
+
# DescribeTrinoQueryInfo返回参数结构体
|
2940
|
+
class DescribeTrinoQueryInfoResponse < TencentCloud::Common::AbstractModel
|
2941
|
+
# @param TotalCount: 总数,分页查询时使用
|
2942
|
+
# @type TotalCount: Integer
|
2943
|
+
# @param QueryInfoList: 查询结果数组
|
2944
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2945
|
+
# @type QueryInfoList: Array
|
2946
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2947
|
+
# @type RequestId: String
|
2948
|
+
|
2949
|
+
attr_accessor :TotalCount, :QueryInfoList, :RequestId
|
2950
|
+
|
2951
|
+
def initialize(totalcount=nil, queryinfolist=nil, requestid=nil)
|
2952
|
+
@TotalCount = totalcount
|
2953
|
+
@QueryInfoList = queryinfolist
|
2954
|
+
@RequestId = requestid
|
2955
|
+
end
|
2956
|
+
|
2957
|
+
def deserialize(params)
|
2958
|
+
@TotalCount = params['TotalCount']
|
2959
|
+
unless params['QueryInfoList'].nil?
|
2960
|
+
@QueryInfoList = []
|
2961
|
+
params['QueryInfoList'].each do |i|
|
2962
|
+
trinoqueryinfo_tmp = TrinoQueryInfo.new
|
2963
|
+
trinoqueryinfo_tmp.deserialize(i)
|
2964
|
+
@QueryInfoList << trinoqueryinfo_tmp
|
2965
|
+
end
|
2966
|
+
end
|
2967
|
+
@RequestId = params['RequestId']
|
2968
|
+
end
|
2969
|
+
end
|
2970
|
+
|
2907
2971
|
# DescribeUsersForUserManager请求参数结构体
|
2908
2972
|
class DescribeUsersForUserManagerRequest < TencentCloud::Common::AbstractModel
|
2909
2973
|
# @param InstanceId: 集群实例ID
|
@@ -4265,8 +4329,6 @@ module TencentCloud
|
|
4265
4329
|
# @type TimeSpan: Integer
|
4266
4330
|
# @param ResourceIds: 待续费节点的资源ID列表。资源ID形如:emr-vm-xxxxxxxx。有效的资源ID可通过登录[控制台](https://console.cloud.tencent.com/emr)查询。
|
4267
4331
|
# @type ResourceIds: Array
|
4268
|
-
# @param Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
|
4269
|
-
# @type Placement: :class:`Tencentcloud::Emr.v20190103.models.Placement`
|
4270
4332
|
# @param PayMode: 实例计费模式。此处只支持取值为1,表示包年包月。
|
4271
4333
|
# @type PayMode: Integer
|
4272
4334
|
# @param TimeUnit: 实例续费的时间单位。取值范围:
|
@@ -4275,31 +4337,33 @@ module TencentCloud
|
|
4275
4337
|
# @param Currency: 货币种类。取值范围:
|
4276
4338
|
# <li>CNY:表示人民币。</li>
|
4277
4339
|
# @type Currency: String
|
4340
|
+
# @param Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
|
4341
|
+
# @type Placement: :class:`Tencentcloud::Emr.v20190103.models.Placement`
|
4278
4342
|
# @param ModifyPayMode: 是否按量转包年包月。0:否,1:是。
|
4279
4343
|
# @type ModifyPayMode: Integer
|
4280
4344
|
|
4281
|
-
attr_accessor :TimeSpan, :ResourceIds, :
|
4345
|
+
attr_accessor :TimeSpan, :ResourceIds, :PayMode, :TimeUnit, :Currency, :Placement, :ModifyPayMode
|
4282
4346
|
|
4283
|
-
def initialize(timespan=nil, resourceids=nil,
|
4347
|
+
def initialize(timespan=nil, resourceids=nil, paymode=nil, timeunit=nil, currency=nil, placement=nil, modifypaymode=nil)
|
4284
4348
|
@TimeSpan = timespan
|
4285
4349
|
@ResourceIds = resourceids
|
4286
|
-
@Placement = placement
|
4287
4350
|
@PayMode = paymode
|
4288
4351
|
@TimeUnit = timeunit
|
4289
4352
|
@Currency = currency
|
4353
|
+
@Placement = placement
|
4290
4354
|
@ModifyPayMode = modifypaymode
|
4291
4355
|
end
|
4292
4356
|
|
4293
4357
|
def deserialize(params)
|
4294
4358
|
@TimeSpan = params['TimeSpan']
|
4295
4359
|
@ResourceIds = params['ResourceIds']
|
4360
|
+
@PayMode = params['PayMode']
|
4361
|
+
@TimeUnit = params['TimeUnit']
|
4362
|
+
@Currency = params['Currency']
|
4296
4363
|
unless params['Placement'].nil?
|
4297
4364
|
@Placement = Placement.new
|
4298
4365
|
@Placement.deserialize(params['Placement'])
|
4299
4366
|
end
|
4300
|
-
@PayMode = params['PayMode']
|
4301
|
-
@TimeUnit = params['TimeUnit']
|
4302
|
-
@Currency = params['Currency']
|
4303
4367
|
@ModifyPayMode = params['ModifyPayMode']
|
4304
4368
|
end
|
4305
4369
|
end
|
@@ -4471,12 +4535,12 @@ module TencentCloud
|
|
4471
4535
|
# <li>TimeUnit为s时,该参数只能填写3600,表示按量计费实例。</li>
|
4472
4536
|
# <li>TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月</li>
|
4473
4537
|
# @type TimeSpan: Integer
|
4474
|
-
# @param UpdateSpec: 节点变配的目标配置。
|
4475
|
-
# @type UpdateSpec: :class:`Tencentcloud::Emr.v20190103.models.UpdateInstanceSettings`
|
4476
4538
|
# @param PayMode: 实例计费模式。取值范围:
|
4477
4539
|
# <li>0:表示按量计费。</li>
|
4478
4540
|
# <li>1:表示包年包月。</li>
|
4479
4541
|
# @type PayMode: Integer
|
4542
|
+
# @param UpdateSpec: 节点变配的目标配置。
|
4543
|
+
# @type UpdateSpec: :class:`Tencentcloud::Emr.v20190103.models.UpdateInstanceSettings`
|
4480
4544
|
# @param Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
|
4481
4545
|
# @type Placement: :class:`Tencentcloud::Emr.v20190103.models.Placement`
|
4482
4546
|
# @param Currency: 货币种类。取值范围:
|
@@ -4485,13 +4549,13 @@ module TencentCloud
|
|
4485
4549
|
# @param ResourceIdList: 批量变配资源ID列表
|
4486
4550
|
# @type ResourceIdList: Array
|
4487
4551
|
|
4488
|
-
attr_accessor :TimeUnit, :TimeSpan, :
|
4552
|
+
attr_accessor :TimeUnit, :TimeSpan, :PayMode, :UpdateSpec, :Placement, :Currency, :ResourceIdList
|
4489
4553
|
|
4490
|
-
def initialize(timeunit=nil, timespan=nil,
|
4554
|
+
def initialize(timeunit=nil, timespan=nil, paymode=nil, updatespec=nil, placement=nil, currency=nil, resourceidlist=nil)
|
4491
4555
|
@TimeUnit = timeunit
|
4492
4556
|
@TimeSpan = timespan
|
4493
|
-
@UpdateSpec = updatespec
|
4494
4557
|
@PayMode = paymode
|
4558
|
+
@UpdateSpec = updatespec
|
4495
4559
|
@Placement = placement
|
4496
4560
|
@Currency = currency
|
4497
4561
|
@ResourceIdList = resourceidlist
|
@@ -4500,11 +4564,11 @@ module TencentCloud
|
|
4500
4564
|
def deserialize(params)
|
4501
4565
|
@TimeUnit = params['TimeUnit']
|
4502
4566
|
@TimeSpan = params['TimeSpan']
|
4567
|
+
@PayMode = params['PayMode']
|
4503
4568
|
unless params['UpdateSpec'].nil?
|
4504
4569
|
@UpdateSpec = UpdateInstanceSettings.new
|
4505
4570
|
@UpdateSpec.deserialize(params['UpdateSpec'])
|
4506
4571
|
end
|
4507
|
-
@PayMode = params['PayMode']
|
4508
4572
|
unless params['Placement'].nil?
|
4509
4573
|
@Placement = Placement.new
|
4510
4574
|
@Placement.deserialize(params['Placement'])
|
@@ -4533,17 +4597,21 @@ module TencentCloud
|
|
4533
4597
|
# @param PriceDetail: 价格详情
|
4534
4598
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4535
4599
|
# @type PriceDetail: Array
|
4600
|
+
# @param NewConfigPrice: 新配置价格
|
4601
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4602
|
+
# @type NewConfigPrice: :class:`Tencentcloud::Emr.v20190103.models.PriceResult`
|
4536
4603
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4537
4604
|
# @type RequestId: String
|
4538
4605
|
|
4539
|
-
attr_accessor :OriginalCost, :DiscountCost, :TimeUnit, :TimeSpan, :PriceDetail, :RequestId
|
4606
|
+
attr_accessor :OriginalCost, :DiscountCost, :TimeUnit, :TimeSpan, :PriceDetail, :NewConfigPrice, :RequestId
|
4540
4607
|
|
4541
|
-
def initialize(originalcost=nil, discountcost=nil, timeunit=nil, timespan=nil, pricedetail=nil, requestid=nil)
|
4608
|
+
def initialize(originalcost=nil, discountcost=nil, timeunit=nil, timespan=nil, pricedetail=nil, newconfigprice=nil, requestid=nil)
|
4542
4609
|
@OriginalCost = originalcost
|
4543
4610
|
@DiscountCost = discountcost
|
4544
4611
|
@TimeUnit = timeunit
|
4545
4612
|
@TimeSpan = timespan
|
4546
4613
|
@PriceDetail = pricedetail
|
4614
|
+
@NewConfigPrice = newconfigprice
|
4547
4615
|
@RequestId = requestid
|
4548
4616
|
end
|
4549
4617
|
|
@@ -4560,6 +4628,10 @@ module TencentCloud
|
|
4560
4628
|
@PriceDetail << pricedetail_tmp
|
4561
4629
|
end
|
4562
4630
|
end
|
4631
|
+
unless params['NewConfigPrice'].nil?
|
4632
|
+
@NewConfigPrice = PriceResult.new
|
4633
|
+
@NewConfigPrice.deserialize(params['NewConfigPrice'])
|
4634
|
+
end
|
4563
4635
|
@RequestId = params['RequestId']
|
4564
4636
|
end
|
4565
4637
|
end
|
@@ -4863,23 +4935,9 @@ module TencentCloud
|
|
4863
4935
|
# @param ScaleNum: 每次规则生效时的扩缩容数量。
|
4864
4936
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4865
4937
|
# @type ScaleNum: Integer
|
4866
|
-
# @param LoadMetrics: 扩缩容负载指标。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。
|
4867
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4868
|
-
# @type LoadMetrics: String
|
4869
|
-
# @param MetricId: 规则元数据记录ID。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。
|
4870
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4871
|
-
# @type MetricId: Integer
|
4872
|
-
# @param StatisticPeriod: 规则统计周期,提供300s,600s,900s。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。
|
4873
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4874
|
-
# @type StatisticPeriod: Integer
|
4875
4938
|
# @param ProcessMethod: 指标处理方法,1表示MAX,2表示MIN,3表示AVG。
|
4876
4939
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4877
4940
|
# @type ProcessMethod: Integer
|
4878
|
-
# @param TriggerThreshold: 触发次数,当连续触发超过TriggerThreshold次后才开始扩缩容。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。
|
4879
|
-
# @type TriggerThreshold: Integer
|
4880
|
-
# @param TriggerConditions: 条件触发数组。注:不推荐使用此属性,和LoadMetricsConditions属性配置互斥,配置了LoadMetricsConditions,这个属性不生效。请优先使用LoadMetricsConditions属性支持多指标。
|
4881
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4882
|
-
# @type TriggerConditions: :class:`Tencentcloud::Emr.v20190103.models.TriggerConditions`
|
4883
4941
|
# @param Priority: 规则优先级,添加时无效,默认为自增。
|
4884
4942
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4885
4943
|
# @type Priority: Integer
|
@@ -4912,20 +4970,15 @@ module TencentCloud
|
|
4912
4970
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4913
4971
|
# @type LoadMetricsConditions: :class:`Tencentcloud::Emr.v20190103.models.LoadMetricsConditions`
|
4914
4972
|
|
4915
|
-
attr_accessor :StrategyId, :StrategyName, :CalmDownTime, :ScaleAction, :ScaleNum, :
|
4973
|
+
attr_accessor :StrategyId, :StrategyName, :CalmDownTime, :ScaleAction, :ScaleNum, :ProcessMethod, :Priority, :StrategyStatus, :YarnNodeLabel, :PeriodValid, :GraceDownFlag, :GraceDownTime, :Tags, :ConfigGroupAssigned, :MeasureMethod, :LoadMetricsConditions
|
4916
4974
|
|
4917
|
-
def initialize(strategyid=nil, strategyname=nil, calmdowntime=nil, scaleaction=nil, scalenum=nil,
|
4975
|
+
def initialize(strategyid=nil, strategyname=nil, calmdowntime=nil, scaleaction=nil, scalenum=nil, processmethod=nil, priority=nil, strategystatus=nil, yarnnodelabel=nil, periodvalid=nil, gracedownflag=nil, gracedowntime=nil, tags=nil, configgroupassigned=nil, measuremethod=nil, loadmetricsconditions=nil)
|
4918
4976
|
@StrategyId = strategyid
|
4919
4977
|
@StrategyName = strategyname
|
4920
4978
|
@CalmDownTime = calmdowntime
|
4921
4979
|
@ScaleAction = scaleaction
|
4922
4980
|
@ScaleNum = scalenum
|
4923
|
-
@LoadMetrics = loadmetrics
|
4924
|
-
@MetricId = metricid
|
4925
|
-
@StatisticPeriod = statisticperiod
|
4926
4981
|
@ProcessMethod = processmethod
|
4927
|
-
@TriggerThreshold = triggerthreshold
|
4928
|
-
@TriggerConditions = triggerconditions
|
4929
4982
|
@Priority = priority
|
4930
4983
|
@StrategyStatus = strategystatus
|
4931
4984
|
@YarnNodeLabel = yarnnodelabel
|
@@ -4944,15 +4997,7 @@ module TencentCloud
|
|
4944
4997
|
@CalmDownTime = params['CalmDownTime']
|
4945
4998
|
@ScaleAction = params['ScaleAction']
|
4946
4999
|
@ScaleNum = params['ScaleNum']
|
4947
|
-
@LoadMetrics = params['LoadMetrics']
|
4948
|
-
@MetricId = params['MetricId']
|
4949
|
-
@StatisticPeriod = params['StatisticPeriod']
|
4950
5000
|
@ProcessMethod = params['ProcessMethod']
|
4951
|
-
@TriggerThreshold = params['TriggerThreshold']
|
4952
|
-
unless params['TriggerConditions'].nil?
|
4953
|
-
@TriggerConditions = TriggerConditions.new
|
4954
|
-
@TriggerConditions.deserialize(params['TriggerConditions'])
|
4955
|
-
end
|
4956
5001
|
@Priority = params['Priority']
|
4957
5002
|
@StrategyStatus = params['StrategyStatus']
|
4958
5003
|
@YarnNodeLabel = params['YarnNodeLabel']
|
@@ -7042,6 +7087,28 @@ module TencentCloud
|
|
7042
7087
|
end
|
7043
7088
|
end
|
7044
7089
|
|
7090
|
+
# 询价结果
|
7091
|
+
class PriceResult < TencentCloud::Common::AbstractModel
|
7092
|
+
# @param OriginalCost: 原价
|
7093
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7094
|
+
# @type OriginalCost: Float
|
7095
|
+
# @param DiscountCost: 折扣价
|
7096
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7097
|
+
# @type DiscountCost: Float
|
7098
|
+
|
7099
|
+
attr_accessor :OriginalCost, :DiscountCost
|
7100
|
+
|
7101
|
+
def initialize(originalcost=nil, discountcost=nil)
|
7102
|
+
@OriginalCost = originalcost
|
7103
|
+
@DiscountCost = discountcost
|
7104
|
+
end
|
7105
|
+
|
7106
|
+
def deserialize(params)
|
7107
|
+
@OriginalCost = params['OriginalCost']
|
7108
|
+
@DiscountCost = params['DiscountCost']
|
7109
|
+
end
|
7110
|
+
end
|
7111
|
+
|
7045
7112
|
# 获取CVM配额
|
7046
7113
|
class QuotaEntity < TencentCloud::Common::AbstractModel
|
7047
7114
|
# @param UsedQuota: 已使用配额
|
@@ -8705,27 +8772,110 @@ module TencentCloud
|
|
8705
8772
|
end
|
8706
8773
|
end
|
8707
8774
|
|
8708
|
-
#
|
8709
|
-
class
|
8710
|
-
# @param
|
8775
|
+
# trino 查询信息
|
8776
|
+
class TrinoQueryInfo < TencentCloud::Common::AbstractModel
|
8777
|
+
# @param Catalog: catalog
|
8711
8778
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8712
|
-
# @type
|
8779
|
+
# @type Catalog: String
|
8780
|
+
# @param ClientIpAddr: 提交IP
|
8781
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8782
|
+
# @type ClientIpAddr: String
|
8783
|
+
# @param CompletedSplits: 切片数
|
8784
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8785
|
+
# @type CompletedSplits: String
|
8786
|
+
# @param CpuTime: CPU时间
|
8787
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8788
|
+
# @type CpuTime: Integer
|
8789
|
+
# @param CumulativeMemory: 累计内存
|
8790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8791
|
+
# @type CumulativeMemory: Integer
|
8792
|
+
# @param DurationMillis: 执行时长
|
8793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8794
|
+
# @type DurationMillis: Integer
|
8795
|
+
# @param EndTime: 结束时间 (s)
|
8796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8797
|
+
# @type EndTime: Integer
|
8798
|
+
# @param Id: 查询ID
|
8799
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8800
|
+
# @type Id: String
|
8801
|
+
# @param InternalNetworkBytes: 内部传输量
|
8802
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8803
|
+
# @type InternalNetworkBytes: Integer
|
8804
|
+
# @param OutputBytes: 输出字节数
|
8805
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8806
|
+
# @type OutputBytes: Integer
|
8807
|
+
# @param PeakUserMemoryBytes: 峰值内存量
|
8808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8809
|
+
# @type PeakUserMemoryBytes: Integer
|
8810
|
+
# @param PhysicalInputBytes: 物理输入量
|
8811
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8812
|
+
# @type PhysicalInputBytes: Integer
|
8813
|
+
# @param ProcessedInputBytes: 处理输入量
|
8814
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8815
|
+
# @type ProcessedInputBytes: Integer
|
8816
|
+
# @param SqlCompileTime: 编译时长
|
8817
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8818
|
+
# @type SqlCompileTime: Integer
|
8819
|
+
# @param StartTime: 开始时间 (s)
|
8820
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8821
|
+
# @type StartTime: Integer
|
8822
|
+
# @param State: 执行状态
|
8823
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8824
|
+
# @type State: String
|
8825
|
+
# @param Statement: 执行语句
|
8826
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8827
|
+
# @type Statement: String
|
8828
|
+
# @param User: 提交用户
|
8829
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8830
|
+
# @type User: String
|
8831
|
+
# @param WrittenBytes: 写入字节数
|
8832
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8833
|
+
# @type WrittenBytes: Integer
|
8713
8834
|
|
8714
|
-
attr_accessor :
|
8835
|
+
attr_accessor :Catalog, :ClientIpAddr, :CompletedSplits, :CpuTime, :CumulativeMemory, :DurationMillis, :EndTime, :Id, :InternalNetworkBytes, :OutputBytes, :PeakUserMemoryBytes, :PhysicalInputBytes, :ProcessedInputBytes, :SqlCompileTime, :StartTime, :State, :Statement, :User, :WrittenBytes
|
8715
8836
|
|
8716
|
-
def initialize(
|
8717
|
-
@
|
8837
|
+
def initialize(catalog=nil, clientipaddr=nil, completedsplits=nil, cputime=nil, cumulativememory=nil, durationmillis=nil, endtime=nil, id=nil, internalnetworkbytes=nil, outputbytes=nil, peakusermemorybytes=nil, physicalinputbytes=nil, processedinputbytes=nil, sqlcompiletime=nil, starttime=nil, state=nil, statement=nil, user=nil, writtenbytes=nil)
|
8838
|
+
@Catalog = catalog
|
8839
|
+
@ClientIpAddr = clientipaddr
|
8840
|
+
@CompletedSplits = completedsplits
|
8841
|
+
@CpuTime = cputime
|
8842
|
+
@CumulativeMemory = cumulativememory
|
8843
|
+
@DurationMillis = durationmillis
|
8844
|
+
@EndTime = endtime
|
8845
|
+
@Id = id
|
8846
|
+
@InternalNetworkBytes = internalnetworkbytes
|
8847
|
+
@OutputBytes = outputbytes
|
8848
|
+
@PeakUserMemoryBytes = peakusermemorybytes
|
8849
|
+
@PhysicalInputBytes = physicalinputbytes
|
8850
|
+
@ProcessedInputBytes = processedinputbytes
|
8851
|
+
@SqlCompileTime = sqlcompiletime
|
8852
|
+
@StartTime = starttime
|
8853
|
+
@State = state
|
8854
|
+
@Statement = statement
|
8855
|
+
@User = user
|
8856
|
+
@WrittenBytes = writtenbytes
|
8718
8857
|
end
|
8719
8858
|
|
8720
8859
|
def deserialize(params)
|
8721
|
-
|
8722
|
-
|
8723
|
-
|
8724
|
-
|
8725
|
-
|
8726
|
-
|
8727
|
-
|
8728
|
-
|
8860
|
+
@Catalog = params['Catalog']
|
8861
|
+
@ClientIpAddr = params['ClientIpAddr']
|
8862
|
+
@CompletedSplits = params['CompletedSplits']
|
8863
|
+
@CpuTime = params['CpuTime']
|
8864
|
+
@CumulativeMemory = params['CumulativeMemory']
|
8865
|
+
@DurationMillis = params['DurationMillis']
|
8866
|
+
@EndTime = params['EndTime']
|
8867
|
+
@Id = params['Id']
|
8868
|
+
@InternalNetworkBytes = params['InternalNetworkBytes']
|
8869
|
+
@OutputBytes = params['OutputBytes']
|
8870
|
+
@PeakUserMemoryBytes = params['PeakUserMemoryBytes']
|
8871
|
+
@PhysicalInputBytes = params['PhysicalInputBytes']
|
8872
|
+
@ProcessedInputBytes = params['ProcessedInputBytes']
|
8873
|
+
@SqlCompileTime = params['SqlCompileTime']
|
8874
|
+
@StartTime = params['StartTime']
|
8875
|
+
@State = params['State']
|
8876
|
+
@Statement = params['Statement']
|
8877
|
+
@User = params['User']
|
8878
|
+
@WrittenBytes = params['WrittenBytes']
|
8729
8879
|
end
|
8730
8880
|
end
|
8731
8881
|
|
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.874
|
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-07-
|
11
|
+
date: 2024-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|