tencentcloud-sdk-tke 1.0.340 → 1.0.343
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +24 -0
- data/lib/v20180525/models.rb +61 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f68c0d0ef161a3834968eb9e5dffb57d5de9f1b7
|
4
|
+
data.tar.gz: 9e0bbb4d31b2fd181165d9bf728cafcd5466af31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4825f25fec79e2ac9b367f82c81a8fb8c459212c8bfd31025eada11e81ddfa975d07bd319daddc94f73f0cc38094d13df5383bc21457c4435ee50c6b6ee5e9a
|
7
|
+
data.tar.gz: 0b5fc6664e9a2dbe22d96f0a696bae6708c502e0dbe13109972ea84658df64d22ad870b15edc2da486a4c29cbd75d0c3f917ed124d171c9ff1e65ac99bef270f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.343
|
data/lib/v20180525/client.rb
CHANGED
@@ -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.
|
data/lib/v20180525/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 1.0.343
|
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-
|
11
|
+
date: 2022-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|