tencentcloud-sdk-nodejs 4.0.989 → 4.0.991
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 +119 -0
- package/SERVICE_CHANGELOG.md +212 -214
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +3 -3
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +12 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +5 -5
- package/src/services/live/v20180801/live_models.ts +7 -7
- package/src/services/monitor/v20180724/monitor_client.ts +24 -12
- package/src/services/monitor/v20180724/monitor_models.ts +97 -0
- package/src/services/mqtt/v20240516/mqtt_models.ts +17 -14
- package/src/services/mrs/v20200910/mrs_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/tcbr/v20220217/tcbr_models.ts +44 -44
- package/src/services/tdmq/v20200217/tdmq_models.ts +5 -0
- package/src/services/tione/v20211111/tione_client.ts +31 -15
- package/src/services/tione/v20211111/tione_models.ts +461 -199
- package/src/services/vclm/v20240523/vclm_models.ts +2 -1
- package/src/services/vod/v20180717/vod_client.ts +8 -2
- package/src/services/vpc/v20170312/vpc_models.ts +5 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -3
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +5 -5
- package/tencentcloud/services/live/v20180801/live_models.d.ts +7 -7
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +9 -5
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +12 -6
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +95 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +17 -14
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +44 -44
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -0
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +9 -5
- package/tencentcloud/services/tione/v20211111/tione_client.js +12 -6
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +453 -197
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +2 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +8 -2
- package/tencentcloud/services/vod/v20180717/vod_client.js +8 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +5 -1
- package/test/monitor.v20180724.test.js +14 -4
- package/test/tione.v20211111.test.js +20 -10
|
@@ -22,11 +22,11 @@ export interface DescribeCloudRunServersResponse {
|
|
|
22
22
|
/**
|
|
23
23
|
* 服务列表
|
|
24
24
|
*/
|
|
25
|
-
ServerList
|
|
25
|
+
ServerList?: Array<ServerBaseInfo>
|
|
26
26
|
/**
|
|
27
27
|
* 服务总数
|
|
28
28
|
*/
|
|
29
|
-
Total
|
|
29
|
+
Total?: number
|
|
30
30
|
/**
|
|
31
31
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32
32
|
*/
|
|
@@ -166,11 +166,11 @@ export interface DescribeServerManageTaskResponse {
|
|
|
166
166
|
/**
|
|
167
167
|
* 是否存在
|
|
168
168
|
*/
|
|
169
|
-
IsExist
|
|
169
|
+
IsExist?: boolean
|
|
170
170
|
/**
|
|
171
171
|
* 任务信息
|
|
172
172
|
*/
|
|
173
|
-
Task
|
|
173
|
+
Task?: ServerManageTaskInfo
|
|
174
174
|
/**
|
|
175
175
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
176
176
|
*/
|
|
@@ -184,30 +184,30 @@ export interface TaskStepInfo {
|
|
|
184
184
|
/**
|
|
185
185
|
* 步骤名
|
|
186
186
|
*/
|
|
187
|
-
Name
|
|
187
|
+
Name?: string
|
|
188
188
|
/**
|
|
189
189
|
* 未启动:"todo"
|
|
190
190
|
运行中:"running"
|
|
191
191
|
失败:"failed"
|
|
192
192
|
成功结束:"finished"
|
|
193
193
|
*/
|
|
194
|
-
Status
|
|
194
|
+
Status?: string
|
|
195
195
|
/**
|
|
196
196
|
* 开始时间
|
|
197
197
|
*/
|
|
198
|
-
StartTime
|
|
198
|
+
StartTime?: string
|
|
199
199
|
/**
|
|
200
200
|
* 结束时间
|
|
201
201
|
*/
|
|
202
|
-
EndTime
|
|
202
|
+
EndTime?: string
|
|
203
203
|
/**
|
|
204
204
|
* 消耗时间:秒
|
|
205
205
|
*/
|
|
206
|
-
CostTime
|
|
206
|
+
CostTime?: number
|
|
207
207
|
/**
|
|
208
208
|
* 失败原因
|
|
209
209
|
*/
|
|
210
|
-
FailReason
|
|
210
|
+
FailReason?: string
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
/**
|
|
@@ -526,17 +526,17 @@ export interface OnlineVersionInfo {
|
|
|
526
526
|
* 版本名
|
|
527
527
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
528
528
|
*/
|
|
529
|
-
VersionName
|
|
529
|
+
VersionName?: string
|
|
530
530
|
/**
|
|
531
531
|
* 镜像url
|
|
532
532
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
533
533
|
*/
|
|
534
|
-
ImageUrl
|
|
534
|
+
ImageUrl?: string
|
|
535
535
|
/**
|
|
536
536
|
* 流量
|
|
537
537
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
538
538
|
*/
|
|
539
|
-
FlowRatio
|
|
539
|
+
FlowRatio?: string
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
/**
|
|
@@ -638,17 +638,17 @@ export interface DescribeCloudRunServerDetailResponse {
|
|
|
638
638
|
* 服务基本信息
|
|
639
639
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
640
640
|
*/
|
|
641
|
-
BaseInfo
|
|
641
|
+
BaseInfo?: ServerBaseInfo
|
|
642
642
|
/**
|
|
643
643
|
* 服务配置信息
|
|
644
644
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
645
645
|
*/
|
|
646
|
-
ServerConfig
|
|
646
|
+
ServerConfig?: ServerBaseConfig
|
|
647
647
|
/**
|
|
648
648
|
* 在线版本信息
|
|
649
649
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
650
650
|
*/
|
|
651
|
-
OnlineVersionInfos
|
|
651
|
+
OnlineVersionInfos?: Array<OnlineVersionInfo>
|
|
652
652
|
/**
|
|
653
653
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
654
654
|
*/
|
|
@@ -680,39 +680,39 @@ export interface EnvBaseInfo {
|
|
|
680
680
|
/**
|
|
681
681
|
* 环境Id
|
|
682
682
|
*/
|
|
683
|
-
EnvId
|
|
683
|
+
EnvId?: string
|
|
684
684
|
/**
|
|
685
685
|
* 套餐类型:Trial | Standard | Professional | Enterprise
|
|
686
686
|
*/
|
|
687
|
-
PackageType
|
|
687
|
+
PackageType?: string
|
|
688
688
|
/**
|
|
689
689
|
* VPC Id
|
|
690
690
|
*/
|
|
691
|
-
VpcId
|
|
691
|
+
VpcId?: string
|
|
692
692
|
/**
|
|
693
693
|
* 环境创建时间
|
|
694
694
|
*/
|
|
695
|
-
CreateTime
|
|
695
|
+
CreateTime?: string
|
|
696
696
|
/**
|
|
697
697
|
* 环境别名
|
|
698
698
|
*/
|
|
699
|
-
Alias
|
|
699
|
+
Alias?: string
|
|
700
700
|
/**
|
|
701
701
|
* 环境状态
|
|
702
702
|
*/
|
|
703
|
-
Status
|
|
703
|
+
Status?: string
|
|
704
704
|
/**
|
|
705
705
|
* 环境地域
|
|
706
706
|
*/
|
|
707
|
-
Region
|
|
707
|
+
Region?: string
|
|
708
708
|
/**
|
|
709
709
|
* 环境类型 tcbr | run
|
|
710
710
|
*/
|
|
711
|
-
EnvType
|
|
711
|
+
EnvType?: string
|
|
712
712
|
/**
|
|
713
713
|
* 子网id
|
|
714
714
|
*/
|
|
715
|
-
SubnetIds
|
|
715
|
+
SubnetIds?: string
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
/**
|
|
@@ -888,7 +888,7 @@ export interface CreateCloudRunServerResponse {
|
|
|
888
888
|
/**
|
|
889
889
|
* 一键部署任务Id,微信云托管,暂时用不到
|
|
890
890
|
*/
|
|
891
|
-
TaskId
|
|
891
|
+
TaskId?: number
|
|
892
892
|
/**
|
|
893
893
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
894
894
|
*/
|
|
@@ -928,11 +928,11 @@ export interface UpdateCloudRunServerResponse {
|
|
|
928
928
|
/**
|
|
929
929
|
* 环境Id
|
|
930
930
|
*/
|
|
931
|
-
EnvId
|
|
931
|
+
EnvId?: string
|
|
932
932
|
/**
|
|
933
933
|
* 一键部署任务Id,暂时用不到
|
|
934
934
|
*/
|
|
935
|
-
TaskId
|
|
935
|
+
TaskId?: number
|
|
936
936
|
/**
|
|
937
937
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
938
938
|
*/
|
|
@@ -1030,65 +1030,65 @@ export interface ServerManageTaskInfo {
|
|
|
1030
1030
|
/**
|
|
1031
1031
|
* 任务Id
|
|
1032
1032
|
*/
|
|
1033
|
-
Id
|
|
1033
|
+
Id?: number
|
|
1034
1034
|
/**
|
|
1035
1035
|
* 环境Id
|
|
1036
1036
|
*/
|
|
1037
|
-
EnvId
|
|
1037
|
+
EnvId?: string
|
|
1038
1038
|
/**
|
|
1039
1039
|
* 服务名
|
|
1040
1040
|
*/
|
|
1041
|
-
ServerName
|
|
1041
|
+
ServerName?: string
|
|
1042
1042
|
/**
|
|
1043
1043
|
* 创建时间
|
|
1044
1044
|
*/
|
|
1045
|
-
CreateTime
|
|
1045
|
+
CreateTime?: string
|
|
1046
1046
|
/**
|
|
1047
1047
|
* 变更类型
|
|
1048
1048
|
*/
|
|
1049
|
-
ChangeType
|
|
1049
|
+
ChangeType?: string
|
|
1050
1050
|
/**
|
|
1051
1051
|
* 发布类型
|
|
1052
1052
|
*/
|
|
1053
|
-
ReleaseType
|
|
1053
|
+
ReleaseType?: string
|
|
1054
1054
|
/**
|
|
1055
1055
|
* 部署类型
|
|
1056
1056
|
*/
|
|
1057
|
-
DeployType
|
|
1057
|
+
DeployType?: string
|
|
1058
1058
|
/**
|
|
1059
1059
|
* 上一个版本名
|
|
1060
1060
|
*/
|
|
1061
|
-
PreVersionName
|
|
1061
|
+
PreVersionName?: string
|
|
1062
1062
|
/**
|
|
1063
1063
|
* 版本名
|
|
1064
1064
|
*/
|
|
1065
|
-
VersionName
|
|
1065
|
+
VersionName?: string
|
|
1066
1066
|
/**
|
|
1067
1067
|
* 流水线Id
|
|
1068
1068
|
*/
|
|
1069
|
-
PipelineId
|
|
1069
|
+
PipelineId?: number
|
|
1070
1070
|
/**
|
|
1071
1071
|
* 流水线任务Id
|
|
1072
1072
|
*/
|
|
1073
|
-
PipelineTaskId
|
|
1073
|
+
PipelineTaskId?: number
|
|
1074
1074
|
/**
|
|
1075
1075
|
* 发布单Id
|
|
1076
1076
|
*/
|
|
1077
|
-
ReleaseId
|
|
1077
|
+
ReleaseId?: number
|
|
1078
1078
|
/**
|
|
1079
1079
|
* 状态
|
|
1080
1080
|
*/
|
|
1081
|
-
Status
|
|
1081
|
+
Status?: string
|
|
1082
1082
|
/**
|
|
1083
1083
|
* 步骤信息
|
|
1084
1084
|
*/
|
|
1085
|
-
Steps
|
|
1085
|
+
Steps?: Array<TaskStepInfo>
|
|
1086
1086
|
/**
|
|
1087
1087
|
* 失败原因
|
|
1088
1088
|
*/
|
|
1089
|
-
FailReason
|
|
1089
|
+
FailReason?: string
|
|
1090
1090
|
/**
|
|
1091
1091
|
* 操作标识
|
|
1092
1092
|
*/
|
|
1093
|
-
OperatorRemark
|
|
1093
|
+
OperatorRemark?: string
|
|
1094
1094
|
}
|
|
@@ -31,16 +31,17 @@ import {
|
|
|
31
31
|
DeleteNotebookRequest,
|
|
32
32
|
RDMAConfig,
|
|
33
33
|
DescribeTrainingModelVersionsRequest,
|
|
34
|
+
SpecUnit,
|
|
34
35
|
CreateDatasetResponse,
|
|
35
36
|
CrossTenantENIInfo,
|
|
36
37
|
HyperParameter,
|
|
37
38
|
DescribeTrainingTasksRequest,
|
|
38
39
|
VolumeMount,
|
|
39
|
-
SendChatMessageResponse,
|
|
40
40
|
DescribeBillingResourceGroupResponse,
|
|
41
41
|
ServiceCallInfo,
|
|
42
42
|
CosPathInfo,
|
|
43
43
|
DescribeBillingResourceGroupsResponse,
|
|
44
|
+
SpecPrice,
|
|
44
45
|
StartNotebookResponse,
|
|
45
46
|
CFSTurbo,
|
|
46
47
|
DescribeTrainingModelVersionRequest,
|
|
@@ -64,15 +65,16 @@ import {
|
|
|
64
65
|
CreateTrainingModelRequest,
|
|
65
66
|
SchemaInfo,
|
|
66
67
|
StartCmdInfo,
|
|
68
|
+
DescribeModelServiceGroupsResponse,
|
|
67
69
|
DescribeBillingResourceInstanceRunningJobsResponse,
|
|
68
70
|
InferGatewayCallInfo,
|
|
69
71
|
CreateNotebookRequest,
|
|
70
72
|
CreatePresignedNotebookUrlResponse,
|
|
71
73
|
HorizontalPodAutoscaler,
|
|
72
74
|
ResourceConfigInfo,
|
|
75
|
+
Spec,
|
|
73
76
|
GooseFS,
|
|
74
77
|
Option,
|
|
75
|
-
ImageSecret,
|
|
76
78
|
DefaultInnerCallInfo,
|
|
77
79
|
Choice,
|
|
78
80
|
ResourceGroup,
|
|
@@ -81,7 +83,7 @@ import {
|
|
|
81
83
|
ModelAccelerateVersion,
|
|
82
84
|
DeleteTrainingModelResponse,
|
|
83
85
|
DescribeInferTemplatesResponse,
|
|
84
|
-
|
|
86
|
+
DescribeBillingSpecsRequest,
|
|
85
87
|
InferCodeInfo,
|
|
86
88
|
DescribeInferTemplatesRequest,
|
|
87
89
|
PrivateLinkInfo,
|
|
@@ -105,11 +107,13 @@ import {
|
|
|
105
107
|
DescribeModelServiceHotUpdatedResponse,
|
|
106
108
|
DescribeBuildInImagesResponse,
|
|
107
109
|
DescribeDatasetsResponse,
|
|
110
|
+
ImageUrl,
|
|
108
111
|
ModelSource,
|
|
109
112
|
CreateNotebookResponse,
|
|
110
113
|
IntranetCallInfo,
|
|
114
|
+
DescribeBillingSpecsPriceRequest,
|
|
111
115
|
Instance,
|
|
112
|
-
|
|
116
|
+
DescribeBillingSpecsResponse,
|
|
113
117
|
DescribeNotebooksResponse,
|
|
114
118
|
DatasetGroup,
|
|
115
119
|
StatefulSetCondition,
|
|
@@ -134,7 +138,7 @@ import {
|
|
|
134
138
|
CreateTrainingModelResponse,
|
|
135
139
|
StopModelAccelerateTaskResponse,
|
|
136
140
|
IngressPrivateLinkInfo,
|
|
137
|
-
|
|
141
|
+
ServiceEIPInfo,
|
|
138
142
|
DescribeModelAccelerateTaskRequest,
|
|
139
143
|
Container,
|
|
140
144
|
DeleteDatasetResponse,
|
|
@@ -167,6 +171,8 @@ import {
|
|
|
167
171
|
DeleteModelServiceResponse,
|
|
168
172
|
MetricData,
|
|
169
173
|
DeleteTrainingModelVersionRequest,
|
|
174
|
+
DescribeBillingSpecsPriceResponse,
|
|
175
|
+
MultiModalContent,
|
|
170
176
|
DescribeTrainingModelVersionResponse,
|
|
171
177
|
EnvVar,
|
|
172
178
|
LogConfig,
|
|
@@ -202,6 +208,16 @@ export class Client extends AbstractClient {
|
|
|
202
208
|
return this.request("DescribeModelService", req, cb)
|
|
203
209
|
}
|
|
204
210
|
|
|
211
|
+
/**
|
|
212
|
+
* 本接口(DescribeBillingSpecs) 提供查询计费项列表
|
|
213
|
+
*/
|
|
214
|
+
async DescribeBillingSpecs(
|
|
215
|
+
req: DescribeBillingSpecsRequest,
|
|
216
|
+
cb?: (error: string, rep: DescribeBillingSpecsResponse) => void
|
|
217
|
+
): Promise<DescribeBillingSpecsResponse> {
|
|
218
|
+
return this.request("DescribeBillingSpecs", req, cb)
|
|
219
|
+
}
|
|
220
|
+
|
|
205
221
|
/**
|
|
206
222
|
* 导入模型
|
|
207
223
|
*/
|
|
@@ -212,6 +228,16 @@ export class Client extends AbstractClient {
|
|
|
212
228
|
return this.request("CreateTrainingModel", req, cb)
|
|
213
229
|
}
|
|
214
230
|
|
|
231
|
+
/**
|
|
232
|
+
* 本接口(DescribeBillingSpecsPrice)用于查询按量计费计费项价格。
|
|
233
|
+
*/
|
|
234
|
+
async DescribeBillingSpecsPrice(
|
|
235
|
+
req: DescribeBillingSpecsPriceRequest,
|
|
236
|
+
cb?: (error: string, rep: DescribeBillingSpecsPriceResponse) => void
|
|
237
|
+
): Promise<DescribeBillingSpecsPriceResponse> {
|
|
238
|
+
return this.request("DescribeBillingSpecsPrice", req, cb)
|
|
239
|
+
}
|
|
240
|
+
|
|
215
241
|
/**
|
|
216
242
|
* 展示服务的调用信息
|
|
217
243
|
*/
|
|
@@ -442,16 +468,6 @@ export class Client extends AbstractClient {
|
|
|
442
468
|
return this.request("DescribeBillingResourceInstanceRunningJobs", req, cb)
|
|
443
469
|
}
|
|
444
470
|
|
|
445
|
-
/**
|
|
446
|
-
* 这是一个供您体验大模型聊天的接口。
|
|
447
|
-
*/
|
|
448
|
-
async SendChatMessage(
|
|
449
|
-
req: SendChatMessageRequest,
|
|
450
|
-
cb?: (error: string, rep: SendChatMessageResponse) => void
|
|
451
|
-
): Promise<SendChatMessageResponse> {
|
|
452
|
-
return this.request("SendChatMessage", req, cb)
|
|
453
|
-
}
|
|
454
|
-
|
|
455
471
|
/**
|
|
456
472
|
* 用于更新模型服务
|
|
457
473
|
*/
|