tencentcloud-sdk-ssl 3.0.752 → 3.0.753
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 +0 -26
- data/lib/v20191205/models.rb +2 -76
- 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: 4250158b44fde1c954caeb562567bceb28d5e324
|
4
|
+
data.tar.gz: c47126989f4f0d20524da665d67364efbcc4ec1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8032c438cc443840565d6e42ff458bd16fc6be9db95a26a0d62622c9be4b8740715e7822e62919c4ab49a1cfd133caed3399d8a146654bc6dc40735d65f9e1ef
|
7
|
+
data.tar.gz: be298fc69472e365f77cf920fe9c6b400f78bed512718508837618e6c40a93ea5b01f35a412b95c992ba0b5c026602cce4125ea35bc9bbf94ead5004f997fd92
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.753
|
data/lib/v20191205/client.rb
CHANGED
@@ -1013,32 +1013,6 @@ module TencentCloud
|
|
1013
1013
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1014
1014
|
end
|
1015
1015
|
|
1016
|
-
# 证书托管接口已重构, 旧接口预下线, 近30天无请求
|
1017
|
-
|
1018
|
-
# 云资源托管
|
1019
|
-
|
1020
|
-
# @param request: Request instance for HostCertificate.
|
1021
|
-
# @type request: :class:`Tencentcloud::ssl::V20191205::HostCertificateRequest`
|
1022
|
-
# @rtype: :class:`Tencentcloud::ssl::V20191205::HostCertificateResponse`
|
1023
|
-
def HostCertificate(request)
|
1024
|
-
body = send_request('HostCertificate', request.serialize)
|
1025
|
-
response = JSON.parse(body)
|
1026
|
-
if response['Response'].key?('Error') == false
|
1027
|
-
model = HostCertificateResponse.new
|
1028
|
-
model.deserialize(response['Response'])
|
1029
|
-
model
|
1030
|
-
else
|
1031
|
-
code = response['Response']['Error']['Code']
|
1032
|
-
message = response['Response']['Error']['Message']
|
1033
|
-
reqid = response['Response']['RequestId']
|
1034
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1035
|
-
end
|
1036
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1037
|
-
raise e
|
1038
|
-
rescue StandardError => e
|
1039
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1040
|
-
end
|
1041
|
-
|
1042
1016
|
# 用户传入证书id和备注来修改证书备注。
|
1043
1017
|
|
1044
1018
|
# @param request: Request instance for ModifyCertificateAlias.
|
data/lib/v20191205/models.rb
CHANGED
@@ -346,37 +346,6 @@ module TencentCloud
|
|
346
346
|
end
|
347
347
|
end
|
348
348
|
|
349
|
-
# 云资源配置详情
|
350
|
-
class CertHostingInfo < TencentCloud::Common::AbstractModel
|
351
|
-
# @param CertId: 证书ID
|
352
|
-
# @type CertId: String
|
353
|
-
# @param RenewCertId: 已替换的新证书ID
|
354
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
355
|
-
# @type RenewCertId: String
|
356
|
-
# @param ResourceType: 云资源托管 ,CDN或CLB:部分开启,CDN,CLB:已开启,null:未开启托管
|
357
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
358
|
-
# @type ResourceType: String
|
359
|
-
# @param CreateTime: 创建时间
|
360
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
361
|
-
# @type CreateTime: String
|
362
|
-
|
363
|
-
attr_accessor :CertId, :RenewCertId, :ResourceType, :CreateTime
|
364
|
-
|
365
|
-
def initialize(certid=nil, renewcertid=nil, resourcetype=nil, createtime=nil)
|
366
|
-
@CertId = certid
|
367
|
-
@RenewCertId = renewcertid
|
368
|
-
@ResourceType = resourcetype
|
369
|
-
@CreateTime = createtime
|
370
|
-
end
|
371
|
-
|
372
|
-
def deserialize(params)
|
373
|
-
@CertId = params['CertId']
|
374
|
-
@RenewCertId = params['RenewCertId']
|
375
|
-
@ResourceType = params['ResourceType']
|
376
|
-
@CreateTime = params['CreateTime']
|
377
|
-
end
|
378
|
-
end
|
379
|
-
|
380
349
|
# 证书异步任务ID
|
381
350
|
class CertTaskId < TencentCloud::Common::AbstractModel
|
382
351
|
# @param CertId: 证书ID
|
@@ -4423,49 +4392,6 @@ module TencentCloud
|
|
4423
4392
|
end
|
4424
4393
|
end
|
4425
4394
|
|
4426
|
-
# HostCertificate请求参数结构体
|
4427
|
-
class HostCertificateRequest < TencentCloud::Common::AbstractModel
|
4428
|
-
# @param CertificateId: 证书ID
|
4429
|
-
# @type CertificateId: String
|
4430
|
-
# @param ResourceType: 资源类型:目前仅限于CLB,CDN
|
4431
|
-
# @type ResourceType: Array
|
4432
|
-
|
4433
|
-
attr_accessor :CertificateId, :ResourceType
|
4434
|
-
|
4435
|
-
def initialize(certificateid=nil, resourcetype=nil)
|
4436
|
-
@CertificateId = certificateid
|
4437
|
-
@ResourceType = resourcetype
|
4438
|
-
end
|
4439
|
-
|
4440
|
-
def deserialize(params)
|
4441
|
-
@CertificateId = params['CertificateId']
|
4442
|
-
@ResourceType = params['ResourceType']
|
4443
|
-
end
|
4444
|
-
end
|
4445
|
-
|
4446
|
-
# HostCertificate返回参数结构体
|
4447
|
-
class HostCertificateResponse < TencentCloud::Common::AbstractModel
|
4448
|
-
# @param CertHostingInfo: 云资源配置详情
|
4449
|
-
# @type CertHostingInfo: :class:`Tencentcloud::Ssl.v20191205.models.CertHostingInfo`
|
4450
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4451
|
-
# @type RequestId: String
|
4452
|
-
|
4453
|
-
attr_accessor :CertHostingInfo, :RequestId
|
4454
|
-
|
4455
|
-
def initialize(certhostinginfo=nil, requestid=nil)
|
4456
|
-
@CertHostingInfo = certhostinginfo
|
4457
|
-
@RequestId = requestid
|
4458
|
-
end
|
4459
|
-
|
4460
|
-
def deserialize(params)
|
4461
|
-
unless params['CertHostingInfo'].nil?
|
4462
|
-
@CertHostingInfo = CertHostingInfo.new
|
4463
|
-
@CertHostingInfo.deserialize(params['CertHostingInfo'])
|
4464
|
-
end
|
4465
|
-
@RequestId = params['RequestId']
|
4466
|
-
end
|
4467
|
-
end
|
4468
|
-
|
4469
4395
|
# Lighthouse实例
|
4470
4396
|
class LighthouseInstanceDetail < TencentCloud::Common::AbstractModel
|
4471
4397
|
# @param InstanceId: 实例ID
|
@@ -6181,8 +6107,8 @@ module TencentCloud
|
|
6181
6107
|
|
6182
6108
|
attr_accessor :OldCertificateId, :ResourceTypes, :CertificateId, :Regions, :ResourceTypesRegions, :CertificatePublicKey, :CertificatePrivateKey, :ExpiringNotificationSwitch, :Repeatable, :AllowDownload, :Tags, :ProjectId
|
6183
6109
|
extend Gem::Deprecate
|
6184
|
-
deprecate :Regions, :none,
|
6185
|
-
deprecate :Regions=, :none,
|
6110
|
+
deprecate :Regions, :none, 2024, 1
|
6111
|
+
deprecate :Regions=, :none, 2024, 1
|
6186
6112
|
|
6187
6113
|
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)
|
6188
6114
|
@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.753
|
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-01-
|
11
|
+
date: 2024-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|