tencentcloud-sdk-clb 3.0.1177 → 3.0.1183

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca1b0447ebc3bd5453c24478ef9ea6be71776b8c
4
- data.tar.gz: 5ed7bdf27d56eb01e0f0323b433b2a9baead666e
3
+ metadata.gz: ce14ce7fb36120b22b5d52ccdcb86062748c0ab7
4
+ data.tar.gz: 92c530466ecd8f7f97645154496ae338a402481a
5
5
  SHA512:
6
- metadata.gz: 052b55b6625aeb75f3504c1875a260602a48e235eed452b75752344ba4c6e75407b64a99a73a7f0fc4c725c3f5cc02840633fc65f4e174b5ec864e6366a7be2e
7
- data.tar.gz: e0eef20b76c8bcdd3a87005bc494aa3a3a22c03cd513c147e9ce4da252bce9e41cb56d4f4809b1f63f7989c21bd8dc6a372fcfab99e8e6eb32af445ca4977a2f
6
+ metadata.gz: ec230868a96698301cc68f903b5986bf50f5f86751d921bbcc29b98b92bd9f779ff6392ad4e2615450c9d2976f8b5fa1558d44845b27ef576267df30c7cc7e9b
7
+ data.tar.gz: 9be0f2eb46f464feaef7c5a27d9ab803d24903947ae4ebfc7fb77335ce5a66abe7bb6bd833e8f3a67d17ae1b11309637d9dc982abeafc286cf916914c1199711
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1177
1
+ 3.0.1183
@@ -1255,6 +1255,30 @@ module TencentCloud
1255
1255
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1256
1256
  end
1257
1257
 
1258
+ # 查询目标组后端服务状态。目前仅支持网关负载均衡类型的目标组支持查询后端服务状态。
1259
+
1260
+ # @param request: Request instance for DescribeTargetGroupInstanceStatus.
1261
+ # @type request: :class:`Tencentcloud::clb::V20180317::DescribeTargetGroupInstanceStatusRequest`
1262
+ # @rtype: :class:`Tencentcloud::clb::V20180317::DescribeTargetGroupInstanceStatusResponse`
1263
+ def DescribeTargetGroupInstanceStatus(request)
1264
+ body = send_request('DescribeTargetGroupInstanceStatus', request.serialize)
1265
+ response = JSON.parse(body)
1266
+ if response['Response'].key?('Error') == false
1267
+ model = DescribeTargetGroupInstanceStatusResponse.new
1268
+ model.deserialize(response['Response'])
1269
+ model
1270
+ else
1271
+ code = response['Response']['Error']['Code']
1272
+ message = response['Response']['Error']['Message']
1273
+ reqid = response['Response']['RequestId']
1274
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1275
+ end
1276
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1277
+ raise e
1278
+ rescue StandardError => e
1279
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1280
+ end
1281
+
1258
1282
  # 获取目标组绑定的服务器信息
1259
1283
 
1260
1284
  # @param request: Request instance for DescribeTargetGroupInstances.
@@ -3969,6 +3969,53 @@ module TencentCloud
3969
3969
  end
3970
3970
  end
3971
3971
 
