tencentcloud-sdk-mariadb 3.0.444 → 3.0.445

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: 3d4e1a4bbe88017208d7505dc4c0628d86024b1a
4
- data.tar.gz: 89cd30e74528a84973611cba2a88569267b4d08a
3
+ metadata.gz: 6c3d658435c365c1c49277bcfab339891fd58bb4
4
+ data.tar.gz: 004b8baa607046a2cdd47c964c84141108c33fa9
5
5
  SHA512:
6
- metadata.gz: a89ff0e9fed757859ad22eb4f4373bee4770cd38a0f63b8866a1a7f88cf2027a3684285d4e52f26fb352a06db1febe6dc053c8fb4e40527295d93b2e7bb91118
7
- data.tar.gz: 26314ae96e537dcd79df88bac65f42507faa713d217916d1b552d265ceea93c2f8e37040bd320b5e4c859824381df402a6def146faf442d564061edb1254a9ed
6
+ metadata.gz: 7588a4a100cf5818bb4d65f5193685f4ef97fa7a07c5967692c5198ab36de2cfd0cf3e2f9f600b054aa2a1a2fd378885600f3c333071a3339ae68b925b4dc9cb
7
+ data.tar.gz: 8f3b338ee169e4c7fb2ca85d60814eafa1d6ace023104d86bb1784911e8929bd62ac61d9a1a2d1af977b30b51e2b36250fd961796b1322de3020a831974fdc79
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.444
1
+ 3.0.445
@@ -1017,6 +1017,30 @@ module TencentCloud
1017
1017
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1018
1018
  end
1019
1019
 
1020
+ # 本接口(IsolateDBInstance)用于隔离云数据库实例(包年包月),隔离后不能通过IP和端口访问数据库。隔离的实例可在回收站中进行开机。若为欠费隔离,请尽快进行充值。
1021
+
1022
+ # @param request: Request instance for IsolateDBInstance.
1023
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateDBInstanceRequest`
1024
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::IsolateDBInstanceResponse`
1025
+ def IsolateDBInstance(request)
1026
+ body = send_request('IsolateDBInstance', request.serialize)
1027
+ response = JSON.parse(body)
1028
+ if response['Response'].key?('Error') == false
1029
+ model = IsolateDBInstanceResponse.new
1030
+ model.deserialize(response['Response'])
1031
+ model
1032
+ else
1033
+ code = response['Response']['Error']['Code']
1034
+ message = response['Response']['Error']['Message']
1035
+ reqid = response['Response']['RequestId']
1036
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1037
+ end
1038
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1039
+ raise e
1040
+ rescue StandardError => e
1041
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1042
+ end
1043
+
1020
1044
  # 本接口(IsolateDedicatedDBInstance)用于隔离独享云数据库实例。
1021
1045
 
1022
1046
  # @param request: Request instance for IsolateDedicatedDBInstance.
@@ -3104,6 +3104,46 @@ module TencentCloud
3104
3104
  end
3105
3105
  end
3106
3106
 
3107
+ # IsolateDBInstance请求参数结构体
3108
+ class IsolateDBInstanceRequest < TencentCloud::Common::AbstractModel
3109
+ # @param InstanceIds: 实例 ID,格式如:tdsql-dasjkhd,与云数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。
3110
+ # @type InstanceIds: Array
3111
+
3112
+ attr_accessor :InstanceIds
3113
+
3114
+ def initialize(instanceids=nil)
3115
+ @InstanceIds = instanceids
3116
+ end
3117
+
3118
+ def deserialize(params)
3119
+ @InstanceIds = params['InstanceIds']
3120
+ end
3121
+ end
3122
+
3123
+ # IsolateDBInstance返回参数结构体
3124
+ class IsolateDBInstanceResponse < TencentCloud::Common::AbstractModel
3125
+ # @param SuccessInstanceIds: 隔离成功实例ID列表。
3126
+ # @type SuccessInstanceIds: Array
3127
+ # @param FailedInstanceIds: 隔离失败实例ID列表。
3128
+ # @type FailedInstanceIds: Array
3129
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3130
+ # @type RequestId: String
3131
+
3132
+ attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
3133
+
3134
+ def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
3135
+ @SuccessInstanceIds = successinstanceids
3136
+ @FailedInstanceIds = failedinstanceids
3137
+ @RequestId = requestid
3138
+ end
3139
+
3140
+ def deserialize(params)
3141
+ @SuccessInstanceIds = params['SuccessInstanceIds']
3142
+ @FailedInstanceIds = params['FailedInstanceIds']
3143
+ @RequestId = params['RequestId']
3144
+ end
3145
+ end
3146
+
3107
3147
  # IsolateDedicatedDBInstance请求参数结构体
3108
3148
  class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
3109
3149
  # @param InstanceId: 实例 Id,形如:tdsql-ow728lmc。
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: 3.0.444
4
+ version: 3.0.445
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-11-04 00:00:00.000000000 Z
11
+ date: 2022-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common