tencentcloud-sdk-tcss 3.0.739 → 3.0.741

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c821b44858d70ae8bb2edba64b9378c9fc068545
4
- data.tar.gz: 9c9d4e9beb259547c578e2b2c15920dc880dad3e
3
+ metadata.gz: e75f35b512a075e1dbcf69e6b24429b12a952401
4
+ data.tar.gz: a277fa46b373f3fea7395edaa299dd2d9bfac04e
5
5
  SHA512:
6
- metadata.gz: 250e5a1a6b201867dd56197eb8befc342155ff36f477347476a1d46cdca354ef7855b2ba1ab1d4b8d3c6157a453b2099ed35c09e0242149731a98daf06d05c5d
7
- data.tar.gz: b79c6bfbe3ea43c8128462941e3e26e6148bd580ea6084218eabbb8e74055fb3248b0124726a2aff246b160027959865db9e42def2b2a54c4115e2b7e6fe47d2
6
+ metadata.gz: a3425cc1b45eb874bf0bb77424f5e0941c481e75158560636ddc913b045b3b4053b4b793f56fb1fe35d5e623049aef7e63d1b9272aa1efa4f65236e0666be21a
7
+ data.tar.gz: e367112c7c25ad7bd1d6da32744cbc3b750fe667ca817e2b9a7ee3734c7b2122eb666f374e9b6bf960abdcd8ae24956c039d8fc72ed90d679645de1bc926ed28
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.739
1
+ 3.0.741
@@ -3248,6 +3248,30 @@ module TencentCloud
3248
3248
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3249
3249
  end
3250
3250
 
3251
+ # 查询超级节点列表
3252
+
3253
+ # @param request: Request instance for DescribeAssetSuperNodeList.
3254
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeAssetSuperNodeListRequest`
3255
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeAssetSuperNodeListResponse`
3256
+ def DescribeAssetSuperNodeList(request)
3257
+ body = send_request('DescribeAssetSuperNodeList', request.serialize)
3258
+ response = JSON.parse(body)
3259
+ if response['Response'].key?('Error') == false
3260
+ model = DescribeAssetSuperNodeListResponse.new
3261
+ model.deserialize(response['Response'])
3262
+ model
3263
+ else
3264
+ code = response['Response']['Error']['Code']
3265
+ message = response['Response']['Error']['Message']
3266
+ reqid = response['Response']['RequestId']
3267
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3268
+ end
3269
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3270
+ raise e
3271
+ rescue StandardError => e
3272
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3273
+ end
3274
+
3251
3275
  # 查询资产同步最近时间
3252
3276
 
3253
3277
  # @param request: Request instance for DescribeAssetSyncLastTime.
@@ -3368,6 +3392,30 @@ module TencentCloud
3368
3392
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3369
3393
  end
3370
3394
 
3395
+ # 查询集群节点信息
3396
+
3397
+ # @param request: Request instance for DescribeClusterNodes.
3398
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeClusterNodesRequest`
3399
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeClusterNodesResponse`
3400
+ def DescribeClusterNodes(request)
3401
+ body = send_request('DescribeClusterNodes', request.serialize)
3402
+ response = JSON.parse(body)
3403
+ if response['Response'].key?('Error') == false
3404
+ model = DescribeClusterNodesResponse.new
3405
+ model.deserialize(response['Response'])
3406
+ model
3407
+ else
3408
+ code = response['Response']['Error']['Code']
3409
+ message = response['Response']['Error']['Message']
3410
+ reqid = response['Response']['RequestId']
3411
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3412
+ end
3413
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3414
+ raise e
3415
+ rescue StandardError => e
3416
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3417
+ end
3418
+
3371
3419
  # 查询用户集群资产总览
3372
3420
 
3373
3421
  # @param request: Request instance for DescribeClusterSummary.
@@ -5624,6 +5672,30 @@ module TencentCloud
5624
5672
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5625
5673
  end
5626
5674
 
5675
+ # 查询超级节点pod列表
5676
+
5677
+ # @param request: Request instance for DescribeSuperNodePodList.
5678
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeSuperNodePodListRequest`
5679
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeSuperNodePodListResponse`
5680
+ def DescribeSuperNodePodList(request)
5681
+ body = send_request('DescribeSuperNodePodList', request.serialize)
5682
+ response = JSON.parse(body)
5683
+ if response['Response'].key?('Error') == false
5684
+ model = DescribeSuperNodePodListResponse.new
5685
+ model.deserialize(response['Response'])
5686
+ model
5687
+ else
5688
+ code = response['Response']['Error']['Code']
5689
+ message = response['Response']['Error']['Message']
5690
+ reqid = response['Response']['RequestId']
5691
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5692
+ end
5693
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5694
+ raise e
5695
+ rescue StandardError => e
5696
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5697
+ end
5698
+
5627
5699
  # 查询支持防御的漏洞列表
5628
5700
 
5629
5701
  # @param request: Request instance for DescribeSupportDefenceVul.
@@ -5792,6 +5864,30 @@ module TencentCloud
5792
5864
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5793
5865
  end
5794
5866
 
5867
+ # 获取用户的pod列表
5868
+
5869
+ # @param request: Request instance for DescribeUserPodList.
5870
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeUserPodListRequest`
5871
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeUserPodListResponse`
5872
+ def DescribeUserPodList(request)
5873
+ body = send_request('DescribeUserPodList', request.serialize)
5874
+ response = JSON.parse(body)
5875
+ if response['Response'].key?('Error') == false
5876
+ model = DescribeUserPodListResponse.new
5877
+ model.deserialize(response['Response'])
5878
+ model
5879
+ else
5880
+ code = response['Response']['Error']['Code']
5881
+ message = response['Response']['Error']['Message']
5882
+ reqid = response['Response']['RequestId']
5883
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5884
+ end
5885
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5886
+ raise e
5887
+ rescue StandardError => e
5888
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5889
+ end
5890
+
5795
5891
  # DescribeValueAddedSrvInfo查询增值服务需购买信息
5796
5892
 
5797
5893
  # @param request: Request instance for DescribeValueAddedSrvInfo.
@@ -2488,6 +2488,211 @@ module TencentCloud
2488
2488
  end
