tencentcloud-sdk-ssl 3.0.1077 → 3.0.1083
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191205/client.rb +26 -2
- data/lib/v20191205/models.rb +77 -4
- 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: e21302e7a14bb8ed75c4605c86904328bf2cfc4e
|
4
|
+
data.tar.gz: 8374b76f1fada5f57eb25661ebcdcf5fc16f9477
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 412146affc9225f7d250f39617ef1280766c7d84dd67b0bcd531a3690563b7d83a3a4810357b1f164420e7619f9d5d5b148c3172d4f3b5c42bba94503656218f
|
7
|
+
data.tar.gz: 725afd8742185d498924d362abcb5af13369852f5c180159ce5c24ba7c7fb380cf338612225278402ea02be1b11291d3e1281bf1ff00d172dd5468e1a3d28b04
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1083
|
data/lib/v20191205/client.rb
CHANGED
@@ -1476,7 +1476,7 @@ module TencentCloud
|
|
1476
1476
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1477
1477
|
end
|
1478
1478
|
|
1479
|
-
# 本接口(UploadConfirmLetter
|
1479
|
+
# 本接口(UploadConfirmLetter)上传证书确认函,不再维护其功能,请用户前往腾讯云证书控制台上传证书确认函
|
1480
1480
|
|
1481
1481
|
# @param request: Request instance for UploadConfirmLetter.
|
1482
1482
|
# @type request: :class:`Tencentcloud::ssl::V20191205::UploadConfirmLetterRequest`
|
@@ -1500,7 +1500,7 @@ module TencentCloud
|
|
1500
1500
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1501
1501
|
end
|
1502
1502
|
|
1503
|
-
# 本接口(UploadRevokeLetter
|
1503
|
+
# 本接口(UploadRevokeLetter)上传证书吊销确认函,不再维护其功能,请用户前往腾讯云证书控制台上传证书吊销确认函
|
1504
1504
|
|
1505
1505
|
# @param request: Request instance for UploadRevokeLetter.
|
1506
1506
|
# @type request: :class:`Tencentcloud::ssl::V20191205::UploadRevokeLetterRequest`
|
@@ -1524,6 +1524,30 @@ module TencentCloud
|
|
1524
1524
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1525
1525
|
end
|
1526
1526
|
|
1527
|
+
# 更新证书内容(证书ID不变)并更新关联的云资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
|
1528
|
+
|
1529
|
+
# @param request: Request instance for UploadUpdateCertificateInstance.
|
1530
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::UploadUpdateCertificateInstanceRequest`
|
1531
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::UploadUpdateCertificateInstanceResponse`
|
1532
|
+
def UploadUpdateCertificateInstance(request)
|
1533
|
+
body = send_request('UploadUpdateCertificateInstance', request.serialize)
|
1534
|
+
response = JSON.parse(body)
|
1535
|
+
if response['Response'].key?('Error') == false
|
1536
|
+
model = UploadUpdateCertificateInstanceResponse.new
|
1537
|
+
model.deserialize(response['Response'])
|
1538
|
+
model
|
1539
|
+
else
|
1540
|
+
code = response['Response']['Error']['Code']
|
1541
|
+
message = response['Response']['Error']['Message']
|
1542
|
+
reqid = response['Response']['RequestId']
|
1543
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1544
|
+
end
|
1545
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1546
|
+
raise e
|
1547
|
+
rescue StandardError => e
|
1548
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1549
|
+
end
|
1550
|
+
|
1527
1551
|
# 重新核验管理人
|
1528
1552
|
|
1529
1553
|
# @param request: Request instance for VerifyManager.
|
data/lib/v20191205/models.rb
CHANGED
@@ -627,11 +627,9 @@ module TencentCloud
|
|
627
627
|
# @type ContactEmail: String
|
628
628
|
# @param AutoRenewFlag: 是否开启自动续费: 0, 不开启; 1, 开启; 默认为0
|
629
629
|
# @type AutoRenewFlag: Integer
|
630
|
-
# @param CsrKeyParameter: 密钥对参数,RSA支持2048,4096。ECC仅支持prime256v1
|
631
|
-
# 国密证书类型本字段不用传
|
630
|
+
# @param CsrKeyParameter: 密钥对参数,RSA支持2048,4096。ECC仅支持prime256v1。当 CSR 生成方式为online的时候,此参数必填。
|
632
631
|
# @type CsrKeyParameter: String
|
633
|
-
# @param CsrEncryptAlgo: 加密算法,取值为ECC、RSA, 默认为RSA
|
634
|
-
# 国密证书类型本字段不用传
|
632
|
+
# @param CsrEncryptAlgo: 加密算法,取值为ECC、RSA, 默认为RSA。当 CSR 生成方式为online的时候,此参数必填。
|
635
633
|
# @type CsrEncryptAlgo: String
|
636
634
|
# @param ManagerId: 管理人ID,在 [腾讯云控制台](https://console.cloud.tencent.com/ssl/info) 可进行查看,若无满足的管理人信息, 则本参数传0 ; 若存在满足当前订单的管理人信息, 可以根据 [DescribeManagers](https://cloud.tencent.com/document/product/400/52672) 查看管理人ID; 若传了管理人ID,则Org开头、Admin开头、Tech开头的参数可不传; 管理人ID会包含公司信息
|
637
635
|
# @type ManagerId: String
|
@@ -8039,6 +8037,81 @@ module TencentCloud
|
|
8039
8037
|
end
|
8040
8038
|
end
|
8041
8039
|
|
8040
|
+
# UploadUpdateCertificateInstance请求参数结构体
|
8041
|
+
class UploadUpdateCertificateInstanceRequest < TencentCloud::Common::AbstractModel
|
8042
|
+
# @param OldCertificateId: 一键更新的旧证书ID。 通过查询该证书ID绑定的云资源,然后使用新证书对这些云资源进行更新
|
8043
|
+
# @type OldCertificateId: String
|
8044
|
+
# @param ResourceTypes: 需要部署的资源类型,参数值可选(小写):clb
|
8045
|
+
# @type ResourceTypes: Array
|
8046
|
+
# @param CertificatePublicKey: 公钥证书
|
8047
|
+
# @type CertificatePublicKey: String
|
8048
|
+
# @param CertificatePrivateKey: 私钥证书
|
8049
|
+
# @type CertificatePrivateKey: String
|
8050
|
+
# @param ResourceTypesRegions: 云资源需要部署的地域列表,支持地域的云资源类型必传,取值:clb
|
8051
|
+
# @type ResourceTypesRegions: Array
|
8052
|
+
|
8053
|
+
attr_accessor :OldCertificateId, :ResourceTypes, :CertificatePublicKey, :CertificatePrivateKey, :ResourceTypesRegions
|
8054
|
+
|
8055
|
+
def initialize(oldcertificateid=nil, resourcetypes=nil, certificatepublickey=nil, certificateprivatekey=nil, resourcetypesregions=nil)
|
8056
|
+
@OldCertificateId = oldcertificateid
|
8057
|
+
@ResourceTypes = resourcetypes
|
8058
|
+
@CertificatePublicKey = certificatepublickey
|
8059
|
+
@CertificatePrivateKey = certificateprivatekey
|
8060
|
+
@ResourceTypesRegions = resourcetypesregions
|
8061
|
+
end
|
8062
|
+
|
8063
|
+
def deserialize(params)
|
8064
|
+
@OldCertificateId = params['OldCertificateId']
|
8065
|
+
@ResourceTypes = params['ResourceTypes']
|
8066
|
+
@CertificatePublicKey = params['CertificatePublicKey']
|
8067
|
+
@CertificatePrivateKey = params['CertificatePrivateKey']
|
8068
|
+
unless params['ResourceTypesRegions'].nil?
|
8069
|
+
@ResourceTypesRegions = []
|
8070
|
+
params['ResourceTypesRegions'].each do |i|
|
8071
|
+
resourcetyperegions_tmp = ResourceTypeRegions.new
|
8072
|
+
resourcetyperegions_tmp.deserialize(i)
|
8073
|
+
@ResourceTypesRegions << resourcetyperegions_tmp
|
8074
|
+
end
|
8075
|
+
end
|
8076
|
+
end
|
8077
|
+
end
|
8078
|
+
|
8079
|
+
# UploadUpdateCertificateInstance返回参数结构体
|
8080
|
+
class UploadUpdateCertificateInstanceResponse < TencentCloud::Common::AbstractModel
|
8081
|
+
# @param DeployRecordId: 云资源更新任务ID, DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
|
8082
|
+
# @type DeployRecordId: Integer
|
8083
|
+
# @param DeployStatus: 更新任务创建状态;1表示创建成功; 0表示当前存在更新中的任务,未创建新的更新任务;返回值DeployRecordId为更新中的任务ID
|
8084
|
+
# @type DeployStatus: Integer
|
8085
|
+
# @param UpdateSyncProgress: 更新异步创建任务进度详情
|
8086
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8087
|
+
# @type UpdateSyncProgress: Array
|
8088
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8089
|
+
# @type RequestId: String
|
8090
|
+
|
8091
|
+
attr_accessor :DeployRecordId, :DeployStatus, :UpdateSyncProgress, :RequestId
|
8092
|
+
|
8093
|
+
def initialize(deployrecordid=nil, deploystatus=nil, updatesyncprogress=nil, requestid=nil)
|
8094
|
+
@DeployRecordId = deployrecordid
|
8095
|
+
@DeployStatus = deploystatus
|
8096
|
+
@UpdateSyncProgress = updatesyncprogress
|
8097
|
+
@RequestId = requestid
|
8098
|
+
end
|
8099
|
+
|
8100
|
+
def deserialize(params)
|
8101
|
+
@DeployRecordId = params['DeployRecordId']
|
8102
|
+
@DeployStatus = params['DeployStatus']
|
8103
|
+
unless params['UpdateSyncProgress'].nil?
|
8104
|
+
@UpdateSyncProgress = []
|
8105
|
+
params['UpdateSyncProgress'].each do |i|
|
8106
|
+
updatesyncprogress_tmp = UpdateSyncProgress.new
|
8107
|
+
updatesyncprogress_tmp.deserialize(i)
|
8108
|
+
@UpdateSyncProgress << updatesyncprogress_tmp
|
8109
|
+
end
|
8110
|
+
end
|
8111
|
+
@RequestId = params['RequestId']
|
8112
|
+
end
|
8113
|
+
end
|
8114
|
+
|
8042
8115
|
# vod实例详情 - 异步关联云资源数据结构
|
8043
8116
|
class VODInstanceList < TencentCloud::Common::AbstractModel
|
8044
8117
|
# @param InstanceList: vod实例详情
|
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.1083
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|