tencentcloud-sdk-tke 3.0.1181 → 3.0.1183

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: d94ed4d66046aff3e368aa73e23a8867377c8c0f
4
- data.tar.gz: 598bdcf0ff16de16d8b43b6fe9fefadc819c8c34
3
+ metadata.gz: 4ff73c3796f543fb8eec7cfcd527d981063bdb8c
4
+ data.tar.gz: 678e1a8bd15453991a9170064d2f89917aed367f
5
5
  SHA512:
6
- metadata.gz: c812d0c12a34cb74a65aed5526e3b8fa85710ed8f5a53bbab3655a48f7580dae4255eaeeea5c851e8c899117a73a09569a3a737d5a1374e4d85ca44f9ae3c49e
7
- data.tar.gz: 658bd91d9b90f09add29bf49da78191c46e632e3085549d6f9a929521246892a806b4b3794c8af9ddef4672a85df9e8cee0a89e18b9fcecf0894eb6bb1d3a820
6
+ metadata.gz: 33f34c8c98467553d53edf1d1f60c6094f426b29ba2b9698ab23d892fbea2a6180deb3e8def7afb9bf3f824a3df72dda01f79000790d8a742222beedff39d6a9
7
+ data.tar.gz: df867f9c5b115321b2738b66cacd3aa28a2b5749343c4d2b68ba81b3e1d2ae00050ea250a4a4d0c9b45d4db3e0f8d962bad5b292e1fdde2f1bbfabc7a2c48dc1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1181
1
+ 3.0.1183
@@ -2693,6 +2693,30 @@ module TencentCloud
2693
2693
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2694
2694
  end
2695
2695
 
2696
+ # 查询插件日志采集配置
2697
+
2698
+ # @param request: Request instance for DescribeControlPlaneLogs.
2699
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeControlPlaneLogsRequest`
2700
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeControlPlaneLogsResponse`
2701
+ def DescribeControlPlaneLogs(request)
2702
+ body = send_request('DescribeControlPlaneLogs', request.serialize)
2703
+ response = JSON.parse(body)
2704
+ if response['Response'].key?('Error') == false
2705
+ model = DescribeControlPlaneLogsResponse.new
2706
+ model.deserialize(response['Response'])
2707
+ model
2708
+ else
2709
+ code = response['Response']['Error']['Code']
2710
+ message = response['Response']['Error']['Message']
2711
+ reqid = response['Response']['RequestId']
2712
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2713
+ end
2714
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2715
+ raise e
2716
+ rescue StandardError => e
2717
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2718
+ end
2719
+
2696
2720
  # 获取ECM实例相关信息
2697
2721
 
2698
2722
  # @param request: Request instance for DescribeECMInstances.
@@ -4349,6 +4373,30 @@ module TencentCloud
4349
4373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4350
4374
  end
4351
4375
 