2489
2489
  end
2490
2490
 
2491
+ # 集群的节点信息
2492
+ class ClusterNodeInfo < TencentCloud::Common::AbstractModel
2493
+ # @param InstanceId: 实例id
2494
+ # @type InstanceId: String
2495
+ # @param PrivateIpAddresses: 内网ip地址
2496
+ # @type PrivateIpAddresses: String
2497
+ # @param InstanceRole: 节点的角色,Master、Work等
2498
+ # @type InstanceRole: String
2499
+ # @param InstanceState: 实例的状态(running 运行中,initializing 初始化中,failed 异常)
2500
+ # @type InstanceState: String
2501
+ # @param NodeName: 节点名称
2502
+ # @type NodeName: String
2503
+ # @param AgentStatus: agent安装状态
2504
+ # 注意:此字段可能返回 null,表示取不到有效值。
2505
+ # @type AgentStatus: String
2506
+ # @param PublicIP: 公网ip
2507
+ # 注意:此字段可能返回 null,表示取不到有效值。
2508
+ # @type PublicIP: String
2509
+ # @param HostID: 节点ID
2510
+ # 注意:此字段可能返回 null,表示取不到有效值。
2511
+ # @type HostID: String
2512
+ # @param MachineType: 主机类型(普通节点情况)
2513
+ # 注意:此字段可能返回 null,表示取不到有效值。
2514
+ # @type MachineType: String
2515
+ # @param NodeType: 节点类型(
2516
+ # NORMAL: 普通节点
2517
+ # SUPER:超级节点
2518
+ # )
2519
+ # 注意:此字段可能返回 null,表示取不到有效值。
2520
+ # @type NodeType: String
2521
+ # @param UUID: uuid
2522
+ # 注意:此字段可能返回 null,表示取不到有效值。
2523
+ # @type UUID: String
2524
+ # @param ChargeCoresCnt: 计费核数
2525
+ # 注意:此字段可能返回 null,表示取不到有效值。
2526
+ # @type ChargeCoresCnt: Integer
2527
+ # @param DefendStatus: 防护状态:
2528
+ # 已防护: Defended
2529
+ # 未防护: UnDefended
2530
+ # 注意:此字段可能返回 null,表示取不到有效值。
2531
+ # @type DefendStatus: String
2532
+
2533
+ attr_accessor :InstanceId, :PrivateIpAddresses, :InstanceRole, :InstanceState, :NodeName, :AgentStatus, :PublicIP, :HostID, :MachineType, :NodeType, :UUID, :ChargeCoresCnt, :DefendStatus
2534
+
2535
+ def initialize(instanceid=nil, privateipaddresses=nil, instancerole=nil, instancestate=nil, nodename=nil, agentstatus=nil, publicip=nil, hostid=nil, machinetype=nil, nodetype=nil, uuid=nil, chargecorescnt=nil, defendstatus=nil)
2536
+ @InstanceId = instanceid
2537
+ @PrivateIpAddresses = privateipaddresses
2538
+ @InstanceRole = instancerole
2539
+ @InstanceState = instancestate
2540
+ @NodeName = nodename
2541
+ @AgentStatus = agentstatus
2542
+ @PublicIP = publicip
2543
+ @HostID = hostid
2544
+ @MachineType = machinetype
2545
+ @NodeType = nodetype
2546
+ @UUID = uuid
2547
+ @ChargeCoresCnt = chargecorescnt
2548
+ @DefendStatus = defendstatus
2549
+ end
2550
+
2551
+ def deserialize(params)
2552
+ @InstanceId = params['InstanceId']
2553
+ @PrivateIpAddresses = params['PrivateIpAddresses']
2554
+ @InstanceRole = params['InstanceRole']
2555
+ @InstanceState = params['InstanceState']
2556
+ @NodeName = params['NodeName']
2557
+ @AgentStatus = params['AgentStatus']
2558
+ @PublicIP = params['PublicIP']
2559
+ @HostID = params['HostID']
2560
+ @MachineType = params['MachineType']
2561
+ @NodeType = params['NodeType']
2562
+ @UUID = params['UUID']
2563
+ @ChargeCoresCnt = params['ChargeCoresCnt']
2564
+ @DefendStatus = params['DefendStatus']
2565
+ end
2566
+ end
2567
+
2568
+ # 集群的pod详细信息
2569
+ class ClusterPodInfo < TencentCloud::Common::AbstractModel
2570
+ # @param PodName: Pod名称.
2571
+ # @type PodName: String
2572
+ # @param Status: Pod状态
2573
+ # @type Status: String
2574
+ # @param PodIP: Pod IP
2575
+ # @type PodIP: String
2576
+ # @param NodeLanIP: 节点内网Ip
2577
+ # @type NodeLanIP: String
2578
+ # @param WorkloadName: 所属的工作负载名字
2579
+ # @type WorkloadName: String
2580
+ # @param WorkloadKind: 所属工作负载类型
2581
+ # @type WorkloadKind: String
2582
+ # @param ClusterName: 所属集群名字
2583
+ # @type ClusterName: String
2584
+ # @param ClusterId: 所属集群ID
2585
+ # @type ClusterId: String
2586
+ # @param Namespace: 所属命名空间
2587
+ # @type Namespace: String
2588
+ # @param Region: 所属地域
2589
+ # @type Region: String
2590
+ # @param Age: 运行时间
2591
+ # @type Age: String
2592
+ # @param StartTime: 创建时间
2593
+ # @type StartTime: String
2594
+ # @param Restarts: 重启次数
2595
+ # @type Restarts: Integer
2596
+ # @param ServiceName: 关联的service名字
2597
+ # @type ServiceName: String
2598
+ # @param ServiceCount: 关联的service数量
2599
+ # @type ServiceCount: Integer
2600
+ # @param ContainerName: 关联的容器名字
2601
+ # @type ContainerName: String
2602
+ # @param ContainerCount: 关联的容器数量
2603
+ # @type ContainerCount: Integer
2604
+ # @param CPU: CPU占用率
2605
+ # @type CPU: Integer
2606
+ # @param Memory: 内存占用量
2607
+ # @type Memory: Integer
2608
+ # @param Labels: Pod标签
2609
+ # @type Labels: String
2610
+ # @param ClusterStatus: 集群状态
2611
+ # @type ClusterStatus: String
2612
+ # @param WorkloadLabels: 工作负载标签
2613
+ # @type WorkloadLabels: String
2614
+ # @param ContainerId: 容器Id
2615
+ # @type ContainerId: String
2616
+ # @param HostName: 主机名称
2617
+ # @type HostName: String
2618
+ # @param HostId: 主机Id
2619
+ # @type HostId: String
2620
+ # @param ClusterType: 集群类型
2621
+ # @type ClusterType: String
2622
+ # @param NodeName: abc
2623
+ # @type NodeName: String
2624
+ # @param NodeType: NORMAL:普通节点 SUPER:超级节点
2625
+ # @type NodeType: String
2626
+ # @param ChargeCoresCnt: 计费核数
2627
+ # @type ChargeCoresCnt: Integer
2628
+
2629
+ attr_accessor :PodName, :Status, :PodIP, :NodeLanIP, :WorkloadName, :WorkloadKind, :ClusterName, :ClusterId, :Namespace, :Region, :Age, :StartTime, :Restarts, :ServiceName, :ServiceCount, :ContainerName, :ContainerCount, :CPU, :Memory, :Labels, :ClusterStatus, :WorkloadLabels, :ContainerId, :HostName, :HostId, :ClusterType, :NodeName, :NodeType, :ChargeCoresCnt
2630
+
2631
+ def initialize(podname=nil, status=nil, podip=nil, nodelanip=nil, workloadname=nil, workloadkind=nil, clustername=nil, clusterid=nil, namespace=nil, region=nil, age=nil, starttime=nil, restarts=nil, servicename=nil, servicecount=nil, containername=nil, containercount=nil, cpu=nil, memory=nil, labels=nil, clusterstatus=nil, workloadlabels=nil, containerid=nil, hostname=nil, hostid=nil, clustertype=nil, nodename=nil, nodetype=nil, chargecorescnt=nil)
2632
+ @PodName = podname
2633
+ @Status = status
2634
+ @PodIP = podip
2635
+ @NodeLanIP = nodelanip
2636
+ @WorkloadName = workloadname
2637
+ @WorkloadKind = workloadkind
2638
+ @ClusterName = clustername
2639
+ @ClusterId = clusterid
2640
+ @Namespace = namespace
2641
+ @Region = region
2642
+ @Age = age
2643
+ @StartTime = starttime
2644
+ @Restarts = restarts
2645
+ @ServiceName = servicename
2646
+ @ServiceCount = servicecount
2647
+ @ContainerName = containername
2648
+ @ContainerCount = containercount
2649
+ @CPU = cpu
2650
+ @Memory = memory
2651
+ @Labels = labels
2652
+ @ClusterStatus = clusterstatus
2653
+ @WorkloadLabels = workloadlabels
2654
+ @ContainerId = containerid
2655
+ @HostName = hostname
2656
+ @HostId = hostid
2657
+ @ClusterType = clustertype
2658
+ @NodeName = nodename
2659
+ @NodeType = nodetype
2660
+ @ChargeCoresCnt = chargecorescnt
2661
+ end
2662
+
2663
+ def deserialize(params)
2664
+ @PodName = params['PodName']
2665
+ @Status = params['Status']
2666
+ @PodIP = params['PodIP']
2667
+ @NodeLanIP = params['NodeLanIP']
2668
+ @WorkloadName = params['WorkloadName']
2669
+ @WorkloadKind = params['WorkloadKind']
2670
+ @ClusterName = params['ClusterName']
2671
+ @ClusterId = params['ClusterId']
2672
+ @Namespace = params['Namespace']
2673
+ @Region = params['Region']
2674
+ @Age = params['Age']
2675
+ @StartTime = params['StartTime']
2676
+ @Restarts = params['Restarts']
2677
+ @ServiceName = params['ServiceName']
2678
+ @ServiceCount = params['ServiceCount']
2679
+ @ContainerName = params['ContainerName']
2680
+ @ContainerCount = params['ContainerCount']
2681
+ @CPU = params['CPU']
2682
+ @Memory = params['Memory']
2683
+ @Labels = params['Labels']
2684
+ @ClusterStatus = params['ClusterStatus']
2685
+ @WorkloadLabels = params['WorkloadLabels']
2686
+ @ContainerId = params['ContainerId']
2687
+ @HostName = params['HostName']
2688
+ @HostId = params['HostId']
2689
+ @ClusterType = params['ClusterType']
2690
+ @NodeName = params['NodeName']
2691
+ @NodeType = params['NodeType']
2692
+ @ChargeCoresCnt = params['ChargeCoresCnt']
2693
+ end
2694
+ end
2695
+
2491
2696
  # 风险项是检查完之后,有问题的检测项,并且加了一些检查结果信息。
