tencentcloud-sdk-ssl 3.0.852 → 3.0.854
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 +26 -2
- data/lib/v20191205/models.rb +85 -5
- 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: 3bc65ac8f6ae73bddcf6143c4152fe60d17fe912
|
4
|
+
data.tar.gz: 89d68460db1108e3bfb5ba7462a5417c05ff4f95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46bd95df75f980b6bd3de6f0efbf2b74e2a6416812ba60a11e52fe578719620655376b29a89e9a2519a13f23ba346b584db795d59c73305d5d04f06216f5e13a
|
7
|
+
data.tar.gz: 798e11a930f5e51ae08b2efd8fb3455f8f156c79ac57d545c5d240bb5ee475c6cdcc4974bdc3edb5fc18916ec3e1c38bf340d34551224d65dfdde8aed7b382c0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.854
|
data/lib/v20191205/client.rb
CHANGED
@@ -197,7 +197,7 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
-
# 创建证书绑定关联云资源异步任务, 该接口用于查询证书关联云资源。 若证书ID已存在查询云资源任务,则结果返回该任务ID。关联云资源类型,支持以下云资源:clb、cdn、waf、live、vod、ddos、tke、apigateway、tcb、teo(edgeOne
|
200
|
+
# 创建证书绑定关联云资源异步任务, 该接口用于查询证书关联云资源。 若证书ID已存在查询云资源任务,则结果返回该任务ID。关联云资源类型,支持以下云资源:clb、cdn、waf、live、vod、ddos、tke、apigateway、tcb、teo(edgeOne)、cos。查询关联云资源结果使用DescribeCertificateBindResourceTaskResult接口
|
201
201
|
|
202
202
|
# @param request: Request instance for CreateCertificateBindResourceSyncTask.
|
203
203
|
# @type request: :class:`Tencentcloud::ssl::V20191205::CreateCertificateBindResourceSyncTaskRequest`
|
@@ -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.
|
@@ -413,7 +437,7 @@ module TencentCloud
|
|
413
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
438
|
end
|
415
439
|
|
416
|
-
# 查询CreateCertificateBindResourceSyncTask任务结果, 返回证书关联云资源异步任务结果, 支持以下云资源:clb、cdn、waf、live、vod、ddos、tke、apigateway、tcb、teo(edgeOne
|
440
|
+
# 查询CreateCertificateBindResourceSyncTask任务结果, 返回证书关联云资源异步任务结果, 支持以下云资源:clb、cdn、waf、live、vod、ddos、tke、apigateway、tcb、teo(edgeOne)、cos
|
417
441
|
|
418
442
|
# @param request: Request instance for DescribeCertificateBindResourceTaskResult.
|
419
443
|
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeCertificateBindResourceTaskResultRequest`
|
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: 地域
|
@@ -186,17 +208,22 @@ module TencentCloud
|
|
186
208
|
# @type Region: String
|
187
209
|
# @param TotalCount: 关联资源总数
|
188
210
|
# @type TotalCount: Integer
|
211
|
+
# @param Error: 是否查询异常
|
212
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
213
|
+
# @type Error: String
|
189
214
|
|
190
|
-
attr_accessor :Region, :TotalCount
|
215
|
+
attr_accessor :Region, :TotalCount, :Error
|
191
216
|
|
192
|
-
def initialize(region=nil, totalcount=nil)
|
217
|
+
def initialize(region=nil, totalcount=nil, error=nil)
|
193
218
|
@Region = region
|
194
219
|
@TotalCount = totalcount
|
220
|
+
@Error = error
|
195
221
|
end
|
196
222
|
|
197
223
|
def deserialize(params)
|
198
224
|
@Region = params['Region']
|
199
225
|
@TotalCount = params['TotalCount']
|
226
|
+
@Error = params['Error']
|
200
227
|
end
|
201
228
|
end
|
202
229
|
|
@@ -1479,6 +1506,59 @@ module TencentCloud
|
|
1479
1506
|
end
|
1480
1507
|
end
|
1481
1508
|
|
1509
|
+
# DeleteCertificates请求参数结构体
|
1510
|
+
class DeleteCertificatesRequest < TencentCloud::Common::AbstractModel
|
1511
|
+
|
1512
|
+
|
1513
|
+
def initialize()
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
def deserialize(params)
|
1517
|
+
end
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
# DeleteCertificates返回参数结构体
|
1521
|
+
class DeleteCertificatesResponse < TencentCloud::Common::AbstractModel
|
1522
|
+
# @param Success: 成功的ID
|
1523
|
+
# @type Success: Array
|
1524
|
+
# @param Fail: 失败的ID和原因
|
1525
|
+
# @type Fail: Array
|
1526
|
+
# @param CertTaskIds: 证书ID和异步任务的ID
|
1527
|
+
# @type CertTaskIds: Array
|
1528
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1529
|
+
# @type RequestId: String
|
1530
|
+
|
1531
|
+
attr_accessor :Success, :Fail, :CertTaskIds, :RequestId
|
1532
|
+
|
1533
|
+
def initialize(success=nil, fail=nil, certtaskids=nil, requestid=nil)
|
1534
|
+
@Success = success
|
1535
|
+
@Fail = fail
|
1536
|
+
@CertTaskIds = certtaskids
|
1537
|
+
@RequestId = requestid
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
def deserialize(params)
|
1541
|
+
@Success = params['Success']
|
1542
|
+
unless params['Fail'].nil?
|
1543
|
+
@Fail = []
|
1544
|
+
params['Fail'].each do |i|
|
1545
|
+
batchdeletefail_tmp = BatchDeleteFail.new
|
1546
|
+
batchdeletefail_tmp.deserialize(i)
|
1547
|
+
@Fail << batchdeletefail_tmp
|
1548
|
+
end
|
1549
|
+
end
|
1550
|
+
unless params['CertTaskIds'].nil?
|
1551
|
+
@CertTaskIds = []
|
1552
|
+
params['CertTaskIds'].each do |i|
|
1553
|
+
certtaskid_tmp = CertTaskId.new
|
1554
|
+
certtaskid_tmp.deserialize(i)
|
1555
|
+
@CertTaskIds << certtaskid_tmp
|
1556
|
+
end
|
1557
|
+
end
|
1558
|
+
@RequestId = params['RequestId']
|
1559
|
+
end
|
1560
|
+
end
|
1561
|
+
|
1482
1562
|
# DeleteManager请求参数结构体
|
1483
1563
|
class DeleteManagerRequest < TencentCloud::Common::AbstractModel
|
1484
1564
|
# @param ManagerId: 管理人ID
|
@@ -6337,7 +6417,7 @@ module TencentCloud
|
|
6337
6417
|
class UpdateCertificateInstanceRequest < TencentCloud::Common::AbstractModel
|
6338
6418
|
# @param OldCertificateId: 一键更新原证书ID, 查询绑定该证书的云资源然后进行证书更新
|
6339
6419
|
# @type OldCertificateId: String
|
6340
|
-
# @param ResourceTypes: 需要部署的资源类型,参数值可选(小写):clb、cdn、waf、live、ddos、teo、apigateway、vod、tke、tcb、tse
|
6420
|
+
# @param ResourceTypes: 需要部署的资源类型,参数值可选(小写):clb、cdn、waf、live、ddos、teo、apigateway、vod、tke、tcb、tse、cos
|
6341
6421
|
# @type ResourceTypes: Array
|
6342
6422
|
# @param CertificateId: 一键更新新证书ID,不传该则证书公钥和私钥必传
|
6343
6423
|
# @type CertificateId: String
|
@@ -6362,8 +6442,8 @@ module TencentCloud
|
|
6362
6442
|
|
6363
6443
|
attr_accessor :OldCertificateId, :ResourceTypes, :CertificateId, :Regions, :ResourceTypesRegions, :CertificatePublicKey, :CertificatePrivateKey, :ExpiringNotificationSwitch, :Repeatable, :AllowDownload, :Tags, :ProjectId
|
6364
6444
|
extend Gem::Deprecate
|
6365
|
-
deprecate :Regions, :none, 2024,
|
6366
|
-
deprecate :Regions=, :none, 2024,
|
6445
|
+
deprecate :Regions, :none, 2024, 7
|
6446
|
+
deprecate :Regions=, :none, 2024, 7
|
6367
6447
|
|
6368
6448
|
def initialize(oldcertificateid=nil, resourcetypes=nil, certificateid=nil, regions=nil, resourcetypesregions=nil, certificatepublickey=nil, certificateprivatekey=nil, expiringnotificationswitch=nil, repeatable=nil, allowdownload=nil, tags=nil, projectid=nil)
|
6369
6449
|
@OldCertificateId = oldcertificateid
|
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.854
|
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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|