tencentcloud-sdk-tke 1.0.339 → 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: 3faca85276dba15a91807fb2ae3031d20f700fba
4
- data.tar.gz: 02331986725f026eb94cd16fc233650ddf0b521d
3
+ metadata.gz: d715b241c16e6ec565bb2b44f12b5fc0c234ac50
4
+ data.tar.gz: f651109b1159dce17c12bc84f672c47cac5a2dc3
5
5
  SHA512:
6
- metadata.gz: d207e51245622c3e5a05e1152e5964c6e8f9d76efc3756f8c64028da1d2c0f1839ea844a3e708a0db3cf0565ba1222b9fe2fd6a28167e5078bf8ce08689b3e7e
7
- data.tar.gz: cba1ea97178e453a5534a079570cd29976059007d723ac9f7765162010cc0dd77d981c5a77bac868a257d40f928fde4aff502bfcf830476af9bc7b0a61077009
6
+ metadata.gz: 4e27bbeeae679f592116236d33056a8f5bbe93af8494a2b81f085956f4ae031807f3e43492413c50bb222861138df5e802f1a035088bd6b967352902b9b44e0a
7
+ data.tar.gz: 2a7f9f86eaf736ed367e439b767606fafbb444c78b5e4a4697572156dd6f8b81357368e72791b529913a516cff48b3145e33251a49bb16810affc72536dfc2b4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.339
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.
@@ -902,7 +902,7 @@ module TencentCloud
902
902
 
903
903
  # 描述集群的基本配置信息
904
904
  class ClusterBasicSettings < TencentCloud::Common::AbstractModel
905
- # @param ClusterOs: 集群系统,支持的os:https://cloud.tencent.com/document/product/457/68289
905
+ # @param ClusterOs: 集群操作系统,支持设置公共镜像(字段传相应镜像ID)和自定义镜像(字段传相应镜像Name),详情参考:https://cloud.tencent.com/document/product/457/68289
906
906
  # @type ClusterOs: String
907
907
  # @param ClusterVersion: 集群版本,默认值为1.10.5
908
908
  # @type ClusterVersion: String
@@ -4858,7 +4858,7 @@ module TencentCloud
4858
4858
  class DescribeEKSClusterCredentialResponse < TencentCloud::Common::AbstractModel
4859
4859
  # @param Addresses: 集群的接入地址信息
4860
4860
  # @type Addresses: Array
4861
- # @param Credential: 集群的认证信息
4861
+ # @param Credential: 集群的认证信息(token只有请求是主账号才返回,子账户请使用返回的kubeconfig)
4862
4862
  # @type Credential: :class:`Tencentcloud::Tke.v20180525.models.ClusterCredential`
4863
4863
  # @param PublicLB: 集群的公网访问信息
4864
4864
  # @type PublicLB: :class:`Tencentcloud::Tke.v20180525.models.ClusterPublicLB`
@@ -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.339
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-21 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