tencentcloud-sdk-tke 1.0.212 → 1.0.213
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 +48 -0
- data/lib/v20180525/models.rb +137 -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: 68ca67471af10e068d09f4968a042bf12f3c63fc
|
4
|
+
data.tar.gz: 4a143a6fe942adad5b51fb56c69fa99b04efc651
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c06b443f0b5e2943ee7fcbd737b5fb4bd432a2930f5d6aad936830072578744992cd899a92da447f7f5ab8123a56f25eebd699f0e373de77d4a08d99a13f764
|
7
|
+
data.tar.gz: 5d97d7d5738ed21fb0ad6977774bdff98f82d1fc8414be8a83e308dc4177cfafdc958c310f2f9af077c36bb8794857654c6ce5c4f430b17d73285fae85da7803
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.213
|
data/lib/v20180525/client.rb
CHANGED
@@ -1853,6 +1853,54 @@ module TencentCloud
|
|
1853
1853
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
1854
|
end
|
1855
1855
|
|
1856
|
+
# 操作TKE集群的addon
|
1857
|
+
|
1858
|
+
# @param request: Request instance for ForwardApplicationRequestV3.
|
1859
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::ForwardApplicationRequestV3Request`
|
1860
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::ForwardApplicationRequestV3Response`
|
1861
|
+
def ForwardApplicationRequestV3(request)
|
1862
|
+
body = send_request('ForwardApplicationRequestV3', request.serialize)
|
1863
|
+
response = JSON.parse(body)
|
1864
|
+
if response['Response'].key?('Error') == false
|
1865
|
+
model = ForwardApplicationRequestV3Response.new
|
1866
|
+
model.deserialize(response['Response'])
|
1867
|
+
model
|
1868
|
+
else
|
1869
|
+
code = response['Response']['Error']['Code']
|
1870
|
+
message = response['Response']['Error']['Message']
|
1871
|
+
reqid = response['Response']['RequestId']
|
1872
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1873
|
+
end
|
1874
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1875
|
+
raise e
|
1876
|
+
rescue StandardError => e
|
1877
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
# 获取TKE支持的App列表
|
1881
|
+
|
1882
|
+
# @param request: Request instance for GetTkeAppChartList.
|
1883
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::GetTkeAppChartListRequest`
|
1884
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::GetTkeAppChartListResponse`
|
1885
|
+
def GetTkeAppChartList(request)
|
1886
|
+
body = send_request('GetTkeAppChartList', request.serialize)
|
1887
|
+
response = JSON.parse(body)
|
1888
|
+
if response['Response'].key?('Error') == false
|
1889
|
+
model = GetTkeAppChartListResponse.new
|
1890
|
+
model.deserialize(response['Response'])
|
1891
|
+
model
|
1892
|
+
else
|
1893
|
+
code = response['Response']['Error']['Code']
|
1894
|
+
message = response['Response']['Error']['Message']
|
1895
|
+
reqid = response['Response']['RequestId']
|
1896
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1897
|
+
end
|
1898
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1899
|
+
raise e
|
1900
|
+
rescue StandardError => e
|
1901
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1902
|
+
end
|
1903
|
+
|
1856
1904
|
# 获得节点升级当前的进度
|
1857
1905
|
|
1858
1906
|
# @param request: Request instance for GetUpgradeInstanceProgress.
|
data/lib/v20180525/models.rb
CHANGED
@@ -278,6 +278,31 @@ module TencentCloud
|
|
278
278
|
end
|
279
279
|
end
|
280
280
|
|
281
|
+
# app所支持的chart
|
282
|
+
class AppChart < TencentCloud::Common::AbstractModel
|
283
|
+
# @param Name: chart名称
|
284
|
+
# @type Name: String
|
285
|
+
# @param Label: chart的标签
|
286
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
287
|
+
# @type Label: String
|
288
|
+
# @param LatestVersion: chart的版本
|
289
|
+
# @type LatestVersion: String
|
290
|
+
|
291
|
+
attr_accessor :Name, :Label, :LatestVersion
|
292
|
+
|
293
|
+
def initialize(name=nil, label=nil, latestversion=nil)
|
294
|
+
@Name = name
|
295
|
+
@Label = label
|
296
|
+
@LatestVersion = latestversion
|
297
|
+
end
|
298
|
+
|
299
|
+
def deserialize(params)
|
300
|
+
@Name = params['Name']
|
301
|
+
@Label = params['Label']
|
302
|
+
@LatestVersion = params['LatestVersion']
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
281
306
|
# 集群关联的伸缩组最大实例数最小值实例数
|
282
307
|
class AutoScalingGroupRange < TencentCloud::Common::AbstractModel
|
283
308
|
# @param MinSize: 伸缩组最小实例数
|
@@ -5706,6 +5731,118 @@ module TencentCloud
|
|
5706
5731
|
end
|
5707
5732
|
end
|
5708
5733
|
|
5734
|
+
# ForwardApplicationRequestV3请求参数结构体
|
5735
|
+
class ForwardApplicationRequestV3Request < TencentCloud::Common::AbstractModel
|
5736
|
+
# @param Method: 请求集群addon的访问
|
5737
|
+
# @type Method: String
|
5738
|
+
# @param Path: 请求集群addon的路径
|
5739
|
+
# @type Path: String
|
5740
|
+
# @param Accept: 请求集群addon后允许接收的数据格式
|
5741
|
+
# @type Accept: String
|
5742
|
+
# @param ContentType: 请求集群addon的数据格式
|
5743
|
+
# @type ContentType: String
|
5744
|
+
# @param RequestBody: 请求集群addon的数据
|
5745
|
+
# @type RequestBody: String
|
5746
|
+
# @param ClusterName: 集群名称
|
5747
|
+
# @type ClusterName: String
|
5748
|
+
# @param EncodedBody: 是否编码请求内容
|
5749
|
+
# @type EncodedBody: String
|
5750
|
+
|
5751
|
+
attr_accessor :Method, :Path, :Accept, :ContentType, :RequestBody, :ClusterName, :EncodedBody
|
5752
|
+
|
5753
|
+
def initialize(method=nil, path=nil, accept=nil, contenttype=nil, requestbody=nil, clustername=nil, encodedbody=nil)
|
5754
|
+
@Method = method
|
5755
|
+
@Path = path
|
5756
|
+
@Accept = accept
|
5757
|
+
@ContentType = contenttype
|
5758
|
+
@RequestBody = requestbody
|
5759
|
+
@ClusterName = clustername
|
5760
|
+
@EncodedBody = encodedbody
|
5761
|
+
end
|
5762
|
+
|
5763
|
+
def deserialize(params)
|
5764
|
+
@Method = params['Method']
|
5765
|
+
@Path = params['Path']
|
5766
|
+
@Accept = params['Accept']
|
5767
|
+
@ContentType = params['ContentType']
|
5768
|
+
@RequestBody = params['RequestBody']
|
5769
|
+
@ClusterName = params['ClusterName']
|
5770
|
+
@EncodedBody = params['EncodedBody']
|
5771
|
+
end
|
5772
|
+
end
|
5773
|
+
|
5774
|
+
# ForwardApplicationRequestV3返回参数结构体
|
5775
|
+
class ForwardApplicationRequestV3Response < TencentCloud::Common::AbstractModel
|
5776
|
+
# @param ResponseBody: 请求集群addon后返回的数据
|
5777
|
+
# @type ResponseBody: String
|
5778
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5779
|
+
# @type RequestId: String
|
5780
|
+
|
5781
|
+
attr_accessor :ResponseBody, :RequestId
|
5782
|
+
|
5783
|
+
def initialize(responsebody=nil, requestid=nil)
|
5784
|
+
@ResponseBody = responsebody
|
5785
|
+
@RequestId = requestid
|
5786
|
+
end
|
5787
|
+
|
5788
|
+
def deserialize(params)
|
5789
|
+
@ResponseBody = params['ResponseBody']
|
5790
|
+
@RequestId = params['RequestId']
|
5791
|
+
end
|
5792
|
+
end
|
5793
|
+
|
5794
|
+
# GetTkeAppChartList请求参数结构体
|
5795
|
+
class GetTkeAppChartListRequest < TencentCloud::Common::AbstractModel
|
5796
|
+
# @param Kind: app类型,取值log,scheduler,network,storage,monitor,dns,image,other,invisible
|
5797
|
+
# @type Kind: String
|
5798
|
+
# @param Arch: app支持的操作系统,取值arm32、arm64、amd64
|
5799
|
+
# @type Arch: String
|
5800
|
+
# @param ClusterType: 集群类型,取值tke、eks
|
5801
|
+
# @type ClusterType: String
|
5802
|
+
|
5803
|
+
attr_accessor :Kind, :Arch, :ClusterType
|
5804
|
+
|
5805
|
+
def initialize(kind=nil, arch=nil, clustertype=nil)
|
5806
|
+
@Kind = kind
|
5807
|
+
@Arch = arch
|
5808
|
+
@ClusterType = clustertype
|
5809
|
+
end
|
5810
|
+
|
5811
|
+
def deserialize(params)
|
5812
|
+
@Kind = params['Kind']
|
5813
|
+
@Arch = params['Arch']
|
5814
|
+
@ClusterType = params['ClusterType']
|
5815
|
+
end
|
5816
|
+
end
|
5817
|
+
|
5818
|
+
# GetTkeAppChartList返回参数结构体
|
5819
|
+
class GetTkeAppChartListResponse < TencentCloud::Common::AbstractModel
|
5820
|
+
# @param AppCharts: 所支持的chart列表
|
5821
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5822
|
+
# @type AppCharts: Array
|
5823
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5824
|
+
# @type RequestId: String
|
5825
|
+
|
5826
|
+
attr_accessor :AppCharts, :RequestId
|
5827
|
+
|
5828
|
+
def initialize(appcharts=nil, requestid=nil)
|
5829
|
+
@AppCharts = appcharts
|
5830
|
+
@RequestId = requestid
|
5831
|
+
end
|
5832
|
+
|
5833
|
+
def deserialize(params)
|
5834
|
+
unless params['AppCharts'].nil?
|
5835
|
+
@AppCharts = []
|
5836
|
+
params['AppCharts'].each do |i|
|
5837
|
+
appchart_tmp = AppChart.new
|
5838
|
+
appchart_tmp.deserialize(i)
|
5839
|
+
@AppCharts << appchart_tmp
|
5840
|
+
end
|
5841
|
+
end
|
5842
|
+
@RequestId = params['RequestId']
|
5843
|
+
end
|
5844
|
+
end
|
5845
|
+
|
5709
5846
|
# GetUpgradeInstanceProgress请求参数结构体
|
5710
5847
|
class GetUpgradeInstanceProgressRequest < TencentCloud::Common::AbstractModel
|
5711
5848
|
# @param ClusterId: 集群ID
|
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.213
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|