tencentcloud-sdk-sqlserver 3.0.777 → 3.0.778

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: bae5f25772fe5016c2afe57b1ce8b42ec6bd2e7f
4
- data.tar.gz: 865ea969b4596c8bd74813ed6da3f6d3d755145b
3
+ metadata.gz: 06705d2a324a079630f92b94c7aef466ebb6666e
4
+ data.tar.gz: 821f54cc742c98d4394f271fe976f94e6e4ba585
5
5
  SHA512:
6
- metadata.gz: 4663f5f415af57f308fbc5480ec6480638788be334731ccb988668d32fceb15fb0ae44ea535365a987f80d36526bd6bb61db494287844f1f0b3d979179e964ee
7
- data.tar.gz: 55a2665ef1b9fe4f08979ca856e8539628e510628009a5b089dfc4abd9e522c5264ab0627796a27ef4b396f4844ec615f57859ab296080b1b6a11cf81557cffe
6
+ metadata.gz: 03ee23dbbd228d31acfea7ba821c697272113d1ef9738b05635ce32607e3cae67065e8e6f1444c874069830f310188c78700b2b6b12ed01ba1e12cf3d9678888
7
+ data.tar.gz: 54073e840dc6df05a849e2fa62a005860ed18532a7b35c21bf229ed89835c507b232af4dad7c72f575c1d9c00e091c3b93c2580411f4a5c0213943dcce5351c1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.777
1
+ 3.0.778
@@ -2693,6 +2693,30 @@ module TencentCloud
2693
2693
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2694
2694
  end
2695
2695
 
2696
+ # 本接口(ModifyDReadable)用于开通或者关闭备机只读
2697
+
2698
+ # @param request: Request instance for ModifyDReadable.
2699
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyDReadableRequest`
2700
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyDReadableResponse`
2701
+ def ModifyDReadable(request)
2702
+ body = send_request('ModifyDReadable', request.serialize)
2703
+ response = JSON.parse(body)
2704
+ if response['Response'].key?('Error') == false
2705
+ model = ModifyDReadableResponse.new
2706
+ model.deserialize(response['Response'])
2707
+ model
2708
+ else
2709
+ code = response['Response']['Error']['Code']
2710
+ message = response['Response']['Error']['Message']
2711
+ reqid = response['Response']['RequestId']
2712
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2713
+ end
2714
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2715
+ raise e
2716
+ rescue StandardError => e
2717
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2718
+ end
2719
+
2696
2720
  # 本接口(ModifyDatabaseCDC)用于开启、关闭数据库数据变更捕获(CDC)
2697
2721
 
2698
2722
  # @param request: Request instance for ModifyDatabaseCDC.
@@ -8699,6 +8699,58 @@ module TencentCloud
8699
8699
  end
8700
8700
  end
8701
8701
 
8702
+ # ModifyDReadable请求参数结构体
8703
+ class ModifyDReadableRequest < TencentCloud::Common::AbstractModel
8704
+ # @param InstanceId: 实例ID
8705
+ # @type InstanceId: String
8706
+ # @param Type: 操作类型。enable-开启备机只读,disable-关闭备机只读
8707
+ # @type Type: String
8708
+ # @param VpcId: 备机网络ID,不填默认和主实例保持一致
8709
+ # @type VpcId: String
8710
+ # @param SubnetId: 备机网络子网ID,不填默认和主实例保持一致
8711
+ # @type SubnetId: String
8712
+ # @param Vip: 指定的备机只读vip,不填自动分配
8713
+ # @type Vip: String
8714
+
8715
+ attr_accessor :InstanceId, :Type, :VpcId, :SubnetId, :Vip
8716
+
8717
+ def initialize(instanceid=nil, type=nil, vpcid=nil, subnetid=nil, vip=nil)
8718
+ @InstanceId = instanceid
8719
+ @Type = type
8720
+ @VpcId = vpcid
8721
+ @SubnetId = subnetid
8722
+ @Vip = vip
8723
+ end
8724
+
8725
+ def deserialize(params)
8726
+ @InstanceId = params['InstanceId']
8727
+ @Type = params['Type']
8728
+ @VpcId = params['VpcId']
8729
+ @SubnetId = params['SubnetId']
8730
+ @Vip = params['Vip']
8731
+ end
8732
+ end
8733
+
8734
+ # ModifyDReadable返回参数结构体
8735
+ class ModifyDReadableResponse < TencentCloud::Common::AbstractModel
8736
+ # @param FlowId: 任务ID
8737
+ # @type FlowId: Integer
8738
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8739
+ # @type RequestId: String
8740
+
8741
+ attr_accessor :FlowId, :RequestId
8742
+
8743
+ def initialize(flowid=nil, requestid=nil)
8744
+ @FlowId = flowid
8745
+ @RequestId = requestid
8746
+ end
8747
+
8748
+ def deserialize(params)
8749
+ @FlowId = params['FlowId']
8750
+ @RequestId = params['RequestId']
8751
+ end
8752
+ end
8753
+
8702
8754
  # 要修改的数据库订阅发布关系集合
8703
8755
  class ModifyDataBaseTuple < TencentCloud::Common::AbstractModel
8704
8756
  # @param DatabaseTuple: 要修改的订阅关系
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.777
4
+ version: 3.0.778
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-03-08 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common