tencentcloud-sdk-tke 3.0.569 → 3.0.570

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: 3fb40cf04db7f0369bd825dc10614a52c22ec29a
4
- data.tar.gz: 992ee8d48bf8d6f90b879b9c4267c88dd39f6483
3
+ metadata.gz: 0588f3deeb4debeab4eeb83fe9ca6d5c0dc02f79
4
+ data.tar.gz: ecfd472ee2dd98fdc00c54dc312d8042f2cfcf5f
5
5
  SHA512:
6
- metadata.gz: 71320f4a72906f064cf2f6cceb7e452aff96c2bbc930bb6fb7d011990ccaf917d8d4ec281badc1e3df5a3ee05ca0ea5bc3de721a17bfe191c74a74f7d315c07a
7
- data.tar.gz: bc56709a22fe6ff5c5f947e2a07dfce2943ddc002ca88c6a8768d48fc21f02dce6773f4e98d2501b9f462135d3083272a9a1a461561db8ea2cb56a228c87fec7
6
+ metadata.gz: cf29a886616e88bd2f2430963fa92c8c2992ed6745841f5e348f687f38003a6781da1e2d4790def16c8465e4028f4b2363b7daedb9fa2f363746058ee3e22638
7
+ data.tar.gz: a344358d222c546b08ce080ed4b55af96d4cad12c931723b0c5cde622407c56923d30a909d4c38e0b85657902fe783dbe5b5f391496e53855243f0ed27b84c75
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.569
1
+ 3.0.570
@@ -1781,6 +1781,30 @@ module TencentCloud
1781
1781
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
1782
  end
1783
1783
 
1784
+ # 查询用户单个Region下的所有集群巡检结果概览信息
1785
+
1786
+ # @param request: Request instance for DescribeClusterInspectionResultsOverview.
1787
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterInspectionResultsOverviewRequest`
1788
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterInspectionResultsOverviewResponse`
1789
+ def DescribeClusterInspectionResultsOverview(request)
1790
+ body = send_request('DescribeClusterInspectionResultsOverview', request.serialize)
1791
+ response = JSON.parse(body)
1792
+ if response['Response'].key?('Error') == false
1793
+ model = DescribeClusterInspectionResultsOverviewResponse.new
1794
+ model.deserialize(response['Response'])
1795
+ model
1796
+ else
1797
+ code = response['Response']['Error']['Code']
1798
+ message = response['Response']['Error']['Message']
1799
+ reqid = response['Response']['RequestId']
1800
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1801
+ end
1802
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1803
+ raise e
1804
+ rescue StandardError => e
1805
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1806
+ end
1807
+
1784
1808
  # 查询集群下节点实例信息
1785
1809
 
1786
1810
  # @param request: Request instance for DescribeClusterInstances.
@@ -3725,6 +3749,54 @@ module TencentCloud
3725
3749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3726
3750
  end
3727
3751
 
3752
+ # 查询指定集群的巡检结果信息
3753
+
3754
+ # @param request: Request instance for ListClusterInspectionResults.
3755
+ # @type request: :class:`Tencentcloud::tke::V20180525::ListClusterInspectionResultsRequest`
3756
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ListClusterInspectionResultsResponse`
3757
+ def ListClusterInspectionResults(request)
3758
+ body = send_request('ListClusterInspectionResults', request.serialize)
3759
+ response = JSON.parse(body)
3760
+ if response['Response'].key?('Error') == false
3761
+ model = ListClusterInspectionResultsResponse.new
3762
+ model.deserialize(response['Response'])
3763
+ model
3764
+ else
3765
+ code = response['Response']['Error']['Code']
3766
+ message = response['Response']['Error']['Message']
3767
+ reqid = response['Response']['RequestId']
3768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3769
+ end
3770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3771
+ raise e
3772
+ rescue StandardError => e
3773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3774
+ end
3775
+
3776
+ # 查询集群巡检结果历史列表
3777
+
3778
+ # @param request: Request instance for ListClusterInspectionResultsItems.
3779
+ # @type request: :class:`Tencentcloud::tke::V20180525::ListClusterInspectionResultsItemsRequest`
3780
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ListClusterInspectionResultsItemsResponse`
3781
+ def ListClusterInspectionResultsItems(request)
3782
+ body = send_request('ListClusterInspectionResultsItems', request.serialize)
3783
+ response = JSON.parse(body)
3784
+ if response['Response'].key?('Error') == false
3785
+ model = ListClusterInspectionResultsItemsResponse.new
3786
+ model.deserialize(response['Response'])
3787
+ model
3788
+ else
3789
+ code = response['Response']['Error']['Code']
3790
+ message = response['Response']['Error']['Message']
3791
+ reqid = response['Response']['RequestId']
3792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3793
+ end
3794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3795
+ raise e
3796
+ rescue StandardError => e
3797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3798
+ end
3799
+
3728
3800
  # 修改集群伸缩组属性
