tencentcloud-sdk-ssl 3.0.987 → 3.0.988

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: 3181a9cd23793ee06eea7d2ffc7f9a5b50a4a2eb
4
- data.tar.gz: 28f16000fce8c69dfbe30d8c171b8855a79ce8f2
3
+ metadata.gz: aa41876d4623ec1ac1cc1129353ede1567aa024d
4
+ data.tar.gz: 5c3e92110edbc90e62a5b1837cef5cbe4beccc37
5
5
  SHA512:
6
- metadata.gz: 8232a073c456dabb4075994f36ffcfa08f0e610ff9e0d79247619ccd82a0c7bad2bac45f651382d1ab22a29e4a797af7af7c7e9d8cac2b4281260399eddd510c
7
- data.tar.gz: 65954f1ec2a6172eb01db6b25c2305cdf5a9259046dacac827166fca675a83d3c29156c792496f25109011571048d7070fb4ecc7e1dc7292f4f0bb792b7b9289
6
+ metadata.gz: a43dca5dbed8b38730f9da539bbed0c8b19332f34b6cb7a49039d9c556e0ee3ec5ebab30bf1931fdbe91b88bec6f286550a794c58959b4ba4bc7383dc9fcb1cf
7
+ data.tar.gz: 5513ae25bf0d5803b2b1a2691867c4bd28aaa0047e68f16c104c0930c019e052d8c2d7351402a052b6153d8e108ee272512ee9dc4af9a9b108468a6097b59a0b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.987
1
+ 3.0.988
@@ -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.
@@ -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.987
4
+ version: 3.0.988
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-21 00:00:00.000000000 Z
11
+ date: 2025-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common