tencentcloud-sdk-mariadb 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: 47f6e05a3e783087d2f14bb73e936a076f9b8dd6
4
- data.tar.gz: 8e336cf748ab29b0e6611f138dc0e1fe576ce26a
3
+ metadata.gz: 58f6ef0b11ad6eb7529a046c37c6f238aef53a2c
4
+ data.tar.gz: 8d5296e14f00a2053e30176f5b4b73f9951b3394
5
5
  SHA512:
6
- metadata.gz: f1cb9160e7e0ae8a6b9681c361922255c85f2ea4835f19de530353a2e7bc9eed605b0a322e726fa2506b18edd3730afdac7b0c29e15fc24065752113254bc6ae
7
- data.tar.gz: f12947b107c319f0544e514f522b3dd24c2626abed59f937ef0063e823bd4dd424e42400487a03e23a297f3c0187bf70df3f21611dff1be968e5b426e585f618
6
+ metadata.gz: 024e1a494e32d2aff4e1cc4b180ffbae0cc7cdfa712bf7d685a0b5dc153fd9f9ba1945b907d73c7dbef80088ada67652b2c3e90cdc73ae606adee20e31e1eb57
7
+ data.tar.gz: add90bc74a5a1adaeb755286c11877367da0decb5a756402de777baede66517a0917c5052e27760af30fa965343a34b0eb19eeca17a3dc6bc961ecf8cd6de774
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
+ # 解隔离后付费实例
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.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