3729
3801
 
3730
3802
  # @param request: Request instance for ModifyClusterAsGroupAttribute.
@@ -5238,6 +5238,80 @@ module TencentCloud
5238
5238
  end
5239
5239
  end
5240
5240
 
5241
+ # DescribeClusterInspectionResultsOverview请求参数结构体
5242
+ class DescribeClusterInspectionResultsOverviewRequest < TencentCloud::Common::AbstractModel
5243
+ # @param ClusterIds: Array of String 目标集群列表,为空查询用户所有集群
5244
+ # @type ClusterIds: Array
5245
+ # @param GroupBy: 聚合字段信息,概览结果按照 GroupBy 信息聚合后返回,可选参数:
5246
+ # catalogue.first:按一级分类聚合
5247
+ # catalogue.second:按二级分类聚合
5248
+ # @type GroupBy: Array
5249
+
5250
+ attr_accessor :ClusterIds, :GroupBy
5251
+
5252
+ def initialize(clusterids=nil, groupby=nil)
5253
+ @ClusterIds = clusterids
5254
+ @GroupBy = groupby
5255
+ end
5256
+
5257
+ def deserialize(params)
5258
+ @ClusterIds = params['ClusterIds']
5259
+ @GroupBy = params['GroupBy']
5260
+ end
5261
+ end
5262
+
5263
+ # DescribeClusterInspectionResultsOverview返回参数结构体
5264
+ class DescribeClusterInspectionResultsOverviewResponse < TencentCloud::Common::AbstractModel
5265
+ # @param Statistics: 诊断结果统计
5266
+ # 注意:此字段可能返回 null,表示取不到有效值。
5267
+ # @type Statistics: Array
5268
+ # @param Diagnostics: 诊断结果概览
5269
+ # 注意:此字段可能返回 null,表示取不到有效值。
5270
+ # @type Diagnostics: Array
5271
+ # @param InspectionOverview: 集群诊断结果概览
5272
+ # 注意:此字段可能返回 null,表示取不到有效值。
5273
+ # @type InspectionOverview: Array
5274
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5275
+ # @type RequestId: String
5276
+
5277
+ attr_accessor :Statistics, :Diagnostics, :InspectionOverview, :RequestId
5278
+
5279
+ def initialize(statistics=nil, diagnostics=nil, inspectionoverview=nil, requestid=nil)
5280
+ @Statistics = statistics
5281
+ @Diagnostics = diagnostics
5282
+ @InspectionOverview = inspectionoverview
5283
+ @RequestId = requestid
5284
+ end
5285
+
5286
+ def deserialize(params)
5287
+ unless params['Statistics'].nil?
5288
+ @Statistics = []
5289
+ params['Statistics'].each do |i|
5290
+ kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new
5291
+ kubejarvisstatestatistic_tmp.deserialize(i)
5292
+ @Statistics << kubejarvisstatestatistic_tmp
5293
+ end
5294
+ end
5295
+ unless params['Diagnostics'].nil?
5296
+ @Diagnostics = []
5297
+ params['Diagnostics'].each do |i|
5298
+ kubejarvisstatediagnosticoverview_tmp = KubeJarvisStateDiagnosticOverview.new
5299
+ kubejarvisstatediagnosticoverview_tmp.deserialize(i)
5300
+ @Diagnostics << kubejarvisstatediagnosticoverview_tmp
5301
+ end
5302
+ end
5303
+ unless params['InspectionOverview'].nil?
5304
+ @InspectionOverview = []
5305
+ params['InspectionOverview'].each do |i|
5306
+ kubejarvisstateinspectionoverview_tmp = KubeJarvisStateInspectionOverview.new
5307
+ kubejarvisstateinspectionoverview_tmp.deserialize(i)
5308
+ @InspectionOverview << kubejarvisstateinspectionoverview_tmp
5309
+ end
5310
+ end
5311
+ @RequestId = params['RequestId']
5312
+ end
5313
+ end
5314
+
5241
5315
  # DescribeClusterInstances请求参数结构体
