tencentcloud-sdk-sqlserver 3.0.877 → 3.0.878

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: 9b33373023cf71b5f6146dd86a7c662c5c3ece7a
4
- data.tar.gz: 1471bb1acbf31d8ab63c1ebcc32a4b797a047d0f
3
+ metadata.gz: 38dacdc2abc04be3488d2418c6fcbcc0ff94cd22
4
+ data.tar.gz: 816948add9b9421840c8feea04a7c7e50518d504
5
5
  SHA512:
6
- metadata.gz: 73aeaec8c0c57df42efb68d89e102503de779ea6d8881d1e4be681b9fea7878f66a7b16e7cbefadd80aa751354c0f735e1ecbf8b33f2c3d9d61fd6248dce266d
7
- data.tar.gz: b69b498e30ff20b7a43ebe36668d657cc41590b4e55e82a032039eda30b3d389e68ed9172ebed291d304ebe7aa270d24f51f1e62418b7df1b472d676c009ce97
6
+ metadata.gz: 0e73517302fd617d59ef65eafeb5924cbfa87272c167f77df3c4b0032ff2ac2faba6db25657122678655bf168808cac6607bced903945951a646d840ea11cd9b
7
+ data.tar.gz: 69ea2ad5b4bb4d0091e5967fd4c84b9e1e73ee0c031c2cf4d295689396e00b72cd0ba555a7424043a421a7f67b172776aaac22aa87b86783265ecf2a73a20a4e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.877
1
+ 3.0.878
@@ -509,6 +509,30 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
+ # 本接口(CutXEvents)用于手动切割阻塞日志和死锁日志。
513
+
514
+ # @param request: Request instance for CutXEvents.
515
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::CutXEventsRequest`
516
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::CutXEventsResponse`
517
+ def CutXEvents(request)
518
+ body = send_request('CutXEvents', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = CutXEventsResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
512
536
  # 本接口(DeleteAccount)用于删除实例账号。
513
537
 
514
538
  # @param request: Request instance for DeleteAccount.
@@ -2047,6 +2047,38 @@ module TencentCloud
2047
2047
  end
2048
2048
  end
2049
2049
 
2050
+ # CutXEvents请求参数结构体
2051
+ class CutXEventsRequest < TencentCloud::Common::AbstractModel
2052
+ # @param InstanceId: 实例ID
2053
+ # @type InstanceId: String
2054
+
2055
+ attr_accessor :InstanceId
2056
+
2057
+ def initialize(instanceid=nil)
2058
+ @InstanceId = instanceid
2059
+ end
2060
+
2061
+ def deserialize(params)
2062
+ @InstanceId = params['InstanceId']
2063
+ end
2064
+ end
2065
+
2066
+ # CutXEvents返回参数结构体
2067
+ class CutXEventsResponse < TencentCloud::Common::AbstractModel
2068
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2069
+ # @type RequestId: String
2070
+
2071
+ attr_accessor :RequestId
2072
+
2073
+ def initialize(requestid=nil)
2074
+ @RequestId = requestid
2075
+ end
2076
+
2077
+ def deserialize(params)
2078
+ @RequestId = params['RequestId']
2079
+ end
2080
+ end
2081
+
2050
2082
  # 数据库创建信息
2051
2083
  class DBCreateInfo < TencentCloud::Common::AbstractModel
2052
2084
  # @param DBName: 数据库名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-sqlserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.877
4
+ version: 3.0.878
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-08-01 00:00:00.000000000 Z
11
+ date: 2024-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common