2492
2697
  class ClusterRiskItem < TencentCloud::Common::AbstractModel
2493
2698
  # @param CheckItem: 检测项相关信息
@@ -3457,8 +3662,8 @@ module TencentCloud
3457
3662
 
3458
3663
  attr_accessor :Component, :Version, :FixedVersion, :Path, :Type, :Name
3459
3664
  extend Gem::Deprecate
3460
- deprecate :Component, :none, 2023, 12
3461
- deprecate :Component=, :none, 2023, 12
3665
+ deprecate :Component, :none, 2024, 1
3666
+ deprecate :Component=, :none, 2024, 1
3462
3667
 
3463
3668
  def initialize(component=nil, version=nil, fixedversion=nil, path=nil, type=nil, name=nil)
3464
3669
  @Component = component
@@ -3911,8 +4116,8 @@ module TencentCloud
3911
4116
 
3912
4117
  attr_accessor :All, :Images, :ScanType, :Id, :IsLatest, :ScanScope, :RegistryType, :Namespace, :ContainerRunning, :Timeout
3913
4118
  extend Gem::Deprecate
3914
- deprecate :All, :none, 2023, 12
3915
- deprecate :All=, :none, 2023, 12
4119
+ deprecate :All, :none, 2024, 1
4120
+ deprecate :All=, :none, 2024, 1
3916
4121
 
