tencentcloud-sdk-cynosdb 3.0.768 → 3.0.769

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: e547480e601ebfb9f1d4129c19ef9e3b11e098de
4
- data.tar.gz: 3fafd4048f782d818d1d995701b6b16105cc8ff9
3
+ metadata.gz: c01bfcf2136c6d61231357c55767a8dcba041299
4
+ data.tar.gz: f261daf1c2f72cd644a8f53f53d52ae79db1efc3
5
5
  SHA512:
6
- metadata.gz: 6bd422dcb1140e31903516a6a9b19f33c70667d108ee7ff8a573240c9447f075683a82c588d91b49072162c02f31d4e65ec96f9a74c6b6139f826e23fd37bbf9
7
- data.tar.gz: c7b12cdb7a33c6573bef5fc43de8d358f316fa0d67a680be51db093f2823902992b784c023a8276b86f22cd34110e749c4c3ce54ad1159de3b226a4d45730dcf
6
+ metadata.gz: 328b374269006d257245a494fe51270deeb97f79a9098332ef7b2ad001e93d19089c8d58445630f13c877da7440c5cc8d4711eef4fcf8e1eed6d7ab089f6e1cc
7
+ data.tar.gz: 643b6daa22597630ba911005f7000bad7ac1febbde16301acc93556d32ccd4f2a108d8e1eea017057333359dd560b47f02bad5e82eaa65b14c524ea3e6451015
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.768
1
+ 3.0.769
@@ -1061,6 +1061,30 @@ module TencentCloud
1061
1061
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
1062
  end
1063
1063
 
1064
+ # 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。
1065
+
1066
+ # @param request: Request instance for DescribeClusterInstanceGroups.
1067
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterInstanceGroupsRequest`
1068
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterInstanceGroupsResponse`
1069
+ def DescribeClusterInstanceGroups(request)
1070
+ body = send_request('DescribeClusterInstanceGroups', request.serialize)
1071
+ response = JSON.parse(body)
1072
+ if response['Response'].key?('Error') == false
1073
+ model = DescribeClusterInstanceGroupsResponse.new
1074
+ model.deserialize(response['Response'])
1075
+ model
1076
+ else
1077
+ code = response['Response']['Error']['Code']
1078
+ message = response['Response']['Error']['Message']
1079
+ reqid = response['Response']['RequestId']
1080
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1081
+ end
1082
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1083
+ raise e
1084
+ rescue StandardError => e
1085
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
+ end
1087
+
1064
1088
  # 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。 该接口已废弃,推荐使用DescribeClusterInstanceGroups
1065
1089
 
1066
1090
  # @param request: Request instance for DescribeClusterInstanceGrps.
@@ -5075,6 +5075,53 @@ module TencentCloud
5075
5075
  end
5076
5076
  end
5077
5077
 
5078
+ # DescribeClusterInstanceGroups请求参数结构体
5079
+ class DescribeClusterInstanceGroupsRequest < TencentCloud::Common::AbstractModel
5080
+ # @param ClusterId: 集群ID
5081
+ # @type ClusterId: String
5082
+
5083
+ attr_accessor :ClusterId
5084
+
5085
+ def initialize(clusterid=nil)
5086
+ @ClusterId = clusterid
5087
+ end
5088
+
5089
+ def deserialize(params)
5090
+ @ClusterId = params['ClusterId']
5091
+ end
5092
+ end
5093
+
5094
+ # DescribeClusterInstanceGroups返回参数结构体
5095
+ class DescribeClusterInstanceGroupsResponse < TencentCloud::Common::AbstractModel
5096
+ # @param TotalCount: 实例组个数
5097
+ # @type TotalCount: Integer
5098
+ # @param InstanceGroupInfoList: 实例组列表
5099
+ # @type InstanceGroupInfoList: Array
5100
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5101
+ # @type RequestId: String
5102
+
5103
+ attr_accessor :TotalCount, :InstanceGroupInfoList, :RequestId
5104
+
5105
+ def initialize(totalcount=nil, instancegroupinfolist=nil, requestid=nil)
5106
+ @TotalCount = totalcount
5107
+ @InstanceGroupInfoList = instancegroupinfolist
5108
+ @RequestId = requestid
5109
+ end
5110
+
5111
+ def deserialize(params)
5112
+ @TotalCount = params['TotalCount']
5113
+ unless params['InstanceGroupInfoList'].nil?
5114
+ @InstanceGroupInfoList = []
5115
+ params['InstanceGroupInfoList'].each do |i|
5116
+ cynosdbinstancegroup_tmp = CynosdbInstanceGroup.new
5117
+ cynosdbinstancegroup_tmp.deserialize(i)
5118
+ @InstanceGroupInfoList << cynosdbinstancegroup_tmp
5119
+ end
5120
+ end
5121
+ @RequestId = params['RequestId']
5122
+ end
5123
+ end
5124
+
5078
5125
  # DescribeClusterInstanceGrps请求参数结构体
5079
5126
  class DescribeClusterInstanceGrpsRequest < TencentCloud::Common::AbstractModel
5080
5127
  # @param ClusterId: 集群ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.768
4
+ version: 3.0.769
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-22 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common