tencentcloud-sdk-tke 3.0.909 → 3.0.911

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: a2778935000f3d23675c596a0ffefc74b1474d5c
4
- data.tar.gz: 261fdf171e8a5899c5cccf97b4293d2a02f0a7fe
3
+ metadata.gz: c49e0e6df07ad8fe471ab3deaf5a2d411c8adff1
4
+ data.tar.gz: 216b08ac042b08e435933f5e5cb6cd000989af00
5
5
  SHA512:
6
- metadata.gz: 6007b31a7b5b40e4413ba9c3c09c07bfda0b64cf756d923f3fc86533cf6396032faf4b7bc0232c1589ca94430166445a96efab1d6a50d40a1fd60bb1c0def23d
7
- data.tar.gz: 239fb71621bc90131c5394a0b8837171ddbf77d9e02682389162c59feae61450eac0747e7afecfd671ea59c73d0dba591894c2eeb6bf49258fbb9c506e1bb53f
6
+ metadata.gz: 2777444ff3b1fc94c8ea5d8812c18fd2b5cdd9ae5b32e58b88c835f3bfa2adc225a9a28a24a3a06ccf08afe10e61d895f57081965d9a36a6a141189d23ca5d36
7
+ data.tar.gz: eefb2459f4b1e034de9b7a1189f6b8e9b4b449d2ade1169f9883c60347562fdc046ae7276ca463c305448c649ffcf7697e057a6f75d9b107d9122ff80399dde8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.909
1
+ 3.0.911
@@ -1373,6 +1373,30 @@ module TencentCloud
1373
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1374
1374
  end
1375
1375
 
