tencentcloud-sdk-tsf 3.0.494 → 3.0.495

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: 0b6a968402ca324b5898af93cb4c451755972811
4
- data.tar.gz: 74ee0b98193b4256d7a9c4b8fdb0b9c8c8730a4b
3
+ metadata.gz: ada64a112cd3610caaa0e5ae30e744aff2c98993
4
+ data.tar.gz: 2641aca3ae23cb45bef8c8c2c554d215524fc11e
5
5
  SHA512:
6
- metadata.gz: 5f6aaa207db19178b46fe97defba05e87fb7ee3c5d247b594e3deff4bb244dc5bc415a6a5b4df0ff35648f9bf7abbd11d5c1820f0b060bc43e9f1fb1d6c44145
7
- data.tar.gz: b42b2f3cba73726b4f902a2948ddb5f210a0ebe33718959853daecb41279ed95ca759585745866ee6bdad39a36eefae0e5b151cbfc6dd202f5f2538e1eb7cc93
6
+ metadata.gz: 6edca281eaa54daa27e8beaf311f32d8b472aef8ed56b1e2bf7cc1b8073e472137325da1d1d897159ef2e6300033474f550abc82f9357e47a50d0b1a1336c13d
7
+ data.tar.gz: cb5dc0fd407cbe98608e5759ce1dd3f358e14ff2abe1139c4e1869f6ec53b1231f403d775e1a7091062a8825bfff6c2bd875f3c0b3f73dfb8700dbaeda90c83a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.494
1
+ 3.0.495
@@ -365,6 +365,30 @@ module TencentCloud
365
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
366
  end
367
367
 
368
+ # 创建参数模板
369
+
370
+ # @param request: Request instance for CreateConfigTemplate.
371
+ # @type request: :class:`Tencentcloud::tsf::V20180326::CreateConfigTemplateRequest`
372
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::CreateConfigTemplateResponse`
373
+ def CreateConfigTemplate(request)
374
+ body = send_request('CreateConfigTemplate', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = CreateConfigTemplateResponse.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
+
368
392
  # 创建容器部署组
369
393
 
370
394
  # @param request: Request instance for CreateContainGroup.
@@ -533,6 +557,30 @@ module TencentCloud
533
557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
558
  end
535
559
 
560
+ # 新增微服务返回id
561
+
562
+ # @param request: Request instance for CreateMicroserviceWithDetailResp.
563
+ # @type request: :class:`Tencentcloud::tsf::V20180326::CreateMicroserviceWithDetailRespRequest`
564
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::CreateMicroserviceWithDetailRespResponse`
565
+ def CreateMicroserviceWithDetailResp(request)
566
+ body = send_request('CreateMicroserviceWithDetailResp', request.serialize)
567
+ response = JSON.parse(body)
568
+ if response['Response'].key?('Error') == false
569
+ model = CreateMicroserviceWithDetailRespResponse.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
+
536
584
  # 创建命名空间
537
585
 
538
586
  # @param request: Request instance for CreateNamespace.
@@ -749,6 +797,30 @@ module TencentCloud
749
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
798
  end
751
799
 
800
+ # 删除集群
801
+
802
+ # @param request: Request instance for DeleteCluster.
803
+ # @type request: :class:`Tencentcloud::tsf::V20180326::DeleteClusterRequest`
804
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::DeleteClusterResponse`
805
+ def DeleteCluster(request)
806
+ body = send_request('DeleteCluster', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DeleteClusterResponse.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
+
752
824
  # 删除配置项
753
825
 
754
826
  # @param request: Request instance for DeleteConfig.
@@ -773,6 +845,30 @@ module TencentCloud
773
845
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
846
  end
775
847
 
848
+ # 删除模板
849
+
850
+ # @param request: Request instance for DeleteConfigTemplate.
851
+ # @type request: :class:`Tencentcloud::tsf::V20180326::DeleteConfigTemplateRequest`
852
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::DeleteConfigTemplateResponse`
853
+ def DeleteConfigTemplate(request)
854
+ body = send_request('DeleteConfigTemplate', request.serialize)
855
+ response = JSON.parse(body)
856
+ if response['Response'].key?('Error') == false
857
+ model = DeleteConfigTemplateResponse.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
+
776
872
  # 删除容器部署组
777
873
 
778
874
  # @param request: Request instance for DeleteContainerGroup.
@@ -1518,6 +1614,30 @@ module TencentCloud
1518
1614
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1519
1615
  end
1520
1616
 
