tencentcloud-sdk-tke 3.0.423 → 3.0.424

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: 5f85cb4ca44f8c0fd264876b5a5828430eaeaa44
4
- data.tar.gz: cc19b4abd3b0cffeec2ac975d26d4855517b602d
3
+ metadata.gz: 4ec149ff9b7fc0f9ec36765757863852fec4d994
4
+ data.tar.gz: dd830902074cb432397535cfacbc3d4102c3b5dd
5
5
  SHA512:
6
- metadata.gz: cd69d109556299f075a1e295d7098d18ee4a3da8a9cf6c796e30df707e7428d81267ff749dc09370e48a825a442e0eeca046b8a3fc0353a31bf29ad76c258b82
7
- data.tar.gz: d06f8de20dd05df205440e208f03108d5c279adf5e274322f126f16298b9003af972429cfa41fba0dcf19e8b0922c06589032b7f433499e57932412341eb05f7
6
+ metadata.gz: c07f747e9d3ea859c77b07d49141b5c5b30c9d9558c38a8c8cb8062e5f5626a7a967fb8a100a3d603525e947c94625392690413062dd2f40241e82c00907fdb5
7
+ data.tar.gz: ddc0f4646ca2323fb0a569e77d595f8ab7db3c9f184c02a0b96e94a69fda40a9ea4a6b415d4d79ffb9ea3e9624048ccc1f4f1e8cf4535e7d78e6d68da97600f2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.423
1
+ 3.0.424
@@ -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.
@@ -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.423
4
+ version: 3.0.424
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-09-30 00:00:00.000000000 Z
11
+ date: 2022-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common