3917
4122
  def initialize(all=nil, images=nil, scantype=nil, id=nil, islatest=nil, scanscope=nil, registrytype=nil, namespace=nil, containerrunning=nil, timeout=nil)
3918
4123
  @All = all
@@ -4071,8 +4276,8 @@ module TencentCloud
4071
4276
 
4072
4277
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime
4073
4278
  extend Gem::Deprecate
4074
- deprecate :All, :none, 2023, 12
4075
- deprecate :All=, :none, 2023, 12
4279
+ deprecate :All, :none, 2024, 1
4280
+ deprecate :All=, :none, 2024, 1
4076
4281
 
4077
4282
  def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil)
4078
4283
  @Enable = enable
@@ -4144,8 +4349,8 @@ module TencentCloud
4144
4349
 
4145
4350
  attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds, :ContainerRunning, :ScanScope, :Timeout
4146
4351
  extend Gem::Deprecate
4147
- deprecate :All, :none, 2023, 12
4148
- deprecate :All=, :none, 2023, 12
4352
+ deprecate :All, :none, 2024, 1
4353
+ deprecate :All=, :none, 2024, 1
4149
4354
 
4150
4355
  def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil, containerrunning=nil, scanscope=nil, timeout=nil)
4151
4356
  @All = all
@@ -9310,8 +9515,8 @@ module TencentCloud
9310
9515
 
9311
9516
  attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :OsName, :ScanVirusError, :ScanVulError, :LayerInfo, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :ImageSize, :ImageId, :RegistryRegion, :ImageCreateTime, :SensitiveInfoCnt, :Id, :RequestId
9312
9517
  extend Gem::Deprecate
9313
- deprecate :SentiveInfoCnt, :none, 2023, 12
9314
- deprecate :SentiveInfoCnt=, :none, 2023, 12
9518
+ deprecate :SentiveInfoCnt, :none, 2024, 1
9519
+ deprecate :SentiveInfoCnt=, :none, 2024, 1
9315
9520
 
9316
9521
  def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, layerinfo=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, imagesize=nil, imageid=nil, registryregion=nil, imagecreatetime=nil, sensitiveinfocnt=nil, id=nil, requestid=nil)
9317
9522
  @ImageDigest = imagedigest
@@ -10405,8 +10610,8 @@ module TencentCloud
10405
10610
 
10406
10611
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :RequestId
10407
10612
  extend Gem::Deprecate
10408
- deprecate :All, :none, 2023, 12
10409
- deprecate :All=, :none, 2023, 12
10613
+ deprecate :All, :none, 2024, 1
10614
+ deprecate :All=, :none, 2024, 1
10410
10615
 
10411
10616
  def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, requestid=nil)
10412
10617
  @Enable = enable
@@ -11147,6 +11352,80 @@ module TencentCloud
11147
11352
  end
11148
11353
  end
11149
11354
 
11355
+ # DescribeAssetSuperNodeList请求参数结构体
11356
+ class DescribeAssetSuperNodeListRequest < TencentCloud::Common::AbstractModel
11357
+ # @param Filters: 过滤条件。
11358
+ # <li>NodeID- String - 是否必填:否 - ID </li>
11359
+ # <li>NodeName- String - 是否必填:否 - 超级节点名称 </li>
11360
+ # <li>SubnetName- String - 是否必填:否 - VPC子网 </li>
11361
+ # <li>AgentStatus- String - 是否必填:否 - 安装状态UNINSTALL:未安装;INSTALLED:已安装;INSTALLING:安装中; </li>
11362
+ # @type Filters: Array
11363
+ # @param Limit: 需要返回的数量,默认为10,最大值为100
11364
+ # @type Limit: Integer
11365
+ # @param Offset: 偏移量,默认为0。
11366
+ # @type Offset: Integer
11367
+ # @param By: 排序字段
11368
+ # @type By: String
11369
+ # @param Order: 排序方式 asc,desc
11370
+ # @type Order: String
11371
+
11372
+ attr_accessor :Filters, :Limit, :Offset, :By, :Order
11373
+
11374
+ def initialize(filters=nil, limit=nil, offset=nil, by=nil, order=nil)
11375
+ @Filters = filters
11376
+ @Limit = limit
11377
+ @Offset = offset
11378
+ @By = by
11379
+ @Order = order
11380
+ end
11381
+
11382
+ def deserialize(params)
11383
+ unless params['Filters'].nil?
11384
+ @Filters = []
11385
+ params['Filters'].each do |i|
11386
+ runtimefilters_tmp = RunTimeFilters.new
11387
+ runtimefilters_tmp.deserialize(i)
11388
+ @Filters << runtimefilters_tmp
11389
+ end
11390
+ end
11391
+ @Limit = params['Limit']
11392
+ @Offset = params['Offset']
11393
+ @By = params['By']
11394
+ @Order = params['Order']
11395
+ end
11396
+ end
11397
+
11398
+ # DescribeAssetSuperNodeList返回参数结构体
11399
+ class DescribeAssetSuperNodeListResponse < TencentCloud::Common::AbstractModel
11400
+ # @param List: 超级节点列表
11401
+ # @type List: Array
11402
+ # @param TotalCount: 总数
11403
+ # @type TotalCount: Integer
11404
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11405
+ # @type RequestId: String
11406
+
11407
+ attr_accessor :List, :TotalCount, :RequestId
11408
+
11409
+ def initialize(list=nil, totalcount=nil, requestid=nil)
11410
+ @List = list
11411
+ @TotalCount = totalcount
11412
+ @RequestId = requestid
11413
+ end
11414
+
11415
+ def deserialize(params)
11416
+ unless params['List'].nil?
11417
+ @List = []
11418
+ params['List'].each do |i|
11419
+ supernodelistitem_tmp = SuperNodeListItem.new
11420
+ supernodelistitem_tmp.deserialize(i)
11421
+ @List << supernodelistitem_tmp
11422
+ end
11423
+ end
11424
+ @TotalCount = params['TotalCount']
11425
+ @RequestId = params['RequestId']
11426
+ end
11427
+ end
11428
+
11150
11429
  # DescribeAssetSyncLastTime请求参数结构体
