tencentcloud-sdk-ssl 3.0.572 → 3.0.574
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191205/client.rb +504 -0
- data/lib/v20191205/models.rb +2165 -6
- 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: bc245afa9ac6bfd86ace1cf86c90d8f241043b13
|
4
|
+
data.tar.gz: 168243b61e9c0c470ee925e42a3a6412cbeee26f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 078a487d173a429f1fe99ec5b7ccaace01680f60b7287ecce84c96db1346f91315de906cb9e954fdeadeacf792415dc98cc25146d6d7dc537d7d61141c6bf1cb
|
7
|
+
data.tar.gz: 0593eb9611cecaa465e2c992f7de9cfe9784ec3459e297575aa685ec82d4374bfc93fa9401cfaeb06566837344e94bcfb885763c635e0bebc3e7c4f091b47fe1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.574
|
data/lib/v20191205/client.rb
CHANGED
@@ -221,6 +221,78 @@ module TencentCloud
|
|
221
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
222
|
end
|
223
223
|
|
224
|
+
# 证书部署到云资源实例列表
|
225
|
+
|
226
|
+
# @param request: Request instance for DeployCertificateInstance.
|
227
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DeployCertificateInstanceRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DeployCertificateInstanceResponse`
|
229
|
+
def DeployCertificateInstance(request)
|
230
|
+
body = send_request('DeployCertificateInstance', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DeployCertificateInstanceResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 云资源部署重试部署记录
|
249
|
+
|
250
|
+
# @param request: Request instance for DeployCertificateRecordRetry.
|
251
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DeployCertificateRecordRetryRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DeployCertificateRecordRetryResponse`
|
253
|
+
def DeployCertificateRecordRetry(request)
|
254
|
+
body = send_request('DeployCertificateRecordRetry', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DeployCertificateRecordRetryResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 云资源部署一键回滚
|
273
|
+
|
274
|
+
# @param request: Request instance for DeployCertificateRecordRollback.
|
275
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DeployCertificateRecordRollbackRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DeployCertificateRecordRollbackResponse`
|
277
|
+
def DeployCertificateRecordRollback(request)
|
278
|
+
body = send_request('DeployCertificateRecordRollback', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DeployCertificateRecordRollbackResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
224
296
|
# 本接口(DescribeCertificate)用于获取证书信息。
|
225
297
|
|
226
298
|
# @param request: Request instance for DescribeCertificate.
|
@@ -365,6 +437,366 @@ module TencentCloud
|
|
365
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
438
|
end
|
367
439
|
|
440
|
+
# 查询证书apiGateway云资源部署实例列表
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeHostApiGatewayInstanceList.
|
443
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostApiGatewayInstanceListRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostApiGatewayInstanceListResponse`
|
445
|
+
def DescribeHostApiGatewayInstanceList(request)
|
446
|
+
body = send_request('DescribeHostApiGatewayInstanceList', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeHostApiGatewayInstanceListResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
464
|
+
# 查询证书cdn云资源部署实例列表
|
465
|
+
|
466
|
+
# @param request: Request instance for DescribeHostCdnInstanceList.
|
467
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostCdnInstanceListRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostCdnInstanceListResponse`
|
469
|
+
def DescribeHostCdnInstanceList(request)
|
470
|
+
body = send_request('DescribeHostCdnInstanceList', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DescribeHostCdnInstanceListResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
488
|
+
# 查询证书clb云资源部署实例列表
|
489
|
+
|
490
|
+
# @param request: Request instance for DescribeHostClbInstanceList.
|
491
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostClbInstanceListRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostClbInstanceListResponse`
|
493
|
+
def DescribeHostClbInstanceList(request)
|
494
|
+
body = send_request('DescribeHostClbInstanceList', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = DescribeHostClbInstanceListResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
512
|
+
# 查询证书cos云资源部署实例列表
|
513
|
+
|
514
|
+
# @param request: Request instance for DescribeHostCosInstanceList.
|
515
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostCosInstanceListRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostCosInstanceListResponse`
|
517
|
+
def DescribeHostCosInstanceList(request)
|
518
|
+
body = send_request('DescribeHostCosInstanceList', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = DescribeHostCosInstanceListResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
536
|
+
# 查询证书ddos云资源部署实例列表
|
537
|
+
|
538
|
+
# @param request: Request instance for DescribeHostDdosInstanceList.
|
539
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostDdosInstanceListRequest`
|
540
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostDdosInstanceListResponse`
|
541
|
+
def DescribeHostDdosInstanceList(request)
|
542
|
+
body = send_request('DescribeHostDdosInstanceList', request.serialize)
|
543
|
+
response = JSON.parse(body)
|
544
|
+
if response['Response'].key?('Error') == false
|
545
|
+
model = DescribeHostDdosInstanceListResponse.new
|
546
|
+
model.deserialize(response['Response'])
|
547
|
+
model
|
548
|
+
else
|
549
|
+
code = response['Response']['Error']['Code']
|
550
|
+
message = response['Response']['Error']['Message']
|
551
|
+
reqid = response['Response']['RequestId']
|
552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
553
|
+
end
|
554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
555
|
+
raise e
|
556
|
+
rescue StandardError => e
|
557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
|
+
end
|
559
|
+
|
560
|
+
# 查询证书云资源部署记录列表
|
561
|
+
|
562
|
+
# @param request: Request instance for DescribeHostDeployRecord.
|
563
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostDeployRecordRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostDeployRecordResponse`
|
565
|
+
def DescribeHostDeployRecord(request)
|
566
|
+
body = send_request('DescribeHostDeployRecord', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = DescribeHostDeployRecordResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
584
|
+
# 查询证书云资源部署记录详情列表
|
585
|
+
|
586
|
+
# @param request: Request instance for DescribeHostDeployRecordDetail.
|
587
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostDeployRecordDetailRequest`
|
588
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostDeployRecordDetailResponse`
|
589
|
+
def DescribeHostDeployRecordDetail(request)
|
590
|
+
body = send_request('DescribeHostDeployRecordDetail', request.serialize)
|
591
|
+
response = JSON.parse(body)
|
592
|
+
if response['Response'].key?('Error') == false
|
593
|
+
model = DescribeHostDeployRecordDetailResponse.new
|
594
|
+
model.deserialize(response['Response'])
|
595
|
+
model
|
596
|
+
else
|
597
|
+
code = response['Response']['Error']['Code']
|
598
|
+
message = response['Response']['Error']['Message']
|
599
|
+
reqid = response['Response']['RequestId']
|
600
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
601
|
+
end
|
602
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
603
|
+
raise e
|
604
|
+
rescue StandardError => e
|
605
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
|
+
end
|
607
|
+
|
608
|
+
# 查询证书Lighthouse云资源部署实例列表
|
609
|
+
|
610
|
+
# @param request: Request instance for DescribeHostLighthouseInstanceList.
|
611
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostLighthouseInstanceListRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostLighthouseInstanceListResponse`
|
613
|
+
def DescribeHostLighthouseInstanceList(request)
|
614
|
+
body = send_request('DescribeHostLighthouseInstanceList', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = DescribeHostLighthouseInstanceListResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
632
|
+
# 查询证书live云资源部署实例列表
|
633
|
+
|
634
|
+
# @param request: Request instance for DescribeHostLiveInstanceList.
|
635
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostLiveInstanceListRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostLiveInstanceListResponse`
|
637
|
+
def DescribeHostLiveInstanceList(request)
|
638
|
+
body = send_request('DescribeHostLiveInstanceList', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = DescribeHostLiveInstanceListResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
656
|
+
# 查询证书EdgeOne云资源部署实例列表
|
657
|
+
|
658
|
+
# @param request: Request instance for DescribeHostTeoInstanceList.
|
659
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostTeoInstanceListRequest`
|
660
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostTeoInstanceListResponse`
|
661
|
+
def DescribeHostTeoInstanceList(request)
|
662
|
+
body = send_request('DescribeHostTeoInstanceList', request.serialize)
|
663
|
+
response = JSON.parse(body)
|
664
|
+
if response['Response'].key?('Error') == false
|
665
|
+
model = DescribeHostTeoInstanceListResponse.new
|
666
|
+
model.deserialize(response['Response'])
|
667
|
+
model
|
668
|
+
else
|
669
|
+
code = response['Response']['Error']['Code']
|
670
|
+
message = response['Response']['Error']['Message']
|
671
|
+
reqid = response['Response']['RequestId']
|
672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
673
|
+
end
|
674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
675
|
+
raise e
|
676
|
+
rescue StandardError => e
|
677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
|
+
end
|
679
|
+
|
680
|
+
# 查询证书tke云资源部署实例列表
|
681
|
+
|
682
|
+
# @param request: Request instance for DescribeHostTkeInstanceList.
|
683
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostTkeInstanceListRequest`
|
684
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostTkeInstanceListResponse`
|
685
|
+
def DescribeHostTkeInstanceList(request)
|
686
|
+
body = send_request('DescribeHostTkeInstanceList', request.serialize)
|
687
|
+
response = JSON.parse(body)
|
688
|
+
if response['Response'].key?('Error') == false
|
689
|
+
model = DescribeHostTkeInstanceListResponse.new
|
690
|
+
model.deserialize(response['Response'])
|
691
|
+
model
|
692
|
+
else
|
693
|
+
code = response['Response']['Error']['Code']
|
694
|
+
message = response['Response']['Error']['Message']
|
695
|
+
reqid = response['Response']['RequestId']
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
697
|
+
end
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
699
|
+
raise e
|
700
|
+
rescue StandardError => e
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
|
+
end
|
703
|
+
|
704
|
+
# 查询证书云资源更新记录列表
|
705
|
+
|
706
|
+
# @param request: Request instance for DescribeHostUpdateRecord.
|
707
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostUpdateRecordRequest`
|
708
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostUpdateRecordResponse`
|
709
|
+
def DescribeHostUpdateRecord(request)
|
710
|
+
body = send_request('DescribeHostUpdateRecord', request.serialize)
|
711
|
+
response = JSON.parse(body)
|
712
|
+
if response['Response'].key?('Error') == false
|
713
|
+
model = DescribeHostUpdateRecordResponse.new
|
714
|
+
model.deserialize(response['Response'])
|
715
|
+
model
|
716
|
+
else
|
717
|
+
code = response['Response']['Error']['Code']
|
718
|
+
message = response['Response']['Error']['Message']
|
719
|
+
reqid = response['Response']['RequestId']
|
720
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
721
|
+
end
|
722
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
723
|
+
raise e
|
724
|
+
rescue StandardError => e
|
725
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
|
+
end
|
727
|
+
|
728
|
+
# 查询证书云资源更新记录详情列表
|
729
|
+
|
730
|
+
# @param request: Request instance for DescribeHostUpdateRecordDetail.
|
731
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostUpdateRecordDetailRequest`
|
732
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostUpdateRecordDetailResponse`
|
733
|
+
def DescribeHostUpdateRecordDetail(request)
|
734
|
+
body = send_request('DescribeHostUpdateRecordDetail', request.serialize)
|
735
|
+
response = JSON.parse(body)
|
736
|
+
if response['Response'].key?('Error') == false
|
737
|
+
model = DescribeHostUpdateRecordDetailResponse.new
|
738
|
+
model.deserialize(response['Response'])
|
739
|
+
model
|
740
|
+
else
|
741
|
+
code = response['Response']['Error']['Code']
|
742
|
+
message = response['Response']['Error']['Message']
|
743
|
+
reqid = response['Response']['RequestId']
|
744
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
745
|
+
end
|
746
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
747
|
+
raise e
|
748
|
+
rescue StandardError => e
|
749
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
|
+
end
|
751
|
+
|
752
|
+
# 查询证书Vod云资源部署实例列表
|
753
|
+
|
754
|
+
# @param request: Request instance for DescribeHostVodInstanceList.
|
755
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostVodInstanceListRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostVodInstanceListResponse`
|
757
|
+
def DescribeHostVodInstanceList(request)
|
758
|
+
body = send_request('DescribeHostVodInstanceList', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = DescribeHostVodInstanceListResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
776
|
+
# 查询证书waf云资源部署实例列表
|
777
|
+
|
778
|
+
# @param request: Request instance for DescribeHostWafInstanceList.
|
779
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribeHostWafInstanceListRequest`
|
780
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeHostWafInstanceListResponse`
|
781
|
+
def DescribeHostWafInstanceList(request)
|
782
|
+
body = send_request('DescribeHostWafInstanceList', request.serialize)
|
783
|
+
response = JSON.parse(body)
|
784
|
+
if response['Response'].key?('Error') == false
|
785
|
+
model = DescribeHostWafInstanceListResponse.new
|
786
|
+
model.deserialize(response['Response'])
|
787
|
+
model
|
788
|
+
else
|
789
|
+
code = response['Response']['Error']['Code']
|
790
|
+
message = response['Response']['Error']['Message']
|
791
|
+
reqid = response['Response']['RequestId']
|
792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
793
|
+
end
|
794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
795
|
+
raise e
|
796
|
+
rescue StandardError => e
|
797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
|
+
end
|
799
|
+
|
368
800
|
# 查询管理人详情
|
369
801
|
|
370
802
|
# @param request: Request instance for DescribeManagerDetail.
|
@@ -653,6 +1085,78 @@ module TencentCloud
|
|
653
1085
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
1086
|
end
|
655
1087
|
|
1088
|
+
# 一键更新旧证书资源
|
1089
|
+
|
1090
|
+
# @param request: Request instance for UpdateCertificateInstance.
|
1091
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::UpdateCertificateInstanceRequest`
|
1092
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::UpdateCertificateInstanceResponse`
|
1093
|
+
def UpdateCertificateInstance(request)
|
1094
|
+
body = send_request('UpdateCertificateInstance', request.serialize)
|
1095
|
+
response = JSON.parse(body)
|
1096
|
+
if response['Response'].key?('Error') == false
|
1097
|
+
model = UpdateCertificateInstanceResponse.new
|
1098
|
+
model.deserialize(response['Response'])
|
1099
|
+
model
|
1100
|
+
else
|
1101
|
+
code = response['Response']['Error']['Code']
|
1102
|
+
message = response['Response']['Error']['Message']
|
1103
|
+
reqid = response['Response']['RequestId']
|
1104
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1105
|
+
end
|
1106
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1107
|
+
raise e
|
1108
|
+
rescue StandardError => e
|
1109
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# 云资源更新重试部署记录
|
1113
|
+
|
1114
|
+
# @param request: Request instance for UpdateCertificateRecordRetry.
|
1115
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::UpdateCertificateRecordRetryRequest`
|
1116
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::UpdateCertificateRecordRetryResponse`
|
1117
|
+
def UpdateCertificateRecordRetry(request)
|
1118
|
+
body = send_request('UpdateCertificateRecordRetry', request.serialize)
|
1119
|
+
response = JSON.parse(body)
|
1120
|
+
if response['Response'].key?('Error') == false
|
1121
|
+
model = UpdateCertificateRecordRetryResponse.new
|
1122
|
+
model.deserialize(response['Response'])
|
1123
|
+
model
|
1124
|
+
else
|
1125
|
+
code = response['Response']['Error']['Code']
|
1126
|
+
message = response['Response']['Error']['Message']
|
1127
|
+
reqid = response['Response']['RequestId']
|
1128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1129
|
+
end
|
1130
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1131
|
+
raise e
|
1132
|
+
rescue StandardError => e
|
1133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# 云资源更新一键回滚
|
1137
|
+
|
1138
|
+
# @param request: Request instance for UpdateCertificateRecordRollback.
|
1139
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::UpdateCertificateRecordRollbackRequest`
|
1140
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::UpdateCertificateRecordRollbackResponse`
|
1141
|
+
def UpdateCertificateRecordRollback(request)
|
1142
|
+
body = send_request('UpdateCertificateRecordRollback', request.serialize)
|
1143
|
+
response = JSON.parse(body)
|
1144
|
+
if response['Response'].key?('Error') == false
|
1145
|
+
model = UpdateCertificateRecordRollbackResponse.new
|
1146
|
+
model.deserialize(response['Response'])
|
1147
|
+
model
|
1148
|
+
else
|
1149
|
+
code = response['Response']['Error']['Code']
|
1150
|
+
message = response['Response']['Error']['Message']
|
1151
|
+
reqid = response['Response']['RequestId']
|
1152
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1153
|
+
end
|
1154
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1155
|
+
raise e
|
1156
|
+
rescue StandardError => e
|
1157
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
|
+
end
|
1159
|
+
|
656
1160
|
# 本接口(UploadCertificate)用于上传证书。
|
657
1161
|
|
658
1162
|
# @param request: Request instance for UploadCertificate.
|