tencentcloud-sdk-ssl 3.0.806 → 3.0.808
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 +105 -6
- 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: 703d56ffc91afc9f1e7ef4c25d6c4b21b801a2cc
|
4
|
+
data.tar.gz: d21422f333c1d543ee4c390e7d9298a67960940b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a14d01e4ddce209ca173fafa8f6efd83125c5c31bed231e0ddcdd6d1d877949798d34e76e4a353aba4ac1b94e27d069b943651a286752ca2c65ddf7466d822e2
|
7
|
+
data.tar.gz: 3734a0eca156e8c95866665b7360fc6dc15327ce5444c76c1c83816ddbe309f0f3ac6ce85e8a0da5decca15ebafcf7fb8fb5cd8ab34855d33ab8930077eb1836
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.808
|
data/lib/v20191205/client.rb
CHANGED
@@ -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.
|
data/lib/v20191205/models.rb
CHANGED
@@ -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
|
@@ -3051,25 +3134,36 @@ module TencentCloud
|
|
3051
3134
|
class DescribeHostCosInstanceListRequest < TencentCloud::Common::AbstractModel
|
3052
3135
|
# @param CertificateId: 待部署的证书ID
|
3053
3136
|
# @type CertificateId: String
|
3054
|
-
# @param ResourceType: 部署资源类型 cos
|
3055
|
-
# @type ResourceType: String
|
3056
3137
|
# @param IsCache: 是否查询缓存,1:是; 0:否, 默认为查询缓存,缓存半小时
|
3057
3138
|
# @type IsCache: Integer
|
3058
3139
|
# @param Filters: 过滤参数列表
|
3059
3140
|
# @type Filters: Array
|
3141
|
+
# @param ResourceType: 部署资源类型 cos
|
3142
|
+
# @type ResourceType: String
|
3143
|
+
# @param OldCertificateId: 原证书ID
|
3144
|
+
# @type OldCertificateId: String
|
3145
|
+
# @param Offset: 分页偏移量,从0开始。
|
3146
|
+
# @type Offset: Integer
|
3147
|
+
# @param Limit: 每页数量,默认10。
|
3148
|
+
# @type Limit: Integer
|
3149
|
+
# @param AsyncCache: 是否异步
|
3150
|
+
# @type AsyncCache: Integer
|
3060
3151
|
|
3061
|
-
attr_accessor :CertificateId, :ResourceType, :
|
3152
|
+
attr_accessor :CertificateId, :IsCache, :Filters, :ResourceType, :OldCertificateId, :Offset, :Limit, :AsyncCache
|
3062
3153
|
|
3063
|
-
def initialize(certificateid=nil, resourcetype=nil,
|
3154
|
+
def initialize(certificateid=nil, iscache=nil, filters=nil, resourcetype=nil, oldcertificateid=nil, offset=nil, limit=nil, asynccache=nil)
|
3064
3155
|
@CertificateId = certificateid
|
3065
|
-
@ResourceType = resourcetype
|
3066
3156
|
@IsCache = iscache
|
3067
3157
|
@Filters = filters
|
3158
|
+
@ResourceType = resourcetype
|
3159
|
+
@OldCertificateId = oldcertificateid
|
3160
|
+
@Offset = offset
|
3161
|
+
@Limit = limit
|
3162
|
+
@AsyncCache = asynccache
|
3068
3163
|
end
|
3069
3164
|
|
3070
3165
|
def deserialize(params)
|
3071
3166
|
@CertificateId = params['CertificateId']
|
3072
|
-
@ResourceType = params['ResourceType']
|
3073
3167
|
@IsCache = params['IsCache']
|
3074
3168
|
unless params['Filters'].nil?
|
3075
3169
|
@Filters = []
|
@@ -3079,6 +3173,11 @@ module TencentCloud
|
|
3079
3173
|
@Filters << filter_tmp
|
3080
3174
|
end
|
3081
3175
|
end
|
3176
|
+
@ResourceType = params['ResourceType']
|
3177
|
+
@OldCertificateId = params['OldCertificateId']
|
3178
|
+
@Offset = params['Offset']
|
3179
|
+
@Limit = params['Limit']
|
3180
|
+
@AsyncCache = params['AsyncCache']
|
3082
3181
|
end
|
3083
3182
|
end
|
3084
3183
|
|
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.808
|
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-
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|