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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180328/client.rb +24 -0
- data/lib/v20180328/models.rb +196 -144
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d17ebd2666147a42645fc28579d7749618298cfb
|
4
|
+
data.tar.gz: df3dca09a20a8a6c4a0fe988f5cf832388e96937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29c745d3d62becbbb1a17992e537a0e4c3367316541b6e4b8685aafa5af26ce9d34a79c380c2a5abef262f687a6dc76b2c507ba955df21e3830c756fe53d10b9
|
7
|
+
data.tar.gz: 763fc50355113f8c53de5a5b917676a693b054f4eb6b563f428abcd0fe1564b4b9547c0fa03c866d2acc65054225e7e7b91715b74c45b2b0ec2542af76b1de6b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.779
|
data/lib/v20180328/client.rb
CHANGED
@@ -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.
|