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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 524e578501ed7c27939eba4b8c5aebd8599a7fd8
4
- data.tar.gz: c1c12326f2c74668b1dc9fb730f111582fc0bac1
3
+ metadata.gz: 335cc81f9bb480304a5b0e9529e9d13c3ab89a5b
4
+ data.tar.gz: d4fe891e35a66b3d6862a46a68a1188f6f8399e2
5
5
  SHA512:
6
- metadata.gz: ad35a90fe15f8942e4cdcd5a40c6e508146e43ef61a88224aeef8aa751f8c2a3c8cc51c74d3f2e909c1c5f0f53ce74dd93ee8ba0686d81266565d9445d37a871
7
- data.tar.gz: 091ece6c61b19bb2ff07e7f53b6b3fa9840a642fb30a1edad279671c7fb261a4a9da535e43ad60763acfa1b6fbf9b450cc07ed31c521f8582a78fadb33ee4740
6
+ metadata.gz: 6a801e2933e9ffaf1b179bf383761d25a6087ea0818609f9b81204e40f22b766c7f86dba8a045150ca490fdbdd63758c88182c7f971d6450725d0bc75654ece4
7
+ data.tar.gz: ba144995aac6c8cce09991ce144e7f38336a344f7e6be80f2f32e17a8ba2b7f4ef6531e184d70947668209d21fbe93e228ef7230c76192113a726042472a86d8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.270
1
+ 1.0.271
@@ -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.
@@ -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.270
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-04 00:00:00.000000000 Z
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