tencentcloud-sdk-nodejs-intl-en 3.0.533 → 3.0.535

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.533",
3
+ "version": "3.0.535",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,6 +16,7 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
+ const VoucherInfos = models.VoucherInfos;
19
20
  const UsageDetails = models.UsageDetails;
20
21
  const DescribeBillSummaryByTagResponse = models.DescribeBillSummaryByTagResponse;
21
22
  const DescribeBillSummaryByPayModeResponse = models.DescribeBillSummaryByPayModeResponse;
@@ -25,9 +26,10 @@ const DescribeBillSummaryByProductResponse = models.DescribeBillSummaryByProduct
25
26
  const BillTagInfo = models.BillTagInfo;
26
27
  const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
27
28
  const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
29
+ const DescribeAccountBalanceRequest = models.DescribeAccountBalanceRequest;
28
30
  const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
29
31
  const DescribeVoucherInfoResponse = models.DescribeVoucherInfoResponse;
30
- const VoucherInfos = models.VoucherInfos;
32
+ const DescribeAccountBalanceResponse = models.DescribeAccountBalanceResponse;
31
33
  const BusinessSummaryOverviewItem = models.BusinessSummaryOverviewItem;
32
34
  const BillDetailComponent = models.BillDetailComponent;
33
35
  const DescribeBillSummaryByRegionRequest = models.DescribeBillSummaryByRegionRequest;
@@ -63,6 +65,17 @@ class BillingClient extends AbstractClient {
63
65
  super("billing.tencentcloudapi.com", "2018-07-09", credential, region, profile);
64
66
  }
65
67
 
68
+ /**
69
+ * This API is used to check the Tencent Cloud account balance.
70
+ * @param {DescribeAccountBalanceRequest} req
71
+ * @param {function(string, DescribeAccountBalanceResponse):void} cb
72
+ * @public
73
+ */
74
+ DescribeAccountBalance(req, cb) {
75
+ let resp = new DescribeAccountBalanceResponse();
76
+ this.request("DescribeAccountBalance", req, resp, cb);
77
+ }
78
+
66
79
  /**
67
80
  * This API is used to query vouchers.
68
81
  * @param {DescribeVoucherInfoRequest} req
@@ -16,6 +16,119 @@
16
16
  */
17
17
  const AbstractModel = require("../../common/abstract_model");
18
18
 
