tencentcloud-sdk-sqlserver 3.0.707 → 3.0.708

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: b558dbdc59868f8d9ce94ba02cfa2650bf21d8b1
4
- data.tar.gz: a1f571abae5d2f45f6bc6328d48990ece7a0c9b6
3
+ metadata.gz: 502756e735a1ece5884464dab7d27655b231e568
4
+ data.tar.gz: 54396c2f22e21846e7d61552d9934ed5d86fe2be
5
5
  SHA512:
6
- metadata.gz: 7c8d3b1b5e83968caf64260c8fe1a6e3fb38d18e152175ef7156e5bc9cdc375045ad2e5b10f7360c406adfb19ef917fe0b7a993ac3a4fea08c22f79453b034f8
7
- data.tar.gz: c56395e5c3f51bf0860dfa05cd555a1d675a34e7d5727a6ae443e979e141e10628845ab0b9490f24aff2e707b63f9228e84f506dc1be7bff7bb4edca8f31b571
6
+ metadata.gz: ba127b59d177c6a75a34d93ce6835d64448e5710f3b63eec609959cb5dded7ce549cf7922293779d84d241b2eea56083200977048d3a7f8e1c0826cbb30e6925
7
+ data.tar.gz: b677f33eafaf8d9b61049cfb8575f757abd661b43d570686d5cce7dd6a5afa290d826c86bf496bea2d0bc2e23dc41925655fb66741326d6b3e9715b7c85b6f58
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.707
1
+ 3.0.708
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 本接口(BalanceReadOnlyGroup)用于根据预定义的权重平衡每个只读实例的路由权重。预定义权重可根据接口DescribeReadOnlyGroupAutoWeight查询。
57
+
58
+ # @param request: Request instance for BalanceReadOnlyGroup.
59
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::BalanceReadOnlyGroupRequest`
60
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::BalanceReadOnlyGroupResponse`
61
+ def BalanceReadOnlyGroup(request)
62
+ body = send_request('BalanceReadOnlyGroup', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = BalanceReadOnlyGroupResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 本接口(CloneDB)用于克隆数据库,只支持克隆到本实例,克隆时必须指定新库名称。
57
81
 
58
82
  # @param request: Request instance for CloneDB.
@@ -677,6 +701,54 @@ module TencentCloud
677
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
702
  end
679
703
 
704
+ # 本接口(DeleteRestoreTask)用于删除回档任务记录。
705
+
706
+ # @param request: Request instance for DeleteRestoreTask.
707
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DeleteRestoreTaskRequest`
708
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DeleteRestoreTaskResponse`
709
+ def DeleteRestoreTask(request)
710
+ body = send_request('DeleteRestoreTask', request.serialize)
711
+ response = JSON.parse(body)
712
+ if response['Response'].key?('Error') == false
713
+ model = DeleteRestoreTaskResponse.new
714
+ model.deserialize(response['Response'])
715
+ model
716
+ else
717
+ code = response['Response']['Error']['Code']
718
+ message = response['Response']['Error']['Message']
719
+ reqid = response['Response']['RequestId']
720
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
721
+ end
722
+ rescue TencentCloud::Common::TencentCloudSDKException => e
723
+ raise e
724
+ rescue StandardError => e
725
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
+ end
727
+
728
+ # 本接口(DescribeAccountPrivilegeByDB)用于查询数据库关联的账号和权限信息
729
+
730
+ # @param request: Request instance for DescribeAccountPrivilegeByDB.
731
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeAccountPrivilegeByDBRequest`
732
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeAccountPrivilegeByDBResponse`
733
+ def DescribeAccountPrivilegeByDB(request)
734
+ body = send_request('DescribeAccountPrivilegeByDB', request.serialize)
735
+ response = JSON.parse(body)
736
+ if response['Response'].key?('Error') == false
737
+ model = DescribeAccountPrivilegeByDBResponse.new
738
+ model.deserialize(response['Response'])
739
+ model
740
+ else
741
+ code = response['Response']['Error']['Code']
742
+ message = response['Response']['Error']['Message']
743
+ reqid = response['Response']['RequestId']
744
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
745
+ end
746
+ rescue TencentCloud::Common::TencentCloudSDKException => e
747
+ raise e
748
+ rescue StandardError => e
749
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
+ end
751
+
680
752
  # 本接口(DescribeAccounts)用于拉取实例账户列表。
681
753
 
682
754
  # @param request: Request instance for DescribeAccounts.
@@ -941,6 +1013,30 @@ module TencentCloud
941
1013
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
1014
  end
943
1015
 
1016
+ # 本接口(DescribeCollationTimeZone)用于查询实例支持的字符集和时区。
1017
+
1018
+ # @param request: Request instance for DescribeCollationTimeZone.
1019
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeCollationTimeZoneRequest`
1020
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeCollationTimeZoneResponse`
1021
+ def DescribeCollationTimeZone(request)
1022
+ body = send_request('DescribeCollationTimeZone', request.serialize)
1023
+ response = JSON.parse(body)
1024
+ if response['Response'].key?('Error') == false
1025
+ model = DescribeCollationTimeZoneResponse.new
1026
+ model.deserialize(response['Response'])
1027
+ model
1028
+ else
1029
+ code = response['Response']['Error']['Code']
1030
+ message = response['Response']['Error']['Message']
1031
+ reqid = response['Response']['RequestId']
1032
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1033
+ end
1034
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1035
+ raise e
1036
+ rescue StandardError => e
1037
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
+ end
1039
+
944
1040
  # 本接口(DescribeCrossBackupStatistical)用于查询跨地域备份实时统计列表。
945
1041
 
946
1042
  # @param request: Request instance for DescribeCrossBackupStatistical.
@@ -989,6 +1085,30 @@ module TencentCloud
989
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
1086
  end
991
1087
 
1088
+ # 本接口(DescribeCrossRegions)用于查询跨地域备份的目标地域。
1089
+
1090
+ # @param request: Request instance for DescribeCrossRegions.
1091
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeCrossRegionsRequest`
1092
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeCrossRegionsResponse`
1093
+ def DescribeCrossRegions(request)
1094
+ body = send_request('DescribeCrossRegions', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = DescribeCrossRegionsResponse.new
1098
+ model.deserialize(response['Response'])
1099
+ model
1100
+ else
1101
+ code = response['Response']['Error']['Code']
1102
+ message = response['Response']['Error']['Message']
1103
+ reqid = response['Response']['RequestId']
1104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
+ end
1106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1107
+ raise e
1108
+ rescue StandardError => e
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
+ end
1111
+
992
1112
  # 本接口(DescribeDBCharsets)用于查询实例支持的数据库字符集。
993
1113
 
994
1114
  # @param request: Request instance for DescribeDBCharsets.
@@ -1085,6 +1205,54 @@ module TencentCloud
1085
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
1206
  end
1087
1207
 
1208
+ # 本接口(DescribeDBPrivilegeByAccount)用于查询账号关联的数据库和权限信息
1209
+
1210
+ # @param request: Request instance for DescribeDBPrivilegeByAccount.
1211
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeDBPrivilegeByAccountRequest`
1212
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeDBPrivilegeByAccountResponse`
1213
+ def DescribeDBPrivilegeByAccount(request)
1214
+ body = send_request('DescribeDBPrivilegeByAccount', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = DescribeDBPrivilegeByAccountResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1232
+ # 本接口(DescribeDBRestoreTime)用于查询可回档的数据库
1233
+
1234
+ # @param request: Request instance for DescribeDBRestoreTime.
1235
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeDBRestoreTimeRequest`
1236
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeDBRestoreTimeResponse`
1237
+ def DescribeDBRestoreTime(request)
1238
+ body = send_request('DescribeDBRestoreTime', request.serialize)
1239
+ response = JSON.parse(body)
1240
+ if response['Response'].key?('Error') == false
1241
+ model = DescribeDBRestoreTimeResponse.new
1242
+ model.deserialize(response['Response'])
1243
+ model
1244
+ else
1245
+ code = response['Response']['Error']['Code']
1246
+ message = response['Response']['Error']['Message']
1247
+ reqid = response['Response']['RequestId']
1248
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1249
+ end
1250
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1251
+ raise e
1252
+ rescue StandardError => e
1253
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
+ end
1255
+
1088
1256
  # 本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。
1089
1257
 
1090
1258
  # @param request: Request instance for DescribeDBSecurityGroups.
@@ -1157,6 +1325,30 @@ module TencentCloud
1157
1325
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1326
  end
1159
1327
 
1328
+ # 本接口(DescribeDatabaseNames)查询账户关联的数据库名称。
1329
+
1330
+ # @param request: Request instance for DescribeDatabaseNames.
1331
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeDatabaseNamesRequest`
1332
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeDatabaseNamesResponse`
1333
+ def DescribeDatabaseNames(request)
1334
+ body = send_request('DescribeDatabaseNames', request.serialize)
1335
+ response = JSON.parse(body)
1336
+ if response['Response'].key?('Error') == false
1337
+ model = DescribeDatabaseNamesResponse.new
1338
+ model.deserialize(response['Response'])
1339
+ model
1340
+ else
1341
+ code = response['Response']['Error']['Code']
1342
+ message = response['Response']['Error']['Message']
1343
+ reqid = response['Response']['RequestId']
1344
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1345
+ end
1346
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1347
+ raise e
1348
+ rescue StandardError => e
1349
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
+ end
1351
+
1160
1352
  # 本接口(DescribeDatabases)用于查询数据库列表。
1161
1353
 
1162
1354
  # @param request: Request instance for DescribeDatabases.
@@ -1277,6 +1469,30 @@ module TencentCloud
1277
1469
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
1470
  end
1279
1471
 
1472
+ # 本接口(DescribeInquiryPriceParameter)用于查询实例询价计费参数。当前接口查询实例新购的计费参数。内部接口用于活动页售卖场景。
1473
+
1474
+ # @param request: Request instance for DescribeInquiryPriceParameter.
1475
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeInquiryPriceParameterRequest`
1476
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeInquiryPriceParameterResponse`
1477
+ def DescribeInquiryPriceParameter(request)
1478
+ body = send_request('DescribeInquiryPriceParameter', request.serialize)
1479
+ response = JSON.parse(body)
1480
+ if response['Response'].key?('Error') == false
1481
+ model = DescribeInquiryPriceParameterResponse.new
1482
+ model.deserialize(response['Response'])
1483
+ model
1484
+ else
1485
+ code = response['Response']['Error']['Code']
1486
+ message = response['Response']['Error']['Message']
1487
+ reqid = response['Response']['RequestId']
1488
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1489
+ end
1490
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1491
+ raise e
1492
+ rescue StandardError => e
1493
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1494
+ end
1495
+
1280
1496
  # 本接口(DescribeInstanceByOrders)用于根据订单号查询资源ID
1281
1497
 
1282
1498
  # @param request: Request instance for DescribeInstanceByOrders.
@@ -1349,6 +1565,54 @@ module TencentCloud
1349
1565
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
1566
  end
1351
1567
 
1568
+ # 本接口(DescribeInstanceTasks)用于查询实例相关的异步任务列表。
1569
+
1570
+ # @param request: Request instance for DescribeInstanceTasks.
1571
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeInstanceTasksRequest`
1572
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeInstanceTasksResponse`
1573
+ def DescribeInstanceTasks(request)
1574
+ body = send_request('DescribeInstanceTasks', request.serialize)
1575
+ response = JSON.parse(body)
1576
+ if response['Response'].key?('Error') == false
1577
+ model = DescribeInstanceTasksResponse.new
1578
+ model.deserialize(response['Response'])
1579
+ model
1580
+ else
1581
+ code = response['Response']['Error']['Code']
1582
+ message = response['Response']['Error']['Message']
1583
+ reqid = response['Response']['RequestId']
1584
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1585
+ end
1586
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1587
+ raise e
1588
+ rescue StandardError => e
1589
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1590
+ end
1591
+
1592
+ # 本接口(DescribeInstanceTradeParameter)用于查询实例的计费参数,当前接口默认返回创建实例时需要的计费参数。内部接口用于活动页售卖场景。
1593
+
1594
+ # @param request: Request instance for DescribeInstanceTradeParameter.
1595
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeInstanceTradeParameterRequest`
1596
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeInstanceTradeParameterResponse`
1597
+ def DescribeInstanceTradeParameter(request)
1598
+ body = send_request('DescribeInstanceTradeParameter', request.serialize)
1599
+ response = JSON.parse(body)
1600
+ if response['Response'].key?('Error') == false
1601
+ model = DescribeInstanceTradeParameterResponse.new
1602
+ model.deserialize(response['Response'])
1603
+ model
1604
+ else
1605
+ code = response['Response']['Error']['Code']
1606
+ message = response['Response']['Error']['Message']
1607
+ reqid = response['Response']['RequestId']
1608
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1609
+ end
1610
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1611
+ raise e
1612
+ rescue StandardError => e
1613
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1614
+ end
1615
+
1352
1616
  # 本接口(DescribeMaintenanceSpan)根据实例ID查询该实例的可维护时间窗。
1353
1617
 
1354
1618
  # @param request: Request instance for DescribeMaintenanceSpan.
@@ -1493,6 +1757,30 @@ module TencentCloud
1493
1757
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1494
1758
  end
1495
1759
 
1760
+ # 本接口 (DescribeProductSpec) 用于查询全地域售卖规格配置(内部前端使用不公开)
1761
+
1762
+ # @param request: Request instance for DescribeProductSpec.
1763
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeProductSpecRequest`
1764
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeProductSpecResponse`
1765
+ def DescribeProductSpec(request)
1766
+ body = send_request('DescribeProductSpec', request.serialize)
1767
+ response = JSON.parse(body)
1768
+ if response['Response'].key?('Error') == false
1769
+ model = DescribeProductSpecResponse.new
1770
+ model.deserialize(response['Response'])
1771
+ model
1772
+ else
1773
+ code = response['Response']['Error']['Code']
1774
+ message = response['Response']['Error']['Message']
1775
+ reqid = response['Response']['RequestId']
1776
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1777
+ end
1778
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1779
+ raise e
1780
+ rescue StandardError => e
1781
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
+ end
1783
+
1496
1784
  # 本接口(DescribeProjectSecurityGroups)用于查询项目的安全组详情。
1497
1785
 
1498
1786
  # @param request: Request instance for DescribeProjectSecurityGroups.
@@ -1541,6 +1829,30 @@ module TencentCloud
1541
1829
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
1830
  end
1543
1831
 
1832
+ # 本接口(DescribeReadOnlyGroupAutoWeight)用于查询只读组的自动权重分配结果,在接口BalanceReadOnlyGroup接口中按照自动权重分配结果进行路由权重分配。
1833
+
1834
+ # @param request: Request instance for DescribeReadOnlyGroupAutoWeight.
1835
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeReadOnlyGroupAutoWeightRequest`
1836
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeReadOnlyGroupAutoWeightResponse`
1837
+ def DescribeReadOnlyGroupAutoWeight(request)
1838
+ body = send_request('DescribeReadOnlyGroupAutoWeight', request.serialize)
1839
+ response = JSON.parse(body)
1840
+ if response['Response'].key?('Error') == false
1841
+ model = DescribeReadOnlyGroupAutoWeightResponse.new
1842
+ model.deserialize(response['Response'])
1843
+ model
1844
+ else
1845
+ code = response['Response']['Error']['Code']
1846
+ message = response['Response']['Error']['Message']
1847
+ reqid = response['Response']['RequestId']
1848
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1849
+ end
1850
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1851
+ raise e
1852
+ rescue StandardError => e
1853
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1854
+ end
1855
+
1544
1856
  # 本接口(DescribeReadOnlyGroupByReadOnlyInstance)用于通过只读副本实例ID查询其所在的只读组。
1545
1857
 
1546
1858
  # @param request: Request instance for DescribeReadOnlyGroupByReadOnlyInstance.
@@ -1661,6 +1973,30 @@ module TencentCloud
1661
1973
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1662
1974
  end
1663
1975
 
1976
+ # 本接口(DescribeRestoreTask)用于查询回档任务列表。
1977
+
1978
+ # @param request: Request instance for DescribeRestoreTask.
1979
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeRestoreTaskRequest`
1980
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeRestoreTaskResponse`
1981
+ def DescribeRestoreTask(request)
1982
+ body = send_request('DescribeRestoreTask', request.serialize)
1983
+ response = JSON.parse(body)
1984
+ if response['Response'].key?('Error') == false
1985
+ model = DescribeRestoreTaskResponse.new
1986
+ model.deserialize(response['Response'])
1987
+ model
1988
+ else
1989
+ code = response['Response']['Error']['Code']
1990
+ message = response['Response']['Error']['Message']
1991
+ reqid = response['Response']['RequestId']
1992
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1993
+ end
1994
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1995
+ raise e
1996
+ rescue StandardError => e
1997
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1998
+ end
1999
+
1664
2000
  # 本接口(DescribeRollbackTime)用于查询实例可回档时间范围
1665
2001
 
1666
2002
  # @param request: Request instance for DescribeRollbackTime.
@@ -1709,6 +2045,54 @@ module TencentCloud
1709
2045
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1710
2046
  end
1711
2047
 
2048
+ # 本接口(DescribeSpecSellStatus)用于查询售卖规格状态信息,其中包括售卖状态,参考价格等(实际价格以询价接口为准)。
2049
+
2050
+ # @param request: Request instance for DescribeSpecSellStatus.
2051
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeSpecSellStatusRequest`
2052
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeSpecSellStatusResponse`
2053
+ def DescribeSpecSellStatus(request)
2054
+ body = send_request('DescribeSpecSellStatus', request.serialize)
2055
+ response = JSON.parse(body)
2056
+ if response['Response'].key?('Error') == false
2057
+ model = DescribeSpecSellStatusResponse.new
2058
+ model.deserialize(response['Response'])
2059
+ model
2060
+ else
2061
+ code = response['Response']['Error']['Code']
2062
+ message = response['Response']['Error']['Message']
2063
+ reqid = response['Response']['RequestId']
2064
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2065
+ end
2066
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2067
+ raise e
2068
+ rescue StandardError => e
2069
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2070
+ end
2071
+
2072
+ # 本接口(DescribeUpgradeInstanceCheck)用于在实例变配前,预检查实例变配的影响情况等。
2073
+
2074
+ # @param request: Request instance for DescribeUpgradeInstanceCheck.
2075
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeUpgradeInstanceCheckRequest`
2076
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeUpgradeInstanceCheckResponse`
2077
+ def DescribeUpgradeInstanceCheck(request)
2078
+ body = send_request('DescribeUpgradeInstanceCheck', request.serialize)
2079
+ response = JSON.parse(body)
2080
+ if response['Response'].key?('Error') == false
2081
+ model = DescribeUpgradeInstanceCheckResponse.new
2082
+ model.deserialize(response['Response'])
2083
+ model
2084
+ else
2085
+ code = response['Response']['Error']['Code']
2086
+ message = response['Response']['Error']['Message']
2087
+ reqid = response['Response']['RequestId']
2088
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2089
+ end
2090
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2091
+ raise e
2092
+ rescue StandardError => e
2093
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2094
+ end
2095
+
1712
2096
  # 本接口(DescribeUploadBackupInfo)用于查询备份上传权限。
1713
2097
 
1714
2098
  # @param request: Request instance for DescribeUploadBackupInfo.
@@ -2021,6 +2405,30 @@ module TencentCloud
2021
2405
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2022
2406
  end
2023
2407
 
2408
+ # 本接口(ModifyCloseWanIp)用于关闭实例外网。
2409
+
2410
+ # @param request: Request instance for ModifyCloseWanIp.
2411
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyCloseWanIpRequest`
2412
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyCloseWanIpResponse`
2413
+ def ModifyCloseWanIp(request)
2414
+ body = send_request('ModifyCloseWanIp', request.serialize)
2415
+ response = JSON.parse(body)
2416
+ if response['Response'].key?('Error') == false
2417
+ model = ModifyCloseWanIpResponse.new
2418
+ model.deserialize(response['Response'])
2419
+ model
2420
+ else
2421
+ code = response['Response']['Error']['Code']
2422
+ message = response['Response']['Error']['Message']
2423
+ reqid = response['Response']['RequestId']
2424
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2425
+ end
2426
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2427
+ raise e
2428
+ rescue StandardError => e
2429
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2430
+ end
2431
+
2024
2432
  # 本接口(ModifyCrossBackupStrategy)用于开启、关闭地域备份策略。
2025
2433
 
2026
2434
  # @param request: Request instance for ModifyCrossBackupStrategy.
@@ -2117,6 +2525,30 @@ module TencentCloud
2117
2525
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2118
2526
  end
2119
2527
 
2528
+ # 本接口(ModifyDBInstanceNote)用于修改实例备注信息。
2529
+
2530
+ # @param request: Request instance for ModifyDBInstanceNote.
2531
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyDBInstanceNoteRequest`
2532
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyDBInstanceNoteResponse`
2533
+ def ModifyDBInstanceNote(request)
2534
+ body = send_request('ModifyDBInstanceNote', request.serialize)
2535
+ response = JSON.parse(body)
2536
+ if response['Response'].key?('Error') == false
2537
+ model = ModifyDBInstanceNoteResponse.new
2538
+ model.deserialize(response['Response'])
2539
+ model
2540
+ else
2541
+ code = response['Response']['Error']['Code']
2542
+ message = response['Response']['Error']['Message']
2543
+ reqid = response['Response']['RequestId']
2544
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2545
+ end
2546
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2547
+ raise e
2548
+ rescue StandardError => e
2549
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2550
+ end
2551
+
2120
2552
  # 本接口(ModifyDBInstanceProject)用于修改数据库实例所属项目。
2121
2553
 
2122
2554
  # @param request: Request instance for ModifyDBInstanceProject.
@@ -2455,6 +2887,54 @@ module TencentCloud
2455
2887
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2456
2888
  end
2457
2889
 
2890
+ # 本接口(ModifyOpenWanIp)用于开通实例外网。
2891
+
2892
+ # @param request: Request instance for ModifyOpenWanIp.
2893
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyOpenWanIpRequest`
2894
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyOpenWanIpResponse`
2895
+ def ModifyOpenWanIp(request)
2896
+ body = send_request('ModifyOpenWanIp', request.serialize)
2897
+ response = JSON.parse(body)
2898
+ if response['Response'].key?('Error') == false
2899
+ model = ModifyOpenWanIpResponse.new
2900
+ model.deserialize(response['Response'])
2901
+ model
2902
+ else
2903
+ code = response['Response']['Error']['Code']
2904
+ message = response['Response']['Error']['Message']
2905
+ reqid = response['Response']['RequestId']
2906
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2907
+ end
2908
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2909
+ raise e
2910
+ rescue StandardError => e
2911
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2912
+ end
2913
+
2914
+ # 本接口(ModifyPublishSubscribe)用于修改实例的发布订阅关系。
2915
+
2916
+ # @param request: Request instance for ModifyPublishSubscribe.
2917
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyPublishSubscribeRequest`
2918
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyPublishSubscribeResponse`
2919
+ def ModifyPublishSubscribe(request)
2920
+ body = send_request('ModifyPublishSubscribe', request.serialize)
2921
+ response = JSON.parse(body)
2922
+ if response['Response'].key?('Error') == false
2923
+ model = ModifyPublishSubscribeResponse.new
2924
+ model.deserialize(response['Response'])
2925
+ model
2926
+ else
2927
+ code = response['Response']['Error']['Code']
2928
+ message = response['Response']['Error']['Message']
2929
+ reqid = response['Response']['RequestId']
2930
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2931
+ end
2932
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2933
+ raise e
2934
+ rescue StandardError => e
2935
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2936
+ end
2937
+
2458
2938
  # 本接口(ModifyPublishSubscribeName)修改发布订阅的名称。
2459
2939
 
2460
2940
  # @param request: Request instance for ModifyPublishSubscribeName.