tencentcloud-sdk-teo 3.0.476 → 3.0.477
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +0 -24
- data/lib/v20220901/models.rb +0 -42
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d002ef0df4b9027c0538840a94b006ec5a908b9
|
4
|
+
data.tar.gz: dd506ba284b26cf91aae0faf5073f552f5adb3c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 452af04065b48da8555ccb33060d6613b498f6c3cad48e4268e16c3e2689160ea09f62f3f2c4dc5d908f4551d5762c22167704eacb969e249a246c5294dea82a
|
7
|
+
data.tar.gz: 651e4ad65889635ee8460891b1ad5cfe9615e18986908db86936b43895ce750fb3618f59af4fc1780d0f73a584fdb68ae7c37c58245b103aa9a7ceaf0b072e01
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.477
|
data/lib/v20220901/client.rb
CHANGED
@@ -2693,30 +2693,6 @@ module TencentCloud
|
|
2693
2693
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2694
2694
|
end
|
2695
2695
|
|
2696
|
-
# 修改负载均衡状态
|
2697
|
-
|
2698
|
-
# @param request: Request instance for ModifyLoadBalancingStatus.
|
2699
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyLoadBalancingStatusRequest`
|
2700
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyLoadBalancingStatusResponse`
|
2701
|
-
def ModifyLoadBalancingStatus(request)
|
2702
|
-
body = send_request('ModifyLoadBalancingStatus', request.serialize)
|
2703
|
-
response = JSON.parse(body)
|
2704
|
-
if response['Response'].key?('Error') == false
|
2705
|
-
model = ModifyLoadBalancingStatusResponse.new
|
2706
|
-
model.deserialize(response['Response'])
|
2707
|
-
model
|
2708
|
-
else
|
2709
|
-
code = response['Response']['Error']['Code']
|
2710
|
-
message = response['Response']['Error']['Message']
|
2711
|
-
reqid = response['Response']['RequestId']
|
2712
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2713
|
-
end
|
2714
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2715
|
-
raise e
|
2716
|
-
rescue StandardError => e
|
2717
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2718
|
-
end
|
2719
|
-
|
2720
2696
|
# 本接口(ModifyLogTopicTask)用于修改日志推送任务信息。
|
2721
2697
|
|
2722
2698
|
# @param request: Request instance for ModifyLogTopicTask.
|
data/lib/v20220901/models.rb
CHANGED
@@ -10472,48 +10472,6 @@ module TencentCloud
|
|
10472
10472
|
end
|
10473
10473
|
end
|
10474
10474
|
|
10475
|
-
# ModifyLoadBalancingStatus请求参数结构体
|
10476
|
-
class ModifyLoadBalancingStatusRequest < TencentCloud::Common::AbstractModel
|
10477
|
-
# @param ZoneId: 站点ID。
|
10478
|
-
# @type ZoneId: String
|
10479
|
-
# @param LoadBalancingId: 负载均衡ID。
|
10480
|
-
# @type LoadBalancingId: String
|
10481
|
-
# @param Status: 负载均衡状态,取值有:
|
10482
|
-
# <li>online:启用;</li>
|
10483
|
-
# <li>offline:停用。</li>
|
10484
|
-
# @type Status: String
|
10485
|
-
|
10486
|
-
attr_accessor :ZoneId, :LoadBalancingId, :Status
|
10487
|
-
|
10488
|
-
def initialize(zoneid=nil, loadbalancingid=nil, status=nil)
|
10489
|
-
@ZoneId = zoneid
|
10490
|
-
@LoadBalancingId = loadbalancingid
|
10491
|
-
@Status = status
|
10492
|
-
end
|
10493
|
-
|
10494
|
-
def deserialize(params)
|
10495
|
-
@ZoneId = params['ZoneId']
|
10496
|
-
@LoadBalancingId = params['LoadBalancingId']
|
10497
|
-
@Status = params['Status']
|
10498
|
-
end
|
10499
|
-
end
|
10500
|
-
|
10501
|
-
# ModifyLoadBalancingStatus返回参数结构体
|
10502
|
-
class ModifyLoadBalancingStatusResponse < TencentCloud::Common::AbstractModel
|
10503
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10504
|
-
# @type RequestId: String
|
10505
|
-
|
10506
|
-
attr_accessor :RequestId
|
10507
|
-
|
10508
|
-
def initialize(requestid=nil)
|
10509
|
-
@RequestId = requestid
|
10510
|
-
end
|
10511
|
-
|
10512
|
-
def deserialize(params)
|
10513
|
-
@RequestId = params['RequestId']
|
10514
|
-
end
|
10515
|
-
end
|
10516
|
-
|
10517
10475
|
# ModifyLogTopicTask请求参数结构体
|
10518
10476
|
class ModifyLogTopicTaskRequest < TencentCloud::Common::AbstractModel
|
10519
10477
|
# @param ZoneId: 站点ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.477
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|