tencentcloud-sdk-ssl 1.0.315 → 1.0.316

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: f88f007ce5470301a8fc459c8616ab606ec356d9
4
- data.tar.gz: 1b8995efe232742d96c41617b38ca0783d568042
3
+ metadata.gz: cf6a275529b671bb96673b50ff6d917e923413c3
4
+ data.tar.gz: 96e842147345f66d01df90510c4fc29ef8a26d47
5
5
  SHA512:
6
- metadata.gz: 5ab05d33dc69c07ddfc53c2ac20319236a8b8c650ae82440c4ce9ade4863ce3c7d57ab413099f5a9cbbacdc1f540b5b354380889da2fed8614bfd5f26826cc92
7
- data.tar.gz: 4a854a3ed6a591fb2d231548d3dfc51cf04b8628430bcad5ff8d4c8c7edb16781ab795dea1d1b4316441b5ccce963908169be9e66e465d054511ee407b636f3c
6
+ metadata.gz: fd4f5c5a14f8cd7d42805db0a1aa44f006455c19ba4786a93e4d9f72d00e84a1f41ae6adb77c4a23d4e31daecd48b355f10bd8906129df504acfc972c86eba1a
7
+ data.tar.gz: 821b697dc1c32d901dcf70fda4b072f7e1ac28bd64fc8b30b72086f3f590847d8a44dcdb04e0e0d9474f583e3132e358d080b78e10a9d9d0de98143af0356ad8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.315
1
+ 1.0.316
@@ -413,6 +413,30 @@ module TencentCloud
413
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
414
  end
415
415
 
416
+ # 云资源托管
417
+
418
+ # @param request: Request instance for HostCertificate.
419
+ # @type request: :class:`Tencentcloud::ssl::V20191205::HostCertificateRequest`
420
+ # @rtype: :class:`Tencentcloud::ssl::V20191205::HostCertificateResponse`
421
+ def HostCertificate(request)
422
+ body = send_request('HostCertificate', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = HostCertificateResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
416
440
  # 用户传入证书id和备注来修改证书备注。
417
441
 
418
442
  # @param request: Request instance for ModifyCertificateAlias.
@@ -133,6 +133,37 @@ module TencentCloud
133
133
  end
134
134
  end
135
135
 
136
+ # 云资源配置详情
137
+ class CertHostingInfo < TencentCloud::Common::AbstractModel
138
+ # @param CertId: 证书ID
139
+ # @type CertId: String
140
+ # @param RenewCertId: 已替换的新证书ID
141
+ # 注意:此字段可能返回 null,表示取不到有效值。
142
+ # @type RenewCertId: String
143
+ # @param ResourceType: 云资源托管 ,CDN或CLB:部分开启,CDN,CLB:已开启,null:未开启托管
144
+ # 注意:此字段可能返回 null,表示取不到有效值。
145
+ # @type ResourceType: String
146
+ # @param CreateTime: 创建时间
147
+ # 注意:此字段可能返回 null,表示取不到有效值。
148
+ # @type CreateTime: String
149
+
150
+ attr_accessor :CertId, :RenewCertId, :ResourceType, :CreateTime
151
+
152
+ def initialize(certid=nil, renewcertid=nil, resourcetype=nil, createtime=nil)
153
+ @CertId = certid
154
+ @RenewCertId = renewcertid
155
+ @ResourceType = resourcetype
156
+ @CreateTime = createtime
157
+ end
158
+
159
+ def deserialize(params)
160
+ @CertId = params['CertId']
161
+ @RenewCertId = params['RenewCertId']
162
+ @ResourceType = params['ResourceType']
163
+ @CreateTime = params['CreateTime']
164
+ end
165
+ end
166
+
136
167
  # 获取证书列表(DescribeCertificates)返回参数键为 Certificates 数组下,key为CertificateExtra 的内容。
137
168
  class CertificateExtra < TencentCloud::Common::AbstractModel
138
169
  # @param DomainNumber: 证书可配置域名数量。
@@ -1608,6 +1639,49 @@ module TencentCloud
1608
1639
  end
1609
1640
  end
1610
1641
 
1642
+ # HostCertificate请求参数结构体
1643
+ class HostCertificateRequest < TencentCloud::Common::AbstractModel
1644
+ # @param CertificateId: 证书ID
1645
+ # @type CertificateId: String
1646
+ # @param ResourceType: 资源类型:目前仅限于CLB,CDN
1647
+ # @type ResourceType: Array
1648
+
1649
+ attr_accessor :CertificateId, :ResourceType
1650
+
1651
+ def initialize(certificateid=nil, resourcetype=nil)
1652
+ @CertificateId = certificateid
1653
+ @ResourceType = resourcetype
1654
+ end
1655
+
1656
+ def deserialize(params)
1657
+ @CertificateId = params['CertificateId']
1658
+ @ResourceType = params['ResourceType']
1659
+ end
1660
+ end
1661
+
1662
+ # HostCertificate返回参数结构体
1663
+ class HostCertificateResponse < TencentCloud::Common::AbstractModel
1664
+ # @param CertHostingInfo: 云资源配置详情
1665
+ # @type CertHostingInfo: :class:`Tencentcloud::Ssl.v20191205.models.CertHostingInfo`
1666
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1667
+ # @type RequestId: String
1668
+
1669
+ attr_accessor :CertHostingInfo, :RequestId
1670
+
1671
+ def initialize(certhostinginfo=nil, requestid=nil)
1672
+ @CertHostingInfo = certhostinginfo
1673
+ @RequestId = requestid
1674
+ end
1675
+
1676
+ def deserialize(params)
1677
+ unless params['CertHostingInfo'].nil?
1678
+ @CertHostingInfo = CertHostingInfo.new
1679
+ @CertHostingInfo.deserialize(params['CertHostingInfo'])
1680
+ end
1681
+ @RequestId = params['RequestId']
1682
+ end
1683
+ end
1684
+
1611
1685
  # 管理人信息
1612
1686
  class ManagerInfo < TencentCloud::Common::AbstractModel
1613
1687
  # @param Status: 状态: audit: 审核中 ok: 审核通过 invalid: 失效 expiring: 即将过期 expired: 已过期
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.315
4
+ version: 1.0.316
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud