tencentcloud-sdk-cdwch 3.0.541 → 3.0.543
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 +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: 7bf150ea2c27e1cd7ffffefbb0fa605eb5720478
|
4
|
+
data.tar.gz: 806b2ad36467fa244de3acd47d8fe5f8d787a6a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c54aa565b5d9395ddcbc42bdfa8f74326d03a3191455418d515604dbf2f8b9e4f8621dfea0a029eb425291fc79d9baa4287a5b3042184b84b97bdb98a7c8b136
|
7
|
+
data.tar.gz: 7f16a247100f9c7fdaaa6898c0b87faa843f7eea365b84912ef1cae5d7127262e216c04dbeb2545dcfdccc78faff0ff11e6bdf9bf2c256ecf351224fc0dca87a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.543
|
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.543
|
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-
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|