tencentcloud-sdk-nodejs 4.0.423 → 4.0.424
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/CHANGELOG.md +204 -0
- package/SERVICE_CHANGELOG.md +300 -145
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +10 -0
- package/src/services/cdb/v20170320/cdb_models.ts +6 -6
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +84 -22
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +303 -57
- package/src/services/dcdb/v20180411/dcdb_models.ts +10 -0
- package/src/services/gaap/v20180529/gaap_client.ts +160 -37
- package/src/services/gaap/v20180529/gaap_models.ts +610 -179
- package/src/services/mmps/v20200710/mmps_models.ts +6 -0
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/oceanus/v20190422/oceanus_client.ts +12 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +20 -0
- package/src/services/tcr/v20190924/tcr_client.ts +246 -50
- package/src/services/tcr/v20190924/tcr_models.ts +946 -298
- package/src/services/vod/v20180717/vod_client.ts +49 -22
- package/src/services/vod/v20180717/vod_models.ts +169 -80
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +8 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +27 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +39 -9
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +260 -51
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +8 -0
- package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +51 -11
- package/tencentcloud/services/gaap/v20180529/gaap_client.js +75 -15
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +544 -174
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +5 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +6 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +18 -0
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +73 -9
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +108 -12
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +817 -264
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +23 -13
- package/tencentcloud/services/vod/v20180717/vod_client.js +27 -13
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +148 -71
- package/test/cynosdb.v20190107.test.js +56 -6
- package/test/gaap.v20180529.test.js +116 -16
- package/test/oceanus.v20190422.test.js +10 -0
- package/test/tcr.v20190924.test.js +168 -8
- package/test/vod.v20180717.test.js +22 -2
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-08-19 06:08:16 |
|
|
19
19
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
|
|
20
20
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
|
|
21
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-08-
|
|
21
|
+
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-08-25 06:10:07 |
|
|
22
22
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-08-04 06:09:29 |
|
|
23
23
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-08-09 10:42:14 |
|
|
24
24
|
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-08-15 06:09:23 |
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-08-15 06:11:03 |
|
|
39
39
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-08-15 06:11:13 |
|
|
40
40
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-08-17 06:11:23 |
|
|
41
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-08-
|
|
41
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-08-25 06:13:36 |
|
|
42
42
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
|
|
43
43
|
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-08-23 06:15:46 |
|
|
44
44
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-08-22 06:20:03 |
|
|
64
64
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-08-19 06:16:28 |
|
|
65
65
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
66
|
-
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-08-
|
|
66
|
+
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-08-25 06:22:53 |
|
|
67
67
|
| dasb | [堡垒机](https://cloud.tencent.com/document/product/1025) | 2022-08-16 06:19:02 |
|
|
68
68
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
69
69
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-07-29 06:07:15 |
|
|
70
70
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-06-22 06:06:28 |
|
|
71
71
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-07-27 06:08:38 |
|
|
72
72
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
|
|
73
|
-
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-
|
|
73
|
+
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-08-25 06:25:03 |
|
|
74
74
|
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-07-28 06:10:28 |
|
|
75
75
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-08-04 06:26:58 |
|
|
76
76
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-08-11 06:31:43 |
|
|
93
93
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
94
94
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
|
|
95
|
-
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-08-
|
|
95
|
+
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-08-25 06:30:05 |
|
|
96
96
|
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-08-17 06:24:51 |
|
|
97
97
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
98
98
|
| gs | [云游戏解决方案](https://cloud.tencent.com/document/product/1162) | 2022-08-19 06:23:23 |
|
|
@@ -123,10 +123,10 @@
|
|
|
123
123
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-04-04 06:57:43 |
|
|
124
124
|
| memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 |
|
|
125
125
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
126
|
-
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-
|
|
126
|
+
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-08-25 06:38:57 |
|
|
127
127
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
|
|
128
128
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-08-15 06:31:24 |
|
|
129
|
-
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-08-
|
|
129
|
+
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-08-25 06:39:26 |
|
|
130
130
|
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-07-30 15:15:41 |
|
|
131
131
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-06-28 06:14:04 |
|
|
132
132
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-07-07 06:13:41 |
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
135
135
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
|
|
136
136
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
137
|
-
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-
|
|
137
|
+
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-08-25 06:41:36 |
|
|
138
138
|
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-08-16 06:34:58 |
|
|
139
139
|
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-07-21 06:14:50 |
|
|
140
140
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-08-18 06:35:33 |
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
176
176
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
177
177
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-07-18 06:16:41 |
|
|
178
|
-
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-08-
|
|
178
|
+
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-08-25 06:49:32 |
|
|
179
179
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-08-23 06:51:30 |
|
|
180
180
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-07-05 06:21:49 |
|
|
181
181
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
205
205
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-08-16 06:49:06 |
|
|
206
206
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
207
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-08-
|
|
207
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-08-25 06:58:49 |
|
|
208
208
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-08-10 06:57:28 |
|
|
209
209
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-07-29 06:18:30 |
|
|
210
210
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.424"
|
|
@@ -2327,6 +2327,16 @@ export interface Docker {
|
|
|
2327
2327
|
* Docker Hub 可以不填,但确保具有公网访问能力。或者是 Tencent Registry 服务地址“ccr.ccs.tencentyun.com”
|
|
2328
2328
|
*/
|
|
2329
2329
|
Server?: string
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* 拉取Docker镜像重试次数。默认值:0。
|
|
2333
|
+
*/
|
|
2334
|
+
MaxRetryCount?: number
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* 拉取Docker镜像失败时延迟时间。单位:秒。
|
|
2338
|
+
*/
|
|
2339
|
+
DelayOnRetry?: number
|
|
2330
2340
|
}
|
|
2331
2341
|
|
|
2332
2342
|
/**
|
|
@@ -2623,7 +2623,7 @@ export interface ModifyAccountPasswordResponse {
|
|
|
2623
2623
|
/**
|
|
2624
2624
|
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
2625
2625
|
*/
|
|
2626
|
-
AsyncRequestId
|
|
2626
|
+
AsyncRequestId: string
|
|
2627
2627
|
|
|
2628
2628
|
/**
|
|
2629
2629
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4337,7 +4337,7 @@ export interface CreateDBInstanceRequest {
|
|
|
4337
4337
|
AutoRenewFlag?: number
|
|
4338
4338
|
|
|
4339
4339
|
/**
|
|
4340
|
-
*
|
|
4340
|
+
* 主实例地域信息,购买灾备、RO实例时,该字段必填。
|
|
4341
4341
|
*/
|
|
4342
4342
|
MasterRegion?: string
|
|
4343
4343
|
|
|
@@ -4382,7 +4382,7 @@ export interface CreateDBInstanceRequest {
|
|
|
4382
4382
|
ParamTemplateId?: number
|
|
4383
4383
|
|
|
4384
4384
|
/**
|
|
4385
|
-
* 告警策略id
|
|
4385
|
+
* 告警策略id数组。云监控DescribeAlarmPolicy接口返回的OriginId。
|
|
4386
4386
|
*/
|
|
4387
4387
|
AlarmPolicyList?: Array<number>
|
|
4388
4388
|
|
|
@@ -5081,7 +5081,7 @@ export interface VerifyRootAccountResponse {
|
|
|
5081
5081
|
/**
|
|
5082
5082
|
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果
|
|
5083
5083
|
*/
|
|
5084
|
-
AsyncRequestId
|
|
5084
|
+
AsyncRequestId: string
|
|
5085
5085
|
|
|
5086
5086
|
/**
|
|
5087
5087
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -7723,7 +7723,7 @@ export interface CreateDBInstanceHourRequest {
|
|
|
7723
7723
|
InstanceRole?: string
|
|
7724
7724
|
|
|
7725
7725
|
/**
|
|
7726
|
-
*
|
|
7726
|
+
* 主实例的可用区信息,购买灾备、RO实例时必填。
|
|
7727
7727
|
*/
|
|
7728
7728
|
MasterRegion?: string
|
|
7729
7729
|
|
|
@@ -7808,7 +7808,7 @@ export interface CreateDBInstanceHourRequest {
|
|
|
7808
7808
|
ParamTemplateId?: number
|
|
7809
7809
|
|
|
7810
7810
|
/**
|
|
7811
|
-
* 告警策略id
|
|
7811
|
+
* 告警策略id数组。云监控DescribeAlarmPolicy接口返回的OriginId。
|
|
7812
7812
|
*/
|
|
7813
7813
|
AlarmPolicyList?: Array<number>
|
|
7814
7814
|
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
RemoveClusterSlaveZoneRequest,
|
|
21
22
|
ModifyClusterNameRequest,
|
|
22
23
|
DescribeRollbackTimeRangeRequest,
|
|
23
24
|
InquirePriceRenewRequest,
|
|
@@ -27,6 +28,7 @@ import {
|
|
|
27
28
|
ModifyMaintainPeriodConfigRequest,
|
|
28
29
|
DescribeRollbackTimeRangeResponse,
|
|
29
30
|
ModifyBackupNameResponse,
|
|
31
|
+
SwitchClusterZoneResponse,
|
|
30
32
|
AssociateSecurityGroupsRequest,
|
|
31
33
|
DescribeBinlogDownloadUrlRequest,
|
|
32
34
|
CreateAccountsResponse,
|
|
@@ -37,8 +39,9 @@ import {
|
|
|
37
39
|
DescribeBinlogsResponse,
|
|
38
40
|
DescribeInstancesResponse,
|
|
39
41
|
ClusterInstanceDetail,
|
|
40
|
-
|
|
42
|
+
AddClusterSlaveZoneResponse,
|
|
41
43
|
ModifyClusterNameResponse,
|
|
44
|
+
DescribeClusterParamsResponse,
|
|
42
45
|
IsolateInstanceResponse,
|
|
43
46
|
ModifyInstanceNameResponse,
|
|
44
47
|
DescribeParamTemplatesRequest,
|
|
@@ -49,7 +52,7 @@ import {
|
|
|
49
52
|
CynosdbInstanceGrp,
|
|
50
53
|
SlowQueriesItem,
|
|
51
54
|
ActivateInstanceRequest,
|
|
52
|
-
|
|
55
|
+
AddClusterSlaveZoneRequest,
|
|
53
56
|
DescribeAccountAllGrantPrivilegesResponse,
|
|
54
57
|
RollbackDatabase,
|
|
55
58
|
DatabasePrivileges,
|
|
@@ -63,12 +66,14 @@ import {
|
|
|
63
66
|
CreateAccountsRequest,
|
|
64
67
|
IsolateInstanceRequest,
|
|
65
68
|
ExportInstanceSlowQueriesResponse,
|
|
69
|
+
SwitchClusterZoneRequest,
|
|
66
70
|
DescribeDBSecurityGroupsRequest,
|
|
67
71
|
RollBackClusterRequest,
|
|
68
72
|
RollbackTable,
|
|
69
73
|
DescribeClusterDetailRequest,
|
|
70
74
|
Tag,
|
|
71
75
|
DescribeProjectSecurityGroupsResponse,
|
|
76
|
+
RemoveClusterSlaveZoneResponse,
|
|
72
77
|
PauseServerlessResponse,
|
|
73
78
|
OfflineClusterRequest,
|
|
74
79
|
NewAccount,
|
|
@@ -78,9 +83,11 @@ import {
|
|
|
78
83
|
DescribeBackupListRequest,
|
|
79
84
|
CynosdbInstance,
|
|
80
85
|
DbTable,
|
|
86
|
+
ModifyClusterSlaveZoneResponse,
|
|
81
87
|
GrantAccountPrivilegesRequest,
|
|
82
|
-
|
|
88
|
+
BinlogItem,
|
|
83
89
|
CreateClustersRequest,
|
|
90
|
+
RollbackTableInfo,
|
|
84
91
|
DescribeClustersResponse,
|
|
85
92
|
QueryFilter,
|
|
86
93
|
DescribeBackupConfigResponse,
|
|
@@ -89,10 +96,12 @@ import {
|
|
|
89
96
|
AddInstancesResponse,
|
|
90
97
|
Addr,
|
|
91
98
|
ParamTemplateListInfo,
|
|
99
|
+
ParamInfo,
|
|
92
100
|
DescribeProjectSecurityGroupsRequest,
|
|
93
101
|
ModifyClusterParamResponse,
|
|
94
102
|
SecurityGroup,
|
|
95
103
|
DescribeBackupDownloadUrlRequest,
|
|
104
|
+
RollbackTimeRange,
|
|
96
105
|
NetAddr,
|
|
97
106
|
AssociateSecurityGroupsResponse,
|
|
98
107
|
DescribeResourcesByDealNameRequest,
|
|
@@ -109,12 +118,13 @@ import {
|
|
|
109
118
|
UpgradeInstanceResponse,
|
|
110
119
|
ModifyAccountParamsRequest,
|
|
111
120
|
CynosdbCluster,
|
|
112
|
-
|
|
121
|
+
IsolateClusterResponse,
|
|
113
122
|
OfflineClusterResponse,
|
|
114
123
|
RevokeAccountPrivilegesRequest,
|
|
115
124
|
InstanceSpec,
|
|
116
125
|
InquirePriceCreateResponse,
|
|
117
126
|
SetRenewFlagResponse,
|
|
127
|
+
Account,
|
|
118
128
|
DescribeClusterParamLogsRequest,
|
|
119
129
|
UpgradeInstanceRequest,
|
|
120
130
|
DescribeMaintainPeriodResponse,
|
|
@@ -127,6 +137,7 @@ import {
|
|
|
127
137
|
IsolateClusterRequest,
|
|
128
138
|
DescribeClusterInstanceGrpsResponse,
|
|
129
139
|
AddInstancesRequest,
|
|
140
|
+
ModifyClusterSlaveZoneRequest,
|
|
130
141
|
DescribeInstancesRequest,
|
|
131
142
|
ClusterParamModifyLog,
|
|
132
143
|
CynosdbInstanceDetail,
|
|
@@ -141,6 +152,7 @@ import {
|
|
|
141
152
|
ModifyAccountParamsResponse,
|
|
142
153
|
OfflineInstanceRequest,
|
|
143
154
|
TradePrice,
|
|
155
|
+
DescribeClusterParamsRequest,
|
|
144
156
|
DescribeInstanceSpecsResponse,
|
|
145
157
|
DescribeAccountAllGrantPrivilegesRequest,
|
|
146
158
|
OfflineInstanceResponse,
|
|
@@ -224,13 +236,23 @@ export class Client extends AbstractClient {
|
|
|
224
236
|
}
|
|
225
237
|
|
|
226
238
|
/**
|
|
227
|
-
*
|
|
239
|
+
* 本接口(DescribeInstanceSpecs)用于查询实例规格
|
|
228
240
|
*/
|
|
229
|
-
async
|
|
230
|
-
req:
|
|
231
|
-
cb?: (error: string, rep:
|
|
232
|
-
): Promise<
|
|
233
|
-
return this.request("
|
|
241
|
+
async DescribeInstanceSpecs(
|
|
242
|
+
req: DescribeInstanceSpecsRequest,
|
|
243
|
+
cb?: (error: string, rep: DescribeInstanceSpecsResponse) => void
|
|
244
|
+
): Promise<DescribeInstanceSpecsResponse> {
|
|
245
|
+
return this.request("DescribeInstanceSpecs", req, cb)
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* 增加从可用区
|
|
250
|
+
*/
|
|
251
|
+
async AddClusterSlaveZone(
|
|
252
|
+
req: AddClusterSlaveZoneRequest,
|
|
253
|
+
cb?: (error: string, rep: AddClusterSlaveZoneResponse) => void
|
|
254
|
+
): Promise<AddClusterSlaveZoneResponse> {
|
|
255
|
+
return this.request("AddClusterSlaveZone", req, cb)
|
|
234
256
|
}
|
|
235
257
|
|
|
236
258
|
/**
|
|
@@ -243,6 +265,16 @@ export class Client extends AbstractClient {
|
|
|
243
265
|
return this.request("DescribeParamTemplates", req, cb)
|
|
244
266
|
}
|
|
245
267
|
|
|
268
|
+
/**
|
|
269
|
+
* SetRenewFlag设置实例的自动续费功能
|
|
270
|
+
*/
|
|
271
|
+
async SetRenewFlag(
|
|
272
|
+
req: SetRenewFlagRequest,
|
|
273
|
+
cb?: (error: string, rep: SetRenewFlagResponse) => void
|
|
274
|
+
): Promise<SetRenewFlagResponse> {
|
|
275
|
+
return this.request("SetRenewFlag", req, cb)
|
|
276
|
+
}
|
|
277
|
+
|
|
246
278
|
/**
|
|
247
279
|
* 本接口(DescribeClusterInstanceGrps)用于查询实例组
|
|
248
280
|
*/
|
|
@@ -363,6 +395,16 @@ export class Client extends AbstractClient {
|
|
|
363
395
|
return this.request("ModifyMaintainPeriodConfig", req, cb)
|
|
364
396
|
}
|
|
365
397
|
|
|
398
|
+
/**
|
|
399
|
+
* 修改从可用区
|
|
400
|
+
*/
|
|
401
|
+
async ModifyClusterSlaveZone(
|
|
402
|
+
req: ModifyClusterSlaveZoneRequest,
|
|
403
|
+
cb?: (error: string, rep: ModifyClusterSlaveZoneResponse) => void
|
|
404
|
+
): Promise<ModifyClusterSlaveZoneResponse> {
|
|
405
|
+
return this.request("ModifyClusterSlaveZone", req, cb)
|
|
406
|
+
}
|
|
407
|
+
|
|
366
408
|
/**
|
|
367
409
|
* 修改账号参数
|
|
368
410
|
*/
|
|
@@ -373,6 +415,16 @@ export class Client extends AbstractClient {
|
|
|
373
415
|
return this.request("ModifyAccountParams", req, cb)
|
|
374
416
|
}
|
|
375
417
|
|
|
418
|
+
/**
|
|
419
|
+
* 本接口(DescribeClusterParams)用于查询集群参数
|
|
420
|
+
*/
|
|
421
|
+
async DescribeClusterParams(
|
|
422
|
+
req: DescribeClusterParamsRequest,
|
|
423
|
+
cb?: (error: string, rep: DescribeClusterParamsResponse) => void
|
|
424
|
+
): Promise<DescribeClusterParamsResponse> {
|
|
425
|
+
return this.request("DescribeClusterParams", req, cb)
|
|
426
|
+
}
|
|
427
|
+
|
|
376
428
|
/**
|
|
377
429
|
* 下线实例
|
|
378
430
|
*/
|
|
@@ -454,13 +506,13 @@ export class Client extends AbstractClient {
|
|
|
454
506
|
}
|
|
455
507
|
|
|
456
508
|
/**
|
|
457
|
-
*
|
|
509
|
+
* 删除从可用区
|
|
458
510
|
*/
|
|
459
|
-
async
|
|
460
|
-
req:
|
|
461
|
-
cb?: (error: string, rep:
|
|
462
|
-
): Promise<
|
|
463
|
-
return this.request("
|
|
511
|
+
async RemoveClusterSlaveZone(
|
|
512
|
+
req: RemoveClusterSlaveZoneRequest,
|
|
513
|
+
cb?: (error: string, rep: RemoveClusterSlaveZoneResponse) => void
|
|
514
|
+
): Promise<RemoveClusterSlaveZoneResponse> {
|
|
515
|
+
return this.request("RemoveClusterSlaveZone", req, cb)
|
|
464
516
|
}
|
|
465
517
|
|
|
466
518
|
/**
|
|
@@ -494,13 +546,13 @@ export class Client extends AbstractClient {
|
|
|
494
546
|
}
|
|
495
547
|
|
|
496
548
|
/**
|
|
497
|
-
*
|
|
549
|
+
* 获取指定集群的备份配置信息,包括全量备份时间段,备份文件保留时间
|
|
498
550
|
*/
|
|
499
|
-
async
|
|
500
|
-
req:
|
|
501
|
-
cb?: (error: string, rep:
|
|
502
|
-
): Promise<
|
|
503
|
-
return this.request("
|
|
551
|
+
async DescribeBackupConfig(
|
|
552
|
+
req: DescribeBackupConfigRequest,
|
|
553
|
+
cb?: (error: string, rep: DescribeBackupConfigResponse) => void
|
|
554
|
+
): Promise<DescribeBackupConfigResponse> {
|
|
555
|
+
return this.request("DescribeBackupConfig", req, cb)
|
|
504
556
|
}
|
|
505
557
|
|
|
506
558
|
/**
|
|
@@ -643,6 +695,16 @@ export class Client extends AbstractClient {
|
|
|
643
695
|
return this.request("ExportInstanceSlowQueries", req, cb)
|
|
644
696
|
}
|
|
645
697
|
|
|
698
|
+
/**
|
|
699
|
+
* 切换到从可用区
|
|
700
|
+
*/
|
|
701
|
+
async SwitchClusterZone(
|
|
702
|
+
req: SwitchClusterZoneRequest,
|
|
703
|
+
cb?: (error: string, rep: SwitchClusterZoneResponse) => void
|
|
704
|
+
): Promise<SwitchClusterZoneResponse> {
|
|
705
|
+
return this.request("SwitchClusterZone", req, cb)
|
|
706
|
+
}
|
|
707
|
+
|
|
646
708
|
/**
|
|
647
709
|
* 安全组批量解绑云资源
|
|
648
710
|
*/
|