11151
11430
  class DescribeAssetSyncLastTimeRequest < TencentCloud::Common::AbstractModel
11152
11431
 
@@ -11520,6 +11799,98 @@ module TencentCloud
11520
11799
  end
11521
11800
  end
11522
11801
 
11802
+ # DescribeClusterNodes请求参数结构体
11803
+ class DescribeClusterNodesRequest < TencentCloud::Common::AbstractModel
11804
+ # @param ClusterId: 集群Id,不输入表示查询所有
11805
+ # @type ClusterId: String
11806
+ # @param Offset: 偏移量
11807
+ # @type Offset: Integer
11808
+ # @param Limit: 每次查询的最大记录数量
11809
+ # @type Limit: Integer
11810
+ # @param Filters: Name 可取值:
11811
+ # DefendStatus(防护状态):
11812
+ # Defended 已防护
11813
+ # UnDefended 未防护
11814
+ # AgentStatus (容器agent状态):
11815
+ # OFFLINE 离线
11816
+ # ONLINE 在线
11817
+ # UNINSTALL 未安装
11818
+ # InstanceState (节点状态):
11819
+ # Running 运行中
11820
+ # Ready 准备
11821
+ # Notready 未准备好
11822
+ # Initializing 初始化
11823
+ # Failed 失败
11824
+ # Error 错误
11825
+ # InstanceRole (节点角色)
11826
+ # WORKER 工作节点
11827
+ # MASTER_ETCD 主节点
11828
+ # SUPER 超级节点
11829
+ # @type Filters: Array
11830
+ # @param By: 排序字段
11831
+ # @type By: String
11832
+ # @param Order: 排序方式 asc,desc
11833
+ # @type Order: String
11834
+
11835
+ attr_accessor :ClusterId, :Offset, :Limit, :Filters, :By, :Order
11836
+
11837
+ def initialize(clusterid=nil, offset=nil, limit=nil, filters=nil, by=nil, order=nil)
11838
+ @ClusterId = clusterid
11839
+ @Offset = offset
11840
+ @Limit = limit
11841
+ @Filters = filters
11842
+ @By = by
11843
+ @Order = order
11844
+ end
11845
+
11846
+ def deserialize(params)
11847
+ @ClusterId = params['ClusterId']
11848
+ @Offset = params['Offset']
11849
+ @Limit = params['Limit']
11850
+ unless params['Filters'].nil?
11851
+ @Filters = []
11852
+ params['Filters'].each do |i|
11853
+ compliancefilters_tmp = ComplianceFilters.new
11854
+ compliancefilters_tmp.deserialize(i)
11855
+ @Filters << compliancefilters_tmp
11856
+ end
11857
+ end
11858
+ @By = params['By']
11859
+ @Order = params['Order']
11860
+ end
11861
+ end
11862
+
11863
+ # DescribeClusterNodes返回参数结构体
11864
+ class DescribeClusterNodesResponse < TencentCloud::Common::AbstractModel
11865
+ # @param TotalCount: 总数
11866
+ # @type TotalCount: Integer
11867
+ # @param ClusterNodeList: 节点列表
11868
+ # @type ClusterNodeList: Array
11869
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11870
+ # @type RequestId: String
11871
+
11872
+ attr_accessor :TotalCount, :ClusterNodeList, :RequestId
11873
+
11874
+ def initialize(totalcount=nil, clusternodelist=nil, requestid=nil)
11875
+ @TotalCount = totalcount
11876
+ @ClusterNodeList = clusternodelist
11877
+ @RequestId = requestid
11878
+ end
11879
+
11880
+ def deserialize(params)
11881
+ @TotalCount = params['TotalCount']
11882
+ unless params['ClusterNodeList'].nil?
11883
+ @ClusterNodeList = []
11884
+ params['ClusterNodeList'].each do |i|
11885
+ clusternodeinfo_tmp = ClusterNodeInfo.new
11886
+ clusternodeinfo_tmp.deserialize(i)
11887
+ @ClusterNodeList << clusternodeinfo_tmp
11888
+ end
11889
+ end
11890
+ @RequestId = params['RequestId']
11891
+ end
11892
+ end
11893
+
11523
11894
  # DescribeClusterSummary请求参数结构体
11524
11895
  class DescribeClusterSummaryRequest < TencentCloud::Common::AbstractModel
11525
11896
 
@@ -13609,8 +13980,8 @@ module TencentCloud
13609
13980
 
13610
13981
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :RequestId
13611
13982
  extend Gem::Deprecate
13612
- deprecate :All, :none, 2023, 12
13613
- deprecate :All=, :none, 2023, 12
13983
+ deprecate :All, :none, 2024, 1
13984
+ deprecate :All=, :none, 2024, 1
13614
13985
 
13615
13986
  def initialize(enable=nil, scantime=nil, scanperiod=nil, scantype=nil, all=nil, images=nil, id=nil, latest=nil, scanendtime=nil, registrytype=nil, containerrunning=nil, scanscope=nil, namespace=nil, requestid=nil)
13616
13987
  @Enable = enable
@@ -17262,6 +17633,82 @@ module TencentCloud
17262
17633
  end
17263
17634
  end
17264
17635
 
