tencentcloud-sdk-tke 1.0.341 → 1.0.342

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: 6663fbbf0daeda6d858dc36bc0bd6f70263005fa
4
- data.tar.gz: 5928925924d5188d68e878c4b3feebdeab126a17
3
+ metadata.gz: d715b241c16e6ec565bb2b44f12b5fc0c234ac50
4
+ data.tar.gz: f651109b1159dce17c12bc84f672c47cac5a2dc3
5
5
  SHA512:
6
- metadata.gz: 35af0b39fadc02ab3e0571ad5bb15424b2ba5e52dc5db8d0f7f8ee316d5a61861c89f2db496a11099d46cc77acb2d4213f06138cd94c2e3528949cd71ad58447
7
- data.tar.gz: 12114366a689fe10e1b7739ae9daf729d3511eca320f98768aee8e09bb7ad94fdf0e67171d814ec99ecee951e90b4d2134f3af45b9af09487d617f4a2317dfef
6
+ metadata.gz: 4e27bbeeae679f592116236d33056a8f5bbe93af8494a2b81f085956f4ae031807f3e43492413c50bb222861138df5e802f1a035088bd6b967352902b9b44e0a
7
+ data.tar.gz: 2a7f9f86eaf736ed367e439b767606fafbb444c78b5e4a4697572156dd6f8b81357368e72791b529913a516cff48b3145e33251a49bb16810affc72536dfc2b4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.341
1
+ 1.0.342
@@ -2861,6 +2861,30 @@ module TencentCloud
2861
2861
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2862
2862
  end
2863
2863
 
2864
+ # 操作TKEEdge集群的addon
2865
+
2866
+ # @param request: Request instance for ForwardTKEEdgeApplicationRequestV3.
2867
+ # @type request: :class:`Tencentcloud::tke::V20180525::ForwardTKEEdgeApplicationRequestV3Request`
2868
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ForwardTKEEdgeApplicationRequestV3Response`
2869
+ def ForwardTKEEdgeApplicationRequestV3(request)
2870
+ body = send_request('ForwardTKEEdgeApplicationRequestV3', request.serialize)
2871
+ response = JSON.parse(body)
2872
+ if response['Response'].key?('Error') == false
2873
+ model = ForwardTKEEdgeApplicationRequestV3Response.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
  # 获取集群规模价格
2865
2889
 
2866
2890
  # @param request: Request instance for GetClusterLevelPrice.
@@ -8501,6 +8501,66 @@ module TencentCloud
8501
8501
  end
8502
8502
  end
8503
8503
 
8504
+ # ForwardTKEEdgeApplicationRequestV3请求参数结构体
8505
+ class ForwardTKEEdgeApplicationRequestV3Request < TencentCloud::Common::AbstractModel
8506
+ # @param Method: 请求集群addon的访问
8507
+ # @type Method: String
8508
+ # @param Path: 请求集群addon的路径
8509
+ # @type Path: String
8510
+ # @param Accept: 请求集群addon后允许接收的数据格式
8511
+ # @type Accept: String
8512
+ # @param ContentType: 请求集群addon的数据格式
8513
+ # @type ContentType: String
8514
+ # @param RequestBody: 请求集群addon的数据
8515
+ # @type RequestBody: String
8516
+ # @param ClusterName: 集群名称,例如cls-1234abcd
8517
+ # @type ClusterName: String
8518
+ # @param EncodedBody: 是否编码请求内容
8519
+ # @type EncodedBody: String
8520
+
8521
+ attr_accessor :Method, :Path, :Accept, :ContentType, :RequestBody, :ClusterName, :EncodedBody
8522
+
8523
+ def initialize(method=nil, path=nil, accept=nil, contenttype=nil, requestbody=nil, clustername=nil, encodedbody=nil)
8524
+ @Method = method
8525
+ @Path = path
8526
+ @Accept = accept
8527
+ @ContentType = contenttype
8528
+ @RequestBody = requestbody
8529
+ @ClusterName = clustername
8530
+ @EncodedBody = encodedbody
8531
+ end
8532
+
8533
+ def deserialize(params)
8534
+ @Method = params['Method']
8535
+ @Path = params['Path']
8536
+ @Accept = params['Accept']
8537
+ @ContentType = params['ContentType']
8538
+ @RequestBody = params['RequestBody']
8539
+ @ClusterName = params['ClusterName']
8540
+ @EncodedBody = params['EncodedBody']
8541
+ end
8542
+ end
8543
+
8544
+ # ForwardTKEEdgeApplicationRequestV3返回参数结构体
8545
+ class ForwardTKEEdgeApplicationRequestV3Response < TencentCloud::Common::AbstractModel
8546
+ # @param ResponseBody: 请求集群addon后返回的数据
8547
+ # @type ResponseBody: String
8548
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8549
+ # @type RequestId: String
8550
+
8551
+ attr_accessor :ResponseBody, :RequestId
8552
+
8553
+ def initialize(responsebody=nil, requestid=nil)
8554
+ @ResponseBody = responsebody
8555
+ @RequestId = requestid
8556
+ end
8557
+
8558
+ def deserialize(params)
8559
+ @ResponseBody = params['ResponseBody']
8560
+ @RequestId = params['RequestId']
8561
+ end
8562
+ end
8563
+
8504
8564
  # GetClusterLevelPrice请求参数结构体
8505
8565
  class GetClusterLevelPriceRequest < TencentCloud::Common::AbstractModel
8506
8566
  # @param ClusterLevel: 集群规格,托管集群询价
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: 1.0.341
4
+ version: 1.0.342
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-23 00:00:00.000000000 Z
11
+ date: 2022-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common