1617
+ # 获取集群列表
1618
+
1619
+ # @param request: Request instance for DescribeClusters.
1620
+ # @type request: :class:`Tencentcloud::tsf::V20180326::DescribeClustersRequest`
1621
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeClustersResponse`
1622
+ def DescribeClusters(request)
1623
+ body = send_request('DescribeClusters', request.serialize)
1624
+ response = JSON.parse(body)
1625
+ if response['Response'].key?('Error') == false
1626
+ model = DescribeClustersResponse.new
1627
+ model.deserialize(response['Response'])
1628
+ model
1629
+ else
1630
+ code = response['Response']['Error']['Code']
1631
+ message = response['Response']['Error']['Message']
1632
+ reqid = response['Response']['RequestId']
1633
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1634
+ end
1635
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1636
+ raise e
1637
+ rescue StandardError => e
1638
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1639
+ end
1640
+
1521
1641
  # 查询配置
1522
1642
 
1523
1643
  # @param request: Request instance for DescribeConfig.
@@ -1614,6 +1734,30 @@ module TencentCloud
1614
1734
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1615
1735
  end
1616
1736
 
1737
+ # 导入配置
1738
+
1739
+ # @param request: Request instance for DescribeConfigTemplate.
1740
+ # @type request: :class:`Tencentcloud::tsf::V20180326::DescribeConfigTemplateRequest`
1741
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeConfigTemplateResponse`
1742
+ def DescribeConfigTemplate(request)
1743
+ body = send_request('DescribeConfigTemplate', request.serialize)
1744
+ response = JSON.parse(body)
1745
+ if response['Response'].key?('Error') == false
1746
+ model = DescribeConfigTemplateResponse.new
1747
+ model.deserialize(response['Response'])
1748
+ model
1749
+ else
1750
+ code = response['Response']['Error']['Code']
1751
+ message = response['Response']['Error']['Message']
1752
+ reqid = response['Response']['RequestId']
1753
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1754
+ end
1755
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1756
+ raise e
1757
+ rescue StandardError => e
1758
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1759
+ end
1760
+
1617
1761
  # 查询配置项列表
1618
1762
 
1619
1763
  # @param request: Request instance for DescribeConfigs.
@@ -1879,6 +2023,30 @@ module TencentCloud
1879
2023
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1880
2024
  end
1881
2025
 
2026
+ # 查询文件配置项发布信息
2027
+
2028
+ # @param request: Request instance for DescribeFileConfigReleases.
2029
+ # @type request: :class:`Tencentcloud::tsf::V20180326::DescribeFileConfigReleasesRequest`
2030
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeFileConfigReleasesResponse`
2031
+ def DescribeFileConfigReleases(request)
2032
+ body = send_request('DescribeFileConfigReleases', request.serialize)
2033
+ response = JSON.parse(body)
2034
+ if response['Response'].key?('Error') == false
2035
+ model = DescribeFileConfigReleasesResponse.new
2036
+ model.deserialize(response['Response'])
2037
+ model
2038
+ else
2039
+ code = response['Response']['Error']['Code']
2040
+ message = response['Response']['Error']['Message']
2041
+ reqid = response['Response']['RequestId']
2042
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2043
+ end
2044
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2045
+ raise e
2046
+ rescue StandardError => e
2047
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2048
+ end
2049
+
1882
2050
  # 查询文件配置项列表
1883
2051
 
1884
2052
  # @param request: Request instance for DescribeFileConfigs.
@@ -3608,6 +3776,54 @@ module TencentCloud
3608
3776
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3609
3777
  end
3610
3778
 
3779
+ # 修改应用
3780
+
3781
+ # @param request: Request instance for ModifyApplication.
3782
+ # @type request: :class:`Tencentcloud::tsf::V20180326::ModifyApplicationRequest`
3783
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::ModifyApplicationResponse`
3784
+ def ModifyApplication(request)
3785
+ body = send_request('ModifyApplication', request.serialize)
3786
+ response = JSON.parse(body)
3787
+ if response['Response'].key?('Error') == false
3788
+ model = ModifyApplicationResponse.new
3789
+ model.deserialize(response['Response'])
3790
+ model
3791
+ else
3792
+ code = response['Response']['Error']['Code']
3793
+ message = response['Response']['Error']['Message']
3794
+ reqid = response['Response']['RequestId']
3795
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3796
+ end
3797
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3798
+ raise e
3799
+ rescue StandardError => e
3800
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3801
+ end
3802
+
3803
+ # 修改集群信息
3804
+
3805
+ # @param request: Request instance for ModifyCluster.
3806
+ # @type request: :class:`Tencentcloud::tsf::V20180326::ModifyClusterRequest`
3807
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::ModifyClusterResponse`
3808
+ def ModifyCluster(request)
3809
+ body = send_request('ModifyCluster', request.serialize)
3810
+ response = JSON.parse(body)
3811
+ if response['Response'].key?('Error') == false
3812
+ model = ModifyClusterResponse.new
3813
+ model.deserialize(response['Response'])
3814
+ model
3815
+ else
3816
+ code = response['Response']['Error']['Code']
3817
+ message = response['Response']['Error']['Message']
3818
+ reqid = response['Response']['RequestId']
3819
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3820
+ end
3821
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3822
+ raise e
3823
+ rescue StandardError => e
3824
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3825
+ end
3826
+
3611
3827
  # 修改容器部署组
3612
3828
 
3613
3829
  # @param request: Request instance for ModifyContainerGroup.
@@ -3656,6 +3872,30 @@ module TencentCloud
3656
3872
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3657
3873
  end
3658
3874
 
3875
+ # 更新部署组信息
3876
+
3877
+ # @param request: Request instance for ModifyGroup.
3878
+ # @type request: :class:`Tencentcloud::tsf::V20180326::ModifyGroupRequest`
3879
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::ModifyGroupResponse`
3880
+ def ModifyGroup(request)
3881
+ body = send_request('ModifyGroup', request.serialize)
3882
+ response = JSON.parse(body)
3883
+ if response['Response'].key?('Error') == false
3884
+ model = ModifyGroupResponse.new
3885
+ model.deserialize(response['Response'])
3886
+ model
3887
+ else
3888
+ code = response['Response']['Error']['Code']
3889
+ message = response['Response']['Error']['Message']
3890
+ reqid = response['Response']['RequestId']
3891
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3892
+ end
3893
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3894
+ raise e
3895
+ rescue StandardError => e
3896
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3897
+ end
3898
+
3659
3899
  # 更新泳道信息
