tencentcloud-sdk-mariadb 1.0.348 → 1.0.349

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: 49fe70abf587653fe6e886a4002921df7c120716
4
- data.tar.gz: 96961abde368b7e14f9f670f0b05e3a381e8568f
3
+ metadata.gz: 11d264809906dda3a16123c58293c1f9466865c8
4
+ data.tar.gz: 863b8e8c893585f9dc7fb41e23bf8f75d405a639
5
5
  SHA512:
6
- metadata.gz: 019a1050f04d5212626c561e183a38da26e35738eb5d2c663368086bd9a18049e337bcdc030e0bdffdf875622d164123d1417a2016fe5ef5c00f3884e468eeda
7
- data.tar.gz: 2b57dcef8842b1da3a53af13889203f5da4420ef3eabcaa22e04f8d39d1ad1b4be278b2425d4658f9468ad24e25b39f23b7e03e39590b04868737ce8be4870df
6
+ metadata.gz: 4ad9fe4c2d3bc903d159f9aade0803a767b9fef5e7115b7085441e8ecc858b9ff35debea2f77b3fc3d47d4c79b5a05ae03f3b9862ac4d7a8f0cc75ae711b57fd
7
+ data.tar.gz: 13249b90b6b808c3e24ea7ab4c7656f09c562cf4ae3d0bd3bc5fc6d02aa6632902559532272e75dfc7ab35595fb56ecd4dda31d88f4f7ec6024dca89142f8e78
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.348
1
+ 1.0.349
@@ -992,6 +992,30 @@ module TencentCloud
992
992
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
993
993
  end
994
994
 
995
+ # 本接口(DestroyDBInstance)用于销毁已隔离的包年包月实例。
996
+
997
+ # @param request: Request instance for DestroyDBInstance.
998
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::DestroyDBInstanceRequest`
999
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::DestroyDBInstanceResponse`
1000
+ def DestroyDBInstance(request)
1001
+ body = send_request('DestroyDBInstance', request.serialize)
1002
+ response = JSON.parse(body)
1003
+ if response['Response'].key?('Error') == false
1004
+ model = DestroyDBInstanceResponse.new
1005
+ model.deserialize(response['Response'])
1006
+ model
1007
+ else
1008
+ code = response['Response']['Error']['Code']
1009
+ message = response['Response']['Error']['Message']
1010
+ reqid = response['Response']['RequestId']
1011
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1012
+ end
1013
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1014
+ raise e
1015
+ rescue StandardError => e
1016
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1017
+ end
1018
+
995
1019
  # 本接口(DestroyHourDBInstance)用于销毁按量计费实例。
996
1020
 
997
1021
  # @param request: Request instance for DestroyHourDBInstance.
@@ -3159,6 +3159,46 @@ module TencentCloud
3159
3159
  end
3160
3160
  end
3161
3161
 
3162
+ # DestroyDBInstance请求参数结构体
3163
+ class DestroyDBInstanceRequest < TencentCloud::Common::AbstractModel
3164
+ # @param InstanceId: 实例 ID,格式如:tdsqlshard-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
3165
+ # @type InstanceId: String
3166
+
3167
+ attr_accessor :InstanceId
3168
+
3169
+ def initialize(instanceid=nil)
3170
+ @InstanceId = instanceid
3171
+ end
3172
+
3173
+ def deserialize(params)
3174
+ @InstanceId = params['InstanceId']
3175
+ end
3176
+ end
3177
+
3178
+ # DestroyDBInstance返回参数结构体
3179
+ class DestroyDBInstanceResponse < TencentCloud::Common::AbstractModel
3180
+ # @param InstanceId: 实例 ID,与入参InstanceId一致。
3181
+ # @type InstanceId: String
3182
+ # @param FlowId: 异步任务的请求 ID,可使用此 ID [查询异步任务的执行结果](https://cloud.tencent.com/document/product/237/16177)。
3183
+ # @type FlowId: Integer
3184
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3185
+ # @type RequestId: String
3186
+
3187
+ attr_accessor :InstanceId, :FlowId, :RequestId
3188
+
3189
+ def initialize(instanceid=nil, flowid=nil, requestid=nil)
3190
+ @InstanceId = instanceid
3191
+ @FlowId = flowid
3192
+ @RequestId = requestid
3193
+ end
3194
+
3195
+ def deserialize(params)
3196
+ @InstanceId = params['InstanceId']
3197
+ @FlowId = params['FlowId']
3198
+ @RequestId = params['RequestId']
3199
+ end
3200
+ end
3201
+
3162
3202
  # DestroyHourDBInstance请求参数结构体
3163
3203
  class DestroyHourDBInstanceRequest < TencentCloud::Common::AbstractModel
3164
3204
  # @param InstanceId: 实例 ID,格式如:tdsql-avw0207d,与云数据库控制台页面中显示的实例 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.348
4
+ version: 1.0.349
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-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common