tencentcloud-sdk-tke 3.0.422 → 3.0.424
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 +106 -1
- 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: 4ec149ff9b7fc0f9ec36765757863852fec4d994
|
4
|
+
data.tar.gz: dd830902074cb432397535cfacbc3d4102c3b5dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c07f747e9d3ea859c77b07d49141b5c5b30c9d9558c38a8c8cb8062e5f5626a7a967fb8a100a3d603525e947c94625392690413062dd2f40241e82c00907fdb5
|
7
|
+
data.tar.gz: ddc0f4646ca2323fb0a569e77d595f8ab7db3c9f184c02a0b96e94a69fda40a9ea4a6b415d4d79ffb9ea3e9624048ccc1f4f1e8cf4535e7d78e6d68da97600f2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.424
|
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列表
|
@@ -10360,7 +10421,7 @@ module TencentCloud
|
|
10360
10421
|
# @param Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
10361
10422
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10362
10423
|
# @type Password: String
|
10363
|
-
# @param KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows
|
10424
|
+
# @param KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
|
10364
10425
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10365
10426
|
# @type KeyIds: Array
|
10366
10427
|
# @param KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:<br><li>TRUE:表示保持镜像的登录设置<br><li>FALSE:表示不保持镜像的登录设置<br><br>默认取值:FALSE。
|
@@ -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.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
|
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
|