tencentcloud-sdk-ssl 3.0.852 → 3.0.853
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 +75 -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: 70f02306466e672f8aae92863fd4a3134dead523
|
4
|
+
data.tar.gz: 81537f75d9fca4307348a77116aad9dad031bcd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26bf3dab704b8efb2eaf9ef2beb23787b4e5930fdc6391646741d3adbc1228689b946bff9b698bd9f2f608ee41437056f65a46621cf596a402f963007e08260d
|
7
|
+
data.tar.gz: 7b9114cc6772894d70749e2ed6e66947c55d4d0ca8a6b55647a8722a87620fd1fc79fb427f850dc6479ee7599ebf986426a9e8223e63300a636a06195d9e225f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.853
|
data/lib/v20191205/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 批量删除证书,删除证书前支持查询证书是否关联了腾讯云云资源 (需自定义配置参数,参数名称:IsSync)
|
273
|
+
|
274
|
+
# @param request: Request instance for DeleteCertificates.
|
275
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DeleteCertificatesRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DeleteCertificatesResponse`
|
277
|
+
def DeleteCertificates(request)
|
278
|
+
body = send_request('DeleteCertificates', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DeleteCertificatesResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 删除管理人
|
273
297
|
|
274
298
|
# @param request: Request instance for DeleteManager.
|
data/lib/v20191205/models.rb
CHANGED
@@ -179,6 +179,28 @@ module TencentCloud
|
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
182
|
+
# 批量删除失败的项
|
183
|
+
class BatchDeleteFail < TencentCloud::Common::AbstractModel
|
184
|
+
# @param CertId: 失败的证书ID
|
185
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
186
|
+
# @type CertId: String
|
187
|
+
# @param Msg: 失败的原因
|
188
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
189
|
+
# @type Msg: String
|
190
|
+
|
191
|
+
attr_accessor :CertId, :Msg
|
192
|
+
|
193
|
+
def initialize(certid=nil, msg=nil)
|
194
|
+
@CertId = certid
|
195
|
+
@Msg = msg
|
196
|
+
end
|
197
|
+
|
198
|
+
def deserialize(params)
|
199
|
+
@CertId = params['CertId']
|
200
|
+
@Msg = params['Msg']
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
182
204
|
# 绑定资源地域结果
|
183
205
|
class BindResourceRegionResult < TencentCloud::Common::AbstractModel
|
184
206
|
# @param Region: 地域
|
@@ -1479,6 +1501,59 @@ module TencentCloud
|
|
1479
1501
|
end
|
1480
1502
|
end
|
1481
1503
|
|
1504
|
+
# DeleteCertificates请求参数结构体
|
1505
|
+
class DeleteCertificatesRequest < TencentCloud::Common::AbstractModel
|
1506
|
+
|
1507
|
+
|
1508
|
+
def initialize()
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
def deserialize(params)
|
1512
|
+
end
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
# DeleteCertificates返回参数结构体
|
1516
|
+
class DeleteCertificatesResponse < TencentCloud::Common::AbstractModel
|
1517
|
+
# @param Success: 成功的ID
|
1518
|
+
# @type Success: Array
|
1519
|
+
# @param Fail: 失败的ID和原因
|
1520
|
+
# @type Fail: Array
|
1521
|
+
# @param CertTaskIds: 证书ID和异步任务的ID
|
1522
|
+
# @type CertTaskIds: Array
|
1523
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1524
|
+
# @type RequestId: String
|
1525
|
+
|
1526
|
+
attr_accessor :Success, :Fail, :CertTaskIds, :RequestId
|
1527
|
+
|
1528
|
+
def initialize(success=nil, fail=nil, certtaskids=nil, requestid=nil)
|
1529
|
+
@Success = success
|
1530
|
+
@Fail = fail
|
1531
|
+
@CertTaskIds = certtaskids
|
1532
|
+
@RequestId = requestid
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
def deserialize(params)
|
1536
|
+
@Success = params['Success']
|
1537
|
+
unless params['Fail'].nil?
|
1538
|
+
@Fail = []
|
1539
|
+
params['Fail'].each do |i|
|
1540
|
+
batchdeletefail_tmp = BatchDeleteFail.new
|
1541
|
+
batchdeletefail_tmp.deserialize(i)
|
1542
|
+
@Fail << batchdeletefail_tmp
|
1543
|
+
end
|
1544
|
+
end
|
1545
|
+
unless params['CertTaskIds'].nil?
|
1546
|
+
@CertTaskIds = []
|
1547
|
+
params['CertTaskIds'].each do |i|
|
1548
|
+
certtaskid_tmp = CertTaskId.new
|
1549
|
+
certtaskid_tmp.deserialize(i)
|
1550
|
+
@CertTaskIds << certtaskid_tmp
|
1551
|
+
end
|
1552
|
+
end
|
1553
|
+
@RequestId = params['RequestId']
|
1554
|
+
end
|
1555
|
+
end
|
1556
|
+
|
1482
1557
|
# DeleteManager请求参数结构体
|
1483
1558
|
class DeleteManagerRequest < TencentCloud::Common::AbstractModel
|
1484
1559
|
# @param ManagerId: 管理人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.853
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|