tencentcloud-sdk-nodejs-oceanus 4.0.622 → 4.0.624
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 +196 -0
- package/SERVICE_CHANGELOG.md +284 -198
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/services/oceanus/v20190422/oceanus_client.ts +23 -8
- package/src/services/oceanus/v20190422/oceanus_models.ts +268 -21
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +7 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +9 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +263 -21
package/products.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
15
15
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
|
-
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-06-
|
|
17
|
+
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-06-16 01:07:09 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-05-18 01:03:20 |
|
|
19
19
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-06-15 01:02:32 |
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-05-26 01:03:52 |
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
|
|
42
42
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-05-23 01:06:09 |
|
|
43
43
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-06-09 01:06:01 |
|
|
44
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-06-
|
|
44
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-06-19 01:06:40 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-06-08 01:10:03 |
|
|
46
|
-
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-06-
|
|
46
|
+
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-06-19 01:07:32 |
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-05-18 01:10:41 |
|
|
48
48
|
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-06-09 01:07:54 |
|
|
49
49
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-06-08 01:11:18 |
|
|
@@ -58,19 +58,19 @@
|
|
|
58
58
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-06-12 01:09:11 |
|
|
59
59
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-05-18 01:13:28 |
|
|
60
60
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-05-18 01:13:36 |
|
|
61
|
-
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-
|
|
62
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-06-
|
|
61
|
+
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-06-16 10:55:41 |
|
|
62
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-06-19 01:10:34 |
|
|
63
63
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-05-18 01:14:25 |
|
|
64
64
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-05-18 01:14:51 |
|
|
65
65
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-05-31 21:42:46 |
|
|
66
|
-
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-
|
|
66
|
+
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-06-19 01:11:32 |
|
|
67
67
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
68
68
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-06-15 01:11:27 |
|
|
69
69
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
|
70
70
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-05-26 01:16:07 |
|
|
71
71
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-06-05 01:20:04 |
|
|
72
72
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
73
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-06-
|
|
73
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-06-19 01:14:27 |
|
|
74
74
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-05-18 01:19:47 |
|
|
75
75
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
76
76
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
@@ -91,15 +91,15 @@
|
|
|
91
91
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-06-06 01:28:52 |
|
|
92
92
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 |
|
|
93
93
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-05-18 01:25:58 |
|
|
94
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-06-
|
|
94
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-06-16 01:23:03 |
|
|
95
95
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-05-18 01:26:23 |
|
|
96
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-06-
|
|
97
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-06-
|
|
96
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-06-19 01:20:19 |
|
|
97
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-06-19 01:21:10 |
|
|
98
98
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-05-31 01:26:29 |
|
|
99
99
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-05-31 01:26:34 |
|
|
100
100
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-05-24 14:30:55 |
|
|
101
101
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-05-18 01:28:35 |
|
|
102
|
-
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-
|
|
102
|
+
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-06-16 01:24:51 |
|
|
103
103
|
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-06-14 01:25:30 |
|
|
104
104
|
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-05-18 01:29:36 |
|
|
105
105
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
@@ -143,9 +143,9 @@
|
|
|
143
143
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-06-15 01:29:09 |
|
|
144
144
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-05-18 01:42:21 |
|
|
145
145
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
146
|
-
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-
|
|
146
|
+
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-06-16 01:33:34 |
|
|
147
147
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
148
|
-
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-
|
|
148
|
+
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-06-19 01:30:56 |
|
|
149
149
|
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-06-14 01:34:02 |
|
|
150
150
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-05-18 01:43:39 |
|
|
151
151
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-06-14 01:34:43 |
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2023-06-14 01:36:28 |
|
|
156
156
|
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-05-26 01:47:14 |
|
|
157
157
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2023-05-18 01:45:58 |
|
|
158
|
-
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-06-
|
|
158
|
+
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-06-19 01:32:53 |
|
|
159
159
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2023-06-12 01:33:36 |
|
|
160
160
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-05-18 01:46:50 |
|
|
161
161
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
171
171
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-06-07 01:43:06 |
|
|
172
172
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-06-14 01:38:59 |
|
|
173
|
-
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-06-
|
|
173
|
+
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-06-16 01:37:57 |
|
|
174
174
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-05-18 01:49:36 |
|
|
175
175
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2023-05-18 01:49:41 |
|
|
176
176
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2023-05-18 01:49:52 |
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-05-18 01:50:16 |
|
|
180
180
|
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-06-15 01:34:24 |
|
|
181
181
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
182
|
-
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-
|
|
182
|
+
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-06-16 01:38:48 |
|
|
183
183
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
184
184
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-06-06 01:55:04 |
|
|
185
185
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-05-18 01:50:54 |
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-05-29 01:47:15 |
|
|
206
206
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-06-13 01:43:45 |
|
|
207
207
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-06-08 02:02:46 |
|
|
208
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-06-
|
|
208
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-06-16 01:44:43 |
|
|
209
209
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
210
210
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-05-18 02:01:07 |
|
|
211
211
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-05-18 02:01:10 |
|
|
@@ -215,13 +215,13 @@
|
|
|
215
215
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-05-31 01:48:08 |
|
|
216
216
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-06-12 01:43:03 |
|
|
217
217
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-05-18 02:02:09 |
|
|
218
|
-
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-06-
|
|
218
|
+
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-06-19 01:42:54 |
|
|
219
219
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
|
220
220
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-05-25 02:07:59 |
|
|
221
221
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-05-18 02:04:06 |
|
|
222
222
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-05-18 02:04:19 |
|
|
223
223
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-05-18 02:04:23 |
|
|
224
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-06-
|
|
224
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-06-16 01:48:04 |
|
|
225
225
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-06-15 01:43:49 |
|
|
226
226
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-06-07 01:59:27 |
|
|
227
227
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-06-07 01:59:35 |
|
|
@@ -30,11 +30,13 @@ import {
|
|
|
30
30
|
DeleteJobsRequest,
|
|
31
31
|
StopJobDescription,
|
|
32
32
|
CreateFolderRequest,
|
|
33
|
+
TriggerJobSavepointResponse,
|
|
33
34
|
ModifyJobResponse,
|
|
34
35
|
ClusterSession,
|
|
35
36
|
CreateJobConfigResponse,
|
|
36
37
|
CreateResourceConfigResponse,
|
|
37
38
|
CreateJobConfigRequest,
|
|
39
|
+
TriggerJobSavepointRequest,
|
|
38
40
|
CreateResourceConfigRequest,
|
|
39
41
|
DescribeSystemResourcesResponse,
|
|
40
42
|
ClusterVersion,
|
|
@@ -49,13 +51,14 @@ import {
|
|
|
49
51
|
DeleteResourcesResponse,
|
|
50
52
|
DeleteTableConfigResponse,
|
|
51
53
|
ResourceConfigItem,
|
|
52
|
-
|
|
54
|
+
RoleAuth,
|
|
53
55
|
Tag,
|
|
54
56
|
DescribeTreeResourcesRsp,
|
|
55
57
|
DescribeResourcesRequest,
|
|
56
58
|
TreeResourceItem,
|
|
57
59
|
RefJobStatusCountItem,
|
|
58
60
|
ResourceLocParam,
|
|
61
|
+
WorkSpaceSetItem,
|
|
59
62
|
ResourceRefJobInfo,
|
|
60
63
|
DescribeJobConfigsRequest,
|
|
61
64
|
CheckSavepointResponse,
|
|
@@ -67,11 +70,13 @@ import {
|
|
|
67
70
|
Filter,
|
|
68
71
|
DeleteResourcesRequest,
|
|
69
72
|
DescribeJobsResponse,
|
|
73
|
+
DescribeWorkSpacesResponse,
|
|
70
74
|
ResourceItem,
|
|
71
75
|
WorkSpaceClusterItem,
|
|
72
76
|
StopJobsResponse,
|
|
73
77
|
DescribeJobSavepointRequest,
|
|
74
78
|
CreateResourceResponse,
|
|
79
|
+
ClusterGroupSetItem,
|
|
75
80
|
DescribeSystemResourcesRequest,
|
|
76
81
|
CreateFolderResponse,
|
|
77
82
|
CopyJobItem,
|
|
@@ -85,7 +90,7 @@ import {
|
|
|
85
90
|
DescribeResourcesResponse,
|
|
86
91
|
Cluster,
|
|
87
92
|
DescribeClustersResponse,
|
|
88
|
-
|
|
93
|
+
DescribeWorkSpacesRequest,
|
|
89
94
|
DescribeResourceConfigsResponse,
|
|
90
95
|
ResourceRef,
|
|
91
96
|
DescribeJobsRequest,
|
|
@@ -204,6 +209,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
204
209
|
return this.request("DescribeClusters", req, cb)
|
|
205
210
|
}
|
|
206
211
|
|
|
212
|
+
/**
|
|
213
|
+
* 批量删除作业接口,批量操作数量上限20
|
|
214
|
+
*/
|
|
215
|
+
async DeleteJobs(
|
|
216
|
+
req: DeleteJobsRequest,
|
|
217
|
+
cb?: (error: string, rep: DeleteJobsResponse) => void
|
|
218
|
+
): Promise<DeleteJobsResponse> {
|
|
219
|
+
return this.request("DeleteJobs", req, cb)
|
|
220
|
+
}
|
|
221
|
+
|
|
207
222
|
/**
|
|
208
223
|
* 新建作业接口,一个 AppId 最多允许创建1000个作业
|
|
209
224
|
*/
|
|
@@ -235,13 +250,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
235
250
|
}
|
|
236
251
|
|
|
237
252
|
/**
|
|
238
|
-
*
|
|
253
|
+
* 授权工作空间列表
|
|
239
254
|
*/
|
|
240
|
-
async
|
|
241
|
-
req:
|
|
242
|
-
cb?: (error: string, rep:
|
|
243
|
-
): Promise<
|
|
244
|
-
return this.request("
|
|
255
|
+
async DescribeWorkSpaces(
|
|
256
|
+
req: DescribeWorkSpacesRequest,
|
|
257
|
+
cb?: (error: string, rep: DescribeWorkSpacesResponse) => void
|
|
258
|
+
): Promise<DescribeWorkSpacesResponse> {
|
|
259
|
+
return this.request("DescribeWorkSpaces", req, cb)
|
|
245
260
|
}
|
|
246
261
|
|
|
247
262
|
/**
|
|
@@ -322,6 +322,35 @@ export interface CreateFolderRequest {
|
|
|
322
322
|
WorkSpaceId?: string
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
+
/**
|
|
326
|
+
* TriggerJobSavepoint返回参数结构体
|
|
327
|
+
*/
|
|
328
|
+
export interface TriggerJobSavepointResponse {
|
|
329
|
+
/**
|
|
330
|
+
* 是否成功
|
|
331
|
+
*/
|
|
332
|
+
SavepointTrigger: boolean
|
|
333
|
+
/**
|
|
334
|
+
* 错误消息
|
|
335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
336
|
+
*/
|
|
337
|
+
ErrorMsg: string
|
|
338
|
+
/**
|
|
339
|
+
* 快照路径
|
|
340
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
341
|
+
*/
|
|
342
|
+
FinalSavepointPath: string
|
|
343
|
+
/**
|
|
344
|
+
* 快照 ID
|
|
345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
346
|
+
*/
|
|
347
|
+
SavepointId: string
|
|
348
|
+
/**
|
|
349
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
350
|
+
*/
|
|
351
|
+
RequestId?: string
|
|
352
|
+
}
|
|
353
|
+
|
|
325
354
|
/**
|
|
326
355
|
* ModifyJob返回参数结构体
|
|
327
356
|
*/
|
|
@@ -447,6 +476,24 @@ export interface CreateJobConfigRequest {
|
|
|
447
476
|
AutoRecover?: number
|
|
448
477
|
}
|
|
449
478
|
|
|
479
|
+
/**
|
|
480
|
+
* TriggerJobSavepoint请求参数结构体
|
|
481
|
+
*/
|
|
482
|
+
export interface TriggerJobSavepointRequest {
|
|
483
|
+
/**
|
|
484
|
+
* 作业 SerialId
|
|
485
|
+
*/
|
|
486
|
+
JobId: string
|
|
487
|
+
/**
|
|
488
|
+
* 描述
|
|
489
|
+
*/
|
|
490
|
+
Description?: string
|
|
491
|
+
/**
|
|
492
|
+
* 工作空间 SerialId
|
|
493
|
+
*/
|
|
494
|
+
WorkSpaceId?: string
|
|
495
|
+
}
|
|
496
|
+
|
|
450
497
|
/**
|
|
451
498
|
* CreateResourceConfig请求参数结构体
|
|
452
499
|
*/
|
|
@@ -826,32 +873,60 @@ export interface ResourceConfigItem {
|
|
|
826
873
|
}
|
|
827
874
|
|
|
828
875
|
/**
|
|
829
|
-
*
|
|
876
|
+
* 角色授权信息
|
|
830
877
|
*/
|
|
831
|
-
export interface
|
|
878
|
+
export interface RoleAuth {
|
|
832
879
|
/**
|
|
833
|
-
*
|
|
880
|
+
* 用户 AppID
|
|
834
881
|
*/
|
|
835
|
-
|
|
882
|
+
AppId?: number
|
|
836
883
|
/**
|
|
837
|
-
*
|
|
838
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
884
|
+
* 工作空间 SerialId
|
|
839
885
|
*/
|
|
840
|
-
|
|
886
|
+
WorkSpaceSerialId?: string
|
|
841
887
|
/**
|
|
842
|
-
*
|
|
888
|
+
* 主账号 UIN
|
|
889
|
+
*/
|
|
890
|
+
OwnerUin?: string
|
|
891
|
+
/**
|
|
892
|
+
* 创建者 UIN
|
|
893
|
+
*/
|
|
894
|
+
CreatorUin?: string
|
|
895
|
+
/**
|
|
896
|
+
* 绑定授权的 UIN
|
|
897
|
+
*/
|
|
898
|
+
AuthSubAccountUin?: string
|
|
899
|
+
/**
|
|
900
|
+
* 对应 role表的id
|
|
901
|
+
*/
|
|
902
|
+
Permission?: number
|
|
903
|
+
/**
|
|
904
|
+
* 创建时间
|
|
905
|
+
*/
|
|
906
|
+
CreateTime?: string
|
|
907
|
+
/**
|
|
908
|
+
* 最后一次操作时间
|
|
909
|
+
*/
|
|
910
|
+
UpdateTime?: string
|
|
911
|
+
/**
|
|
912
|
+
* 2 启用 1 停用
|
|
913
|
+
*/
|
|
914
|
+
Status?: number
|
|
915
|
+
/**
|
|
916
|
+
* id
|
|
843
917
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
844
918
|
*/
|
|
845
|
-
|
|
919
|
+
Id?: number
|
|
846
920
|
/**
|
|
847
|
-
*
|
|
921
|
+
* 工作空间id
|
|
848
922
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
849
923
|
*/
|
|
850
|
-
|
|
924
|
+
WorkSpaceId?: number
|
|
851
925
|
/**
|
|
852
|
-
*
|
|
926
|
+
* 权限名称
|
|
927
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
853
928
|
*/
|
|
854
|
-
|
|
929
|
+
RoleName?: string
|
|
855
930
|
}
|
|
856
931
|
|
|
857
932
|
/**
|
|
@@ -1004,6 +1079,73 @@ export interface ResourceLocParam {
|
|
|
1004
1079
|
Region?: string
|
|
1005
1080
|
}
|
|
1006
1081
|
|
|
1082
|
+
/**
|
|
1083
|
+
* 工作空间详情
|
|
1084
|
+
*/
|
|
1085
|
+
export interface WorkSpaceSetItem {
|
|
1086
|
+
/**
|
|
1087
|
+
* 工作空间 SerialId
|
|
1088
|
+
*/
|
|
1089
|
+
SerialId: string
|
|
1090
|
+
/**
|
|
1091
|
+
* 用户 APPID
|
|
1092
|
+
*/
|
|
1093
|
+
AppId: number
|
|
1094
|
+
/**
|
|
1095
|
+
* 主账号 UIN
|
|
1096
|
+
*/
|
|
1097
|
+
OwnerUin: string
|
|
1098
|
+
/**
|
|
1099
|
+
* 创建者 UIN
|
|
1100
|
+
*/
|
|
1101
|
+
CreatorUin: string
|
|
1102
|
+
/**
|
|
1103
|
+
* 工作空间名称
|
|
1104
|
+
*/
|
|
1105
|
+
WorkSpaceName: string
|
|
1106
|
+
/**
|
|
1107
|
+
* 区域
|
|
1108
|
+
*/
|
|
1109
|
+
Region: string
|
|
1110
|
+
/**
|
|
1111
|
+
* 创建时间
|
|
1112
|
+
*/
|
|
1113
|
+
CreateTime: string
|
|
1114
|
+
/**
|
|
1115
|
+
* 更新时间
|
|
1116
|
+
*/
|
|
1117
|
+
UpdateTime: string
|
|
1118
|
+
/**
|
|
1119
|
+
* 1 未初始化 2 可用 -1 已删除
|
|
1120
|
+
*/
|
|
1121
|
+
Status: number
|
|
1122
|
+
/**
|
|
1123
|
+
* 工作空间描述
|
|
1124
|
+
*/
|
|
1125
|
+
Description: string
|
|
1126
|
+
/**
|
|
1127
|
+
* 工作空间包含集群信息
|
|
1128
|
+
*/
|
|
1129
|
+
ClusterGroupSetItem: Array<ClusterGroupSetItem>
|
|
1130
|
+
/**
|
|
1131
|
+
* 工作空间角色的信息
|
|
1132
|
+
*/
|
|
1133
|
+
RoleAuth: Array<RoleAuth>
|
|
1134
|
+
/**
|
|
1135
|
+
* 工作空间成员数量
|
|
1136
|
+
*/
|
|
1137
|
+
RoleAuthCount: number
|
|
1138
|
+
/**
|
|
1139
|
+
* 工作空间 SerialId
|
|
1140
|
+
*/
|
|
1141
|
+
WorkSpaceId: string
|
|
1142
|
+
/**
|
|
1143
|
+
* 1
|
|
1144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1145
|
+
*/
|
|
1146
|
+
JobsCount: number
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1007
1149
|
/**
|
|
1008
1150
|
* 资源被Job 引用信息
|
|
1009
1151
|
*/
|
|
@@ -1228,6 +1370,25 @@ export interface DescribeJobsResponse {
|
|
|
1228
1370
|
RequestId?: string
|
|
1229
1371
|
}
|
|
1230
1372
|
|
|
1373
|
+
/**
|
|
1374
|
+
* DescribeWorkSpaces返回参数结构体
|
|
1375
|
+
*/
|
|
1376
|
+
export interface DescribeWorkSpacesResponse {
|
|
1377
|
+
/**
|
|
1378
|
+
* 空间详情列表
|
|
1379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1380
|
+
*/
|
|
1381
|
+
WorkSpaceSetItem?: Array<WorkSpaceSetItem>
|
|
1382
|
+
/**
|
|
1383
|
+
* 空间总数
|
|
1384
|
+
*/
|
|
1385
|
+
TotalCount?: number
|
|
1386
|
+
/**
|
|
1387
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1388
|
+
*/
|
|
1389
|
+
RequestId?: string
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1231
1392
|
/**
|
|
1232
1393
|
* 资源详细描述
|
|
1233
1394
|
*/
|
|
@@ -1402,6 +1563,88 @@ export interface CreateResourceResponse {
|
|
|
1402
1563
|
RequestId?: string
|
|
1403
1564
|
}
|
|
1404
1565
|
|
|
1566
|
+
/**
|
|
1567
|
+
* 工作空间集群组信息
|
|
1568
|
+
*/
|
|
1569
|
+
export interface ClusterGroupSetItem {
|
|
1570
|
+
/**
|
|
1571
|
+
* clusterGroup 的 SerialId
|
|
1572
|
+
*/
|
|
1573
|
+
ClusterId: string
|
|
1574
|
+
/**
|
|
1575
|
+
* 集群名称
|
|
1576
|
+
*/
|
|
1577
|
+
Name: string
|
|
1578
|
+
/**
|
|
1579
|
+
* 地域
|
|
1580
|
+
*/
|
|
1581
|
+
Region: string
|
|
1582
|
+
/**
|
|
1583
|
+
* 区
|
|
1584
|
+
*/
|
|
1585
|
+
Zone: string
|
|
1586
|
+
/**
|
|
1587
|
+
* 账号 APPID
|
|
1588
|
+
*/
|
|
1589
|
+
AppId: number
|
|
1590
|
+
/**
|
|
1591
|
+
* 主账号 UIN
|
|
1592
|
+
*/
|
|
1593
|
+
OwnerUin: string
|
|
1594
|
+
/**
|
|
1595
|
+
* 创建账号 UIN
|
|
1596
|
+
*/
|
|
1597
|
+
CreatorUin: string
|
|
1598
|
+
/**
|
|
1599
|
+
* CU 数量
|
|
1600
|
+
*/
|
|
1601
|
+
CuNum: number
|
|
1602
|
+
/**
|
|
1603
|
+
* CU 内存规格
|
|
1604
|
+
*/
|
|
1605
|
+
CuMem: number
|
|
1606
|
+
/**
|
|
1607
|
+
* 集群状态, 1 未初始化,,3 初始化中,2 运行中
|
|
1608
|
+
*/
|
|
1609
|
+
Status: number
|
|
1610
|
+
/**
|
|
1611
|
+
* 状态描述
|
|
1612
|
+
*/
|
|
1613
|
+
StatusDesc: string
|
|
1614
|
+
/**
|
|
1615
|
+
* 集群创建时间
|
|
1616
|
+
*/
|
|
1617
|
+
CreateTime: string
|
|
1618
|
+
/**
|
|
1619
|
+
* 最后一次操作集群的时间
|
|
1620
|
+
*/
|
|
1621
|
+
UpdateTime: string
|
|
1622
|
+
/**
|
|
1623
|
+
* 描述
|
|
1624
|
+
*/
|
|
1625
|
+
Remark: string
|
|
1626
|
+
/**
|
|
1627
|
+
* 网络
|
|
1628
|
+
*/
|
|
1629
|
+
NetEnvironmentType: number
|
|
1630
|
+
/**
|
|
1631
|
+
* 空闲 CU
|
|
1632
|
+
*/
|
|
1633
|
+
FreeCuNum: number
|
|
1634
|
+
/**
|
|
1635
|
+
* 细粒度资源下的空闲CU
|
|
1636
|
+
*/
|
|
1637
|
+
FreeCu: number
|
|
1638
|
+
/**
|
|
1639
|
+
* 运行中CU
|
|
1640
|
+
*/
|
|
1641
|
+
RunningCu?: number
|
|
1642
|
+
/**
|
|
1643
|
+
* 付费模式
|
|
1644
|
+
*/
|
|
1645
|
+
PayMode?: number
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1405
1648
|
/**
|
|
1406
1649
|
* DescribeSystemResources请求参数结构体
|
|
1407
1650
|
*/
|
|
@@ -1812,21 +2055,25 @@ export interface DescribeClustersResponse {
|
|
|
1812
2055
|
}
|
|
1813
2056
|
|
|
1814
2057
|
/**
|
|
1815
|
-
*
|
|
2058
|
+
* DescribeWorkSpaces请求参数结构体
|
|
1816
2059
|
*/
|
|
1817
|
-
export interface
|
|
2060
|
+
export interface DescribeWorkSpacesRequest {
|
|
1818
2061
|
/**
|
|
1819
|
-
*
|
|
2062
|
+
* 偏移量,默认 0
|
|
1820
2063
|
*/
|
|
1821
|
-
|
|
2064
|
+
Offset?: number
|
|
1822
2065
|
/**
|
|
1823
|
-
*
|
|
2066
|
+
* 1 按照创建时间降序排序(默认) 2.按照创建时间升序排序,3. 按照状态降序排序 4. 按照状态升序排序 默认为0
|
|
1824
2067
|
*/
|
|
1825
|
-
|
|
2068
|
+
OrderType?: number
|
|
1826
2069
|
/**
|
|
1827
|
-
*
|
|
2070
|
+
* 请求的集群数量,默认 20
|
|
1828
2071
|
*/
|
|
1829
|
-
|
|
2072
|
+
Limit?: number
|
|
2073
|
+
/**
|
|
2074
|
+
* 过滤规则
|
|
2075
|
+
*/
|
|
2076
|
+
Filters?: Array<Filter>
|
|
1830
2077
|
}
|
|
1831
2078
|
|
|
1832
2079
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreateResourceRequest, CheckSavepointRequest, CreateJobRequest, StopJobsRequest, CreateJobResponse, RunJobsRequest, DeleteJobsRequest, CreateFolderRequest, ModifyJobResponse, CreateJobConfigResponse, CreateResourceConfigResponse, CreateJobConfigRequest, CreateResourceConfigRequest, DescribeSystemResourcesResponse, DescribeClustersRequest, DescribeTreeJobsResponse, DeleteTableConfigRequest, CopyJobsRequest, CopyJobsResponse, DescribeResourceRelatedJobsRequest, DeleteResourcesResponse, DeleteTableConfigResponse,
|
|
2
|
+
import { CreateResourceRequest, CheckSavepointRequest, CreateJobRequest, StopJobsRequest, CreateJobResponse, RunJobsRequest, DeleteJobsRequest, CreateFolderRequest, TriggerJobSavepointResponse, ModifyJobResponse, CreateJobConfigResponse, CreateResourceConfigResponse, CreateJobConfigRequest, TriggerJobSavepointRequest, CreateResourceConfigRequest, DescribeSystemResourcesResponse, DescribeClustersRequest, DescribeTreeJobsResponse, DeleteTableConfigRequest, CopyJobsRequest, CopyJobsResponse, DescribeResourceRelatedJobsRequest, DeleteResourcesResponse, DeleteTableConfigResponse, DescribeResourcesRequest, DescribeJobConfigsRequest, CheckSavepointResponse, DeleteResourceConfigsRequest, DescribeJobSavepointResponse, DeleteJobsResponse, DescribeTreeResourcesResponse, RunJobsResponse, DeleteResourcesRequest, DescribeJobsResponse, DescribeWorkSpacesResponse, StopJobsResponse, DescribeJobSavepointRequest, CreateResourceResponse, DescribeSystemResourcesRequest, CreateFolderResponse, ModifyJobRequest, DescribeTreeJobsRequest, DescribeJobConfigsResponse, DeleteResourceConfigsResponse, DescribeResourceRelatedJobsResponse, DescribeResourcesResponse, DescribeClustersResponse, DescribeWorkSpacesRequest, DescribeResourceConfigsResponse, DescribeJobsRequest, DescribeResourceConfigsRequest, DescribeTreeResourcesRequest } from "./oceanus_models";
|
|
3
3
|
/**
|
|
4
4
|
* oceanus client
|
|
5
5
|
* @class
|
|
@@ -46,6 +46,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
46
|
* 查询集群
|
|
47
47
|
*/
|
|
48
48
|
DescribeClusters(req: DescribeClustersRequest, cb?: (error: string, rep: DescribeClustersResponse) => void): Promise<DescribeClustersResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* 批量删除作业接口,批量操作数量上限20
|
|
51
|
+
*/
|
|
52
|
+
DeleteJobs(req: DeleteJobsRequest, cb?: (error: string, rep: DeleteJobsResponse) => void): Promise<DeleteJobsResponse>;
|
|
49
53
|
/**
|
|
50
54
|
* 新建作业接口,一个 AppId 最多允许创建1000个作业
|
|
51
55
|
*/
|
|
@@ -59,9 +63,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
59
63
|
*/
|
|
60
64
|
RunJobs(req: RunJobsRequest, cb?: (error: string, rep: RunJobsResponse) => void): Promise<RunJobsResponse>;
|
|
61
65
|
/**
|
|
62
|
-
*
|
|
66
|
+
* 授权工作空间列表
|
|
63
67
|
*/
|
|
64
|
-
|
|
68
|
+
DescribeWorkSpaces(req: DescribeWorkSpacesRequest, cb?: (error: string, rep: DescribeWorkSpacesResponse) => void): Promise<DescribeWorkSpacesResponse>;
|
|
65
69
|
/**
|
|
66
70
|
* 作业列表页面新建文件夹请求
|
|
67
71
|
*/
|
|
@@ -87,6 +87,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
87
|
async DescribeClusters(req, cb) {
|
|
88
88
|
return this.request("DescribeClusters", req, cb);
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* 批量删除作业接口,批量操作数量上限20
|
|
92
|
+
*/
|
|
93
|
+
async DeleteJobs(req, cb) {
|
|
94
|
+
return this.request("DeleteJobs", req, cb);
|
|
95
|
+
}
|
|
90
96
|
/**
|
|
91
97
|
* 新建作业接口,一个 AppId 最多允许创建1000个作业
|
|
92
98
|
*/
|
|
@@ -106,10 +112,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
106
112
|
return this.request("RunJobs", req, cb);
|
|
107
113
|
}
|
|
108
114
|
/**
|
|
109
|
-
*
|
|
115
|
+
* 授权工作空间列表
|
|
110
116
|
*/
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
117
|
+
async DescribeWorkSpaces(req, cb) {
|
|
118
|
+
return this.request("DescribeWorkSpaces", req, cb);
|
|
113
119
|
}
|
|
114
120
|
/**
|
|
115
121
|
* 作业列表页面新建文件夹请求
|