19
+ /**
20
+ * Voucher information.
21
+ * @class
22
+ */
23
+ class VoucherInfos extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * The owner of the voucher.
29
+ * @type {string || null}
30
+ */
31
+ this.OwnerUin = null;
32
+
33
+ /**
34
+ * The status of the voucher: `unUsed`, `used`, `delivered`, `cancel`, `overdue`
35
+ * @type {string || null}
36
+ */
37
+ this.Status = null;
38
+
39
+ /**
40
+ * The value of the voucher. The value of this parameter is the voucher value (USD, rounded to 8 decimal places) multiplied by 100,000,000.
41
+ * @type {number || null}
42
+ */
43
+ this.NominalValue = null;
44
+
45
+ /**
46
+ * The balance left. The value of this parameter is the balance left (USD, rounded to 8 decimal places) multiplied by 100,000,000.
47
+ * @type {number || null}
48
+ */
49
+ this.Balance = null;
50
+
51
+ /**
52
+ * The voucher ID.
53
+ * @type {string || null}
54
+ */
55
+ this.VoucherId = null;
56
+
57
+ /**
58
+ * `postPay`: pay-as-you-go; `prePay`: prepaid; `riPay`: reserved instance; empty or `*`: all.
59
+ * @type {string || null}
60
+ */
61
+ this.PayMode = null;
62
+
63
+ /**
64
+ * If `PayMode` is `postPay`, this parameter may be `spotpay` (spot instance) or `settle account` (regular pay-as-you-go). If `PayMode` is `prePay`, this parameter may be `purchase`, `renew`, or `modify` (downgrade/upgrade). If `PayMode` is `riPay`, this parameter may be `oneOffFee` (prepayment of reserved instance) or `hourlyFee` (hourly billing of reserved instance). `*` means to query vouchers that support all billing scenarios.
65
+ * @type {string || null}
66
+ */
67
+ this.PayScene = null;
68
+
69
+ /**
70
+ * The start time of the validity period.
71
+ * @type {string || null}
72
+ */
73
+ this.BeginTime = null;
74
+
75
+ /**
76
+ * The end time of the validity period.
77
+ * @type {string || null}
78
+ */
79
+ this.EndTime = null;
80
+
81
+ /**
82
+ * The products that are applicable.
83
+ Note: This field may return `null`, indicating that no valid value was found.
84
+ * @type {ApplicableProducts || null}
85
+ */
86
+ this.ApplicableProducts = null;
87
+
88
+ /**
89
+ * The products that are not applicable.
90
+ Note: This field may return `null`, indicating that no valid value was found.
91
+ * @type {Array.<ExcludedProducts> || null}
92
+ */
93
+ this.ExcludedProducts = null;
94
+
95
+ }
96
+
97
+ /**
98
+ * @private
99
+ */
100
+ deserialize(params) {
101
+ if (!params) {
102
+ return;
103
+ }
104
+ this.OwnerUin = 'OwnerUin' in params ? params.OwnerUin : null;
105
+ this.Status = 'Status' in params ? params.Status : null;
106
+ this.NominalValue = 'NominalValue' in params ? params.NominalValue : null;
107
+ this.Balance = 'Balance' in params ? params.Balance : null;
108
+ this.VoucherId = 'VoucherId' in params ? params.VoucherId : null;
109
+ this.PayMode = 'PayMode' in params ? params.PayMode : null;
110
+ this.PayScene = 'PayScene' in params ? params.PayScene : null;
111
+ this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
112
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
113
+
114
+ if (params.ApplicableProducts) {
115
+ let obj = new ApplicableProducts();
116
+ obj.deserialize(params.ApplicableProducts)
117
+ this.ApplicableProducts = obj;
118
+ }
119
+
120
+ if (params.ExcludedProducts) {
121
+ this.ExcludedProducts = new Array();
122
+ for (let z in params.ExcludedProducts) {
123
+ let obj = new ExcludedProducts();
124
+ obj.deserialize(params.ExcludedProducts[z]);
125
+ this.ExcludedProducts.push(obj);
126
+ }
127
+ }
128
+
129
+ }
130
+ }
131
+
19
132
  /**
20
133
  * The product purchased.
21
134
  * @class
@@ -763,6 +876,27 @@ Note: This field may return null, indicating that no valid value was found.
763
876
  }
764
877
  }
765
878
 
879
+ /**
880
+ * DescribeAccountBalance request structure.
881
+ * @class
882
+ */
883
+ class DescribeAccountBalanceRequest extends AbstractModel {
884
+ constructor(){
885
+ super();
886
+
887
+ }
888
+
889
+ /**
890
+ * @private
891
+ */
892
+ deserialize(params) {
893
+ if (!params) {
894
+ return;
895
+ }
896
+
897
+ }
898
+ }
899
+
766
900
  /**
767
901
  * DescribeBillDetail request structure.
768
902
  * @class
@@ -956,80 +1090,96 @@ Note: This field may return `null`, indicating that no valid value was found.
956
1090
  }
957
1091
 
958
1092
  /**
959
- * Voucher information.
1093
+ * DescribeAccountBalance response structure.
960
1094
  * @class
961
1095
  */