17636
+ # DescribeSuperNodePodList请求参数结构体
17637
+ class DescribeSuperNodePodListRequest < TencentCloud::Common::AbstractModel
17638
+ # @param Filters: 过滤条件。
17639
+ # <li>NodeUniqueID- String - 是否必填:否 - 节点唯一id </li>
17640
+ # <li>PodName- String - 是否必填:否 - Pod示例名称 </li>
17641
+ # <li>PodIP- String - 是否必填:否 - POD IP </li>
17642
+ # <li>Namespace- String - 是否必填:否 - 命名空间 </li>
17643
+ # <li>Deployment- String - 是否必填:否 - 所属工作负载 </li>
17644
+ # <li>Status- String - 是否必填:否 - 状态 </li>
17645
+ # @type Filters: Array
17646
+ # @param Limit: 需要返回的数量,默认为10,最大值为100
17647
+ # @type Limit: Integer
17648
+ # @param Offset: 偏移量,默认为0。
17649
+ # @type Offset: Integer
17650
+ # @param By: 排序字段
17651
+ # @type By: String
17652
+ # @param Order: 排序方式 asc,desc
17653
+ # @type Order: String
17654
+
17655
+ attr_accessor :Filters, :Limit, :Offset, :By, :Order
17656
+
17657
+ def initialize(filters=nil, limit=nil, offset=nil, by=nil, order=nil)
17658
+ @Filters = filters
17659
+ @Limit = limit
17660
+ @Offset = offset
17661
+ @By = by
17662
+ @Order = order
17663
+ end
17664
+
17665
+ def deserialize(params)
17666
+ unless params['Filters'].nil?
17667
+ @Filters = []
17668
+ params['Filters'].each do |i|
17669
+ runtimefilters_tmp = RunTimeFilters.new
17670
+ runtimefilters_tmp.deserialize(i)
17671
+ @Filters << runtimefilters_tmp
17672
+ end
17673
+ end
17674
+ @Limit = params['Limit']
17675
+ @Offset = params['Offset']
17676
+ @By = params['By']
17677
+ @Order = params['Order']
17678
+ end
17679
+ end
17680
+
17681
+ # DescribeSuperNodePodList返回参数结构体
17682
+ class DescribeSuperNodePodListResponse < TencentCloud::Common::AbstractModel
17683
+ # @param List: 列表
17684
+ # @type List: Array
17685
+ # @param TotalCount: 总数
17686
+ # @type TotalCount: Integer
17687
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17688
+ # @type RequestId: String
17689
+
17690
+ attr_accessor :List, :TotalCount, :RequestId
17691
+
17692
+ def initialize(list=nil, totalcount=nil, requestid=nil)
17693
+ @List = list
17694
+ @TotalCount = totalcount
17695
+ @RequestId = requestid
17696
+ end
17697
+
17698
+ def deserialize(params)
17699
+ unless params['List'].nil?
17700
+ @List = []
17701
+ params['List'].each do |i|
17702
+ supernodepodlistitem_tmp = SuperNodePodListItem.new
17703
+ supernodepodlistitem_tmp.deserialize(i)
17704
+ @List << supernodepodlistitem_tmp
17705
+ end
17706
+ end
17707
+ @TotalCount = params['TotalCount']
17708
+ @RequestId = params['RequestId']
17709
+ end
17710
+ end
17711
+
17265
17712
  # DescribeSupportDefenceVul请求参数结构体
17266
17713
  class DescribeSupportDefenceVulRequest < TencentCloud::Common::AbstractModel
17267
17714
  # @param Filters: 过滤条件。
@@ -17726,6 +18173,88 @@ module TencentCloud
17726
18173
  end
17727
18174
  end
17728
18175
 
18176
+ # DescribeUserPodList请求参数结构体
18177
+ class DescribeUserPodListRequest < TencentCloud::Common::AbstractModel
18178
+ # @param ClusterId: 集群Id,不填表示获取用户所有pod
18179
+ # @type ClusterId: String
18180
+ # @param Offset: 偏移量
18181
+ # @type Offset: Integer
18182
+ # @param Limit: 每次查询的最大记录数量
18183
+ # @type Limit: Integer
18184
+ # @param Filters: Name 可取值:ClusterId集群id,Namespace命名空间等
18185
+ # @type Filters: Array
18186
+ # @param By: 排序字段
18187
+ # @type By: String
18188
+ # @param Order: 排序方式 asc,desc
18189
+ # @type Order: String
18190
+ # @param ServiceName: Service名称
18191
+ # @type ServiceName: String
18192
+ # @param Namespace: 命名空间
18193
+ # @type Namespace: String
18194
+
18195
+ attr_accessor :ClusterId, :Offset, :Limit, :Filters, :By, :Order, :ServiceName, :Namespace
18196
+
18197
+ def initialize(clusterid=nil, offset=nil, limit=nil, filters=nil, by=nil, order=nil, servicename=nil, namespace=nil)
18198
+ @ClusterId = clusterid
18199
+ @Offset = offset
18200
+ @Limit = limit
18201
+ @Filters = filters
18202
+ @By = by
18203
+ @Order = order
18204
+ @ServiceName = servicename
18205
+ @Namespace = namespace
18206
+ end
18207
+
18208
+ def deserialize(params)
18209
+ @ClusterId = params['ClusterId']
18210
+ @Offset = params['Offset']
18211
+ @Limit = params['Limit']
18212
+ unless params['Filters'].nil?
18213
+ @Filters = []
18214
+ params['Filters'].each do |i|
18215
+ compliancefilters_tmp = ComplianceFilters.new
18216
+ compliancefilters_tmp.deserialize(i)
18217
+ @Filters << compliancefilters_tmp
18218
+ end
18219
+ end
18220
+ @By = params['By']
18221
+ @Order = params['Order']
18222
+ @ServiceName = params['ServiceName']
18223
+ @Namespace = params['Namespace']
18224
+ end
18225
+ end
18226
+
18227
+ # DescribeUserPodList返回参数结构体
18228
+ class DescribeUserPodListResponse < TencentCloud::Common::AbstractModel
18229
+ # @param PodList: Pod列表详细信息
18230
+ # @type PodList: Array
18231
+ # @param TotalCount: Pod列表总数量
18232
+ # @type TotalCount: Integer
18233
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
18234
+ # @type RequestId: String
18235
+
18236
+ attr_accessor :PodList, :TotalCount, :RequestId
18237
+
18238
+ def initialize(podlist=nil, totalcount=nil, requestid=nil)
18239
+ @PodList = podlist
18240
+ @TotalCount = totalcount
18241
+ @RequestId = requestid
18242
+ end
18243
+
18244
+ def deserialize(params)
18245
+ unless params['PodList'].nil?
18246
+ @PodList = []
18247
+ params['PodList'].each do |i|
18248
+ clusterpodinfo_tmp = ClusterPodInfo.new
18249
+ clusterpodinfo_tmp.deserialize(i)
18250
+ @PodList << clusterpodinfo_tmp
18251
+ end
18252
+ end
18253
+ @TotalCount = params['TotalCount']
18254
+ @RequestId = params['RequestId']
18255
+ end
18256
+ end
18257
+
17729
18258
  # DescribeValueAddedSrvInfo请求参数结构体
