tencentcloud-sdk-tse 3.0.660 → 3.0.661
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/v20201207/client.rb +120 -0
- data/lib/v20201207/models.rb +385 -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: 4e050cf6f127e3dc40b4b4f60e6fa239b265711f
|
4
|
+
data.tar.gz: f692f5795d91f9af082ec7c873b4721947ca6aae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48cb0ebbce541eaed735018ccba7fb0c9a25dbc9c4bc4f19ce45a21e5362e6c0288e5cc4d6198f2ca91f91b6fea179b6ec3e0b362f7578e46ae165e6a5cde05a
|
7
|
+
data.tar.gz: 243e9984316d86bd8bbebb4c95d1b0ac607a48924da45f5e9d1c4e4131e417664f83b077348f39a863cd6df142903ad267d04815ab811f5153360dac34930d51
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.661
|
data/lib/v20201207/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 创建云原生网关证书
|
81
|
+
|
82
|
+
# @param request: Request instance for CreateCloudNativeAPIGatewayCertificate.
|
83
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayCertificateRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::CreateCloudNativeAPIGatewayCertificateResponse`
|
85
|
+
def CreateCloudNativeAPIGatewayCertificate(request)
|
86
|
+
body = send_request('CreateCloudNativeAPIGatewayCertificate', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateCloudNativeAPIGatewayCertificateResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 创建云原生网关路由
|
81
105
|
|
82
106
|
# @param request: Request instance for CreateCloudNativeAPIGatewayRoute.
|
@@ -269,6 +293,30 @@ module TencentCloud
|
|
269
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
294
|
end
|
271
295
|
|
296
|
+
# 删除云原生网关证书
|
297
|
+
|
298
|
+
# @param request: Request instance for DeleteCloudNativeAPIGatewayCertificate.
|
299
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayCertificateRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DeleteCloudNativeAPIGatewayCertificateResponse`
|
301
|
+
def DeleteCloudNativeAPIGatewayCertificate(request)
|
302
|
+
body = send_request('DeleteCloudNativeAPIGatewayCertificate', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DeleteCloudNativeAPIGatewayCertificateResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
272
320
|
# 删除云原生网关路由
|
273
321
|
|
274
322
|
# @param request: Request instance for DeleteCloudNativeAPIGatewayRoute.
|
@@ -461,6 +509,54 @@ module TencentCloud
|
|
461
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
510
|
end
|
463
511
|
|
512
|
+
# 查询云原生网关单个证书详情
|
513
|
+
|
514
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayCertificateDetails.
|
515
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificateDetailsRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificateDetailsResponse`
|
517
|
+
def DescribeCloudNativeAPIGatewayCertificateDetails(request)
|
518
|
+
body = send_request('DescribeCloudNativeAPIGatewayCertificateDetails', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = DescribeCloudNativeAPIGatewayCertificateDetailsResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
536
|
+
# 查询云原生网关证书列表
|
537
|
+
|
538
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayCertificates.
|
539
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificatesRequest`
|
540
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificatesResponse`
|
541
|
+
def DescribeCloudNativeAPIGatewayCertificates(request)
|
542
|
+
body = send_request('DescribeCloudNativeAPIGatewayCertificates', request.serialize)
|
543
|
+
response = JSON.parse(body)
|
544
|
+
if response['Response'].key?('Error') == false
|
545
|
+
model = DescribeCloudNativeAPIGatewayCertificatesResponse.new
|
546
|
+
model.deserialize(response['Response'])
|
547
|
+
model
|
548
|
+
else
|
549
|
+
code = response['Response']['Error']['Code']
|
550
|
+
message = response['Response']['Error']['Message']
|
551
|
+
reqid = response['Response']['RequestId']
|
552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
553
|
+
end
|
554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
555
|
+
raise e
|
556
|
+
rescue StandardError => e
|
557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
|
+
end
|
559
|
+
|
464
560
|
# 获取云原生API网关实例网络配置信息
|
465
561
|
|
466
562
|
# @param request: Request instance for DescribeCloudNativeAPIGatewayConfig.
|
@@ -1013,6 +1109,30 @@ module TencentCloud
|
|
1013
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1014
1110
|
end
|
1015
1111
|
|
1112
|
+
# 修改云原生网关证书信息
|
1113
|
+
|
1114
|
+
# @param request: Request instance for UpdateCloudNativeAPIGatewayCertificateInfo.
|
1115
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::UpdateCloudNativeAPIGatewayCertificateInfoRequest`
|
1116
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::UpdateCloudNativeAPIGatewayCertificateInfoResponse`
|
1117
|
+
def UpdateCloudNativeAPIGatewayCertificateInfo(request)
|
1118
|
+
body = send_request('UpdateCloudNativeAPIGatewayCertificateInfo', request.serialize)
|
1119
|
+
response = JSON.parse(body)
|
1120
|
+
if response['Response'].key?('Error') == false
|
1121
|
+
model = UpdateCloudNativeAPIGatewayCertificateInfoResponse.new
|
1122
|
+
model.deserialize(response['Response'])
|
1123
|
+
model
|
1124
|
+
else
|
1125
|
+
code = response['Response']['Error']['Code']
|
1126
|
+
message = response['Response']['Error']['Message']
|
1127
|
+
reqid = response['Response']['RequestId']
|
1128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1129
|
+
end
|
1130
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1131
|
+
raise e
|
1132
|
+
rescue StandardError => e
|
1133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
|
+
end
|
1135
|
+
|
1016
1136
|
# 修改云原生API网关实例的节点规格信息,比如节点扩缩容或者升降配
|
1017
1137
|
|
1018
1138
|
# @param request: Request instance for UpdateCloudNativeAPIGatewaySpec.
|
data/lib/v20201207/models.rb
CHANGED
@@ -175,6 +175,23 @@ module TencentCloud
|
|
175
175
|
end
|
176
176
|
end
|
177
177
|
|
178
|
+
# 证书信息
|
179
|
+
class CertificateInfo < TencentCloud::Common::AbstractModel
|
180
|
+
# @param Id: 唯一id
|
181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
182
|
+
# @type Id: String
|
183
|
+
|
184
|
+
attr_accessor :Id
|
185
|
+
|
186
|
+
def initialize(id=nil)
|
187
|
+
@Id = id
|
188
|
+
end
|
189
|
+
|
190
|
+
def deserialize(params)
|
191
|
+
@Id = params['Id']
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
178
195
|
# 灰度规则列表
|
179
196
|
class CloudAPIGatewayCanaryRuleList < TencentCloud::Common::AbstractModel
|
180
197
|
# @param CanaryRuleList: 灰度规则
|
@@ -926,6 +943,66 @@ module TencentCloud
|
|
926
943
|
end
|
927
944
|
end
|
928
945
|
|
946
|
+
# CreateCloudNativeAPIGatewayCertificate请求参数结构体
|
947
|
+
class CreateCloudNativeAPIGatewayCertificateRequest < TencentCloud::Common::AbstractModel
|
948
|
+
# @param GatewayId: 网关ID
|
949
|
+
# @type GatewayId: String
|
950
|
+
# @param BindDomains: 绑定的域名
|
951
|
+
# @type BindDomains: Array
|
952
|
+
# @param CertId: ssl平台证书 Id
|
953
|
+
# @type CertId: String
|
954
|
+
# @param Name: 证书名称
|
955
|
+
# @type Name: String
|
956
|
+
# @param Key: 证书私钥
|
957
|
+
# @type Key: String
|
958
|
+
# @param Crt: 证书pem格式
|
959
|
+
# @type Crt: String
|
960
|
+
|
961
|
+
attr_accessor :GatewayId, :BindDomains, :CertId, :Name, :Key, :Crt
|
962
|
+
|
963
|
+
def initialize(gatewayid=nil, binddomains=nil, certid=nil, name=nil, key=nil, crt=nil)
|
964
|
+
@GatewayId = gatewayid
|
965
|
+
@BindDomains = binddomains
|
966
|
+
@CertId = certid
|
967
|
+
@Name = name
|
968
|
+
@Key = key
|
969
|
+
@Crt = crt
|
970
|
+
end
|
971
|
+
|
972
|
+
def deserialize(params)
|
973
|
+
@GatewayId = params['GatewayId']
|
974
|
+
@BindDomains = params['BindDomains']
|
975
|
+
@CertId = params['CertId']
|
976
|
+
@Name = params['Name']
|
977
|
+
@Key = params['Key']
|
978
|
+
@Crt = params['Crt']
|
979
|
+
end
|
980
|
+
end
|
981
|
+
|
982
|
+
# CreateCloudNativeAPIGatewayCertificate返回参数结构体
|
983
|
+
class CreateCloudNativeAPIGatewayCertificateResponse < TencentCloud::Common::AbstractModel
|
984
|
+
# @param Result: 创建证书结果
|
985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
986
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.CertificateInfo`
|
987
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
988
|
+
# @type RequestId: String
|
989
|
+
|
990
|
+
attr_accessor :Result, :RequestId
|
991
|
+
|
992
|
+
def initialize(result=nil, requestid=nil)
|
993
|
+
@Result = result
|
994
|
+
@RequestId = requestid
|
995
|
+
end
|
996
|
+
|
997
|
+
def deserialize(params)
|
998
|
+
unless params['Result'].nil?
|
999
|
+
@Result = CertificateInfo.new
|
1000
|
+
@Result.deserialize(params['Result'])
|
1001
|
+
end
|
1002
|
+
@RequestId = params['RequestId']
|
1003
|
+
end
|
1004
|
+
end
|
1005
|
+
|
929
1006
|
# CreateCloudNativeAPIGateway请求参数结构体
|
930
1007
|
class CreateCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
|
931
1008
|
# @param Name: 云原生API网关名字, 最多支持60个字符。
|
@@ -1649,6 +1726,42 @@ module TencentCloud
|
|
1649
1726
|
end
|
1650
1727
|
end
|
1651
1728
|
|
1729
|
+
# DeleteCloudNativeAPIGatewayCertificate请求参数结构体
|
1730
|
+
class DeleteCloudNativeAPIGatewayCertificateRequest < TencentCloud::Common::AbstractModel
|
1731
|
+
# @param GatewayId: 网关ID
|
1732
|
+
# @type GatewayId: String
|
1733
|
+
# @param Id: 证书Id
|
1734
|
+
# @type Id: String
|
1735
|
+
|
1736
|
+
attr_accessor :GatewayId, :Id
|
1737
|
+
|
1738
|
+
def initialize(gatewayid=nil, id=nil)
|
1739
|
+
@GatewayId = gatewayid
|
1740
|
+
@Id = id
|
1741
|
+
end
|
1742
|
+
|
1743
|
+
def deserialize(params)
|
1744
|
+
@GatewayId = params['GatewayId']
|
1745
|
+
@Id = params['Id']
|
1746
|
+
end
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
# DeleteCloudNativeAPIGatewayCertificate返回参数结构体
|
1750
|
+
class DeleteCloudNativeAPIGatewayCertificateResponse < TencentCloud::Common::AbstractModel
|
1751
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1752
|
+
# @type RequestId: String
|
1753
|
+
|
1754
|
+
attr_accessor :RequestId
|
1755
|
+
|
1756
|
+
def initialize(requestid=nil)
|
1757
|
+
@RequestId = requestid
|
1758
|
+
end
|
1759
|
+
|
1760
|
+
def deserialize(params)
|
1761
|
+
@RequestId = params['RequestId']
|
1762
|
+
end
|
1763
|
+
end
|
1764
|
+
|
1652
1765
|
# DeleteCloudNativeAPIGateway请求参数结构体
|
1653
1766
|
class DeleteCloudNativeAPIGatewayRequest < TencentCloud::Common::AbstractModel
|
1654
1767
|
# @param GatewayId: 云原生API网关实例ID。
|
@@ -2013,6 +2126,108 @@ module TencentCloud
|
|
2013
2126
|
end
|
2014
2127
|
end
|
2015
2128
|
|
2129
|
+
# DescribeCloudNativeAPIGatewayCertificateDetails请求参数结构体
|
2130
|
+
class DescribeCloudNativeAPIGatewayCertificateDetailsRequest < TencentCloud::Common::AbstractModel
|
2131
|
+
# @param GatewayId: 网关ID
|
2132
|
+
# @type GatewayId: String
|
2133
|
+
# @param Id: 证书Id
|
2134
|
+
# @type Id: String
|
2135
|
+
|
2136
|
+
attr_accessor :GatewayId, :Id
|
2137
|
+
|
2138
|
+
def initialize(gatewayid=nil, id=nil)
|
2139
|
+
@GatewayId = gatewayid
|
2140
|
+
@Id = id
|
2141
|
+
end
|
2142
|
+
|
2143
|
+
def deserialize(params)
|
2144
|
+
@GatewayId = params['GatewayId']
|
2145
|
+
@Id = params['Id']
|
2146
|
+
end
|
2147
|
+
end
|
2148
|
+
|
2149
|
+
# DescribeCloudNativeAPIGatewayCertificateDetails返回参数结构体
|
2150
|
+
class DescribeCloudNativeAPIGatewayCertificateDetailsResponse < TencentCloud::Common::AbstractModel
|
2151
|
+
# @param Result: 无
|
2152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2153
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.KongCertificate`
|
2154
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2155
|
+
# @type RequestId: String
|
2156
|
+
|
2157
|
+
attr_accessor :Result, :RequestId
|
2158
|
+
|
2159
|
+
def initialize(result=nil, requestid=nil)
|
2160
|
+
@Result = result
|
2161
|
+
@RequestId = requestid
|
2162
|
+
end
|
2163
|
+
|
2164
|
+
def deserialize(params)
|
2165
|
+
unless params['Result'].nil?
|
2166
|
+
@Result = KongCertificate.new
|
2167
|
+
@Result.deserialize(params['Result'])
|
2168
|
+
end
|
2169
|
+
@RequestId = params['RequestId']
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
# DescribeCloudNativeAPIGatewayCertificates请求参数结构体
|
2174
|
+
class DescribeCloudNativeAPIGatewayCertificatesRequest < TencentCloud::Common::AbstractModel
|
2175
|
+
# @param GatewayId: 网关ID
|
2176
|
+
# @type GatewayId: String
|
2177
|
+
# @param Limit: 列表数量
|
2178
|
+
# @type Limit: Integer
|
2179
|
+
# @param Offset: 列表offset
|
2180
|
+
# @type Offset: Integer
|
2181
|
+
# @param Filters: 过滤条件,多个过滤条件之间是与的关系,支持BindDomain ,Name
|
2182
|
+
# @type Filters: Array
|
2183
|
+
|
2184
|
+
attr_accessor :GatewayId, :Limit, :Offset, :Filters
|
2185
|
+
|
2186
|
+
def initialize(gatewayid=nil, limit=nil, offset=nil, filters=nil)
|
2187
|
+
@GatewayId = gatewayid
|
2188
|
+
@Limit = limit
|
2189
|
+
@Offset = offset
|
2190
|
+
@Filters = filters
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
def deserialize(params)
|
2194
|
+
@GatewayId = params['GatewayId']
|
2195
|
+
@Limit = params['Limit']
|
2196
|
+
@Offset = params['Offset']
|
2197
|
+
unless params['Filters'].nil?
|
2198
|
+
@Filters = []
|
2199
|
+
params['Filters'].each do |i|
|
2200
|
+
listfilter_tmp = ListFilter.new
|
2201
|
+
listfilter_tmp.deserialize(i)
|
2202
|
+
@Filters << listfilter_tmp
|
2203
|
+
end
|
2204
|
+
end
|
2205
|
+
end
|
2206
|
+
end
|
2207
|
+
|
2208
|
+
# DescribeCloudNativeAPIGatewayCertificates返回参数结构体
|
2209
|
+
class DescribeCloudNativeAPIGatewayCertificatesResponse < TencentCloud::Common::AbstractModel
|
2210
|
+
# @param Result: 无
|
2211
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.KongCertificatesList`
|
2212
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2213
|
+
# @type RequestId: String
|
2214
|
+
|
2215
|
+
attr_accessor :Result, :RequestId
|
2216
|
+
|
2217
|
+
def initialize(result=nil, requestid=nil)
|
2218
|
+
@Result = result
|
2219
|
+
@RequestId = requestid
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
def deserialize(params)
|
2223
|
+
unless params['Result'].nil?
|
2224
|
+
@Result = KongCertificatesList.new
|
2225
|
+
@Result.deserialize(params['Result'])
|
2226
|
+
end
|
2227
|
+
@RequestId = params['RequestId']
|
2228
|
+
end
|
2229
|
+
end
|
2230
|
+
|
2016
2231
|
# DescribeCloudNativeAPIGatewayConfig请求参数结构体
|
2017
2232
|
class DescribeCloudNativeAPIGatewayConfigRequest < TencentCloud::Common::AbstractModel
|
2018
2233
|
# @param GatewayId: 云原生API网关实例ID。
|
@@ -3610,6 +3825,132 @@ module TencentCloud
|
|
3610
3825
|
end
|
3611
3826
|
end
|
3612
3827
|
|
3828
|
+
# 云原生网关证书
|
3829
|
+
class KongCertificate < TencentCloud::Common::AbstractModel
|
3830
|
+
# @param Cert: 无
|
3831
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3832
|
+
# @type Cert: :class:`Tencentcloud::Tse.v20201207.models.KongCertificatesPreview`
|
3833
|
+
|
3834
|
+
attr_accessor :Cert
|
3835
|
+
|
3836
|
+
def initialize(cert=nil)
|
3837
|
+
@Cert = cert
|
3838
|
+
end
|
3839
|
+
|
3840
|
+
def deserialize(params)
|
3841
|
+
unless params['Cert'].nil?
|
3842
|
+
@Cert = KongCertificatesPreview.new
|
3843
|
+
@Cert.deserialize(params['Cert'])
|
3844
|
+
end
|
3845
|
+
end
|
3846
|
+
end
|
3847
|
+
|
3848
|
+
# kong证书列表
|
3849
|
+
class KongCertificatesList < TencentCloud::Common::AbstractModel
|
3850
|
+
# @param Total: 证书列表总数
|
3851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3852
|
+
# @type Total: Integer
|
3853
|
+
# @param CertificatesList: 无
|
3854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3855
|
+
# @type CertificatesList: Array
|
3856
|
+
# @param Pages: 证书列表总页数
|
3857
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3858
|
+
# @type Pages: Integer
|
3859
|
+
|
3860
|
+
attr_accessor :Total, :CertificatesList, :Pages
|
3861
|
+
extend Gem::Deprecate
|
3862
|
+
deprecate :Pages, :none, 2023, 9
|
3863
|
+
deprecate :Pages=, :none, 2023, 9
|
3864
|
+
|
3865
|
+
def initialize(total=nil, certificateslist=nil, pages=nil)
|
3866
|
+
@Total = total
|
3867
|
+
@CertificatesList = certificateslist
|
3868
|
+
@Pages = pages
|
3869
|
+
end
|
3870
|
+
|
3871
|
+
def deserialize(params)
|
3872
|
+
@Total = params['Total']
|
3873
|
+
unless params['CertificatesList'].nil?
|
3874
|
+
@CertificatesList = []
|
3875
|
+
params['CertificatesList'].each do |i|
|
3876
|
+
kongcertificatespreview_tmp = KongCertificatesPreview.new
|
3877
|
+
kongcertificatespreview_tmp.deserialize(i)
|
3878
|
+
@CertificatesList << kongcertificatespreview_tmp
|
3879
|
+
end
|
3880
|
+
end
|
3881
|
+
@Pages = params['Pages']
|
3882
|
+
end
|
3883
|
+
end
|
3884
|
+
|
3885
|
+
# 云原生网关证书预览信息
|
3886
|
+
class KongCertificatesPreview < TencentCloud::Common::AbstractModel
|
3887
|
+
# @param Name: 证书名称
|
3888
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3889
|
+
# @type Name: String
|
3890
|
+
# @param Id: Id
|
3891
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3892
|
+
# @type Id: String
|
3893
|
+
# @param BindDomains: 绑定的域名
|
3894
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3895
|
+
# @type BindDomains: Array
|
3896
|
+
# @param Status: 证书状态:expired(已过期)
|
3897
|
+
# active(生效中)
|
3898
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3899
|
+
# @type Status: String
|
3900
|
+
# @param Crt: 证书pem格式
|
3901
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3902
|
+
# @type Crt: String
|
3903
|
+
# @param Key: 证书私钥
|
3904
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3905
|
+
# @type Key: String
|
3906
|
+
# @param ExpireTime: 证书过期时间
|
3907
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3908
|
+
# @type ExpireTime: String
|
3909
|
+
# @param CreateTime: 证书上传时间
|
3910
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3911
|
+
# @type CreateTime: String
|
3912
|
+
# @param IssueTime: 证书签发时间
|
3913
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3914
|
+
# @type IssueTime: String
|
3915
|
+
# @param CertSource: 证书来源:native(kong自定义证书)
|
3916
|
+
# ssl(ssl平台证书)
|
3917
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3918
|
+
# @type CertSource: String
|
3919
|
+
# @param CertId: ssl平台证书Id
|
3920
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3921
|
+
# @type CertId: String
|
3922
|
+
|
3923
|
+
attr_accessor :Name, :Id, :BindDomains, :Status, :Crt, :Key, :ExpireTime, :CreateTime, :IssueTime, :CertSource, :CertId
|
3924
|
+
|
3925
|
+
def initialize(name=nil, id=nil, binddomains=nil, status=nil, crt=nil, key=nil, expiretime=nil, createtime=nil, issuetime=nil, certsource=nil, certid=nil)
|
3926
|
+
@Name = name
|
3927
|
+
@Id = id
|
3928
|
+
@BindDomains = binddomains
|
3929
|
+
@Status = status
|
3930
|
+
@Crt = crt
|
3931
|
+
@Key = key
|
3932
|
+
@ExpireTime = expiretime
|
3933
|
+
@CreateTime = createtime
|
3934
|
+
@IssueTime = issuetime
|
3935
|
+
@CertSource = certsource
|
3936
|
+
@CertId = certid
|
3937
|
+
end
|
3938
|
+
|
3939
|
+
def deserialize(params)
|
3940
|
+
@Name = params['Name']
|
3941
|
+
@Id = params['Id']
|
3942
|
+
@BindDomains = params['BindDomains']
|
3943
|
+
@Status = params['Status']
|
3944
|
+
@Crt = params['Crt']
|
3945
|
+
@Key = params['Key']
|
3946
|
+
@ExpireTime = params['ExpireTime']
|
3947
|
+
@CreateTime = params['CreateTime']
|
3948
|
+
@IssueTime = params['IssueTime']
|
3949
|
+
@CertSource = params['CertSource']
|
3950
|
+
@CertId = params['CertId']
|
3951
|
+
end
|
3952
|
+
end
|
3953
|
+
|
3613
3954
|
# 云原生网关路由信息
|
3614
3955
|
class KongRoutePreview < TencentCloud::Common::AbstractModel
|
3615
3956
|
# @param ID: 服务ID
|
@@ -5014,6 +5355,50 @@ module TencentCloud
|
|
5014
5355
|
end
|
5015
5356
|
end
|
5016
5357
|
|
5358
|
+
# UpdateCloudNativeAPIGatewayCertificateInfo请求参数结构体
|
5359
|
+
class UpdateCloudNativeAPIGatewayCertificateInfoRequest < TencentCloud::Common::AbstractModel
|
5360
|
+
# @param GatewayId: 网关ID
|
5361
|
+
# @type GatewayId: String
|
5362
|
+
# @param Id: 证书id
|
5363
|
+
# @type Id: String
|
5364
|
+
# @param BindDomains: 绑定的域名列表
|
5365
|
+
# @type BindDomains: Array
|
5366
|
+
# @param Name: 证书名称
|
5367
|
+
# @type Name: String
|
5368
|
+
|
5369
|
+
attr_accessor :GatewayId, :Id, :BindDomains, :Name
|
5370
|
+
|
5371
|
+
def initialize(gatewayid=nil, id=nil, binddomains=nil, name=nil)
|
5372
|
+
@GatewayId = gatewayid
|
5373
|
+
@Id = id
|
5374
|
+
@BindDomains = binddomains
|
5375
|
+
@Name = name
|
5376
|
+
end
|
5377
|
+
|
5378
|
+
def deserialize(params)
|
5379
|
+
@GatewayId = params['GatewayId']
|
5380
|
+
@Id = params['Id']
|
5381
|
+
@BindDomains = params['BindDomains']
|
5382
|
+
@Name = params['Name']
|
5383
|
+
end
|
5384
|
+
end
|
5385
|
+
|
5386
|
+
# UpdateCloudNativeAPIGatewayCertificateInfo返回参数结构体
|
5387
|
+
class UpdateCloudNativeAPIGatewayCertificateInfoResponse < TencentCloud::Common::AbstractModel
|
5388
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5389
|
+
# @type RequestId: String
|
5390
|
+
|
5391
|
+
attr_accessor :RequestId
|
5392
|
+
|
5393
|
+
def initialize(requestid=nil)
|
5394
|
+
@RequestId = requestid
|
5395
|
+
end
|
5396
|
+
|
5397
|
+
def deserialize(params)
|
5398
|
+
@RequestId = params['RequestId']
|
5399
|
+
end
|
5400
|
+
end
|
5401
|
+
|
5017
5402
|
# 更新云原生API网关响应结果。
|
5018
5403
|
class UpdateCloudNativeAPIGatewayResult < TencentCloud::Common::AbstractModel
|
5019
5404
|
# @param GatewayId: 云原生API网关ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.661
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|