tencentcloud-sdk-tke 1.0.270 → 1.0.271
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +24 -0
- data/lib/v20180525/models.rb +44 -0
- 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: 335cc81f9bb480304a5b0e9529e9d13c3ab89a5b
|
4
|
+
data.tar.gz: d4fe891e35a66b3d6862a46a68a1188f6f8399e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a801e2933e9ffaf1b179bf383761d25a6087ea0818609f9b81204e40f22b766c7f86dba8a045150ca490fdbdd63758c88182c7f971d6450725d0bc75654ece4
|
7
|
+
data.tar.gz: ba144995aac6c8cce09991ce144e7f38336a344f7e6be80f2f32e17a8ba2b7f4ef6531e184d70947668209d21fbe93e228ef7230c76192113a726042472a86d8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.271
|
data/lib/v20180525/client.rb
CHANGED
@@ -1733,6 +1733,30 @@ module TencentCloud
|
|
1733
1733
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
1734
|
end
|
1735
1735
|
|
1736
|
+
# 获取边缘脚本链接
|
1737
|
+
|
1738
|
+
# @param request: Request instance for DescribeTKEEdgeScript.
|
1739
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeScriptRequest`
|
1740
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeTKEEdgeScriptResponse`
|
1741
|
+
def DescribeTKEEdgeScript(request)
|
1742
|
+
body = send_request('DescribeTKEEdgeScript', request.serialize)
|
1743
|
+
response = JSON.parse(body)
|
1744
|
+
if response['Response'].key?('Error') == false
|
1745
|
+
model = DescribeTKEEdgeScriptResponse.new
|
1746
|
+
model.deserialize(response['Response'])
|
1747
|
+
model
|
1748
|
+
else
|
1749
|
+
code = response['Response']['Error']['Code']
|
1750
|
+
message = response['Response']['Error']['Message']
|
1751
|
+
reqid = response['Response']['RequestId']
|
1752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1753
|
+
end
|
1754
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1755
|
+
raise e
|
1756
|
+
rescue StandardError => e
|
1757
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1758
|
+
end
|
1759
|
+
|
1736
1760
|
# 获取集群版本信息
|
1737
1761
|
|
1738
1762
|
# @param request: Request instance for DescribeVersions.
|
data/lib/v20180525/models.rb
CHANGED
@@ -5001,6 +5001,50 @@ module TencentCloud
|
|
5001
5001
|
end
|
5002
5002
|
end
|
5003
5003
|
|
5004
|
+
# DescribeTKEEdgeScript请求参数结构体
|
5005
|
+
class DescribeTKEEdgeScriptRequest < TencentCloud::Common::AbstractModel
|
5006
|
+
# @param ClusterId: 集群id
|
5007
|
+
# @type ClusterId: String
|
5008
|
+
# @param Interface: 网卡名
|
5009
|
+
# @type Interface: String
|
5010
|
+
# @param NodeName: 节点名字
|
5011
|
+
# @type NodeName: String
|
5012
|
+
# @param Config: json格式的节点配置
|
5013
|
+
# @type Config: String
|
5014
|
+
|
5015
|
+
attr_accessor :ClusterId, :Interface, :NodeName, :Config
|
5016
|
+
|
5017
|
+
def initialize(clusterid=nil, interface=nil, nodename=nil, config=nil)
|
5018
|
+
@ClusterId = clusterid
|
5019
|
+
@Interface = interface
|
5020
|
+
@NodeName = nodename
|
5021
|
+
@Config = config
|
5022
|
+
end
|
5023
|
+
|
5024
|
+
def deserialize(params)
|
5025
|
+
@ClusterId = params['ClusterId']
|
5026
|
+
@Interface = params['Interface']
|
5027
|
+
@NodeName = params['NodeName']
|
5028
|
+
@Config = params['Config']
|
5029
|
+
end
|
5030
|
+
end
|
5031
|
+
|
5032
|
+
# DescribeTKEEdgeScript返回参数结构体
|
5033
|
+
class DescribeTKEEdgeScriptResponse < TencentCloud::Common::AbstractModel
|
5034
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5035
|
+
# @type RequestId: String
|
5036
|
+
|
5037
|
+
attr_accessor :RequestId
|
5038
|
+
|
5039
|
+
def initialize(requestid=nil)
|
5040
|
+
@RequestId = requestid
|
5041
|
+
end
|
5042
|
+
|
5043
|
+
def deserialize(params)
|
5044
|
+
@RequestId = params['RequestId']
|
5045
|
+
end
|
5046
|
+
end
|
5047
|
+
|
5004
5048
|
# DescribeVersions请求参数结构体
|
5005
5049
|
class DescribeVersionsRequest < TencentCloud::Common::AbstractModel
|
5006
5050
|
|
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.271
|
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-03-
|
11
|
+
date: 2022-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|