1376
+ # 删除集群内采集规则
1377
+
1378
+ # @param request: Request instance for DeleteLogConfigs.
1379
+ # @type request: :class:`Tencentcloud::tke::V20180525::DeleteLogConfigsRequest`
1380
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DeleteLogConfigsResponse`
1381
+ def DeleteLogConfigs(request)
1382
+ body = send_request('DeleteLogConfigs', request.serialize)
1383
+ response = JSON.parse(body)
1384
+ if response['Response'].key?('Error') == false
1385
+ model = DeleteLogConfigsResponse.new
1386
+ model.deserialize(response['Response'])
1387
+ model
1388
+ else
1389
+ code = response['Response']['Error']['Code']
1390
+ message = response['Response']['Error']['Message']
1391
+ reqid = response['Response']['RequestId']
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
+ end
1394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1395
+ raise e
1396
+ rescue StandardError => e
1397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
+ end
1399
+
1376
1400
  # 删除2.0实例告警策略
1377
1401
 
1378
1402
  # @param request: Request instance for DeletePrometheusAlertPolicy.
@@ -2911,6 +2935,30 @@ module TencentCloud
2911
2935
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2912
2936
  end
2913
2937
 
2938
+ # 查询日志采集规则
2939
+
2940
+ # @param request: Request instance for DescribeLogConfigs.
2941
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeLogConfigsRequest`
2942
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeLogConfigsResponse`
2943
+ def DescribeLogConfigs(request)
2944
+ body = send_request('DescribeLogConfigs', request.serialize)
2945
+ response = JSON.parse(body)
2946
+ if response['Response'].key?('Error') == false
2947
+ model = DescribeLogConfigsResponse.new
2948
+ model.deserialize(response['Response'])
2949
+ model
2950
+ else
2951
+ code = response['Response']['Error']['Code']
2952
+ message = response['Response']['Error']['Message']
2953
+ reqid = response['Response']['RequestId']
2954
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2955
+ end
2956
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2957
+ raise e
2958
+ rescue StandardError => e
2959
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2960
+ end
2961
+
2914
2962
  # 查询集群日志(审计、事件、普通日志)开关列表
2915
2963
 
2916
2964
  # @param request: Request instance for DescribeLogSwitches.
@@ -4607,6 +4607,51 @@ module TencentCloud
4607
4607
  end
4608
4608
  end
4609
4609
 
4610
+ # DeleteLogConfigs请求参数结构体
4611
+ class DeleteLogConfigsRequest < TencentCloud::Common::AbstractModel
4612
+ # @param ClusterId: 集群ID
4613
+ # @type ClusterId: String
4614
+ # @param LogConfigNames: 待删除采集规则名称,多个采集规则使用","分隔
4615
+ # @type LogConfigNames: String
4616
+ # @param ClusterType: 集群集群类型, tke/eks 默认为 tke 集群
4617
+ # @type ClusterType: String
4618
+
4619
+ attr_accessor :ClusterId, :LogConfigNames, :ClusterType
4620
+
4621
+ def initialize(clusterid=nil, logconfignames=nil, clustertype=nil)
4622
+ @ClusterId = clusterid
4623
+ @LogConfigNames = logconfignames
4624
+ @ClusterType = clustertype
4625
+ end
4626
+
4627
+ def deserialize(params)
4628
+ @ClusterId = params['ClusterId']
4629
+ @LogConfigNames = params['LogConfigNames']
4630
+ @ClusterType = params['ClusterType']
4631
+ end
4632
+ end
4633
+
4634
+ # DeleteLogConfigs返回参数结构体
4635
+ class DeleteLogConfigsResponse < TencentCloud::Common::AbstractModel
4636
+ # @param Message: 删除采集规则遇到错误时返回错误原因
4637
+ # 注意:此字段可能返回 null,表示取不到有效值。
4638
+ # @type Message: String
4639
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4640
+ # @type RequestId: String
4641
+
4642
+ attr_accessor :Message, :RequestId
4643
+
4644
+ def initialize(message=nil, requestid=nil)
4645
+ @Message = message
4646
+ @RequestId = requestid
4647
+ end
4648
+
4649
+ def deserialize(params)
4650
+ @Message = params['Message']
4651
+ @RequestId = params['RequestId']
4652
+ end
4653
+ end
4654
+
4610
4655
  # DeletePrometheusAlertPolicy请求参数结构体
4611
4656
  class DeletePrometheusAlertPolicyRequest < TencentCloud::Common::AbstractModel
4612
4657
  # @param InstanceId: 实例id
@@ -8027,6 +8072,69 @@ module TencentCloud
8027
8072
  end
8028
8073
  end
8029
8074
 
8075
+ # DescribeLogConfigs请求参数结构体
8076
+ class DescribeLogConfigsRequest < TencentCloud::Common::AbstractModel
8077
+ # @param ClusterId: 集群ID
8078
+ # @type ClusterId: String
8079
+ # @param ClusterType: 当前集群类型支持tke、eks。默认为tke
8080
+ # @type ClusterType: String
8081
+ # @param LogConfigNames: 按照采集规则名称查找,多个采集规则使用 "," 分隔。
8082
+ # @type LogConfigNames: String
8083
+ # @param Offset: 偏移量,默认0
8084
+ # @type Offset: Integer
8085
+ # @param Limit: 最大输出条数,默认20,最大为100
8086
+ # @type Limit: Integer
8087
+
8088
+ attr_accessor :ClusterId, :ClusterType, :LogConfigNames, :Offset, :Limit
8089
+
8090
+ def initialize(clusterid=nil, clustertype=nil, logconfignames=nil, offset=nil, limit=nil)
8091
+ @ClusterId = clusterid
8092
+ @ClusterType = clustertype
8093
+ @LogConfigNames = logconfignames
8094
+ @Offset = offset
8095
+ @Limit = limit
8096
+ end
8097
+
8098
+ def deserialize(params)
8099
+ @ClusterId = params['ClusterId']
8100
+ @ClusterType = params['ClusterType']
8101
+ @LogConfigNames = params['LogConfigNames']
8102
+ @Offset = params['Offset']
8103
+ @Limit = params['Limit']
8104
+ end
8105
+ end
8106
+
8107
+ # DescribeLogConfigs返回参数结构体
8108
+ class DescribeLogConfigsResponse < TencentCloud::Common::AbstractModel
8109
+ # @param Total: 分页查找时返回采集规则总数
8110
+ # 注意:此字段可能返回 null,表示取不到有效值。
8111
+ # @type Total: Integer
8112
+ # @param Message: 指定采集规则名称查找,部分失败时返回失败采集规则名称及最后一个失败原因
8113
+ # 注意:此字段可能返回 null,表示取不到有效值。
8114
+ # @type Message: String
8115
+ # @param LogConfigs: 采集规则查询结果
8116
+ # 注意:此字段可能返回 null,表示取不到有效值。
8117
+ # @type LogConfigs: String
8118
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8119
+ # @type RequestId: String
8120
+
8121
+ attr_accessor :Total, :Message, :LogConfigs, :RequestId
8122
+
8123
+ def initialize(total=nil, message=nil, logconfigs=nil, requestid=nil)
8124
+ @Total = total
8125
+ @Message = message
8126
+ @LogConfigs = logconfigs
8127
+ @RequestId = requestid
8128
+ end
8129
+
8130
+ def deserialize(params)
8131
+ @Total = params['Total']
8132
+ @Message = params['Message']
8133
+ @LogConfigs = params['LogConfigs']
8134
+ @RequestId = params['RequestId']
8135
+ end
8136
+ end
8137
+
8030
8138
  # DescribeLogSwitches请求参数结构体
8031
8139
  class DescribeLogSwitchesRequest < TencentCloud::Common::AbstractModel
8032
8140
  # @param ClusterIds: 集群ID列表
@@ -15136,7 +15244,7 @@ module TencentCloud
15136
15244
  # @param Namespace: 应用命名空间
15137
15245
  # 注意:此字段可能返回 null,表示取不到有效值。
15138
15246
  # @type Namespace: String
15139
- # @param Status: 应用状态
15247
+ # @param Status: 应用状态(参考helm的发布状态: unknown, deployed, uninstalled, superseded, failed, uninstalling, pending-install, pending-upgrade 或 pending-rollback)
15140
15248
  # 注意:此字段可能返回 null,表示取不到有效值。
15141
15249
  # @type Status: String
15142
15250
  # @param UpdatedTime: 更新时间
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.909
4
+ version: 3.0.911
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-09-20 00:00:00.000000000 Z
11
+ date: 2024-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common