tencentcloud-sdk-nodejs 4.0.897 → 4.0.899
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 +284 -0
- package/SERVICE_CHANGELOG.md +285 -98
- package/package.json +1 -1
- package/products.md +20 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdc/v20201214/cdc_models.ts +59 -20
- package/src/services/cloudapp/index.ts +5 -0
- package/src/services/cloudapp/v20220530/cloudapp_client.ts +40 -0
- package/src/services/cloudapp/v20220530/cloudapp_models.ts +194 -0
- package/src/services/cloudapp/v20220530/index.ts +6 -0
- package/src/services/cvm/v20170312/cvm_models.ts +10 -10
- package/src/services/dlc/v20210125/dlc_models.ts +9 -1
- package/src/services/dsgc/v20190723/dsgc_models.ts +31 -3
- package/src/services/es/v20180416/es_models.ts +9 -1
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +19 -5
- package/src/services/gaap/v20180529/gaap_models.ts +9 -0
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +4 -0
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_models.ts +9 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -6
- package/src/services/lke/v20231130/lke_client.ts +1 -1
- package/src/services/mongodb/v20190725/mongodb_models.ts +2 -2
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +20 -46
- package/src/services/tcr/v20190924/tcr_models.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_client.ts +37 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +144 -0
- package/src/services/tsi/v20210325/tsi_client.ts +15 -2
- package/src/services/vpc/v20170312/vpc_client.ts +1 -0
- package/src/services/vpc/v20170312/vpc_models.ts +94 -45
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +59 -20
- package/tencentcloud/services/cloudapp/index.d.ts +6 -0
- package/tencentcloud/services/cloudapp/index.js +7 -0
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_client.d.ts +14 -0
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_client.js +37 -0
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_models.d.ts +174 -0
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_models.js +18 -0
- package/tencentcloud/services/cloudapp/v20220530/index.d.ts +6 -0
- package/tencentcloud/services/cloudapp/v20220530/index.js +9 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +10 -10
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +9 -1
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +31 -3
- package/tencentcloud/services/es/v20180416/es_models.d.ts +9 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +19 -5
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +9 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +4 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +9 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +6 -6
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +1 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +20 -46
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +13 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +18 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +137 -0
- package/tencentcloud/services/tsi/v20210325/tsi_client.d.ts +14 -1
- package/tencentcloud/services/tsi/v20210325/tsi_client.js +14 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +93 -45
- package/test/cloudapp.v20220530.test.js +31 -0
- package/test/tdmq.v20200217.test.js +30 -0
package/products.md
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-07-16 01:09:24 |
|
|
42
42
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-07-16 01:09:31 |
|
|
43
43
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-07-10 01:09:35 |
|
|
44
|
-
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-
|
|
44
|
+
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-07-17 01:09:51 |
|
|
45
45
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-10 01:10:02 |
|
|
46
46
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
|
|
47
47
|
| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-06-27 01:07:08 |
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
59
59
|
| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-07-08 01:10:21 |
|
|
60
60
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-07-16 01:11:14 |
|
|
61
|
+
| cloudapp | [云应用](https://cloud.tencent.com/document/product/1689) | 2024-07-18 01:06:41 |
|
|
61
62
|
| cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
|
|
62
63
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
|
|
63
64
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
71
72
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-07-03 01:12:26 |
|
|
72
73
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
|
|
73
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-
|
|
74
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-07-17 01:11:57 |
|
|
74
75
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-12 01:12:13 |
|
|
75
76
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
76
77
|
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-16 01:13:21 |
|
|
@@ -81,12 +82,12 @@
|
|
|
81
82
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 |
|
|
82
83
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-07-15 01:09:18 |
|
|
83
84
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-07-11 01:14:04 |
|
|
84
|
-
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-07-
|
|
85
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-07-17 01:14:09 |
|
|
85
86
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-11 01:14:33 |
|
|
86
87
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-02 01:14:51 |
|
|
87
88
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 |
|
|
88
89
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
|
|
89
|
-
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-
|
|
90
|
+
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-07-18 01:10:11 |
|
|
90
91
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
91
92
|
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-07-15 01:10:34 |
|
|
92
93
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-06-07 01:44:56 |
|
|
@@ -96,14 +97,14 @@
|
|
|
96
97
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 |
|
|
97
98
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
98
99
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-09 01:14:34 |
|
|
99
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-
|
|
100
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-
|
|
101
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-
|
|
100
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-17 01:15:53 |
|
|
101
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-18 01:11:27 |
|
|
102
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-18 01:11:43 |
|
|
102
103
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-07-16 01:16:45 |
|
|
103
104
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-06-26 01:16:46 |
|
|
104
105
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
|
|
105
106
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
|
|
106
|
-
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-
|
|
107
|
+
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-17 01:16:44 |
|
|
107
108
|
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2024-06-27 01:13:06 |
|
|
108
109
|
| goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2024-07-10 01:17:00 |
|
|
109
110
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
@@ -113,7 +114,7 @@
|
|
|
113
114
|
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 |
|
|
114
115
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
115
116
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
|
|
116
|
-
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-07-
|
|
117
|
+
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-07-17 01:17:08 |
|
|
117
118
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
|
|
118
119
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
119
120
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
|
|
@@ -133,10 +134,10 @@
|
|
|
133
134
|
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-07-09 14:27:21 |
|
|
134
135
|
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
|
|
135
136
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 |
|
|
136
|
-
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-
|
|
137
|
-
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-
|
|
137
|
+
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-07-17 01:19:12 |
|
|
138
|
+
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-18 01:14:43 |
|
|
138
139
|
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-12 01:19:39 |
|
|
139
|
-
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-
|
|
140
|
+
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-17 01:19:55 |
|
|
140
141
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
141
142
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
142
143
|
| mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
|
|
@@ -146,8 +147,8 @@
|
|
|
146
147
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
147
148
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-07-02 01:19:41 |
|
|
148
149
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-07-11 01:20:22 |
|
|
149
|
-
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-
|
|
150
|
-
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-
|
|
150
|
+
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-18 01:15:51 |
|
|
151
|
+
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-18 01:15:58 |
|
|
151
152
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-07-16 01:21:13 |
|
|
152
153
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-06-14 02:16:42 |
|
|
153
154
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-06-05 02:02:03 |
|
|
@@ -200,11 +201,11 @@
|
|
|
200
201
|
| tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2024-03-20 01:24:49 |
|
|
201
202
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
202
203
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2024-06-18 02:13:19 |
|
|
203
|
-
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-07-
|
|
204
|
+
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-07-18 01:20:10 |
|
|
204
205
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-06-26 01:23:56 |
|
|
205
206
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
|
|
206
207
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
|
|
207
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-
|
|
208
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-17 01:25:48 |
|
|
208
209
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 |
|
|
209
210
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-06-25 01:23:38 |
|
|
210
211
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-07-03 19:33:55 |
|
|
@@ -229,7 +230,7 @@
|
|
|
229
230
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-12 01:27:45 |
|
|
230
231
|
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-07-10 01:27:48 |
|
|
231
232
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-11 01:28:05 |
|
|
232
|
-
| tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-07-
|
|
233
|
+
| tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-07-17 01:28:37 |
|
|
233
234
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
|
|
234
235
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-07-08 01:25:23 |
|
|
235
236
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
|
|
@@ -238,8 +239,8 @@
|
|
|
238
239
|
| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-07-09 01:25:36 |
|
|
239
240
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-06-06 02:47:30 |
|
|
240
241
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
|
|
241
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-
|
|
242
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-
|
|
242
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-17 01:28:46 |
|
|
243
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-18 01:24:25 |
|
|
243
244
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
|
|
244
245
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 |
|
|
245
246
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-10 01:30:00 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.899"
|
|
@@ -822,92 +822,127 @@ export interface DedicatedClusterOrder {
|
|
|
822
822
|
/**
|
|
823
823
|
* 专用集群id
|
|
824
824
|
*/
|
|
825
|
-
DedicatedClusterId
|
|
825
|
+
DedicatedClusterId?: string
|
|
826
826
|
/**
|
|
827
827
|
* 专用集群类型id(移到下一层级,已经废弃,后续将删除)
|
|
828
828
|
*/
|
|
829
|
-
DedicatedClusterTypeId
|
|
829
|
+
DedicatedClusterTypeId?: string
|
|
830
830
|
/**
|
|
831
831
|
* 支持的存储类型列表(移到下一层级,已经废弃,后续将删除)
|
|
832
832
|
*/
|
|
833
|
-
SupportedStorageType
|
|
833
|
+
SupportedStorageType?: Array<string>
|
|
834
834
|
/**
|
|
835
835
|
* 支持的上连交换机的链路传输速率(GiB)(移到下一层级,已经废弃,后续将删除)
|
|
836
836
|
*/
|
|
837
|
-
SupportedUplinkSpeed
|
|
837
|
+
SupportedUplinkSpeed?: Array<number | bigint>
|
|
838
838
|
/**
|
|
839
839
|
* 支持的实例族列表(移到下一层级,已经废弃,后续将删除)
|
|
840
840
|
*/
|
|
841
|
-
SupportedInstanceFamily
|
|
841
|
+
SupportedInstanceFamily?: Array<string>
|
|
842
842
|
/**
|
|
843
843
|
* 地板承重要求(KG)
|
|
844
844
|
*/
|
|
845
|
-
Weight
|
|
845
|
+
Weight?: number
|
|
846
846
|
/**
|
|
847
847
|
* 功率要求(KW)
|
|
848
848
|
*/
|
|
849
|
-
PowerDraw
|
|
849
|
+
PowerDraw?: number
|
|
850
850
|
/**
|
|
851
851
|
* 订单状态
|
|
852
852
|
*/
|
|
853
|
-
OrderStatus
|
|
853
|
+
OrderStatus?: string
|
|
854
854
|
/**
|
|
855
855
|
* 订单创建的时间
|
|
856
856
|
*/
|
|
857
|
-
CreateTime
|
|
857
|
+
CreateTime?: string
|
|
858
858
|
/**
|
|
859
859
|
* 大订单ID
|
|
860
860
|
*/
|
|
861
|
-
DedicatedClusterOrderId
|
|
861
|
+
DedicatedClusterOrderId?: string
|
|
862
862
|
/**
|
|
863
863
|
* 订单类型,创建CREATE或扩容EXTEND
|
|
864
864
|
*/
|
|
865
|
-
Action
|
|
865
|
+
Action?: string
|
|
866
866
|
/**
|
|
867
867
|
* 子订单详情列表
|
|
868
868
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
869
869
|
*/
|
|
870
|
-
DedicatedClusterOrderItems
|
|
870
|
+
DedicatedClusterOrderItems?: Array<DedicatedClusterOrderItem>
|
|
871
871
|
/**
|
|
872
872
|
* cpu值
|
|
873
873
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
874
874
|
*/
|
|
875
|
-
Cpu
|
|
875
|
+
Cpu?: number
|
|
876
876
|
/**
|
|
877
877
|
* mem值
|
|
878
878
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
879
879
|
*/
|
|
880
|
-
Mem
|
|
880
|
+
Mem?: number
|
|
881
881
|
/**
|
|
882
882
|
* gpu值
|
|
883
883
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
884
884
|
*/
|
|
885
|
-
Gpu
|
|
885
|
+
Gpu?: number
|
|
886
886
|
/**
|
|
887
887
|
* 0代表未支付,1代表已支付
|
|
888
888
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
889
889
|
*/
|
|
890
|
-
PayStatus
|
|
890
|
+
PayStatus?: number
|
|
891
891
|
/**
|
|
892
892
|
* 支付方式,一次性、按月、按年
|
|
893
893
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
894
894
|
*/
|
|
895
|
-
PayType
|
|
895
|
+
PayType?: string
|
|
896
896
|
/**
|
|
897
897
|
* 购买时长的单位
|
|
898
898
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
899
899
|
*/
|
|
900
|
-
TimeUnit
|
|
900
|
+
TimeUnit?: string
|
|
901
901
|
/**
|
|
902
902
|
* 购买时长
|
|
903
903
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
904
904
|
*/
|
|
905
|
-
TimeSpan
|
|
905
|
+
TimeSpan?: number
|
|
906
906
|
/**
|
|
907
907
|
* 订单类型
|
|
908
908
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
909
909
|
*/
|
|
910
|
-
OrderType
|
|
910
|
+
OrderType?: string
|
|
911
|
+
/**
|
|
912
|
+
* 验收状态
|
|
913
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
914
|
+
*/
|
|
915
|
+
CheckStatus?: string
|
|
916
|
+
/**
|
|
917
|
+
* 交付预期时间
|
|
918
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
919
|
+
*/
|
|
920
|
+
DeliverExpectTime?: string
|
|
921
|
+
/**
|
|
922
|
+
* 交付实际完成时间
|
|
923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
924
|
+
*/
|
|
925
|
+
DeliverFinishTime?: string
|
|
926
|
+
/**
|
|
927
|
+
* 验收预期时间
|
|
928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
929
|
+
*/
|
|
930
|
+
CheckExpectTime?: string
|
|
931
|
+
/**
|
|
932
|
+
* 验收实际完成时间
|
|
933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
934
|
+
*/
|
|
935
|
+
CheckFinishTime?: string
|
|
936
|
+
/**
|
|
937
|
+
* 订单SLA
|
|
938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
939
|
+
*/
|
|
940
|
+
OrderSLA?: string
|
|
941
|
+
/**
|
|
942
|
+
* 订单支付计划
|
|
943
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
944
|
+
*/
|
|
945
|
+
OrderPayPlan?: string
|
|
911
946
|
}
|
|
912
947
|
|
|
913
948
|
/**
|
|
@@ -1126,6 +1161,10 @@ export interface DescribeDedicatedClusterOrdersRequest {
|
|
|
1126
1161
|
* 订单类型为过滤条件:CREATE EXTEND
|
|
1127
1162
|
*/
|
|
1128
1163
|
ActionType?: string
|
|
1164
|
+
/**
|
|
1165
|
+
* 订单类型列表
|
|
1166
|
+
*/
|
|
1167
|
+
OrderTypes?: Array<string>
|
|
1129
1168
|
}
|
|
1130
1169
|
|
|
1131
1170
|
/**
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
+
import { ClientConfig } from "../../../common/interface"
|
|
20
|
+
import { SaleParam, VerifyLicenseRequest, VerifyLicenseResponse, License } from "./cloudapp_models"
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* cloudapp client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
export class Client extends AbstractClient {
|
|
27
|
+
constructor(clientConfig: ClientConfig) {
|
|
28
|
+
super("cloudapp.tencentcloudapi.com", "2022-05-30", clientConfig)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 通过运行时roleId查询对应的软件 LICENSE
|
|
33
|
+
*/
|
|
34
|
+
async VerifyLicense(
|
|
35
|
+
req?: VerifyLicenseRequest,
|
|
36
|
+
cb?: (error: string, rep: VerifyLicenseResponse) => void
|
|
37
|
+
): Promise<VerifyLicenseResponse> {
|
|
38
|
+
return this.request("VerifyLicense", req, cb)
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 表示商品 SKU 的单个售卖参数
|
|
20
|
+
*/
|
|
21
|
+
export interface SaleParam {
|
|
22
|
+
/**
|
|
23
|
+
* 售卖参数标识
|
|
24
|
+
*/
|
|
25
|
+
ParamKey?: string
|
|
26
|
+
/**
|
|
27
|
+
* 售卖参数值
|
|
28
|
+
*/
|
|
29
|
+
ParamValue?: string
|
|
30
|
+
/**
|
|
31
|
+
* 售卖参数的展示名称
|
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
|
+
*/
|
|
34
|
+
ParamKeyName?: string
|
|
35
|
+
/**
|
|
36
|
+
* 售卖参数值的展示名称
|
|
37
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38
|
+
*/
|
|
39
|
+
ParamValueName?: string
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* VerifyLicense请求参数结构体
|
|
44
|
+
*/
|
|
45
|
+
export type VerifyLicenseRequest = null
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* VerifyLicense返回参数结构体
|
|
49
|
+
*/
|
|
50
|
+
export interface VerifyLicenseResponse {
|
|
51
|
+
/**
|
|
52
|
+
* 软件的详细授权信息。
|
|
53
|
+
*/
|
|
54
|
+
License?: License
|
|
55
|
+
/**
|
|
56
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
57
|
+
*/
|
|
58
|
+
RequestId?: string
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 表示应用实例的软件授权,包含颁发信息、激活信息等内容。
|
|
63
|
+
*/
|
|
64
|
+
export interface License {
|
|
65
|
+
/**
|
|
66
|
+
* License ID
|
|
67
|
+
*/
|
|
68
|
+
LicenseId?: string
|
|
69
|
+
/**
|
|
70
|
+
* 软件授权模式。
|
|
71
|
+
|
|
72
|
+
<table>
|
|
73
|
+
<thead>
|
|
74
|
+
<tr>
|
|
75
|
+
<th>枚举值</th>
|
|
76
|
+
<th>说明</th>
|
|
77
|
+
</tr>
|
|
78
|
+
</thead>
|
|
79
|
+
<tbody><tr>
|
|
80
|
+
<td>Permanent</td>
|
|
81
|
+
<td>永久授权。该授权不受有效期限制。</td>
|
|
82
|
+
</tr>
|
|
83
|
+
<tr>
|
|
84
|
+
<td>Subscription</td>
|
|
85
|
+
<td>订阅授权。授权如果过了有效期,则会进入过期状态。</td>
|
|
86
|
+
</tr>
|
|
87
|
+
</tbody></table>
|
|
88
|
+
*/
|
|
89
|
+
LicenseMode?: string
|
|
90
|
+
/**
|
|
91
|
+
* 软件的授权状态。
|
|
92
|
+
|
|
93
|
+
<table>
|
|
94
|
+
<thead>
|
|
95
|
+
<tr>
|
|
96
|
+
<th>枚举值</th>
|
|
97
|
+
<th>说明</th>
|
|
98
|
+
</tr>
|
|
99
|
+
</thead>
|
|
100
|
+
<tbody><tr>
|
|
101
|
+
<td>Issued</td>
|
|
102
|
+
<td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td>
|
|
103
|
+
</tr>
|
|
104
|
+
<tr>
|
|
105
|
+
<td>Active</td>
|
|
106
|
+
<td>授权在有效期内,这是软件运行期间最常见的状态。</td>
|
|
107
|
+
</tr>
|
|
108
|
+
<tr>
|
|
109
|
+
<td>Expired</td>
|
|
110
|
+
<td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tr>
|
|
113
|
+
<td>Deactivated</td>
|
|
114
|
+
<td>授权已失效。用户如果退货软件,则授权会自动失效。</td>
|
|
115
|
+
</tr>
|
|
116
|
+
</tbody></table>
|
|
117
|
+
*/
|
|
118
|
+
LicenseStatus?: string
|
|
119
|
+
/**
|
|
120
|
+
* 软件供应方 ID。
|
|
121
|
+
*/
|
|
122
|
+
ProviderId?: number
|
|
123
|
+
/**
|
|
124
|
+
* 软件包 ID。
|
|
125
|
+
*/
|
|
126
|
+
SoftwarePackageId?: string
|
|
127
|
+
/**
|
|
128
|
+
* 软件包版本。
|
|
129
|
+
*/
|
|
130
|
+
SoftwarePackageVersion?: string
|
|
131
|
+
/**
|
|
132
|
+
* 被授权的用户 UIN。
|
|
133
|
+
*/
|
|
134
|
+
AuthorizedUserUin?: string
|
|
135
|
+
/**
|
|
136
|
+
* 被授权的应用实例 ID。
|
|
137
|
+
*/
|
|
138
|
+
AuthorizedCloudappId?: string
|
|
139
|
+
/**
|
|
140
|
+
* 被授权的角色 ID。
|
|
141
|
+
*/
|
|
142
|
+
AuthorizedCloudappRoleId?: string
|
|
143
|
+
/**
|
|
144
|
+
* 被授权的软件规格,具体字段请参考结构SaleParam
|
|
145
|
+
*/
|
|
146
|
+
AuthorizedSpecification?: Array<SaleParam>
|
|
147
|
+
/**
|
|
148
|
+
* 被授权的软件的计费模式。
|
|
149
|
+
|
|
150
|
+
<table>
|
|
151
|
+
<thead>
|
|
152
|
+
<tr>
|
|
153
|
+
<th>枚举值</th>
|
|
154
|
+
<th>说明</th>
|
|
155
|
+
</tr>
|
|
156
|
+
</thead>
|
|
157
|
+
<tbody><tr>
|
|
158
|
+
<td>1</td>
|
|
159
|
+
<td>线上计费,软件的授权从腾讯云线上购买,支持续费、退款等操作。</td>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr>
|
|
162
|
+
<td>2</td>
|
|
163
|
+
<td>线下计费,软件的授权线下签订合同购买,定向客户交付,无法从线上续费和退款。</td>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr>
|
|
166
|
+
<td>4</td>
|
|
167
|
+
<td>免费</td>
|
|
168
|
+
</tr>
|
|
169
|
+
</tbody></table>
|
|
170
|
+
*/
|
|
171
|
+
BillingMode?: number
|
|
172
|
+
/**
|
|
173
|
+
* 授权时长(单位由LifeSpanUnit确定,枚举值有Y年/M月/D日三种)
|
|
174
|
+
*/
|
|
175
|
+
LifeSpan?: number
|
|
176
|
+
/**
|
|
177
|
+
* 授权颁发时间。
|
|
178
|
+
*/
|
|
179
|
+
IssueDate?: string
|
|
180
|
+
/**
|
|
181
|
+
* 授权激活时间,如从未激活则返回 null。
|
|
182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
183
|
+
*/
|
|
184
|
+
ActivationDate?: string
|
|
185
|
+
/**
|
|
186
|
+
* 授权过期时间,如未过期或者是永久授权,则返回 null。
|
|
187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
188
|
+
*/
|
|
189
|
+
ExpirationDate?: string
|
|
190
|
+
/**
|
|
191
|
+
* 授权时长单位,枚举值有Y年/M月/D日三种
|
|
192
|
+
*/
|
|
193
|
+
LifeSpanUnit?: string
|
|
194
|
+
}
|
|
@@ -3358,7 +3358,7 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
3358
3358
|
LaunchTemplateVersionDescription?: string
|
|
3359
3359
|
/**
|
|
3360
3360
|
* 实例机型。不同实例机型指定了不同的资源规格。
|
|
3361
|
-
<br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
3361
|
+
<br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则系统将根据当前地域的资源售卖情况动态指定默认机型。</li><br><li>对于付费模式为CDHPAID的实例创建,该参数以"CDH_"为前缀,根据CPU和内存配置生成,具体形式为:CDH_XCXG,例如对于创建CPU为1核,内存为1G大小的专用宿主机的实例,该参数应该为CDH_1C1G。</li>
|
|
3362
3362
|
*/
|
|
3363
3363
|
InstanceType?: string
|
|
3364
3364
|
/**
|
|
@@ -3386,7 +3386,7 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
3386
3386
|
*/
|
|
3387
3387
|
InstanceCount?: number
|
|
3388
3388
|
/**
|
|
3389
|
-
* 实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60
|
|
3389
|
+
* 实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60个字符(包含模式串)。</li>
|
|
3390
3390
|
*/
|
|
3391
3391
|
InstanceName?: string
|
|
3392
3392
|
/**
|
|
@@ -3406,7 +3406,7 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
3406
3406
|
*/
|
|
3407
3407
|
ClientToken?: string
|
|
3408
3408
|
/**
|
|
3409
|
-
* 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName
|
|
3409
|
+
* 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><br><li>Windows 实例:名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><br><li>其他类型(Linux 等)实例:字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li>
|
|
3410
3410
|
*/
|
|
3411
3411
|
HostName?: string
|
|
3412
3412
|
/**
|
|
@@ -3446,7 +3446,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
|
3446
3446
|
*/
|
|
3447
3447
|
HpcClusterId?: string
|
|
3448
3448
|
/**
|
|
3449
|
-
* 实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
3449
|
+
* 实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>CDHPAID:独享子机(基于专用宿主机创建,宿主机部分的资源不收费)</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。
|
|
3450
3450
|
*/
|
|
3451
3451
|
InstanceChargeType?: string
|
|
3452
3452
|
/**
|
|
@@ -3454,7 +3454,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
|
3454
3454
|
*/
|
|
3455
3455
|
InstanceChargePrepaid?: InstanceChargePrepaid
|
|
3456
3456
|
/**
|
|
3457
|
-
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api
|
|
3457
|
+
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例</li><br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例</li><br><br>默认取值:FALSE。
|
|
3458
3458
|
*/
|
|
3459
3459
|
DisableApiTermination?: boolean
|
|
3460
3460
|
}
|
|
@@ -3679,7 +3679,7 @@ export interface CreateLaunchTemplateRequest {
|
|
|
3679
3679
|
LaunchTemplateVersionDescription?: string
|
|
3680
3680
|
/**
|
|
3681
3681
|
* 实例机型。不同实例机型指定了不同的资源规格。
|
|
3682
|
-
<br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)
|
|
3682
|
+
<br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则系统将根据当前地域的资源售卖情况动态指定默认机型。</li><li>对于付费模式为CDHPAID的实例创建,该参数以"CDH_"为前缀,根据CPU和内存配置生成,具体形式为:CDH_XCXG,例如对于创建CPU为1核,内存为1G大小的专用宿主机的实例,该参数应该为CDH_1C1G。</li>
|
|
3683
3683
|
*/
|
|
3684
3684
|
InstanceType?: string
|
|
3685
3685
|
/**
|
|
@@ -3703,7 +3703,7 @@ export interface CreateLaunchTemplateRequest {
|
|
|
3703
3703
|
*/
|
|
3704
3704
|
InstanceCount?: number
|
|
3705
3705
|
/**
|
|
3706
|
-
* 实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60
|
|
3706
|
+
* 实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60个字符(包含模式串)。</li>
|
|
3707
3707
|
*/
|
|
3708
3708
|
InstanceName?: string
|
|
3709
3709
|
/**
|
|
@@ -3723,7 +3723,7 @@ export interface CreateLaunchTemplateRequest {
|
|
|
3723
3723
|
*/
|
|
3724
3724
|
ClientToken?: string
|
|
3725
3725
|
/**
|
|
3726
|
-
* 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName
|
|
3726
|
+
* 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><li>Windows 实例:名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><li>其他类型(Linux 等)实例:字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li>
|
|
3727
3727
|
*/
|
|
3728
3728
|
HostName?: string
|
|
3729
3729
|
/**
|
|
@@ -3763,7 +3763,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
|
3763
3763
|
*/
|
|
3764
3764
|
HpcClusterId?: string
|
|
3765
3765
|
/**
|
|
3766
|
-
* 实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID
|
|
3766
|
+
* 实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>CDHPAID:独享子机(基于专用宿主机创建,宿主机部分的资源不收费)</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。
|
|
3767
3767
|
*/
|
|
3768
3768
|
InstanceChargeType?: string
|
|
3769
3769
|
/**
|
|
@@ -3771,7 +3771,7 @@ false(默认):发送正常请求,通过检查后直接创建实例。
|
|
|
3771
3771
|
*/
|
|
3772
3772
|
InstanceChargePrepaid?: InstanceChargePrepaid
|
|
3773
3773
|
/**
|
|
3774
|
-
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api
|
|
3774
|
+
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例</li><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br></li>默认取值:FALSE。
|
|
3775
3775
|
*/
|
|
3776
3776
|
DisableApiTermination?: boolean
|
|
3777
3777
|
}
|