tencentcloud-sdk-cynosdb 3.0.1102 → 3.0.1106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a1f28af201889f6dc8dcf310b4c4c535e2e6a40
4
- data.tar.gz: 499bd803d46289d0cf292a4ac45e0caab53b0eaa
3
+ metadata.gz: 9e351a778cab1653d517891c88677242dfd36609
4
+ data.tar.gz: 5d1ecb8cd1eaee816516af98289356ed58ea1ebc
5
5
  SHA512:
6
- metadata.gz: 24cc7e79925854929f0583ca75c65439aa57a8eeb98d0f7bbae5d4d723b667985155d227ef68ce2c55b3d81562142d01c93a325c2e78bd8bc4c73acae693d97f
7
- data.tar.gz: f858a020234de091a924e00cbeb6bd996ad29ece6248b9afd1ce95ce34ec24f57173429760a08f3c27000f3d10b2b2471403734a860f869b699de37b5af28888
6
+ metadata.gz: a5a19640bfb0ddbb724bf700b137dd6bcbf8729a487d9c578f65c22ee25dcf4c6dd0326405867e199646940e9fba71882f87ecfb44876bbdd91ae5aaa5e4e18e
7
+ data.tar.gz: 02861fa88c365363d9473348f0ddf0cb86d3c476b44e7b10a8f404a331a6031570c91c6b7f100882e71cee1371f91fbacc7b3f5775ae48a085a343203659b48e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1102
1
+ 3.0.1106
@@ -3533,6 +3533,30 @@ module TencentCloud
3533
3533
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3534
3534
  end
3535
3535
 
3536
+ # 回放实例审计日志
3537
+
3538
+ # @param request: Request instance for ReplayInstanceAuditLog.
3539
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::ReplayInstanceAuditLogRequest`
3540
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::ReplayInstanceAuditLogResponse`
3541
+ def ReplayInstanceAuditLog(request)
3542
+ body = send_request('ReplayInstanceAuditLog', request.serialize)
3543
+ response = JSON.parse(body)
3544
+ if response['Response'].key?('Error') == false
3545
+ model = ReplayInstanceAuditLogResponse.new
3546
+ model.deserialize(response['Response'])
3547
+ model
3548
+ else
3549
+ code = response['Response']['Error']['Code']
3550
+ message = response['Response']['Error']['Message']
3551
+ reqid = response['Response']['RequestId']
3552
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3553
+ end
3554
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3555
+ raise e
3556
+ rescue StandardError => e
3557
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3558
+ end
3559
+
3536
3560
  # 本接口(ResetAccountPassword)用于修改数据库账号密码。
3537
3561
 
3538
3562
  # @param request: Request instance for ResetAccountPassword.
@@ -13079,6 +13079,71 @@ module TencentCloud
13079
13079
  end
13080
13080
  end
13081
13081
 
13082
+ # ReplayInstanceAuditLog请求参数结构体
13083
+ class ReplayInstanceAuditLogRequest < TencentCloud::Common::AbstractModel
13084
+ # @param SourceClusterId: 源集群id
13085
+ # @type SourceClusterId: String
13086
+ # @param SourceInstanceId: 源实例id
13087
+ # @type SourceInstanceId: String
13088
+ # @param TargetClusterId: 目标集群id
13089
+ # 目标集群必须为原始集群三天内克隆出的集群。
13090
+ # @type TargetClusterId: String
13091
+ # @param TargetInstanceId: 目标实例id
13092
+ # @type TargetInstanceId: String
13093
+ # @param TargetUserName: 用户名.需要host为%的用户名
13094
+ # @type TargetUserName: String
13095
+ # @param TargetPassword: 密码
13096
+ # @type TargetPassword: String
13097
+ # @param StartTime: 开始时间。时间格式为:yyyy-DD-mm hh:mm:ss
13098
+ # @type StartTime: String
13099
+ # @param EndTime: 结束时间。时间格式为:yyyy-DD-mm hh:mm:ss
13100
+ # @type EndTime: String
13101
+
13102
+ attr_accessor :SourceClusterId, :SourceInstanceId, :TargetClusterId, :TargetInstanceId, :TargetUserName, :TargetPassword, :StartTime, :EndTime
13103
+
13104
+ def initialize(sourceclusterid=nil, sourceinstanceid=nil, targetclusterid=nil, targetinstanceid=nil, targetusername=nil, targetpassword=nil, starttime=nil, endtime=nil)
13105
+ @SourceClusterId = sourceclusterid
13106
+ @SourceInstanceId = sourceinstanceid
13107
+ @TargetClusterId = targetclusterid
13108
+ @TargetInstanceId = targetinstanceid
13109
+ @TargetUserName = targetusername
13110
+ @TargetPassword = targetpassword
13111
+ @StartTime = starttime
13112
+ @EndTime = endtime
13113
+ end
13114
+
13115
+ def deserialize(params)
13116
+ @SourceClusterId = params['SourceClusterId']
13117
+ @SourceInstanceId = params['SourceInstanceId']
13118
+ @TargetClusterId = params['TargetClusterId']
13119
+ @TargetInstanceId = params['TargetInstanceId']
13120
+ @TargetUserName = params['TargetUserName']
13121
+ @TargetPassword = params['TargetPassword']
13122
+ @StartTime = params['StartTime']
13123
+ @EndTime = params['EndTime']
13124
+ end
13125
+ end
13126
+
13127
+ # ReplayInstanceAuditLog返回参数结构体
13128
+ class ReplayInstanceAuditLogResponse < TencentCloud::Common::AbstractModel
13129
+ # @param TaskId: 任务id
13130
+ # @type TaskId: Integer
13131
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13132
+ # @type RequestId: String
13133
+
13134
+ attr_accessor :TaskId, :RequestId
13135
+
13136
+ def initialize(taskid=nil, requestid=nil)
13137
+ @TaskId = taskid
13138
+ @RequestId = requestid
13139
+ end
13140
+
13141
+ def deserialize(params)
13142
+ @TaskId = params['TaskId']
13143
+ @RequestId = params['RequestId']
13144
+ end
13145
+ end
13146
+
13082
13147
  # ResetAccountPassword请求参数结构体
13083
13148
  class ResetAccountPasswordRequest < TencentCloud::Common::AbstractModel
13084
13149
  # @param AccountName: 数据库账号名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1102
4
+ version: 3.0.1106
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-16 00:00:00.000000000 Z
11
+ date: 2025-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common