tencentcloud-sdk-cdc 3.0.656 → 3.0.657

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201214/models.rb +89 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd3f38f90968f7a38655a8c98493d2c60bb6dc7a
4
- data.tar.gz: 099b1f8acc75817d738017ab9b3e2bdfcec84fa8
3
+ metadata.gz: 2c884aae6c7c3f2a701ec88b14d1a2af52999a16
4
+ data.tar.gz: 98f0c03768300e08df23ca50c99d833ebb29093b
5
5
  SHA512:
6
- metadata.gz: c326aa77315560a28c6fe91b55fa4164e95150e7db4519c92406018b4aa3e22c6df3b7d5a566e60183c0991708e8be9876a2ce26c1d97c0c8848ee5028d05132
7
- data.tar.gz: 9240ea3dde646dc9520b94238b4c6fbd760279c1f9349442cdd2da7a7985b1b593bdc88bd8be09cd9173d1d435bfa7c2d57377ea0a5c9c8ed1134900d0255593
6
+ metadata.gz: 685e8fd4825bdad28e57795b6fe6683a72e61e971c0362df3594c5c40eacd0afbc6b9b82e85b2ebf6537bfe9da8f41db0e77de5cdf0737f404ddcee230fe1587
7
+ data.tar.gz: 9c8ccbaae970c7447abdd1329605119af8a684ff3a0f9c63b011a8a46f2c62f911269cd47bfff3d359e2327bff1371ab69c6ec0b2c1fb6654dd21657bffd7d16
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.656
1
+ 3.0.657
@@ -823,15 +823,31 @@ module TencentCloud
823
823
  class DescribeDedicatedClusterHostStatisticsRequest < TencentCloud::Common::AbstractModel
824
824
  # @param DedicatedClusterId: 查询的专用集群id
825
825
  # @type DedicatedClusterId: String
826
+ # @param HostId: 宿主机id
827
+ # @type HostId: String
828
+ # @param StartTime: 开始时间
829
+ # @type StartTime: String
830
+ # @param EndTime: 结束时间
831
+ # @type EndTime: String
832
+ # @param Period: 时间范围精度,1分钟/5分钟
833
+ # @type Period: String
826
834
 
827
- attr_accessor :DedicatedClusterId
835
+ attr_accessor :DedicatedClusterId, :HostId, :StartTime, :EndTime, :Period
828
836
 
829
- def initialize(dedicatedclusterid=nil)
837
+ def initialize(dedicatedclusterid=nil, hostid=nil, starttime=nil, endtime=nil, period=nil)
830
838
  @DedicatedClusterId = dedicatedclusterid
839
+ @HostId = hostid
840
+ @StartTime = starttime
841
+ @EndTime = endtime
842
+ @Period = period
831
843
  end
832
844
 
833
845
  def deserialize(params)
834
846
  @DedicatedClusterId = params['DedicatedClusterId']
847
+ @HostId = params['HostId']
848
+ @StartTime = params['StartTime']
849
+ @EndTime = params['EndTime']
850
+ @Period = params['Period']
835
851
  end
836
852
  end
837
853
 
@@ -1396,6 +1412,28 @@ module TencentCloud
1396
1412
  end
1397
1413
  end
1398
1414
 
1415
+ # 带有时间的详细数据。
1416
+ class DetailData < TencentCloud::Common::AbstractModel
1417
+ # @param Timestamps: 时间戳
1418
+ # 注意:此字段可能返回 null,表示取不到有效值。
1419
+ # @type Timestamps: Array
1420
+ # @param Values: 对应的具体值
1421
+ # 注意:此字段可能返回 null,表示取不到有效值。
1422
+ # @type Values: Array
1423
+
1424
+ attr_accessor :Timestamps, :Values
1425
+
1426
+ def initialize(timestamps=nil, values=nil)
1427
+ @Timestamps = timestamps
1428
+ @Values = values
1429
+ end
1430
+
1431
+ def deserialize(params)
1432
+ @Timestamps = params['Timestamps']
1433
+ @Values = params['Values']
1434
+ end
1435
+ end
1436
+
1399
1437
  # CDC宿主机的详细信息
1400
1438
  class HostInfo < TencentCloud::Common::AbstractModel
1401
1439
  # @param HostIp: 宿主机IP
@@ -1465,15 +1503,43 @@ module TencentCloud
1465
1503
  # @type Memory: Integer
1466
1504
  # @param Count: 该规格宿主机的数量
