tencentcloud-sdk-tke 3.0.724 → 3.0.725

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: b8fdf70dbd820e87edcf4795b8f51d3f2bda8331
4
- data.tar.gz: 7c6a0c91cfeada44b969063c351e688582df95f4
3
+ metadata.gz: 255d0d62181a90da9fc4eabda6e6bd30c370e550
4
+ data.tar.gz: 3cffd068dbc0360adab0297c677aa76466419970
5
5
  SHA512:
6
- metadata.gz: f55544bcfc4138281bc6409862dd8bb695b59f0d56d97f429e0ac30f140340a136cab1479e92ad5dd93d63154f3bd00d2c647a1a4732984104ddde7c3b771b2b
7
- data.tar.gz: bc2a148053043a41bdc59e199369ac2c6edf127be400eea5383174ca9de2694d44f305ec7dd94383e742ae6f2d40c8f8838344bd289135ef5effb5476249c64c
6
+ metadata.gz: 6e0f08d0389f1d75a48dcdfcb718c917fb6e2c48f0dfce659deb87e43644fb4a8a2da9c643c7101f49123f5b71ad0f3d01e2f5982b705f82226e3029548264d5
7
+ data.tar.gz: bd059bd829d94938f4d492b061d534b0563167cf20ce60feeb634b668249248c9654ba14c076a7af1faec18ea946c2d408794846217ac9dde4b39b92c9bce360
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.724
1
+ 3.0.725
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 创建日志采集配置
249
+
250
+ # @param request: Request instance for CreateCLSLogConfig.
251
+ # @type request: :class:`Tencentcloud::tke::V20180525::CreateCLSLogConfigRequest`
252
+ # @rtype: :class:`Tencentcloud::tke::V20180525::CreateCLSLogConfigResponse`
253
+ def CreateCLSLogConfig(request)
254
+ body = send_request('CreateCLSLogConfig', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CreateCLSLogConfigResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 创建集群
249
273
 
250
274
  # @param request: Request instance for CreateCluster.
@@ -605,6 +629,30 @@ module TencentCloud
605
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
630
  end
607
631
 
632
+ # 为弹性集群创建日志采集配置
633
+
634
+ # @param request: Request instance for CreateEksLogConfig.
635
+ # @type request: :class:`Tencentcloud::tke::V20180525::CreateEksLogConfigRequest`
636
+ # @rtype: :class:`Tencentcloud::tke::V20180525::CreateEksLogConfigResponse`
637
+ def CreateEksLogConfig(request)
638
+ body = send_request('CreateEksLogConfig', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = CreateEksLogConfigResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
608
656
  # 创建镜像缓存的接口。创建过程中,请勿删除EKSCI实例和云盘,否则镜像缓存将创建失败。
609
657
 
610
658
  # @param request: Request instance for CreateImageCache.
@@ -1876,6 +1876,50 @@ module TencentCloud
1876
1876
  end
1877
1877
  end
1878
1878
 
1879
+ # CreateCLSLogConfig请求参数结构体
1880
+ class CreateCLSLogConfigRequest < TencentCloud::Common::AbstractModel
1881
+ # @param LogConfig: 日志采集配置的json表达
1882
+ # @type LogConfig: String
1883
+ # @param ClusterId: 集群ID
1884
+ # @type ClusterId: String
1885
+ # @param LogsetId: CLS日志集ID
1886
+ # @type LogsetId: String
1887
+ # @param ClusterType: 当前集群类型支持tke、eks
1888
+ # @type ClusterType: String
1889
+
1890
+ attr_accessor :LogConfig, :ClusterId, :LogsetId, :ClusterType
1891
+
1892
+ def initialize(logconfig=nil, clusterid=nil, logsetid=nil, clustertype=nil)
1893
+ @LogConfig = logconfig
1894
+ @ClusterId = clusterid
1895
+ @LogsetId = logsetid
1896
+ @ClusterType = clustertype
1897
+ end
1898
+
1899
+ def deserialize(params)
1900
+ @LogConfig = params['LogConfig']
1901
+ @ClusterId = params['ClusterId']
1902
+ @LogsetId = params['LogsetId']
1903
+ @ClusterType = params['ClusterType']
1904
+ end
1905
+ end
1906
+
1907
+ # CreateCLSLogConfig返回参数结构体
1908
+ class CreateCLSLogConfigResponse < TencentCloud::Common::AbstractModel
1909
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1910
+ # @type RequestId: String
1911
+
1912
+ attr_accessor :RequestId
1913
+
1914
+ def initialize(requestid=nil)
1915
+ @RequestId = requestid
1916
+ end
1917
+
1918
+ def deserialize(params)
1919
+ @RequestId = params['RequestId']
1920
+ end
1921
+ end
1922
+
1879
1923
  # CreateClusterEndpoint请求参数结构体
1880
1924
  class CreateClusterEndpointRequest < TencentCloud::Common::AbstractModel
1881
1925
  # @param ClusterId: 集群ID
@@ -3005,6 +3049,51 @@ module TencentCloud
3005
3049
  end
3006
3050
  end
3007
3051
 
3052
+ # CreateEksLogConfig请求参数结构体
3053
+ class CreateEksLogConfigRequest < TencentCloud::Common::AbstractModel
3054
+ # @param ClusterId: 集群ID
3055
+ # @type ClusterId: String
3056
+ # @param LogConfig: 日志采集配置的json表达
3057
+ # @type LogConfig: String
3058
+ # @param LogsetId: 日志集ID
3059
+ # @type LogsetId: String
3060
+
3061
+ attr_accessor :ClusterId, :LogConfig, :LogsetId
3062
+
3063
+ def initialize(clusterid=nil, logconfig=nil, logsetid=nil)
3064
+ @ClusterId = clusterid
3065
+ @LogConfig = logconfig
3066
+ @LogsetId = logsetid
3067
+ end
3068
+
3069
+ def deserialize(params)
3070
+ @ClusterId = params['ClusterId']
3071
+ @LogConfig = params['LogConfig']
3072
+ @LogsetId = params['LogsetId']
3073
+ end
3074
+ end
3075
+
3076
+ # CreateEksLogConfig返回参数结构体
3077
+ class CreateEksLogConfigResponse < TencentCloud::Common::AbstractModel
3078
+ # @param TopicId: 日志采集topicid
3079
+ # 注意:此字段可能返回 null,表示取不到有效值。
3080
+ # @type TopicId: String
3081
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3082
+ # @type RequestId: String
3083
+
3084
+ attr_accessor :TopicId, :RequestId
3085
+
3086
+ def initialize(topicid=nil, requestid=nil)
3087
+ @TopicId = topicid
3088
+ @RequestId = requestid
3089
+ end
3090
+
3091
+ def deserialize(params)
3092
+ @TopicId = params['TopicId']
3093
+ @RequestId = params['RequestId']
3094
+ end
3095
+ end
3096
+
3008
3097
  # CreateImageCache请求参数结构体
3009
3098
  class CreateImageCacheRequest < TencentCloud::Common::AbstractModel
3010
3099
  # @param Images: 用于制作镜像缓存的容器镜像列表
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.724
4
+ version: 3.0.725
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-10 00:00:00.000000000 Z
11
+ date: 2023-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common