tencentcloud-sdk-dcdb 1.0.265 → 1.0.268

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: f2a2f003fdf85328b422e08a0e5f570440c15813
4
- data.tar.gz: c078bac5e194d3714b451e95a21828cd5a5e2994
3
+ metadata.gz: 9c5f77fa53d4d013585ccb3afaa9dec68a5ae93c
4
+ data.tar.gz: ecab09f2e0b7e95af6ee0566e98fe727db33a192
5
5
  SHA512:
6
- metadata.gz: f5b4b4db8b3a59c68b5e32cde118eb16e84f89c59e236d79125cca3ef267e733df5cc0b872868904e98cc02e0025accc5e199a2ab3b376ca88950cbf309a275d
7
- data.tar.gz: efa1a153cf5c6c1f75cd59d8fbc2f1171005f873d0861e5e87d1b741ea779b912c1743a6c15d10b3235bfeee8abbe77769abce0dc7b63fbc62100424d7ac9787
6
+ metadata.gz: 229719d6199da66b551267dcaf634f10afb02d15db4dcdb813e84968fe168d389919d02a0ad3c445209a46d0a564f3a744592f39530247964f8416ae4b3a6b84
7
+ data.tar.gz: d7dbc92c49fc98262411e7448b50c344ecb641bf7166d96a1113cc47e3c2aae9d078e09fb799ea64267f88f2c05735960978ba176ad538423b3f3da9551becd0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.265
1
+ 1.0.268
@@ -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.265
4
+ version: 1.0.268
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-25 00:00:00.000000000 Z
11
+ date: 2022-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common