5242
5316
  class DescribeClusterInstancesRequest < TencentCloud::Common::AbstractModel
5243
5317
  # @param ClusterId: 集群ID
@@ -11402,6 +11476,368 @@ module TencentCloud
11402
11476
  end
11403
11477
  end
11404
11478
 
11479
+ # 集群巡检诊断的默认目录类型
11480
+ class KubeJarvisStateCatalogue < TencentCloud::Common::AbstractModel
11481
+ # @param CatalogueLevel: 目录级别,支持参数:
11482
+ # first:一级目录
11483
+ # second:二级目录
11484
+ # 注意:此字段可能返回 null,表示取不到有效值。
11485
+ # @type CatalogueLevel: String
11486
+ # @param CatalogueName: 目录名
11487
+ # 注意:此字段可能返回 null,表示取不到有效值。
11488
+ # @type CatalogueName: String
11489
+
11490
+ attr_accessor :CatalogueLevel, :CatalogueName
11491
+
11492
+ def initialize(cataloguelevel=nil, cataloguename=nil)
11493
+ @CatalogueLevel = cataloguelevel
11494
+ @CatalogueName = cataloguename
11495
+ end
11496
+
11497
+ def deserialize(params)
11498
+ @CatalogueLevel = params['CatalogueLevel']
11499
+ @CatalogueName = params['CatalogueName']
11500
+ end
11501
+ end
11502
+
11503
+ # 集群巡检诊断结果
11504
+ class KubeJarvisStateDiagnostic < TencentCloud::Common::AbstractModel
11505
+ # @param StartTime: 诊断开始时间
11506
+ # 注意:此字段可能返回 null,表示取不到有效值。
11507
+ # @type StartTime: String
11508
+ # @param EndTime: 诊断结束时间
11509
+ # 注意:此字段可能返回 null,表示取不到有效值。
11510
+ # @type EndTime: String
11511
+ # @param Catalogues: 诊断目录
11512
+ # 注意:此字段可能返回 null,表示取不到有效值。
11513
+ # @type Catalogues: Array
11514
+ # @param Type: 诊断类型
11515
+ # 注意:此字段可能返回 null,表示取不到有效值。
11516
+ # @type Type: String
11517
+ # @param Name: 诊断名称
11518
+ # 注意:此字段可能返回 null,表示取不到有效值。
11519
+ # @type Name: String
11520
+ # @param Desc: 诊断描述
11521
+ # 注意:此字段可能返回 null,表示取不到有效值。
11522
+ # @type Desc: String
11523
+ # @param Results: 诊断结果列表
11524
+ # 注意:此字段可能返回 null,表示取不到有效值。
11525
+ # @type Results: Array
11526
+ # @param Statistics: 诊断结果统计
11527
+ # 注意:此字段可能返回 null,表示取不到有效值。
11528
+ # @type Statistics: Array
11529
+
11530
+ attr_accessor :StartTime, :EndTime, :Catalogues, :Type, :Name, :Desc, :Results, :Statistics
11531
+
11532
+ def initialize(starttime=nil, endtime=nil, catalogues=nil, type=nil, name=nil, desc=nil, results=nil, statistics=nil)
11533
+ @StartTime = starttime
11534
+ @EndTime = endtime
11535
+ @Catalogues = catalogues
11536
+ @Type = type
11537
+ @Name = name
11538
+ @Desc = desc
11539
+ @Results = results
11540
+ @Statistics = statistics
11541
+ end
11542
+
11543
+ def deserialize(params)
11544
+ @StartTime = params['StartTime']
11545
+ @EndTime = params['EndTime']
11546
+ unless params['Catalogues'].nil?
11547
+ @Catalogues = []
11548
+ params['Catalogues'].each do |i|
11549
+ kubejarvisstatecatalogue_tmp = KubeJarvisStateCatalogue.new
11550
+ kubejarvisstatecatalogue_tmp.deserialize(i)
11551
+ @Catalogues << kubejarvisstatecatalogue_tmp
11552
+ end
11553
+ end
11554
+ @Type = params['Type']
11555
+ @Name = params['Name']
11556
+ @Desc = params['Desc']
11557
+ unless params['Results'].nil?
11558
+ @Results = []
11559
+ params['Results'].each do |i|
11560
+ kubejarvisstateresultsitem_tmp = KubeJarvisStateResultsItem.new
11561
+ kubejarvisstateresultsitem_tmp.deserialize(i)
11562
+ @Results << kubejarvisstateresultsitem_tmp
11563
+ end
11564
+ end
11565
+ unless params['Statistics'].nil?
11566
+ @Statistics = []
11567
+ params['Statistics'].each do |i|
11568
+ kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new
11569
+ kubejarvisstatestatistic_tmp.deserialize(i)
11570
+ @Statistics << kubejarvisstatestatistic_tmp
11571
+ end
11572
+ end
11573
+ end
11574
+ end
11575
+
11576
+ # 集群巡检诊断概览
11577
+ class KubeJarvisStateDiagnosticOverview < TencentCloud::Common::AbstractModel
11578
+ # @param Catalogues: 诊断目录
11579
+ # 注意:此字段可能返回 null,表示取不到有效值。
11580
+ # @type Catalogues: Array
11581
+ # @param Statistics: 诊断结果统计
11582
+ # 注意:此字段可能返回 null,表示取不到有效值。
11583
+ # @type Statistics: Array
11584
+
11585
+ attr_accessor :Catalogues, :Statistics
11586
+
11587
+ def initialize(catalogues=nil, statistics=nil)
11588
+ @Catalogues = catalogues
11589
+ @Statistics = statistics
11590
+ end
11591
+
11592
+ def deserialize(params)
11593
+ unless params['Catalogues'].nil?
11594
+ @Catalogues = []
11595
+ params['Catalogues'].each do |i|
11596
+ kubejarvisstatecatalogue_tmp = KubeJarvisStateCatalogue.new
11597
+ kubejarvisstatecatalogue_tmp.deserialize(i)
11598
+ @Catalogues << kubejarvisstatecatalogue_tmp
11599
+ end
11600
+ end
11601
+ unless params['Statistics'].nil?
11602
+ @Statistics = []
11603
+ params['Statistics'].each do |i|
11604
+ kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new
11605
+ kubejarvisstatestatistic_tmp.deserialize(i)
11606
+ @Statistics << kubejarvisstatestatistic_tmp
11607
+ end
11608
+ end
11609
+ end
11610
+ end
11611
+
11612
+ # 集群巡检检查结果概览
11613
+ class KubeJarvisStateInspectionOverview < TencentCloud::Common::AbstractModel
11614
+ # @param ClusterId: 集群ID
11615
+ # 注意:此字段可能返回 null,表示取不到有效值。
11616
+ # @type ClusterId: String
11617
+ # @param Statistics: 诊断结果统计
11618
+ # 注意:此字段可能返回 null,表示取不到有效值。
11619
+ # @type Statistics: Array
11620
+ # @param Diagnostics: 诊断结果详情
11621
+ # 注意:此字段可能返回 null,表示取不到有效值。
11622
+ # @type Diagnostics: Array
11623
+
11624
+ attr_accessor :ClusterId, :Statistics, :Diagnostics
11625
+
11626
+ def initialize(clusterid=nil, statistics=nil, diagnostics=nil)
11627
+ @ClusterId = clusterid
11628
+ @Statistics = statistics
11629
+ @Diagnostics = diagnostics
11630
+ end
11631
+
11632
+ def deserialize(params)
11633
+ @ClusterId = params['ClusterId']
11634
+ unless params['Statistics'].nil?
11635
+ @Statistics = []
11636
+ params['Statistics'].each do |i|
11637
+ kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new
11638
+ kubejarvisstatestatistic_tmp.deserialize(i)
11639
+ @Statistics << kubejarvisstatestatistic_tmp
11640
+ end
11641
+ end
11642
+ unless params['Diagnostics'].nil?
11643
+ @Diagnostics = []
11644
+ params['Diagnostics'].each do |i|
11645
+ kubejarvisstatediagnosticoverview_tmp = KubeJarvisStateDiagnosticOverview.new
11646
+ kubejarvisstatediagnosticoverview_tmp.deserialize(i)
11647
+ @Diagnostics << kubejarvisstatediagnosticoverview_tmp
11648
+ end
11649
+ end
11650
+ end
11651
+ end
11652
+
11653
+ # 集群巡检检查结果
11654
+ class KubeJarvisStateInspectionResult < TencentCloud::Common::AbstractModel
11655
+ # @param ClusterId: 集群ID
11656
+ # 注意:此字段可能返回 null,表示取不到有效值。
11657
+ # @type ClusterId: String
11658
+ # @param StartTime: 诊断开始时间
11659
+ # 注意:此字段可能返回 null,表示取不到有效值。
11660
+ # @type StartTime: String
11661
+ # @param EndTime: 诊断结束时间
11662
+ # 注意:此字段可能返回 null,表示取不到有效值。
11663
+ # @type EndTime: String
11664
+ # @param Statistics: 诊断结果统计
11665
+ # 注意:此字段可能返回 null,表示取不到有效值。
11666
+ # @type Statistics: Array
11667
+ # @param Diagnostics: 诊断结果详情
11668
+ # 注意:此字段可能返回 null,表示取不到有效值。
11669
+ # @type Diagnostics: Array
11670
+ # @param Error: 查询巡检报告相关报错
11671
+ # 注意:此字段可能返回 null,表示取不到有效值。
11672
+ # @type Error: String
11673
+
11674
+ attr_accessor :ClusterId, :StartTime, :EndTime, :Statistics, :Diagnostics, :Error
11675
+
11676
+ def initialize(clusterid=nil, starttime=nil, endtime=nil, statistics=nil, diagnostics=nil, error=nil)
11677
+ @ClusterId = clusterid
11678
+ @StartTime = starttime
11679
+ @EndTime = endtime
11680
+ @Statistics = statistics
11681
+ @Diagnostics = diagnostics
11682
+ @Error = error
11683
+ end
11684
+
11685
+ def deserialize(params)
11686
+ @ClusterId = params['ClusterId']
11687
+ @StartTime = params['StartTime']
11688
+ @EndTime = params['EndTime']
11689
+ unless params['Statistics'].nil?
11690
+ @Statistics = []
11691
+ params['Statistics'].each do |i|
11692
+ kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new
11693
+ kubejarvisstatestatistic_tmp.deserialize(i)
11694
+ @Statistics << kubejarvisstatestatistic_tmp
11695
+ end
11696
+ end
11697
+ unless params['Diagnostics'].nil?
11698
+ @Diagnostics = []
11699
+ params['Diagnostics'].each do |i|
11700
+ kubejarvisstatediagnostic_tmp = KubeJarvisStateDiagnostic.new
11701
+ kubejarvisstatediagnostic_tmp.deserialize(i)
11702
+ @Diagnostics << kubejarvisstatediagnostic_tmp
11703
+ end
11704
+ end
11705
+ @Error = params['Error']
11706
+ end
11707
+ end
11708
+
11709
+ # 集群巡检结果历史列表
11710
+ class KubeJarvisStateInspectionResultsItem < TencentCloud::Common::AbstractModel
11711
+ # @param Name: 巡检结果名称
11712
+ # 注意:此字段可能返回 null,表示取不到有效值。
11713
+ # @type Name: String
11714
+ # @param Statistics: 诊断结果统计
11715
+ # 注意:此字段可能返回 null,表示取不到有效值。
11716
+ # @type Statistics: Array
11717
+
11718
+ attr_accessor :Name, :Statistics
11719
+
11720
+ def initialize(name=nil, statistics=nil)
11721
+ @Name = name
11722
+ @Statistics = statistics
11723
+ end
11724
+
11725
+ def deserialize(params)
11726
+ @Name = params['Name']
11727
+ unless params['Statistics'].nil?
11728
+ @Statistics = []
11729
+ params['Statistics'].each do |i|
11730
+ kubejarvisstatestatistic_tmp = KubeJarvisStateStatistic.new
11731
+ kubejarvisstatestatistic_tmp.deserialize(i)
11732
+ @Statistics << kubejarvisstatestatistic_tmp
11733
+ end
11734
+ end
11735
+ end
11736
+ end
11737
+
11738
+ # 集群巡检诊断对象信息
11739
+ class KubeJarvisStateResultObjInfo < TencentCloud::Common::AbstractModel
11740
+ # @param PropertyName: 对象属性名称
11741
+ # 注意:此字段可能返回 null,表示取不到有效值。
11742
+ # @type PropertyName: String
11743
+ # @param PropertyValue: 对象属性值
11744
+ # 注意:此字段可能返回 null,表示取不到有效值。
11745
+ # @type PropertyValue: String
11746
+
11747
+ attr_accessor :PropertyName, :PropertyValue
11748
+
11749
+ def initialize(propertyname=nil, propertyvalue=nil)
11750
+ @PropertyName = propertyname
11751
+ @PropertyValue = propertyvalue
11752
+ end
11753
+
11754
+ def deserialize(params)
11755
+ @PropertyName = params['PropertyName']
11756
+ @PropertyValue = params['PropertyValue']
11757
+ end
11758
+ end
11759
+
11760
+ # 集群巡检诊断结果详情信息
11761
+ class KubeJarvisStateResultsItem < TencentCloud::Common::AbstractModel
11762
+ # @param Level: 诊断结果级别
11763
+ # 注意:此字段可能返回 null,表示取不到有效值。
11764
+ # @type Level: String
11765
+ # @param ObjName: 诊断对象名
11766
+ # 注意:此字段可能返回 null,表示取不到有效值。
11767
+ # @type ObjName: String
11768
+ # @param ObjInfo: 诊断对象信息
11769
+ # 注意:此字段可能返回 null,表示取不到有效值。
11770
+ # @type ObjInfo: Array
11771
+ # @param Title: 诊断项标题
11772
+ # 注意:此字段可能返回 null,表示取不到有效值。
11773
+ # @type Title: String
11774
+ # @param Desc: 诊断项描述
11775
+ # 注意:此字段可能返回 null,表示取不到有效值。
11776
+ # @type Desc: String
11777
+ # @param Proposal: 诊断建议
11778
+ # 注意:此字段可能返回 null,表示取不到有效值。
11779
+ # @type Proposal: String
11780
+ # @param ProposalDocUrl: 诊断建议文档链接
11781
+ # 注意:此字段可能返回 null,表示取不到有效值。
11782
+ # @type ProposalDocUrl: String
11783
+ # @param ProposalDocName: 诊断建议文档名称
11784
+ # 注意:此字段可能返回 null,表示取不到有效值。
11785
+ # @type ProposalDocName: String
11786
+
11787
+ attr_accessor :Level, :ObjName, :ObjInfo, :Title, :Desc, :Proposal, :ProposalDocUrl, :ProposalDocName
11788
+
11789
+ def initialize(level=nil, objname=nil, objinfo=nil, title=nil, desc=nil, proposal=nil, proposaldocurl=nil, proposaldocname=nil)
11790
+ @Level = level
11791
+ @ObjName = objname
11792
+ @ObjInfo = objinfo
11793
+ @Title = title
11794
+ @Desc = desc
11795
+ @Proposal = proposal
11796
+ @ProposalDocUrl = proposaldocurl
11797
+ @ProposalDocName = proposaldocname
11798
+ end
11799
+
11800
+ def deserialize(params)
11801
+ @Level = params['Level']
11802
+ @ObjName = params['ObjName']
11803
+ unless params['ObjInfo'].nil?
11804
+ @ObjInfo = []
11805
+ params['ObjInfo'].each do |i|
11806
+ kubejarvisstateresultobjinfo_tmp = KubeJarvisStateResultObjInfo.new
11807
+ kubejarvisstateresultobjinfo_tmp.deserialize(i)
11808
+ @ObjInfo << kubejarvisstateresultobjinfo_tmp
11809
+ end
11810
+ end
11811
+ @Title = params['Title']
11812
+ @Desc = params['Desc']
11813
+ @Proposal = params['Proposal']
11814
+ @ProposalDocUrl = params['ProposalDocUrl']
11815
+ @ProposalDocName = params['ProposalDocName']
11816
+ end
11817
+ end
11818
+
11819
+ # 集群巡检统计结果
11820
+ class KubeJarvisStateStatistic < TencentCloud::Common::AbstractModel
11821
+ # @param HealthyLevel: 诊断结果的健康水平
11822
+ # 注意:此字段可能返回 null,表示取不到有效值。
11823
+ # @type HealthyLevel: String
11824
+ # @param Count: 诊断结果的统计
11825
+ # 注意:此字段可能返回 null,表示取不到有效值。
11826
+ # @type Count: Integer
11827
+
11828
+ attr_accessor :HealthyLevel, :Count
11829
+
11830
+ def initialize(healthylevel=nil, count=nil)
11831
+ @HealthyLevel = healthylevel
11832
+ @Count = count
11833
+ end
11834
+
11835
+ def deserialize(params)
11836
+ @HealthyLevel = params['HealthyLevel']
11837
+ @Count = params['Count']
11838
+ end
11839
+ end
11840
+
11405
11841
  # k8s中标签,一般以数组的方式存在
