tencentcloud-sdk-ssl 3.0.987 → 3.0.989
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191205/client.rb +24 -0
- data/lib/v20191205/models.rb +37 -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: fe7f5706763073999a0d88a485f403279d05840d
|
4
|
+
data.tar.gz: 8ad142bca7045b8b26d116fd0fbc75d473db37c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8216e4b6e42ab7af88d830b3d1524d4639f4ea3180f661928ed01898ff18862a33cb2157deaf5862240e0c1ca862c791243397e50987b262b4cbb15b3fc1ffcf
|
7
|
+
data.tar.gz: 3f68e3a9ddf87525d454abafc98b994ec217e201d7ef76e73a9c17321680fe9c98af2a14b4895055fda81937f489318195cf45f8f4f3c2f4a7f07aa805381c37
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.989
|
data/lib/v20191205/client.rb
CHANGED
@@ -149,6 +149,30 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
151
|
|
152
|
+
# 根据证书内容检测当前账号下是否存在一致的证书, 存在则返回证书ID, 不存在则返回空
|
153
|
+
|
154
|
+
# @param request: Request instance for CheckCertificateExist.
|
155
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::CheckCertificateExistRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::CheckCertificateExistResponse`
|
157
|
+
def CheckCertificateExist(request)
|
158
|
+
body = send_request('CheckCertificateExist', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = CheckCertificateExistResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
152
176
|
# 提交证书订单到CA机构。
|
153
177
|
|
154
178
|
# @param request: Request instance for CommitCertificateInformation.
|
data/lib/v20191205/models.rb
CHANGED
@@ -958,6 +958,43 @@ module TencentCloud
|
|
958
958
|
end
|
959
959
|
end
|
960
960
|
|
961
|
+
# CheckCertificateExist请求参数结构体
|
962
|
+
class CheckCertificateExistRequest < TencentCloud::Common::AbstractModel
|
963
|
+
# @param CertificatePublicKey: 证书公钥内容, 包含证书链
|
964
|
+
# @type CertificatePublicKey: String
|
965
|
+
|
966
|
+
attr_accessor :CertificatePublicKey
|
967
|
+
|
968
|
+
def initialize(certificatepublickey=nil)
|
969
|
+
@CertificatePublicKey = certificatepublickey
|
970
|
+
end
|
971
|
+
|
972
|
+
def deserialize(params)
|
973
|
+
@CertificatePublicKey = params['CertificatePublicKey']
|
974
|
+
end
|
975
|
+
end
|
976
|
+
|
977
|
+
# CheckCertificateExist返回参数结构体
|
978
|
+
class CheckCertificateExistResponse < TencentCloud::Common::AbstractModel
|
979
|
+
# @param RepeatCertId: 重复的证书ID
|
980
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
981
|
+
# @type RepeatCertId: String
|
982
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
983
|
+
# @type RequestId: String
|
984
|
+
|
985
|
+
attr_accessor :RepeatCertId, :RequestId
|
986
|
+
|
987
|
+
def initialize(repeatcertid=nil, requestid=nil)
|
988
|
+
@RepeatCertId = repeatcertid
|
989
|
+
@RequestId = requestid
|
990
|
+
end
|
991
|
+
|
992
|
+
def deserialize(params)
|
993
|
+
@RepeatCertId = params['RepeatCertId']
|
994
|
+
@RequestId = params['RequestId']
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
961
998
|
# clb实例详情
|
962
999
|
class ClbInstanceDetail < TencentCloud::Common::AbstractModel
|
963
1000
|
# @param LoadBalancerId: CLB实例ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.989
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|