tencentcloud-sdk-tke 3.0.467 → 3.0.468
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 +192 -0
- data/lib/v20180525/models.rb +735 -12
- 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: 0edbbaa5e4b19be5a1fdf7347a7e6a0c0a562e72
|
4
|
+
data.tar.gz: ffb3367e8a244309e4880abcb2a6bd37d57b858c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a43532a68cfbf9e382f4f363a0d4128305486e8d9ee2053542fcd9243e4f7cd53055dbbd642893cfa9e4d8ad75b608fb7bccae26bdb8410419728cd42855e265
|
7
|
+
data.tar.gz: c897f4109e402a62dcda1774d3e73739d6c63dd05b6252329f3a190d04807e5ced9a86fb0a62ac543a0f808ba7aa046494b9f638c81ca180f59fe5506226d9ba
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.468
|
data/lib/v20180525/client.rb
CHANGED
@@ -149,6 +149,30 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
151
|
|
152
|
+
# 在应用市场中取消安装失败的应用
|
153
|
+
|
154
|
+
# @param request: Request instance for CancelClusterRelease.
|
155
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::CancelClusterReleaseRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::CancelClusterReleaseResponse`
|
157
|
+
def CancelClusterRelease(request)
|
158
|
+
body = send_request('CancelClusterRelease', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = CancelClusterReleaseResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
152
176
|
# 检查边缘计算集群的CIDR是否冲突
|
153
177
|
|
154
178
|
# @param request: Request instance for CheckEdgeClusterCIDR.
|
@@ -1757,6 +1781,102 @@ module TencentCloud
|
|
1757
1781
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1758
1782
|
end
|
1759
1783
|
|
1784
|
+
# 在应用市场中查询正在安装中的应用列表
|
1785
|
+
|
1786
|
+
# @param request: Request instance for DescribeClusterPendingReleases.
|
1787
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterPendingReleasesRequest`
|
1788
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterPendingReleasesResponse`
|
1789
|
+
def DescribeClusterPendingReleases(request)
|
1790
|
+
body = send_request('DescribeClusterPendingReleases', request.serialize)
|
1791
|
+
response = JSON.parse(body)
|
1792
|
+
if response['Response'].key?('Error') == false
|
1793
|
+
model = DescribeClusterPendingReleasesResponse.new
|
1794
|
+
model.deserialize(response['Response'])
|
1795
|
+
model
|
1796
|
+
else
|
1797
|
+
code = response['Response']['Error']['Code']
|
1798
|
+
message = response['Response']['Error']['Message']
|
1799
|
+
reqid = response['Response']['RequestId']
|
1800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1801
|
+
end
|
1802
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1803
|
+
raise e
|
1804
|
+
rescue StandardError => e
|
1805
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# 查询通过应用市场安装的某个应用详情
|
1809
|
+
|
1810
|
+
# @param request: Request instance for DescribeClusterReleaseDetails.
|
1811
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterReleaseDetailsRequest`
|
1812
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterReleaseDetailsResponse`
|
1813
|
+
def DescribeClusterReleaseDetails(request)
|
1814
|
+
body = send_request('DescribeClusterReleaseDetails', request.serialize)
|
1815
|
+
response = JSON.parse(body)
|
1816
|
+
if response['Response'].key?('Error') == false
|
1817
|
+
model = DescribeClusterReleaseDetailsResponse.new
|
1818
|
+
model.deserialize(response['Response'])
|
1819
|
+
model
|
1820
|
+
else
|
1821
|
+
code = response['Response']['Error']['Code']
|
1822
|
+
message = response['Response']['Error']['Message']
|
1823
|
+
reqid = response['Response']['RequestId']
|
1824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1825
|
+
end
|
1826
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1827
|
+
raise e
|
1828
|
+
rescue StandardError => e
|
1829
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
# 查询集群在应用市场中某个已安装应用的版本历史
|
1833
|
+
|
1834
|
+
# @param request: Request instance for DescribeClusterReleaseHistory.
|
1835
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterReleaseHistoryRequest`
|
1836
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterReleaseHistoryResponse`
|
1837
|
+
def DescribeClusterReleaseHistory(request)
|
1838
|
+
body = send_request('DescribeClusterReleaseHistory', request.serialize)
|
1839
|
+
response = JSON.parse(body)
|
1840
|
+
if response['Response'].key?('Error') == false
|
1841
|
+
model = DescribeClusterReleaseHistoryResponse.new
|
1842
|
+
model.deserialize(response['Response'])
|
1843
|
+
model
|
1844
|
+
else
|
1845
|
+
code = response['Response']['Error']['Code']
|
1846
|
+
message = response['Response']['Error']['Message']
|
1847
|
+
reqid = response['Response']['RequestId']
|
1848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1849
|
+
end
|
1850
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1851
|
+
raise e
|
1852
|
+
rescue StandardError => e
|
1853
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
|
+
end
|
1855
|
+
|
1856
|
+
# 查询集群在应用市场中已安装应用列表
|
1857
|
+
|
1858
|
+
# @param request: Request instance for DescribeClusterReleases.
|
1859
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterReleasesRequest`
|
1860
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterReleasesResponse`
|
1861
|
+
def DescribeClusterReleases(request)
|
1862
|
+
body = send_request('DescribeClusterReleases', request.serialize)
|
1863
|
+
response = JSON.parse(body)
|
1864
|
+
if response['Response'].key?('Error') == false
|
1865
|
+
model = DescribeClusterReleasesResponse.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
|
+
|
1760
1880
|
# 查询集群路由表
|
1761
1881
|
|
1762
1882
|
# @param request: Request instance for DescribeClusterRouteTables.
|
@@ -3821,6 +3941,30 @@ module TencentCloud
|
|
3821
3941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3822
3942
|
end
|
3823
3943
|
|
3944
|
+
# 在应用市场中集群回滚应用至某个历史版本
|
3945
|
+
|
3946
|
+
# @param request: Request instance for RollbackClusterRelease.
|
3947
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::RollbackClusterReleaseRequest`
|
3948
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::RollbackClusterReleaseResponse`
|
3949
|
+
def RollbackClusterRelease(request)
|
3950
|
+
body = send_request('RollbackClusterRelease', request.serialize)
|
3951
|
+
response = JSON.parse(body)
|
3952
|
+
if response['Response'].key?('Error') == false
|
3953
|
+
model = RollbackClusterReleaseResponse.new
|
3954
|
+
model.deserialize(response['Response'])
|
3955
|
+
model
|
3956
|
+
else
|
3957
|
+
code = response['Response']['Error']['Code']
|
3958
|
+
message = response['Response']['Error']['Message']
|
3959
|
+
reqid = response['Response']['RequestId']
|
3960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3961
|
+
end
|
3962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3963
|
+
raise e
|
3964
|
+
rescue StandardError => e
|
3965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3966
|
+
end
|
3967
|
+
|
3824
3968
|
# 初始化TMP实例,开启集成中心时调用
|
3825
3969
|
|
3826
3970
|
# @param request: Request instance for RunPrometheusInstance.
|
@@ -3965,6 +4109,30 @@ module TencentCloud
|
|
3965
4109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3966
4110
|
end
|
3967
4111
|
|
4112
|
+
# 在应用市场中集群删除某个应用
|
4113
|
+
|
4114
|
+
# @param request: Request instance for UninstallClusterRelease.
|
4115
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::UninstallClusterReleaseRequest`
|
4116
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::UninstallClusterReleaseResponse`
|
4117
|
+
def UninstallClusterRelease(request)
|
4118
|
+
body = send_request('UninstallClusterRelease', request.serialize)
|
4119
|
+
response = JSON.parse(body)
|
4120
|
+
if response['Response'].key?('Error') == false
|
4121
|
+
model = UninstallClusterReleaseResponse.new
|
4122
|
+
model.deserialize(response['Response'])
|
4123
|
+
model
|
4124
|
+
else
|
4125
|
+
code = response['Response']['Error']['Code']
|
4126
|
+
message = response['Response']['Error']['Message']
|
4127
|
+
reqid = response['Response']['RequestId']
|
4128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4129
|
+
end
|
4130
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4131
|
+
raise e
|
4132
|
+
rescue StandardError => e
|
4133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4134
|
+
end
|
4135
|
+
|
3968
4136
|
# 从tke@edge集群边缘节点上卸载日志采集组件
|
3969
4137
|
|
3970
4138
|
# @param request: Request instance for UninstallEdgeLogAgent.
|
@@ -4181,6 +4349,30 @@ module TencentCloud
|
|
4181
4349
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4182
4350
|
end
|
4183
4351
|
|
4352
|
+
# 升级集群中已安装的应用
|
4353
|
+
|
4354
|
+
# @param request: Request instance for UpgradeClusterRelease.
|
4355
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::UpgradeClusterReleaseRequest`
|
4356
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::UpgradeClusterReleaseResponse`
|
4357
|
+
def UpgradeClusterRelease(request)
|
4358
|
+
body = send_request('UpgradeClusterRelease', request.serialize)
|
4359
|
+
response = JSON.parse(body)
|
4360
|
+
if response['Response'].key?('Error') == false
|
4361
|
+
model = UpgradeClusterReleaseResponse.new
|
4362
|
+
model.deserialize(response['Response'])
|
4363
|
+
model
|
4364
|
+
else
|
4365
|
+
code = response['Response']['Error']['Code']
|
4366
|
+
message = response['Response']['Error']['Message']
|
4367
|
+
reqid = response['Response']['RequestId']
|
4368
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4369
|
+
end
|
4370
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4371
|
+
raise e
|
4372
|
+
rescue StandardError => e
|
4373
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4374
|
+
end
|
4375
|
+
|
4184
4376
|
|
4185
4377
|
end
|
4186
4378
|
end
|
data/lib/v20180525/models.rb
CHANGED
@@ -399,6 +399,54 @@ module TencentCloud
|
|
399
399
|
end
|
400
400
|
end
|
401
401
|
|
402
|
+
# CancelClusterRelease请求参数结构体
|
403
|
+
class CancelClusterReleaseRequest < TencentCloud::Common::AbstractModel
|
404
|
+
# @param ID: 应用ID
|
405
|
+
# @type ID: String
|
406
|
+
# @param ClusterId: 集群ID
|
407
|
+
# @type ClusterId: String
|
408
|
+
# @param ClusterType: 集群类型
|
409
|
+
# @type ClusterType: String
|
410
|
+
|
411
|
+
attr_accessor :ID, :ClusterId, :ClusterType
|
412
|
+
|
413
|
+
def initialize(id=nil, clusterid=nil, clustertype=nil)
|
414
|
+
@ID = id
|
415
|
+
@ClusterId = clusterid
|
416
|
+
@ClusterType = clustertype
|
417
|
+
end
|
418
|
+
|
419
|
+
def deserialize(params)
|
420
|
+
@ID = params['ID']
|
421
|
+
@ClusterId = params['ClusterId']
|
422
|
+
@ClusterType = params['ClusterType']
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
# CancelClusterRelease返回参数结构体
|
427
|
+
class CancelClusterReleaseResponse < TencentCloud::Common::AbstractModel
|
428
|
+
# @param Release: 应用信息
|
429
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
430
|
+
# @type Release: :class:`Tencentcloud::Tke.v20180525.models.PendingRelease`
|
431
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
432
|
+
# @type RequestId: String
|
433
|
+
|
434
|
+
attr_accessor :Release, :RequestId
|
435
|
+
|
436
|
+
def initialize(release=nil, requestid=nil)
|
437
|
+
@Release = release
|
438
|
+
@RequestId = requestid
|
439
|
+
end
|
440
|
+
|
441
|
+
def deserialize(params)
|
442
|
+
unless params['Release'].nil?
|
443
|
+
@Release = PendingRelease.new
|
444
|
+
@Release.deserialize(params['Release'])
|
445
|
+
end
|
446
|
+
@RequestId = params['RequestId']
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
402
450
|
# cloudrun安全特性能力
|
403
451
|
class Capabilities < TencentCloud::Common::AbstractModel
|
404
452
|
# @param Add: 启用安全能力项列表
|
@@ -5118,6 +5166,269 @@ module TencentCloud
|
|
5118
5166
|
end
|
5119
5167
|
end
|
5120
5168
|
|
5169
|
+
# DescribeClusterPendingReleases请求参数结构体
|
5170
|
+
class DescribeClusterPendingReleasesRequest < TencentCloud::Common::AbstractModel
|
5171
|
+
# @param ClusterId: 集群ID
|
5172
|
+
# @type ClusterId: String
|
5173
|
+
# @param Limit: 返回数量限制,默认20,最大100
|
5174
|
+
# @type Limit: Integer
|
5175
|
+
# @param Offset: 偏移量,默认0
|
5176
|
+
# @type Offset: Integer
|
5177
|
+
# @param ClusterType: 集群类型
|
5178
|
+
# @type ClusterType: String
|
5179
|
+
|
5180
|
+
attr_accessor :ClusterId, :Limit, :Offset, :ClusterType
|
5181
|
+
|
5182
|
+
def initialize(clusterid=nil, limit=nil, offset=nil, clustertype=nil)
|
5183
|
+
@ClusterId = clusterid
|
5184
|
+
@Limit = limit
|
5185
|
+
@Offset = offset
|
5186
|
+
@ClusterType = clustertype
|
5187
|
+
end
|
5188
|
+
|
5189
|
+
def deserialize(params)
|
5190
|
+
@ClusterId = params['ClusterId']
|
5191
|
+
@Limit = params['Limit']
|
5192
|
+
@Offset = params['Offset']
|
5193
|
+
@ClusterType = params['ClusterType']
|
5194
|
+
end
|
5195
|
+
end
|
5196
|
+
|
5197
|
+
# DescribeClusterPendingReleases返回参数结构体
|
5198
|
+
class DescribeClusterPendingReleasesResponse < TencentCloud::Common::AbstractModel
|
5199
|
+
# @param ReleaseSet: 正在安装中应用列表
|
5200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5201
|
+
# @type ReleaseSet: Array
|
5202
|
+
# @param Limit: 每页返回数量限制
|
5203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5204
|
+
# @type Limit: Integer
|
5205
|
+
# @param Offset: 页偏移量
|
5206
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5207
|
+
# @type Offset: Integer
|
5208
|
+
# @param Total: 总数量
|
5209
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5210
|
+
# @type Total: Integer
|
5211
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5212
|
+
# @type RequestId: String
|
5213
|
+
|
5214
|
+
attr_accessor :ReleaseSet, :Limit, :Offset, :Total, :RequestId
|
5215
|
+
|
5216
|
+
def initialize(releaseset=nil, limit=nil, offset=nil, total=nil, requestid=nil)
|
5217
|
+
@ReleaseSet = releaseset
|
5218
|
+
@Limit = limit
|
5219
|
+
@Offset = offset
|
5220
|
+
@Total = total
|
5221
|
+
@RequestId = requestid
|
5222
|
+
end
|
5223
|
+
|
5224
|
+
def deserialize(params)
|
5225
|
+
unless params['ReleaseSet'].nil?
|
5226
|
+
@ReleaseSet = []
|
5227
|
+
params['ReleaseSet'].each do |i|
|
5228
|
+
pendingrelease_tmp = PendingRelease.new
|
5229
|
+
pendingrelease_tmp.deserialize(i)
|
5230
|
+
@ReleaseSet << pendingrelease_tmp
|
5231
|
+
end
|
5232
|
+
end
|
5233
|
+
@Limit = params['Limit']
|
5234
|
+
@Offset = params['Offset']
|
5235
|
+
@Total = params['Total']
|
5236
|
+
@RequestId = params['RequestId']
|
5237
|
+
end
|
5238
|
+
end
|
5239
|
+
|
5240
|
+
# DescribeClusterReleaseDetails请求参数结构体
|
5241
|
+
class DescribeClusterReleaseDetailsRequest < TencentCloud::Common::AbstractModel
|
5242
|
+
# @param ClusterId: 集群ID
|
5243
|
+
# @type ClusterId: String
|
5244
|
+
# @param Name: 应用名称
|
5245
|
+
# @type Name: String
|
5246
|
+
# @param Namespace: 应用所在命名空间
|
5247
|
+
# @type Namespace: String
|
5248
|
+
# @param ClusterType: 集群类型
|
5249
|
+
# @type ClusterType: String
|
5250
|
+
|
5251
|
+
attr_accessor :ClusterId, :Name, :Namespace, :ClusterType
|
5252
|
+
|
5253
|
+
def initialize(clusterid=nil, name=nil, namespace=nil, clustertype=nil)
|
5254
|
+
@ClusterId = clusterid
|
5255
|
+
@Name = name
|
5256
|
+
@Namespace = namespace
|
5257
|
+
@ClusterType = clustertype
|
5258
|
+
end
|
5259
|
+
|
5260
|
+
def deserialize(params)
|
5261
|
+
@ClusterId = params['ClusterId']
|
5262
|
+
@Name = params['Name']
|
5263
|
+
@Namespace = params['Namespace']
|
5264
|
+
@ClusterType = params['ClusterType']
|
5265
|
+
end
|
5266
|
+
end
|
5267
|
+
|
5268
|
+
# DescribeClusterReleaseDetails返回参数结构体
|
5269
|
+
class DescribeClusterReleaseDetailsResponse < TencentCloud::Common::AbstractModel
|
5270
|
+
# @param Release: 应用详情
|
5271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5272
|
+
# @type Release: :class:`Tencentcloud::Tke.v20180525.models.ReleaseDetails`
|
5273
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5274
|
+
# @type RequestId: String
|
5275
|
+
|
5276
|
+
attr_accessor :Release, :RequestId
|
5277
|
+
|
5278
|
+
def initialize(release=nil, requestid=nil)
|
5279
|
+
@Release = release
|
5280
|
+
@RequestId = requestid
|
5281
|
+
end
|
5282
|
+
|
5283
|
+
def deserialize(params)
|
5284
|
+
unless params['Release'].nil?
|
5285
|
+
@Release = ReleaseDetails.new
|
5286
|
+
@Release.deserialize(params['Release'])
|
5287
|
+
end
|
5288
|
+
@RequestId = params['RequestId']
|
5289
|
+
end
|
5290
|
+
end
|
5291
|
+
|
5292
|
+
# DescribeClusterReleaseHistory请求参数结构体
|
5293
|
+
class DescribeClusterReleaseHistoryRequest < TencentCloud::Common::AbstractModel
|
5294
|
+
# @param ClusterId: 集群ID
|
5295
|
+
# @type ClusterId: String
|
5296
|
+
# @param Name: 应用名称
|
5297
|
+
# @type Name: String
|
5298
|
+
# @param Namespace: 应用所在命名空间
|
5299
|
+
# @type Namespace: String
|
5300
|
+
# @param ClusterType: 集群类型
|
5301
|
+
# @type ClusterType: String
|
5302
|
+
|
5303
|
+
attr_accessor :ClusterId, :Name, :Namespace, :ClusterType
|
5304
|
+
|
5305
|
+
def initialize(clusterid=nil, name=nil, namespace=nil, clustertype=nil)
|
5306
|
+
@ClusterId = clusterid
|
5307
|
+
@Name = name
|
5308
|
+
@Namespace = namespace
|
5309
|
+
@ClusterType = clustertype
|
5310
|
+
end
|
5311
|
+
|
5312
|
+
def deserialize(params)
|
5313
|
+
@ClusterId = params['ClusterId']
|
5314
|
+
@Name = params['Name']
|
5315
|
+
@Namespace = params['Namespace']
|
5316
|
+
@ClusterType = params['ClusterType']
|
5317
|
+
end
|
5318
|
+
end
|
5319
|
+
|
5320
|
+
# DescribeClusterReleaseHistory返回参数结构体
|
5321
|
+
class DescribeClusterReleaseHistoryResponse < TencentCloud::Common::AbstractModel
|
5322
|
+
# @param ReleaseHistorySet: 已安装应用版本历史
|
5323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5324
|
+
# @type ReleaseHistorySet: Array
|
5325
|
+
# @param Total: 总数量
|
5326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5327
|
+
# @type Total: Integer
|
5328
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5329
|
+
# @type RequestId: String
|
5330
|
+
|
5331
|
+
attr_accessor :ReleaseHistorySet, :Total, :RequestId
|
5332
|
+
|
5333
|
+
def initialize(releasehistoryset=nil, total=nil, requestid=nil)
|
5334
|
+
@ReleaseHistorySet = releasehistoryset
|
5335
|
+
@Total = total
|
5336
|
+
@RequestId = requestid
|
5337
|
+
end
|
5338
|
+
|
5339
|
+
def deserialize(params)
|
5340
|
+
unless params['ReleaseHistorySet'].nil?
|
5341
|
+
@ReleaseHistorySet = []
|
5342
|
+
params['ReleaseHistorySet'].each do |i|
|
5343
|
+
releasehistory_tmp = ReleaseHistory.new
|
5344
|
+
releasehistory_tmp.deserialize(i)
|
5345
|
+
@ReleaseHistorySet << releasehistory_tmp
|
5346
|
+
end
|
5347
|
+
end
|
5348
|
+
@Total = params['Total']
|
5349
|
+
@RequestId = params['RequestId']
|
5350
|
+
end
|
5351
|
+
end
|
5352
|
+
|
5353
|
+
# DescribeClusterReleases请求参数结构体
|
5354
|
+
class DescribeClusterReleasesRequest < TencentCloud::Common::AbstractModel
|
5355
|
+
# @param ClusterId: 集群id
|
5356
|
+
# @type ClusterId: String
|
5357
|
+
# @param Limit: 每页数量限制
|
5358
|
+
# @type Limit: Integer
|
5359
|
+
# @param Offset: 页偏移量
|
5360
|
+
# @type Offset: Integer
|
5361
|
+
# @param Namespace: helm Release 安装的namespace
|
5362
|
+
# @type Namespace: String
|
5363
|
+
# @param ReleaseName: helm Release 的名字
|
5364
|
+
# @type ReleaseName: String
|
5365
|
+
# @param ChartName: helm Chart 的名字
|
5366
|
+
# @type ChartName: String
|
5367
|
+
|
5368
|
+
attr_accessor :ClusterId, :Limit, :Offset, :Namespace, :ReleaseName, :ChartName
|
5369
|
+
|
5370
|
+
def initialize(clusterid=nil, limit=nil, offset=nil, namespace=nil, releasename=nil, chartname=nil)
|
5371
|
+
@ClusterId = clusterid
|
5372
|
+
@Limit = limit
|
5373
|
+
@Offset = offset
|
5374
|
+
@Namespace = namespace
|
5375
|
+
@ReleaseName = releasename
|
5376
|
+
@ChartName = chartname
|
5377
|
+
end
|
5378
|
+
|
5379
|
+
def deserialize(params)
|
5380
|
+
@ClusterId = params['ClusterId']
|
5381
|
+
@Limit = params['Limit']
|
5382
|
+
@Offset = params['Offset']
|
5383
|
+
@Namespace = params['Namespace']
|
5384
|
+
@ReleaseName = params['ReleaseName']
|
5385
|
+
@ChartName = params['ChartName']
|
5386
|
+
end
|
5387
|
+
end
|
5388
|
+
|
5389
|
+
# DescribeClusterReleases返回参数结构体
|
5390
|
+
class DescribeClusterReleasesResponse < TencentCloud::Common::AbstractModel
|
5391
|
+
# @param Limit: 数量限制
|
5392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5393
|
+
# @type Limit: Integer
|
5394
|
+
# @param Offset: 偏移量
|
5395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5396
|
+
# @type Offset: Integer
|
5397
|
+
# @param ReleaseSet: 已安装应用列表
|
5398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5399
|
+
# @type ReleaseSet: Array
|
5400
|
+
# @param Total: 已安装应用总数量
|
5401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5402
|
+
# @type Total: Integer
|
5403
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5404
|
+
# @type RequestId: String
|
5405
|
+
|
5406
|
+
attr_accessor :Limit, :Offset, :ReleaseSet, :Total, :RequestId
|
5407
|
+
|
5408
|
+
def initialize(limit=nil, offset=nil, releaseset=nil, total=nil, requestid=nil)
|
5409
|
+
@Limit = limit
|
5410
|
+
@Offset = offset
|
5411
|
+
@ReleaseSet = releaseset
|
5412
|
+
@Total = total
|
5413
|
+
@RequestId = requestid
|
5414
|
+
end
|
5415
|
+
|
5416
|
+
def deserialize(params)
|
5417
|
+
@Limit = params['Limit']
|
5418
|
+
@Offset = params['Offset']
|
5419
|
+
unless params['ReleaseSet'].nil?
|
5420
|
+
@ReleaseSet = []
|
5421
|
+
params['ReleaseSet'].each do |i|
|
5422
|
+
release_tmp = Release.new
|
5423
|
+
release_tmp.deserialize(i)
|
5424
|
+
@ReleaseSet << release_tmp
|
5425
|
+
end
|
5426
|
+
end
|
5427
|
+
@Total = params['Total']
|
5428
|
+
@RequestId = params['RequestId']
|
5429
|
+
end
|
5430
|
+
end
|
5431
|
+
|
5121
5432
|
# DescribeClusterRouteTables请求参数结构体
|
5122
5433
|
class DescribeClusterRouteTablesRequest < TencentCloud::Common::AbstractModel
|
5123
5434
|
|
@@ -13212,18 +13523,208 @@ module TencentCloud
|
|
13212
13523
|
end
|
13213
13524
|
end
|
13214
13525
|
|
13215
|
-
#
|
13216
|
-
class
|
13217
|
-
# @param
|
13218
|
-
# @type
|
13219
|
-
# @param
|
13220
|
-
# @type
|
13526
|
+
# 应用市场部署的应用结构
|
13527
|
+
class Release < TencentCloud::Common::AbstractModel
|
13528
|
+
# @param Name: 应用名称
|
13529
|
+
# @type Name: String
|
13530
|
+
# @param Namespace: 应用命名空间
|
13531
|
+
# @type Namespace: String
|
13532
|
+
# @param Revision: 应用当前版本
|
13533
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13534
|
+
# @type Revision: String
|
13535
|
+
# @param Status: 应用状态
|
13536
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13537
|
+
# @type Status: String
|
13538
|
+
# @param ChartName: 制品名称
|
13539
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13540
|
+
# @type ChartName: String
|
13541
|
+
# @param ChartVersion: 制品版本
|
13542
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13543
|
+
# @type ChartVersion: String
|
13544
|
+
# @param AppVersion: 制品应用版本
|
13545
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13546
|
+
# @type AppVersion: String
|
13547
|
+
# @param UpdatedTime: 更新时间
|
13548
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13549
|
+
# @type UpdatedTime: String
|
13550
|
+
# @param Description: 应用描述
|
13551
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13552
|
+
# @type Description: String
|
13221
13553
|
|
13222
|
-
attr_accessor :
|
13554
|
+
attr_accessor :Name, :Namespace, :Revision, :Status, :ChartName, :ChartVersion, :AppVersion, :UpdatedTime, :Description
|
13223
13555
|
|
13224
|
-
def initialize(
|
13225
|
-
@
|
13226
|
-
@
|
13556
|
+
def initialize(name=nil, namespace=nil, revision=nil, status=nil, chartname=nil, chartversion=nil, appversion=nil, updatedtime=nil, description=nil)
|
13557
|
+
@Name = name
|
13558
|
+
@Namespace = namespace
|
13559
|
+
@Revision = revision
|
13560
|
+
@Status = status
|
13561
|
+
@ChartName = chartname
|
13562
|
+
@ChartVersion = chartversion
|
13563
|
+
@AppVersion = appversion
|
13564
|
+
@UpdatedTime = updatedtime
|
13565
|
+
@Description = description
|
13566
|
+
end
|
13567
|
+
|
13568
|
+
def deserialize(params)
|
13569
|
+
@Name = params['Name']
|
13570
|
+
@Namespace = params['Namespace']
|
13571
|
+
@Revision = params['Revision']
|
13572
|
+
@Status = params['Status']
|
13573
|
+
@ChartName = params['ChartName']
|
13574
|
+
@ChartVersion = params['ChartVersion']
|
13575
|
+
@AppVersion = params['AppVersion']
|
13576
|
+
@UpdatedTime = params['UpdatedTime']
|
13577
|
+
@Description = params['Description']
|
13578
|
+
end
|
13579
|
+
end
|
13580
|
+
|
13581
|
+
# 应用市场的安装应用详情
|
13582
|
+
class ReleaseDetails < TencentCloud::Common::AbstractModel
|
13583
|
+
# @param Name: 应用名称
|
13584
|
+
# @type Name: String
|
13585
|
+
# @param Namespace: 应用所在命名空间
|
13586
|
+
# @type Namespace: String
|
13587
|
+
# @param Version: 应用当前版本
|
13588
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13589
|
+
# @type Version: Integer
|
13590
|
+
# @param Status: 应用状态
|
13591
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13592
|
+
# @type Status: String
|
13593
|
+
# @param Description: 应用描述
|
13594
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13595
|
+
# @type Description: String
|
13596
|
+
# @param Notes: 应用提示
|
13597
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13598
|
+
# @type Notes: String
|
13599
|
+
# @param Config: 用户自定义参数
|
13600
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13601
|
+
# @type Config: String
|
13602
|
+
# @param Manifest: 应用资源详情
|
13603
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13604
|
+
# @type Manifest: String
|
13605
|
+
# @param ChartVersion: 应用制品版本
|
13606
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13607
|
+
# @type ChartVersion: String
|
13608
|
+
# @param ChartName: 应用制品名称
|
13609
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13610
|
+
# @type ChartName: String
|
13611
|
+
# @param ChartDescription: 应用制品描述
|
13612
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13613
|
+
# @type ChartDescription: String
|
13614
|
+
# @param AppVersion: 应用制品app版本
|
13615
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13616
|
+
# @type AppVersion: String
|
13617
|
+
# @param FirstDeployedTime: 应用首次部署时间
|
13618
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13619
|
+
# @type FirstDeployedTime: String
|
13620
|
+
# @param LastDeployedTime: 应用最近部署时间
|
13621
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13622
|
+
# @type LastDeployedTime: String
|
13623
|
+
# @param ComputedValues: 应用参数
|
13624
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13625
|
+
# @type ComputedValues: String
|
13626
|
+
|
13627
|
+
attr_accessor :Name, :Namespace, :Version, :Status, :Description, :Notes, :Config, :Manifest, :ChartVersion, :ChartName, :ChartDescription, :AppVersion, :FirstDeployedTime, :LastDeployedTime, :ComputedValues
|
13628
|
+
|
13629
|
+
def initialize(name=nil, namespace=nil, version=nil, status=nil, description=nil, notes=nil, config=nil, manifest=nil, chartversion=nil, chartname=nil, chartdescription=nil, appversion=nil, firstdeployedtime=nil, lastdeployedtime=nil, computedvalues=nil)
|
13630
|
+
@Name = name
|
13631
|
+
@Namespace = namespace
|
13632
|
+
@Version = version
|
13633
|
+
@Status = status
|
13634
|
+
@Description = description
|
13635
|
+
@Notes = notes
|
13636
|
+
@Config = config
|
13637
|
+
@Manifest = manifest
|
13638
|
+
@ChartVersion = chartversion
|
13639
|
+
@ChartName = chartname
|
13640
|
+
@ChartDescription = chartdescription
|
13641
|
+
@AppVersion = appversion
|
13642
|
+
@FirstDeployedTime = firstdeployedtime
|
13643
|
+
@LastDeployedTime = lastdeployedtime
|
13644
|
+
@ComputedValues = computedvalues
|
13645
|
+
end
|
13646
|
+
|
13647
|
+
def deserialize(params)
|
13648
|
+
@Name = params['Name']
|
13649
|
+
@Namespace = params['Namespace']
|
13650
|
+
@Version = params['Version']
|
13651
|
+
@Status = params['Status']
|
13652
|
+
@Description = params['Description']
|
13653
|
+
@Notes = params['Notes']
|
13654
|
+
@Config = params['Config']
|
13655
|
+
@Manifest = params['Manifest']
|
13656
|
+
@ChartVersion = params['ChartVersion']
|
13657
|
+
@ChartName = params['ChartName']
|
13658
|
+
@ChartDescription = params['ChartDescription']
|
13659
|
+
@AppVersion = params['AppVersion']
|
13660
|
+
@FirstDeployedTime = params['FirstDeployedTime']
|
13661
|
+
@LastDeployedTime = params['LastDeployedTime']
|
13662
|
+
@ComputedValues = params['ComputedValues']
|
13663
|
+
end
|
13664
|
+
end
|
13665
|
+
|
13666
|
+
# 应用市场中部署的应用版本历史
|
13667
|
+
class ReleaseHistory < TencentCloud::Common::AbstractModel
|
13668
|
+
# @param Name: 应用名称
|
13669
|
+
# @type Name: String
|
13670
|
+
# @param Namespace: 应用命名空间
|
13671
|
+
# @type Namespace: String
|
13672
|
+
# @param Revision: 应用版本
|
13673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13674
|
+
# @type Revision: Integer
|
13675
|
+
# @param Status: 应用状态
|
13676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13677
|
+
# @type Status: String
|
13678
|
+
# @param Chart: 应用制品名称
|
13679
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13680
|
+
# @type Chart: String
|
13681
|
+
# @param AppVersion: 应用制品版本
|
13682
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13683
|
+
# @type AppVersion: String
|
13684
|
+
# @param UpdatedTime: 应用更新时间
|
13685
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13686
|
+
# @type UpdatedTime: String
|
13687
|
+
# @param Description: 应用描述
|
13688
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13689
|
+
# @type Description: String
|
13690
|
+
|
13691
|
+
attr_accessor :Name, :Namespace, :Revision, :Status, :Chart, :AppVersion, :UpdatedTime, :Description
|
13692
|
+
|
13693
|
+
def initialize(name=nil, namespace=nil, revision=nil, status=nil, chart=nil, appversion=nil, updatedtime=nil, description=nil)
|
13694
|
+
@Name = name
|
13695
|
+
@Namespace = namespace
|
13696
|
+
@Revision = revision
|
13697
|
+
@Status = status
|
13698
|
+
@Chart = chart
|
13699
|
+
@AppVersion = appversion
|
13700
|
+
@UpdatedTime = updatedtime
|
13701
|
+
@Description = description
|
13702
|
+
end
|
13703
|
+
|
13704
|
+
def deserialize(params)
|
13705
|
+
@Name = params['Name']
|
13706
|
+
@Namespace = params['Namespace']
|
13707
|
+
@Revision = params['Revision']
|
13708
|
+
@Status = params['Status']
|
13709
|
+
@Chart = params['Chart']
|
13710
|
+
@AppVersion = params['AppVersion']
|
13711
|
+
@UpdatedTime = params['UpdatedTime']
|
13712
|
+
@Description = params['Description']
|
13713
|
+
end
|
13714
|
+
end
|
13715
|
+
|
13716
|
+
# 应用市场自定义参数
|
13717
|
+
class ReleaseValues < TencentCloud::Common::AbstractModel
|
13718
|
+
# @param RawOriginal: 自定义参数原始值
|
13719
|
+
# @type RawOriginal: String
|
13720
|
+
# @param ValuesType: 自定义参数值类型
|
13721
|
+
# @type ValuesType: String
|
13722
|
+
|
13723
|
+
attr_accessor :RawOriginal, :ValuesType
|
13724
|
+
|
13725
|
+
def initialize(raworiginal=nil, valuestype=nil)
|
13726
|
+
@RawOriginal = raworiginal
|
13727
|
+
@ValuesType = valuestype
|
13227
13728
|
end
|
13228
13729
|
|
13229
13730
|
def deserialize(params)
|
@@ -13375,6 +13876,62 @@ module TencentCloud
|
|
13375
13876
|
end
|
13376
13877
|
end
|
13377
13878
|
|
13879
|
+
# RollbackClusterRelease请求参数结构体
|
13880
|
+
class RollbackClusterReleaseRequest < TencentCloud::Common::AbstractModel
|
13881
|
+
# @param ClusterId: 集群ID
|
13882
|
+
# @type ClusterId: String
|
13883
|
+
# @param Name: 应用名称
|
13884
|
+
# @type Name: String
|
13885
|
+
# @param Namespace: 应用命名空间
|
13886
|
+
# @type Namespace: String
|
13887
|
+
# @param Revision: 回滚版本号
|
13888
|
+
# @type Revision: Integer
|
13889
|
+
# @param ClusterType: 集群类型
|
13890
|
+
# @type ClusterType: String
|
13891
|
+
|
13892
|
+
attr_accessor :ClusterId, :Name, :Namespace, :Revision, :ClusterType
|
13893
|
+
|
13894
|
+
def initialize(clusterid=nil, name=nil, namespace=nil, revision=nil, clustertype=nil)
|
13895
|
+
@ClusterId = clusterid
|
13896
|
+
@Name = name
|
13897
|
+
@Namespace = namespace
|
13898
|
+
@Revision = revision
|
13899
|
+
@ClusterType = clustertype
|
13900
|
+
end
|
13901
|
+
|
13902
|
+
def deserialize(params)
|
13903
|
+
@ClusterId = params['ClusterId']
|
13904
|
+
@Name = params['Name']
|
13905
|
+
@Namespace = params['Namespace']
|
13906
|
+
@Revision = params['Revision']
|
13907
|
+
@ClusterType = params['ClusterType']
|
13908
|
+
end
|
13909
|
+
end
|
13910
|
+
|
13911
|
+
# RollbackClusterRelease返回参数结构体
|
13912
|
+
class RollbackClusterReleaseResponse < TencentCloud::Common::AbstractModel
|
13913
|
+
# @param Release: 应用详情
|
13914
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13915
|
+
# @type Release: :class:`Tencentcloud::Tke.v20180525.models.PendingRelease`
|
13916
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13917
|
+
# @type RequestId: String
|
13918
|
+
|
13919
|
+
attr_accessor :Release, :RequestId
|
13920
|
+
|
13921
|
+
def initialize(release=nil, requestid=nil)
|
13922
|
+
@Release = release
|
13923
|
+
@RequestId = requestid
|
13924
|
+
end
|
13925
|
+
|
13926
|
+
def deserialize(params)
|
13927
|
+
unless params['Release'].nil?
|
13928
|
+
@Release = PendingRelease.new
|
13929
|
+
@Release.deserialize(params['Release'])
|
13930
|
+
end
|
13931
|
+
@RequestId = params['RequestId']
|
13932
|
+
end
|
13933
|
+
end
|
13934
|
+
|
13378
13935
|
# 集群路由对象
|
13379
13936
|
class RouteInfo < TencentCloud::Common::AbstractModel
|
13380
13937
|
# @param RouteTableName: 路由表名称。
|
@@ -14076,6 +14633,58 @@ module TencentCloud
|
|
14076
14633
|
end
|
14077
14634
|
end
|
14078
14635
|
|
14636
|
+
# UninstallClusterRelease请求参数结构体
|
14637
|
+
class UninstallClusterReleaseRequest < TencentCloud::Common::AbstractModel
|
14638
|
+
# @param ClusterId: 集群ID
|
14639
|
+
# @type ClusterId: String
|
14640
|
+
# @param Name: 应用名称
|
14641
|
+
# @type Name: String
|
14642
|
+
# @param Namespace: 应用命名空间
|
14643
|
+
# @type Namespace: String
|
14644
|
+
# @param ClusterType: 集群类型
|
14645
|
+
# @type ClusterType: String
|
14646
|
+
|
14647
|
+
attr_accessor :ClusterId, :Name, :Namespace, :ClusterType
|
14648
|
+
|
14649
|
+
def initialize(clusterid=nil, name=nil, namespace=nil, clustertype=nil)
|
14650
|
+
@ClusterId = clusterid
|
14651
|
+
@Name = name
|
14652
|
+
@Namespace = namespace
|
14653
|
+
@ClusterType = clustertype
|
14654
|
+
end
|
14655
|
+
|
14656
|
+
def deserialize(params)
|
14657
|
+
@ClusterId = params['ClusterId']
|
14658
|
+
@Name = params['Name']
|
14659
|
+
@Namespace = params['Namespace']
|
14660
|
+
@ClusterType = params['ClusterType']
|
14661
|
+
end
|
14662
|
+
end
|
14663
|
+
|
14664
|
+
# UninstallClusterRelease返回参数结构体
|
14665
|
+
class UninstallClusterReleaseResponse < TencentCloud::Common::AbstractModel
|
14666
|
+
# @param Release: 应用详情
|
14667
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14668
|
+
# @type Release: :class:`Tencentcloud::Tke.v20180525.models.PendingRelease`
|
14669
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
14670
|
+
# @type RequestId: String
|
14671
|
+
|
14672
|
+
attr_accessor :Release, :RequestId
|
14673
|
+
|
14674
|
+
def initialize(release=nil, requestid=nil)
|
14675
|
+
@Release = release
|
14676
|
+
@RequestId = requestid
|
14677
|
+
end
|
14678
|
+
|
14679
|
+
def deserialize(params)
|
14680
|
+
unless params['Release'].nil?
|
14681
|
+
@Release = PendingRelease.new
|
14682
|
+
@Release.deserialize(params['Release'])
|
14683
|
+
end
|
14684
|
+
@RequestId = params['RequestId']
|
14685
|
+
end
|
14686
|
+
end
|
14687
|
+
|
14079
14688
|
# UninstallEdgeLogAgent请求参数结构体
|
14080
14689
|
class UninstallEdgeLogAgentRequest < TencentCloud::Common::AbstractModel
|
14081
14690
|
# @param ClusterId: 集群ID
|
@@ -14415,17 +15024,44 @@ module TencentCloud
|
|
14415
15024
|
# @type ImageCacheId: String
|
14416
15025
|
# @param ImageCacheName: 镜像缓存名称
|
14417
15026
|
# @type ImageCacheName: String
|
15027
|
+
# @param ImageRegistryCredentials: 镜像仓库凭证数组
|
15028
|
+
# @type ImageRegistryCredentials: Array
|
15029
|
+
# @param Images: 用于制作镜像缓存的容器镜像列表
|
15030
|
+
# @type Images: Array
|
15031
|
+
# @param ImageCacheSize: 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。
|
15032
|
+
# @type ImageCacheSize: Integer
|
15033
|
+
# @param RetentionDays: 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
|
15034
|
+
# @type RetentionDays: Integer
|
15035
|
+
# @param SecurityGroupIds: 安全组Id
|
15036
|
+
# @type SecurityGroupIds: Array
|
14418
15037
|
|
14419
|
-
attr_accessor :ImageCacheId, :ImageCacheName
|
15038
|
+
attr_accessor :ImageCacheId, :ImageCacheName, :ImageRegistryCredentials, :Images, :ImageCacheSize, :RetentionDays, :SecurityGroupIds
|
14420
15039
|
|
14421
|
-
def initialize(imagecacheid=nil, imagecachename=nil)
|
15040
|
+
def initialize(imagecacheid=nil, imagecachename=nil, imageregistrycredentials=nil, images=nil, imagecachesize=nil, retentiondays=nil, securitygroupids=nil)
|
14422
15041
|
@ImageCacheId = imagecacheid
|
14423
15042
|
@ImageCacheName = imagecachename
|
15043
|
+
@ImageRegistryCredentials = imageregistrycredentials
|
15044
|
+
@Images = images
|
15045
|
+
@ImageCacheSize = imagecachesize
|
15046
|
+
@RetentionDays = retentiondays
|
15047
|
+
@SecurityGroupIds = securitygroupids
|
14424
15048
|
end
|
14425
15049
|
|
14426
15050
|
def deserialize(params)
|
14427
15051
|
@ImageCacheId = params['ImageCacheId']
|
14428
15052
|
@ImageCacheName = params['ImageCacheName']
|
15053
|
+
unless params['ImageRegistryCredentials'].nil?
|
15054
|
+
@ImageRegistryCredentials = []
|
15055
|
+
params['ImageRegistryCredentials'].each do |i|
|
15056
|
+
imageregistrycredential_tmp = ImageRegistryCredential.new
|
15057
|
+
imageregistrycredential_tmp.deserialize(i)
|
15058
|
+
@ImageRegistryCredentials << imageregistrycredential_tmp
|
15059
|
+
end
|
15060
|
+
end
|
15061
|
+
@Images = params['Images']
|
15062
|
+
@ImageCacheSize = params['ImageCacheSize']
|
15063
|
+
@RetentionDays = params['RetentionDays']
|
15064
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
14429
15065
|
end
|
14430
15066
|
end
|
14431
15067
|
|
@@ -14621,6 +15257,93 @@ module TencentCloud
|
|
14621
15257
|
end
|
14622
15258
|
end
|
14623
15259
|
|
15260
|
+
# UpgradeClusterRelease请求参数结构体
|
15261
|
+
class UpgradeClusterReleaseRequest < TencentCloud::Common::AbstractModel
|
15262
|
+
# @param ClusterId: 集群ID
|
15263
|
+
# @type ClusterId: String
|
15264
|
+
# @param Name: 自定义的应用名称
|
15265
|
+
# @type Name: String
|
15266
|
+
# @param Namespace: 应用命名空间
|
15267
|
+
# @type Namespace: String
|
15268
|
+
# @param Chart: 制品名称或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
|
15269
|
+
# @type Chart: String
|
15270
|
+
# @param Values: 自定义参数,覆盖chart 中values.yaml 中的参数
|
15271
|
+
# @type Values: :class:`Tencentcloud::Tke.v20180525.models.ReleaseValues`
|
15272
|
+
# @param ChartFrom: 制品来源,范围:tke-market/tcr/other
|
15273
|
+
# @type ChartFrom: String
|
15274
|
+
# @param ChartVersion: 制品版本( 从第三安装时,不传这个参数)
|
15275
|
+
# @type ChartVersion: String
|
15276
|
+
# @param ChartRepoURL: 制品仓库URL地址
|
15277
|
+
# @type ChartRepoURL: String
|
15278
|
+
# @param Username: 制品访问用户名
|
15279
|
+
# @type Username: String
|
15280
|
+
# @param Password: 制品访问密码
|
15281
|
+
# @type Password: String
|
15282
|
+
# @param ChartNamespace: 制品命名空间
|
15283
|
+
# @type ChartNamespace: String
|
15284
|
+
# @param ClusterType: 集群类型,支持传 tke, eks, tkeedge, exernal(注册集群)
|
15285
|
+
# @type ClusterType: String
|
15286
|
+
|
15287
|
+
attr_accessor :ClusterId, :Name, :Namespace, :Chart, :Values, :ChartFrom, :ChartVersion, :ChartRepoURL, :Username, :Password, :ChartNamespace, :ClusterType
|
15288
|
+
|
15289
|
+
def initialize(clusterid=nil, name=nil, namespace=nil, chart=nil, values=nil, chartfrom=nil, chartversion=nil, chartrepourl=nil, username=nil, password=nil, chartnamespace=nil, clustertype=nil)
|
15290
|
+
@ClusterId = clusterid
|
15291
|
+
@Name = name
|
15292
|
+
@Namespace = namespace
|
15293
|
+
@Chart = chart
|
15294
|
+
@Values = values
|
15295
|
+
@ChartFrom = chartfrom
|
15296
|
+
@ChartVersion = chartversion
|
15297
|
+
@ChartRepoURL = chartrepourl
|
15298
|
+
@Username = username
|
15299
|
+
@Password = password
|
15300
|
+
@ChartNamespace = chartnamespace
|
15301
|
+
@ClusterType = clustertype
|
15302
|
+
end
|
15303
|
+
|
15304
|
+
def deserialize(params)
|
15305
|
+
@ClusterId = params['ClusterId']
|
15306
|
+
@Name = params['Name']
|
15307
|
+
@Namespace = params['Namespace']
|
15308
|
+
@Chart = params['Chart']
|
15309
|
+
unless params['Values'].nil?
|
15310
|
+
@Values = ReleaseValues.new
|
15311
|
+
@Values.deserialize(params['Values'])
|
15312
|
+
end
|
15313
|
+
@ChartFrom = params['ChartFrom']
|
15314
|
+
@ChartVersion = params['ChartVersion']
|
15315
|
+
@ChartRepoURL = params['ChartRepoURL']
|
15316
|
+
@Username = params['Username']
|
15317
|
+
@Password = params['Password']
|
15318
|
+
@ChartNamespace = params['ChartNamespace']
|
15319
|
+
@ClusterType = params['ClusterType']
|
15320
|
+
end
|
15321
|
+
end
|
15322
|
+
|
15323
|
+
# UpgradeClusterRelease返回参数结构体
|
15324
|
+
class UpgradeClusterReleaseResponse < TencentCloud::Common::AbstractModel
|
15325
|
+
# @param Release: 应用详情
|
15326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15327
|
+
# @type Release: :class:`Tencentcloud::Tke.v20180525.models.PendingRelease`
|
15328
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15329
|
+
# @type RequestId: String
|
15330
|
+
|
15331
|
+
attr_accessor :Release, :RequestId
|
15332
|
+
|
15333
|
+
def initialize(release=nil, requestid=nil)
|
15334
|
+
@Release = release
|
15335
|
+
@RequestId = requestid
|
15336
|
+
end
|
15337
|
+
|
15338
|
+
def deserialize(params)
|
15339
|
+
unless params['Release'].nil?
|
15340
|
+
@Release = PendingRelease.new
|
15341
|
+
@Release.deserialize(params['Release'])
|
15342
|
+
end
|
15343
|
+
@RequestId = params['RequestId']
|
15344
|
+
end
|
15345
|
+
end
|
15346
|
+
|
14624
15347
|
# 节点升级重装参数
|
14625
15348
|
class UpgradeNodeResetParam < TencentCloud::Common::AbstractModel
|
14626
15349
|
# @param InstanceAdvancedSettings: 实例额外需要设置参数信息
|
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: 3.0.
|
4
|
+
version: 3.0.468
|
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-12-
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|