tencentcloud-sdk-ssl 3.0.582 → 3.0.584
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 +24 -0
- data/lib/v20191205/models.rb +111 -0
- 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: 7cf2e2a2d9c25572ce13b2f5d872383476af89ab
|
4
|
+
data.tar.gz: 05b75211d738c3c3a98ffc17cf230a567b47a5b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34df592a0f18319cbcd3259d6f73461c211709884115e05925cc72dbb5fc7061c52ed7f3483ba60479b3f4b22d6e4551d03bea3b6a19e8ce5691be9fe5d0ca08
|
7
|
+
data.tar.gz: 042460e7ed24953ad13ca294b386f16ab04bf5f629a4e9b8d70927d5db98084412e51e58835771be46d3803565d615d8509a2f69daff0ae7994dd60d1aeaebb5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.584
|
data/lib/v20191205/client.rb
CHANGED
@@ -173,6 +173,30 @@ module TencentCloud
|
|
173
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
174
|
end
|
175
175
|
|
176
|
+
# 使用权益点创建证书
|
177
|
+
|
178
|
+
# @param request: Request instance for CreateCertificateByPackage.
|
179
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::CreateCertificateByPackageRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::CreateCertificateByPackageResponse`
|
181
|
+
def CreateCertificateByPackage(request)
|
182
|
+
body = send_request('CreateCertificateByPackage', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = CreateCertificateByPackageResponse.new
|
186
|
+
model.deserialize(response['Response'])
|
187
|
+
model
|
188
|
+
else
|
189
|
+
code = response['Response']['Error']['Code']
|
190
|
+
message = response['Response']['Error']['Message']
|
191
|
+
reqid = response['Response']['RequestId']
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
+
end
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
+
raise e
|
196
|
+
rescue StandardError => e
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
+
end
|
199
|
+
|
176
200
|
# 本接口(DeleteCertificate)用于删除证书。
|
177
201
|
|
178
202
|
# @param request: Request instance for DeleteCertificate.
|
data/lib/v20191205/models.rb
CHANGED
@@ -843,6 +843,117 @@ module TencentCloud
|
|
843
843
|
end
|
844
844
|
end
|
845
845
|
|
846
|
+
# CreateCertificateByPackage请求参数结构体
|
847
|
+
class CreateCertificateByPackageRequest < TencentCloud::Common::AbstractModel
|
848
|
+
# @param ProductPid: 证书产品PID。
|
849
|
+
# @type ProductPid: Integer
|
850
|
+
# @param PackageIds: 要消耗的权益包ID。
|
851
|
+
# @type PackageIds: Array
|
852
|
+
# @param DomainCount: 证书域名数量。
|
853
|
+
# @type DomainCount: String
|
854
|
+
# @param Period: 多年期证书年限。
|
855
|
+
# @type Period: Integer
|
856
|
+
# @param OldCertificateId: 要续费的原证书ID(续费时填写)。
|
857
|
+
# @type OldCertificateId: String
|
858
|
+
# @param RenewGenCsrMethod: 续费时CSR生成方式(original、upload、online)。
|
859
|
+
# @type RenewGenCsrMethod: String
|
860
|
+
# @param RenewCsr: 续费时选择上传CSR时填写CSR。
|
861
|
+
# @type RenewCsr: String
|
862
|
+
# @param RenewAlgorithmType: 续费证书CSR的算法类型。
|
863
|
+
# @type RenewAlgorithmType: String
|
864
|
+
# @param RenewAlgorithmParam: 续费证书CSR的算法参数。
|
865
|
+
# @type RenewAlgorithmParam: String
|
866
|
+
# @param ProjectId: 项目ID。
|
867
|
+
# @type ProjectId: Integer
|
868
|
+
# @param Tags: 标签。
|
869
|
+
# @type Tags: Array
|
870
|
+
# @param RenewKeyPass: 续费证书的私钥密码。
|
871
|
+
# @type RenewKeyPass: String
|
872
|
+
# @param DomainNames: 批量购买证书时预填写的域名。
|
873
|
+
# @type DomainNames: String
|
874
|
+
# @param CertificateCount: 批量购买证书数量。
|
875
|
+
# @type CertificateCount: Integer
|
876
|
+
# @param ManagerId: 预填写的管理人ID。
|
877
|
+
# @type ManagerId: Integer
|
878
|
+
# @param CompanyId: 预填写的公司ID。
|
879
|
+
# @type CompanyId: Integer
|
880
|
+
# @param VerifyType: 验证方式
|
881
|
+
# @type VerifyType: String
|
882
|
+
|
883
|
+
attr_accessor :ProductPid, :PackageIds, :DomainCount, :Period, :OldCertificateId, :RenewGenCsrMethod, :RenewCsr, :RenewAlgorithmType, :RenewAlgorithmParam, :ProjectId, :Tags, :RenewKeyPass, :DomainNames, :CertificateCount, :ManagerId, :CompanyId, :VerifyType
|
884
|
+
|
885
|
+
def initialize(productpid=nil, packageids=nil, domaincount=nil, period=nil, oldcertificateid=nil, renewgencsrmethod=nil, renewcsr=nil, renewalgorithmtype=nil, renewalgorithmparam=nil, projectid=nil, tags=nil, renewkeypass=nil, domainnames=nil, certificatecount=nil, managerid=nil, companyid=nil, verifytype=nil)
|
886
|
+
@ProductPid = productpid
|
887
|
+
@PackageIds = packageids
|
888
|
+
@DomainCount = domaincount
|
889
|
+
@Period = period
|
890
|
+
@OldCertificateId = oldcertificateid
|
891
|
+
@RenewGenCsrMethod = renewgencsrmethod
|
892
|
+
@RenewCsr = renewcsr
|
893
|
+
@RenewAlgorithmType = renewalgorithmtype
|
894
|
+
@RenewAlgorithmParam = renewalgorithmparam
|
895
|
+
@ProjectId = projectid
|
896
|
+
@Tags = tags
|
897
|
+
@RenewKeyPass = renewkeypass
|
898
|
+
@DomainNames = domainnames
|
899
|
+
@CertificateCount = certificatecount
|
900
|
+
@ManagerId = managerid
|
901
|
+
@CompanyId = companyid
|
902
|
+
@VerifyType = verifytype
|
903
|
+
end
|
904
|
+
|
905
|
+
def deserialize(params)
|
906
|
+
@ProductPid = params['ProductPid']
|
907
|
+
@PackageIds = params['PackageIds']
|
908
|
+
@DomainCount = params['DomainCount']
|
909
|
+
@Period = params['Period']
|
910
|
+
@OldCertificateId = params['OldCertificateId']
|
911
|
+
@RenewGenCsrMethod = params['RenewGenCsrMethod']
|
912
|
+
@RenewCsr = params['RenewCsr']
|
913
|
+
@RenewAlgorithmType = params['RenewAlgorithmType']
|
914
|
+
@RenewAlgorithmParam = params['RenewAlgorithmParam']
|
915
|
+
@ProjectId = params['ProjectId']
|
916
|
+
unless params['Tags'].nil?
|
917
|
+
@Tags = []
|
918
|
+
params['Tags'].each do |i|
|
919
|
+
tags_tmp = Tags.new
|
920
|
+
tags_tmp.deserialize(i)
|
921
|
+
@Tags << tags_tmp
|
922
|
+
end
|
923
|
+
end
|
924
|
+
@RenewKeyPass = params['RenewKeyPass']
|
925
|
+
@DomainNames = params['DomainNames']
|
926
|
+
@CertificateCount = params['CertificateCount']
|
927
|
+
@ManagerId = params['ManagerId']
|
928
|
+
@CompanyId = params['CompanyId']
|
929
|
+
@VerifyType = params['VerifyType']
|
930
|
+
end
|
931
|
+
end
|
932
|
+
|
933
|
+
# CreateCertificateByPackage返回参数结构体
|
934
|
+
class CreateCertificateByPackageResponse < TencentCloud::Common::AbstractModel
|
935
|
+
# @param CertificateId: 证书ID。
|
936
|
+
# @type CertificateId: String
|
937
|
+
# @param CertificateIds: 批量购买证书时返回多个证书ID。
|
938
|
+
# @type CertificateIds: Array
|
939
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
940
|
+
# @type RequestId: String
|
941
|
+
|
942
|
+
attr_accessor :CertificateId, :CertificateIds, :RequestId
|
943
|
+
|
944
|
+
def initialize(certificateid=nil, certificateids=nil, requestid=nil)
|
945
|
+
@CertificateId = certificateid
|
946
|
+
@CertificateIds = certificateids
|
947
|
+
@RequestId = requestid
|
948
|
+
end
|
949
|
+
|
950
|
+
def deserialize(params)
|
951
|
+
@CertificateId = params['CertificateId']
|
952
|
+
@CertificateIds = params['CertificateIds']
|
953
|
+
@RequestId = params['RequestId']
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
846
957
|
# CreateCertificate请求参数结构体
|
847
958
|
class CreateCertificateRequest < TencentCloud::Common::AbstractModel
|
848
959
|
# @param ProductId: 证书商品ID,3 = SecureSite 增强型企业版(EV Pro), 4 = SecureSite 增强型(EV), 5 = SecureSite 企业型专业版(OV Pro), 6 = SecureSite 企业型(OV), 7 = SecureSite 企业型(OV)通配符, 8 = Geotrust 增强型(EV), 9 = Geotrust 企业型(OV), 10 = Geotrust 企业型(OV)通配符, 11 = TrustAsia 域名型多域名 SSL 证书, 12 = TrustAsia 域名型(DV)通配符, 13 = TrustAsia 企业型通配符(OV)SSL 证书(D3), 14 = TrustAsia 企业型(OV)SSL 证书(D3), 15 = TrustAsia 企业型多域名 (OV)SSL 证书(D3), 16 = TrustAsia 增强型 (EV)SSL 证书(D3), 17 = TrustAsia 增强型多域名(EV)SSL 证书(D3), 18 = GlobalSign 企业型(OV)SSL 证书, 19 = GlobalSign 企业型通配符 (OV)SSL 证书, 20 = GlobalSign 增强型 (EV)SSL 证书, 21 = TrustAsia 企业型通配符多域名(OV)SSL 证书(D3), 22 = GlobalSign 企业型多域名(OV)SSL 证书, 23 = GlobalSign 企业型通配符多域名(OV)SSL 证书, 24 = GlobalSign 增强型多域名(EV)SSL 证书,25 = Wotrus 域名型证书,26 = Wotrus 域名型多域名证书,27 = Wotrus 域名型通配符证书,28 = Wotrus 企业型证书,29 = Wotrus 企业型多域名证书,30 = Wotrus 企业型通配符证书,31 = Wotrus 增强型证书,32 = Wotrus 增强型多域名证书,33 = DNSPod 国密域名型证书,34 = DNSPod 国密域名型多域名证书,35 = DNSPod 国密域名型通配符证书,37 = DNSPod 国密企业型证书,38 = DNSPod 国密企业型多域名证书,39 = DNSPod 国密企业型通配符证书,40 = DNSPod 国密增强型证书,41 = DNSPod 国密增强型多域名证书,42 = TrustAsia 域名型通配符多域名证书。
|
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.584
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|