tencentcloud-sdk-sqlserver 3.0.876 → 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: f6648082bf834bcddb0f57bf2a82d2631fb2d1a8
4
- data.tar.gz: a6a2c4c985d9528e00d157d1931929333a5c12e7
3
+ metadata.gz: 38dacdc2abc04be3488d2418c6fcbcc0ff94cd22
4
+ data.tar.gz: 816948add9b9421840c8feea04a7c7e50518d504
5
5
  SHA512:
6
- metadata.gz: 52b873c36ea4765943f31978c56a7829e2ef6ebf8c2cb2f457852bf3f5144784c144fbe79070f18fd830642de4124263b8b2b82abd8d90165a0e305e3a442979
7
- data.tar.gz: 1254cbec2f70e7a0c954524ed78c505ec2371eb0d9f1399e8e5b69883ec9b0442a638f531d835d52709eaceeb375f438dc47e626e5ae014c2c5e915618e9d9cc
6
+ metadata.gz: 0e73517302fd617d59ef65eafeb5924cbfa87272c167f77df3c4b0032ff2ac2faba6db25657122678655bf168808cac6607bced903945951a646d840ea11cd9b
7
+ data.tar.gz: 69ea2ad5b4bb4d0091e5967fd4c84b9e1e73ee0c031c2cf4d295689396e00b72cd0ba555a7424043a421a7f67b172776aaac22aa87b86783265ecf2a73a20a4e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.876
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: 数据库名
@@ -2575,8 +2607,8 @@ module TencentCloud
2575
2607
 
2576
2608
  attr_accessor :IsSubscribed, :CollationName, :IsAutoCleanupOn, :IsBrokerEnabled, :IsCdcEnabled, :IsDbChainingOn, :IsEncrypted, :IsFulltextEnabled, :IsMirroring, :IsPublished, :IsReadCommittedSnapshotOn, :IsTrustworthyOn, :MirroringState, :Name, :RecoveryModelDesc, :RetentionPeriod, :StateDesc, :UserAccessDesc, :CreateTime, :IsFullTextEnabled
2577
2609
  extend Gem::Deprecate
2578
- deprecate :IsFulltextEnabled, :none, 2024, 7
2579
- deprecate :IsFulltextEnabled=, :none, 2024, 7
2610
+ deprecate :IsFulltextEnabled, :none, 2024, 8
2611
+ deprecate :IsFulltextEnabled=, :none, 2024, 8
2580
2612
 
2581
2613
  def initialize(issubscribed=nil, collationname=nil, isautocleanupon=nil, isbrokerenabled=nil, iscdcenabled=nil, isdbchainingon=nil, isencrypted=nil, ismirroring=nil, ispublished=nil, isreadcommittedsnapshoton=nil, istrustworthyon=nil, mirroringstate=nil, name=nil, recoverymodeldesc=nil, retentionperiod=nil, statedesc=nil, useraccessdesc=nil, createtime=nil, isfulltextenabled=nil)
2582
2614
  @IsSubscribed = issubscribed
@@ -6653,8 +6685,8 @@ module TencentCloud
6653
6685
 
6654
6686
  attr_accessor :TotalCount, :Slowlogs, :SlowLogs, :RequestId
6655
6687
  extend Gem::Deprecate
6656
- deprecate :Slowlogs, :none, 2024, 7
6657
- deprecate :Slowlogs=, :none, 2024, 7
6688
+ deprecate :Slowlogs, :none, 2024, 8
6689
+ deprecate :Slowlogs=, :none, 2024, 8
6658
6690
 
6659
6691
  def initialize(totalcount=nil, slowlogs=nil, requestid=nil)
6660
6692
  @TotalCount = totalcount
@@ -6863,8 +6895,8 @@ module TencentCloud
6863
6895
 
6864
6896
  attr_accessor :BucketName, :Region, :Path, :TmpSecretId, :TmpSecretKey, :XCosSecurityToken, :StartTime, :ExpiredTime, :CosSecurityToken, :RequestId
6865
6897
  extend Gem::Deprecate
6866
- deprecate :XCosSecurityToken, :none, 2024, 7
6867
- deprecate :XCosSecurityToken=, :none, 2024, 7
6898
+ deprecate :XCosSecurityToken, :none, 2024, 8
6899
+ deprecate :XCosSecurityToken=, :none, 2024, 8
6868
6900
 
6869
6901
  def initialize(bucketname=nil, region=nil, path=nil, tmpsecretid=nil, tmpsecretkey=nil, xcossecuritytoken=nil, starttime=nil, expiredtime=nil, cossecuritytoken=nil, requestid=nil)
6870
6902
  @BucketName = bucketname
@@ -6942,8 +6974,8 @@ module TencentCloud
6942
6974
 
6943
6975
  attr_accessor :BucketName, :Region, :Path, :TmpSecretId, :TmpSecretKey, :XCosSecurityToken, :StartTime, :ExpiredTime, :CosSecurityToken, :RequestId
6944
6976
  extend Gem::Deprecate
6945
- deprecate :XCosSecurityToken, :none, 2024, 7
6946
- deprecate :XCosSecurityToken=, :none, 2024, 7
6977
+ deprecate :XCosSecurityToken, :none, 2024, 8
6978
+ deprecate :XCosSecurityToken=, :none, 2024, 8
6947
6979
 
6948
6980
  def initialize(bucketname=nil, region=nil, path=nil, tmpsecretid=nil, tmpsecretkey=nil, xcossecuritytoken=nil, starttime=nil, expiredtime=nil, cossecuritytoken=nil, requestid=nil)
6949
6981
  @BucketName = bucketname
@@ -8231,8 +8263,8 @@ module TencentCloud
8231
8263
 
8232
8264
  attr_accessor :Errno, :Msg, :Code, :RequestId
8233
8265
  extend Gem::Deprecate
8234
- deprecate :Errno, :none, 2024, 7
8235
- deprecate :Errno=, :none, 2024, 7
8266
+ deprecate :Errno, :none, 2024, 8
8267
+ deprecate :Errno=, :none, 2024, 8
8236
8268
 
8237
8269
  def initialize(errno=nil, msg=nil, code=nil, requestid=nil)
8238
8270
  @Errno = errno
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.876
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-07-30 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