tencentcloud-sdk-tke 3.0.715 → 3.0.716

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: 89ca29331b2f016f50afc6e0c892ccf4a87f6254
4
- data.tar.gz: e041f572ebb224df9fbcd9b04204141e26f54236
3
+ metadata.gz: 2262266d61bfbede0358bb6d038e8b2bca8faf1e
4
+ data.tar.gz: 24e546a525c1e47dc06a52aa55ab4b37ebf1f9d0
5
5
  SHA512:
6
- metadata.gz: 058084da19e6922186a86a567769cdd7ab7ecea566a7723c8128f3343901c6fb2d722d9db987e4eedb8cb73c0d68ba24090ac8d2d5b714acb8fa6cc3bc1f34df
7
- data.tar.gz: e9a31232220519d254cb941e9e962a9ea2ad321bd9a295c7fa8386c15df8ef90c478d162f94f02ee952b2e928025c0a91cc89b18ec2da918076c1bd79b544162
6
+ metadata.gz: 4bc7997496d9a13e7cfea98c8edb863c2ba67150428db0f1fab9421c1d5aee6d1ec3d55a0226dbe9e81a2bc62a87b9bddad0826f654877c9478c689d4eaf2209
7
+ data.tar.gz: 72df85959f2dfa9ad813b2ba0fabd543b12c209e0dd26683929c0df1ae3a8cf92f1c65f1dfca3b8cbc71547671ac87cb0c0fa7d0a03369fe97e0787d79bb7685
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.715
1
+ 3.0.716
@@ -2861,6 +2861,30 @@ module TencentCloud
2861
2861
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2862
2862
  end
2863
2863
 
2864
+ # 查询集群日志(审计、事件、普通日志)开关列表
2865
+
2866
+ # @param request: Request instance for DescribeLogSwitches.
2867
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeLogSwitchesRequest`
2868
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeLogSwitchesResponse`
2869
+ def DescribeLogSwitches(request)
2870
+ body = send_request('DescribeLogSwitches', request.serialize)
2871
+ response = JSON.parse(body)
2872
+ if response['Response'].key?('Error') == false
2873
+ model = DescribeLogSwitchesResponse.new
2874
+ model.deserialize(response['Response'])
2875
+ model
2876
+ else
2877
+ code = response['Response']['Error']['Code']
2878
+ message = response['Response']['Error']['Message']
2879
+ reqid = response['Response']['RequestId']
2880
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2881
+ end
2882
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2883
+ raise e
2884
+ rescue StandardError => e
2885
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2886
+ end
2887
+
2864
2888
  # 查询各个规格的 Pod 的抵扣率
2865
2889
 
2866
2890
  # @param request: Request instance for DescribePodDeductionRate.
@@ -7907,6 +7907,54 @@ module TencentCloud
7907
7907
  end
7908
7908
  end
7909
7909
 
7910
+ # DescribeLogSwitches请求参数结构体
7911
+ class DescribeLogSwitchesRequest < TencentCloud::Common::AbstractModel
7912
+ # @param ClusterIds: 集群ID列表
7913
+ # @type ClusterIds: Array
7914
+ # @param ClusterType: 集群类型,tke 或eks
7915
+ # @type ClusterType: String
7916
+
7917
+ attr_accessor :ClusterIds, :ClusterType
7918
+
7919
+ def initialize(clusterids=nil, clustertype=nil)
7920
+ @ClusterIds = clusterids
7921
+ @ClusterType = clustertype
7922
+ end
7923
+
7924
+ def deserialize(params)
7925
+ @ClusterIds = params['ClusterIds']
7926
+ @ClusterType = params['ClusterType']
7927
+ end
7928
+ end
7929
+
7930
+ # DescribeLogSwitches返回参数结构体
7931
+ class DescribeLogSwitchesResponse < TencentCloud::Common::AbstractModel
7932
+ # @param SwitchSet: 集群日志开关集合
7933
+ # 注意:此字段可能返回 null,表示取不到有效值。
7934
+ # @type SwitchSet: Array
7935
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7936
+ # @type RequestId: String
7937
+
7938
+ attr_accessor :SwitchSet, :RequestId
7939
+
7940
+ def initialize(switchset=nil, requestid=nil)
7941
+ @SwitchSet = switchset
7942
+ @RequestId = requestid
7943
+ end
7944
+
7945
+ def deserialize(params)
7946
+ unless params['SwitchSet'].nil?
7947
+ @SwitchSet = []
7948
+ params['SwitchSet'].each do |i|
7949
+ switch_tmp = Switch.new
7950
+ switch_tmp.deserialize(i)
7951
+ @SwitchSet << switch_tmp
7952
+ end
7953
+ end
7954
+ @RequestId = params['RequestId']
7955
+ end
7956
+ end
7957
+
7910
7958
  # DescribePodDeductionRate请求参数结构体
7911
7959
  class DescribePodDeductionRateRequest < TencentCloud::Common::AbstractModel
