tencentcloud-sdk-dcdb 1.0.266 → 1.0.269

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: 4539b09fc7e6d96544f7182235a437de22b64920
4
- data.tar.gz: 1b59429dfbe5bbd836d6bf770159f312a3b2c6cd
3
+ metadata.gz: 84340f80a2c0fb809c893a6b852217eccf210682
4
+ data.tar.gz: 801ec4fcfe00ca61c39d1bf09c0fc6c039f76ea6
5
5
  SHA512:
6
- metadata.gz: 2c4bf688d8ac8f6eb54253a38c9dd8556f5cd0601848a6228e62c07dc4b8c58bb2751cca42c0825b5e407cee8bc63c4b5c782a8f9728ce5f7ecfa48220755bbb
7
- data.tar.gz: 49555db6410d75ee108ed78a7746101ae481354dbdf54e50601393bfa78c0c79e1bca61c3db594b5377e859273b85220e7c26e906a5c6e6fd18ce5deaf15b3ed
6
+ metadata.gz: 871f51b2c6f8ebbd9348faa378e826b81f3842371b2a6c23e94cf4518513b37edc61e5adde9ebf1bea918404532fbd37355b9e11ffd9b4b469fa35aba8f1148c
7
+ data.tar.gz: eb22780775d4d9c33597738185d24103d3593b2dfca84a0cd1d58f8b87627ca2f740bfc2c76ccc722eb907355f3f2366d9d4c0f7d6cfff05596a1729ffa0a258
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.266
1
+ 1.0.269
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 解隔离DCDB后付费实例
33
+
34
+ # @param request: Request instance for ActiveHourDCDBInstance.
35
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::ActiveHourDCDBInstanceRequest`
36
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::ActiveHourDCDBInstanceResponse`
37
+ def ActiveHourDCDBInstance(request)
38
+ body = send_request('ActiveHourDCDBInstance', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = ActiveHourDCDBInstanceResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 本接口 (AssociateSecurityGroups) 用于安全组批量绑定云资源。
33
57
 
34
58
  # @param request: Request instance for AssociateSecurityGroups.
@@ -1041,6 +1065,30 @@ module TencentCloud
1041
1065
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1042
1066
  end
1043
1067
 
1068
+ # 隔离DCDB后付费实例
1069
+
1070
+ # @param request: Request instance for IsolateHourDCDBInstance.
1071
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::IsolateHourDCDBInstanceRequest`
1072
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::IsolateHourDCDBInstanceResponse`
1073
+ def IsolateHourDCDBInstance(request)
1074
+ body = send_request('IsolateHourDCDBInstance', request.serialize)
1075
+ response = JSON.parse(body)
1076
+ if response['Response'].key?('Error') == false
1077
+ model = IsolateHourDCDBInstanceResponse.new
1078
+ model.deserialize(response['Response'])
1079
+ model
1080
+ else
1081
+ code = response['Response']['Error']['Code']
1082
+ message = response['Response']['Error']['Message']
1083
+ reqid = response['Response']['RequestId']
1084
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1085
+ end
1086
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1087
+ raise e
1088
+ rescue StandardError => e
1089
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1090
+ end
1091
+
1044
1092
  # 本接口(KillSession)用于杀死指定会话。
1045
1093
 
1046
1094
  # @param request: Request instance for KillSession.
@@ -17,6 +17,46 @@
17
17
  module TencentCloud
18
18
  module Dcdb
19
19
  module V20180411
20
+ # ActiveHourDCDBInstance请求参数结构体
21
+ class ActiveHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
22
+ # @param InstanceIds: 待升级的实例ID列表。形如:["dcdbt-ow728lmc"],可以通过 DescribeDCDBInstances 查询实例详情获得。
23
+ # @type InstanceIds: Array
24
+
25
+ attr_accessor :InstanceIds
26
+
27
+ def initialize(instanceids=nil)
28
+ @InstanceIds = instanceids
29
+ end
30
+
31
+ def deserialize(params)
32
+ @InstanceIds = params['InstanceIds']
33
+ end
34
+ end
35
+
36
+ # ActiveHourDCDBInstance返回参数结构体
37
+ class ActiveHourDCDBInstanceResponse < TencentCloud::Common::AbstractModel
38
+ # @param SuccessInstanceIds: 解隔离成功的实例id列表
39
+ # @type SuccessInstanceIds: Array
40
+ # @param FailedInstanceIds: 解隔离失败的实例id列表
41
+ # @type FailedInstanceIds: Array
42
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
43
+ # @type RequestId: String
44
+
45
+ attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
46
+
47
+ def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
48
+ @SuccessInstanceIds = successinstanceids
49
+ @FailedInstanceIds = failedinstanceids
50
+ @RequestId = requestid
51
+ end
52
+
53
+ def deserialize(params)
54
+ @SuccessInstanceIds = params['SuccessInstanceIds']
55
+ @FailedInstanceIds = params['FailedInstanceIds']
56
+ @RequestId = params['RequestId']
57
+ end
58
+ end
59
+
20
60
  # 升级实例 -- 新增分片类型
21
61
  class AddShardConfig < TencentCloud::Common::AbstractModel
22
62
  # @param ShardCount: 新增分片的数量
@@ -3304,6 +3344,46 @@ module TencentCloud
3304
3344
  end
3305
3345
  end
3306
3346
 
3347
+ # IsolateHourDCDBInstance请求参数结构体
3348
+ class IsolateHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
3349
+ # @param InstanceIds: 实例uuid列表
3350
+ # @type InstanceIds: Array
3351
+
3352
+ attr_accessor :InstanceIds
3353
+
3354
+ def initialize(instanceids=nil)
3355
+ @InstanceIds = instanceids
3356
+ end
3357
+
3358
+ def deserialize(params)
3359
+ @InstanceIds = params['InstanceIds']
3360
+ end
3361
+ end
3362
+
3363
+ # IsolateHourDCDBInstance返回参数结构体
3364
+ class IsolateHourDCDBInstanceResponse < TencentCloud::Common::AbstractModel
3365
+ # @param SuccessInstanceIds: 隔离成功的实例id列表
3366
+ # @type SuccessInstanceIds: Array
3367
+ # @param FailedInstanceIds: 隔离失败的实例id列表
3368
+ # @type FailedInstanceIds: Array
3369
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3370
+ # @type RequestId: String
3371
+
3372
+ attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
3373
+
3374
+ def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
3375
+ @SuccessInstanceIds = successinstanceids
3376
+ @FailedInstanceIds = failedinstanceids
3377
+ @RequestId = requestid
3378
+ end
3379
+
3380
+ def deserialize(params)
3381
+ @SuccessInstanceIds = params['SuccessInstanceIds']
3382
+ @FailedInstanceIds = params['FailedInstanceIds']
3383
+ @RequestId = params['RequestId']
3384
+ end
3385
+ end
3386
+
3307
3387
  # KillSession请求参数结构体
3308
3388
  class KillSessionRequest < TencentCloud::Common::AbstractModel
3309
3389
  # @param InstanceId: 实例ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dcdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.266
4
+ version: 1.0.269
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common