17730
18259
  class DescribeValueAddedSrvInfoRequest < TencentCloud::Common::AbstractModel
17731
18260
 
@@ -21432,8 +21961,8 @@ module TencentCloud
21432
21961
 
21433
21962
  attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ImageSize, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :IsTrustImage, :OsName, :ScanVirusError, :ScanVulError, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :RegistryRegion, :Id, :ImageId, :ImageCreateTime, :IsLatestImage, :LowLevelVulCnt, :MediumLevelVulCnt, :HighLevelVulCnt, :CriticalLevelVulCnt, :ContainerCnt, :ComponentCnt, :IsRunning, :HasNeedFixVul, :SensitiveInfoCnt, :RecommendedFix
21434
21963
  extend Gem::Deprecate
21435
- deprecate :SentiveInfoCnt, :none, 2023, 12
21436
- deprecate :SentiveInfoCnt=, :none, 2023, 12
21964
+ deprecate :SentiveInfoCnt, :none, 2024, 1
21965
+ deprecate :SentiveInfoCnt=, :none, 2024, 1
21437
21966
 
21438
21967
  def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, imagesize=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, istrustimage=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, registryregion=nil, id=nil, imageid=nil, imagecreatetime=nil, islatestimage=nil, lowlevelvulcnt=nil, mediumlevelvulcnt=nil, highlevelvulcnt=nil, criticallevelvulcnt=nil, containercnt=nil, componentcnt=nil, isrunning=nil, hasneedfixvul=nil, sensitiveinfocnt=nil, recommendedfix=nil)
21439
21968
  @ImageDigest = imagedigest
@@ -26799,6 +27328,176 @@ module TencentCloud
26799
27328
  end
26800
27329
  end
26801
27330
 