11406
11842
  class Label < TencentCloud::Common::AbstractModel
11407
11843
  # @param Name: map表中的Name
@@ -11422,6 +11858,110 @@ module TencentCloud
11422
11858
  end
11423
11859
  end
11424
11860
 
11861
+ # ListClusterInspectionResultsItems请求参数结构体
11862
+ class ListClusterInspectionResultsItemsRequest < TencentCloud::Common::AbstractModel
11863
+ # @param ClusterId: 目标集群ID
11864
+ # @type ClusterId: String
11865
+ # @param StartTime: 查询历史结果的开始时间,Unix时间戳
11866
+ # @type StartTime: String
11867
+ # @param EndTime: 查询历史结果的结束时间,默认当前距离开始时间3天,Unix时间戳
11868
+ # @type EndTime: String
11869
+
11870
+ attr_accessor :ClusterId, :StartTime, :EndTime
11871
+
11872
+ def initialize(clusterid=nil, starttime=nil, endtime=nil)
11873
+ @ClusterId = clusterid
11874
+ @StartTime = starttime
11875
+ @EndTime = endtime
11876
+ end
11877
+
11878
+ def deserialize(params)
11879
+ @ClusterId = params['ClusterId']
11880
+ @StartTime = params['StartTime']
11881
+ @EndTime = params['EndTime']
11882
+ end
11883
+ end
11884
+
11885
+ # ListClusterInspectionResultsItems返回参数结构体
11886
+ class ListClusterInspectionResultsItemsResponse < TencentCloud::Common::AbstractModel
11887
+ # @param InspectionResultsItems: 巡检结果历史列表
11888
+ # 注意:此字段可能返回 null,表示取不到有效值。
11889
+ # @type InspectionResultsItems: Array
11890
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11891
+ # @type RequestId: String
11892
+
11893
+ attr_accessor :InspectionResultsItems, :RequestId
11894
+
11895
+ def initialize(inspectionresultsitems=nil, requestid=nil)
11896
+ @InspectionResultsItems = inspectionresultsitems
11897
+ @RequestId = requestid
11898
+ end
11899
+
11900
+ def deserialize(params)
11901
+ unless params['InspectionResultsItems'].nil?
11902
+ @InspectionResultsItems = []
11903
+ params['InspectionResultsItems'].each do |i|
11904
+ kubejarvisstateinspectionresultsitem_tmp = KubeJarvisStateInspectionResultsItem.new
11905
+ kubejarvisstateinspectionresultsitem_tmp.deserialize(i)
11906
+ @InspectionResultsItems << kubejarvisstateinspectionresultsitem_tmp
11907
+ end
11908
+ end
11909
+ @RequestId = params['RequestId']
11910
+ end
11911
+ end
11912
+
11913
+ # ListClusterInspectionResults请求参数结构体
11914
+ class ListClusterInspectionResultsRequest < TencentCloud::Common::AbstractModel
11915
+ # @param ClusterIds: 目标集群列表,为空查询用户所有集群
11916
+ # @type ClusterIds: Array
11917
+ # @param Hide: 隐藏的字段信息,为了减少无效的字段返回,隐藏字段不会在返回值中返回。可选值:results
11918
+ # @type Hide: Array
11919
+ # @param Name: 指定查询结果的报告名称,默认查询最新的每个集群只查询最新的一条
11920
+ # @type Name: String
11921
+
11922
+ attr_accessor :ClusterIds, :Hide, :Name
11923
+
11924
+ def initialize(clusterids=nil, hide=nil, name=nil)
11925
+ @ClusterIds = clusterids
11926
+ @Hide = hide
11927
+ @Name = name
11928
+ end
11929
+
11930
+ def deserialize(params)
11931
+ @ClusterIds = params['ClusterIds']
11932
+ @Hide = params['Hide']
11933
+ @Name = params['Name']
11934
+ end
11935
+ end
11936
+
11937
+ # ListClusterInspectionResults返回参数结构体
11938
+ class ListClusterInspectionResultsResponse < TencentCloud::Common::AbstractModel
11939
+ # @param InspectionResults: 集群诊断结果列表
11940
+ # 注意:此字段可能返回 null,表示取不到有效值。
11941
+ # @type InspectionResults: Array
11942
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11943
+ # @type RequestId: String
11944
+
11945
+ attr_accessor :InspectionResults, :RequestId
11946
+
11947
+ def initialize(inspectionresults=nil, requestid=nil)
11948
+ @InspectionResults = inspectionresults
11949
+ @RequestId = requestid
11950
+ end
11951
+
11952
+ def deserialize(params)
11953
+ unless params['InspectionResults'].nil?
11954
+ @InspectionResults = []
11955
+ params['InspectionResults'].each do |i|
11956
+ kubejarvisstateinspectionresult_tmp = KubeJarvisStateInspectionResult.new
11957
+ kubejarvisstateinspectionresult_tmp.deserialize(i)
11958
+ @InspectionResults << kubejarvisstateinspectionresult_tmp
11959
+ end
11960
+ end
11961
+ @RequestId = params['RequestId']
11962
+ end
11963
+ end
11964
+
11425
11965
  # 健康探针
11426
11966
  class LivenessOrReadinessProbe < TencentCloud::Common::AbstractModel
11427
11967
  # @param Probe: 探针参数
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.569
4
+ version: 3.0.570
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-05-15 00:00:00.000000000 Z
11
+ date: 2023-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common