4376
+ # 删除插件日志采集配置
4377
+
4378
+ # @param request: Request instance for DisableControlPlaneLogs.
4379
+ # @type request: :class:`Tencentcloud::tke::V20180525::DisableControlPlaneLogsRequest`
4380
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DisableControlPlaneLogsResponse`
4381
+ def DisableControlPlaneLogs(request)
4382
+ body = send_request('DisableControlPlaneLogs', request.serialize)
4383
+ response = JSON.parse(body)
4384
+ if response['Response'].key?('Error') == false
4385
+ model = DisableControlPlaneLogsResponse.new
4386
+ model.deserialize(response['Response'])
4387
+ model
4388
+ else
4389
+ code = response['Response']['Error']['Code']
4390
+ message = response['Response']['Error']['Message']
4391
+ reqid = response['Response']['RequestId']
4392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4393
+ end
4394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4395
+ raise e
4396
+ rescue StandardError => e
4397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4398
+ end
4399
+
4352
4400
  # 关闭加密信息保护
4353
4401
 
4354
4402
  # @param request: Request instance for DisableEncryptionProtection.
@@ -4493,6 +4541,30 @@ module TencentCloud
4493
4541
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4494
4542
  end
4495
4543
 
4544
+ # 创建插件日志采集配置
4545
+
4546
+ # @param request: Request instance for EnableControlPlaneLogs.
4547
+ # @type request: :class:`Tencentcloud::tke::V20180525::EnableControlPlaneLogsRequest`
4548
+ # @rtype: :class:`Tencentcloud::tke::V20180525::EnableControlPlaneLogsResponse`
4549
+ def EnableControlPlaneLogs(request)
4550
+ body = send_request('EnableControlPlaneLogs', request.serialize)
4551
+ response = JSON.parse(body)
4552
+ if response['Response'].key?('Error') == false
4553
+ model = EnableControlPlaneLogsResponse.new
4554
+ model.deserialize(response['Response'])
4555
+ model
4556
+ else
4557
+ code = response['Response']['Error']['Code']
4558
+ message = response['Response']['Error']['Message']
4559
+ reqid = response['Response']['RequestId']
4560
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4561
+ end
4562
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4563
+ raise e
4564
+ rescue StandardError => e
4565
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4566
+ end
4567
+
4496
4568
  # 开启加密数据保护,需要先开启KMS能力,完成KMS授权
4497
4569
 
4498
4570
  # @param request: Request instance for EnableEncryptionProtection.
@@ -1809,6 +1809,38 @@ module TencentCloud
1809
1809
  end
1810
1810
  end
1811
1811
 
1812
+ # 组件日志采集配置
1813
+ class ComponentLogConfig < TencentCloud::Common::AbstractModel
1814
+ # @param Name: 组件名称
1815
+ # @type Name: String
1816
+ # @param LogLevel: 日志级别,对于支持动态调整日志级别的组件,开启日志时可指定该参数
1817
+ # @type LogLevel: Integer
1818
+ # @param LogSetId: 日志集ID。如果不指定,则自动创建
1819
+ # @type LogSetId: String
1820
+ # @param TopicId: 日志主题ID。如果不指定,则自动创建
1821
+ # @type TopicId: String
1822
+ # @param TopicRegion: topic 所属region。 该参数可实现日志跨地域投递
1823
+ # @type TopicRegion: String
1824
+
1825
+ attr_accessor :Name, :LogLevel, :LogSetId, :TopicId, :TopicRegion
1826
+
1827
+ def initialize(name=nil, loglevel=nil, logsetid=nil, topicid=nil, topicregion=nil)
1828
+ @Name = name
1829
+ @LogLevel = loglevel
1830
+ @LogSetId = logsetid
1831
+ @TopicId = topicid
1832
+ @TopicRegion = topicregion
1833
+ end
1834
+
1835
+ def deserialize(params)
1836
+ @Name = params['Name']
1837
+ @LogLevel = params['LogLevel']
1838
+ @LogSetId = params['LogSetId']
1839
+ @TopicId = params['TopicId']
1840
+ @TopicRegion = params['TopicRegion']
1841
+ end
1842
+ end
1843
+
1812
1844
  # EKS Instance Container容器
1813
1845
  class Container < TencentCloud::Common::AbstractModel
1814
1846
  # @param Image: 镜像
@@ -7445,6 +7477,53 @@ module TencentCloud
7445
7477
  end
7446
7478
  end
7447
7479
 
7480
+ # DescribeControlPlaneLogs请求参数结构体
7481
+ class DescribeControlPlaneLogsRequest < TencentCloud::Common::AbstractModel
7482
+ # @param ClusterId: 集群ID
7483
+ # @type ClusterId: String
7484
+ # @param ClusterType: 集群类型。当前只支持tke
7485
+ # @type ClusterType: String
7486
+
7487
+ attr_accessor :ClusterId, :ClusterType
7488
+
7489
+ def initialize(clusterid=nil, clustertype=nil)
7490
+ @ClusterId = clusterid
7491
+ @ClusterType = clustertype
7492
+ end
7493
+
7494
+ def deserialize(params)
7495
+ @ClusterId = params['ClusterId']
7496
+ @ClusterType = params['ClusterType']
7497
+ end
7498
+ end
7499
+
7500
+ # DescribeControlPlaneLogs返回参数结构体
7501
+ class DescribeControlPlaneLogsResponse < TencentCloud::Common::AbstractModel
7502
+ # @param Details: 日志采集配置查询结果
7503
+ # @type Details: Array
7504
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7505
+ # @type RequestId: String
7506
+
7507
+ attr_accessor :Details, :RequestId
7508
+
7509
+ def initialize(details=nil, requestid=nil)
7510
+ @Details = details
7511
+ @RequestId = requestid
7512
+ end
7513
+
7514
+ def deserialize(params)
7515
+ unless params['Details'].nil?
7516
+ @Details = []
7517
+ params['Details'].each do |i|
7518
+ componentlogconfig_tmp = ComponentLogConfig.new
7519
+ componentlogconfig_tmp.deserialize(i)
7520
+ @Details << componentlogconfig_tmp
7521
+ end
7522
+ end
7523
+ @RequestId = params['RequestId']
7524
+ end
7525
+ end
7526
+
7448
7527
  # DescribeECMInstances请求参数结构体
7449
7528
  class DescribeECMInstancesRequest < TencentCloud::Common::AbstractModel
7450
7529
  # @param ClusterID: 集群id
@@ -11468,6 +11547,50 @@ module TencentCloud
11468
11547
  end
11469
11548
  end
11470
11549
 
11550
+ # DisableControlPlaneLogs请求参数结构体
11551
+ class DisableControlPlaneLogsRequest < TencentCloud::Common::AbstractModel
11552
+ # @param ClusterId: 集群ID
11553
+ # @type ClusterId: String
11554
+ # @param ClusterType: 集群类型。当前只支持tke
11555
+ # @type ClusterType: String
11556
+ # @param ComponentNames: 组件名称列表,目前支持的组件有:kube-apiserver、kube-controller-manager、kube-scheduler、cluster-autoscaler、kapenter
11557
+ # @type ComponentNames: Array
11558
+ # @param DeleteLogSetAndTopic: 是否删除日志集和topic。 如果日志集和topic被其他采集规则使用,则不会被删除
11559
+ # @type DeleteLogSetAndTopic: Boolean
11560
+
11561
+ attr_accessor :ClusterId, :ClusterType, :ComponentNames, :DeleteLogSetAndTopic
11562
+
11563
+ def initialize(clusterid=nil, clustertype=nil, componentnames=nil, deletelogsetandtopic=nil)
11564
+ @ClusterId = clusterid
11565
+ @ClusterType = clustertype
11566
+ @ComponentNames = componentnames
11567
+ @DeleteLogSetAndTopic = deletelogsetandtopic
11568
+ end
11569
+
11570
+ def deserialize(params)
11571
+ @ClusterId = params['ClusterId']
11572
+ @ClusterType = params['ClusterType']
11573
+ @ComponentNames = params['ComponentNames']
11574
+ @DeleteLogSetAndTopic = params['DeleteLogSetAndTopic']
11575
+ end
11576
+ end
11577
+
11578
+ # DisableControlPlaneLogs返回参数结构体
11579
+ class DisableControlPlaneLogsResponse < TencentCloud::Common::AbstractModel
11580
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11581
+ # @type RequestId: String
11582
+
11583
+ attr_accessor :RequestId
11584
+
11585
+ def initialize(requestid=nil)
11586
+ @RequestId = requestid
11587
+ end
11588
+
11589
+ def deserialize(params)
11590
+ @RequestId = params['RequestId']
11591
+ end
11592
+ end
11593
+
11471
11594
  # DisableEncryptionProtection请求参数结构体
11472
11595
  class DisableEncryptionProtectionRequest < TencentCloud::Common::AbstractModel
11473
11596
  # @param ClusterId: 集群ID
@@ -12376,6 +12499,53 @@ module TencentCloud
12376
12499
  end
12377
12500
  end
12378
12501
 
12502
+ # EnableControlPlaneLogs请求参数结构体
12503
+ class EnableControlPlaneLogsRequest < TencentCloud::Common::AbstractModel
12504
+ # @param ClusterId: 集群ID
12505
+ # @type ClusterId: String
12506
+ # @param ClusterType: 集群类型。当前只支持tke
12507
+ # @type ClusterType: String
12508
+ # @param Components: 各组件日志采集配置,目前支持的组件有:kube-apiserver、kube-controller-manager、kube-scheduler、cluster-autoscaler、kapenter
12509
+ # @type Components: Array
12510
+
12511
+ attr_accessor :ClusterId, :ClusterType, :Components
12512
+
12513
+ def initialize(clusterid=nil, clustertype=nil, components=nil)
12514
+ @ClusterId = clusterid
12515
+ @ClusterType = clustertype
12516
+ @Components = components
12517
+ end
12518
+
12519
+ def deserialize(params)
12520
+ @ClusterId = params['ClusterId']
12521
+ @ClusterType = params['ClusterType']
12522
+ unless params['Components'].nil?
12523
+ @Components = []
12524
+ params['Components'].each do |i|
12525
+ componentlogconfig_tmp = ComponentLogConfig.new
12526
+ componentlogconfig_tmp.deserialize(i)
12527
+ @Components << componentlogconfig_tmp
12528
+ end
12529
+ end
12530
+ end
12531
+ end
12532
+
12533
+ # EnableControlPlaneLogs返回参数结构体
12534
+ class EnableControlPlaneLogsResponse < TencentCloud::Common::AbstractModel
12535
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12536
+ # @type RequestId: String
12537
+
12538
+ attr_accessor :RequestId
12539
+
12540
+ def initialize(requestid=nil)
12541
+ @RequestId = requestid
12542
+ end
12543
+
12544
+ def deserialize(params)
12545
+ @RequestId = params['RequestId']
12546
+ end
12547
+ end
12548
+
12379
12549
  # EnableEncryptionProtection请求参数结构体
12380
12550
  class EnableEncryptionProtectionRequest < TencentCloud::Common::AbstractModel
12381
12551
  # @param ClusterId: 集群ID
@@ -247,10 +247,12 @@ module TencentCloud
247
247
  # @type MachineType: String
248
248
  # @param AutomationService: 原生节点池安装节点自动化助手开关
249
249
  # @type AutomationService: Boolean
250
+ # @param Password: 原生节点池密码
251
+ # @type Password: String
250
252
 
251
- attr_accessor :Scaling, :SubnetIds, :InstanceChargeType, :SystemDisk, :InstanceTypes, :SecurityGroupIds, :UpgradeSettings, :AutoRepair, :InstanceChargePrepaid, :Management, :HealthCheckPolicyName, :HostNamePattern, :KubeletArgs, :Lifecycle, :RuntimeRootDir, :EnableAutoscaling, :Replicas, :InternetAccessible, :DataDisks, :QGPUEnable, :KeyIds, :MachineType, :AutomationService
253
+ attr_accessor :Scaling, :SubnetIds, :InstanceChargeType, :SystemDisk, :InstanceTypes, :SecurityGroupIds, :UpgradeSettings, :AutoRepair, :InstanceChargePrepaid, :Management, :HealthCheckPolicyName, :HostNamePattern, :KubeletArgs, :Lifecycle, :RuntimeRootDir, :EnableAutoscaling, :Replicas, :InternetAccessible, :DataDisks, :QGPUEnable, :KeyIds, :MachineType, :AutomationService, :Password
252
254
 
253
- def initialize(scaling=nil, subnetids=nil, instancechargetype=nil, systemdisk=nil, instancetypes=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargeprepaid=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, replicas=nil, internetaccessible=nil, datadisks=nil, qgpuenable=nil, keyids=nil, machinetype=nil, automationservice=nil)
255
+ def initialize(scaling=nil, subnetids=nil, instancechargetype=nil, systemdisk=nil, instancetypes=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargeprepaid=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, replicas=nil, internetaccessible=nil, datadisks=nil, qgpuenable=nil, keyids=nil, machinetype=nil, automationservice=nil, password=nil)
254
256
  @Scaling = scaling
255
257
  @SubnetIds = subnetids
256
258
  @InstanceChargeType = instancechargetype
@@ -274,6 +276,7 @@ module TencentCloud
274
276
  @KeyIds = keyids
275
277
  @MachineType = machinetype
276
278
  @AutomationService = automationservice
279
+ @Password = password
277
280
  end
278
281
 
279
282
  def deserialize(params)
@@ -328,6 +331,7 @@ module TencentCloud
328
331
  @KeyIds = params['KeyIds']
329
332
  @MachineType = params['MachineType']
330
333
  @AutomationService = params['AutomationService']
334
+ @Password = params['Password']
331
335
  end
332
336
  end
333
337
 
@@ -2920,10 +2924,12 @@ module TencentCloud
2920
2924
  # @type KeyIds: Array
2921
2925
  # @param GPUConfigs: 节点池 GPU 配置
2922
2926
  # @type GPUConfigs: Array
2927
+ # @param Password: 原生节点池密码
2928
+ # @type Password: String
2923
2929
 
2924
- attr_accessor :Scaling, :SubnetIds, :SecurityGroupIds, :UpgradeSettings, :AutoRepair, :InstanceChargeType, :InstanceChargePrepaid, :SystemDisk, :Management, :HealthCheckPolicyName, :HostNamePattern, :KubeletArgs, :Lifecycle, :RuntimeRootDir, :EnableAutoscaling, :InstanceTypes, :Replicas, :UpdateExistedNode, :DataDisks, :KeyIds, :GPUConfigs
2930
+ attr_accessor :Scaling, :SubnetIds, :SecurityGroupIds, :UpgradeSettings, :AutoRepair, :InstanceChargeType, :InstanceChargePrepaid, :SystemDisk, :Management, :HealthCheckPolicyName, :HostNamePattern, :KubeletArgs, :Lifecycle, :RuntimeRootDir, :EnableAutoscaling, :InstanceTypes, :Replicas, :UpdateExistedNode, :DataDisks, :KeyIds, :GPUConfigs, :Password
2925
2931
 
2926
- def initialize(scaling=nil, subnetids=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargetype=nil, instancechargeprepaid=nil, systemdisk=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, instancetypes=nil, replicas=nil, updateexistednode=nil, datadisks=nil, keyids=nil, gpuconfigs=nil)
2932
+ def initialize(scaling=nil, subnetids=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargetype=nil, instancechargeprepaid=nil, systemdisk=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, instancetypes=nil, replicas=nil, updateexistednode=nil, datadisks=nil, keyids=nil, gpuconfigs=nil, password=nil)
2927
2933
  @Scaling = scaling
2928
2934
  @SubnetIds = subnetids
2929
2935
  @SecurityGroupIds = securitygroupids
@@ -2945,6 +2951,7 @@ module TencentCloud
2945
2951
  @DataDisks = datadisks
2946
2952
  @KeyIds = keyids
2947
2953
  @GPUConfigs = gpuconfigs
2954
+ @Password = password
2948
2955
  end
2949
2956
 
2950
2957
  def deserialize(params)
@@ -3001,6 +3008,7 @@ module TencentCloud
3001
3008
  @GPUConfigs << gpuconfig_tmp
3002
3009
  end
3003
3010
  end
3011
+ @Password = params['Password']
3004
3012
  end
3005
3013
  end
3006
3014
 
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.1181
4
+ version: 3.0.1183
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-10 00:00:00.000000000 Z
11
+ date: 2025-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common