tencentcloud-sdk-nodejs-tione 4.1.91 → 4.1.103

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tione",
3
- "version": "4.1.91",
3
+ "version": "4.1.103",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -166,11 +166,11 @@ export interface CreateModelServiceRequest {
166
166
  */
167
167
  InstancePerReplicas?: number;
168
168
  /**
169
- * 30
169
+ * 服务的优雅退出时限。单位为秒,默认值为30,最小为1
170
170
  */
171
171
  TerminationGracePeriodSeconds?: number;
172
172
  /**
173
- * ["sleep","60"]
173
+ * 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
174
174
  */
175
175
  PreStopCommand?: Array<string>;
176
176
  /**
@@ -189,6 +189,10 @@ export interface CreateModelServiceRequest {
189
189
  * sidecar配置
190
190
  */
191
191
  Sidecar?: SidecarSpec;
192
+ /**
193
+ * 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
194
+ */
195
+ VolumeMounts?: Array<VolumeMount>;
192
196
  }
193
197
  /**
194
198
  * DescribeLogs请求参数结构体
@@ -840,6 +844,14 @@ export interface Service {
840
844
  * 服务创建者的子账号名称
841
845
  */
842
846
  SubUinName?: string;
847
+ /**
848
+ * 服务的调度策略
849
+ */
850
+ SchedulingPolicy?: SchedulingPolicy;
851
+ /**
852
+ * 外部的资源组信息,表示借调了哪些资源组的资源
853
+ */
854
+ ExternalResourceGroups?: Array<ResourceGroupInfo>;
843
855
  }
844
856
  /**
845
857
  * 跨租户弹性网卡下Pod调用信息
@@ -969,6 +981,11 @@ export interface VolumeMount {
969
981
  * 挂载源类型,CFS、COS,默认为CFS
970
982
  */
971
983
  VolumeSourceType?: string;
984
+ /**
985
+ * 自定义容器内挂载路径
986
+ 注意:此字段可能返回 null,表示取不到有效值。
987
+ */
988
+ MountPath?: string;
972
989
  }
973
990
  /**
974
991
  * ModifyNotebookTags返回参数结构体
@@ -1462,11 +1479,11 @@ export interface ModifyModelServiceRequest {
1462
1479
  */
1463
1480
  InstancePerReplicas?: number;
1464
1481
  /**
1465
- * 30
1482
+ * 服务的优雅退出时限。单位为秒,默认值为30,最小为1
1466
1483
  */
1467
1484
  TerminationGracePeriodSeconds?: number;
1468
1485
  /**
1469
- * ["sleep","60"]
1486
+ * 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
1470
1487
  */
1471
1488
  PreStopCommand?: Array<string>;
1472
1489
  /**
@@ -1489,6 +1506,10 @@ export interface ModifyModelServiceRequest {
1489
1506
  * 资源组 id
1490
1507
  */
1491
1508
  ResourceGroupId?: string;
1509
+ /**
1510
+ * 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
1511
+ */
1512
+ VolumeMounts?: Array<VolumeMount>;
1492
1513
  }
1493
1514
  /**
1494
1515
  * ChatCompletion请求参数结构体
@@ -1979,6 +2000,19 @@ export interface InferGatewayCallInfo {
1979
2000
  */
1980
2001
  SubnetId: string;
1981
2002
  }
2003
+ /**
2004
+ * 在线服务中服务的资源组简略信息结构
2005
+ */
2006
+ export interface ResourceGroupInfo {
2007
+ /**
2008
+ * 资源组 id
2009
+ */
2010
+ ResourceGroupId?: string;
2011
+ /**
2012
+ * 资源组名称
2013
+ */
2014
+ ResourceGroupName?: string;
2015
+ }
1982
2016
  /**
1983
2017
  * CreateNotebook请求参数结构体
1984
2018
  */
@@ -2210,7 +2244,16 @@ export interface ResourceConfigInfo {
2210
2244
  /**
2211
2245
  * 公有云数据源结构
2212
2246
  */
2213
- export declare type PublicDataSourceFS = null;
2247
+ export interface PublicDataSourceFS {
2248
+ /**
2249
+ * 数据源id
2250
+ */
2251
+ DataSourceId?: string;
2252
+ /**
2253
+ * 相对数据源子路径
2254
+ */
2255
+ SubPath?: string;
2256
+ }
2214
2257
  /**
2215
2258
  * 配置GooseFS参数
2216
2259
  */
@@ -2335,6 +2378,15 @@ export interface ModifyModelServiceAuthTokenRequest {
2335
2378
  */
2336
2379
  AuthToken?: AuthToken;
2337
2380
  }
2381
+ /**
2382
+ * 服务的调度策略配置
2383
+ */
2384
+ export interface SchedulingPolicy {
2385
+ /**
2386
+ * 是否启用了跨资源组调度开关
2387
+ */
2388
+ CrossResourceGroupScheduling?: boolean;
2389
+ }
2338
2390
  /**
2339
2391
  * 单条日志数据结构
2340
2392
  */
@@ -3199,6 +3251,14 @@ export interface ServiceInfo {
3199
3251
  * 滚动更新配置
3200
3252
  */
3201
3253
  RollingUpdate?: RollingUpdate;
3254
+ /**
3255
+ * 单副本下的实例数,仅在部署类型为DIST、ROLE时生效,默认1
3256
+ */
3257
+ InstancePerReplicas?: number;
3258
+ /**
3259
+ * 批量数据盘挂载配置
3260
+ */
3261
+ VolumeMounts?: Array<VolumeMount>;
3202
3262
  }
3203
3263
  /**
3204
3264
  * DescribeModelService请求参数结构体
@@ -4818,7 +4878,7 @@ export interface ResourceGroup {
4818
4878
  */
4819
4879
  TotalInstance?: number;
4820
4880
  /**
4821
- * 资资源组已用的资源
4881
+ * 资源组已用的资源
4822
4882
  注意:此字段可能返回 null,表示取不到有效值。
4823
4883
  */
4824
4884
  UsedResource?: GroupResource;
@@ -6101,6 +6161,22 @@ export interface Pod {
6101
6161
  * 当前实例所在的节点 IP
6102
6162
  */
6103
6163
  NodeIP?: string;
6164
+ /**
6165
+ * 当前实例所在节点id
6166
+ */
6167
+ NodeId?: string;
6168
+ /**
6169
+ * 当时实例所属资源组 id
6170
+ */
6171
+ ResourceGroupId?: string;
6172
+ /**
6173
+ * 资源组名称
6174
+ */
6175
+ ResourceGroupName?: string;
6176
+ /**
6177
+ * 实例的资源占用信息
6178
+ */
6179
+ ResourceInfo?: ResourceInfo;
6104
6180
  }
6105
6181
  /**
6106
6182
  * DescribeEvents请求参数结构体