27331
+ # 超级节点信息
27332
+ class SuperNodeListItem < TencentCloud::Common::AbstractModel
27333
+ # @param NodeID: 超级节点ID
27334
+ # @type NodeID: String
27335
+ # @param NodeName: 超级节点名称
27336
+ # @type NodeName: String
27337
+ # @param ClusterName: 所属集群名
27338
+ # @type ClusterName: String
27339
+ # @param ClusterID: 所属集群ID
27340
+ # @type ClusterID: String
27341
+ # @param Status: 节点状态:Running,Ready,Notready,Initializing,Failed,Error
27342
+ # @type Status: String
27343
+ # @param SubNetID: 子网ID
27344
+ # @type SubNetID: String
27345
+ # @param SubNetName: 子网名称
27346
+ # @type SubNetName: String
27347
+ # @param SubNetCidr: 子网网段
27348
+ # @type SubNetCidr: String
27349
+ # @param ZoneID: 可用区ID
27350
+ # @type ZoneID: String
27351
+ # @param Zone: 可用区
27352
+ # @type Zone: String
27353
+ # @param CreateTime: 创建时间
27354
+ # @type CreateTime: String
27355
+ # @param RelatePodCount: 关联pod数
27356
+ # @type RelatePodCount: Integer
27357
+ # @param RelateContainerCount: 关联容器数
27358
+ # @type RelateContainerCount: Integer
27359
+ # @param AgentStatus: agent安装状态UNINSTALL:未安装;INSTALLED:已安装;INSTALLING:安装中;
27360
+ # @type AgentStatus: String
27361
+ # @param NodeUniqueID: 节点唯一id
27362
+ # @type NodeUniqueID: String
27363
+ # @param ClusterAccessedStatus: 集群接入状态
27364
+ # @type ClusterAccessedStatus: String
27365
+ # @param ChargeCoresCnt: 计费核数
27366
+ # @type ChargeCoresCnt: Integer
27367
+ # @param DefendStatus: 防护状态:
27368
+ # 已防护: Defended
27369
+ # 未防护: UnDefended
27370
+ # @type DefendStatus: String
27371
+
27372
+ attr_accessor :NodeID, :NodeName, :ClusterName, :ClusterID, :Status, :SubNetID, :SubNetName, :SubNetCidr, :ZoneID, :Zone, :CreateTime, :RelatePodCount, :RelateContainerCount, :AgentStatus, :NodeUniqueID, :ClusterAccessedStatus, :ChargeCoresCnt, :DefendStatus
27373
+
27374
+ def initialize(nodeid=nil, nodename=nil, clustername=nil, clusterid=nil, status=nil, subnetid=nil, subnetname=nil, subnetcidr=nil, zoneid=nil, zone=nil, createtime=nil, relatepodcount=nil, relatecontainercount=nil, agentstatus=nil, nodeuniqueid=nil, clusteraccessedstatus=nil, chargecorescnt=nil, defendstatus=nil)
27375
+ @NodeID = nodeid
27376
+ @NodeName = nodename
27377
+ @ClusterName = clustername
27378
+ @ClusterID = clusterid
27379
+ @Status = status
27380
+ @SubNetID = subnetid
27381
+ @SubNetName = subnetname
27382
+ @SubNetCidr = subnetcidr
27383
+ @ZoneID = zoneid
27384
+ @Zone = zone
27385
+ @CreateTime = createtime
27386
+ @RelatePodCount = relatepodcount
27387
+ @RelateContainerCount = relatecontainercount
27388
+ @AgentStatus = agentstatus
27389
+ @NodeUniqueID = nodeuniqueid
27390
+ @ClusterAccessedStatus = clusteraccessedstatus
27391
+ @ChargeCoresCnt = chargecorescnt
27392
+ @DefendStatus = defendstatus
27393
+ end
27394
+
27395
+ def deserialize(params)
27396
+ @NodeID = params['NodeID']
27397
+ @NodeName = params['NodeName']
27398
+ @ClusterName = params['ClusterName']
27399
+ @ClusterID = params['ClusterID']
27400
+ @Status = params['Status']
27401
+ @SubNetID = params['SubNetID']
27402
+ @SubNetName = params['SubNetName']
27403
+ @SubNetCidr = params['SubNetCidr']
27404
+ @ZoneID = params['ZoneID']
27405
+ @Zone = params['Zone']
27406
+ @CreateTime = params['CreateTime']
27407
+ @RelatePodCount = params['RelatePodCount']
27408
+ @RelateContainerCount = params['RelateContainerCount']
27409
+ @AgentStatus = params['AgentStatus']
27410
+ @NodeUniqueID = params['NodeUniqueID']
27411
+ @ClusterAccessedStatus = params['ClusterAccessedStatus']
27412
+ @ChargeCoresCnt = params['ChargeCoresCnt']
27413
+ @DefendStatus = params['DefendStatus']
27414
+ end
27415
+ end
27416
+
27417
+ # 超级节点Pod列表Item信息
27418
+ class SuperNodePodListItem < TencentCloud::Common::AbstractModel
27419
+ # @param PodName: pod名称
27420
+ # @type PodName: String
27421
+ # @param PodIP: podIP
27422
+ # @type PodIP: String
27423
+ # @param NodeUniqueID: 节点唯一id
27424
+ # @type NodeUniqueID: String
27425
+ # @param Status: 运行状态
27426
+ # @type Status: String
27427
+ # @param CpuRequest: cpu需求核数
27428
+ # @type CpuRequest: Integer
27429
+ # @param CpuLimit: cpu限制核数
27430
+ # @type CpuLimit: Integer
27431
+ # @param MemRequest: 内存需求大小
27432
+ # @type MemRequest: Integer
27433
+ # @param MemLimit: 内存限制大小
27434
+ # @type MemLimit: Integer
27435
+ # @param Namespace: 命名空间
27436
+ # @type Namespace: String
27437
+ # @param DeploymentName: 工作负载名称
27438
+ # @type DeploymentName: String
27439
+ # @param DeploymentID: 工作负载id
27440
+ # @type DeploymentID: String
27441
+ # @param StartTime: 启动时间
27442
+ # @type StartTime: String
27443
+ # @param CreateTime: 创建时间
27444
+ # @type CreateTime: String
27445
+ # @param RelateContainerCount: 关联容器个数
27446
+ # @type RelateContainerCount: Integer
27447
+ # @param RunningTime: 运行时间
27448
+ # @type RunningTime: String
27449
+ # @param PodUid: PodUid
27450
+ # @type PodUid: String
27451
+ # @param ChargeCoresCnt: 计费核数
27452
+ # @type ChargeCoresCnt: Integer
27453
+ # @param DefendStatus: 防护状态
27454
+ # @type DefendStatus: String
27455
+
27456
+ attr_accessor :PodName, :PodIP, :NodeUniqueID, :Status, :CpuRequest, :CpuLimit, :MemRequest, :MemLimit, :Namespace, :DeploymentName, :DeploymentID, :StartTime, :CreateTime, :RelateContainerCount, :RunningTime, :PodUid, :ChargeCoresCnt, :DefendStatus
27457
+
27458
+ def initialize(podname=nil, podip=nil, nodeuniqueid=nil, status=nil, cpurequest=nil, cpulimit=nil, memrequest=nil, memlimit=nil, namespace=nil, deploymentname=nil, deploymentid=nil, starttime=nil, createtime=nil, relatecontainercount=nil, runningtime=nil, poduid=nil, chargecorescnt=nil, defendstatus=nil)
27459
+ @PodName = podname
27460
+ @PodIP = podip
27461
+ @NodeUniqueID = nodeuniqueid
27462
+ @Status = status
27463
+ @CpuRequest = cpurequest
27464
+ @CpuLimit = cpulimit
27465
+ @MemRequest = memrequest
27466
+ @MemLimit = memlimit
27467
+ @Namespace = namespace
27468
+ @DeploymentName = deploymentname
27469
+ @DeploymentID = deploymentid
27470
+ @StartTime = starttime
27471
+ @CreateTime = createtime
27472
+ @RelateContainerCount = relatecontainercount
27473
+ @RunningTime = runningtime
27474
+ @PodUid = poduid
27475
+ @ChargeCoresCnt = chargecorescnt
27476
+ @DefendStatus = defendstatus
27477
+ end
27478
+
27479
+ def deserialize(params)
27480
+ @PodName = params['PodName']
27481
+ @PodIP = params['PodIP']
27482
+ @NodeUniqueID = params['NodeUniqueID']
27483
+ @Status = params['Status']
27484
+ @CpuRequest = params['CpuRequest']
27485
+ @CpuLimit = params['CpuLimit']
27486
+ @MemRequest = params['MemRequest']
27487
+ @MemLimit = params['MemLimit']
27488
+ @Namespace = params['Namespace']
27489
+ @DeploymentName = params['DeploymentName']
27490
+ @DeploymentID = params['DeploymentID']
27491
+ @StartTime = params['StartTime']
27492
+ @CreateTime = params['CreateTime']
27493
+ @RelateContainerCount = params['RelateContainerCount']
27494
+ @RunningTime = params['RunningTime']
27495
+ @PodUid = params['PodUid']
27496
+ @ChargeCoresCnt = params['ChargeCoresCnt']
27497
+ @DefendStatus = params['DefendStatus']
27498
+ end
27499
+ end
27500
+
26802
27501
  # 支持防御的漏洞
26803
27502
  class SupportDefenceVul < TencentCloud::Common::AbstractModel
26804
27503
  # @param PocID: 漏洞PocID
@@ -27215,8 +27914,8 @@ module TencentCloud
27215
27914
 
27216
27915
  attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace
27217
27916
  extend Gem::Deprecate
27218
- deprecate :All, :none, 2023, 12
27219
- deprecate :All=, :none, 2023, 12
27917
+ deprecate :All, :none, 2024, 1
27918
+ deprecate :All=, :none, 2024, 1
27220
27919
 
27221
27920
  def initialize(scanperiod=nil, enable=nil, scantime=nil, scantype=nil, images=nil, all=nil, id=nil, latest=nil, containerrunning=nil, scanendtime=nil, scanscope=nil, registrytype=nil, namespace=nil)
27222
27921
  @ScanPeriod = scanperiod
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcss
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.739
4
+ version: 3.0.741
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-12-31 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-tcss.rb
36
37
  - lib/v20201101/client.rb
37
38
  - lib/v20201101/models.rb
38
- - lib/tencentcloud-sdk-tcss.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: