tencentcloud-sdk-tke 3.0.1062 → 3.0.1063
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 +0 -24
- data/lib/v20180525/models.rb +6 -66
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10fb9a6eeefb8f5073f3399db80e10559bdd0fdd
|
4
|
+
data.tar.gz: eca11f93118ebb130cba58e34eb42fcc174895a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 458ad1a9b2dfb0624437cb79a9907b1b20432e53a6e3f57a09a1941a5241a3f3f868da5282afb96f845dc78dee701e9f057ce682976a03dafebc31a9fe2a4ea8
|
7
|
+
data.tar.gz: b48cc16eb3fcf1f466bfad36d2aa1500b28d4d0408b598201f58569cdff013cf9e7f498bb3172956252143132745e3b0036f438e3cebf62f5d2358193ffba17d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1063
|
data/lib/v20180525/client.rb
CHANGED
@@ -4181,30 +4181,6 @@ module TencentCloud
|
|
4181
4181
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4182
4182
|
end
|
4183
4183
|
|
4184
|
-
# 操作TKE集群的addon
|
4185
|
-
|
4186
|
-
# @param request: Request instance for ForwardApplicationRequestV3.
|
4187
|
-
# @type request: :class:`Tencentcloud::tke::V20180525::ForwardApplicationRequestV3Request`
|
4188
|
-
# @rtype: :class:`Tencentcloud::tke::V20180525::ForwardApplicationRequestV3Response`
|
4189
|
-
def ForwardApplicationRequestV3(request)
|
4190
|
-
body = send_request('ForwardApplicationRequestV3', request.serialize)
|
4191
|
-
response = JSON.parse(body)
|
4192
|
-
if response['Response'].key?('Error') == false
|
4193
|
-
model = ForwardApplicationRequestV3Response.new
|
4194
|
-
model.deserialize(response['Response'])
|
4195
|
-
model
|
4196
|
-
else
|
4197
|
-
code = response['Response']['Error']['Code']
|
4198
|
-
message = response['Response']['Error']['Message']
|
4199
|
-
reqid = response['Response']['RequestId']
|
4200
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4201
|
-
end
|
4202
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4203
|
-
raise e
|
4204
|
-
rescue StandardError => e
|
4205
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4206
|
-
end
|
4207
|
-
|
4208
4184
|
# 操作TKEEdge集群的addon
|
4209
4185
|
|
4210
4186
|
# @param request: Request instance for ForwardTKEEdgeApplicationRequestV3.
|
data/lib/v20180525/models.rb
CHANGED
@@ -11901,66 +11901,6 @@ module TencentCloud
|
|
11901
11901
|
end
|
11902
11902
|
end
|
11903
11903
|
|
11904
|
-
# ForwardApplicationRequestV3请求参数结构体
|
11905
|
-
class ForwardApplicationRequestV3Request < TencentCloud::Common::AbstractModel
|
11906
|
-
# @param Method: 请求集群addon的访问
|
11907
|
-
# @type Method: String
|
11908
|
-
# @param Path: 请求集群addon的路径
|
11909
|
-
# @type Path: String
|
11910
|
-
# @param Accept: 请求集群addon后允许接收的数据格式
|
11911
|
-
# @type Accept: String
|
11912
|
-
# @param ContentType: 请求集群addon的数据格式
|
11913
|
-
# @type ContentType: String
|
11914
|
-
# @param RequestBody: 请求集群addon的数据
|
11915
|
-
# @type RequestBody: String
|
11916
|
-
# @param ClusterName: 集群名称
|
11917
|
-
# @type ClusterName: String
|
11918
|
-
# @param EncodedBody: 是否编码请求内容
|
11919
|
-
# @type EncodedBody: String
|
11920
|
-
|
11921
|
-
attr_accessor :Method, :Path, :Accept, :ContentType, :RequestBody, :ClusterName, :EncodedBody
|
11922
|
-
|
11923
|
-
def initialize(method=nil, path=nil, accept=nil, contenttype=nil, requestbody=nil, clustername=nil, encodedbody=nil)
|
11924
|
-
@Method = method
|
11925
|
-
@Path = path
|
11926
|
-
@Accept = accept
|
11927
|
-
@ContentType = contenttype
|
11928
|
-
@RequestBody = requestbody
|
11929
|
-
@ClusterName = clustername
|
11930
|
-
@EncodedBody = encodedbody
|
11931
|
-
end
|
11932
|
-
|
11933
|
-
def deserialize(params)
|
11934
|
-
@Method = params['Method']
|
11935
|
-
@Path = params['Path']
|
11936
|
-
@Accept = params['Accept']
|
11937
|
-
@ContentType = params['ContentType']
|
11938
|
-
@RequestBody = params['RequestBody']
|
11939
|
-
@ClusterName = params['ClusterName']
|
11940
|
-
@EncodedBody = params['EncodedBody']
|
11941
|
-
end
|
11942
|
-
end
|
11943
|
-
|
11944
|
-
# ForwardApplicationRequestV3返回参数结构体
|
11945
|
-
class ForwardApplicationRequestV3Response < TencentCloud::Common::AbstractModel
|
11946
|
-
# @param ResponseBody: 请求集群addon后返回的数据
|
11947
|
-
# @type ResponseBody: String
|
11948
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11949
|
-
# @type RequestId: String
|
11950
|
-
|
11951
|
-
attr_accessor :ResponseBody, :RequestId
|
11952
|
-
|
11953
|
-
def initialize(responsebody=nil, requestid=nil)
|
11954
|
-
@ResponseBody = responsebody
|
11955
|
-
@RequestId = requestid
|
11956
|
-
end
|
11957
|
-
|
11958
|
-
def deserialize(params)
|
11959
|
-
@ResponseBody = params['ResponseBody']
|
11960
|
-
@RequestId = params['RequestId']
|
11961
|
-
end
|
11962
|
-
end
|
11963
|
-
|
11964
11904
|
# ForwardTKEEdgeApplicationRequestV3请求参数结构体
|
11965
11905
|
class ForwardTKEEdgeApplicationRequestV3Request < TencentCloud::Common::AbstractModel
|
11966
11906
|
# @param Method: 请求集群addon的访问
|
@@ -15042,24 +14982,24 @@ module TencentCloud
|
|
15042
14982
|
|
15043
14983
|
# 策略实例信息
|
15044
14984
|
class OpenConstraintInfo < TencentCloud::Common::AbstractModel
|
15045
|
-
# @param Name: 策略实例名称
|
15046
|
-
# @type Name: String
|
15047
14985
|
# @param EventNums: 策略实例关联事件数
|
15048
14986
|
# @type EventNums: Integer
|
14987
|
+
# @param Name: 策略实例名称
|
14988
|
+
# @type Name: String
|
15049
14989
|
# @param YamlDetail: 实例yaml详情base64编码
|
15050
14990
|
# @type YamlDetail: String
|
15051
14991
|
|
15052
|
-
attr_accessor :
|
14992
|
+
attr_accessor :EventNums, :Name, :YamlDetail
|
15053
14993
|
|
15054
|
-
def initialize(
|
15055
|
-
@Name = name
|
14994
|
+
def initialize(eventnums=nil, name=nil, yamldetail=nil)
|
15056
14995
|
@EventNums = eventnums
|
14996
|
+
@Name = name
|
15057
14997
|
@YamlDetail = yamldetail
|
15058
14998
|
end
|
15059
14999
|
|
15060
15000
|
def deserialize(params)
|
15061
|
-
@Name = params['Name']
|
15062
15001
|
@EventNums = params['EventNums']
|
15002
|
+
@Name = params['Name']
|
15063
15003
|
@YamlDetail = params['YamlDetail']
|
15064
15004
|
end
|
15065
15005
|
end
|