tencentcloud-sdk-dbdc 3.0.1074 → 3.0.1177
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/v20201029/client.rb +1 -1
- data/lib/v20201029/models.rb +55 -5
- 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: d2f7e6eab61334bc7147dc49c64e234dad2f613f
|
|
4
|
+
data.tar.gz: 196358ee7bdd4b02c65c9b0d4c6ae54ecbb8e18c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2490bb17314c72257916864bbaa17b314200c8f2d7ee9e29cb0ba8378e1498fb2d7849b8117ec8f94bf76e8959b0d5bcffbe42fab025413ddc4cef541a81588
|
|
7
|
+
data.tar.gz: ddfb2084cb68fd0e703b900065cc2e300c5c2ee6387b21cc3641a13b76f3e8ddf11072f0e87755bc8e00f8fa2f2bf735273f5554bc667bd454d0666370417ad6
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1177
|
data/lib/v20201029/client.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright (c) 2017-
|
|
3
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
data/lib/v20201029/models.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright (c) 2017-
|
|
3
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -289,10 +289,14 @@ module TencentCloud
|
|
|
289
289
|
# @type FenceId: String
|
|
290
290
|
# @param ClusterId: 所属集群ID(默认集群为空)
|
|
291
291
|
# @type ClusterId: String
|
|
292
|
+
# @param ResourceTags: 实例标签
|
|
293
|
+
# @type ResourceTags: Array
|
|
294
|
+
# @param CpuType: CPU类型:Intel/AMD,Hygon
|
|
295
|
+
# @type CpuType: String
|
|
292
296
|
|
|
293
|
-
attr_accessor :InstanceId, :InstanceName, :Region, :ProductId, :Type, :HostType, :AutoRenewFlag, :Status, :StatusDesc, :CreateTime, :PeriodEndTime, :HostNum, :DbNum, :AssignStrategy, :CpuSpec, :CpuAssigned, :CpuAssignable, :MemorySpec, :MemoryAssigned, :MemoryAssignable, :DiskSpec, :DiskAssigned, :DiskAssignable, :Zone, :FenceId, :ClusterId
|
|
297
|
+
attr_accessor :InstanceId, :InstanceName, :Region, :ProductId, :Type, :HostType, :AutoRenewFlag, :Status, :StatusDesc, :CreateTime, :PeriodEndTime, :HostNum, :DbNum, :AssignStrategy, :CpuSpec, :CpuAssigned, :CpuAssignable, :MemorySpec, :MemoryAssigned, :MemoryAssignable, :DiskSpec, :DiskAssigned, :DiskAssignable, :Zone, :FenceId, :ClusterId, :ResourceTags, :CpuType
|
|
294
298
|
|
|
295
|
-
def initialize(instanceid=nil, instancename=nil, region=nil, productid=nil, type=nil, hosttype=nil, autorenewflag=nil, status=nil, statusdesc=nil, createtime=nil, periodendtime=nil, hostnum=nil, dbnum=nil, assignstrategy=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, zone=nil, fenceid=nil, clusterid=nil)
|
|
299
|
+
def initialize(instanceid=nil, instancename=nil, region=nil, productid=nil, type=nil, hosttype=nil, autorenewflag=nil, status=nil, statusdesc=nil, createtime=nil, periodendtime=nil, hostnum=nil, dbnum=nil, assignstrategy=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, zone=nil, fenceid=nil, clusterid=nil, resourcetags=nil, cputype=nil)
|
|
296
300
|
@InstanceId = instanceid
|
|
297
301
|
@InstanceName = instancename
|
|
298
302
|
@Region = region
|
|
@@ -319,6 +323,8 @@ module TencentCloud
|
|
|
319
323
|
@Zone = zone
|
|
320
324
|
@FenceId = fenceid
|
|
321
325
|
@ClusterId = clusterid
|
|
326
|
+
@ResourceTags = resourcetags
|
|
327
|
+
@CpuType = cputype
|
|
322
328
|
end
|
|
323
329
|
|
|
324
330
|
def deserialize(params)
|
|
@@ -348,6 +354,15 @@ module TencentCloud
|
|
|
348
354
|
@Zone = params['Zone']
|
|
349
355
|
@FenceId = params['FenceId']
|
|
350
356
|
@ClusterId = params['ClusterId']
|
|
357
|
+
unless params['ResourceTags'].nil?
|
|
358
|
+
@ResourceTags = []
|
|
359
|
+
params['ResourceTags'].each do |i|
|
|
360
|
+
resourcetag_tmp = ResourceTag.new
|
|
361
|
+
resourcetag_tmp.deserialize(i)
|
|
362
|
+
@ResourceTags << resourcetag_tmp
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
@CpuType = params['CpuType']
|
|
351
366
|
end
|
|
352
367
|
end
|
|
353
368
|
|
|
@@ -421,12 +436,16 @@ module TencentCloud
|
|
|
421
436
|
# @type FenceId: String
|
|
422
437
|
# @param ClusterId: 所属集群ID(默认集群为空)
|
|
423
438
|
# @type ClusterId: String
|
|
439
|
+
# @param ResourceTags: 独享集群的标签信息
|
|
440
|
+
# @type ResourceTags: Array
|
|
441
|
+
# @param CpuType: CPU类型,Intel/AMD,Hygon
|
|
442
|
+
# @type CpuType: String
|
|
424
443
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
425
444
|
# @type RequestId: String
|
|
426
445
|
|
|
427
|
-
attr_accessor :InstanceId, :InstanceName, :Region, :ProductId, :Type, :HostType, :AutoRenewFlag, :Status, :StatusDesc, :CreateTime, :PeriodEndTime, :HostNum, :DbNum, :AssignStrategy, :CpuSpec, :CpuAssigned, :CpuAssignable, :MemorySpec, :MemoryAssigned, :MemoryAssignable, :DiskSpec, :DiskAssigned, :DiskAssignable, :Zone, :FenceId, :ClusterId, :RequestId
|
|
446
|
+
attr_accessor :InstanceId, :InstanceName, :Region, :ProductId, :Type, :HostType, :AutoRenewFlag, :Status, :StatusDesc, :CreateTime, :PeriodEndTime, :HostNum, :DbNum, :AssignStrategy, :CpuSpec, :CpuAssigned, :CpuAssignable, :MemorySpec, :MemoryAssigned, :MemoryAssignable, :DiskSpec, :DiskAssigned, :DiskAssignable, :Zone, :FenceId, :ClusterId, :ResourceTags, :CpuType, :RequestId
|
|
428
447
|
|
|
429
|
-
def initialize(instanceid=nil, instancename=nil, region=nil, productid=nil, type=nil, hosttype=nil, autorenewflag=nil, status=nil, statusdesc=nil, createtime=nil, periodendtime=nil, hostnum=nil, dbnum=nil, assignstrategy=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, zone=nil, fenceid=nil, clusterid=nil, requestid=nil)
|
|
448
|
+
def initialize(instanceid=nil, instancename=nil, region=nil, productid=nil, type=nil, hosttype=nil, autorenewflag=nil, status=nil, statusdesc=nil, createtime=nil, periodendtime=nil, hostnum=nil, dbnum=nil, assignstrategy=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, zone=nil, fenceid=nil, clusterid=nil, resourcetags=nil, cputype=nil, requestid=nil)
|
|
430
449
|
@InstanceId = instanceid
|
|
431
450
|
@InstanceName = instancename
|
|
432
451
|
@Region = region
|
|
@@ -453,6 +472,8 @@ module TencentCloud
|
|
|
453
472
|
@Zone = zone
|
|
454
473
|
@FenceId = fenceid
|
|
455
474
|
@ClusterId = clusterid
|
|
475
|
+
@ResourceTags = resourcetags
|
|
476
|
+
@CpuType = cputype
|
|
456
477
|
@RequestId = requestid
|
|
457
478
|
end
|
|
458
479
|
|
|
@@ -483,6 +504,15 @@ module TencentCloud
|
|
|
483
504
|
@Zone = params['Zone']
|
|
484
505
|
@FenceId = params['FenceId']
|
|
485
506
|
@ClusterId = params['ClusterId']
|
|
507
|
+
unless params['ResourceTags'].nil?
|
|
508
|
+
@ResourceTags = []
|
|
509
|
+
params['ResourceTags'].each do |i|
|
|
510
|
+
resourcetag_tmp = ResourceTag.new
|
|
511
|
+
resourcetag_tmp.deserialize(i)
|
|
512
|
+
@ResourceTags << resourcetag_tmp
|
|
513
|
+
end
|
|
514
|
+
end
|
|
515
|
+
@CpuType = params['CpuType']
|
|
486
516
|
@RequestId = params['RequestId']
|
|
487
517
|
end
|
|
488
518
|
end
|
|
@@ -1020,6 +1050,26 @@ module TencentCloud
|
|
|
1020
1050
|
end
|
|
1021
1051
|
end
|
|
1022
1052
|
|
|
1053
|
+
# 标签对象,包含tagKey & tagValue
|
|
1054
|
+
class ResourceTag < TencentCloud::Common::AbstractModel
|
|
1055
|
+
# @param TagKey: 标签键
|
|
1056
|
+
# @type TagKey: String
|
|
1057
|
+
# @param TagValue: 标签值
|
|
1058
|
+
# @type TagValue: String
|
|
1059
|
+
|
|
1060
|
+
attr_accessor :TagKey, :TagValue
|
|
1061
|
+
|
|
1062
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
|
1063
|
+
@TagKey = tagkey
|
|
1064
|
+
@TagValue = tagvalue
|
|
1065
|
+
end
|
|
1066
|
+
|
|
1067
|
+
def deserialize(params)
|
|
1068
|
+
@TagKey = params['TagKey']
|
|
1069
|
+
@TagValue = params['TagValue']
|
|
1070
|
+
end
|
|
1071
|
+
end
|
|
1072
|
+
|
|
1023
1073
|
end
|
|
1024
1074
|
end
|
|
1025
1075
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-dbdc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1177
|
|
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-
|
|
11
|
+
date: 2025-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|