tencentcloud-sdk-tse 3.0.782 → 3.0.784

Sign up to get free protection for your applications and to get access to all the features.
@@ -293,6 +293,54 @@ module TencentCloud
293
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
294
  end
295
295
 
296
+ # 创建配置文件
297
+
298
+ # @param request: Request instance for CreateConfigFile.
299
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateConfigFileRequest`
300
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateConfigFileResponse`
301
+ def CreateConfigFile(request)
302
+ body = send_request('CreateConfigFile', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = CreateConfigFileResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
320
+ # 创建服务治理中心配置文件组
321
+
322
+ # @param request: Request instance for CreateConfigFileGroup.
323
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateConfigFileGroupRequest`
324
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateConfigFileGroupResponse`
325
+ def CreateConfigFileGroup(request)
326
+ body = send_request('CreateConfigFileGroup', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = CreateConfigFileGroupResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
296
344
  # 创建引擎实例
297
345
 
298
346
  # @param request: Request instance for CreateEngine.
@@ -317,7 +365,31 @@ module TencentCloud
317
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
366
  end
319
367
 
320
- # 创建治理中心服务实例
368
+ # 创建治理中心服务别名
369
+
370
+ # @param request: Request instance for CreateGovernanceAlias.
371
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateGovernanceAliasRequest`
372
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateGovernanceAliasResponse`
373
+ def CreateGovernanceAlias(request)
374
+ body = send_request('CreateGovernanceAlias', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = CreateGovernanceAliasResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
392
+ # 创建服务实例
321
393
 
322
394
  # @param request: Request instance for CreateGovernanceInstances.
323
395
  # @type request: :class:`Tencentcloud::tse::V20201207::CreateGovernanceInstancesRequest`
@@ -341,6 +413,54 @@ module TencentCloud
341
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
414
  end
343
415
 
416
+ # 创建治理中心命名空间
417
+
418
+ # @param request: Request instance for CreateGovernanceNamespaces.
419
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateGovernanceNamespacesRequest`
420
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateGovernanceNamespacesResponse`
421
+ def CreateGovernanceNamespaces(request)
422
+ body = send_request('CreateGovernanceNamespaces', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = CreateGovernanceNamespacesResponse.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
+
440
+ # 创建治理中心服务
441
+
442
+ # @param request: Request instance for CreateGovernanceServices.
443
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateGovernanceServicesRequest`
444
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateGovernanceServicesResponse`
445
+ def CreateGovernanceServices(request)
446
+ body = send_request('CreateGovernanceServices', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = CreateGovernanceServicesResponse.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
+
344
464
  # 创建云原生网关引擎分组
345
465
 
346
466
  # @param request: Request instance for CreateNativeGatewayServerGroup.
@@ -365,6 +485,30 @@ module TencentCloud
365
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
486
  end
367
487
 
488
+ # 创建或更新配置文件并发布配置
489
+
490
+ # @param request: Request instance for CreateOrUpdateConfigFileAndRelease.
491
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateOrUpdateConfigFileAndReleaseRequest`
492
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateOrUpdateConfigFileAndReleaseResponse`
493
+ def CreateOrUpdateConfigFileAndRelease(request)
494
+ body = send_request('CreateOrUpdateConfigFileAndRelease', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = CreateOrUpdateConfigFileAndReleaseResponse.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
+
368
512
  # 新建 WAF 防护域名
369
513
 
370
514
  # @param request: Request instance for CreateWafDomains.
@@ -605,6 +749,78 @@ module TencentCloud
605
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
750
  end
607
751
 
752
+ # 删除配置文件分组
753
+
754
+ # @param request: Request instance for DeleteConfigFileGroup.
755
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteConfigFileGroupRequest`
756
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteConfigFileGroupResponse`
757
+ def DeleteConfigFileGroup(request)
758
+ body = send_request('DeleteConfigFileGroup', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = DeleteConfigFileGroupResponse.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
+ # 删除配置发布
777
+
778
+ # @param request: Request instance for DeleteConfigFileReleases.
779
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteConfigFileReleasesRequest`
780
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteConfigFileReleasesResponse`
781
+ def DeleteConfigFileReleases(request)
782
+ body = send_request('DeleteConfigFileReleases', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DeleteConfigFileReleasesResponse.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
+
800
+ # 删除配置文件
801
+
802
+ # @param request: Request instance for DeleteConfigFiles.
803
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteConfigFilesRequest`
804
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteConfigFilesResponse`
805
+ def DeleteConfigFiles(request)
806
+ body = send_request('DeleteConfigFiles', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DeleteConfigFilesResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
608
824
  # 删除引擎实例
609
825
 
610
826
  # @param request: Request instance for DeleteEngine.
@@ -629,7 +845,31 @@ module TencentCloud
629
845
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
846
  end
631
847
 
632
- # 删除治理中心服务实例
848
+ # 删除治理中心服务别名
849
+
850
+ # @param request: Request instance for DeleteGovernanceAliases.
851
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceAliasesRequest`
852
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceAliasesResponse`
853
+ def DeleteGovernanceAliases(request)
854
+ body = send_request('DeleteGovernanceAliases', request.serialize)
855
+ response = JSON.parse(body)
856
+ if response['Response'].key?('Error') == false
857
+ model = DeleteGovernanceAliasesResponse.new
858
+ model.deserialize(response['Response'])
859
+ model
860
+ else
861
+ code = response['Response']['Error']['Code']
862
+ message = response['Response']['Error']['Message']
863
+ reqid = response['Response']['RequestId']
864
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
865
+ end
866
+ rescue TencentCloud::Common::TencentCloudSDKException => e
867
+ raise e
868
+ rescue StandardError => e
869
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
+ end
871
+
872
+ # 删除服务实例
633
873
 
634
874
  # @param request: Request instance for DeleteGovernanceInstances.
635
875
  # @type request: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceInstancesRequest`
@@ -653,6 +893,78 @@ module TencentCloud
653
893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
894
  end
655
895
 
896
+ # 删除治理中心服务实例
897
+
898
+ # @param request: Request instance for DeleteGovernanceInstancesByHost.
899
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceInstancesByHostRequest`
900
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceInstancesByHostResponse`
901
+ def DeleteGovernanceInstancesByHost(request)
902
+ body = send_request('DeleteGovernanceInstancesByHost', request.serialize)
903
+ response = JSON.parse(body)
904
+ if response['Response'].key?('Error') == false
905
+ model = DeleteGovernanceInstancesByHostResponse.new
906
+ model.deserialize(response['Response'])
907
+ model
908
+ else
909
+ code = response['Response']['Error']['Code']
910
+ message = response['Response']['Error']['Message']
911
+ reqid = response['Response']['RequestId']
912
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
913
+ end
914
+ rescue TencentCloud::Common::TencentCloudSDKException => e
915
+ raise e
916
+ rescue StandardError => e
917
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
+ end
919
+
920
+ # 删除治理中心命名空间
921
+
922
+ # @param request: Request instance for DeleteGovernanceNamespaces.
923
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceNamespacesRequest`
924
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceNamespacesResponse`
925
+ def DeleteGovernanceNamespaces(request)
926
+ body = send_request('DeleteGovernanceNamespaces', request.serialize)
927
+ response = JSON.parse(body)
928
+ if response['Response'].key?('Error') == false
929
+ model = DeleteGovernanceNamespacesResponse.new
930
+ model.deserialize(response['Response'])
931
+ model
932
+ else
933
+ code = response['Response']['Error']['Code']
934
+ message = response['Response']['Error']['Message']
935
+ reqid = response['Response']['RequestId']
936
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
937
+ end
938
+ rescue TencentCloud::Common::TencentCloudSDKException => e
939
+ raise e
940
+ rescue StandardError => e
941
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
+ end
943
+
944
+ # 删除治理中心服务
945
+
946
+ # @param request: Request instance for DeleteGovernanceServices.
947
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceServicesRequest`
948
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteGovernanceServicesResponse`
949
+ def DeleteGovernanceServices(request)
950
+ body = send_request('DeleteGovernanceServices', request.serialize)
951
+ response = JSON.parse(body)
952
+ if response['Response'].key?('Error') == false
953
+ model = DeleteGovernanceServicesResponse.new
954
+ model.deserialize(response['Response'])
955
+ model
956
+ else
957
+ code = response['Response']['Error']['Code']
958
+ message = response['Response']['Error']['Message']
959
+ reqid = response['Response']['RequestId']
960
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
961
+ end
962
+ rescue TencentCloud::Common::TencentCloudSDKException => e
963
+ raise e
964
+ rescue StandardError => e
965
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
+ end
967
+
656
968
  # 删除网关实例分组
657
969
 
658
970
  # @param request: Request instance for DeleteNativeGatewayServerGroup.
@@ -686,7 +998,343 @@ module TencentCloud
686
998
  body = send_request('DeleteWafDomains', request.serialize)
687
999
  response = JSON.parse(body)
688
1000
  if response['Response'].key?('Error') == false
689
- model = DeleteWafDomainsResponse.new
1001
+ model = DeleteWafDomainsResponse.new
1002
+ model.deserialize(response['Response'])
1003
+ model
1004
+ else
1005
+ code = response['Response']['Error']['Code']
1006
+ message = response['Response']['Error']['Message']
1007
+ reqid = response['Response']['RequestId']
1008
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1009
+ end
1010
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1011
+ raise e
1012
+ rescue StandardError => e
1013
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
+ end
1015
+
1016
+ # 获取全量配置文件模板列表
1017
+
1018
+ # @param request: Request instance for DescribeAllConfigFileTemplates.
1019
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeAllConfigFileTemplatesRequest`
1020
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeAllConfigFileTemplatesResponse`
1021
+ def DescribeAllConfigFileTemplates(request)
1022
+ body = send_request('DescribeAllConfigFileTemplates', request.serialize)
1023
+ response = JSON.parse(body)
1024
+ if response['Response'].key?('Error') == false
1025
+ model = DescribeAllConfigFileTemplatesResponse.new
1026
+ model.deserialize(response['Response'])
1027
+ model
1028
+ else
1029
+ code = response['Response']['Error']['Code']
1030
+ message = response['Response']['Error']['Message']
1031
+ reqid = response['Response']['RequestId']
1032
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1033
+ end
1034
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1035
+ raise e
1036
+ rescue StandardError => e
1037
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
+ end
1039
+
1040
+ # 查看弹性伸缩策略列表
1041
+
1042
+ # @param request: Request instance for DescribeAutoScalerResourceStrategies.
1043
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategiesRequest`
1044
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategiesResponse`
1045
+ def DescribeAutoScalerResourceStrategies(request)
1046
+ body = send_request('DescribeAutoScalerResourceStrategies', request.serialize)
1047
+ response = JSON.parse(body)
1048
+ if response['Response'].key?('Error') == false
1049
+ model = DescribeAutoScalerResourceStrategiesResponse.new
1050
+ model.deserialize(response['Response'])
1051
+ model
1052
+ else
1053
+ code = response['Response']['Error']['Code']
1054
+ message = response['Response']['Error']['Message']
1055
+ reqid = response['Response']['RequestId']
1056
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1057
+ end
1058
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1059
+ raise e
1060
+ rescue StandardError => e
1061
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
+ end
1063
+
1064
+ # 查看弹性伸缩策略绑定的网关分组
1065
+
1066
+ # @param request: Request instance for DescribeAutoScalerResourceStrategyBindingGroups.
1067
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategyBindingGroupsRequest`
1068
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategyBindingGroupsResponse`
1069
+ def DescribeAutoScalerResourceStrategyBindingGroups(request)
1070
+ body = send_request('DescribeAutoScalerResourceStrategyBindingGroups', request.serialize)
1071
+ response = JSON.parse(body)
1072
+ if response['Response'].key?('Error') == false
1073
+ model = DescribeAutoScalerResourceStrategyBindingGroupsResponse.new
1074
+ model.deserialize(response['Response'])
1075
+ model
1076
+ else
1077
+ code = response['Response']['Error']['Code']
1078
+ message = response['Response']['Error']['Message']
1079
+ reqid = response['Response']['RequestId']
1080
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1081
+ end
1082
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1083
+ raise e
1084
+ rescue StandardError => e
1085
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
+ end
1087
+
1088
+ # 获取云原生API网关实例信息
1089
+
1090
+ # @param request: Request instance for DescribeCloudNativeAPIGateway.
1091
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRequest`
1092
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayResponse`
1093
+ def DescribeCloudNativeAPIGateway(request)
1094
+ body = send_request('DescribeCloudNativeAPIGateway', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = DescribeCloudNativeAPIGatewayResponse.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 DescribeCloudNativeAPIGatewayCanaryRules.
1115
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCanaryRulesRequest`
1116
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCanaryRulesResponse`
1117
+ def DescribeCloudNativeAPIGatewayCanaryRules(request)
1118
+ body = send_request('DescribeCloudNativeAPIGatewayCanaryRules', request.serialize)
1119
+ response = JSON.parse(body)
1120
+ if response['Response'].key?('Error') == false
1121
+ model = DescribeCloudNativeAPIGatewayCanaryRulesResponse.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 DescribeCloudNativeAPIGatewayCertificateDetails.
1139
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificateDetailsRequest`
1140
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificateDetailsResponse`
1141
+ def DescribeCloudNativeAPIGatewayCertificateDetails(request)
1142
+ body = send_request('DescribeCloudNativeAPIGatewayCertificateDetails', request.serialize)
1143
+ response = JSON.parse(body)
1144
+ if response['Response'].key?('Error') == false
1145
+ model = DescribeCloudNativeAPIGatewayCertificateDetailsResponse.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
+
1160
+ # 查询云原生网关证书列表
1161
+
1162
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayCertificates.
1163
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificatesRequest`
1164
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificatesResponse`
1165
+ def DescribeCloudNativeAPIGatewayCertificates(request)
1166
+ body = send_request('DescribeCloudNativeAPIGatewayCertificates', request.serialize)
1167
+ response = JSON.parse(body)
1168
+ if response['Response'].key?('Error') == false
1169
+ model = DescribeCloudNativeAPIGatewayCertificatesResponse.new
1170
+ model.deserialize(response['Response'])
1171
+ model
1172
+ else
1173
+ code = response['Response']['Error']['Code']
1174
+ message = response['Response']['Error']['Message']
1175
+ reqid = response['Response']['RequestId']
1176
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1177
+ end
1178
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1179
+ raise e
1180
+ rescue StandardError => e
1181
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1182
+ end
1183
+
1184
+ # 获取云原生API网关实例网络配置信息
1185
+
1186
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayConfig.
1187
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayConfigRequest`
1188
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayConfigResponse`
1189
+ def DescribeCloudNativeAPIGatewayConfig(request)
1190
+ body = send_request('DescribeCloudNativeAPIGatewayConfig', request.serialize)
1191
+ response = JSON.parse(body)
1192
+ if response['Response'].key?('Error') == false
1193
+ model = DescribeCloudNativeAPIGatewayConfigResponse.new
1194
+ model.deserialize(response['Response'])
1195
+ model
1196
+ else
1197
+ code = response['Response']['Error']['Code']
1198
+ message = response['Response']['Error']['Message']
1199
+ reqid = response['Response']['RequestId']
1200
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1201
+ end
1202
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1203
+ raise e
1204
+ rescue StandardError => e
1205
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
+ end
1207
+
1208
+ # 获取云原生网关节点列表
1209
+
1210
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayNodes.
1211
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayNodesRequest`
1212
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayNodesResponse`
1213
+ def DescribeCloudNativeAPIGatewayNodes(request)
1214
+ body = send_request('DescribeCloudNativeAPIGatewayNodes', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = DescribeCloudNativeAPIGatewayNodesResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1232
+ # 获取云原生API网关实例端口信息
1233
+
1234
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayPorts.
1235
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayPortsRequest`
1236
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayPortsResponse`
1237
+ def DescribeCloudNativeAPIGatewayPorts(request)
1238
+ body = send_request('DescribeCloudNativeAPIGatewayPorts', request.serialize)
1239
+ response = JSON.parse(body)
1240
+ if response['Response'].key?('Error') == false
1241
+ model = DescribeCloudNativeAPIGatewayPortsResponse.new
1242
+ model.deserialize(response['Response'])
1243
+ model
1244
+ else
1245
+ code = response['Response']['Error']['Code']
1246
+ message = response['Response']['Error']['Message']
1247
+ reqid = response['Response']['RequestId']
1248
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1249
+ end
1250
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1251
+ raise e
1252
+ rescue StandardError => e
1253
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
+ end
1255
+
1256
+ # 查询云原生网关的限流插件(路由)
1257
+
1258
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayRouteRateLimit.
1259
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRouteRateLimitRequest`
1260
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRouteRateLimitResponse`
1261
+ def DescribeCloudNativeAPIGatewayRouteRateLimit(request)
1262
+ body = send_request('DescribeCloudNativeAPIGatewayRouteRateLimit', request.serialize)
1263
+ response = JSON.parse(body)
1264
+ if response['Response'].key?('Error') == false
1265
+ model = DescribeCloudNativeAPIGatewayRouteRateLimitResponse.new
1266
+ model.deserialize(response['Response'])
1267
+ model
1268
+ else
1269
+ code = response['Response']['Error']['Code']
1270
+ message = response['Response']['Error']['Message']
1271
+ reqid = response['Response']['RequestId']
1272
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1273
+ end
1274
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1275
+ raise e
1276
+ rescue StandardError => e
1277
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
+ end
1279
+
1280
+ # 查询云原生网关路由列表
1281
+
1282
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayRoutes.
1283
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRoutesRequest`
1284
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRoutesResponse`
1285
+ def DescribeCloudNativeAPIGatewayRoutes(request)
1286
+ body = send_request('DescribeCloudNativeAPIGatewayRoutes', request.serialize)
1287
+ response = JSON.parse(body)
1288
+ if response['Response'].key?('Error') == false
1289
+ model = DescribeCloudNativeAPIGatewayRoutesResponse.new
1290
+ model.deserialize(response['Response'])
1291
+ model
1292
+ else
1293
+ code = response['Response']['Error']['Code']
1294
+ message = response['Response']['Error']['Message']
1295
+ reqid = response['Response']['RequestId']
1296
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1297
+ end
1298
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1299
+ raise e
1300
+ rescue StandardError => e
1301
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
+ end
1303
+
1304
+ # 查询云原生网关的限流插件(服务)
1305
+
1306
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayServiceRateLimit.
1307
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServiceRateLimitRequest`
1308
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServiceRateLimitResponse`
1309
+ def DescribeCloudNativeAPIGatewayServiceRateLimit(request)
1310
+ body = send_request('DescribeCloudNativeAPIGatewayServiceRateLimit', request.serialize)
1311
+ response = JSON.parse(body)
1312
+ if response['Response'].key?('Error') == false
1313
+ model = DescribeCloudNativeAPIGatewayServiceRateLimitResponse.new
1314
+ model.deserialize(response['Response'])
1315
+ model
1316
+ else
1317
+ code = response['Response']['Error']['Code']
1318
+ message = response['Response']['Error']['Message']
1319
+ reqid = response['Response']['RequestId']
1320
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
+ end
1322
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1323
+ raise e
1324
+ rescue StandardError => e
1325
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
+ end
1327
+
1328
+ # 查询云原生网关服务列表
1329
+
1330
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayServices.
1331
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServicesRequest`
1332
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServicesResponse`
1333
+ def DescribeCloudNativeAPIGatewayServices(request)
1334
+ body = send_request('DescribeCloudNativeAPIGatewayServices', request.serialize)
1335
+ response = JSON.parse(body)
1336
+ if response['Response'].key?('Error') == false
1337
+ model = DescribeCloudNativeAPIGatewayServicesResponse.new
690
1338
  model.deserialize(response['Response'])
691
1339
  model
692
1340
  else
@@ -701,16 +1349,16 @@ module TencentCloud
701
1349
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
1350
  end
703
1351
 
704
- # 查看弹性伸缩策略列表
1352
+ # 获取云原生网关服务详情下的Upstream列表
705
1353
 
706
- # @param request: Request instance for DescribeAutoScalerResourceStrategies.
707
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategiesRequest`
708
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategiesResponse`
709
- def DescribeAutoScalerResourceStrategies(request)
710
- body = send_request('DescribeAutoScalerResourceStrategies', request.serialize)
1354
+ # @param request: Request instance for DescribeCloudNativeAPIGatewayUpstream.
1355
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayUpstreamRequest`
1356
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayUpstreamResponse`
1357
+ def DescribeCloudNativeAPIGatewayUpstream(request)
1358
+ body = send_request('DescribeCloudNativeAPIGatewayUpstream', request.serialize)
711
1359
  response = JSON.parse(body)
712
1360
  if response['Response'].key?('Error') == false
713
- model = DescribeAutoScalerResourceStrategiesResponse.new
1361
+ model = DescribeCloudNativeAPIGatewayUpstreamResponse.new
714
1362
  model.deserialize(response['Response'])
715
1363
  model
716
1364
  else
@@ -725,16 +1373,16 @@ module TencentCloud
725
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
1374
  end
727
1375
 
728
- # 查看弹性伸缩策略绑定的网关分组
1376
+ # 获取云原生API网关实例列表
729
1377
 
730
- # @param request: Request instance for DescribeAutoScalerResourceStrategyBindingGroups.
731
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategyBindingGroupsRequest`
732
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeAutoScalerResourceStrategyBindingGroupsResponse`
733
- def DescribeAutoScalerResourceStrategyBindingGroups(request)
734
- body = send_request('DescribeAutoScalerResourceStrategyBindingGroups', request.serialize)
1378
+ # @param request: Request instance for DescribeCloudNativeAPIGateways.
1379
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewaysRequest`
1380
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewaysResponse`
1381
+ def DescribeCloudNativeAPIGateways(request)
1382
+ body = send_request('DescribeCloudNativeAPIGateways', request.serialize)
735
1383
  response = JSON.parse(body)
736
1384
  if response['Response'].key?('Error') == false
737
- model = DescribeAutoScalerResourceStrategyBindingGroupsResponse.new
1385
+ model = DescribeCloudNativeAPIGatewaysResponse.new
738
1386
  model.deserialize(response['Response'])
739
1387
  model
740
1388
  else
@@ -749,16 +1397,16 @@ module TencentCloud
749
1397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
1398
  end
751
1399
 
752
- # 获取云原生API网关实例信息
1400
+ # 根据命名空间、组、名字查找配置文件
753
1401
 
754
- # @param request: Request instance for DescribeCloudNativeAPIGateway.
755
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRequest`
756
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayResponse`
757
- def DescribeCloudNativeAPIGateway(request)
758
- body = send_request('DescribeCloudNativeAPIGateway', request.serialize)
1402
+ # @param request: Request instance for DescribeConfigFile.
1403
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileRequest`
1404
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileResponse`
1405
+ def DescribeConfigFile(request)
1406
+ body = send_request('DescribeConfigFile', request.serialize)
759
1407
  response = JSON.parse(body)
760
1408
  if response['Response'].key?('Error') == false
761
- model = DescribeCloudNativeAPIGatewayResponse.new
1409
+ model = DescribeConfigFileResponse.new
762
1410
  model.deserialize(response['Response'])
763
1411
  model
764
1412
  else
@@ -773,16 +1421,16 @@ module TencentCloud
773
1421
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
1422
  end
775
1423
 
776
- # 查询云原生网关灰度规则列表
1424
+ # 根据条件分页查询配置文件组
777
1425
 
778
- # @param request: Request instance for DescribeCloudNativeAPIGatewayCanaryRules.
779
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCanaryRulesRequest`
780
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCanaryRulesResponse`
781
- def DescribeCloudNativeAPIGatewayCanaryRules(request)
782
- body = send_request('DescribeCloudNativeAPIGatewayCanaryRules', request.serialize)
1426
+ # @param request: Request instance for DescribeConfigFileGroups.
1427
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileGroupsRequest`
1428
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileGroupsResponse`
1429
+ def DescribeConfigFileGroups(request)
1430
+ body = send_request('DescribeConfigFileGroups', request.serialize)
783
1431
  response = JSON.parse(body)
784
1432
  if response['Response'].key?('Error') == false
785
- model = DescribeCloudNativeAPIGatewayCanaryRulesResponse.new
1433
+ model = DescribeConfigFileGroupsResponse.new
786
1434
  model.deserialize(response['Response'])
787
1435
  model
788
1436
  else
@@ -797,16 +1445,16 @@ module TencentCloud
797
1445
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
1446
  end
799
1447
 
800
- # 查询云原生网关单个证书详情
1448
+ # 获取配置文件发布
801
1449
 
802
- # @param request: Request instance for DescribeCloudNativeAPIGatewayCertificateDetails.
803
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificateDetailsRequest`
804
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificateDetailsResponse`
805
- def DescribeCloudNativeAPIGatewayCertificateDetails(request)
806
- body = send_request('DescribeCloudNativeAPIGatewayCertificateDetails', request.serialize)
1450
+ # @param request: Request instance for DescribeConfigFileRelease.
1451
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileReleaseRequest`
1452
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileReleaseResponse`
1453
+ def DescribeConfigFileRelease(request)
1454
+ body = send_request('DescribeConfigFileRelease', request.serialize)
807
1455
  response = JSON.parse(body)
808
1456
  if response['Response'].key?('Error') == false
809
- model = DescribeCloudNativeAPIGatewayCertificateDetailsResponse.new
1457
+ model = DescribeConfigFileReleaseResponse.new
810
1458
  model.deserialize(response['Response'])
811
1459
  model
812
1460
  else
@@ -821,16 +1469,16 @@ module TencentCloud
821
1469
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
1470
  end
823
1471
 
824
- # 查询云原生网关证书列表
1472
+ # 获取配置文件发布历史列表
825
1473
 
826
- # @param request: Request instance for DescribeCloudNativeAPIGatewayCertificates.
827
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificatesRequest`
828
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayCertificatesResponse`
829
- def DescribeCloudNativeAPIGatewayCertificates(request)
830
- body = send_request('DescribeCloudNativeAPIGatewayCertificates', request.serialize)
1474
+ # @param request: Request instance for DescribeConfigFileReleaseHistories.
1475
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileReleaseHistoriesRequest`
1476
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileReleaseHistoriesResponse`
1477
+ def DescribeConfigFileReleaseHistories(request)
1478
+ body = send_request('DescribeConfigFileReleaseHistories', request.serialize)
831
1479
  response = JSON.parse(body)
832
1480
  if response['Response'].key?('Error') == false
833
- model = DescribeCloudNativeAPIGatewayCertificatesResponse.new
1481
+ model = DescribeConfigFileReleaseHistoriesResponse.new
834
1482
  model.deserialize(response['Response'])
835
1483
  model
836
1484
  else
@@ -845,16 +1493,16 @@ module TencentCloud
845
1493
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
1494
  end
847
1495
 
848
- # 获取云原生API网关实例网络配置信息
1496
+ # 查询某个配置所有版本信息
849
1497
 
850
- # @param request: Request instance for DescribeCloudNativeAPIGatewayConfig.
851
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayConfigRequest`
852
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayConfigResponse`
853
- def DescribeCloudNativeAPIGatewayConfig(request)
854
- body = send_request('DescribeCloudNativeAPIGatewayConfig', request.serialize)
1498
+ # @param request: Request instance for DescribeConfigFileReleaseVersions.
1499
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileReleaseVersionsRequest`
1500
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileReleaseVersionsResponse`
1501
+ def DescribeConfigFileReleaseVersions(request)
1502
+ body = send_request('DescribeConfigFileReleaseVersions', request.serialize)
855
1503
  response = JSON.parse(body)
856
1504
  if response['Response'].key?('Error') == false
857
- model = DescribeCloudNativeAPIGatewayConfigResponse.new
1505
+ model = DescribeConfigFileReleaseVersionsResponse.new
858
1506
  model.deserialize(response['Response'])
859
1507
  model
860
1508
  else
@@ -869,16 +1517,16 @@ module TencentCloud
869
1517
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
1518
  end
871
1519
 
872
- # 获取云原生网关节点列表
1520
+ # 查询配置版本列表
873
1521
 
874
- # @param request: Request instance for DescribeCloudNativeAPIGatewayNodes.
875
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayNodesRequest`
876
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayNodesResponse`
877
- def DescribeCloudNativeAPIGatewayNodes(request)
878
- body = send_request('DescribeCloudNativeAPIGatewayNodes', request.serialize)
1522
+ # @param request: Request instance for DescribeConfigFileReleases.
1523
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileReleasesRequest`
1524
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeConfigFileReleasesResponse`
1525
+ def DescribeConfigFileReleases(request)
1526
+ body = send_request('DescribeConfigFileReleases', request.serialize)
879
1527
  response = JSON.parse(body)
880
1528
  if response['Response'].key?('Error') == false
881
- model = DescribeCloudNativeAPIGatewayNodesResponse.new
1529
+ model = DescribeConfigFileReleasesResponse.new
882
1530
  model.deserialize(response['Response'])
883
1531
  model
884
1532
  else
@@ -893,16 +1541,16 @@ module TencentCloud
893
1541
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
894
1542
  end
895
1543
 
896
- # 获取云原生API网关实例端口信息
1544
+ # 根据命名空间、组名、名称、标签查询配置文件列表
897
1545
 
898
- # @param request: Request instance for DescribeCloudNativeAPIGatewayPorts.
899
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayPortsRequest`
900
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayPortsResponse`
901
- def DescribeCloudNativeAPIGatewayPorts(request)
902
- body = send_request('DescribeCloudNativeAPIGatewayPorts', request.serialize)
1546
+ # @param request: Request instance for DescribeConfigFiles.
1547
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeConfigFilesRequest`
1548
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeConfigFilesResponse`
1549
+ def DescribeConfigFiles(request)
1550
+ body = send_request('DescribeConfigFiles', request.serialize)
903
1551
  response = JSON.parse(body)
904
1552
  if response['Response'].key?('Error') == false
905
- model = DescribeCloudNativeAPIGatewayPortsResponse.new
1553
+ model = DescribeConfigFilesResponse.new
906
1554
  model.deserialize(response['Response'])
907
1555
  model
908
1556
  else
@@ -917,16 +1565,16 @@ module TencentCloud
917
1565
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
1566
  end
919
1567
 
920
- # 查询云原生网关的限流插件(路由)
1568
+ # 根据group查询配置文件列表
921
1569
 
922
- # @param request: Request instance for DescribeCloudNativeAPIGatewayRouteRateLimit.
923
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRouteRateLimitRequest`
924
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRouteRateLimitResponse`
925
- def DescribeCloudNativeAPIGatewayRouteRateLimit(request)
926
- body = send_request('DescribeCloudNativeAPIGatewayRouteRateLimit', request.serialize)
1570
+ # @param request: Request instance for DescribeConfigFilesByGroup.
1571
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeConfigFilesByGroupRequest`
1572
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeConfigFilesByGroupResponse`
1573
+ def DescribeConfigFilesByGroup(request)
1574
+ body = send_request('DescribeConfigFilesByGroup', request.serialize)
927
1575
  response = JSON.parse(body)
928
1576
  if response['Response'].key?('Error') == false
929
- model = DescribeCloudNativeAPIGatewayRouteRateLimitResponse.new
1577
+ model = DescribeConfigFilesByGroupResponse.new
930
1578
  model.deserialize(response['Response'])
931
1579
  model
932
1580
  else
@@ -941,16 +1589,16 @@ module TencentCloud
941
1589
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
1590
  end
943
1591
 
944
- # 查询云原生网关路由列表
1592
+ # 查询治理中心服务别名列表
945
1593
 
946
- # @param request: Request instance for DescribeCloudNativeAPIGatewayRoutes.
947
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRoutesRequest`
948
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayRoutesResponse`
949
- def DescribeCloudNativeAPIGatewayRoutes(request)
950
- body = send_request('DescribeCloudNativeAPIGatewayRoutes', request.serialize)
1594
+ # @param request: Request instance for DescribeGovernanceAliases.
1595
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceAliasesRequest`
1596
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceAliasesResponse`
1597
+ def DescribeGovernanceAliases(request)
1598
+ body = send_request('DescribeGovernanceAliases', request.serialize)
951
1599
  response = JSON.parse(body)
952
1600
  if response['Response'].key?('Error') == false
953
- model = DescribeCloudNativeAPIGatewayRoutesResponse.new
1601
+ model = DescribeGovernanceAliasesResponse.new
954
1602
  model.deserialize(response['Response'])
955
1603
  model
956
1604
  else
@@ -965,16 +1613,16 @@ module TencentCloud
965
1613
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
1614
  end
967
1615
 
968
- # 查询云原生网关的限流插件(服务)
1616
+ # 查询服务实例
969
1617
 
970
- # @param request: Request instance for DescribeCloudNativeAPIGatewayServiceRateLimit.
971
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServiceRateLimitRequest`
972
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServiceRateLimitResponse`
973
- def DescribeCloudNativeAPIGatewayServiceRateLimit(request)
974
- body = send_request('DescribeCloudNativeAPIGatewayServiceRateLimit', request.serialize)
1618
+ # @param request: Request instance for DescribeGovernanceInstances.
1619
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceInstancesRequest`
1620
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceInstancesResponse`
1621
+ def DescribeGovernanceInstances(request)
1622
+ body = send_request('DescribeGovernanceInstances', request.serialize)
975
1623
  response = JSON.parse(body)
976
1624
  if response['Response'].key?('Error') == false
977
- model = DescribeCloudNativeAPIGatewayServiceRateLimitResponse.new
1625
+ model = DescribeGovernanceInstancesResponse.new
978
1626
  model.deserialize(response['Response'])
979
1627
  model
980
1628
  else
@@ -989,16 +1637,16 @@ module TencentCloud
989
1637
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
1638
  end
991
1639
 
992
- # 查询云原生网关服务列表
1640
+ # 查询服务治理中心命名空间列表
993
1641
 
994
- # @param request: Request instance for DescribeCloudNativeAPIGatewayServices.
995
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServicesRequest`
996
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayServicesResponse`
997
- def DescribeCloudNativeAPIGatewayServices(request)
998
- body = send_request('DescribeCloudNativeAPIGatewayServices', request.serialize)
1642
+ # @param request: Request instance for DescribeGovernanceNamespaces.
1643
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceNamespacesRequest`
1644
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceNamespacesResponse`
1645
+ def DescribeGovernanceNamespaces(request)
1646
+ body = send_request('DescribeGovernanceNamespaces', request.serialize)
999
1647
  response = JSON.parse(body)
1000
1648
  if response['Response'].key?('Error') == false
1001
- model = DescribeCloudNativeAPIGatewayServicesResponse.new
1649
+ model = DescribeGovernanceNamespacesResponse.new
1002
1650
  model.deserialize(response['Response'])
1003
1651
  model
1004
1652
  else
@@ -1013,16 +1661,16 @@ module TencentCloud
1013
1661
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
1662
  end
1015
1663
 
1016
- # 获取云原生网关服务详情下的Upstream列表
1664
+ # 查询服务下契约版本列表
1017
1665
 
1018
- # @param request: Request instance for DescribeCloudNativeAPIGatewayUpstream.
1019
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayUpstreamRequest`
1020
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayUpstreamResponse`
1021
- def DescribeCloudNativeAPIGatewayUpstream(request)
1022
- body = send_request('DescribeCloudNativeAPIGatewayUpstream', request.serialize)
1666
+ # @param request: Request instance for DescribeGovernanceServiceContractVersions.
1667
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceServiceContractVersionsRequest`
1668
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceServiceContractVersionsResponse`
1669
+ def DescribeGovernanceServiceContractVersions(request)
1670
+ body = send_request('DescribeGovernanceServiceContractVersions', request.serialize)
1023
1671
  response = JSON.parse(body)
1024
1672
  if response['Response'].key?('Error') == false
1025
- model = DescribeCloudNativeAPIGatewayUpstreamResponse.new
1673
+ model = DescribeGovernanceServiceContractVersionsResponse.new
1026
1674
  model.deserialize(response['Response'])
1027
1675
  model
1028
1676
  else
@@ -1037,16 +1685,16 @@ module TencentCloud
1037
1685
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
1686
  end
1039
1687
 
1040
- # 获取云原生API网关实例列表
1688
+ # 查询服务契约定义列表
1041
1689
 
1042
- # @param request: Request instance for DescribeCloudNativeAPIGateways.
1043
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewaysRequest`
1044
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewaysResponse`
1045
- def DescribeCloudNativeAPIGateways(request)
1046
- body = send_request('DescribeCloudNativeAPIGateways', request.serialize)
1690
+ # @param request: Request instance for DescribeGovernanceServiceContracts.
1691
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceServiceContractsRequest`
1692
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceServiceContractsResponse`
1693
+ def DescribeGovernanceServiceContracts(request)
1694
+ body = send_request('DescribeGovernanceServiceContracts', request.serialize)
1047
1695
  response = JSON.parse(body)
1048
1696
  if response['Response'].key?('Error') == false
1049
- model = DescribeCloudNativeAPIGatewaysResponse.new
1697
+ model = DescribeGovernanceServiceContractsResponse.new
1050
1698
  model.deserialize(response['Response'])
1051
1699
  model
1052
1700
  else
@@ -1061,16 +1709,16 @@ module TencentCloud
1061
1709
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
1710
  end
1063
1711
 
1064
- # 查询治理中心服务实例
1712
+ # 查询治理中心服务列表
1065
1713
 
1066
- # @param request: Request instance for DescribeGovernanceInstances.
1067
- # @type request: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceInstancesRequest`
1068
- # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceInstancesResponse`
1069
- def DescribeGovernanceInstances(request)
1070
- body = send_request('DescribeGovernanceInstances', request.serialize)
1714
+ # @param request: Request instance for DescribeGovernanceServices.
1715
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceServicesRequest`
1716
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeGovernanceServicesResponse`
1717
+ def DescribeGovernanceServices(request)
1718
+ body = send_request('DescribeGovernanceServices', request.serialize)
1071
1719
  response = JSON.parse(body)
1072
1720
  if response['Response'].key?('Error') == false
1073
- model = DescribeGovernanceInstancesResponse.new
1721
+ model = DescribeGovernanceServicesResponse.new
1074
1722
  model.deserialize(response['Response'])
1075
1723
  model
1076
1724
  else
@@ -1565,6 +2213,54 @@ module TencentCloud
1565
2213
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1566
2214
  end
1567
2215
 
2216
+ # 批量修改配置文件组
2217
+
2218
+ # @param request: Request instance for ModifyConfigFileGroup.
2219
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyConfigFileGroupRequest`
2220
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyConfigFileGroupResponse`
2221
+ def ModifyConfigFileGroup(request)
2222
+ body = send_request('ModifyConfigFileGroup', request.serialize)
2223
+ response = JSON.parse(body)
2224
+ if response['Response'].key?('Error') == false
2225
+ model = ModifyConfigFileGroupResponse.new
2226
+ model.deserialize(response['Response'])
2227
+ model
2228
+ else
2229
+ code = response['Response']['Error']['Code']
2230
+ message = response['Response']['Error']['Message']
2231
+ reqid = response['Response']['RequestId']
2232
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2233
+ end
2234
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2235
+ raise e
2236
+ rescue StandardError => e
2237
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2238
+ end
2239
+
2240
+ # 修改配置文件
2241
+
2242
+ # @param request: Request instance for ModifyConfigFiles.
2243
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyConfigFilesRequest`
2244
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyConfigFilesResponse`
2245
+ def ModifyConfigFiles(request)
2246
+ body = send_request('ModifyConfigFiles', request.serialize)
2247
+ response = JSON.parse(body)
2248
+ if response['Response'].key?('Error') == false
2249
+ model = ModifyConfigFilesResponse.new
2250
+ model.deserialize(response['Response'])
2251
+ model
2252
+ else
2253
+ code = response['Response']['Error']['Code']
2254
+ message = response['Response']['Error']['Message']
2255
+ reqid = response['Response']['RequestId']
2256
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2257
+ end
2258
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2259
+ raise e
2260
+ rescue StandardError => e
2261
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2262
+ end
2263
+
1568
2264
  # 修改网关实例Konga网络配置
1569
2265
 
1570
2266
  # @param request: Request instance for ModifyConsoleNetwork.
@@ -1589,6 +2285,30 @@ module TencentCloud
1589
2285
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1590
2286
  end
1591
2287
 
2288
+ # 修改治理中心服务别名
2289
+
2290
+ # @param request: Request instance for ModifyGovernanceAlias.
2291
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyGovernanceAliasRequest`
2292
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyGovernanceAliasResponse`
2293
+ def ModifyGovernanceAlias(request)
2294
+ body = send_request('ModifyGovernanceAlias', request.serialize)
2295
+ response = JSON.parse(body)
2296
+ if response['Response'].key?('Error') == false
2297
+ model = ModifyGovernanceAliasResponse.new
2298
+ model.deserialize(response['Response'])
2299
+ model
2300
+ else
2301
+ code = response['Response']['Error']['Code']
2302
+ message = response['Response']['Error']['Message']
2303
+ reqid = response['Response']['RequestId']
2304
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2305
+ end
2306
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2307
+ raise e
2308
+ rescue StandardError => e
2309
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2310
+ end
2311
+
1592
2312
  # 修改治理中心服务实例
1593
2313
 
1594
2314
  # @param request: Request instance for ModifyGovernanceInstances.
@@ -1613,6 +2333,54 @@ module TencentCloud
1613
2333
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1614
2334
  end
1615
2335
 
2336
+ # 修改治理中心命名空间
2337
+
2338
+ # @param request: Request instance for ModifyGovernanceNamespaces.
2339
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyGovernanceNamespacesRequest`
2340
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyGovernanceNamespacesResponse`
2341
+ def ModifyGovernanceNamespaces(request)
2342
+ body = send_request('ModifyGovernanceNamespaces', request.serialize)
2343
+ response = JSON.parse(body)
2344
+ if response['Response'].key?('Error') == false
2345
+ model = ModifyGovernanceNamespacesResponse.new
2346
+ model.deserialize(response['Response'])
2347
+ model
2348
+ else
2349
+ code = response['Response']['Error']['Code']
2350
+ message = response['Response']['Error']['Message']
2351
+ reqid = response['Response']['RequestId']
2352
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2353
+ end
2354
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2355
+ raise e
2356
+ rescue StandardError => e
2357
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2358
+ end
2359
+
2360
+ # 修改治理中心服务
2361
+
2362
+ # @param request: Request instance for ModifyGovernanceServices.
2363
+ # @type request: :class:`Tencentcloud::tse::V20201207::ModifyGovernanceServicesRequest`
2364
+ # @rtype: :class:`Tencentcloud::tse::V20201207::ModifyGovernanceServicesResponse`
2365
+ def ModifyGovernanceServices(request)
2366
+ body = send_request('ModifyGovernanceServices', request.serialize)
2367
+ response = JSON.parse(body)
2368
+ if response['Response'].key?('Error') == false
2369
+ model = ModifyGovernanceServicesResponse.new
2370
+ model.deserialize(response['Response'])
2371
+ model
2372
+ else
2373
+ code = response['Response']['Error']['Code']
2374
+ message = response['Response']['Error']['Message']
2375
+ reqid = response['Response']['RequestId']
2376
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2377
+ end
2378
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2379
+ raise e
2380
+ rescue StandardError => e
2381
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2382
+ end
2383
+
1616
2384
  # 修改云原生API网关实例分组基础信息
1617
2385
 
1618
2386
  # @param request: Request instance for ModifyNativeGatewayServerGroup.
@@ -1733,6 +2501,54 @@ module TencentCloud
1733
2501
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1734
2502
  end
1735
2503
 
2504
+ # 发布配置文件
2505
+
2506
+ # @param request: Request instance for PublishConfigFiles.
2507
+ # @type request: :class:`Tencentcloud::tse::V20201207::PublishConfigFilesRequest`
2508
+ # @rtype: :class:`Tencentcloud::tse::V20201207::PublishConfigFilesResponse`
2509
+ def PublishConfigFiles(request)
2510
+ body = send_request('PublishConfigFiles', request.serialize)
2511
+ response = JSON.parse(body)
2512
+ if response['Response'].key?('Error') == false
2513
+ model = PublishConfigFilesResponse.new
2514
+ model.deserialize(response['Response'])
2515
+ model
2516
+ else
2517
+ code = response['Response']['Error']['Code']
2518
+ message = response['Response']['Error']['Message']
2519
+ reqid = response['Response']['RequestId']
2520
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2521
+ end
2522
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2523
+ raise e
2524
+ rescue StandardError => e
2525
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2526
+ end
2527
+
2528
+ # 回滚配置发布
2529
+
2530
+ # @param request: Request instance for RollbackConfigFileReleases.
2531
+ # @type request: :class:`Tencentcloud::tse::V20201207::RollbackConfigFileReleasesRequest`
2532
+ # @rtype: :class:`Tencentcloud::tse::V20201207::RollbackConfigFileReleasesResponse`
2533
+ def RollbackConfigFileReleases(request)
2534
+ body = send_request('RollbackConfigFileReleases', request.serialize)
2535
+ response = JSON.parse(body)
2536
+ if response['Response'].key?('Error') == false
2537
+ model = RollbackConfigFileReleasesResponse.new
2538
+ model.deserialize(response['Response'])
2539
+ model
2540
+ else
2541
+ code = response['Response']['Error']['Code']
2542
+ message = response['Response']['Error']['Message']
2543
+ reqid = response['Response']['RequestId']
2544
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2545
+ end
2546
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2547
+ raise e
2548
+ rescue StandardError => e
2549
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2550
+ end
2551
+
1736
2552
  # 弹性伸缩策略批量解绑网关分组
1737
2553
 
1738
2554
  # @param request: Request instance for UnbindAutoScalerResourceStrategyFromGroups.