tencentcloud-sdk-tke 3.0.423 → 3.0.425
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 +105 -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: b51d066f4c1993d32f9d37b04a246026b58884ef
|
4
|
+
data.tar.gz: cef6f3f131c819308c51c61368f539a0eddcd6a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d92d7d565baf1d9f762128cbb4ab0bbd61bfe3f5e39e18a549835c031cc37ffd7b68f03f2617587b022731f6b7970f5ce4f868febbca3e87473d37876caaf23f
|
7
|
+
data.tar.gz: bbeea1b2eb6e5fd119cdd93a990aa13aa85056f102b207e7f475314248b61d5d7921cbc64ec4526f8b9bb78e95abb1bdb00e3702838dbe4a549695180523b8f7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.425
|
data/lib/v20180525/client.rb
CHANGED
@@ -2093,6 +2093,30 @@ module TencentCloud
|
|
2093
2093
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2094
2094
|
end
|
2095
2095
|
|
2096
|
+
# 可以查询边缘集群升级信息,包含可以升级的组件,当前升级状态和升级错误信息
|
2097
|
+
|
2098
|
+
# @param request: Request instance for DescribeEdgeClusterUpgradeInfo.
|
2099
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeEdgeClusterUpgradeInfoRequest`
|
2100
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeEdgeClusterUpgradeInfoResponse`
|
2101
|
+
def DescribeEdgeClusterUpgradeInfo(request)
|
2102
|
+
body = send_request('DescribeEdgeClusterUpgradeInfo', request.serialize)
|
2103
|
+
response = JSON.parse(body)
|
2104
|
+
if response['Response'].key?('Error') == false
|
2105
|
+
model = DescribeEdgeClusterUpgradeInfoResponse.new
|
2106
|
+
model.deserialize(response['Response'])
|
2107
|
+
model
|
2108
|
+
else
|
2109
|
+
code = response['Response']['Error']['Code']
|
2110
|
+
message = response['Response']['Error']['Message']
|
2111
|
+
reqid = response['Response']['RequestId']
|
2112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2113
|
+
end
|
2114
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2115
|
+
raise e
|
2116
|
+
rescue StandardError => e
|
2117
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2118
|
+
end
|
2119
|
+
|
2096
2120
|
# 获取事件、审计和日志的状态接口
|
2097
2121
|
|
2098
2122
|
# @param request: Request instance for DescribeEdgeLogSwitches.
|
@@ -4037,6 +4061,30 @@ module TencentCloud
|
|
4037
4061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4038
4062
|
end
|
4039
4063
|
|
4064
|
+
# 升级边缘集群组件到指定版本,此版本为TKEEdge专用版本。
|
4065
|
+
|
4066
|
+
# @param request: Request instance for UpdateEdgeClusterVersion.
|
4067
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::UpdateEdgeClusterVersionRequest`
|
4068
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::UpdateEdgeClusterVersionResponse`
|
4069
|
+
def UpdateEdgeClusterVersion(request)
|
4070
|
+
body = send_request('UpdateEdgeClusterVersion', request.serialize)
|
4071
|
+
response = JSON.parse(body)
|
4072
|
+
if response['Response'].key?('Error') == false
|
4073
|
+
model = UpdateEdgeClusterVersionResponse.new
|
4074
|
+
model.deserialize(response['Response'])
|
4075
|
+
model
|
4076
|
+
else
|
4077
|
+
code = response['Response']['Error']['Code']
|
4078
|
+
message = response['Response']['Error']['Message']
|
4079
|
+
reqid = response['Response']['RequestId']
|
4080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4081
|
+
end
|
4082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4083
|
+
raise e
|
4084
|
+
rescue StandardError => e
|
4085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4086
|
+
end
|
4087
|
+
|
4040
4088
|
# 更新镜像缓存接口
|
4041
4089
|
|
4042
4090
|
# @param request: Request instance for UpdateImageCache.
|
data/lib/v20180525/models.rb
CHANGED
@@ -5917,6 +5917,67 @@ module TencentCloud
|
|
5917
5917
|
end
|
5918
5918
|
end
|
5919
5919
|
|
5920
|
+
# DescribeEdgeClusterUpgradeInfo请求参数结构体
|
5921
|
+
class DescribeEdgeClusterUpgradeInfoRequest < TencentCloud::Common::AbstractModel
|
5922
|
+
# @param ClusterId: 集群ID
|
5923
|
+
# @type ClusterId: String
|
5924
|
+
# @param EdgeVersion: 要升级到的TKEEdge版本
|
5925
|
+
# @type EdgeVersion: String
|
5926
|
+
|
5927
|
+
attr_accessor :ClusterId, :EdgeVersion
|
5928
|
+
|
5929
|
+
def initialize(clusterid=nil, edgeversion=nil)
|
5930
|
+
@ClusterId = clusterid
|
5931
|
+
@EdgeVersion = edgeversion
|
5932
|
+
end
|
5933
|
+
|
5934
|
+
def deserialize(params)
|
5935
|
+
@ClusterId = params['ClusterId']
|
5936
|
+
@EdgeVersion = params['EdgeVersion']
|
5937
|
+
end
|
5938
|
+
end
|
5939
|
+
|
5940
|
+
# DescribeEdgeClusterUpgradeInfo返回参数结构体
|
5941
|
+
class DescribeEdgeClusterUpgradeInfoResponse < TencentCloud::Common::AbstractModel
|
5942
|
+
# @param ComponentVersion: 可升级的集群组件和
|
5943
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5944
|
+
# @type ComponentVersion: String
|
5945
|
+
# @param EdgeVersionCurrent: 边缘集群当前版本
|
5946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5947
|
+
# @type EdgeVersionCurrent: String
|
5948
|
+
# @param RegistryPrefix: 边缘组件镜像仓库地址前缀,包含域名和命名空间
|
5949
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5950
|
+
# @type RegistryPrefix: String
|
5951
|
+
# @param ClusterUpgradeStatus: 集群升级状态,可能值:running、updating、failed
|
5952
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5953
|
+
# @type ClusterUpgradeStatus: String
|
5954
|
+
# @param ClusterUpgradeStatusReason: 集群升级中状态或者失败原因
|
5955
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5956
|
+
# @type ClusterUpgradeStatusReason: String
|
5957
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5958
|
+
# @type RequestId: String
|
5959
|
+
|
5960
|
+
attr_accessor :ComponentVersion, :EdgeVersionCurrent, :RegistryPrefix, :ClusterUpgradeStatus, :ClusterUpgradeStatusReason, :RequestId
|
5961
|
+
|
5962
|
+
def initialize(componentversion=nil, edgeversioncurrent=nil, registryprefix=nil, clusterupgradestatus=nil, clusterupgradestatusreason=nil, requestid=nil)
|
5963
|
+
@ComponentVersion = componentversion
|
5964
|
+
@EdgeVersionCurrent = edgeversioncurrent
|
5965
|
+
@RegistryPrefix = registryprefix
|
5966
|
+
@ClusterUpgradeStatus = clusterupgradestatus
|
5967
|
+
@ClusterUpgradeStatusReason = clusterupgradestatusreason
|
5968
|
+
@RequestId = requestid
|
5969
|
+
end
|
5970
|
+
|
5971
|
+
def deserialize(params)
|
5972
|
+
@ComponentVersion = params['ComponentVersion']
|
5973
|
+
@EdgeVersionCurrent = params['EdgeVersionCurrent']
|
5974
|
+
@RegistryPrefix = params['RegistryPrefix']
|
5975
|
+
@ClusterUpgradeStatus = params['ClusterUpgradeStatus']
|
5976
|
+
@ClusterUpgradeStatusReason = params['ClusterUpgradeStatusReason']
|
5977
|
+
@RequestId = params['RequestId']
|
5978
|
+
end
|
5979
|
+
end
|
5980
|
+
|
5920
5981
|
# DescribeEdgeLogSwitches请求参数结构体
|
5921
5982
|
class DescribeEdgeLogSwitchesRequest < TencentCloud::Common::AbstractModel
|
5922
5983
|
# @param ClusterIds: 集群ID列表
|
@@ -14014,6 +14075,50 @@ module TencentCloud
|
|
14014
14075
|
end
|
14015
14076
|
end
|
14016
14077
|
|
14078
|
+
# UpdateEdgeClusterVersion请求参数结构体
|
14079
|
+
class UpdateEdgeClusterVersionRequest < TencentCloud::Common::AbstractModel
|
14080
|
+
# @param ClusterId: 集群 Id
|
14081
|
+
# @type ClusterId: String
|
14082
|
+
# @param EdgeVersion: 需要升级到的版本
|
14083
|
+
# @type EdgeVersion: String
|
14084
|
+
# @param RegistryPrefix: 自定义边缘组件镜像仓库前缀
|
14085
|
+
# @type RegistryPrefix: String
|
14086
|
+
# @param SkipPreCheck: 是否跳过预检查阶段
|
14087
|
+
# @type SkipPreCheck: Boolean
|
14088
|
+
|
14089
|
+
attr_accessor :ClusterId, :EdgeVersion, :RegistryPrefix, :SkipPreCheck
|
14090
|
+
|
14091
|
+
def initialize(clusterid=nil, edgeversion=nil, registryprefix=nil, skipprecheck=nil)
|
14092
|
+
@ClusterId = clusterid
|
14093
|
+
@EdgeVersion = edgeversion
|
14094
|
+
@RegistryPrefix = registryprefix
|
14095
|
+
@SkipPreCheck = skipprecheck
|
14096
|
+
end
|
14097
|
+
|
14098
|
+
def deserialize(params)
|
14099
|
+
@ClusterId = params['ClusterId']
|
14100
|
+
@EdgeVersion = params['EdgeVersion']
|
14101
|
+
@RegistryPrefix = params['RegistryPrefix']
|
14102
|
+
@SkipPreCheck = params['SkipPreCheck']
|
14103
|
+
end
|
14104
|
+
end
|
14105
|
+
|
14106
|
+
# UpdateEdgeClusterVersion返回参数结构体
|
14107
|
+
class UpdateEdgeClusterVersionResponse < TencentCloud::Common::AbstractModel
|
14108
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
14109
|
+
# @type RequestId: String
|
14110
|
+
|
14111
|
+
attr_accessor :RequestId
|
14112
|
+
|
14113
|
+
def initialize(requestid=nil)
|
14114
|
+
@RequestId = requestid
|
14115
|
+
end
|
14116
|
+
|
14117
|
+
def deserialize(params)
|
14118
|
+
@RequestId = params['RequestId']
|
14119
|
+
end
|
14120
|
+
end
|
14121
|
+
|
14017
14122
|
# UpdateImageCache请求参数结构体
|
14018
14123
|
class UpdateImageCacheRequest < TencentCloud::Common::AbstractModel
|
14019
14124
|
# @param ImageCacheId: 镜像缓存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: 3.0.
|
4
|
+
version: 3.0.425
|
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-
|
11
|
+
date: 2022-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|