tencentcloud-sdk-sqlserver 3.0.777 → 3.0.779

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: bae5f25772fe5016c2afe57b1ce8b42ec6bd2e7f
4
- data.tar.gz: 865ea969b4596c8bd74813ed6da3f6d3d755145b
3
+ metadata.gz: d17ebd2666147a42645fc28579d7749618298cfb
4
+ data.tar.gz: df3dca09a20a8a6c4a0fe988f5cf832388e96937
5
5
  SHA512:
6
- metadata.gz: 4663f5f415af57f308fbc5480ec6480638788be334731ccb988668d32fceb15fb0ae44ea535365a987f80d36526bd6bb61db494287844f1f0b3d979179e964ee
7
- data.tar.gz: 55a2665ef1b9fe4f08979ca856e8539628e510628009a5b089dfc4abd9e522c5264ab0627796a27ef4b396f4844ec615f57859ab296080b1b6a11cf81557cffe
6
+ metadata.gz: 29c745d3d62becbbb1a17992e537a0e4c3367316541b6e4b8685aafa5af26ce9d34a79c380c2a5abef262f687a6dc76b2c507ba955df21e3830c756fe53d10b9
7
+ data.tar.gz: 763fc50355113f8c53de5a5b917676a693b054f4eb6b563f428abcd0fe1564b4b9547c0fa03c866d2acc65054225e7e7b91715b74c45b2b0ec2542af76b1de6b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.777
1
+ 3.0.779
@@ -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.