tencentcloud-sdk-mariadb 1.0.266 → 1.0.267

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: 3224a41101f2fb34f2af6ffe1b22a70171f6c97b
4
- data.tar.gz: fedf76c0554f50f3d0d953c13a01e49c56862478
3
+ metadata.gz: 3efcf10556f2d109457bacc6db172367f1da0e99
4
+ data.tar.gz: 5d9221b8f3db2ee1091aa96fa6976ead1f278844
5
5
  SHA512:
6
- metadata.gz: c34965d41bd45e541b48ff758cb6473c4bd6a4d03f8f1084dbf2231b23bc052063dcda4a2cec6142fc829f82c63334b022af53898574b199aa25d53f107ab828
7
- data.tar.gz: 6cacc84a1b02c565f2c10f216d8ed0a5dc3789dd43468c01096b55d84485d30626e4b2e5a75dfe3eb1e2d3e99301fca1b9d8e1e3e8f65982da61557f98bff7d0
6
+ metadata.gz: a9faa4ba462428e5282907b5f8fe063400cfcc34d4d80e4fbb495e98dfbf9619c884522a65ae995d5f04d5c64f01bd9794dab32aca5eac638deee51a835ad181
7
+ data.tar.gz: 10b372bfd16098753dae82b96e84714fcf0142ef5cfaa24accdd4fd5c67a72d175e27aba97453169ba8d16b8f989588866a0f26b0866f0a533ebe1f1dcd3081d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.266
1
+ 1.0.267
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 解隔离后付费实例
33
+
34
+ # @param request: Request instance for ActivateHourDBInstance.
35
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::ActivateHourDBInstanceRequest`
36
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::ActivateHourDBInstanceResponse`
37
+ def ActivateHourDBInstance(request)
38
+ body = send_request('ActivateHourDBInstance', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = ActivateHourDBInstanceResponse.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.
@@ -1089,6 +1113,30 @@ module TencentCloud
1089
1113
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1090
1114
  end
1091
1115
 
1116
+ # 隔离后付费实例
1117
+
1118
+ # @param request: Request instance for IsolateHourDBInstance.
1119
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateHourDBInstanceRequest`
1120
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::IsolateHourDBInstanceResponse`
1121
+ def IsolateHourDBInstance(request)
1122
+ body = send_request('IsolateHourDBInstance', request.serialize)
1123
+ response = JSON.parse(body)
1124
+ if response['Response'].key?('Error') == false
1125
+ model = IsolateHourDBInstanceResponse.new
1126
+ model.deserialize(response['Response'])
1127
+ model
1128
+ else
1129
+ code = response['Response']['Error']['Code']
1130
+ message = response['Response']['Error']['Message']
1131
+ reqid = response['Response']['RequestId']
1132
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1133
+ end
1134
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1135
+ raise e
1136
+ rescue StandardError => e
1137
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1138
+ end
1139
+
1092
1140
  # 本接口(KillSession)用于杀死指定会话。
1093
1141
 
1094
1142
  # @param request: Request instance for KillSession.
@@ -37,6 +37,46 @@ module TencentCloud
37
37
  end
38
38
  end
39
39
 
40
+ # ActivateHourDBInstance请求参数结构体
41
+ class ActivateHourDBInstanceRequest < TencentCloud::Common::AbstractModel
42
+ # @param InstanceIds: 实例ID列表
43
+ # @type InstanceIds: Array
44
+
45
+ attr_accessor :InstanceIds
46
+
47
+ def initialize(instanceids=nil)
48
+ @InstanceIds = instanceids
49
+ end
50
+
51
+ def deserialize(params)
52
+ @InstanceIds = params['InstanceIds']
53
+ end
54
+ end
55
+
56
+ # ActivateHourDBInstance返回参数结构体
57
+ class ActivateHourDBInstanceResponse < TencentCloud::Common::AbstractModel
58
+ # @param SuccessInstanceIds: 隔离成功的实例id列表
59
+ # @type SuccessInstanceIds: Array
60
+ # @param FailedInstanceIds: 隔离失败的实例id列表
61
+ # @type FailedInstanceIds: Array
62
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
63
+ # @type RequestId: String
64
+
65
+ attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
66
+
67
+ def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
68
+ @SuccessInstanceIds = successinstanceids
69
+ @FailedInstanceIds = failedinstanceids
70
+ @RequestId = requestid
71
+ end
72
+
73
+ def deserialize(params)
74
+ @SuccessInstanceIds = params['SuccessInstanceIds']
75
+ @FailedInstanceIds = params['FailedInstanceIds']
76
+ @RequestId = params['RequestId']
77
+ end
78
+ end
79
+
40
80
  # AssociateSecurityGroups请求参数结构体
41
81
  class AssociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
42
82
  # @param Product: 数据库引擎名称,本接口取值:mariadb。
@@ -3386,6 +3426,46 @@ module TencentCloud
3386
3426
  end
3387
3427
  end
3388
3428
 
3429
+ # IsolateHourDBInstance请求参数结构体
3430
+ class IsolateHourDBInstanceRequest < TencentCloud::Common::AbstractModel
3431
+ # @param InstanceIds: 实例ID列表
3432
+ # @type InstanceIds: Array
3433
+
3434
+ attr_accessor :InstanceIds
3435
+
3436
+ def initialize(instanceids=nil)
3437
+ @InstanceIds = instanceids
3438
+ end
3439
+
3440
+ def deserialize(params)
3441
+ @InstanceIds = params['InstanceIds']
3442
+ end
3443
+ end
3444
+
3445
+ # IsolateHourDBInstance返回参数结构体
3446
+ class IsolateHourDBInstanceResponse < TencentCloud::Common::AbstractModel
3447
+ # @param SuccessInstanceIds: 解隔离成功的实例id列表
3448
+ # @type SuccessInstanceIds: Array
3449
+ # @param FailedInstanceIds: 解隔离失败的实例id列表
3450
+ # @type FailedInstanceIds: Array
3451
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3452
+ # @type RequestId: String
3453
+
3454
+ attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
3455
+
3456
+ def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
3457
+ @SuccessInstanceIds = successinstanceids
3458
+ @FailedInstanceIds = failedinstanceids
3459
+ @RequestId = requestid
3460
+ end
3461
+
3462
+ def deserialize(params)
3463
+ @SuccessInstanceIds = params['SuccessInstanceIds']
3464
+ @FailedInstanceIds = params['FailedInstanceIds']
3465
+ @RequestId = params['RequestId']
3466
+ end
3467
+ end
3468
+
3389
3469
  # KillSession请求参数结构体
3390
3470
  class KillSessionRequest < TencentCloud::Common::AbstractModel
3391
3471
  # @param InstanceId: 实例ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.266
4
+ version: 1.0.267
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-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common