tencentcloud-sdk-cdb 3.0.963 → 3.0.965

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: 1f164184c5f693d657a8753ca0e60eb947c755ab
4
- data.tar.gz: df746eb358098c3f6ecf26204691d1cb27708f57
3
+ metadata.gz: 672a3a8b7b2f30359e3bab9c4b4fce69f935ebbf
4
+ data.tar.gz: 9ee5f5144aab29859b7b60e37b6de0b3876e6cce
5
5
  SHA512:
6
- metadata.gz: d36576df46ded6aceb6397319d269faf91ed93863dec2ab38632b1b27cf49455021cbd174bba443c576bcbac0ad04812f3c34a77fb45b9137531f3f102714fd1
7
- data.tar.gz: 4d1f5ed62b1c4dbb5dc06321de7131a500225c4fb2394b429baea46e6072e82cefa22ba8e7410148cc1918fb617d87b759e1de4ae4d311c092944f4e96316a5e
6
+ metadata.gz: 127cd4c067fa304eeec9af94cf8499a5fc7d675bbb0a2c0ab680b0fce0e6ab6e4a0d8c3601828d0cb95b42ec01f5648eccc5fd88d0b53ab4001f84c7c83298ae
7
+ data.tar.gz: ddabe0b798eb8797a459916df315c8ff6299c508c88e4926b25b461829417ae9b9a6841be8ca181ae7b3b43dd4da450623532c04c5d1c1e1c3fc29bd66531bd8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.963
1
+ 3.0.965
@@ -3397,6 +3397,30 @@ module TencentCloud
3397
3397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3398
3398
  end
3399
3399
 
3400
+ # 该接口(ModifyProtectMode)用于修改实例的同步方式。
3401
+
3402
+ # @param request: Request instance for ModifyProtectMode.
3403
+ # @type request: :class:`Tencentcloud::cdb::V20170320::ModifyProtectModeRequest`
3404
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::ModifyProtectModeResponse`
3405
+ def ModifyProtectMode(request)
3406
+ body = send_request('ModifyProtectMode', request.serialize)
3407
+ response = JSON.parse(body)
3408
+ if response['Response'].key?('Error') == false
3409
+ model = ModifyProtectModeResponse.new
3410
+ model.deserialize(response['Response'])
3411
+ model
3412
+ else
3413
+ code = response['Response']['Error']['Code']
3414
+ message = response['Response']['Error']['Message']
3415
+ reqid = response['Response']['RequestId']
3416
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3417
+ end
3418
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3419
+ raise e
3420
+ rescue StandardError => e
3421
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3422
+ end
3423
+
3400
3424
  # 本接口(ModifyRemoteBackupConfig)用于修改数据库异地备份配置信息。
3401
3425
 
3402
3426
  # @param request: Request instance for ModifyRemoteBackupConfig.
@@ -11155,6 +11155,42 @@ module TencentCloud
11155
11155
  end
11156
11156
  end
11157
11157
 
11158
+ # ModifyProtectMode请求参数结构体
11159
+ class ModifyProtectModeRequest < TencentCloud::Common::AbstractModel
11160
+ # @param ProtectMode: 无
11161
+ # @type ProtectMode: Integer
11162
+ # @param InstanceId: 实例ID。
11163
+ # @type InstanceId: String
11164
+
11165
+ attr_accessor :ProtectMode, :InstanceId
11166
+
11167
+ def initialize(protectmode=nil, instanceid=nil)
11168
+ @ProtectMode = protectmode
11169
+ @InstanceId = instanceid
11170
+ end
11171
+
11172
+ def deserialize(params)
11173
+ @ProtectMode = params['ProtectMode']
11174
+ @InstanceId = params['InstanceId']
11175
+ end
11176
+ end
11177
+
11178
+ # ModifyProtectMode返回参数结构体
11179
+ class ModifyProtectModeResponse < TencentCloud::Common::AbstractModel
11180
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11181
+ # @type RequestId: String
11182
+
11183
+ attr_accessor :RequestId
11184
+
11185
+ def initialize(requestid=nil)
11186
+ @RequestId = requestid
11187
+ end
11188
+
11189
+ def deserialize(params)
11190
+ @RequestId = params['RequestId']
11191
+ end
11192
+ end
11193
+
11158
11194
  # ModifyRemoteBackupConfig请求参数结构体
11159
11195
  class ModifyRemoteBackupConfigRequest < TencentCloud::Common::AbstractModel
11160
11196
  # @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.963
4
+ version: 3.0.965
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-18 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common