tencentcloud-sdk-dlc 3.0.849 → 3.0.850

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 518a51ca1bb10a3ae853842adeaba70a0b9b6c57
4
- data.tar.gz: 049eae37fa40a5e31319b882645da789dc4d9082
3
+ metadata.gz: 9b0a790917cddbfcd135ec018a5ac01e686c0203
4
+ data.tar.gz: a92123a4edbef008179a97fbeaedc5ade5781d6b
5
5
  SHA512:
6
- metadata.gz: 6e9143bde20d9c9c0fe1d72ee05b5bb05e73b756575e76b9753824e93448f4795419d1a3e6bedf4049e22b0361a5d0a8ad37d8978e4d33b2805d78497c333c47
7
- data.tar.gz: 066daeb855b7db3bb2eb4329237a53f1e362638de9a129826e5f51f8693580bad019fffc106312245281d2726aa336ddeeec3e02446fc00b686df652d9d96ea6
6
+ metadata.gz: 4352f02acde9a6b5bbbc0dd41747ef2a050bd0e7b9b08047587e9a7d3cf10af87cf09fdde2124d7ed1adedd78e8581c3faee41ce7ef51e57d5979a1dbbd2ff08
7
+ data.tar.gz: 7360c909fc56f6ff9bfc6533a7e94fff433b07aafc6d592a249e0a5c4da28cbdfd94b27a8b49a17fd6961d51d9019939e3bf0807b878d3f2c3ffd3fccf2e6c3f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.849
1
+ 3.0.850
@@ -1493,6 +1493,30 @@ module TencentCloud
1493
1493
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1494
1494
  end
1495
1495
 
1496
+ # 查询引擎规格详情
1497
+
1498
+ # @param request: Request instance for DescribeDataEnginesScaleDetail.
1499
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDataEnginesScaleDetailRequest`
1500
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDataEnginesScaleDetailResponse`
1501
+ def DescribeDataEnginesScaleDetail(request)
1502
+ body = send_request('DescribeDataEnginesScaleDetail', request.serialize)
1503
+ response = JSON.parse(body)
1504
+ if response['Response'].key?('Error') == false
1505
+ model = DescribeDataEnginesScaleDetailResponse.new
1506
+ model.deserialize(response['Response'])
1507
+ model
1508
+ else
1509
+ code = response['Response']['Error']['Code']
1510
+ message = response['Response']['Error']['Message']
1511
+ reqid = response['Response']['RequestId']
1512
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1513
+ end
1514
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1515
+ raise e
1516
+ rescue StandardError => e
1517
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
+ end
1519
+
1496
1520
  # 本接口(DescribeDatabases)用于查询数据库列表。
1497
1521
 
1498
1522
  # @param request: Request instance for DescribeDatabases.
@@ -3812,6 +3812,67 @@ module TencentCloud
3812
3812
  end
3813
3813
  end
3814
3814
 
3815
+ # 引擎规格详情
3816
+ class DataEngineScaleInfo < TencentCloud::Common::AbstractModel
3817
+ # @param DataEngineId: 引擎ID
3818
+ # 注意:此字段可能返回 null,表示取不到有效值。
3819
+ # @type DataEngineId: String
3820
+ # @param DataEngineName: 引擎名称
3821
+ # 注意:此字段可能返回 null,表示取不到有效值。
3822
+ # @type DataEngineName: String
3823
+ # @param ScaleDetail: 引擎规格详情
3824
+ # 注意:此字段可能返回 null,表示取不到有效值。
3825
+ # @type ScaleDetail: Array
3826
+
3827
+ attr_accessor :DataEngineId, :DataEngineName, :ScaleDetail
3828
+
3829
+ def initialize(dataengineid=nil, dataenginename=nil, scaledetail=nil)
3830
+ @DataEngineId = dataengineid
3831
+ @DataEngineName = dataenginename
3832
+ @ScaleDetail = scaledetail
3833
+ end
3834
+
3835
+ def deserialize(params)
3836
+ @DataEngineId = params['DataEngineId']
3837
+ @DataEngineName = params['DataEngineName']
3838
+ unless params['ScaleDetail'].nil?
3839
+ @ScaleDetail = []
3840
+ params['ScaleDetail'].each do |i|
3841
+ dataenginescaleinfodetail_tmp = DataEngineScaleInfoDetail.new
3842
+ dataenginescaleinfodetail_tmp.deserialize(i)
3843
+ @ScaleDetail << dataenginescaleinfodetail_tmp
3844
+ end
3845
+ end
3846
+ end
3847
+ end
3848
+
3849
+ # 引擎规格详情
3850
+ class DataEngineScaleInfoDetail < TencentCloud::Common::AbstractModel
3851
+ # @param StartTime: 统计开始时间,格式为:yyyy-MM-dd HH:mm:ss
3852
+ # 注意:此字段可能返回 null,表示取不到有效值。
3853
+ # @type StartTime: String
3854
+ # @param EndTime: 统计结束时间,格式为:yyyy-MM-dd HH:mm:ss
3855
+ # 注意:此字段可能返回 null,表示取不到有效值。
3856
+ # @type EndTime: String
3857
+ # @param CU: 当前统计时间段,引擎规格
3858
+ # 注意:此字段可能返回 null,表示取不到有效值。
3859
+ # @type CU: Integer
3860
+
3861
+ attr_accessor :StartTime, :EndTime, :CU
3862
+
3863
+ def initialize(starttime=nil, endtime=nil, cu=nil)
3864
+ @StartTime = starttime
3865
+ @EndTime = endtime
3866
+ @CU = cu
3867
+ end
3868
+
3869
+ def deserialize(params)
3870
+ @StartTime = params['StartTime']
3871
+ @EndTime = params['EndTime']
3872
+ @CU = params['CU']
3873
+ end
3874
+ end
3875
+
3815
3876
  # 数据表数据格式。