3972
+ # DescribeTargetGroupInstanceStatus请求参数结构体
3973
+ class DescribeTargetGroupInstanceStatusRequest < TencentCloud::Common::AbstractModel
3974
+ # @param TargetGroupId: 目标组唯一id
3975
+ # @type TargetGroupId: String
3976
+ # @param TargetGroupInstanceIps: 目标组绑定的后端服务ip列表
3977
+ # @type TargetGroupInstanceIps: Array
3978
+
3979
+ attr_accessor :TargetGroupId, :TargetGroupInstanceIps
3980
+
3981
+ def initialize(targetgroupid=nil, targetgroupinstanceips=nil)
3982
+ @TargetGroupId = targetgroupid
3983
+ @TargetGroupInstanceIps = targetgroupinstanceips
3984
+ end
3985
+
3986
+ def deserialize(params)
3987
+ @TargetGroupId = params['TargetGroupId']
3988
+ @TargetGroupInstanceIps = params['TargetGroupInstanceIps']
3989
+ end
3990
+ end
3991
+
3992
+ # DescribeTargetGroupInstanceStatus返回参数结构体
3993
+ class DescribeTargetGroupInstanceStatusResponse < TencentCloud::Common::AbstractModel
3994
+ # @param TargetGroupInstanceSet: 健康检查后端rs状态列表
3995
+ # @type TargetGroupInstanceSet: Array
3996
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3997
+ # @type RequestId: String
3998
+
3999
+ attr_accessor :TargetGroupInstanceSet, :RequestId
4000
+
4001
+ def initialize(targetgroupinstanceset=nil, requestid=nil)
4002
+ @TargetGroupInstanceSet = targetgroupinstanceset
4003
+ @RequestId = requestid
4004
+ end
4005
+
4006
+ def deserialize(params)
4007
+ unless params['TargetGroupInstanceSet'].nil?
4008
+ @TargetGroupInstanceSet = []
4009
+ params['TargetGroupInstanceSet'].each do |i|
4010
+ targetgroupinstancestatus_tmp = TargetGroupInstanceStatus.new
4011
+ targetgroupinstancestatus_tmp.deserialize(i)
4012
+ @TargetGroupInstanceSet << targetgroupinstancestatus_tmp
4013
+ end
4014
+ end
4015
+ @RequestId = params['RequestId']
4016
+ end
4017
+ end
4018
+
3972
4019
  # DescribeTargetGroupInstances请求参数结构体
3973
4020
  class DescribeTargetGroupInstancesRequest < TencentCloud::Common::AbstractModel
3974
4021
  # @param Filters: 过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。
@@ -8673,6 +8720,43 @@ module TencentCloud
8673
8720
  end
8674
8721
  end
8675
8722
 
8723
+ # 用于目标组后端rs健康检查状态。
8724
+ class TargetGroupInstanceStatus < TencentCloud::Common::AbstractModel
8725
+ # @param InstanceIp: 后端rs的IP
8726
+ # @type InstanceIp: String
8727
+ # @param Status: 健康检查状态,参数值及含义如下:
8728
+ # ● on:表示探测中。
8729
+ # ● off:表示健康检查关闭。
8730
+ # ● health:表示健康。
8731
+ # ● unhealth:表示异常。
8732
+ # @type Status: String
8733
+ # @param InstanceId: 实例ID
8734
+ # @type InstanceId: String
8735
+ # @param Port: 端口
8736
+ # @type Port: Integer
8737
+ # @param EniId: 网卡ID
8738
+ # 注意:此字段可能返回 null,表示取不到有效值。
8739
+ # @type EniId: String
8740
+
8741
+ attr_accessor :InstanceIp, :Status, :InstanceId, :Port, :EniId
8742
+
8743
+ def initialize(instanceip=nil, status=nil, instanceid=nil, port=nil, eniid=nil)
8744
+ @InstanceIp = instanceip
8745
+ @Status = status
8746
+ @InstanceId = instanceid
8747
+ @Port = port
8748
+ @EniId = eniid
8749
+ end
8750
+
8751
+ def deserialize(params)
8752
+ @InstanceIp = params['InstanceIp']
8753
+ @Status = params['Status']
8754
+ @InstanceId = params['InstanceId']
8755
+ @Port = params['Port']
8756
+ @EniId = params['EniId']
8757
+ end
8758
+ end
8759
+
8676
8760
  # 描述一个Target的健康信息
8677
8761
  class TargetHealth < TencentCloud::Common::AbstractModel
8678
8762
  # @param IP: Target的内网IP
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.1177
4
+ version: 3.0.1183
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-04 00:00:00.000000000 Z
11
+ date: 2025-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-clb.rb
37
- - lib/v20180317/client.rb
38
37
  - lib/v20180317/models.rb
38
+ - lib/v20180317/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: