tencentcloud-sdk-cdwpg 3.0.674 → 3.0.676
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/v20201230/client.rb +72 -0
- data/lib/v20201230/models.rb +381 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ba1fa2482e8a96d919558d5c68d573f341d1f82
|
4
|
+
data.tar.gz: 21a29cdaf1a99e692678421a8af2ff08f5200785
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dc378f5a40709edd7d35ce9ebd936f8b0454bf46f0de3ba83fba39ecbfd8065898e767a6985f08f9084578e70edb4b715e662cd18afe0b0c4f7b5d05e060ca7
|
7
|
+
data.tar.gz: ee125c65884aa49ec9f1526a8bb415f28899a2a09449d2622adec9c1e8956ba9edf7f13179e5569d24dd0be575cc5880a94c0063d2e1200554e5b163078287fc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.676
|
data/lib/v20201230/client.rb
CHANGED
@@ -53,6 +53,54 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
+
# 根据实例ID查询某个实例的具体信息
|
57
|
+
|
58
|
+
# @param request: Request instance for DescribeInstance.
|
59
|
+
# @type request: :class:`Tencentcloud::cdwpg::V20201230::DescribeInstanceRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::cdwpg::V20201230::DescribeInstanceResponse`
|
61
|
+
def DescribeInstance(request)
|
62
|
+
body = send_request('DescribeInstance', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = DescribeInstanceResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
80
|
+
# 集群详情页中显示集群状态、流程进度等
|
81
|
+
|
82
|
+
# @param request: Request instance for DescribeInstanceState.
|
83
|
+
# @type request: :class:`Tencentcloud::cdwpg::V20201230::DescribeInstanceStateRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::cdwpg::V20201230::DescribeInstanceStateResponse`
|
85
|
+
def DescribeInstanceState(request)
|
86
|
+
body = send_request('DescribeInstanceState', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = DescribeInstanceStateResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
56
104
|
# 获取集群实例列表
|
57
105
|
|
58
106
|
# @param request: Request instance for DescribeSimpleInstances.
|
@@ -101,6 +149,30 @@ module TencentCloud
|
|
101
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
150
|
end
|
103
151
|
|
152
|
+
# 修改实例信息,目前为实例名称
|
153
|
+
|
154
|
+
# @param request: Request instance for ModifyInstance.
|
155
|
+
# @type request: :class:`Tencentcloud::cdwpg::V20201230::ModifyInstanceRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::cdwpg::V20201230::ModifyInstanceResponse`
|
157
|
+
def ModifyInstance(request)
|
158
|
+
body = send_request('ModifyInstance', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = ModifyInstanceResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
104
176
|
|
105
177
|
end
|
106
178
|
end
|
data/lib/v20201230/models.rb
CHANGED
@@ -161,6 +161,116 @@ module TencentCloud
|
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
164
|
+
# DescribeInstance请求参数结构体
|
165
|
+
class DescribeInstanceRequest < TencentCloud::Common::AbstractModel
|
166
|
+
# @param InstanceId: 集群实例ID
|
167
|
+
# @type InstanceId: String
|
168
|
+
|
169
|
+
attr_accessor :InstanceId
|
170
|
+
|
171
|
+
def initialize(instanceid=nil)
|
172
|
+
@InstanceId = instanceid
|
173
|
+
end
|
174
|
+
|
175
|
+
def deserialize(params)
|
176
|
+
@InstanceId = params['InstanceId']
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# DescribeInstance返回参数结构体
|
181
|
+
class DescribeInstanceResponse < TencentCloud::Common::AbstractModel
|
182
|
+
# @param InstanceInfo: 实例描述信息
|
183
|
+
# @type InstanceInfo: :class:`Tencentcloud::Cdwpg.v20201230.models.InstanceInfo`
|
184
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
185
|
+
# @type RequestId: String
|
186
|
+
|
187
|
+
attr_accessor :InstanceInfo, :RequestId
|
188
|
+
|
189
|
+
def initialize(instanceinfo=nil, requestid=nil)
|
190
|
+
@InstanceInfo = instanceinfo
|
191
|
+
@RequestId = requestid
|
192
|
+
end
|
193
|
+
|
194
|
+
def deserialize(params)
|
195
|
+
unless params['InstanceInfo'].nil?
|
196
|
+
@InstanceInfo = InstanceInfo.new
|
197
|
+
@InstanceInfo.deserialize(params['InstanceInfo'])
|
198
|
+
end
|
199
|
+
@RequestId = params['RequestId']
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# DescribeInstanceState请求参数结构体
|
204
|
+
class DescribeInstanceStateRequest < TencentCloud::Common::AbstractModel
|
205
|
+
# @param InstanceId: 集群实例名称
|
206
|
+
# @type InstanceId: String
|
207
|
+
|
208
|
+
attr_accessor :InstanceId
|
209
|
+
|
210
|
+
def initialize(instanceid=nil)
|
211
|
+
@InstanceId = instanceid
|
212
|
+
end
|
213
|
+
|
214
|
+
def deserialize(params)
|
215
|
+
@InstanceId = params['InstanceId']
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
# DescribeInstanceState返回参数结构体
|
220
|
+
class DescribeInstanceStateResponse < TencentCloud::Common::AbstractModel
|
221
|
+
# @param InstanceState: 集群状态,例如:Serving
|
222
|
+
# @type InstanceState: String
|
223
|
+
# @param FlowCreateTime: 集群操作创建时间
|
224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
225
|
+
# @type FlowCreateTime: String
|
226
|
+
# @param FlowName: 集群操作名称
|
227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
228
|
+
# @type FlowName: String
|
229
|
+
# @param FlowProgress: 集群操作进度
|
230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
231
|
+
# @type FlowProgress: Float
|
232
|
+
# @param InstanceStateDesc: 集群状态描述,例如:运行中
|
233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
234
|
+
# @type InstanceStateDesc: String
|
235
|
+
# @param FlowMsg: 集群流程错误信息,例如:“创建失败,资源不足”
|
236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
237
|
+
# @type FlowMsg: String
|
238
|
+
# @param ProcessName: 当前步骤的名称,例如:”购买资源中“
|
239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
240
|
+
# @type ProcessName: String
|
241
|
+
# @param BackupStatus: 集群备份任务开启状态
|
242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
243
|
+
# @type BackupStatus: Integer
|
244
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
245
|
+
# @type RequestId: String
|
246
|
+
|
247
|
+
attr_accessor :InstanceState, :FlowCreateTime, :FlowName, :FlowProgress, :InstanceStateDesc, :FlowMsg, :ProcessName, :BackupStatus, :RequestId
|
248
|
+
|
249
|
+
def initialize(instancestate=nil, flowcreatetime=nil, flowname=nil, flowprogress=nil, instancestatedesc=nil, flowmsg=nil, processname=nil, backupstatus=nil, requestid=nil)
|
250
|
+
@InstanceState = instancestate
|
251
|
+
@FlowCreateTime = flowcreatetime
|
252
|
+
@FlowName = flowname
|
253
|
+
@FlowProgress = flowprogress
|
254
|
+
@InstanceStateDesc = instancestatedesc
|
255
|
+
@FlowMsg = flowmsg
|
256
|
+
@ProcessName = processname
|
257
|
+
@BackupStatus = backupstatus
|
258
|
+
@RequestId = requestid
|
259
|
+
end
|
260
|
+
|
261
|
+
def deserialize(params)
|
262
|
+
@InstanceState = params['InstanceState']
|
263
|
+
@FlowCreateTime = params['FlowCreateTime']
|
264
|
+
@FlowName = params['FlowName']
|
265
|
+
@FlowProgress = params['FlowProgress']
|
266
|
+
@InstanceStateDesc = params['InstanceStateDesc']
|
267
|
+
@FlowMsg = params['FlowMsg']
|
268
|
+
@ProcessName = params['ProcessName']
|
269
|
+
@BackupStatus = params['BackupStatus']
|
270
|
+
@RequestId = params['RequestId']
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
164
274
|
# DescribeSimpleInstances请求参数结构体
|
165
275
|
class DescribeSimpleInstancesRequest < TencentCloud::Common::AbstractModel
|
166
276
|
# @param SearchInstanceId: 11
|
@@ -271,6 +381,179 @@ module TencentCloud
|
|
271
381
|
end
|
272
382
|
end
|
273
383
|
|
384
|
+
# 云原生实例详情
|
385
|
+
class InstanceInfo < TencentCloud::Common::AbstractModel
|
386
|
+
# @param ID: ID值
|
387
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
388
|
+
# @type ID: Integer
|
389
|
+
# @param InstanceType: cdwpg-cn或者其他
|
390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
391
|
+
# @type InstanceType: String
|
392
|
+
# @param InstanceName: cdwpg-cn或者其他
|
393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
394
|
+
# @type InstanceName: String
|
395
|
+
# @param Status: Running
|
396
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
397
|
+
# @type Status: String
|
398
|
+
# @param StatusDesc: 运行中
|
399
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
400
|
+
# @type StatusDesc: String
|
401
|
+
# @param InstanceStateInfo: 无
|
402
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
403
|
+
# @type InstanceStateInfo: :class:`Tencentcloud::Cdwpg.v20201230.models.InstanceStateInfo`
|
404
|
+
# @param InstanceID: -
|
405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
406
|
+
# @type InstanceID: String
|
407
|
+
# @param CreateTime: 2022-09-05 20:00:01
|
408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
409
|
+
# @type CreateTime: String
|
410
|
+
# @param Region: ap-chongqing
|
411
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
412
|
+
# @type Region: String
|
413
|
+
# @param Zone: ap
|
414
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
415
|
+
# @type Zone: String
|
416
|
+
# @param RegionDesc: region
|
417
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
418
|
+
# @type RegionDesc: String
|
419
|
+
# @param ZoneDesc: zone
|
420
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
421
|
+
# @type ZoneDesc: String
|
422
|
+
# @param Tags: 标签
|
423
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
424
|
+
# @type Tags: Array
|
425
|
+
# @param Version: v3
|
426
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
427
|
+
# @type Version: String
|
428
|
+
# @param Charset: 字符集
|
429
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
430
|
+
# @type Charset: String
|
431
|
+
# @param EngineVersion: 引擎版本
|
432
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
433
|
+
# @type EngineVersion: String
|
434
|
+
# @param GTMNodes: GTM节点列表
|
435
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
436
|
+
# @type GTMNodes: Array
|
437
|
+
# @param CNNodes: CN节点列表
|
438
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
439
|
+
# @type CNNodes: Array
|
440
|
+
# @param DNNodes: DN节点列表
|
441
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
442
|
+
# @type DNNodes: Array
|
443
|
+
# @param BackupStorage: 备份存储
|
444
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
445
|
+
# @type BackupStorage: Array
|
446
|
+
# @param FNNodes: FN节点列表
|
447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
448
|
+
# @type FNNodes: Array
|
449
|
+
|
450
|
+
attr_accessor :ID, :InstanceType, :InstanceName, :Status, :StatusDesc, :InstanceStateInfo, :InstanceID, :CreateTime, :Region, :Zone, :RegionDesc, :ZoneDesc, :Tags, :Version, :Charset, :EngineVersion, :GTMNodes, :CNNodes, :DNNodes, :BackupStorage, :FNNodes
|
451
|
+
|
452
|
+
def initialize(id=nil, instancetype=nil, instancename=nil, status=nil, statusdesc=nil, instancestateinfo=nil, instanceid=nil, createtime=nil, region=nil, zone=nil, regiondesc=nil, zonedesc=nil, tags=nil, version=nil, charset=nil, engineversion=nil, gtmnodes=nil, cnnodes=nil, dnnodes=nil, backupstorage=nil, fnnodes=nil)
|
453
|
+
@ID = id
|
454
|
+
@InstanceType = instancetype
|
455
|
+
@InstanceName = instancename
|
456
|
+
@Status = status
|
457
|
+
@StatusDesc = statusdesc
|
458
|
+
@InstanceStateInfo = instancestateinfo
|
459
|
+
@InstanceID = instanceid
|
460
|
+
@CreateTime = createtime
|
461
|
+
@Region = region
|
462
|
+
@Zone = zone
|
463
|
+
@RegionDesc = regiondesc
|
464
|
+
@ZoneDesc = zonedesc
|
465
|
+
@Tags = tags
|
466
|
+
@Version = version
|
467
|
+
@Charset = charset
|
468
|
+
@EngineVersion = engineversion
|
469
|
+
@GTMNodes = gtmnodes
|
470
|
+
@CNNodes = cnnodes
|
471
|
+
@DNNodes = dnnodes
|
472
|
+
@BackupStorage = backupstorage
|
473
|
+
@FNNodes = fnnodes
|
474
|
+
end
|
475
|
+
|
476
|
+
def deserialize(params)
|
477
|
+
@ID = params['ID']
|
478
|
+
@InstanceType = params['InstanceType']
|
479
|
+
@InstanceName = params['InstanceName']
|
480
|
+
@Status = params['Status']
|
481
|
+
@StatusDesc = params['StatusDesc']
|
482
|
+
unless params['InstanceStateInfo'].nil?
|
483
|
+
@InstanceStateInfo = InstanceStateInfo.new
|
484
|
+
@InstanceStateInfo.deserialize(params['InstanceStateInfo'])
|
485
|
+
end
|
486
|
+
@InstanceID = params['InstanceID']
|
487
|
+
@CreateTime = params['CreateTime']
|
488
|
+
@Region = params['Region']
|
489
|
+
@Zone = params['Zone']
|
490
|
+
@RegionDesc = params['RegionDesc']
|
491
|
+
@ZoneDesc = params['ZoneDesc']
|
492
|
+
unless params['Tags'].nil?
|
493
|
+
@Tags = []
|
494
|
+
params['Tags'].each do |i|
|
495
|
+
tag_tmp = Tag.new
|
496
|
+
tag_tmp.deserialize(i)
|
497
|
+
@Tags << tag_tmp
|
498
|
+
end
|
499
|
+
end
|
500
|
+
@Version = params['Version']
|
501
|
+
@Charset = params['Charset']
|
502
|
+
@EngineVersion = params['EngineVersion']
|
503
|
+
unless params['GTMNodes'].nil?
|
504
|
+
@GTMNodes = []
|
505
|
+
params['GTMNodes'].each do |i|
|
506
|
+
instancenodegroup_tmp = InstanceNodeGroup.new
|
507
|
+
instancenodegroup_tmp.deserialize(i)
|
508
|
+
@GTMNodes << instancenodegroup_tmp
|
509
|
+
end
|
510
|
+
end
|
511
|
+
unless params['CNNodes'].nil?
|
512
|
+
@CNNodes = []
|
513
|
+
params['CNNodes'].each do |i|
|
514
|
+
instancenodegroup_tmp = InstanceNodeGroup.new
|
515
|
+
instancenodegroup_tmp.deserialize(i)
|
516
|
+
@CNNodes << instancenodegroup_tmp
|
517
|
+
end
|
518
|
+
end
|
519
|
+
unless params['DNNodes'].nil?
|
520
|
+
@DNNodes = []
|
521
|
+
params['DNNodes'].each do |i|
|
522
|
+
instancenodegroup_tmp = InstanceNodeGroup.new
|
523
|
+
instancenodegroup_tmp.deserialize(i)
|
524
|
+
@DNNodes << instancenodegroup_tmp
|
525
|
+
end
|
526
|
+
end
|
527
|
+
unless params['BackupStorage'].nil?
|
528
|
+
@BackupStorage = []
|
529
|
+
params['BackupStorage'].each do |i|
|
530
|
+
instancenodegroup_tmp = InstanceNodeGroup.new
|
531
|
+
instancenodegroup_tmp.deserialize(i)
|
532
|
+
@BackupStorage << instancenodegroup_tmp
|
533
|
+
end
|
534
|
+
end
|
535
|
+
unless params['FNNodes'].nil?
|
536
|
+
@FNNodes = []
|
537
|
+
params['FNNodes'].each do |i|
|
538
|
+
instancenodegroup_tmp = InstanceNodeGroup.new
|
539
|
+
instancenodegroup_tmp.deserialize(i)
|
540
|
+
@FNNodes << instancenodegroup_tmp
|
541
|
+
end
|
542
|
+
end
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
# 集群节点信息
|
547
|
+
class InstanceNodeGroup < TencentCloud::Common::AbstractModel
|
548
|
+
|
549
|
+
|
550
|
+
def initialize()
|
551
|
+
end
|
552
|
+
|
553
|
+
def deserialize(params)
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
274
557
|
# 精简集群信息
|
275
558
|
class InstanceSimpleInfoNew < TencentCloud::Common::AbstractModel
|
276
559
|
# @param ID: 1
|
@@ -368,6 +651,104 @@ module TencentCloud
|
|
368
651
|
end
|
369
652
|
end
|
370
653
|
|
654
|
+
# 集群状态抽象后的结构体
|
655
|
+
class InstanceStateInfo < TencentCloud::Common::AbstractModel
|
656
|
+
# @param InstanceState: 集群状态,例如:Serving
|
657
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
658
|
+
# @type InstanceState: String
|
659
|
+
# @param FlowCreateTime: 集群操作创建时间
|
660
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
661
|
+
# @type FlowCreateTime: String
|
662
|
+
# @param FlowName: 集群操作名称
|
663
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
664
|
+
# @type FlowName: String
|
665
|
+
# @param FlowProgress: 集群操作进度
|
666
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
667
|
+
# @type FlowProgress: Integer
|
668
|
+
# @param InstanceStateDesc: 集群状态描述,例如:运行中
|
669
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
670
|
+
# @type InstanceStateDesc: String
|
671
|
+
# @param FlowMsg: 集群流程错误信息,例如:“创建失败,资源不足”
|
672
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
673
|
+
# @type FlowMsg: String
|
674
|
+
# @param ProcessName: 当前步骤的名称,例如:”购买资源中“
|
675
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
676
|
+
# @type ProcessName: String
|
677
|
+
# @param BackupStatus: 集群是否有备份中任务,有为1,无为0
|
678
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
679
|
+
# @type BackupStatus: Integer
|
680
|
+
# @param RequestId: 1
|
681
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
682
|
+
# @type RequestId: String
|
683
|
+
# @param BackupOpenStatus: 1
|
684
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
685
|
+
# @type BackupOpenStatus: Integer
|
686
|
+
|
687
|
+
attr_accessor :InstanceState, :FlowCreateTime, :FlowName, :FlowProgress, :InstanceStateDesc, :FlowMsg, :ProcessName, :BackupStatus, :RequestId, :BackupOpenStatus
|
688
|
+
|
689
|
+
def initialize(instancestate=nil, flowcreatetime=nil, flowname=nil, flowprogress=nil, instancestatedesc=nil, flowmsg=nil, processname=nil, backupstatus=nil, requestid=nil, backupopenstatus=nil)
|
690
|
+
@InstanceState = instancestate
|
691
|
+
@FlowCreateTime = flowcreatetime
|
692
|
+
@FlowName = flowname
|
693
|
+
@FlowProgress = flowprogress
|
694
|
+
@InstanceStateDesc = instancestatedesc
|
695
|
+
@FlowMsg = flowmsg
|
696
|
+
@ProcessName = processname
|
697
|
+
@BackupStatus = backupstatus
|
698
|
+
@RequestId = requestid
|
699
|
+
@BackupOpenStatus = backupopenstatus
|
700
|
+
end
|
701
|
+
|
702
|
+
def deserialize(params)
|
703
|
+
@InstanceState = params['InstanceState']
|
704
|
+
@FlowCreateTime = params['FlowCreateTime']
|
705
|
+
@FlowName = params['FlowName']
|
706
|
+
@FlowProgress = params['FlowProgress']
|
707
|
+
@InstanceStateDesc = params['InstanceStateDesc']
|
708
|
+
@FlowMsg = params['FlowMsg']
|
709
|
+
@ProcessName = params['ProcessName']
|
710
|
+
@BackupStatus = params['BackupStatus']
|
711
|
+
@RequestId = params['RequestId']
|
712
|
+
@BackupOpenStatus = params['BackupOpenStatus']
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
# ModifyInstance请求参数结构体
|
717
|
+
class ModifyInstanceRequest < TencentCloud::Common::AbstractModel
|
718
|
+
# @param InstanceId: 实例Id
|
719
|
+
# @type InstanceId: String
|
720
|
+
# @param InstanceName: 新修改的实例名称
|
721
|
+
# @type InstanceName: String
|
722
|
+
|
723
|
+
attr_accessor :InstanceId, :InstanceName
|
724
|
+
|
725
|
+
def initialize(instanceid=nil, instancename=nil)
|
726
|
+
@InstanceId = instanceid
|
727
|
+
@InstanceName = instancename
|
728
|
+
end
|
729
|
+
|
730
|
+
def deserialize(params)
|
731
|
+
@InstanceId = params['InstanceId']
|
732
|
+
@InstanceName = params['InstanceName']
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
# ModifyInstance返回参数结构体
|
737
|
+
class ModifyInstanceResponse < TencentCloud::Common::AbstractModel
|
738
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
739
|
+
# @type RequestId: String
|
740
|
+
|
741
|
+
attr_accessor :RequestId
|
742
|
+
|
743
|
+
def initialize(requestid=nil)
|
744
|
+
@RequestId = requestid
|
745
|
+
end
|
746
|
+
|
747
|
+
def deserialize(params)
|
748
|
+
@RequestId = params['RequestId']
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
371
752
|
# 资源规格
|
372
753
|
class ResourceSpecNew < TencentCloud::Common::AbstractModel
|
373
754
|
# @param SpecName: 资源名称
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdwpg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.676
|
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-10-
|
11
|
+
date: 2023-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20201230/models.rb
|
37
|
-
- lib/v20201230/client.rb
|
38
36
|
- lib/tencentcloud-sdk-cdwpg.rb
|
37
|
+
- lib/v20201230/client.rb
|
38
|
+
- lib/v20201230/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|