7912
7960
  # @param Zone: 可用区
@@ -17201,6 +17249,96 @@ module TencentCloud
17201
17249
  end
17202
17250
  end
17203
17251
 
17252
+ # 集群日志开关集合
17253
+ class Switch < TencentCloud::Common::AbstractModel
17254
+ # @param ClusterId: 集群ID
17255
+ # @type ClusterId: String
17256
+ # @param Audit: 审计开关的详细信息
17257
+ # 注意:此字段可能返回 null,表示取不到有效值。
17258
+ # @type Audit: :class:`Tencentcloud::Tke.v20180525.models.SwitchInfo`
17259
+ # @param Event: 事件开关的详细信息
17260
+ # 注意:此字段可能返回 null,表示取不到有效值。
17261
+ # @type Event: :class:`Tencentcloud::Tke.v20180525.models.SwitchInfo`
17262
+ # @param Log: 普通日志的详细信息
17263
+ # 注意:此字段可能返回 null,表示取不到有效值。
17264
+ # @type Log: :class:`Tencentcloud::Tke.v20180525.models.SwitchInfo`
17265
+ # @param MasterLog: master 日志详细信息
17266
+ # 注意:此字段可能返回 null,表示取不到有效值。
17267
+ # @type MasterLog: :class:`Tencentcloud::Tke.v20180525.models.SwitchInfo`
17268
+
17269
+ attr_accessor :ClusterId, :Audit, :Event, :Log, :MasterLog
17270
+
17271
+ def initialize(clusterid=nil, audit=nil, event=nil, log=nil, masterlog=nil)
17272
+ @ClusterId = clusterid
17273
+ @Audit = audit
17274
+ @Event = event
17275
+ @Log = log
17276
+ @MasterLog = masterlog
17277
+ end
17278
+
17279
+ def deserialize(params)
17280
+ @ClusterId = params['ClusterId']
17281
+ unless params['Audit'].nil?
17282
+ @Audit = SwitchInfo.new
17283
+ @Audit.deserialize(params['Audit'])
17284
+ end
17285
+ unless params['Event'].nil?
17286
+ @Event = SwitchInfo.new
17287
+ @Event.deserialize(params['Event'])
17288
+ end
17289
+ unless params['Log'].nil?
17290
+ @Log = SwitchInfo.new
17291
+ @Log.deserialize(params['Log'])
17292
+ end
17293
+ unless params['MasterLog'].nil?
17294
+ @MasterLog = SwitchInfo.new
17295
+ @MasterLog.deserialize(params['MasterLog'])
17296
+ end
17297
+ end
17298
+ end
17299
+
17300
+ # 日志开关详细信息
17301
+ class SwitchInfo < TencentCloud::Common::AbstractModel
17302
+ # @param Enable: 开启标识符 true代表开启
17303
+ # 注意:此字段可能返回 null,表示取不到有效值。
17304
+ # @type Enable: Boolean
17305
+ # @param LogsetId: CLS日志集ID
17306
+ # 注意:此字段可能返回 null,表示取不到有效值。
17307
+ # @type LogsetId: String
17308
+ # @param TopicId: CLS日志主题ID
17309
+ # 注意:此字段可能返回 null,表示取不到有效值。
17310
+ # @type TopicId: String
17311
+ # @param Version: 当前log-agent版本
17312
+ # 注意:此字段可能返回 null,表示取不到有效值。
17313
+ # @type Version: String
17314
+ # @param UpgradeAble: 是否可升级
17315
+ # 注意:此字段可能返回 null,表示取不到有效值。
17316
+ # @type UpgradeAble: Boolean
17317
+ # @param TopicRegion: CLS日志主题所属region
17318
+ # 注意:此字段可能返回 null,表示取不到有效值。
17319
+ # @type TopicRegion: String
17320
+
17321
+ attr_accessor :Enable, :LogsetId, :TopicId, :Version, :UpgradeAble, :TopicRegion
17322
+
17323
+ def initialize(enable=nil, logsetid=nil, topicid=nil, version=nil, upgradeable=nil, topicregion=nil)
17324
+ @Enable = enable
17325
+ @LogsetId = logsetid
17326
+ @TopicId = topicid
17327
+ @Version = version
17328
+ @UpgradeAble = upgradeable
17329
+ @TopicRegion = topicregion
17330
+ end
17331
+
17332
+ def deserialize(params)
17333
+ @Enable = params['Enable']
17334
+ @LogsetId = params['LogsetId']
17335
+ @TopicId = params['TopicId']
17336
+ @Version = params['Version']
17337
+ @UpgradeAble = params['UpgradeAble']
17338
+ @TopicRegion = params['TopicRegion']
17339
+ end
17340
+ end
17341
+
17204
17342
  # SyncPrometheusTemp请求参数结构体
17205
17343
  class SyncPrometheusTempRequest < TencentCloud::Common::AbstractModel
17206
17344
  # @param TemplateId: 实例id
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.715
4
+ version: 3.0.716
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-11-28 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common