tencentcloud-sdk-clb 3.0.635 → 3.0.637

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: b52d6c64dcb1483415f00f8dbc3b6b10ffdf414a
4
- data.tar.gz: c9d53508cf3418927bbe039403b658dc868c08fe
3
+ metadata.gz: 09023cbc90ae8c6897ec75d8e56a96b114f98475
4
+ data.tar.gz: 9bf8b6ddb40518e0e649a6f491468d008a7453ec
5
5
  SHA512:
6
- metadata.gz: 234e217b0196c18584ad2536e2e5a4048abfc4792313be7d97427fc76f071e56dd2ab7c85835c653ac5ae902debd97940ecb6db5aa073395360a37effe9aa526
7
- data.tar.gz: 9c476e7b8fc8f509118b05906050693fb4d98fa9c7486e142cbbd7c423603fc6459b1fec6f763defa05e9d23bb9a012c9d0d8404750bdb7eda6e38de80191a56
6
+ metadata.gz: 5d4fcf0295599e63bc988b565b203d9a665db7665c1f83ba218cc2133ed2f6d51249184ed3ad2dbe7607f3617173baa926a42a44f4bbf48196ef3796123f314f
7
+ data.tar.gz: 3c7e1ff1fda435461d5f758076e89352a175fa82431cbf5b52eb15de47a67b9d8b4130533d45a9a0f51c771681ba31b7b478fc732dbf1413885d6e14546bee48
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.635
1
+ 3.0.637
@@ -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.635
4
+ version: 3.0.637
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-14 00:00:00.000000000 Z
11
+ date: 2023-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common