tencentcloud-sdk-clb 3.0.634 → 3.0.636

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: 8ea349b671826d19eaa3359a322a9a6343fea217
4
- data.tar.gz: 75de95323ac1674a7cac671708706b53fb75a2dd
3
+ metadata.gz: 12cb909c76181196d354d139298e8b8f55962e66
4
+ data.tar.gz: b5c8cbcda3a3ac11eeebaa4d9cfa4717ea84ecc5
5
5
  SHA512:
6
- metadata.gz: ad61783e07c077507826f06849264f8ee4f7307d8c8f6b2a7de29e7dcc8c0704aaf7683809664170eaa96300933a237d383d94485fde8ec98a763b5d74d273cc
7
- data.tar.gz: 86aa546ed61be784195e26383cf1e5decdc1dc1591698283aeacf428d54d9681cd5f7f9a71be7a45020e166fd98bf3471869c33a97e53b036caec373ae69e342
6
+ metadata.gz: 0a9a8d9a7a43cd51c8ba97fe34aec15824606d2e870b7088d9f3220380ae93fef738b587464d1e72507872b267860aabfa2891cd0a3eb0cf2c0dcfffe90c5f58
7
+ data.tar.gz: 92c6d27eadc835d214d2e0303bee2711a0ec4805d1c5c1d0f6e6f4e23ab3045052efd24522123615c068d2979554678280a15f149bda8744597ed2cdc4c7eec1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.634
1
+ 3.0.636
@@ -1625,6 +1625,30 @@ module TencentCloud
1625
1625
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1626
1626
  end
1627
1627
 
1628
+ # 修改一个或多个负载均衡实例所属项目。
1629
+
1630
+ # @param request: Request instance for ModifyLoadBalancersProject.
1631
+ # @type request: :class:`Tencentcloud::clb::V20180317::ModifyLoadBalancersProjectRequest`
1632
+ # @rtype: :class:`Tencentcloud::clb::V20180317::ModifyLoadBalancersProjectResponse`
1633
+ def ModifyLoadBalancersProject(request)
1634
+ body = send_request('ModifyLoadBalancersProject', request.serialize)
1635
+ response = JSON.parse(body)
1636
+ if response['Response'].key?('Error') == false
1637
+ model = ModifyLoadBalancersProjectResponse.new
1638
+ model.deserialize(response['Response'])
1639
+ model
1640
+ else
1641
+ code = response['Response']['Error']['Code']
1642
+ message = response['Response']['Error']['Message']
1643
+ reqid = response['Response']['RequestId']
1644
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1645
+ end
1646
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1647
+ raise e
1648
+ rescue StandardError => e
1649
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1650
+ end
1651
+
1628
1652
  # ModifyRule 接口用来修改负载均衡七层监听器下的转发规则的各项属性,包括转发路径、健康检查属性、转发策略等。
1629
1653
  # 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
1630
1654
 
@@ -5879,6 +5879,42 @@ module TencentCloud
5879
5879
  end
5880
5880
  end
5881
5881
 
5882
+ # ModifyLoadBalancersProject请求参数结构体
5883
+ class ModifyLoadBalancersProjectRequest < TencentCloud::Common::AbstractModel
5884
+ # @param LoadBalancerIds: 一个或多个待操作的负载均衡实例ID。
5885
+ # @type LoadBalancerIds: Array
5886
+ # @param ProjectId: 项目ID。
5887
+ # @type ProjectId: Integer
5888
+
5889
+ attr_accessor :LoadBalancerIds, :ProjectId
5890
+
5891
+ def initialize(loadbalancerids=nil, projectid=nil)
5892
+ @LoadBalancerIds = loadbalancerids
5893
+ @ProjectId = projectid
5894
+ end
5895
+
5896
+ def deserialize(params)
5897
+ @LoadBalancerIds = params['LoadBalancerIds']
5898
+ @ProjectId = params['ProjectId']
5899
+ end
5900
+ end
5901
+
5902
+ # ModifyLoadBalancersProject返回参数结构体
5903
+ class ModifyLoadBalancersProjectResponse < TencentCloud::Common::AbstractModel
5904
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5905
+ # @type RequestId: String
5906
+
5907
+ attr_accessor :RequestId
5908
+
5909
+ def initialize(requestid=nil)
5910
+ @RequestId = requestid
5911
+ end
5912
+
5913
+ def deserialize(params)
5914
+ @RequestId = params['RequestId']
5915
+ end
5916
+ end
5917
+
5882
5918
  # ModifyRule请求参数结构体
5883
5919
  class ModifyRuleRequest < TencentCloud::Common::AbstractModel
5884
5920
  # @param LoadBalancerId: 负载均衡实例 ID。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-clb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.634
4
+ version: 3.0.636
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-11 00:00:00.000000000 Z
11
+ date: 2023-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common