tencentcloud-sdk-tem 3.0.371 → 3.0.380

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: 713ea27aebdd79298ac3cfebc572f9933c31f407
4
- data.tar.gz: 5180c870201222b3aba2fa4b2c6e1f0ba9aedadb
3
+ metadata.gz: ff913db592893bd45b2b2418467da8b00f3a4985
4
+ data.tar.gz: 1a79094d2d131eae3167720abb4d96ac21649bd3
5
5
  SHA512:
6
- metadata.gz: 9f77eb61fa48e3fa90bd6ed4975f38546f460b3372b2eaf10081e3788d9142e6493f17e468216219ce50970ce896edd478b7c846ecc246e48153254107eb9344
7
- data.tar.gz: 8ca584ca443c24bfba3068f1d07ff19a52ca278d0af815af5a0320944bdfbb3b9622bac37e52b25c3988295ef8d0c836a55b23af8a1213214e0d01df871bfe4b
6
+ metadata.gz: c538728063303bcfa720570b157476aef1e3c2e1a7dccc4804fb05de1a48c05019ed4bdb3aa85ccabeff46b9bebece02edcdef0ebe3c1ea6b129e138a27a4e8b
7
+ data.tar.gz: 05641b6d0d96c37aabeb6b64cc5943784d2d3a0dcd716ed7a70dd0a713fc50cb2a706c49cee6964db23cb4c3152ed088cca1fb4116b56fa46d06a625a8cc6210
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.371
1
+ 3.0.380
@@ -2,12 +2,12 @@
2
2
 
3
3
  require 'tencentcloud-sdk-common'
4
4
 
5
- require_relative 'v20210701/client'
6
- require_relative 'v20210701/models'
7
-
8
5
  require_relative 'v20201221/client'
9
6
  require_relative 'v20201221/models'
10
7
 
8
+ require_relative 'v20210701/client'
9
+ require_relative 'v20210701/models'
10
+
11
11
  module TencentCloud
12
12
  module Tem
13
13
  end
