tencentcloud-sdk-nodejs 4.0.344 → 4.0.345
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 +112 -0
- package/SERVICE_CHANGELOG.md +145 -247
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +2 -2
- package/src/services/cat/v20180409/cat_models.ts +22 -0
- package/src/services/cvm/v20170312/cvm_models.ts +22 -12
- package/src/services/emr/v20190103/emr_client.ts +12 -0
- package/src/services/emr/v20190103/emr_models.ts +20 -0
- package/src/services/oceanus/v20190422/oceanus_client.ts +31 -6
- package/src/services/oceanus/v20190422/oceanus_models.ts +186 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +15 -0
- 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 +2 -2
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +18 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +20 -12
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +18 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +11 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +15 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +157 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +12 -0
- package/test/emr.v20190103.test.js +10 -0
- package/test/oceanus.v20190422.test.js +22 -2
package/products.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
| aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2022-04-04 06:03:06 |
|
|
4
4
|
| aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
|
|
5
5
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-04-04 06:03:08 |
|
|
6
|
-
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-
|
|
7
|
-
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-
|
|
6
|
+
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
|
|
7
|
+
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
|
|
8
8
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
|
|
9
9
|
| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-04-04 06:03:33 |
|
|
10
10
|
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-05-17 06:03:35 |
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-05-09 06:02:38 |
|
|
18
18
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
|
|
19
19
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
|
|
20
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-05-
|
|
20
|
+
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-05-23 06:02:46 |
|
|
21
21
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-05-09 06:02:49 |
|
|
22
22
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-05-13 18:34:36 |
|
|
23
23
|
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-04-04 06:09:17 |
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-04-12 06:07:13 |
|
|
34
34
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-04-27 06:05:49 |
|
|
35
35
|
| casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-04-04 06:11:55 |
|
|
36
|
-
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-
|
|
36
|
+
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-05-23 06:03:34 |
|
|
37
37
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-04-21 06:07:31 |
|
|
38
38
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-05-17 06:05:22 |
|
|
39
39
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-05-19 06:08:10 |
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
58
58
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-05-20 06:04:11 |
|
|
59
59
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
60
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-05-
|
|
60
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-05-23 06:05:51 |
|
|
61
61
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-05-20 06:05:01 |
|
|
62
62
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
63
63
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-05-09 06:06:32 |
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-05-20 06:11:20 |
|
|
79
79
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
80
80
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-04-04 06:42:05 |
|
|
81
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-05-
|
|
81
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-05-23 06:08:01 |
|
|
82
82
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-05-19 06:12:26 |
|
|
83
83
|
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-05-16 06:09:12 |
|
|
84
84
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-05-06 06:10:19 |
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
127
127
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
|
|
128
128
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
129
|
-
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-
|
|
129
|
+
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-05-23 06:11:33 |
|
|
130
130
|
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-05-19 06:15:55 |
|
|
131
131
|
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-04-04 07:01:46 |
|
|
132
132
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-04-04 07:01:49 |
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2022-04-14 06:16:29 |
|
|
146
146
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2022-04-04 07:05:55 |
|
|
147
147
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
148
|
-
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-05-
|
|
148
|
+
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-05-23 06:12:44 |
|
|
149
149
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-22 06:14:46 |
|
|
150
150
|
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-05-20 06:17:18 |
|
|
151
151
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-05-13 06:18:48 |
|
|
180
180
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-04-04 07:17:26 |
|
|
181
181
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
|
|
182
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-05-
|
|
182
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-05-23 06:14:59 |
|
|
183
183
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
184
184
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
185
185
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.345"
|
|
@@ -2339,7 +2339,7 @@ export interface ModifyComputeEnvResponse {
|
|
|
2339
2339
|
}
|
|
2340
2340
|
|
|
2341
2341
|
/**
|
|
2342
|
-
*
|
|
2342
|
+
* 描述了实例的抽象位置,包括其所在的可用区,所属的项目,宿主机(仅专用宿主机产品可用),母机ip等
|
|
2343
2343
|
*/
|
|
2344
2344
|
export interface Placement {
|
|
2345
2345
|
/**
|
|
@@ -2577,7 +2577,7 @@ export interface InstanceTypeQuotaItem {
|
|
|
2577
2577
|
InstanceType: string
|
|
2578
2578
|
|
|
2579
2579
|
/**
|
|
2580
|
-
* 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[
|
|
2580
|
+
* 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
|
2581
2581
|
*/
|
|
2582
2582
|
InstanceChargeType: string
|
|
2583
2583
|
|
|
@@ -1602,6 +1602,18 @@ export interface NodeDefine {
|
|
|
1602
1602
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1603
1603
|
*/
|
|
1604
1604
|
Location: number
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* 节点类型
|
|
1608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1609
|
+
*/
|
|
1610
|
+
CodeType: string
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* 节点状态:1-运行,2-下线
|
|
1614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1615
|
+
*/
|
|
1616
|
+
NodeDefineStatus: number
|
|
1605
1617
|
}
|
|
1606
1618
|
|
|
1607
1619
|
/**
|
|
@@ -2144,6 +2156,11 @@ export interface CreateProbeTasksRequest {
|
|
|
2144
2156
|
* 插件类型
|
|
2145
2157
|
*/
|
|
2146
2158
|
PluginSource?: string
|
|
2159
|
+
|
|
2160
|
+
/**
|
|
2161
|
+
* 客户度ID
|
|
2162
|
+
*/
|
|
2163
|
+
ClientNum?: string
|
|
2147
2164
|
}
|
|
2148
2165
|
|
|
2149
2166
|
/**
|
|
@@ -2745,6 +2762,11 @@ export interface DeleteProbeTaskResponse {
|
|
|
2745
2762
|
* CreateProbeTasks返回参数结构体
|
|
2746
2763
|
*/
|
|
2747
2764
|
export interface CreateProbeTasksResponse {
|
|
2765
|
+
/**
|
|
2766
|
+
* 任务ID列表
|
|
2767
|
+
*/
|
|
2768
|
+
TaskIDs: Array<string>
|
|
2769
|
+
|
|
2748
2770
|
/**
|
|
2749
2771
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2750
2772
|
*/
|
|
@@ -147,43 +147,53 @@ export interface ResetInstancesTypeResponse {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* 专用宿主机实例的资源信息
|
|
151
151
|
*/
|
|
152
152
|
export interface HostResource {
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* 专用宿主机实例总cpu核数
|
|
155
155
|
*/
|
|
156
156
|
CpuTotal?: number
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
*
|
|
159
|
+
* 专用宿主机实例可用cpu核数
|
|
160
160
|
*/
|
|
161
161
|
CpuAvailable?: number
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
*
|
|
164
|
+
* 专用宿主机实例总内存大小(单位为:GiB)
|
|
165
165
|
*/
|
|
166
166
|
MemTotal?: number
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
169
|
+
* 专用宿主机实例可用内存大小(单位为:GiB)
|
|
170
170
|
*/
|
|
171
171
|
MemAvailable?: number
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* 专用宿主机实例总磁盘大小(单位为:GiB)
|
|
175
175
|
*/
|
|
176
176
|
DiskTotal?: number
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
|
-
*
|
|
179
|
+
* 专用宿主机实例可用磁盘大小(单位为:GiB)
|
|
180
180
|
*/
|
|
181
181
|
DiskAvailable?: number
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
184
|
+
* 专用宿主机实例磁盘类型
|
|
185
185
|
*/
|
|
186
186
|
DiskType: string
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* 专用宿主机实例总GPU卡数
|
|
190
|
+
*/
|
|
191
|
+
GpuTotal?: number
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* 专用宿主机实例可用GPU卡数
|
|
195
|
+
*/
|
|
196
|
+
GpuAvailable?: number
|
|
187
197
|
}
|
|
188
198
|
|
|
189
199
|
/**
|
|
@@ -1478,7 +1488,7 @@ export interface RunSecurityServiceEnabled {
|
|
|
1478
1488
|
}
|
|
1479
1489
|
|
|
1480
1490
|
/**
|
|
1481
|
-
*
|
|
1491
|
+
* 描述了实例的抽象位置,包括其所在的可用区,所属的项目,宿主机(仅专用宿主机产品可用),母机ip等
|
|
1482
1492
|
*/
|
|
1483
1493
|
export interface Placement {
|
|
1484
1494
|
/**
|
|
@@ -2228,7 +2238,7 @@ export interface LaunchTemplateVersionData {
|
|
|
2228
2238
|
InstanceName?: string
|
|
2229
2239
|
|
|
2230
2240
|
/**
|
|
2231
|
-
* 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID
|
|
2241
|
+
* 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
|
2232
2242
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2233
2243
|
*/
|
|
2234
2244
|
InstanceChargeType?: string
|
|
@@ -2571,7 +2581,7 @@ export interface Instance {
|
|
|
2571
2581
|
InstanceName?: string
|
|
2572
2582
|
|
|
2573
2583
|
/**
|
|
2574
|
-
* 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID
|
|
2584
|
+
* 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
|
2575
2585
|
*/
|
|
2576
2586
|
InstanceChargeType?: string
|
|
2577
2587
|
|
|
@@ -4156,7 +4166,7 @@ export interface InstanceTypeQuotaItem {
|
|
|
4156
4166
|
InstanceType: string
|
|
4157
4167
|
|
|
4158
4168
|
/**
|
|
4159
|
-
* 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[
|
|
4169
|
+
* 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
|
4160
4170
|
*/
|
|
4161
4171
|
InstanceChargeType: string
|
|
4162
4172
|
|
|
@@ -53,6 +53,7 @@ import {
|
|
|
53
53
|
DescribeResourceScheduleRequest,
|
|
54
54
|
Placement,
|
|
55
55
|
PodParameter,
|
|
56
|
+
DescribeUsersForUserManagerRequest,
|
|
56
57
|
RenewInstancesInfo,
|
|
57
58
|
RunJobFlowResponse,
|
|
58
59
|
MultiDisk,
|
|
@@ -83,6 +84,7 @@ import {
|
|
|
83
84
|
ModifyResourcePoolsResponse,
|
|
84
85
|
TerminateTasksResponse,
|
|
85
86
|
DescribeInstancesResponse,
|
|
87
|
+
DescribeUsersForUserManagerResponse,
|
|
86
88
|
InquiryPriceRenewInstanceRequest,
|
|
87
89
|
CdbInfo,
|
|
88
90
|
InquirePriceRenewEmrResponse,
|
|
@@ -144,6 +146,16 @@ export class Client extends AbstractClient {
|
|
|
144
146
|
return this.request("InquiryPriceUpdateInstance", req, cb)
|
|
145
147
|
}
|
|
146
148
|
|
|
149
|
+
/**
|
|
150
|
+
* 批量导出用户
|
|
151
|
+
*/
|
|
152
|
+
async DescribeUsersForUserManager(
|
|
153
|
+
req: DescribeUsersForUserManagerRequest,
|
|
154
|
+
cb?: (error: string, rep: DescribeUsersForUserManagerResponse) => void
|
|
155
|
+
): Promise<DescribeUsersForUserManagerResponse> {
|
|
156
|
+
return this.request("DescribeUsersForUserManager", req, cb)
|
|
157
|
+
}
|
|
158
|
+
|
|
147
159
|
/**
|
|
148
160
|
* 续费询价。
|
|
149
161
|
*/
|
|
@@ -1579,6 +1579,16 @@ export interface PodParameter {
|
|
|
1579
1579
|
Parameter: string
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
|
+
/**
|
|
1583
|
+
* DescribeUsersForUserManager请求参数结构体
|
|
1584
|
+
*/
|
|
1585
|
+
export interface DescribeUsersForUserManagerRequest {
|
|
1586
|
+
/**
|
|
1587
|
+
* 是否需要keytab文件的信息,仅对开启kerberos的集群有效,默认为false
|
|
1588
|
+
*/
|
|
1589
|
+
NeedKeytabInfo?: boolean
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1582
1592
|
/**
|
|
1583
1593
|
* 集群续费实例信息
|
|
1584
1594
|
*/
|
|
@@ -2685,6 +2695,16 @@ export interface DescribeInstancesResponse {
|
|
|
2685
2695
|
RequestId?: string
|
|
2686
2696
|
}
|
|
2687
2697
|
|
|
2698
|
+
/**
|
|
2699
|
+
* DescribeUsersForUserManager返回参数结构体
|
|
2700
|
+
*/
|
|
2701
|
+
export interface DescribeUsersForUserManagerResponse {
|
|
2702
|
+
/**
|
|
2703
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2704
|
+
*/
|
|
2705
|
+
RequestId?: string
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2688
2708
|
/**
|
|
2689
2709
|
* InquiryPriceRenewInstance请求参数结构体
|
|
2690
2710
|
*/
|
|
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
DescribeResourceConfigsResponse,
|
|
22
22
|
CreateResourceRequest,
|
|
23
|
+
CheckSavepointRequest,
|
|
23
24
|
CreateJobRequest,
|
|
24
25
|
ResourceRefDetail,
|
|
25
26
|
StopJobsRequest,
|
|
@@ -33,6 +34,7 @@ import {
|
|
|
33
34
|
CreateResourceConfigRequest,
|
|
34
35
|
Property,
|
|
35
36
|
DeleteTableConfigRequest,
|
|
37
|
+
Savepoint,
|
|
36
38
|
SystemResourceItem,
|
|
37
39
|
DescribeResourceRelatedJobsRequest,
|
|
38
40
|
DeleteResourcesResponse,
|
|
@@ -40,7 +42,10 @@ import {
|
|
|
40
42
|
ResourceConfigItem,
|
|
41
43
|
DescribeResourcesRequest,
|
|
42
44
|
ResourceLocParam,
|
|
45
|
+
DescribeJobSavepointRequest,
|
|
46
|
+
CheckSavepointResponse,
|
|
43
47
|
DeleteResourceConfigsRequest,
|
|
48
|
+
DescribeJobSavepointResponse,
|
|
44
49
|
RunJobsResponse,
|
|
45
50
|
Filter,
|
|
46
51
|
DeleteResourcesRequest,
|
|
@@ -114,13 +119,13 @@ export class Client extends AbstractClient {
|
|
|
114
119
|
}
|
|
115
120
|
|
|
116
121
|
/**
|
|
117
|
-
*
|
|
122
|
+
* 查找Savepoint列表
|
|
118
123
|
*/
|
|
119
|
-
async
|
|
120
|
-
req:
|
|
121
|
-
cb?: (error: string, rep:
|
|
122
|
-
): Promise<
|
|
123
|
-
return this.request("
|
|
124
|
+
async DescribeJobSavepoint(
|
|
125
|
+
req: DescribeJobSavepointRequest,
|
|
126
|
+
cb?: (error: string, rep: DescribeJobSavepointResponse) => void
|
|
127
|
+
): Promise<DescribeJobSavepointResponse> {
|
|
128
|
+
return this.request("DescribeJobSavepoint", req, cb)
|
|
124
129
|
}
|
|
125
130
|
|
|
126
131
|
/**
|
|
@@ -143,6 +148,16 @@ export class Client extends AbstractClient {
|
|
|
143
148
|
return this.request("DeleteResources", req, cb)
|
|
144
149
|
}
|
|
145
150
|
|
|
151
|
+
/**
|
|
152
|
+
* 获取资源关联作业信息
|
|
153
|
+
*/
|
|
154
|
+
async DescribeResourceRelatedJobs(
|
|
155
|
+
req: DescribeResourceRelatedJobsRequest,
|
|
156
|
+
cb?: (error: string, rep: DescribeResourceRelatedJobsResponse) => void
|
|
157
|
+
): Promise<DescribeResourceRelatedJobsResponse> {
|
|
158
|
+
return this.request("DescribeResourceRelatedJobs", req, cb)
|
|
159
|
+
}
|
|
160
|
+
|
|
146
161
|
/**
|
|
147
162
|
* 查询作业
|
|
148
163
|
*/
|
|
@@ -173,6 +188,16 @@ export class Client extends AbstractClient {
|
|
|
173
188
|
return this.request("DeleteResourceConfigs", req, cb)
|
|
174
189
|
}
|
|
175
190
|
|
|
191
|
+
/**
|
|
192
|
+
* 检查快照是否可用
|
|
193
|
+
*/
|
|
194
|
+
async CheckSavepoint(
|
|
195
|
+
req: CheckSavepointRequest,
|
|
196
|
+
cb?: (error: string, rep: CheckSavepointResponse) => void
|
|
197
|
+
): Promise<CheckSavepointResponse> {
|
|
198
|
+
return this.request("CheckSavepoint", req, cb)
|
|
199
|
+
}
|
|
200
|
+
|
|
176
201
|
/**
|
|
177
202
|
* 创建资源配置接口
|
|
178
203
|
*/
|
|
@@ -75,6 +75,36 @@ export interface CreateResourceRequest {
|
|
|
75
75
|
WorkSpaceId?: string
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
/**
|
|
79
|
+
* CheckSavepoint请求参数结构体
|
|
80
|
+
*/
|
|
81
|
+
export interface CheckSavepointRequest {
|
|
82
|
+
/**
|
|
83
|
+
* 作业 id
|
|
84
|
+
*/
|
|
85
|
+
JobId: string
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* 快照资源 id
|
|
89
|
+
*/
|
|
90
|
+
SerialId: string
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 快照类型 1: savepoint;2: checkpoint;3: cancelWithSavepoint
|
|
94
|
+
*/
|
|
95
|
+
RecordType: number
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 快照路径,目前只支持 cos 路径
|
|
99
|
+
*/
|
|
100
|
+
SavepointPath: string
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* 工作空间 id
|
|
104
|
+
*/
|
|
105
|
+
WorkSpaceId: string
|
|
106
|
+
}
|
|
107
|
+
|
|
78
108
|
/**
|
|
79
109
|
* CreateJob请求参数结构体
|
|
80
110
|
*/
|
|
@@ -415,6 +445,83 @@ export interface DeleteTableConfigRequest {
|
|
|
415
445
|
WorkSpaceId?: string
|
|
416
446
|
}
|
|
417
447
|
|
|
448
|
+
/**
|
|
449
|
+
* 描述Savepoint信息
|
|
450
|
+
*/
|
|
451
|
+
export interface Savepoint {
|
|
452
|
+
/**
|
|
453
|
+
* 主键
|
|
454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
455
|
+
*/
|
|
456
|
+
Id: number
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* 版本号
|
|
460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
461
|
+
*/
|
|
462
|
+
VersionId: number
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* 状态 1: Active; 2: Expired; 3: InProgress; 4: Failed; 5: Timeout
|
|
466
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
467
|
+
*/
|
|
468
|
+
Status: number
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* 创建时间
|
|
472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
473
|
+
*/
|
|
474
|
+
CreateTime: number
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* 更新时间
|
|
478
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
479
|
+
*/
|
|
480
|
+
UpdateTime: number
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* 路径
|
|
484
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
485
|
+
*/
|
|
486
|
+
Path: string
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* 大小
|
|
490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
491
|
+
*/
|
|
492
|
+
Size: number
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* 快照类型 1: savepoint;2: checkpoint;3: cancelWithSavepoint
|
|
496
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
497
|
+
*/
|
|
498
|
+
RecordType: number
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* 运行作业实例的顺序 ID
|
|
502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
503
|
+
*/
|
|
504
|
+
JobRuntimeId: number
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* 描述
|
|
508
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
509
|
+
*/
|
|
510
|
+
Description: string
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* 固定超时时间
|
|
514
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
515
|
+
*/
|
|
516
|
+
Timeout: number
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* 快照 serialId
|
|
520
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
521
|
+
*/
|
|
522
|
+
SerialId: string
|
|
523
|
+
}
|
|
524
|
+
|
|
418
525
|
/**
|
|
419
526
|
* 系统资源返回值
|
|
420
527
|
*/
|
|
@@ -629,6 +736,51 @@ export interface ResourceLocParam {
|
|
|
629
736
|
Region?: string
|
|
630
737
|
}
|
|
631
738
|
|
|
739
|
+
/**
|
|
740
|
+
* DescribeJobSavepoint请求参数结构体
|
|
741
|
+
*/
|
|
742
|
+
export interface DescribeJobSavepointRequest {
|
|
743
|
+
/**
|
|
744
|
+
* 作业 SerialId
|
|
745
|
+
*/
|
|
746
|
+
JobId: string
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* 分页参数,单页总数
|
|
750
|
+
*/
|
|
751
|
+
Limit: number
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* 分页参数,偏移量
|
|
755
|
+
*/
|
|
756
|
+
Offset: number
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* 工作空间 SerialId
|
|
760
|
+
*/
|
|
761
|
+
WorkSpaceId?: string
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* CheckSavepoint返回参数结构体
|
|
766
|
+
*/
|
|
767
|
+
export interface CheckSavepointResponse {
|
|
768
|
+
/**
|
|
769
|
+
* 资源 id
|
|
770
|
+
*/
|
|
771
|
+
SerialId: string
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* 1=可用,2=不可用
|
|
775
|
+
*/
|
|
776
|
+
SavepointStatus: number
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
780
|
+
*/
|
|
781
|
+
RequestId?: string
|
|
782
|
+
}
|
|
783
|
+
|
|
632
784
|
/**
|
|
633
785
|
* DeleteResourceConfigs请求参数结构体
|
|
634
786
|
*/
|
|
@@ -649,6 +801,40 @@ export interface DeleteResourceConfigsRequest {
|
|
|
649
801
|
WorkSpaceId?: string
|
|
650
802
|
}
|
|
651
803
|
|
|
804
|
+
/**
|
|
805
|
+
* DescribeJobSavepoint返回参数结构体
|
|
806
|
+
*/
|
|
807
|
+
export interface DescribeJobSavepointResponse {
|
|
808
|
+
/**
|
|
809
|
+
* 快照列表总数
|
|
810
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
811
|
+
*/
|
|
812
|
+
TotalNumber: number
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* 快照列表
|
|
816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
817
|
+
*/
|
|
818
|
+
Savepoint: Array<Savepoint>
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* 进行中的快照列表
|
|
822
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
823
|
+
*/
|
|
824
|
+
RunningSavepoint: Array<Savepoint>
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* 进行中的快照列表总数
|
|
828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
829
|
+
*/
|
|
830
|
+
RunningTotalNumber: number
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
834
|
+
*/
|
|
835
|
+
RequestId?: string
|
|
836
|
+
}
|
|
837
|
+
|
|
652
838
|
/**
|
|
653
839
|
* RunJobs返回参数结构体
|
|
654
840
|
*/
|
|
@@ -1089,6 +1089,11 @@ export interface DescribeReadOnlyGroupByReadOnlyInstanceResponse {
|
|
|
1089
1089
|
*/
|
|
1090
1090
|
MasterInstanceId: string
|
|
1091
1091
|
|
|
1092
|
+
/**
|
|
1093
|
+
* 主实例的地域ID
|
|
1094
|
+
*/
|
|
1095
|
+
MasterRegionId: string
|
|
1096
|
+
|
|
1092
1097
|
/**
|
|
1093
1098
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1094
1099
|
*/
|
|
@@ -3266,6 +3271,16 @@ SyncNormal:正常
|
|
|
3266
3271
|
* 只读副本隔离时间
|
|
3267
3272
|
*/
|
|
3268
3273
|
IsolateTime: string
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* 只读副本所在地域
|
|
3277
|
+
*/
|
|
3278
|
+
RegionId: string
|
|
3279
|
+
|
|
3280
|
+
/**
|
|
3281
|
+
* 只读副本所在可用区
|
|
3282
|
+
*/
|
|
3283
|
+
ZoneId: string
|
|
3269
3284
|
}
|
|
3270
3285
|
|
|
3271
3286
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.345";
|
|
@@ -1959,7 +1959,7 @@ export interface ModifyComputeEnvResponse {
|
|
|
1959
1959
|
RequestId?: string;
|
|
1960
1960
|
}
|
|
1961
1961
|
/**
|
|
1962
|
-
*
|
|
1962
|
+
* 描述了实例的抽象位置,包括其所在的可用区,所属的项目,宿主机(仅专用宿主机产品可用),母机ip等
|
|
1963
1963
|
*/
|
|
1964
1964
|
export interface Placement {
|
|
1965
1965
|
/**
|
|
@@ -2159,7 +2159,7 @@ export interface InstanceTypeQuotaItem {
|
|
|
2159
2159
|
*/
|
|
2160
2160
|
InstanceType: string;
|
|
2161
2161
|
/**
|
|
2162
|
-
* 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[
|
|
2162
|
+
* 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
|
2163
2163
|
*/
|
|
2164
2164
|
InstanceChargeType: string;
|
|
2165
2165
|
/**
|