tencentcloud-sdk-cdwch 3.0.541 → 3.0.542
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/v20200915/client.rb +24 -0
- data/lib/v20200915/models.rb +67 -2
- 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: f709a9089a545f095a6010ed5dad1bc29a66394b
|
4
|
+
data.tar.gz: 8d94cf488a73d5d774b8ec7c4d2d3c20cc5d4a3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97072e6f308a4c71fdac488e823a3b06ab28d11434d7bbde7329dddcfb8923a70ff1d0de29c13fab604c8d12e28215b295c5c6291205ea54b5666d94b73143e8
|
7
|
+
data.tar.gz: a73ddd900446caff49ae466b8529679823ec4b56c5bb5f36d55aa3b2169e225cc872ddda7726b1ba298ddafcc78bcb48040fa1f6727a61a02572a9c6be4d259a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.542
|
data/lib/v20200915/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 集群详情页中显示集群状态、流程进度等
|
273
|
+
|
274
|
+
# @param request: Request instance for DescribeInstanceState.
|
275
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceStateRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceStateResponse`
|
277
|
+
def DescribeInstanceState(request)
|
278
|
+
body = send_request('DescribeInstanceState', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DescribeInstanceStateResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 购买页拉取集群的数据节点和zookeeper节点的规格列表
|
273
297
|
|
274
298
|
# @param request: Request instance for DescribeSpec.
|
data/lib/v20200915/models.rb
CHANGED
@@ -717,15 +717,19 @@ module TencentCloud
|
|
717
717
|
class DescribeInstanceRequest < TencentCloud::Common::AbstractModel
|
718
718
|
# @param InstanceId: 集群实例ID
|
719
719
|
# @type InstanceId: String
|
720
|
+
# @param IsOpenApi: 是否是open api查询
|
721
|
+
# @type IsOpenApi: Boolean
|
720
722
|
|
721
|
-
attr_accessor :InstanceId
|
723
|
+
attr_accessor :InstanceId, :IsOpenApi
|
722
724
|
|
723
|
-
def initialize(instanceid=nil)
|
725
|
+
def initialize(instanceid=nil, isopenapi=nil)
|
724
726
|
@InstanceId = instanceid
|
727
|
+
@IsOpenApi = isopenapi
|
725
728
|
end
|
726
729
|
|
727
730
|
def deserialize(params)
|
728
731
|
@InstanceId = params['InstanceId']
|
732
|
+
@IsOpenApi = params['IsOpenApi']
|
729
733
|
end
|
730
734
|
end
|
731
735
|
|
@@ -789,6 +793,67 @@ module TencentCloud
|
|
789
793
|
end
|
790
794
|
end
|
791
795
|
|
796
|
+
# DescribeInstanceState请求参数结构体
|
797
|
+
class DescribeInstanceStateRequest < TencentCloud::Common::AbstractModel
|
798
|
+
# @param InstanceId: 集群实例名称
|
799
|
+
# @type InstanceId: String
|
800
|
+
|
801
|
+
attr_accessor :InstanceId
|
802
|
+
|
803
|
+
def initialize(instanceid=nil)
|
804
|
+
@InstanceId = instanceid
|
805
|
+
end
|
806
|
+
|
807
|
+
def deserialize(params)
|
808
|
+
@InstanceId = params['InstanceId']
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
812
|
+
# DescribeInstanceState返回参数结构体
|
813
|
+
class DescribeInstanceStateResponse < TencentCloud::Common::AbstractModel
|
814
|
+
# @param InstanceState: 集群状态,例如:Serving
|
815
|
+
# @type InstanceState: String
|
816
|
+
# @param FlowCreateTime: 集群操作创建时间
|
817
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
818
|
+
# @type FlowCreateTime: String
|
819
|
+
# @param FlowName: 集群操作名称
|
820
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
821
|
+
# @type FlowName: String
|
822
|
+
# @param FlowProgress: 集群操作进度
|
823
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
824
|
+
# @type FlowProgress: Float
|
825
|
+
# @param InstanceStateDesc: 集群状态描述,例如:运行中
|
826
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
827
|
+
# @type InstanceStateDesc: String
|
828
|
+
# @param FlowMsg: 集群流程错误信息,例如:“创建失败,资源不足”
|
829
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
830
|
+
# @type FlowMsg: String
|
831
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
832
|
+
# @type RequestId: String
|
833
|
+
|
834
|
+
attr_accessor :InstanceState, :FlowCreateTime, :FlowName, :FlowProgress, :InstanceStateDesc, :FlowMsg, :RequestId
|
835
|
+
|
836
|
+
def initialize(instancestate=nil, flowcreatetime=nil, flowname=nil, flowprogress=nil, instancestatedesc=nil, flowmsg=nil, requestid=nil)
|
837
|
+
@InstanceState = instancestate
|
838
|
+
@FlowCreateTime = flowcreatetime
|
839
|
+
@FlowName = flowname
|
840
|
+
@FlowProgress = flowprogress
|
841
|
+
@InstanceStateDesc = instancestatedesc
|
842
|
+
@FlowMsg = flowmsg
|
843
|
+
@RequestId = requestid
|
844
|
+
end
|
845
|
+
|
846
|
+
def deserialize(params)
|
847
|
+
@InstanceState = params['InstanceState']
|
848
|
+
@FlowCreateTime = params['FlowCreateTime']
|
849
|
+
@FlowName = params['FlowName']
|
850
|
+
@FlowProgress = params['FlowProgress']
|
851
|
+
@InstanceStateDesc = params['InstanceStateDesc']
|
852
|
+
@FlowMsg = params['FlowMsg']
|
853
|
+
@RequestId = params['RequestId']
|
854
|
+
end
|
855
|
+
end
|
856
|
+
|
792
857
|
# DescribeSpec请求参数结构体
|
793
858
|
class DescribeSpecRequest < TencentCloud::Common::AbstractModel
|
794
859
|
# @param Zone: 地域信息,例如"ap-guangzhou-1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdwch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.542
|
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-03
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|