3816
3877
  class DataFormat < TencentCloud::Common::AbstractModel
3817
3878
  # @param TextFile: 文本格式,TextFile。
@@ -5412,6 +5473,58 @@ module TencentCloud
5412
5473
  end
5413
5474
  end
5414
5475
 
5476
+ # DescribeDataEnginesScaleDetail请求参数结构体
5477
+ class DescribeDataEnginesScaleDetailRequest < TencentCloud::Common::AbstractModel
5478
+ # @param DataEngineNames: 引擎名称列表
5479
+ # @type DataEngineNames: Array
5480
+ # @param StartTime: 开始时间,时间格式:yyyy-MM-dd HH:mm:ss,最长查询一个月内的记录
5481
+ # @type StartTime: String
5482
+ # @param EndTime: 结束时间,时间格式:yyyy-MM-dd HH:mm:ss,最长查询一个月内的记录
5483
+ # @type EndTime: String
5484
+
5485
+ attr_accessor :DataEngineNames, :StartTime, :EndTime
5486
+
5487
+ def initialize(dataenginenames=nil, starttime=nil, endtime=nil)
5488
+ @DataEngineNames = dataenginenames
5489
+ @StartTime = starttime
5490
+ @EndTime = endtime
5491
+ end
5492
+
5493
+ def deserialize(params)
5494
+ @DataEngineNames = params['DataEngineNames']
5495
+ @StartTime = params['StartTime']
5496
+ @EndTime = params['EndTime']
5497
+ end
5498
+ end
5499
+
5500
+ # DescribeDataEnginesScaleDetail返回参数结构体
5501
+ class DescribeDataEnginesScaleDetailResponse < TencentCloud::Common::AbstractModel
5502
+ # @param Scales: 引擎规格统计详细信息
5503
+ # 注意:此字段可能返回 null,表示取不到有效值。
5504
+ # @type Scales: Array
5505
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5506
+ # @type RequestId: String
5507
+
5508
+ attr_accessor :Scales, :RequestId
5509
+
5510
+ def initialize(scales=nil, requestid=nil)
5511
+ @Scales = scales
5512
+ @RequestId = requestid
5513
+ end
5514
+
5515
+ def deserialize(params)
5516
+ unless params['Scales'].nil?
5517
+ @Scales = []
5518
+ params['Scales'].each do |i|
5519
+ dataenginescaleinfo_tmp = DataEngineScaleInfo.new
5520
+ dataenginescaleinfo_tmp.deserialize(i)
5521
+ @Scales << dataenginescaleinfo_tmp
5522
+ end
5523
+ end
5524
+ @RequestId = params['RequestId']
5525
+ end
5526
+ end
5527
+
5415
5528
  # DescribeDatabases请求参数结构体
5416
5529
  class DescribeDatabasesRequest < TencentCloud::Common::AbstractModel
5417
5530
  # @param Limit: 返回数量,默认为10,最大值为100。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.849
4
+ version: 3.0.850
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-06-23 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common