3660
3900
 
3661
3901
  # @param request: Request instance for ModifyLane.
@@ -3728,6 +3968,30 @@ module TencentCloud
3728
3968
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3729
3969
  end
3730
3970
 
3971
+ # 修改命名空间
3972
+
3973
+ # @param request: Request instance for ModifyNamespace.
3974
+ # @type request: :class:`Tencentcloud::tsf::V20180326::ModifyNamespaceRequest`
3975
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::ModifyNamespaceResponse`
3976
+ def ModifyNamespace(request)
3977
+ body = send_request('ModifyNamespace', request.serialize)
3978
+ response = JSON.parse(body)
3979
+ if response['Response'].key?('Error') == false
3980
+ model = ModifyNamespaceResponse.new
3981
+ model.deserialize(response['Response'])
3982
+ model
3983
+ else
3984
+ code = response['Response']['Error']['Code']
3985
+ message = response['Response']['Error']['Message']
3986
+ reqid = response['Response']['RequestId']
3987
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3988
+ end
3989
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3990
+ raise e
3991
+ rescue StandardError => e
3992
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3993
+ end
3994
+
3731
3995
  # 修改路径重写
3732
3996
 
3733
3997
  # @param request: Request instance for ModifyPathRewrite.
@@ -4113,6 +4377,30 @@ module TencentCloud
4113
4377
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4114
4378
  end
4115
4379
 
4380
+ # 撤回已发布的文件配置
4381
+
4382
+ # @param request: Request instance for RevokeFileConfig.
4383
+ # @type request: :class:`Tencentcloud::tsf::V20180326::RevokeFileConfigRequest`
4384
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::RevokeFileConfigResponse`
4385
+ def RevokeFileConfig(request)
4386
+ body = send_request('RevokeFileConfig', request.serialize)
4387
+ response = JSON.parse(body)
4388
+ if response['Response'].key?('Error') == false
4389
+ model = RevokeFileConfigResponse.new
4390
+ model.deserialize(response['Response'])
4391
+ model
4392
+ else
4393
+ code = response['Response']['Error']['Code']
4394
+ message = response['Response']['Error']['Message']
4395
+ reqid = response['Response']['RequestId']
4396
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4397
+ end
4398
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4399
+ raise e
4400
+ rescue StandardError => e
4401
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4402
+ end
4403
+
4116
4404
  # 回滚配置
4117
4405
 
4118
4406
  # @param request: Request instance for RollbackConfig.
@@ -4521,6 +4809,30 @@ module TencentCloud
4521
4809
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4522
4810
  end
4523
4811
 
4812
+ # 更新参数模板
4813
+
4814
+ # @param request: Request instance for UpdateConfigTemplate.
4815
+ # @type request: :class:`Tencentcloud::tsf::V20180326::UpdateConfigTemplateRequest`
4816
+ # @rtype: :class:`Tencentcloud::tsf::V20180326::UpdateConfigTemplateResponse`
4817
+ def UpdateConfigTemplate(request)
4818
+ body = send_request('UpdateConfigTemplate', request.serialize)
4819
+ response = JSON.parse(body)
4820
+ if response['Response'].key?('Error') == false
4821
+ model = UpdateConfigTemplateResponse.new
4822
+ model.deserialize(response['Response'])
4823
+ model
4824
+ else
4825
+ code = response['Response']['Error']['Code']
4826
+ message = response['Response']['Error']['Message']
4827
+ reqid = response['Response']['RequestId']
4828
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4829
+ end
4830
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4831
+ raise e
4832
+ rescue StandardError => e
4833
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4834
+ end
4835
+
4524
4836
  # 更新API
4525
4837
 
4526
4838
  # @param request: Request instance for UpdateGatewayApi.