tencentcloud-sdk-ssl 3.0.582 → 3.0.583

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: e438f1b09f2188b7f39999f49aa5a52469438419
4
- data.tar.gz: 0b86b1462e187dcc03c038c54a8729c51daacd78
3
+ metadata.gz: 75397e640e1ecca9dbdec05e76c449025afc3891
4
+ data.tar.gz: a512338c69b6549a3d119ebff8990d181b283c83
5
5
  SHA512:
6
- metadata.gz: 2d405891329a8dcd570b7ab2ee6aa567755b029ed80b2f9192b503ad6aee99e34d28c532f0055de549075906db2047ab41fff02122a7cfbcbac93a57b5718454
7
- data.tar.gz: 25e8ad8a9d742b686ec8f3cbeefbd5ce3a5a6c181a99d5b2b2cd6d9e2bc2e166f15d37ec8a0fcfe9eae03af2a1c8450369f752c086cc56c3dd41f68a21f494f2
6
+ metadata.gz: 3ccdf705e2836a81fdeac49101a46c4e06ba355fa2a8f47e4b4de69cba00e20c5ebe828b98e826488ec1e02d27fcb48262c7f59a8718b1b0bdcfe92bbe5490c5
7
+ data.tar.gz: 02140600dac8c0abf5df56c4c03bdf7dc7c0dbe60dd170ee3d80bccbeba687f5704bd8abda6409be07a0b45f52522b8adc97e895a265c9b181e672acba0c5667
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.582
1
+ 3.0.583
@@ -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.
@@ -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.582
4
+ version: 3.0.583
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-01 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common