tencentcloud-sdk-nodejs-tione 4.0.1052 → 4.0.1054

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tione",
3
- "version": "4.0.1052",
4
- "description": "Tencent Cloud API NODEJS SDK",
3
+ "version": "4.0.1054",
4
+ "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
7
7
  "test": "mocha -t 10000",
@@ -22,7 +22,7 @@
22
22
  "author": "tencentcloudapi",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "tencentcloud-sdk-nodejs-common": "^4.0.488",
25
+ "tencentcloud-sdk-nodejs-common": "*",
26
26
  "tslib": "1.13.0"
27
27
  },
28
28
  "directories": {
@@ -35,14 +35,19 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/form-data": "^2.5.0",
38
+ "@types/json-bigint": "^1.0.1",
38
39
  "@types/node": "^14.0.26",
39
40
  "@types/node-fetch": "^2.5.7",
41
+ "@types/uuid": "^9.0.8",
40
42
  "@typescript-eslint/eslint-plugin": "^2.34.0",
41
43
  "@typescript-eslint/parser": "^2.34.0",
44
+ "babel-eslint": "^10.0.2",
42
45
  "chai": "^4.2.0",
43
46
  "eslint": "^6.8.0",
47
+ "eslint-plugin-react": "^7.17.0",
44
48
  "mocha": "^8.1.1",
49
+ "prettier": "^2.3.0",
45
50
  "ts-node": "^8.10.2",
46
51
  "typescript": "^3.9.7"
47
52
  }
48
- }
53
+ }
@@ -182,6 +182,14 @@ HYBRID_PAID:
182
182
  * 单副本下的实例数,仅在部署类型为DIST时生效,默认1
183
183
  */
184
184
  InstancePerReplicas?: number
185
+ /**
186
+ * 30
187
+ */
188
+ TerminationGracePeriodSeconds?: number
189
+ /**
190
+ * ["sleep","60"]
191
+ */
192
+ PreStopCommand?: Array<string>
185
193
  }
186
194
 
187
195
  /**
@@ -1337,6 +1345,14 @@ HYBRID_PAID:
1337
1345
  * 单副本下的实例数,仅在部署类型为DIST时生效,默认1
1338
1346
  */
1339
1347
  InstancePerReplicas?: number
1348
+ /**
1349
+ * 30
1350
+ */
1351
+ TerminationGracePeriodSeconds?: number
1352
+ /**
1353
+ * ["sleep","60"]
1354
+ */
1355
+ PreStopCommand?: Array<string>
1340
1356
  }
1341
1357
 
1342
1358
  /**
@@ -2935,6 +2951,14 @@ HYBRID_PAID:
2935
2951
  注意:此字段可能返回 null,表示取不到有效值。
2936
2952
  */
2937
2953
  ServicePort?: number
2954
+ /**
2955
+ * 服务的优雅退出时限。单位为秒,默认值为30,最小为1
2956
+ */
2957
+ TerminationGracePeriodSeconds?: number
2958
+ /**
2959
+ * 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
2960
+ */
2961
+ PreStopCommand?: Array<string>
2938
2962
  }
2939
2963
 
2940
2964
  /**
@@ -165,6 +165,14 @@ export interface CreateModelServiceRequest {
165
165
  * 单副本下的实例数,仅在部署类型为DIST时生效,默认1
166
166
  */
167
167
  InstancePerReplicas?: number;
168
+ /**
169
+ * 30
170
+ */
171
+ TerminationGracePeriodSeconds?: number;
172
+ /**
173
+ * ["sleep","60"]
174
+ */
175
+ PreStopCommand?: Array<string>;
168
176
  }
169
177
  /**
170
178
  * 描述在线服务
@@ -1283,6 +1291,14 @@ export interface ModifyModelServiceRequest {
1283
1291
  * 单副本下的实例数,仅在部署类型为DIST时生效,默认1
1284
1292
  */
1285
1293
  InstancePerReplicas?: number;
1294
+ /**
1295
+ * 30
1296
+ */
1297
+ TerminationGracePeriodSeconds?: number;
1298
+ /**
1299
+ * ["sleep","60"]
1300
+ */
1301
+ PreStopCommand?: Array<string>;
1286
1302
  }
1287
1303
  /**
1288
1304
  * ChatCompletion请求参数结构体
@@ -2839,6 +2855,14 @@ export interface ServiceInfo {
2839
2855
  注意:此字段可能返回 null,表示取不到有效值。
2840
2856
  */
2841
2857
  ServicePort?: number;
2858
+ /**
2859
+ * 服务的优雅退出时限。单位为秒,默认值为30,最小为1
2860
+ */
2861
+ TerminationGracePeriodSeconds?: number;
2862
+ /**
2863
+ * 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
2864
+ */
2865
+ PreStopCommand?: Array<string>;
2842
2866
  }
2843
2867
  /**
2844
2868
  * DescribeModelService请求参数结构体