lib/v20191205/client.rb in tencentcloud-sdk-ssl-3.0.815 vs lib/v20191205/client.rb in tencentcloud-sdk-ssl-3.0.833
- old
+ new
@@ -579,10 +579,34 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 获取下载证书链接
+
+ # @param request: Request instance for DescribeDownloadCertificateUrl.
+ # @type request: :class:`Tencentcloud::ssl::V20191205::DescribeDownloadCertificateUrlRequest`
+ # @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeDownloadCertificateUrlResponse`
+ def DescribeDownloadCertificateUrl(request)
+ body = send_request('DescribeDownloadCertificateUrl', request.serialize)
+ response = JSON.parse(body)
+ if response['Response'].key?('Error') == false
+ model = DescribeDownloadCertificateUrlResponse.new
+ model.deserialize(response['Response'])
+ model
+ else
+ code = response['Response']['Error']['Code']
+ message = response['Response']['Error']['Message']
+ reqid = response['Response']['RequestId']
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
+ end
+ rescue TencentCloud::Common::TencentCloudSDKException => e
+ raise e
+ rescue StandardError => e
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
+ end
+
# 查询证书apiGateway云资源部署实例列表
# @param request: Request instance for DescribeHostApiGatewayInstanceList.
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostApiGatewayInstanceListRequest`
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostApiGatewayInstanceListResponse`
@@ -1227,10 +1251,10 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 一键更新旧证书资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
+ # 一键更新旧证书资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
# @param request: Request instance for UpdateCertificateInstance.
# @type request: :class:`Tencentcloud::ssl::V20191205::UpdateCertificateInstanceRequest`
# @rtype: :class:`Tencentcloud::ssl::V20191205::UpdateCertificateInstanceResponse`
def UpdateCertificateInstance(request)
\ No newline at end of file