tencentcloud-sdk-nodejs 4.1.173 → 4.1.175
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/es/common/sdk_version.js +1 -1
- package/es/services/advisor/v20200721/advisor_client.js +3 -0
- package/es/services/ai3d/v20250513/ai3d_client.js +6 -0
- package/es/services/billing/v20180709/billing_client.js +13 -4
- package/es/services/ess/v20201111/ess_client.js +3 -0
- package/es/services/hunyuan/v20230901/hunyuan_client.js +39 -33
- package/es/services/lcic/v20220817/lcic_client.js +10 -4
- package/es/services/thpc/v20230321/thpc_client.js +3 -0
- package/es/services/tione/v20211111/tione_client.js +3 -0
- package/es/services/vod/v20180717/vod_client.js +3 -0
- package/es/services/vpc/v20170312/vpc_client.js +3 -0
- package/es/services/waf/v20180125/waf_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/advisor/v20200721/advisor_client.d.ts +5 -1
- package/tencentcloud/services/advisor/v20200721/advisor_client.js +6 -0
- package/tencentcloud/services/advisor/v20200721/advisor_models.d.ts +41 -24
- package/tencentcloud/services/ai3d/v20250513/ai3d_client.d.ts +11 -1
- package/tencentcloud/services/ai3d/v20250513/ai3d_client.js +14 -0
- package/tencentcloud/services/ai3d/v20250513/ai3d_models.d.ts +113 -11
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +17 -5
- package/tencentcloud/services/billing/v20180709/billing_client.js +24 -6
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +156 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +39 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +10 -11
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +61 -45
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +5 -4
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +12 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +97 -10
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +6 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +72 -62
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +97 -83
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +99 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +13 -5
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +18 -6
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +119 -87
- package/tencentcloud/services/live/v20180801/live_models.d.ts +12 -20
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +84 -21
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +44 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -72
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +8 -8
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +1 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +16 -21
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +17 -4
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +63 -73
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +111 -102
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -1
- package/tencentcloud/services/tione/v20211111/tione_client.js +6 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +40 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +7 -7
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +7 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +8 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +208 -23
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +5 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +6 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +49 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +17 -0
|
@@ -74,6 +74,15 @@ export interface ClusterOverview {
|
|
|
74
74
|
*/
|
|
75
75
|
DeletionProtection?: string;
|
|
76
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* ModifyNodeAttribute返回参数结构体
|
|
79
|
+
*/
|
|
80
|
+
export interface ModifyNodeAttributeResponse {
|
|
81
|
+
/**
|
|
82
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
83
|
+
*/
|
|
84
|
+
RequestId?: string;
|
|
85
|
+
}
|
|
77
86
|
/**
|
|
78
87
|
* 节点概览信息。
|
|
79
88
|
*/
|
|
@@ -395,11 +404,11 @@ export interface SpaceChargePrepaid {
|
|
|
395
404
|
*/
|
|
396
405
|
export interface DescribeWorkspacesResponse {
|
|
397
406
|
/**
|
|
398
|
-
*
|
|
407
|
+
* <p>集群概览信息列表</p>
|
|
399
408
|
*/
|
|
400
409
|
SpaceSet?: Array<SpaceInfo>;
|
|
401
410
|
/**
|
|
402
|
-
*
|
|
411
|
+
* <p>集群数量</p>
|
|
403
412
|
*/
|
|
404
413
|
TotalCount?: number;
|
|
405
414
|
/**
|
|
@@ -570,19 +579,19 @@ export interface AddClusterStorageOptionResponse {
|
|
|
570
579
|
*/
|
|
571
580
|
export interface DescribeWorkspacesRequest {
|
|
572
581
|
/**
|
|
573
|
-
*
|
|
582
|
+
* <p>集群ID列表。通过该参数可以指定需要查询信息的集群列表。<br>如果您不指定该参数,则返回Limit数量以内的集群信息。</p>
|
|
574
583
|
*/
|
|
575
584
|
SpaceIds?: Array<string>;
|
|
576
585
|
/**
|
|
577
|
-
*
|
|
586
|
+
* <p>偏移量,默认为0。关于<code>Offset</code>的更进一步介绍请参考 API <a href="https://cloud.tencent.com/document/api/213/15688">简介</a>中的相关小节。</p>
|
|
578
587
|
*/
|
|
579
588
|
Offset?: number;
|
|
580
589
|
/**
|
|
581
|
-
*
|
|
590
|
+
* <p>返回数量,默认为20,最大值为100。关于<code>Limit</code>的更进一步介绍请参考 API <a href="https://cloud.tencent.com/document/api/213/15688">简介</a>中的相关小节。</p>
|
|
582
591
|
*/
|
|
583
592
|
Limit?: number;
|
|
584
593
|
/**
|
|
585
|
-
* <ul> <li> <strong>zone</strong> <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>space-id</strong> <p style="padding-left: 30px;">按照【<strong>工作空间实例ID</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>cvm-instance-id</strong> <p style="padding-left: 30px;">按照【<strong>CVM实例ID</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>space-state</strong> <p style="padding-left: 30px;">按照【<strong>工作空间状态</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>space-name</strong> <p style="padding-left: 30px;">按照【<strong>工作空间别名</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>space-charge-type</strong> <p style="padding-left: 30px;">按照【<strong>工作空间实例付费模式</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>tag-key</strong> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>tag-value</strong> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> </ul> <p style="padding-left: 30px;"
|
|
594
|
+
* <ul> <li> <strong>zone</strong> <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>space-id</strong> <p style="padding-left: 30px;">按照【<strong>工作空间实例ID</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>cvm-instance-id</strong> <p style="padding-left: 30px;">按照【<strong>CVM实例ID</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>space-state</strong> <p style="padding-left: 30px;">按照【<strong>工作空间状态</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>space-name</strong> <p style="padding-left: 30px;">按照【<strong>工作空间别名</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>space-charge-type</strong> <p style="padding-left: 30px;">按照【<strong>工作空间实例付费模式</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>tag-key</strong> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> <li> <strong>tag-value</strong> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p></li> </ul> <p style="padding-left: 30px;">每次请求的<code>Filters</code>的上限为10,<code>Filter.Values</code>的上限为5。</p>
|
|
586
595
|
*/
|
|
587
596
|
Filters?: Array<Filter>;
|
|
588
597
|
}
|
|
@@ -808,6 +817,27 @@ export interface CFSOption {
|
|
|
808
817
|
*/
|
|
809
818
|
FileSystemId?: string;
|
|
810
819
|
}
|
|
820
|
+
/**
|
|
821
|
+
* ModifyNodeAttribute请求参数结构体
|
|
822
|
+
*/
|
|
823
|
+
export interface ModifyNodeAttributeRequest {
|
|
824
|
+
/**
|
|
825
|
+
* <p>节点ID,节点ID通过调用接口 <a href="https://cloud.tencent.com/document/api/1527/89569">DescribeNodes</a>获取。</p>
|
|
826
|
+
*/
|
|
827
|
+
NodeId: string;
|
|
828
|
+
/**
|
|
829
|
+
* <p>节点别名</p>
|
|
830
|
+
*/
|
|
831
|
+
NodeName?: string;
|
|
832
|
+
/**
|
|
833
|
+
* <p>资源的分配状态: - IDLE: 资源空闲 - ISOLATE: 资源隔离</p>
|
|
834
|
+
*/
|
|
835
|
+
NodeAllocateState?: string;
|
|
836
|
+
/**
|
|
837
|
+
* <p>目标队列名</p>
|
|
838
|
+
*/
|
|
839
|
+
QueueName?: string;
|
|
840
|
+
}
|
|
811
841
|
/**
|
|
812
842
|
* DeleteClusterStorageOption请求参数结构体
|
|
813
843
|
*/
|
|
@@ -1058,11 +1088,11 @@ export interface DescribeClustersResponse {
|
|
|
1058
1088
|
*/
|
|
1059
1089
|
export interface DescribeClusterActivitiesResponse {
|
|
1060
1090
|
/**
|
|
1061
|
-
*
|
|
1091
|
+
* <p>集群活动历史记录列表。</p>
|
|
1062
1092
|
*/
|
|
1063
1093
|
ClusterActivitySet?: Array<ClusterActivity>;
|
|
1064
1094
|
/**
|
|
1065
|
-
*
|
|
1095
|
+
* <p>集群活动历史记录数量。</p>
|
|
1066
1096
|
*/
|
|
1067
1097
|
TotalCount?: number;
|
|
1068
1098
|
/**
|
|
@@ -1075,94 +1105,87 @@ export interface DescribeClusterActivitiesResponse {
|
|
|
1075
1105
|
*/
|
|
1076
1106
|
export interface AddNodesRequest {
|
|
1077
1107
|
/**
|
|
1078
|
-
*
|
|
1108
|
+
* <p>集群中实例所在的位置。</p>
|
|
1079
1109
|
*/
|
|
1080
1110
|
Placement: Placement;
|
|
1081
1111
|
/**
|
|
1082
|
-
*
|
|
1112
|
+
* <p>集群ID。</p>
|
|
1083
1113
|
*/
|
|
1084
1114
|
ClusterId: string;
|
|
1085
1115
|
/**
|
|
1086
|
-
*
|
|
1116
|
+
* <p>私有网络相关信息配置。</p>
|
|
1087
1117
|
*/
|
|
1088
1118
|
VirtualPrivateCloud: VirtualPrivateCloud;
|
|
1089
1119
|
/**
|
|
1090
|
-
*
|
|
1120
|
+
* <p>添加节点数量。</p>
|
|
1091
1121
|
*/
|
|
1092
1122
|
Count: number;
|
|
1093
1123
|
/**
|
|
1094
|
-
*
|
|
1124
|
+
* <p>指定有效的<a href="https://cloud.tencent.com/document/product/213/4940">镜像</a>ID,格式形如<code>img-xxx</code>。目前支持部分公有镜像和自定义镜像。公共镜像请参考<a href="https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F">镜像限制</a></p>
|
|
1095
1125
|
*/
|
|
1096
1126
|
ImageId?: string;
|
|
1097
1127
|
/**
|
|
1098
|
-
*
|
|
1128
|
+
* <p>节点<a href="https://cloud.tencent.com/document/product/213/2180">计费类型</a>。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。</p>
|
|
1099
1129
|
*/
|
|
1100
1130
|
InstanceChargeType?: string;
|
|
1101
1131
|
/**
|
|
1102
|
-
*
|
|
1132
|
+
* <p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。</p>
|
|
1103
1133
|
*/
|
|
1104
1134
|
InstanceChargePrepaid?: InstanceChargePrepaid;
|
|
1105
1135
|
/**
|
|
1106
|
-
*
|
|
1136
|
+
* <p>节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口<a href="https://cloud.tencent.com/document/api/213/15749">DescribeInstanceTypeConfigs</a>来获得最新的规格表或参见<a href="https://cloud.tencent.com/document/product/213/11518">实例规格</a>描述。</li></p>
|
|
1107
1137
|
*/
|
|
1108
1138
|
InstanceType?: string;
|
|
1109
1139
|
/**
|
|
1110
|
-
*
|
|
1140
|
+
* <p>节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。</p>
|
|
1111
1141
|
*/
|
|
1112
1142
|
SystemDisk?: SystemDisk;
|
|
1113
1143
|
/**
|
|
1114
|
-
*
|
|
1144
|
+
* <p>节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。</p>
|
|
1115
1145
|
*/
|
|
1116
1146
|
DataDisks?: Array<DataDisk>;
|
|
1117
1147
|
/**
|
|
1118
|
-
*
|
|
1148
|
+
* <p>公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。</p>
|
|
1119
1149
|
*/
|
|
1120
1150
|
InternetAccessible?: InternetAccessible;
|
|
1121
1151
|
/**
|
|
1122
|
-
*
|
|
1123
|
-
不指定节点显示名称则默认显示‘未命名’。
|
|
1124
|
-
最多支持60个字符。
|
|
1152
|
+
* <p>节点显示名称。<br>不指定节点显示名称则默认显示‘未命名’。<br>最多支持60个字符。</p>
|
|
1125
1153
|
*/
|
|
1126
1154
|
InstanceName?: string;
|
|
1127
1155
|
/**
|
|
1128
|
-
*
|
|
1156
|
+
* <p>集群登录设置。</p>
|
|
1129
1157
|
*/
|
|
1130
1158
|
LoginSettings?: LoginSettings;
|
|
1131
1159
|
/**
|
|
1132
|
-
*
|
|
1160
|
+
* <p>集群中实例所属安全组。该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。</p>
|
|
1133
1161
|
*/
|
|
1134
1162
|
SecurityGroupIds?: Array<string>;
|
|
1135
1163
|
/**
|
|
1136
|
-
*
|
|
1164
|
+
* <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。</p>
|
|
1137
1165
|
*/
|
|
1138
1166
|
ClientToken?: string;
|
|
1139
1167
|
/**
|
|
1140
|
-
*
|
|
1141
|
-
|
|
1168
|
+
* <p>队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li></p>
|
|
1142
1169
|
*/
|
|
1143
1170
|
QueueName?: string;
|
|
1144
1171
|
/**
|
|
1145
|
-
*
|
|
1172
|
+
* <p>添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><li>Login:登录节点。</li></p>
|
|
1146
1173
|
*/
|
|
1147
1174
|
NodeRole?: string;
|
|
1148
1175
|
/**
|
|
1149
|
-
*
|
|
1150
|
-
true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。
|
|
1151
|
-
如果检查不通过,则返回对应错误码;
|
|
1152
|
-
如果检查通过,则返回RequestId.
|
|
1153
|
-
false(默认):发送正常请求,通过检查后直接创建实例
|
|
1176
|
+
* <p>是否只预检此次请求。<br>true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。<br>如果检查不通过,则返回对应错误码;<br>如果检查通过,则返回RequestId.<br>false(默认):发送正常请求,通过检查后直接创建实例</p>
|
|
1154
1177
|
*/
|
|
1155
1178
|
DryRun?: boolean;
|
|
1156
1179
|
/**
|
|
1157
|
-
*
|
|
1180
|
+
* <p>添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。</li><li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。</li></p>
|
|
1158
1181
|
*/
|
|
1159
1182
|
NodeType?: string;
|
|
1160
1183
|
/**
|
|
1161
|
-
*
|
|
1184
|
+
* <p>实例所属项目ID。该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/651/78725">DescribeProject</a> 的返回值中的 projectId 字段来获取。不填为默认项目。</p>
|
|
1162
1185
|
*/
|
|
1163
1186
|
ProjectId?: number;
|
|
1164
1187
|
/**
|
|
1165
|
-
*
|
|
1188
|
+
* <p>要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。</p>
|
|
1166
1189
|
*/
|
|
1167
1190
|
ResourceType?: string;
|
|
1168
1191
|
}
|
|
@@ -1336,7 +1359,7 @@ export interface DescribeJobSubmitInfoResponse {
|
|
|
1336
1359
|
*/
|
|
1337
1360
|
export interface CreateClusterResponse {
|
|
1338
1361
|
/**
|
|
1339
|
-
*
|
|
1362
|
+
* <p>集群ID。</p>
|
|
1340
1363
|
*/
|
|
1341
1364
|
ClusterId?: string;
|
|
1342
1365
|
/**
|
|
@@ -1384,98 +1407,91 @@ export interface SetAutoScalingConfigurationResponse {
|
|
|
1384
1407
|
*/
|
|
1385
1408
|
export interface CreateClusterRequest {
|
|
1386
1409
|
/**
|
|
1387
|
-
*
|
|
1410
|
+
* <p>集群中实例所在的位置。</p>
|
|
1388
1411
|
*/
|
|
1389
1412
|
Placement?: Placement;
|
|
1390
1413
|
/**
|
|
1391
|
-
*
|
|
1414
|
+
* <p>指定管理节点。</p>
|
|
1392
1415
|
*/
|
|
1393
1416
|
ManagerNode?: ManagerNode;
|
|
1394
1417
|
/**
|
|
1395
|
-
*
|
|
1418
|
+
* <p>指定管理节点的数量。默认取值:1。取值范围:1~2。</p>
|
|
1396
1419
|
*/
|
|
1397
1420
|
ManagerNodeCount?: number;
|
|
1398
1421
|
/**
|
|
1399
|
-
*
|
|
1422
|
+
* <p>指定计算节点。</p>
|
|
1400
1423
|
*/
|
|
1401
1424
|
ComputeNode?: ComputeNode;
|
|
1402
1425
|
/**
|
|
1403
|
-
*
|
|
1426
|
+
* <p>指定计算节点的数量。默认取值:0。</p>
|
|
1404
1427
|
*/
|
|
1405
1428
|
ComputeNodeCount?: number;
|
|
1406
1429
|
/**
|
|
1407
|
-
*
|
|
1430
|
+
* <p>调度器类型。默认取值:SLURM。<li>SLURM:SLURM调度器。</li></p>
|
|
1408
1431
|
*/
|
|
1409
1432
|
SchedulerType?: string;
|
|
1410
1433
|
/**
|
|
1411
|
-
*
|
|
1412
|
-
各调度器支持的集群版本:
|
|
1413
|
-
<li>SLURM:21.08.8、23.11.7</li>
|
|
1434
|
+
* <p>创建调度器的版本号,可填写版本号为“latest” 和 各调度器支持的版本号;如果是"latest", 则代表创建的是平台当前支持的该类型调度器最新版本。如果不填写,默认创建的是“latest”版本调度器<br>各调度器支持的集群版本:</p><li>SLURM:21.08.8、23.11.7</li>
|
|
1414
1435
|
*/
|
|
1415
1436
|
SchedulerVersion?: string;
|
|
1416
1437
|
/**
|
|
1417
|
-
*
|
|
1438
|
+
* <p>指定有效的<a href="https://cloud.tencent.com/document/product/213/4940">镜像</a>ID,格式形如<code>img-xxx</code>。目前支持部分公有镜像和自定义镜像。公共镜像请参考<a href="https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F">镜像限制</a></p>
|
|
1418
1439
|
*/
|
|
1419
1440
|
ImageId?: string;
|
|
1420
1441
|
/**
|
|
1421
|
-
*
|
|
1442
|
+
* <p>私有网络相关信息配置。</p>
|
|
1422
1443
|
*/
|
|
1423
1444
|
VirtualPrivateCloud?: VirtualPrivateCloud;
|
|
1424
1445
|
/**
|
|
1425
|
-
*
|
|
1446
|
+
* <p>集群登录设置。</p>
|
|
1426
1447
|
*/
|
|
1427
1448
|
LoginSettings?: LoginSettings;
|
|
1428
1449
|
/**
|
|
1429
|
-
*
|
|
1450
|
+
* <p>集群中实例所属安全组。该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。</p>
|
|
1430
1451
|
*/
|
|
1431
1452
|
SecurityGroupIds?: Array<string>;
|
|
1432
1453
|
/**
|
|
1433
|
-
*
|
|
1454
|
+
* <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。</p>
|
|
1434
1455
|
*/
|
|
1435
1456
|
ClientToken?: string;
|
|
1436
1457
|
/**
|
|
1437
|
-
*
|
|
1438
|
-
true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。
|
|
1439
|
-
如果检查不通过,则返回对应错误码;
|
|
1440
|
-
如果检查通过,则返回RequestId.
|
|
1441
|
-
false(默认):发送正常请求,通过检查后直接创建实例
|
|
1458
|
+
* <p>是否只预检此次请求。<br>true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。<br>如果检查不通过,则返回对应错误码;<br>如果检查通过,则返回RequestId.<br>false(默认):发送正常请求,通过检查后直接创建实例</p>
|
|
1442
1459
|
*/
|
|
1443
1460
|
DryRun?: boolean;
|
|
1444
1461
|
/**
|
|
1445
|
-
*
|
|
1446
|
-
<li>NIS:NIS域名字服务。</li>
|
|
1462
|
+
* <p>域名字服务类型。默认取值:NIS。</p><li>NIS:NIS域名字服务。</li>
|
|
1447
1463
|
*/
|
|
1448
1464
|
AccountType?: string;
|
|
1449
1465
|
/**
|
|
1450
|
-
*
|
|
1466
|
+
* <p>集群显示名称。</p>
|
|
1451
1467
|
*/
|
|
1452
1468
|
ClusterName?: string;
|
|
1453
1469
|
/**
|
|
1454
|
-
*
|
|
1470
|
+
* <p>集群存储选项</p>
|
|
1455
1471
|
*/
|
|
1456
1472
|
StorageOption?: StorageOption;
|
|
1457
1473
|
/**
|
|
1458
|
-
*
|
|
1474
|
+
* <p>指定登录节点。</p>
|
|
1459
1475
|
*/
|
|
1460
1476
|
LoginNode?: LoginNode;
|
|
1461
1477
|
/**
|
|
1462
|
-
*
|
|
1478
|
+
* <p>指定登录节点的数量。默认取值:0。取值范围:0~10。</p>
|
|
1463
1479
|
*/
|
|
1464
1480
|
LoginNodeCount?: number;
|
|
1465
1481
|
/**
|
|
1466
|
-
*
|
|
1482
|
+
* <p>创建集群时同时绑定的标签对说明。</p>
|
|
1467
1483
|
*/
|
|
1468
1484
|
Tags?: Array<Tag>;
|
|
1469
1485
|
/**
|
|
1470
|
-
*
|
|
1486
|
+
* <p>弹性伸缩类型。默认值:THPC_AS</p>
|
|
1471
1487
|
*/
|
|
1472
1488
|
AutoScalingType?: string;
|
|
1473
1489
|
/**
|
|
1474
|
-
*
|
|
1490
|
+
* <p>节点初始化脚本信息列表。</p>
|
|
1475
1491
|
*/
|
|
1476
1492
|
InitNodeScripts?: Array<NodeScript>;
|
|
1477
1493
|
/**
|
|
1478
|
-
*
|
|
1494
|
+
* <p>高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。</p>
|
|
1479
1495
|
*/
|
|
1480
1496
|
HpcClusterId?: string;
|
|
1481
1497
|
}
|
|
@@ -1894,27 +1910,23 @@ export interface GooseFSxOptionOverview {
|
|
|
1894
1910
|
*/
|
|
1895
1911
|
export interface SetAutoScalingConfigurationRequest {
|
|
1896
1912
|
/**
|
|
1897
|
-
*
|
|
1913
|
+
* <p>集群ID。</p>
|
|
1898
1914
|
*/
|
|
1899
1915
|
ClusterId: string;
|
|
1900
1916
|
/**
|
|
1901
|
-
*
|
|
1917
|
+
* <p>任务连续等待时间,队列的任务处于连续等待的时间。单位秒。默认值120。</p>
|
|
1902
1918
|
*/
|
|
1903
1919
|
ExpansionBusyTime?: number;
|
|
1904
1920
|
/**
|
|
1905
|
-
*
|
|
1921
|
+
* <p>节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。单位秒。默认值300。</p>
|
|
1906
1922
|
*/
|
|
1907
1923
|
ShrinkIdleTime?: number;
|
|
1908
1924
|
/**
|
|
1909
|
-
*
|
|
1925
|
+
* <p>扩容队列配置列表。</p>
|
|
1910
1926
|
*/
|
|
1911
1927
|
QueueConfigs?: Array<QueueConfig>;
|
|
1912
1928
|
/**
|
|
1913
|
-
*
|
|
1914
|
-
true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。
|
|
1915
|
-
如果检查不通过,则返回对应错误码;
|
|
1916
|
-
如果检查通过,则返回RequestId。
|
|
1917
|
-
false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。
|
|
1929
|
+
* <p>是否只预检此次请求。<br>true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。<br>如果检查不通过,则返回对应错误码;<br>如果检查通过,则返回RequestId。<br>false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。</p>
|
|
1918
1930
|
*/
|
|
1919
1931
|
DryRun?: boolean;
|
|
1920
1932
|
}
|
|
@@ -2170,95 +2182,92 @@ export interface ComputeNodeOverview {
|
|
|
2170
2182
|
*/
|
|
2171
2183
|
export interface QueueConfig {
|
|
2172
2184
|
/**
|
|
2173
|
-
*
|
|
2185
|
+
* <p>队列名称。</p>
|
|
2174
2186
|
*/
|
|
2175
2187
|
QueueName: string;
|
|
2176
2188
|
/**
|
|
2177
|
-
*
|
|
2189
|
+
* <p>队列中弹性节点数量最小值。默认值:0。取值范围:0~200。</p>
|
|
2178
2190
|
*/
|
|
2179
2191
|
MinSize?: number;
|
|
2180
2192
|
/**
|
|
2181
|
-
*
|
|
2193
|
+
* <p>队列中弹性节点数量最大值。默认值:10。取值范围:0~200。</p>
|
|
2182
2194
|
*/
|
|
2183
2195
|
MaxSize?: number;
|
|
2184
2196
|
/**
|
|
2185
|
-
*
|
|
2197
|
+
* <p>是否开启自动扩容。</p>
|
|
2186
2198
|
*/
|
|
2187
2199
|
EnableAutoExpansion?: boolean;
|
|
2188
2200
|
/**
|
|
2189
|
-
*
|
|
2201
|
+
* <p>是否开启自动缩容。</p>
|
|
2190
2202
|
*/
|
|
2191
2203
|
EnableAutoShrink?: boolean;
|
|
2192
2204
|
/**
|
|
2193
|
-
*
|
|
2205
|
+
* <p>指定有效的<a href="https://cloud.tencent.com/document/product/213/4940">镜像</a>ID,格式形如<code>img-xxx</code>。目前仅支持公有镜和特定自定义镜像。</p>
|
|
2194
2206
|
*/
|
|
2195
2207
|
ImageId?: string;
|
|
2196
2208
|
/**
|
|
2197
|
-
*
|
|
2209
|
+
* <p>节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。</p>
|
|
2198
2210
|
*/
|
|
2199
2211
|
SystemDisk?: SystemDisk;
|
|
2200
2212
|
/**
|
|
2201
|
-
*
|
|
2213
|
+
* <p>节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。</p>
|
|
2202
2214
|
*/
|
|
2203
2215
|
DataDisks?: Array<DataDisk>;
|
|
2204
2216
|
/**
|
|
2205
|
-
*
|
|
2217
|
+
* <p>公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。</p>
|
|
2206
2218
|
*/
|
|
2207
2219
|
InternetAccessible?: InternetAccessible;
|
|
2208
2220
|
/**
|
|
2209
|
-
*
|
|
2221
|
+
* <p>扩容节点配置信息。</p>
|
|
2210
2222
|
*/
|
|
2211
2223
|
ExpansionNodeConfigs?: Array<ExpansionNodeConfig>;
|
|
2212
2224
|
/**
|
|
2213
|
-
*
|
|
2225
|
+
* <p>队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。</p>
|
|
2214
2226
|
*/
|
|
2215
2227
|
DesiredIdleNodeCapacity?: number;
|
|
2216
2228
|
/**
|
|
2217
|
-
*
|
|
2229
|
+
* <p>队列中期望的总节点数。</p>
|
|
2218
2230
|
*/
|
|
2219
2231
|
DesiredNodeCount?: number;
|
|
2220
2232
|
/**
|
|
2221
|
-
*
|
|
2222
|
-
如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
|
|
2233
|
+
* <p>扩容比例。默认值:100。取值范围:1~100。<br>如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。</p>
|
|
2223
2234
|
*/
|
|
2224
2235
|
ScaleOutRatio?: number;
|
|
2225
2236
|
/**
|
|
2226
|
-
*
|
|
2227
|
-
当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
|
|
2228
|
-
此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
|
|
2237
|
+
* <p>比例扩容阈值。默认值:0。取值范围:0~200。<br>当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。<br>此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。</p>
|
|
2229
2238
|
*/
|
|
2230
2239
|
ScaleOutNodeThreshold?: number;
|
|
2231
2240
|
/**
|
|
2232
|
-
*
|
|
2241
|
+
* <p>每轮扩容最大节点个数。默认值:100。取值范围:1~100。</p>
|
|
2233
2242
|
*/
|
|
2234
2243
|
MaxNodesPerCycle?: number;
|
|
2235
2244
|
/**
|
|
2236
|
-
*
|
|
2237
|
-
针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
|
|
2238
|
-
|
|
2239
|
-
- 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
|
|
2240
|
-
- 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
|
|
2245
|
+
* <p>扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br><br>针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,</p><ul><li>当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。</li><li>当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。</li></ul>
|
|
2241
2246
|
*/
|
|
2242
2247
|
ScaleUpMemRatio?: number;
|
|
2243
2248
|
/**
|
|
2244
|
-
*
|
|
2249
|
+
* <p>增强服务。通过该参数可以指定是否开启云安全、腾讯云可观测平台等服务。若不指定该参数,则默认开启腾讯云可观测平台、云安全服务、自动化助手服务。</p>
|
|
2245
2250
|
*/
|
|
2246
2251
|
EnhancedService?: EnhancedService;
|
|
2252
|
+
/**
|
|
2253
|
+
* <p>扩容实例模板,可以在cvm侧进行设置</p>
|
|
2254
|
+
*/
|
|
2255
|
+
LaunchTemplateIds?: Array<string>;
|
|
2247
2256
|
}
|
|
2248
2257
|
/**
|
|
2249
2258
|
* DescribeClusterActivities请求参数结构体
|
|
2250
2259
|
*/
|
|
2251
2260
|
export interface DescribeClusterActivitiesRequest {
|
|
2252
2261
|
/**
|
|
2253
|
-
*
|
|
2262
|
+
* <p>集群ID。通过该参数指定需要查询活动历史记录的集群。</p>
|
|
2254
2263
|
*/
|
|
2255
2264
|
ClusterId: string;
|
|
2256
2265
|
/**
|
|
2257
|
-
*
|
|
2266
|
+
* <p>偏移量,默认为0。关于<code>Offset</code>的更进一步介绍请参考 API <a href="https://cloud.tencent.com/document/api/213/15688">简介</a>中的相关小节。</p>
|
|
2258
2267
|
*/
|
|
2259
2268
|
Offset?: number;
|
|
2260
2269
|
/**
|
|
2261
|
-
*
|
|
2270
|
+
* <p>返回数量,默认为20,最大值为100。关于<code>Limit</code>的更进一步介绍请参考 API <a href="https://cloud.tencent.com/document/api/213/15688">简介</a>中的相关小节。</p>
|
|
2262
2271
|
*/
|
|
2263
2272
|
Limit?: number;
|
|
2264
2273
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateModelServiceRequest, DescribeLogsRequest, DescribeModelAccelerateVersionsRequest, StopModelAccelerateTaskRequest, DeleteTrainingModelVersionResponse, DescribeExportResponse, ModifyNotebookTagsRequest, DeleteNotebookRequest, PushTrainingMetricsRequest, DescribeTrainingModelVersionsRequest, CreateDatasetResponse, DescribeTrainingTasksRequest, ModifyNotebookTagsResponse, DescribeBillingResourceGroupResponse, DescribeBillingResourceGroupsResponse, DescribeTrainingTaskRequest, StartNotebookResponse, DescribeTrainingModelVersionRequest, StartNotebookRequest, DescribeModelAccelerateVersionsResponse, DescribeBuildInImagesRequest, StartTrainingTaskRequest, ModifyModelServiceRequest, ChatCompletionRequest, DescribeModelServiceCallInfoRequest, DescribeNotebookResponse, CreateTrainingModelRequest, DescribeModelServiceGroupsResponse, DescribeBillingResourceInstanceRunningJobsResponse, CreateNotebookRequest, CreatePresignedNotebookUrlResponse, ModifyNotebookRequest, DescribeBillingResourceGroupsRequest, DeleteExportResponse, ModifyModelServiceAuthTokenRequest, DescribeDatasetsRequest, DeleteTrainingModelResponse, DescribeInferTemplatesResponse, DescribeBillingSpecsRequest, DescribeInferTemplatesRequest, ModifyModelServiceAuthorizationRequest, DeleteModelServiceGroupResponse, CreateExportResponse, DescribeNotebooksResponse, DescribeModelServiceHotUpdatedResponse, DescribeModelAccelerateTaskResponse, DescribeModelServiceGroupsRequest, StopNotebookResponse, DescribeModelServiceRequest, CreateTrainingTaskResponse, ModifyModelServiceAuthTokenResponse, ModifyModelServiceAuthorizationResponse, DeleteModelServiceRequest, DescribeModelServiceGroupRequest, CreateTrainingTaskRequest, CreatePresignedNotebookUrlRequest, ModifyNotebookResponse, DescribeModelServiceResponse, DescribeBuildInImagesResponse, DescribeDatasetsResponse, CreateNotebookResponse, DescribeBillingSpecsPriceRequest, CreateExportRequest, DescribeBillingSpecsResponse, DeleteTrainingTaskResponse, DescribeEventsResponse, DescribeModelServiceCallInfoResponse, DescribeNotebooksRequest, DeleteNotebookResponse, DeleteTrainingTaskRequest, CreateModelServiceAuthTokenResponse, DescribeBillingResourceInstanceRunningJobsRequest, ModifyModelServiceResponse, DeleteModelServiceAuthTokenResponse, CreateDatasetRequest, CreateModelServiceResponse, DeleteExportRequest, DescribeModelServiceGroupResponse, CreateTrainingModelResponse, StopModelAccelerateTaskResponse, UpdateSubAccountLinuxUserInfoResponse, DescribeTrainingTasksResponse, DescribeModelAccelerateTaskRequest, DeleteDatasetResponse, DescribeExportRequest, UpdateSubAccountLinuxUserInfoRequest, DescribeNotebookRequest, DescribeLogsResponse, StopNotebookRequest, DeleteModelServiceGroupRequest, CreateModelServiceAuthTokenRequest, DescribeBillingResourceGroupRequest, DescribeSubAccountLinuxUserInfosRequest, ChatCompletionResponse, DescribePlatformImagesResponse, DescribeTrainingTaskPodsRequest, DescribeTrainingModelVersionsResponse, DescribeSubAccountLinuxUserInfosResponse, DeleteDatasetRequest, DeleteModelServiceAuthTokenRequest, PushTrainingMetricsResponse, StopTrainingTaskResponse, DescribeTrainingTaskPodsResponse, DescribeEventsRequest, DeleteTrainingModelRequest, DescribeModelServiceHotUpdatedRequest, DescribeTrainingTaskResponse, DescribePlatformImagesRequest, DeleteModelServiceResponse, DeleteTrainingModelVersionRequest, DescribeBillingSpecsPriceResponse, DescribeTrainingModelVersionResponse, StopTrainingTaskRequest, StartTrainingTaskResponse } from "./tione_models";
|
|
3
|
+
import { CreateModelServiceRequest, DescribeLogsRequest, DescribeModelAccelerateVersionsRequest, StopModelAccelerateTaskRequest, DeleteTrainingModelVersionResponse, DescribeExportResponse, ModifyNotebookTagsRequest, ModifyServiceGroupWeightsResponse, DeleteNotebookRequest, PushTrainingMetricsRequest, DescribeTrainingModelVersionsRequest, CreateDatasetResponse, ModifyServiceGroupWeightsRequest, DescribeTrainingTasksRequest, ModifyNotebookTagsResponse, DescribeBillingResourceGroupResponse, DescribeBillingResourceGroupsResponse, DescribeTrainingTaskRequest, StartNotebookResponse, DescribeTrainingModelVersionRequest, StartNotebookRequest, DescribeModelAccelerateVersionsResponse, DescribeBuildInImagesRequest, StartTrainingTaskRequest, ModifyModelServiceRequest, ChatCompletionRequest, DescribeModelServiceCallInfoRequest, DescribeNotebookResponse, CreateTrainingModelRequest, DescribeModelServiceGroupsResponse, DescribeBillingResourceInstanceRunningJobsResponse, CreateNotebookRequest, CreatePresignedNotebookUrlResponse, ModifyNotebookRequest, DescribeBillingResourceGroupsRequest, DeleteExportResponse, ModifyModelServiceAuthTokenRequest, DescribeDatasetsRequest, DeleteTrainingModelResponse, DescribeInferTemplatesResponse, DescribeBillingSpecsRequest, DescribeInferTemplatesRequest, ModifyModelServiceAuthorizationRequest, DeleteModelServiceGroupResponse, CreateExportResponse, DescribeNotebooksResponse, DescribeModelServiceHotUpdatedResponse, DescribeModelAccelerateTaskResponse, DescribeModelServiceGroupsRequest, StopNotebookResponse, DescribeModelServiceRequest, CreateTrainingTaskResponse, ModifyModelServiceAuthTokenResponse, ModifyModelServiceAuthorizationResponse, DeleteModelServiceRequest, DescribeModelServiceGroupRequest, CreateTrainingTaskRequest, CreatePresignedNotebookUrlRequest, ModifyNotebookResponse, DescribeModelServiceResponse, DescribeBuildInImagesResponse, DescribeDatasetsResponse, CreateNotebookResponse, DescribeBillingSpecsPriceRequest, CreateExportRequest, DescribeBillingSpecsResponse, DeleteTrainingTaskResponse, DescribeEventsResponse, DescribeModelServiceCallInfoResponse, DescribeNotebooksRequest, DeleteNotebookResponse, DeleteTrainingTaskRequest, CreateModelServiceAuthTokenResponse, DescribeBillingResourceInstanceRunningJobsRequest, ModifyModelServiceResponse, DeleteModelServiceAuthTokenResponse, CreateDatasetRequest, CreateModelServiceResponse, DeleteExportRequest, DescribeModelServiceGroupResponse, CreateTrainingModelResponse, StopModelAccelerateTaskResponse, UpdateSubAccountLinuxUserInfoResponse, DescribeTrainingTasksResponse, DescribeModelAccelerateTaskRequest, DeleteDatasetResponse, DescribeExportRequest, UpdateSubAccountLinuxUserInfoRequest, DescribeNotebookRequest, DescribeLogsResponse, StopNotebookRequest, DeleteModelServiceGroupRequest, CreateModelServiceAuthTokenRequest, DescribeBillingResourceGroupRequest, DescribeSubAccountLinuxUserInfosRequest, ChatCompletionResponse, DescribePlatformImagesResponse, DescribeTrainingTaskPodsRequest, DescribeTrainingModelVersionsResponse, DescribeSubAccountLinuxUserInfosResponse, DeleteDatasetRequest, DeleteModelServiceAuthTokenRequest, PushTrainingMetricsResponse, StopTrainingTaskResponse, DescribeTrainingTaskPodsResponse, DescribeEventsRequest, DeleteTrainingModelRequest, DescribeModelServiceHotUpdatedRequest, DescribeTrainingTaskResponse, DescribePlatformImagesRequest, DeleteModelServiceResponse, DeleteTrainingModelVersionRequest, DescribeBillingSpecsPriceResponse, DescribeTrainingModelVersionResponse, StopTrainingTaskRequest, StartTrainingTaskResponse } from "./tione_models";
|
|
4
4
|
/**
|
|
5
5
|
* tione client
|
|
6
6
|
* @class
|
|
@@ -102,6 +102,10 @@ https://cloud.tencent.com/document/product/1278/85305
|
|
|
102
102
|
* 删除模型
|
|
103
103
|
*/
|
|
104
104
|
DeleteTrainingModel(req: DeleteTrainingModelRequest, cb?: (error: string, rep: DeleteTrainingModelResponse) => void): Promise<DeleteTrainingModelResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* 更新推理服务组流量分配
|
|
107
|
+
*/
|
|
108
|
+
ModifyServiceGroupWeights(req: ModifyServiceGroupWeightsRequest, cb?: (error: string, rep: ModifyServiceGroupWeightsResponse) => void): Promise<ModifyServiceGroupWeightsResponse>;
|
|
105
109
|
/**
|
|
106
110
|
* 创建数据集
|
|
107
111
|
*/
|
|
@@ -168,6 +168,12 @@ https://cloud.tencent.com/document/product/1278/85305
|
|
|
168
168
|
async DeleteTrainingModel(req, cb) {
|
|
169
169
|
return this.request("DeleteTrainingModel", req, cb);
|
|
170
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* 更新推理服务组流量分配
|
|
173
|
+
*/
|
|
174
|
+
async ModifyServiceGroupWeights(req, cb) {
|
|
175
|
+
return this.request("ModifyServiceGroupWeights", req, cb);
|
|
176
|
+
}
|
|
171
177
|
/**
|
|
172
178
|
* 创建数据集
|
|
173
179
|
*/
|
|
@@ -574,6 +574,20 @@ export interface SSHConfig {
|
|
|
574
574
|
*/
|
|
575
575
|
PodSSHInfo?: PodSSHInfo;
|
|
576
576
|
}
|
|
577
|
+
/**
|
|
578
|
+
* ModifyServiceGroupWeights返回参数结构体
|
|
579
|
+
*/
|
|
580
|
+
export interface ModifyServiceGroupWeightsResponse {
|
|
581
|
+
/**
|
|
582
|
+
* 更新权重后的服务组信息
|
|
583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
584
|
+
*/
|
|
585
|
+
ServiceGroup?: ServiceGroup;
|
|
586
|
+
/**
|
|
587
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
588
|
+
*/
|
|
589
|
+
RequestId?: string;
|
|
590
|
+
}
|
|
577
591
|
/**
|
|
578
592
|
* 大模型生成Token统计
|
|
579
593
|
*/
|
|
@@ -962,6 +976,19 @@ export interface HyperParameter {
|
|
|
962
976
|
*/
|
|
963
977
|
LoraScale?: string;
|
|
964
978
|
}
|
|
979
|
+
/**
|
|
980
|
+
* ModifyServiceGroupWeights请求参数结构体
|
|
981
|
+
*/
|
|
982
|
+
export interface ModifyServiceGroupWeightsRequest {
|
|
983
|
+
/**
|
|
984
|
+
* 服务组id
|
|
985
|
+
*/
|
|
986
|
+
ServiceGroupId: string;
|
|
987
|
+
/**
|
|
988
|
+
* 权重设置
|
|
989
|
+
*/
|
|
990
|
+
Weights: Array<WeightEntry>;
|
|
991
|
+
}
|
|
965
992
|
/**
|
|
966
993
|
* DescribeTrainingTasks请求参数结构体
|
|
967
994
|
*/
|
|
@@ -3886,6 +3913,19 @@ export interface DescribeBillingSpecsPriceRequest {
|
|
|
3886
3913
|
*/
|
|
3887
3914
|
SpecsParam: Array<SpecUnit>;
|
|
3888
3915
|
}
|
|
3916
|
+
/**
|
|
3917
|
+
* 服务的权重
|
|
3918
|
+
*/
|
|
3919
|
+
export interface WeightEntry {
|
|
3920
|
+
/**
|
|
3921
|
+
* 服务id
|
|
3922
|
+
*/
|
|
3923
|
+
ServiceId: string;
|
|
3924
|
+
/**
|
|
3925
|
+
* 流量权重值,同 ServiceGroup 下 总和应为 100
|
|
3926
|
+
*/
|
|
3927
|
+
Weight: number;
|
|
3928
|
+
}
|
|
3889
3929
|
/**
|
|
3890
3930
|
* 资源组节点信息
|
|
3891
3931
|
*/
|
|
@@ -11400,6 +11400,10 @@ export interface VirtualNodeSpec {
|
|
|
11400
11400
|
* 腾讯云标签
|
|
11401
11401
|
*/
|
|
11402
11402
|
Tags?: Array<Tag>;
|
|
11403
|
+
/**
|
|
11404
|
+
* 按量配额
|
|
11405
|
+
*/
|
|
11406
|
+
Quota?: SuperNodeResource;
|
|
11403
11407
|
}
|
|
11404
11408
|
/**
|
|
11405
11409
|
* 集群网络相关的参数
|