1467
1505
  # @type Count: Integer
1506
+ # @param CpuAverage: 平均cpu负载百分比
1507
+ # 注意:此字段可能返回 null,表示取不到有效值。
1508
+ # @type CpuAverage: Float
1509
+ # @param MemAverage: 平均内存使用率百分比
1510
+ # 注意:此字段可能返回 null,表示取不到有效值。
1511
+ # @type MemAverage: Float
1512
+ # @param NetAverage: 平均网络流量
1513
+ # 注意:此字段可能返回 null,表示取不到有效值。
1514
+ # @type NetAverage: Float
1515
+ # @param CpuDetailData: cpu详细监控数据
1516
+ # 注意:此字段可能返回 null,表示取不到有效值。
1517
+ # @type CpuDetailData: :class:`Tencentcloud::Cdc.v20201214.models.DetailData`
1518
+ # @param MemDetailData: 内存详细数据
1519
+ # 注意:此字段可能返回 null,表示取不到有效值。
1520
+ # @type MemDetailData: :class:`Tencentcloud::Cdc.v20201214.models.DetailData`
1521
+ # @param NetRateDetailData: 网络速率详细数据
1522
+ # 注意:此字段可能返回 null,表示取不到有效值。
1523
+ # @type NetRateDetailData: :class:`Tencentcloud::Cdc.v20201214.models.DetailData`
1524
+ # @param NetPacketDetailData: 网速包详细数据
1525
+ # 注意:此字段可能返回 null,表示取不到有效值。
1526
+ # @type NetPacketDetailData: :class:`Tencentcloud::Cdc.v20201214.models.DetailData`
1468
1527
 
1469
- attr_accessor :HostType, :HostFamily, :Cpu, :Memory, :Count
1528
+ attr_accessor :HostType, :HostFamily, :Cpu, :Memory, :Count, :CpuAverage, :MemAverage, :NetAverage, :CpuDetailData, :MemDetailData, :NetRateDetailData, :NetPacketDetailData
1470
1529
 
1471
- def initialize(hosttype=nil, hostfamily=nil, cpu=nil, memory=nil, count=nil)
1530
+ def initialize(hosttype=nil, hostfamily=nil, cpu=nil, memory=nil, count=nil, cpuaverage=nil, memaverage=nil, netaverage=nil, cpudetaildata=nil, memdetaildata=nil, netratedetaildata=nil, netpacketdetaildata=nil)
1472
1531
  @HostType = hosttype
1473
1532
  @HostFamily = hostfamily
1474
1533
  @Cpu = cpu
1475
1534
  @Memory = memory
1476
1535
  @Count = count
1536
+ @CpuAverage = cpuaverage
1537
+ @MemAverage = memaverage
1538
+ @NetAverage = netaverage
1539
+ @CpuDetailData = cpudetaildata
1540
+ @MemDetailData = memdetaildata
1541
+ @NetRateDetailData = netratedetaildata
1542
+ @NetPacketDetailData = netpacketdetaildata
1477
1543
  end
1478
1544
 
1479
1545
  def deserialize(params)
@@ -1482,6 +1548,25 @@ module TencentCloud
1482
1548
  @Cpu = params['Cpu']
1483
1549
  @Memory = params['Memory']
1484
1550
  @Count = params['Count']
1551
+ @CpuAverage = params['CpuAverage']
1552
+ @MemAverage = params['MemAverage']
1553
+ @NetAverage = params['NetAverage']
1554
+ unless params['CpuDetailData'].nil?
1555
+ @CpuDetailData = DetailData.new
1556
+ @CpuDetailData.deserialize(params['CpuDetailData'])
1557
+ end
1558
+ unless params['MemDetailData'].nil?
1559
+ @MemDetailData = DetailData.new
1560
+ @MemDetailData.deserialize(params['MemDetailData'])
1561
+ end
1562
+ unless params['NetRateDetailData'].nil?
1563
+ @NetRateDetailData = DetailData.new
1564
+ @NetRateDetailData.deserialize(params['NetRateDetailData'])
1565
+ end
1566
+ unless params['NetPacketDetailData'].nil?
1567
+ @NetPacketDetailData = DetailData.new
1568
+ @NetPacketDetailData.deserialize(params['NetPacketDetailData'])
1569
+ end
1485
1570
  end
1486
1571
  end
1487
1572
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.656
4
+ version: 3.0.657
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-11 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common