962
- class VoucherInfos extends AbstractModel {
1096
+ class DescribeAccountBalanceResponse extends AbstractModel {
963
1097
  constructor(){
964
1098
  super();
965
1099
 
966
1100
  /**
967
- * The owner of the voucher.
968
- * @type {string || null}
1101
+ * Available account balance in cents, which takes the same calculation rules as `RealBalance`, `CreditBalance`, and `RealCreditBalance`.
1102
+ * @type {number || null}
969
1103
  */
970
- this.OwnerUin = null;
1104
+ this.Balance = null;
971
1105
 
972
1106
  /**
973
- * The status of the voucher: `unUsed`, `used`, `delivered`, `cancel`, `overdue`
974
- * @type {string || null}
1107
+ * The UIN to query.
1108
+ * @type {number || null}
975
1109
  */
976
- this.Status = null;
1110
+ this.Uin = null;
977
1111
 
978
1112
  /**
979
- * The value of the voucher. The value of this parameter is the voucher value (USD, rounded to 8 decimal places) multiplied by 100,000,000.
1113
+ * Available account balance in cents, which takes the same calculation rules as `Balance`, `CreditBalance`, and `RealCreditBalance`.
980
1114
  * @type {number || null}
981
1115
  */
982
- this.NominalValue = null;
1116
+ this.RealBalance = null;
983
1117
 
984
1118
  /**
985
- * The balance left. The value of this parameter is the balance left (USD, rounded to 8 decimal places) multiplied by 100,000,000.
1119
+ * Cash account balance in cents. Currently, this field is not applied.
986
1120
  * @type {number || null}
987
1121
  */
988
- this.Balance = null;
1122
+ this.CashAccountBalance = null;
989
1123
 
990
1124
  /**
991
- * The voucher ID.
992
- * @type {string || null}
1125
+ * Income account balance in cents. Currently, this field is not applied.
1126
+ * @type {number || null}
993
1127
  */
994
- this.VoucherId = null;
1128
+ this.IncomeIntoAccountBalance = null;
995
1129
 
996
1130
  /**
997
- * `postPay`: pay-as-you-go; `prePay`: prepaid; `riPay`: reserved instance; empty or `*`: all.
998
- * @type {string || null}
1131
+ * Present account balance in cents. Currently, this field is not applied.
1132
+ * @type {number || null}
999
1133
  */
1000
- this.PayMode = null;
1134
+ this.PresentAccountBalance = null;
1001
1135
 
1002
1136
  /**
1003
- * If `PayMode` is `postPay`, this parameter may be `spotpay` (spot instance) or `settle account` (regular pay-as-you-go). If `PayMode` is `prePay`, this parameter may be `purchase`, `renew`, or `modify` (downgrade/upgrade). If `PayMode` is `riPay`, this parameter may be `oneOffFee` (prepayment of reserved instance) or `hourlyFee` (hourly billing of reserved instance). `*` means to query vouchers that support all billing scenarios.
1004
- * @type {string || null}
1137
+ * Frozen amount in cents.
1138
+ * @type {number || null}
1005
1139
  */
1006
- this.PayScene = null;
1140
+ this.FreezeAmount = null;
1007
1141
 
1008
1142
  /**
1009
- * The start time of the validity period.
1010
- * @type {string || null}
1143
+ * Overdue amount in cents, which is when the available credit balance is negative.
1144
+ * @type {number || null}
1011
1145
  */
1012
- this.BeginTime = null;
1146
+ this.OweAmount = null;
1013
1147
 
1014
1148
  /**
1015
- * The end time of the validity period.
1016
- * @type {string || null}
1149
+ * Whether overdue payments are allowed. Currently, this field is not applied.
1150
+ * @type {boolean || null}
1017
1151
  */
1018
- this.EndTime = null;
1152
+ this.IsAllowArrears = null;
1019
1153
 
1020
1154
  /**
1021
- * The products that are applicable.
1022
- Note: This field may return `null`, indicating that no valid value was found.
1023
- * @type {ApplicableProducts || null}
1155
+ * Whether you have a credit limit. Currently, this field is not applied.
1156
+ * @type {boolean || null}
1024
1157
  */
1025
- this.ApplicableProducts = null;
1158
+ this.IsCreditLimited = null;
1026
1159
 
1027
1160
  /**
1028
- * The products that are not applicable.
1029
- Note: This field may return `null`, indicating that no valid value was found.
1030
- * @type {Array.<ExcludedProducts> || null}
1161
+ * Credit limit. Credit limit-available credit balance = consumption amount
1162
+ * @type {number || null}
1031
1163
  */
1032
- this.ExcludedProducts = null;
1164
+ this.CreditAmount = null;
1165
+
1166
+ /**
1167
+ * Available credit balance in cents, which takes the same calculation rules as `Balance`, `RealBalance`, and `RealCreditBalance`.
1168
+ * @type {number || null}
1169
+ */
1170
+ this.CreditBalance = null;
1171
+
1172
+ /**
1173
+ * Available account balance in cents, which takes the same calculation rules as `Balance`, `RealBalance`, and `CreditBalance`.
1174
+ * @type {number || null}
1175
+ */
1176
+ this.RealCreditBalance = null;
1177
+
1178
+ /**
1179
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1180
+ * @type {string || null}
1181
+ */
1182
+ this.RequestId = null;
1033
1183
 
1034
1184
  }
1035
1185
 
@@ -1040,30 +1190,20 @@ Note: This field may return `null`, indicating that no valid value was found.
1040
1190
  if (!params) {
1041
1191
  return;
1042
1192
  }
1043
- this.OwnerUin = 'OwnerUin' in params ? params.OwnerUin : null;
1044
- this.Status = 'Status' in params ? params.Status : null;
1045
- this.NominalValue = 'NominalValue' in params ? params.NominalValue : null;
1046
1193
  this.Balance = 'Balance' in params ? params.Balance : null;
1047
- this.VoucherId = 'VoucherId' in params ? params.VoucherId : null;
1048
- this.PayMode = 'PayMode' in params ? params.PayMode : null;
1049
- this.PayScene = 'PayScene' in params ? params.PayScene : null;
1050
- this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
1051
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
1052
-
1053
- if (params.ApplicableProducts) {
1054
- let obj = new ApplicableProducts();
1055
- obj.deserialize(params.ApplicableProducts)
1056
- this.ApplicableProducts = obj;
1057
- }
1058
-
1059
- if (params.ExcludedProducts) {
1060
- this.ExcludedProducts = new Array();
1061
- for (let z in params.ExcludedProducts) {
1062
- let obj = new ExcludedProducts();
1063
- obj.deserialize(params.ExcludedProducts[z]);
1064
- this.ExcludedProducts.push(obj);
1065
- }
1066
- }
1194
+ this.Uin = 'Uin' in params ? params.Uin : null;
1195
+ this.RealBalance = 'RealBalance' in params ? params.RealBalance : null;
1196
+ this.CashAccountBalance = 'CashAccountBalance' in params ? params.CashAccountBalance : null;
1197
+ this.IncomeIntoAccountBalance = 'IncomeIntoAccountBalance' in params ? params.IncomeIntoAccountBalance : null;
1198
+ this.PresentAccountBalance = 'PresentAccountBalance' in params ? params.PresentAccountBalance : null;
1199
+ this.FreezeAmount = 'FreezeAmount' in params ? params.FreezeAmount : null;
1200
+ this.OweAmount = 'OweAmount' in params ? params.OweAmount : null;
1201
+ this.IsAllowArrears = 'IsAllowArrears' in params ? params.IsAllowArrears : null;
1202
+ this.IsCreditLimited = 'IsCreditLimited' in params ? params.IsCreditLimited : null;
1203
+ this.CreditAmount = 'CreditAmount' in params ? params.CreditAmount : null;
1204
+ this.CreditBalance = 'CreditBalance' in params ? params.CreditBalance : null;
1205
+ this.RealCreditBalance = 'RealCreditBalance' in params ? params.RealCreditBalance : null;
1206
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1067
1207
 
1068
1208
  }
1069
1209
  }
