tencentcloud-sdk-ssl 3.0.806 → 3.0.807

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: 3c330e92710f0f39491c913e1cb2626b5f967a5e
4
- data.tar.gz: 9e33a97a76852df79254f5e93578dfd6f6961c48
3
+ metadata.gz: ba93a15dddc6ca091dd1bfdbcec10424c1851e13
4
+ data.tar.gz: 81c0b39f2f1ff99616351eef624c8eee07b2dbbd
5
5
  SHA512:
6
- metadata.gz: 688b0c6ed9b29599ace10c7fb5dd4c3a958517561f61f4fd975b12a3a3ec36230d8926b0c623ae096f59bc29477b9b0563a5cdb885a7b113d51dd1444b1b8446
7
- data.tar.gz: 35bee30c1555452ce65b58c02b11e3dbfea52a40da18dccdf22f1990ad027d43d768fc7ef9ab833756761bfaf515d64dde394c7eb4807ea55ac2467e89811f0f
6
+ metadata.gz: b3b686d470895b253d4df97fcfe0e83a774eddafb28fc49eb82b6bb55bd51ee052dc44872431922cdd83478699c7aea9bc218f963064df11df2854ab014b8bed
7
+ data.tar.gz: be4caed73decf9303f9999146a697eae7a24070563684d5b60c26b6de330cfff44247bacb1c3a04ed6437d780492708f5c88c8d46cc26bd982ca6e3f9112f8a5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.806
1
+ 3.0.807
@@ -533,6 +533,30 @@ module TencentCloud
533
533
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
534
  end
535
535
 
536
+ # 查询批量删除任务结果
537
+
538
+ # @param request: Request instance for DescribeDeleteCertificatesTaskResult.
539
+ # @type request: :class:`Tencentcloud::ssl::V20191205::DescribeDeleteCertificatesTaskResultRequest`
540
+ # @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeDeleteCertificatesTaskResultResponse`
541
+ def DescribeDeleteCertificatesTaskResult(request)
542
+ body = send_request('DescribeDeleteCertificatesTaskResult', request.serialize)
543
+ response = JSON.parse(body)
544
+ if response['Response'].key?('Error') == false
545
+ model = DescribeDeleteCertificatesTaskResultResponse.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
+
536
560
  # 证书查询关联资源, 最新查询接口请使用CreateCertificateBindResourceSyncTask, 可以查询更多支持的云资源
537
561
 
538
562
  # @param request: Request instance for DescribeDeployedResources.
@@ -1456,6 +1456,45 @@ module TencentCloud
1456
1456
  end
1457
1457
  end
1458
1458
 
1459
+ # 批量删除证书异步任务结果
1460
+ class DeleteTaskResult < TencentCloud::Common::AbstractModel
1461
+ # @param TaskId: 任务ID
1462
+ # @type TaskId: String
1463
+ # @param CertId: 证书ID
1464
+ # @type CertId: String
1465
+ # @param Status: 异步查询结果: 0表示任务进行中、 1表示任务成功、 2表示任务失败、3表示未授权服务角色导致任务失败、4表示有未解绑的云资源导致任务失败、5表示查询关联云资源超时导致任务失败
1466
+ # @type Status: Integer
1467
+ # @param Error: 错误信息
1468
+ # 注意:此字段可能返回 null,表示取不到有效值。
1469
+ # @type Error: String
1470
+ # @param CacheTime: 当前结果缓存时间
1471
+ # 注意:此字段可能返回 null,表示取不到有效值。
1472
+ # @type CacheTime: String
1473
+ # @param Domains: 包含的域名
1474
+ # 注意:此字段可能返回 null,表示取不到有效值。
1475
+ # @type Domains: Array
1476
+
1477
+ attr_accessor :TaskId, :CertId, :Status, :Error, :CacheTime, :Domains
1478
+
1479
+ def initialize(taskid=nil, certid=nil, status=nil, error=nil, cachetime=nil, domains=nil)
1480
+ @TaskId = taskid
1481
+ @CertId = certid
1482
+ @Status = status
1483
+ @Error = error
1484
+ @CacheTime = cachetime
1485
+ @Domains = domains
1486
+ end
1487
+
1488
+ def deserialize(params)
1489
+ @TaskId = params['TaskId']
1490
+ @CertId = params['CertId']
1491
+ @Status = params['Status']
1492
+ @Error = params['Error']
1493
+ @CacheTime = params['CacheTime']
1494
+ @Domains = params['Domains']
1495
+ end
1496
+ end
1497
+
1459
1498
  # DeployCertificateInstance请求参数结构体
1460
1499
  class DeployCertificateInstanceRequest < TencentCloud::Common::AbstractModel
1461
1500
  # @param CertificateId: 待部署的证书ID
@@ -2735,6 +2774,50 @@ module TencentCloud
2735
2774
  end
2736
2775
  end
2737
2776
 
2777
+ # DescribeDeleteCertificatesTaskResult请求参数结构体
2778
+ class DescribeDeleteCertificatesTaskResultRequest < TencentCloud::Common::AbstractModel
2779
+ # @param TaskIds: DeleteCertificates接口返回的任务ID, 最大支持100个
2780
+ # @type TaskIds: Array
2781
+
2782
+ attr_accessor :TaskIds
2783
+
2784
+ def initialize(taskids=nil)
2785
+ @TaskIds = taskids
2786
+ end
2787
+
2788
+ def deserialize(params)
2789
+ @TaskIds = params['TaskIds']
2790
+ end
2791
+ end
2792
+
2793
+ # DescribeDeleteCertificatesTaskResult返回参数结构体
2794
+ class DescribeDeleteCertificatesTaskResultResponse < TencentCloud::Common::AbstractModel
2795
+ # @param DeleteTaskResult: 批量删除证书异步任务结果
2796
+ # 注意:此字段可能返回 null,表示取不到有效值。
2797
+ # @type DeleteTaskResult: Array
2798
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2799
+ # @type RequestId: String
2800
+
2801
+ attr_accessor :DeleteTaskResult, :RequestId
2802
+
2803
+ def initialize(deletetaskresult=nil, requestid=nil)
2804
+ @DeleteTaskResult = deletetaskresult
2805
+ @RequestId = requestid
2806
+ end
2807
+
2808
+ def deserialize(params)
2809
+ unless params['DeleteTaskResult'].nil?
2810
+ @DeleteTaskResult = []
2811
+ params['DeleteTaskResult'].each do |i|
2812
+ deletetaskresult_tmp = DeleteTaskResult.new
2813
+ deletetaskresult_tmp.deserialize(i)
2814
+ @DeleteTaskResult << deletetaskresult_tmp
2815
+ end
2816
+ end
2817
+ @RequestId = params['RequestId']
2818
+ end
2819
+ end
2820
+
2738
2821
  # DescribeDeployedResources请求参数结构体
2739
2822
  class DescribeDeployedResourcesRequest < TencentCloud::Common::AbstractModel
2740
2823
  # @param CertificateIds: 证书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.806
4
+ version: 3.0.807
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-04-18 00:00:00.000000000 Z
11
+ date: 2024-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common