@@ -53,6 +53,54 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 创建弹性伸缩策略组合
57
+
58
+ # @param request: Request instance for CreateApplicationAutoscaler.
59
+ # @type request: :class:`Tencentcloud::tem::V20210701::CreateApplicationAutoscalerRequest`
60
+ # @rtype: :class:`Tencentcloud::tem::V20210701::CreateApplicationAutoscalerResponse`
61
+ def CreateApplicationAutoscaler(request)
62
+ body = send_request('CreateApplicationAutoscaler', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateApplicationAutoscalerResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 创建配置
81
+
82
+ # @param request: Request instance for CreateConfigData.
83
+ # @type request: :class:`Tencentcloud::tem::V20210701::CreateConfigDataRequest`
84
+ # @rtype: :class:`Tencentcloud::tem::V20210701::CreateConfigDataResponse`
85
+ def CreateConfigData(request)
86
+ body = send_request('CreateConfigData', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CreateConfigDataResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
56
104
  # 生成Cos临时秘钥
57
105
 
58
106
  # @param request: Request instance for CreateCosToken.
@@ -101,6 +149,30 @@ module TencentCloud
101
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
150
  end
103
151
 
152
+ # 创建日志收集配置
153
+
154
+ # @param request: Request instance for CreateLogConfig.
155
+ # @type request: :class:`Tencentcloud::tem::V20210701::CreateLogConfigRequest`
156
+ # @rtype: :class:`Tencentcloud::tem::V20210701::CreateLogConfigResponse`
157
+ def CreateLogConfig(request)
158
+ body = send_request('CreateLogConfig', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = CreateLogConfigResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
104
176
  # 绑定云资源
105
177
 
106
178
  # @param request: Request instance for CreateResource.
@@ -152,6 +224,30 @@ module TencentCloud
152
224
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
153
225
  end
154
226
 
227
+ # 删除应用弹性策略组合
228
+
229
+ # @param request: Request instance for DeleteApplicationAutoscaler.
230
+ # @type request: :class:`Tencentcloud::tem::V20210701::DeleteApplicationAutoscalerRequest`
231
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DeleteApplicationAutoscalerResponse`
232
+ def DeleteApplicationAutoscaler(request)
233
+ body = send_request('DeleteApplicationAutoscaler', request.serialize)
234
+ response = JSON.parse(body)
235
+ if response['Response'].key?('Error') == false
236
+ model = DeleteApplicationAutoscalerResponse.new
237
+ model.deserialize(response['Response'])
238
+ model
239
+ else
240
+ code = response['Response']['Error']['Code']
241
+ message = response['Response']['Error']['Message']
242
+ reqid = response['Response']['RequestId']
243
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
244
+ end
245
+ rescue TencentCloud::Common::TencentCloudSDKException => e
246
+ raise e
247
+ rescue StandardError => e
248
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
249
+ end
250
+
155
251
  # 删除 Ingress 规则
156
252
 
157
253
  # @param request: Request instance for DeleteIngress.
@@ -200,6 +296,54 @@ module TencentCloud
200
296
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
201
297
  end
202
298
 
299
+ # 获取应用弹性策略组合
300
+
301
+ # @param request: Request instance for DescribeApplicationAutoscalerList.
302
+ # @type request: :class:`Tencentcloud::tem::V20210701::DescribeApplicationAutoscalerListRequest`
303
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DescribeApplicationAutoscalerListResponse`
304
+ def DescribeApplicationAutoscalerList(request)
305
+ body = send_request('DescribeApplicationAutoscalerList', request.serialize)
306
+ response = JSON.parse(body)
307
+ if response['Response'].key?('Error') == false
308
+ model = DescribeApplicationAutoscalerListResponse.new
309
+ model.deserialize(response['Response'])
310
+ model
311
+ else
312
+ code = response['Response']['Error']['Code']
313
+ message = response['Response']['Error']['Message']
314
+ reqid = response['Response']['RequestId']
315
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
316
+ end
317
+ rescue TencentCloud::Common::TencentCloudSDKException => e
318
+ raise e
319
+ rescue StandardError => e
320
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
321
+ end
322
+
323
+ # 服务基本信息查看
324
+
325
+ # @param request: Request instance for DescribeApplicationInfo.
326
+ # @type request: :class:`Tencentcloud::tem::V20210701::DescribeApplicationInfoRequest`
327
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DescribeApplicationInfoResponse`
328
+ def DescribeApplicationInfo(request)
329
+ body = send_request('DescribeApplicationInfo', request.serialize)
330
+ response = JSON.parse(body)
331
+ if response['Response'].key?('Error') == false
332
+ model = DescribeApplicationInfoResponse.new
333
+ model.deserialize(response['Response'])
334
+ model
335
+ else
336
+ code = response['Response']['Error']['Code']
337
+ message = response['Response']['Error']['Message']
338
+ reqid = response['Response']['RequestId']
339
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
340
+ end
341
+ rescue TencentCloud::Common::TencentCloudSDKException => e
342
+ raise e
343
+ rescue StandardError => e
344
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
345
+ end
346
+
203
347
  # 获取应用实例列表
204
348
 
205
349
  # @param request: Request instance for DescribeApplicationPods.
@@ -272,6 +416,54 @@ module TencentCloud
272
416
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
273
417
  end
274
418
 
419
+ # 查询配置详情
420
+
421
+ # @param request: Request instance for DescribeConfigData.
422
+ # @type request: :class:`Tencentcloud::tem::V20210701::DescribeConfigDataRequest`
423
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DescribeConfigDataResponse`
424
+ def DescribeConfigData(request)
425
+ body = send_request('DescribeConfigData', request.serialize)
426
+ response = JSON.parse(body)
427
+ if response['Response'].key?('Error') == false
428
+ model = DescribeConfigDataResponse.new
429
+ model.deserialize(response['Response'])
430
+ model
431
+ else
432
+ code = response['Response']['Error']['Code']
433
+ message = response['Response']['Error']['Message']
434
+ reqid = response['Response']['RequestId']
435
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
436
+ end
437
+ rescue TencentCloud::Common::TencentCloudSDKException => e
438
+ raise e
439
+ rescue StandardError => e
440
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
441
+ end
442
+
443
+ # 查询配置列表
444
+
445
+ # @param request: Request instance for DescribeConfigDataList.
446
+ # @type request: :class:`Tencentcloud::tem::V20210701::DescribeConfigDataListRequest`
447
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DescribeConfigDataListResponse`
448
+ def DescribeConfigDataList(request)
449
+ body = send_request('DescribeConfigDataList', request.serialize)
450
+ response = JSON.parse(body)
451
+ if response['Response'].key?('Error') == false
452
+ model = DescribeConfigDataListResponse.new
453
+ model.deserialize(response['Response'])
454
+ model
455
+ else
456
+ code = response['Response']['Error']['Code']
457
+ message = response['Response']['Error']['Message']
458
+ reqid = response['Response']['RequestId']
459
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
460
+ end
461
+ rescue TencentCloud::Common::TencentCloudSDKException => e
462
+ raise e
463
+ rescue StandardError => e
464
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
465
+ end
466
+
275
467
  # 获取分批发布详情
276
468
 
277
469
  # @param request: Request instance for DescribeDeployApplicationDetail.
@@ -320,7 +512,7 @@ module TencentCloud
320
512
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
321
513
  end
322
514
 
323
- # 获取租户环境列表
515
+ # 获取环境列表
324
516
 
325
517
  # @param request: Request instance for DescribeEnvironments.
326
518
  # @type request: :class:`Tencentcloud::tem::V20210701::DescribeEnvironmentsRequest`
@@ -392,6 +584,54 @@ module TencentCloud
392
584
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
393
585
  end
394
586
 
587
+ # 查询日志收集配置详情
588
+
589
+ # @param request: Request instance for DescribeLogConfig.
590
+ # @type request: :class:`Tencentcloud::tem::V20210701::DescribeLogConfigRequest`
591
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DescribeLogConfigResponse`
592
+ def DescribeLogConfig(request)
593
+ body = send_request('DescribeLogConfig', request.serialize)
594
+ response = JSON.parse(body)
595
+ if response['Response'].key?('Error') == false
596
+ model = DescribeLogConfigResponse.new
597
+ model.deserialize(response['Response'])
598
+ model
599
+ else
600
+ code = response['Response']['Error']['Code']
601
+ message = response['Response']['Error']['Message']
602
+ reqid = response['Response']['RequestId']
603
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
604
+ end
605
+ rescue TencentCloud::Common::TencentCloudSDKException => e
606
+ raise e
607
+ rescue StandardError => e
608
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
609
+ end
610
+
611
+ # 查询分页的日志收集配置列表
612
+
613
+ # @param request: Request instance for DescribePagedLogConfigList.
614
+ # @type request: :class:`Tencentcloud::tem::V20210701::DescribePagedLogConfigListRequest`
615
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DescribePagedLogConfigListResponse`
616
+ def DescribePagedLogConfigList(request)
617
+ body = send_request('DescribePagedLogConfigList', request.serialize)
618
+ response = JSON.parse(body)
619
+ if response['Response'].key?('Error') == false
620
+ model = DescribePagedLogConfigListResponse.new
621
+ model.deserialize(response['Response'])
622
+ model
623
+ else
624
+ code = response['Response']['Error']['Code']
625
+ message = response['Response']['Error']['Message']
626
+ reqid = response['Response']['RequestId']
627
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
628
+ end
629
+ rescue TencentCloud::Common::TencentCloudSDKException => e
630
+ raise e
631
+ rescue StandardError => e
632
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
633
+ end
634
+
395
635
  # 查询应用关联的 Ingress 规则列表
396
636
 
397
637
  # @param request: Request instance for DescribeRelatedIngresses.
@@ -416,7 +656,31 @@ module TencentCloud
416
656
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
417
657
  end
418
658
 
419
- # 销毁命名空间
659
+ # 销毁配置
660
+
661
+ # @param request: Request instance for DestroyConfigData.
662
+ # @type request: :class:`Tencentcloud::tem::V20210701::DestroyConfigDataRequest`
663
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DestroyConfigDataResponse`
664
+ def DestroyConfigData(request)
665
+ body = send_request('DestroyConfigData', request.serialize)
666
+ response = JSON.parse(body)
667
+ if response['Response'].key?('Error') == false
668
+ model = DestroyConfigDataResponse.new
669
+ model.deserialize(response['Response'])
670
+ model
671
+ else
672
+ code = response['Response']['Error']['Code']
673
+ message = response['Response']['Error']['Message']
674
+ reqid = response['Response']['RequestId']
675
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
676
+ end
677
+ rescue TencentCloud::Common::TencentCloudSDKException => e
678
+ raise e
679
+ rescue StandardError => e
680
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
681
+ end
682
+
683
+ # 销毁环境
420
684
 
421
685
  # @param request: Request instance for DestroyEnvironment.
422
686
  # @type request: :class:`Tencentcloud::tem::V20210701::DestroyEnvironmentRequest`
@@ -440,6 +704,30 @@ module TencentCloud
440
704
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
441
705
  end
442
706
 
707
+ # 销毁日志收集配置
708
+
709
+ # @param request: Request instance for DestroyLogConfig.
710
+ # @type request: :class:`Tencentcloud::tem::V20210701::DestroyLogConfigRequest`
711
+ # @rtype: :class:`Tencentcloud::tem::V20210701::DestroyLogConfigResponse`
712
+ def DestroyLogConfig(request)
713
+ body = send_request('DestroyLogConfig', request.serialize)
714
+ response = JSON.parse(body)
715
+ if response['Response'].key?('Error') == false
716
+ model = DestroyLogConfigResponse.new
717
+ model.deserialize(response['Response'])
718
+ model
719
+ else
720
+ code = response['Response']['Error']['Code']
721
+ message = response['Response']['Error']['Message']
722
+ reqid = response['Response']['RequestId']
723
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
724
+ end
725
+ rescue TencentCloud::Common::TencentCloudSDKException => e
726
+ raise e
727
+ rescue StandardError => e
728
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
729
+ end
730
+
443
731
  # 生成应用程序包预签名下载链接
444
732
 
445
733
  # @param request: Request instance for GenerateApplicationPackageDownloadUrl.
@@ -464,6 +752,30 @@ module TencentCloud
464
752
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
465
753
  end
466
754
 
755
+ # 修改弹性伸缩策略组合
756
+
757
+ # @param request: Request instance for ModifyApplicationAutoscaler.
758
+ # @type request: :class:`Tencentcloud::tem::V20210701::ModifyApplicationAutoscalerRequest`
759
+ # @rtype: :class:`Tencentcloud::tem::V20210701::ModifyApplicationAutoscalerResponse`
760
+ def ModifyApplicationAutoscaler(request)
761
+ body = send_request('ModifyApplicationAutoscaler', request.serialize)
762
+ response = JSON.parse(body)
763
+ if response['Response'].key?('Error') == false
764
+ model = ModifyApplicationAutoscalerResponse.new
765
+ model.deserialize(response['Response'])
766
+ model
767
+ else
768
+ code = response['Response']['Error']['Code']
769
+ message = response['Response']['Error']['Message']
770
+ reqid = response['Response']['RequestId']
771
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
772
+ end
773
+ rescue TencentCloud::Common::TencentCloudSDKException => e
774
+ raise e
775
+ rescue StandardError => e
776
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
777
+ end
778
+
467
779
  # 修改应用基本信息
468
780
 
469
781
  # @param request: Request instance for ModifyApplicationInfo.
@@ -512,6 +824,30 @@ module TencentCloud
512
824
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
513
825
  end
514
826
 
827
+ # 编辑配置
828
+
829
+ # @param request: Request instance for ModifyConfigData.
830
+ # @type request: :class:`Tencentcloud::tem::V20210701::ModifyConfigDataRequest`
831
+ # @rtype: :class:`Tencentcloud::tem::V20210701::ModifyConfigDataResponse`
832
+ def ModifyConfigData(request)
833
+ body = send_request('ModifyConfigData', request.serialize)
834
+ response = JSON.parse(body)
835
+ if response['Response'].key?('Error') == false
836
+ model = ModifyConfigDataResponse.new
837
+ model.deserialize(response['Response'])
838
+ model
839
+ else
840
+ code = response['Response']['Error']['Code']
841
+ message = response['Response']['Error']['Message']
842
+ reqid = response['Response']['RequestId']
843
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
844
+ end
845
+ rescue TencentCloud::Common::TencentCloudSDKException => e
846
+ raise e
847
+ rescue StandardError => e
848
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
849
+ end
850
+
515
851
  # 编辑环境
516
852
 
517
853
  # @param request: Request instance for ModifyEnvironment.
@@ -560,6 +896,30 @@ module TencentCloud
560
896
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
561
897
  end
562
898
 
899
+ # 编辑日志收集配置
900
+
901
+ # @param request: Request instance for ModifyLogConfig.
902
+ # @type request: :class:`Tencentcloud::tem::V20210701::ModifyLogConfigRequest`
903
+ # @rtype: :class:`Tencentcloud::tem::V20210701::ModifyLogConfigResponse`
904
+ def ModifyLogConfig(request)
905
+ body = send_request('ModifyLogConfig', request.serialize)
906
+ response = JSON.parse(body)
907
+ if response['Response'].key?('Error') == false
908
+ model = ModifyLogConfigResponse.new
909
+ model.deserialize(response['Response'])
910
+ model
911
+ else
912
+ code = response['Response']['Error']['Code']
913
+ message = response['Response']['Error']['Message']
914
+ reqid = response['Response']['RequestId']
915
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
916
+ end
917
+ rescue TencentCloud::Common::TencentCloudSDKException => e
918
+ raise e
919
+ rescue StandardError => e
920
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
921
+ end
922
+
563
923
  # 服务重启
564
924
 
565
925
  # @param request: Request instance for RestartApplication.