@@ -2833,6 +2973,7 @@ class BusinessSummaryTotal extends AbstractModel {
2833
2973
  }
2834
2974
 
2835
2975
  module.exports = {
2976
+ VoucherInfos: VoucherInfos,
2836
2977
  UsageDetails: UsageDetails,
2837
2978
  DescribeBillSummaryByTagResponse: DescribeBillSummaryByTagResponse,
2838
2979
  DescribeBillSummaryByPayModeResponse: DescribeBillSummaryByPayModeResponse,
@@ -2842,9 +2983,10 @@ module.exports = {
2842
2983
  BillTagInfo: BillTagInfo,
2843
2984
  DescribeBillSummaryByRegionResponse: DescribeBillSummaryByRegionResponse,
2844
2985
  RegionSummaryOverviewItem: RegionSummaryOverviewItem,
2986
+ DescribeAccountBalanceRequest: DescribeAccountBalanceRequest,
2845
2987
  DescribeBillDetailRequest: DescribeBillDetailRequest,
2846
2988
  DescribeVoucherInfoResponse: DescribeVoucherInfoResponse,
2847
- VoucherInfos: VoucherInfos,
2989
+ DescribeAccountBalanceResponse: DescribeAccountBalanceResponse,
2848
2990
  BusinessSummaryOverviewItem: BusinessSummaryOverviewItem,
2849
2991
  BillDetailComponent: BillDetailComponent,
2850
2992
  DescribeBillSummaryByRegionRequest: DescribeBillSummaryByRegionRequest,
@@ -20,6 +20,7 @@ const ModifyInstanceTagResponse = models.ModifyInstanceTagResponse;
20
20
  const ModifyDBInstanceProjectResponse = models.ModifyDBInstanceProjectResponse;
21
21
  const DescribeProxyConnectionPoolConfRequest = models.DescribeProxyConnectionPoolConfRequest;
22
22
  const DeviceDiskInfo = models.DeviceDiskInfo;
23
+ const CdbZoneSellConf = models.CdbZoneSellConf;
23
24
  const DescribeAccountPrivilegesResponse = models.DescribeAccountPrivilegesResponse;
24
25
  const CreateDBImportJobRequest = models.CreateDBImportJobRequest;
25
26
  const DescribeDatabasesRequest = models.DescribeDatabasesRequest;
@@ -32,6 +33,7 @@ const DescribeUploadedFilesResponse = models.DescribeUploadedFilesResponse;
32
33
  const DescribeSlowLogDataResponse = models.DescribeSlowLogDataResponse;
33
34
  const StopDBImportJobResponse = models.StopDBImportJobResponse;
34
35
  const DescribeDBInstanceInfoResponse = models.DescribeDBInstanceInfoResponse;
36
+ const SlaveInstanceInfo = models.SlaveInstanceInfo;
35
37
  const DescribeErrorLogDataRequest = models.DescribeErrorLogDataRequest;
36
38
  const Parameter = models.Parameter;
37
39
  const DescribeDBInstanceRebootTimeRequest = models.DescribeDBInstanceRebootTimeRequest;
@@ -44,6 +46,7 @@ const CreateAccountsResponse = models.CreateAccountsResponse;
44
46
  const SwitchDBInstanceMasterSlaveResponse = models.SwitchDBInstanceMasterSlaveResponse;
45
47
  const InstanceRollbackRangeTime = models.InstanceRollbackRangeTime;
46
48
  const SqlFileInfo = models.SqlFileInfo;
49
+ const CdbSellType = models.CdbSellType;
47
50
  const DescribeProxyCustomConfRequest = models.DescribeProxyCustomConfRequest;
48
51
  const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse;
49
52
  const ApplyCDBProxyResponse = models.ApplyCDBProxyResponse;
@@ -83,6 +86,7 @@ const SwitchForUpgradeRequest = models.SwitchForUpgradeRequest;
83
86
  const ModifyBackupDownloadRestrictionRequest = models.ModifyBackupDownloadRestrictionRequest;
84
87
  const CreateParamTemplateResponse = models.CreateParamTemplateResponse;
85
88
  const CreateDBInstanceHourResponse = models.CreateDBInstanceHourResponse;
89
+ const DescribeCloneListResponse = models.DescribeCloneListResponse;
86
90
  const ModifyAccountMaxUserConnectionsRequest = models.ModifyAccountMaxUserConnectionsRequest;
87
91
  const ModifyAccountDescriptionRequest = models.ModifyAccountDescriptionRequest;
88
92
  const SlowLogItem = models.SlowLogItem;
@@ -120,6 +124,7 @@ const RollbackTableName = models.RollbackTableName;
120
124
  const DeleteBackupResponse = models.DeleteBackupResponse;
121
125
  const ModifyInstanceParamRequest = models.ModifyInstanceParamRequest;
122
126
  const DescribeProjectSecurityGroupsResponse = models.DescribeProjectSecurityGroupsResponse;
127
+ const CdbRegionSellConf = models.CdbRegionSellConf;
123
128
  const UploadInfo = models.UploadInfo;
124
129
  const ModifyLocalBinlogConfigResponse = models.ModifyLocalBinlogConfigResponse;
125
130
  const DescribeBackupSummariesRequest = models.DescribeBackupSummariesRequest;
@@ -158,7 +163,7 @@ const DescribeTimeWindowResponse = models.DescribeTimeWindowResponse;
158
163
  const OpenAuditServiceRequest = models.OpenAuditServiceRequest;
159
164
  const BackupItem = models.BackupItem;
160
165
  const ModifyCDBProxyVipVPortRequest = models.ModifyCDBProxyVipVPortRequest;
161
- const DescribeCDBProxyRequest = models.DescribeCDBProxyRequest;
166
+ const AuditFilter = models.AuditFilter;
162
167
  const DescribeBackupConfigResponse = models.DescribeBackupConfigResponse;
163
168
  const DescribeRollbackTaskDetailRequest = models.DescribeRollbackTaskDetailRequest;
164
169
  const TagInfoItem = models.TagInfoItem;
@@ -166,7 +171,7 @@ const ModifyDBInstanceSecurityGroupsRequest = models.ModifyDBInstanceSecurityGro
166
171
  const DescribeParamTemplatesResponse = models.DescribeParamTemplatesResponse;
167
172
  const DescribeRoMinScaleResponse = models.DescribeRoMinScaleResponse;
168
173
  const Outbound = models.Outbound;
169
- const SlaveInstanceInfo = models.SlaveInstanceInfo;
174
+ const CdbSellConfig = models.CdbSellConfig;
170
175
  const RoWeightValue = models.RoWeightValue;
171
176
  const ModifyParamTemplateResponse = models.ModifyParamTemplateResponse;
172
177
  const ParamInfo = models.ParamInfo;
@@ -181,6 +186,7 @@ const TagInfo = models.TagInfo;
181
186
  const ModifyCDBProxyVipVPortResponse = models.ModifyCDBProxyVipVPortResponse;
182
187
  const DescribeSupportedPrivilegesResponse = models.DescribeSupportedPrivilegesResponse;
183
188
  const CreateCloneInstanceResponse = models.CreateCloneInstanceResponse;
189
+ const DescribeCdbZoneConfigRequest = models.DescribeCdbZoneConfigRequest;
184
190
  const ModifyDBInstanceNameRequest = models.ModifyDBInstanceNameRequest;
185
191
  const TagInfoUnit = models.TagInfoUnit;
186
192
  const OpenDBInstanceGTIDRequest = models.OpenDBInstanceGTIDRequest;
@@ -220,6 +226,7 @@ const DeviceCpuInfo = models.DeviceCpuInfo;
220
226
  const AuditPolicy = models.AuditPolicy;
221
227
  const ModifyRoGroupInfoResponse = models.ModifyRoGroupInfoResponse;
222
228
  const DescribeDBInstanceConfigRequest = models.DescribeDBInstanceConfigRequest;
229
+ const CdbZoneDataResult = models.CdbZoneDataResult;
223
230
  const InstanceInfo = models.InstanceInfo;
224
231
  const OfflineIsolatedInstancesResponse = models.OfflineIsolatedInstancesResponse;
225
232
  const DatabasePrivilege = models.DatabasePrivilege;
@@ -229,6 +236,7 @@ const DescribeProxyCustomConfResponse = models.DescribeProxyCustomConfResponse;
229
236
  const ModifyDBInstanceSecurityGroupsResponse = models.ModifyDBInstanceSecurityGroupsResponse;
230
237
  const UpgradeCDBProxyVersionResponse = models.UpgradeCDBProxyVersionResponse;
231
238
  const RoVipInfo = models.RoVipInfo;
239
+ const DescribeCdbZoneConfigResponse = models.DescribeCdbZoneConfigResponse;
232
240
  const ModifyDBInstanceNameResponse = models.ModifyDBInstanceNameResponse;
233
241
  const DescribeBackupDownloadRestrictionResponse = models.DescribeBackupDownloadRestrictionResponse;
234
242
  const ModifyAccountPasswordRequest = models.ModifyAccountPasswordRequest;
@@ -240,7 +248,7 @@ const ModifyInstancePasswordComplexityRequest = models.ModifyInstancePasswordCom
240
248
  const UpgradeDBInstanceRequest = models.UpgradeDBInstanceRequest;
241
249
  const DescribeDatabasesResponse = models.DescribeDatabasesResponse;
242
250
  const ModifyParamTemplateRequest = models.ModifyParamTemplateRequest;
243
- const DescribeCloneListResponse = models.DescribeCloneListResponse;
251
+ const AddTimeWindowResponse = models.AddTimeWindowResponse;
244
252
  const DescribeRoGroupsResponse = models.DescribeRoGroupsResponse;
245
253
  const DescribeAuditRulesResponse = models.DescribeAuditRulesResponse;
246
254
  const BaseGroupInfo = models.BaseGroupInfo;
@@ -295,10 +303,10 @@ const ModifyDBInstanceProjectRequest = models.ModifyDBInstanceProjectRequest;
295
303
  const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsRequest;
296
304
  const DeleteAccountsRequest = models.DeleteAccountsRequest;
297
305
  const SwitchDrInstanceToMasterResponse = models.SwitchDrInstanceToMasterResponse;
298
- const Rule = models.Rule;
299
- const AuditFilter = models.AuditFilter;
306
+ const ZoneConf = models.ZoneConf;
307
+ const DescribeCDBProxyRequest = models.DescribeCDBProxyRequest;
300
308
  const DescribeAccountPrivilegesRequest = models.DescribeAccountPrivilegesRequest;
301
- const AddTimeWindowResponse = models.AddTimeWindowResponse;
309
+ const Rule = models.Rule;
302
310
  const DescribeAccountsResponse = models.DescribeAccountsResponse;
303
311
  const RollbackTimeRange = models.RollbackTimeRange;
304
312
  const StopRollbackRequest = models.StopRollbackRequest;
@@ -472,6 +480,17 @@ Note:
472
480
  this.request("ModifyDBInstanceName", req, resp, cb);
473
481
  }
474
482
 
483
+ /**
484
+ * This API is used to query the purchasable specifications of TencentDB instances in a region.
485
+ * @param {DescribeCdbZoneConfigRequest} req
486
+ * @param {function(string, DescribeCdbZoneConfigResponse):void} cb
487
+ * @public
488
+ */
489
+ DescribeCdbZoneConfig(req, cb) {
490
+ let resp = new DescribeCdbZoneConfigResponse();
491
+ this.request("DescribeCdbZoneConfig", req, resp, cb);
492
+ }
493
+
475
494
  /**
476
495
  * This API is used to cancel a rollback task in progress, and returns an async task ID. You can use the `DescribeAsyncRequestInfo` API to query the result of cancellation.
477
496
  * @param {StopRollbackRequest} req
@@ -1427,9 +1446,9 @@ Note: the HTTP response packet will be very large if it contain a single large s
1427
1446
  }
1428
1447
 
1429
1448
  /**
1430
- * This API (DescribeDBPrice) is used to query the prices of pay-as-you-go or monthly subscribed TencentDB instances by passing in information such as instance type, purchased duration, number of purchased instances, memory size, disk size, and AZ.
1449
+ * This API is used to query the purchase or renewal price of a pay-as-you-go or monthly subscribed TencentDB instance by passing in information such as instance type, purchase duration, number of instances to purchase, memory size, disk size, and AZ. For the price of instance renewal, you can pass in instance name to query.
1431
1450
 
1432
- Note: To query prices in a specific region, please use the access point of the region. For more information on access points, see <a href="https://cloud.tencent.com/document/api/236/15832">Service Addresses</a>. For example, to query prices in Guangzhou, send a request to: cdb.ap-guangzhou.tencentcloudapi.com. Likewise, to query prices in Shanghai, send a request to: cdb.ap-shanghai.tencentcloudapi.com.
1451
+ Note: To query prices in a specific region, you need to use the access point of the region. For more information on access points, see <a href="https://www.tencentcloud.com/document/product/236/15832">Service Address</a>. For example, to query prices in Guangzhou, send a request to: cdb.ap-guangzhou.tencentcloudapi.com. Likewise, to query prices in Shanghai, send a request to: cdb.ap-shanghai.tencentcloudapi.com.
1433
1452
  * @param {DescribeDBPriceRequest} req
1434
1453
  * @param {function(string, DescribeDBPriceResponse):void} cb
1435
1454
  * @public