tencentcloud-sdk-nodejs 4.1.15 → 4.1.17

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.
Files changed (86) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/bh/v20230418/bh_client.js +21 -6
  3. package/es/services/ccc/v20200210/ccc_client.js +9 -0
  4. package/es/services/chc/v20230418/chc_client.js +5 -2
  5. package/es/services/cls/v20201016/cls_client.js +3 -0
  6. package/es/services/es/index.js +2 -0
  7. package/es/services/es/v20250101/es_client.js +33 -0
  8. package/es/services/es/v20250101/es_models.js +0 -0
  9. package/es/services/es/v20250101/index.js +6 -0
  10. package/es/services/ess/v20201111/ess_client.js +3 -0
  11. package/es/services/essbasic/v20210526/essbasic_client.js +3 -0
  12. package/es/services/hunyuan/v20230901/hunyuan_client.js +37 -31
  13. package/es/services/monitor/v20180724/monitor_client.js +3 -0
  14. package/es/services/sts/v20180813/sts_client.js +3 -0
  15. package/es/services/tione/v20211111/tione_client.js +3 -0
  16. package/es/services/waf/v20180125/waf_client.js +22 -13
  17. package/package.json +1 -1
  18. package/tencentcloud/common/sdk_version.d.ts +1 -1
  19. package/tencentcloud/common/sdk_version.js +1 -1
  20. package/tencentcloud/services/bh/v20230418/bh_client.d.ts +27 -7
  21. package/tencentcloud/services/bh/v20230418/bh_client.js +39 -9
  22. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +229 -6
  23. package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +0 -27
  24. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +13 -1
  25. package/tencentcloud/services/ccc/v20200210/ccc_client.js +18 -0
  26. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +252 -105
  27. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  28. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  29. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
  30. package/tencentcloud/services/chc/v20230418/chc_client.d.ts +7 -3
  31. package/tencentcloud/services/chc/v20230418/chc_client.js +9 -3
  32. package/tencentcloud/services/chc/v20230418/chc_models.d.ts +59 -13
  33. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -0
  34. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -1
  35. package/tencentcloud/services/cls/v20201016/cls_client.js +6 -0
  36. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +24 -2
  37. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
  38. package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
  39. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
  40. package/tencentcloud/services/es/index.d.ts +4 -0
  41. package/tencentcloud/services/es/index.js +2 -0
  42. package/tencentcloud/services/es/v20180416/es_models.d.ts +120 -105
  43. package/tencentcloud/services/es/v20250101/es_client.d.ts +51 -0
  44. package/tencentcloud/services/es/v20250101/es_client.js +90 -0
  45. package/tencentcloud/services/es/v20250101/es_models.d.ts +568 -0
  46. package/tencentcloud/services/es/v20250101/es_models.js +18 -0
  47. package/tencentcloud/services/es/v20250101/index.d.ts +6 -0
  48. package/tencentcloud/services/es/v20250101/index.js +10 -0
  49. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +16 -1
  50. package/tencentcloud/services/ess/v20201111/ess_client.js +17 -0
  51. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +61 -20
  52. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +15 -1
  53. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +16 -0
  54. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +77 -39
  55. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +61 -53
  56. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +87 -75
  57. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +90 -0
  58. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
  59. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -7
  60. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
  61. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +69 -5
  62. package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +3 -3
  63. package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +3 -3
  64. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
  65. package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
  66. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +21 -8
  67. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +101 -92
  68. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  69. package/tencentcloud/services/sts/v20180813/sts_client.d.ts +5 -1
  70. package/tencentcloud/services/sts/v20180813/sts_client.js +6 -0
  71. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +50 -4
  72. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +5 -3
  73. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +20 -0
  74. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -1
  75. package/tencentcloud/services/tione/v20211111/tione_client.js +6 -0
  76. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +271 -156
  77. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +4 -0
  78. package/tencentcloud/services/trtc/v20190722/trtc_client.js +4 -0
  79. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -5
  80. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +2 -151
  81. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +3 -1
  82. package/tencentcloud/services/tsf/v20180326/tsf_client.js +3 -1
  83. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +20 -72
  84. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +27 -15
  85. package/tencentcloud/services/waf/v20180125/waf_client.js +39 -21
  86. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +219 -92
@@ -139,13 +139,25 @@ export interface AssumeRoleResponse {
139
139
  RequestId?: string;
140
140
  }
141
141
  /**
142
- * QueryApiKey请求参数结构体
142
+ * GetSessionToken返回参数结构体
143
143
  */
144
- export interface QueryApiKeyRequest {
144
+ export interface GetSessionTokenResponse {
145
145
  /**
146
- * 待查询的账号uin(不填默认查当前账号uin)
146
+ * 临时访问凭证
147
147
  */
148
- TargetUin?: number;
148
+ Credentials?: Credentials;
149
+ /**
150
+ * 证书无效的时间,返回 Unix 时间戳,精确到秒
151
+ */
152
+ ExpiredTime?: number;
153
+ /**
154
+ * 临时访问凭证的过期时间,以 iso8601 格式的 UTC 时间表示
155
+ */
156
+ Expiration?: string;
157
+ /**
158
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
159
+ */
160
+ RequestId?: string;
149
161
  }
150
162
  /**
151
163
  * GetFederationToken请求参数结构体
@@ -214,6 +226,32 @@ export interface GetCallerIdentityResponse {
214
226
  */
215
227
  RequestId?: string;
216
228
  }
229
+ /**
230
+ * QueryApiKey请求参数结构体
231
+ */
232
+ export interface QueryApiKeyRequest {
233
+ /**
234
+ * 待查询的账号uin(不填默认查当前账号uin)
235
+ */
236
+ TargetUin?: number;
237
+ }
238
+ /**
239
+ * GetSessionToken请求参数结构体
240
+ */
241
+ export interface GetSessionTokenRequest {
242
+ /**
243
+ * MFA序列号,与进行调用的CAM用户关联的MFA设备的标识号。格式qcs::cam:uin/${ownerUin}::mfa/${mfaType}。mfaType支持softToken(软token)
244
+ */
245
+ SerialNumber: string;
246
+ /**
247
+ * mfa身份验证码。
248
+ */
249
+ TokenCode: string;
250
+ /**
251
+ * 指定临时证书的有效期,单位:秒,默认1800秒,主账号最长可设定有效期为7200秒,子账号最长可设定有效期为129600秒。
252
+ */
253
+ DurationSeconds?: number;
254
+ }
217
255
  /**
218
256
  * 临时证书
219
257
  */
@@ -273,6 +311,14 @@ export interface AssumeRoleRequest {
273
311
  * 调用者身份uin
274
312
  */
275
313
  SourceIdentity?: string;
314
+ /**
315
+ * MFA序列号,与进行调用的CAM用户关联的MFA设备的标识号。格式qcs::cam:uin/${ownerUin}::mfa/${mfaType}。mfaType支持softToken(软token)
316
+ */
317
+ SerialNumber?: string;
318
+ /**
319
+ * mfa身份验证码。
320
+ */
321
+ TokenCode?: string;
276
322
  }
277
323
  /**
278
324
  * GetCallerIdentity请求参数结构体
@@ -2108,11 +2108,11 @@ export interface DescribeTagRetentionExecutionTaskRequest {
2108
2108
  */
2109
2109
  ExecutionId: number;
2110
2110
  /**
2111
- * 分页Page
2111
+ * 页数,第几页,用于分页
2112
2112
  */
2113
2113
  Offset?: number;
2114
2114
  /**
2115
- * 分页PageSize
2115
+ * 每页个数,用于分页,最大值为100
2116
2116
  */
2117
2117
  Limit?: number;
2118
2118
  }
@@ -4310,7 +4310,9 @@ export interface CreateRepositoryRequest {
4310
4310
  */
4311
4311
  NamespaceName: string;
4312
4312
  /**
4313
- * 仓库名称
4313
+ * 仓库名称,需满足以下规则:
4314
+ 1. 长度需 ​大于2且小于245个字符
4315
+ 2. 仅允许小写字母、数字及符号 . _ -
4314
4316
  */
4315
4317
  RepositoryName: string;
4316
4318
  /**
@@ -463,6 +463,16 @@ export interface RocketMQGroup {
463
463
  注意:此字段可能返回 null,表示取不到有效值。
464
464
  */
465
465
  RetryMaxTimes?: number;
466
+ /**
467
+ * 实例ID
468
+ 注意:此字段可能返回 null,表示取不到有效值。
469
+ */
470
+ InstanceId?: string;
471
+ /**
472
+ * 命名空间
473
+ 注意:此字段可能返回 null,表示取不到有效值。
474
+ */
475
+ Namespace?: string;
466
476
  }
467
477
  /**
468
478
  * ModifyRabbitMQUser请求参数结构体
@@ -8714,6 +8724,16 @@ export interface RocketMQTopic {
8714
8724
  * 创建时间,以毫秒为单位
8715
8725
  */
8716
8726
  UpdateTime?: number;
8727
+ /**
8728
+ * 实例ID
8729
+ 注意:此字段可能返回 null,表示取不到有效值。
8730
+ */
8731
+ InstanceId?: string;
8732
+ /**
8733
+ * 命名空间
8734
+ 注意:此字段可能返回 null,表示取不到有效值。
8735
+ */
8736
+ Namespace?: string;
8717
8737
  /**
8718
8738
  * 最后写入时间,单位为秒
8719
8739
  注意:此字段可能返回 null,表示取不到有效值。
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { CreateModelServiceRequest, DescribeModelAccelerateVersionsRequest, StopModelAccelerateTaskRequest, DeleteTrainingModelVersionResponse, StartTrainingTaskRequest, DescribeBillingResourceGroupsRequest, DeleteNotebookRequest, DescribeTrainingModelVersionsRequest, CreateDatasetResponse, DescribeTrainingTasksRequest, DescribeBillingResourceGroupResponse, DescribeBillingResourceGroupsResponse, StartNotebookResponse, DescribeTrainingTaskPodsRequest, DescribeTrainingModelVersionRequest, StartNotebookRequest, PushTrainingMetricsRequest, DescribeModelAccelerateVersionsResponse, DescribeBuildInImagesRequest, ModifyModelServiceRequest, ChatCompletionRequest, DescribeModelServiceCallInfoRequest, CreateTrainingModelRequest, DescribeModelServiceGroupsResponse, DescribeBillingResourceInstanceRunningJobsResponse, CreateNotebookRequest, CreatePresignedNotebookUrlResponse, DescribeDatasetsRequest, DeleteTrainingModelResponse, DescribeInferTemplatesResponse, DescribeBillingSpecsRequest, DescribeInferTemplatesRequest, DeleteModelServiceGroupResponse, DescribeModelServiceResponse, DescribeModelAccelerateTaskResponse, DescribeModelServiceGroupsRequest, DescribeModelServiceRequest, CreateTrainingTaskResponse, DeleteModelServiceRequest, DescribeModelServiceGroupRequest, CreateTrainingTaskRequest, CreatePresignedNotebookUrlRequest, StopNotebookResponse, DescribeModelServiceHotUpdatedResponse, DescribeBuildInImagesResponse, DescribeDatasetsResponse, CreateNotebookResponse, DescribeBillingSpecsPriceRequest, DescribeBillingSpecsResponse, DeleteTrainingTaskResponse, DescribeNotebooksResponse, DescribeModelServiceCallInfoResponse, DescribeNotebooksRequest, DeleteNotebookResponse, DeleteTrainingTaskRequest, DescribeBillingResourceInstanceRunningJobsRequest, ModifyModelServiceResponse, CreateDatasetRequest, CreateModelServiceResponse, DescribeModelServiceGroupResponse, DescribeNotebookResponse, CreateTrainingModelResponse, StopModelAccelerateTaskResponse, DescribeModelAccelerateTaskRequest, DeleteDatasetResponse, DescribeTrainingTasksResponse, DescribeNotebookRequest, StopNotebookRequest, DeleteModelServiceGroupRequest, DescribeBillingResourceGroupRequest, DescribeTrainingTaskRequest, ChatCompletionResponse, DescribeTrainingModelVersionsResponse, DeleteDatasetRequest, PushTrainingMetricsResponse, StopTrainingTaskResponse, DescribeTrainingTaskPodsResponse, DeleteTrainingModelRequest, DescribeModelServiceHotUpdatedRequest, DescribeTrainingTaskResponse, DeleteModelServiceResponse, DeleteTrainingModelVersionRequest, DescribeBillingSpecsPriceResponse, DescribeTrainingModelVersionResponse, StopTrainingTaskRequest, StartTrainingTaskResponse } from "./tione_models";
3
+ import { CreateModelServiceRequest, DescribeLogsRequest, DescribeModelAccelerateVersionsRequest, StopModelAccelerateTaskRequest, DeleteTrainingModelVersionResponse, StartTrainingTaskRequest, DescribeBillingResourceGroupsRequest, DeleteNotebookRequest, DescribeTrainingModelVersionsRequest, CreateDatasetResponse, DescribeTrainingTasksRequest, DescribeBillingResourceGroupResponse, DescribeBillingResourceGroupsResponse, StartNotebookResponse, DescribeTrainingTaskPodsRequest, DescribeTrainingModelVersionRequest, StartNotebookRequest, PushTrainingMetricsRequest, DescribeModelAccelerateVersionsResponse, DescribeBuildInImagesRequest, ModifyModelServiceRequest, ChatCompletionRequest, DescribeModelServiceCallInfoRequest, CreateTrainingModelRequest, DescribeModelServiceGroupsResponse, DescribeBillingResourceInstanceRunningJobsResponse, CreateNotebookRequest, CreatePresignedNotebookUrlResponse, DescribeDatasetsRequest, DeleteTrainingModelResponse, DescribeInferTemplatesResponse, DescribeBillingSpecsRequest, DescribeInferTemplatesRequest, DeleteModelServiceGroupResponse, DescribeModelServiceResponse, DescribeModelAccelerateTaskResponse, DescribeModelServiceGroupsRequest, DescribeModelServiceRequest, CreateTrainingTaskResponse, DeleteModelServiceRequest, DescribeModelServiceGroupRequest, CreateTrainingTaskRequest, CreatePresignedNotebookUrlRequest, StopNotebookResponse, DescribeModelServiceHotUpdatedResponse, DescribeBuildInImagesResponse, DescribeDatasetsResponse, CreateNotebookResponse, DescribeBillingSpecsPriceRequest, DescribeBillingSpecsResponse, DeleteTrainingTaskResponse, DescribeNotebooksResponse, DescribeModelServiceCallInfoResponse, DescribeNotebooksRequest, DeleteNotebookResponse, DeleteTrainingTaskRequest, DescribeBillingResourceInstanceRunningJobsRequest, ModifyModelServiceResponse, CreateDatasetRequest, CreateModelServiceResponse, DescribeModelServiceGroupResponse, DescribeNotebookResponse, CreateTrainingModelResponse, StopModelAccelerateTaskResponse, DescribeModelAccelerateTaskRequest, DeleteDatasetResponse, DescribeTrainingTasksResponse, DescribeNotebookRequest, DescribeLogsResponse, StopNotebookRequest, DeleteModelServiceGroupRequest, DescribeBillingResourceGroupRequest, DescribeTrainingTaskRequest, ChatCompletionResponse, DescribeTrainingModelVersionsResponse, DeleteDatasetRequest, PushTrainingMetricsResponse, StopTrainingTaskResponse, DescribeTrainingTaskPodsResponse, DeleteTrainingModelRequest, DescribeModelServiceHotUpdatedRequest, DescribeTrainingTaskResponse, DeleteModelServiceResponse, DeleteTrainingModelVersionRequest, DescribeBillingSpecsPriceResponse, DescribeTrainingModelVersionResponse, StopTrainingTaskRequest, StartTrainingTaskResponse } from "./tione_models";
4
4
  /**
5
5
  * tione client
6
6
  * @class
@@ -119,6 +119,10 @@ export declare class Client extends AbstractClient {
119
119
  * 生成Notebook访问链接
120
120
  */
121
121
  CreatePresignedNotebookUrl(req: CreatePresignedNotebookUrlRequest, cb?: (error: string, rep: CreatePresignedNotebookUrlResponse) => void): Promise<CreatePresignedNotebookUrlResponse>;
122
+ /**
123
+ * 获取任务式建模训练任务,Notebook,在线服务和批量预测任务的日志API
124
+ */
125
+ DescribeLogs(req: DescribeLogsRequest, cb?: (error: string, rep: DescribeLogsResponse) => void): Promise<DescribeLogsResponse>;
122
126
  /**
123
127
  * 根据服务id删除模型服务
124
128
  */
@@ -195,6 +195,12 @@ class Client extends abstract_client_1.AbstractClient {
195
195
  async CreatePresignedNotebookUrl(req, cb) {
196
196
  return this.request("CreatePresignedNotebookUrl", req, cb);
197
197
  }
198
+ /**
199
+ * 获取任务式建模训练任务,Notebook,在线服务和批量预测任务的日志API
200
+ */
201
+ async DescribeLogs(req, cb) {
202
+ return this.request("DescribeLogs", req, cb);
203
+ }
198
204
  /**
199
205
  * 根据服务id删除模型服务
200
206
  */
@@ -175,183 +175,75 @@ export interface CreateModelServiceRequest {
175
175
  PreStopCommand?: Array<string>;
176
176
  }
177
177
  /**
178
- * 描述在线服务
178
+ * DescribeLogs请求参数结构体
179
179
  */
180
- export interface Service {
181
- /**
182
- * 服务组id
183
- */
184
- ServiceGroupId?: string;
185
- /**
186
- * 服务id
187
- */
188
- ServiceId?: string;
189
- /**
190
- * 服务组名
191
- */
192
- ServiceGroupName?: string;
193
- /**
194
- * 服务描述
195
- 注意:此字段可能返回 null,表示取不到有效值。
196
- */
197
- ServiceDescription?: string;
198
- /**
199
- * 服务的详细信息
200
- 注意:此字段可能返回 null,表示取不到有效值。
201
- */
202
- ServiceInfo?: ServiceInfo;
203
- /**
204
- * 集群id
205
- 注意:此字段可能返回 null,表示取不到有效值。
206
- */
207
- ClusterId?: string;
208
- /**
209
- * 地域
210
- 注意:此字段可能返回 null,表示取不到有效值。
211
- */
212
- Region?: string;
213
- /**
214
- * 命名空间
215
- 注意:此字段可能返回 null,表示取不到有效值。
216
- */
217
- Namespace?: string;
218
- /**
219
- * 付费类型
220
- 注意:此字段可能返回 null,表示取不到有效值。
221
- */
222
- ChargeType?: string;
223
- /**
224
- * 包年包月服务的资源组id,按量计费的服务为空
225
- 注意:此字段可能返回 null,表示取不到有效值。
226
- */
227
- ResourceGroupId?: string;
228
- /**
229
- * 包年包月服务对应的资源组名字
230
- 注意:此字段可能返回 null,表示取不到有效值。
231
- */
232
- ResourceGroupName?: string;
233
- /**
234
- * 服务的标签
235
- 注意:此字段可能返回 null,表示取不到有效值。
236
- */
237
- Tags?: Array<Tag>;
238
- /**
239
- * 服务所在的 ingress 的 name
240
- 注意:此字段可能返回 null,表示取不到有效值。
241
- */
242
- IngressName?: string;
243
- /**
244
- * 创建者
245
- 注意:此字段可能返回 null,表示取不到有效值。
246
- */
247
- CreatedBy?: string;
248
- /**
249
- * 创建时间
250
- 注意:此字段可能返回 null,表示取不到有效值。
251
- */
252
- CreateTime?: string;
253
- /**
254
- * 更新时间
255
- 注意:此字段可能返回 null,表示取不到有效值。
256
- */
257
- UpdateTime?: string;
258
- /**
259
- * 主账号
260
- 注意:此字段可能返回 null,表示取不到有效值。
261
- */
262
- Uin?: string;
263
- /**
264
- * 子账号
265
- 注意:此字段可能返回 null,表示取不到有效值。
266
- */
267
- SubUin?: string;
268
- /**
269
- * app_id
270
- 注意:此字段可能返回 null,表示取不到有效值。
271
- */
272
- AppId?: number;
180
+ export interface DescribeLogsRequest {
273
181
  /**
274
- * 服务的业务状态
275
- 注意:此字段可能返回 null,表示取不到有效值。
276
- */
277
- BusinessStatus?: string;
278
- /**
279
- * 已废弃,以ServiceInfo中的对应为准
280
- 注意:此字段可能返回 null,表示取不到有效值。
281
- * @deprecated
282
- */
283
- ServiceLimit?: ServiceLimit;
284
- /**
285
- * 已废弃,以ServiceInfo中的对应为准
286
- 注意:此字段可能返回 null,表示取不到有效值。
287
- * @deprecated
182
+ * 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
183
+ 枚举值:
184
+ - TRAIN
185
+ - NOTEBOOK
186
+ - INFER
187
+ - BATCH
288
188
  */
289
- ScheduledAction?: ScheduledAction;
189
+ Service: string;
290
190
  /**
291
- * 服务创建失败的原因,创建成功后该字段为默认值 CREATE_SUCCEED
292
- 注意:此字段可能返回 null,表示取不到有效值。
191
+ * 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
293
192
  */
294
- CreateFailedReason?: string;
295
- /**
296
- * 服务状态
297
- CREATING 创建中
298
- CREATE_FAILED 创建失败
299
- Normal 正常运行中
300
- Stopped 已停止
301
- Stopping 停止中
302
- Abnormal 异常
303
- Pending 启动中
304
- Waiting 就绪中
305
- 注意:此字段可能返回 null,表示取不到有效值。
306
- */
307
- Status?: string;
308
- /**
309
- * 费用信息
310
- 注意:此字段可能返回 null,表示取不到有效值。
311
- */
312
- BillingInfo?: string;
193
+ StartTime?: string;
313
194
  /**
314
- * 模型权重
315
- 注意:此字段可能返回 null,表示取不到有效值。
195
+ * 日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间
316
196
  */
317
- Weight?: number;
197
+ EndTime?: string;
318
198
  /**
319
- * 服务的创建来源
320
- AUTO_ML: 来自自动学习的一键发布
321
- DEFAULT: 其他来源
322
- 注意:此字段可能返回 null,表示取不到有效值。
199
+ * 日志查询条数,默认值100,最大值100
323
200
  */
324
- CreateSource?: string;
201
+ Limit?: number;
325
202
  /**
326
- * 版本号
327
- 注意:此字段可能返回 null,表示取不到有效值。
203
+ * 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
204
+ - Service类型为TRAIN:
205
+ 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
206
+ - Service类型为NOTEBOOK:
207
+ 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
208
+ - Service类型为INFER:
209
+ 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
210
+ - Service类型为BATCH:
211
+ 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
328
212
  */
329
- Version?: string;
213
+ ServiceId?: string;
330
214
  /**
331
- * 服务组下服务的最高版本号
332
- 注意:此字段可能返回 null,表示取不到有效值。
215
+ * Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:
216
+ - Service类型为TRAIN:
217
+ 调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames
218
+ - Service类型为NOTEBOOK:
219
+ 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName
220
+ - Service类型为INFER:
221
+ 调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos
222
+ - Service类型为BATCH:
223
+ 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList
224
+ 注:支持结尾通配符*
333
225
  */
334
- LatestVersion?: string;
226
+ PodName?: string;
335
227
  /**
336
- * 资源组类别 托管 NORMAL,纳管 SW
337
- 注意:此字段可能返回 null,表示取不到有效值。
228
+ * 排序方向(可选值为ASC, DESC ),默认为DESC
338
229
  */
339
- ResourceGroupSWType?: string;
230
+ Order?: string;
340
231
  /**
341
- * 服务的归档状态 Waiting 等待归档中,Archived 已归档
342
- 注意:此字段可能返回 null,表示取不到有效值。
232
+ * 按哪个字段排序(可选值为Timestamp),默认值为Timestamp
343
233
  */
344
- ArchiveStatus?: string;
234
+ OrderField?: string;
345
235
  /**
346
- * 服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
347
- 注意:此字段可能返回 null,表示取不到有效值。
236
+ * 日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回
348
237
  */
349
- DeployType?: string;
238
+ Context?: string;
350
239
  /**
351
- * 单副本下的实例数,仅在部署类型为DIST时生效,默认1
352
- 注意:此字段可能返回 null,表示取不到有效值。
240
+ * 过滤条件
241
+ 注意:
242
+ 1. Filter.Name:目前只支持Key(也就是按关键字过滤日志)
243
+ 2. Filter.Values:表示过滤日志的关键字;Values为多个的时候表示同时满足
244
+ 3. Filter. Negative和Filter. Fuzzy没有使用
353
245
  */
354
- InstancePerReplicas?: string;
246
+ Filters?: Array<Filter>;
355
247
  }
356
248
  /**
357
249
  * DescribeModelAccelerateVersions请求参数结构体
@@ -739,6 +631,185 @@ export interface CreateDatasetResponse {
739
631
  */
740
632
  RequestId?: string;
741
633
  }
634
+ /**
635
+ * 描述在线服务
636
+ */
637
+ export interface Service {
638
+ /**
639
+ * 服务组id
640
+ */
641
+ ServiceGroupId?: string;
642
+ /**
643
+ * 服务id
644
+ */
645
+ ServiceId?: string;
646
+ /**
647
+ * 服务组名
648
+ */
649
+ ServiceGroupName?: string;
650
+ /**
651
+ * 服务描述
652
+ 注意:此字段可能返回 null,表示取不到有效值。
653
+ */
654
+ ServiceDescription?: string;
655
+ /**
656
+ * 服务的详细信息
657
+ 注意:此字段可能返回 null,表示取不到有效值。
658
+ */
659
+ ServiceInfo?: ServiceInfo;
660
+ /**
661
+ * 集群id
662
+ 注意:此字段可能返回 null,表示取不到有效值。
663
+ */
664
+ ClusterId?: string;
665
+ /**
666
+ * 地域
667
+ 注意:此字段可能返回 null,表示取不到有效值。
668
+ */
669
+ Region?: string;
670
+ /**
671
+ * 命名空间
672
+ 注意:此字段可能返回 null,表示取不到有效值。
673
+ */
674
+ Namespace?: string;
675
+ /**
676
+ * 付费类型
677
+ 注意:此字段可能返回 null,表示取不到有效值。
678
+ */
679
+ ChargeType?: string;
680
+ /**
681
+ * 包年包月服务的资源组id,按量计费的服务为空
682
+ 注意:此字段可能返回 null,表示取不到有效值。
683
+ */
684
+ ResourceGroupId?: string;
685
+ /**
686
+ * 包年包月服务对应的资源组名字
687
+ 注意:此字段可能返回 null,表示取不到有效值。
688
+ */
689
+ ResourceGroupName?: string;
690
+ /**
691
+ * 服务的标签
692
+ 注意:此字段可能返回 null,表示取不到有效值。
693
+ */
694
+ Tags?: Array<Tag>;
695
+ /**
696
+ * 服务所在的 ingress 的 name
697
+ 注意:此字段可能返回 null,表示取不到有效值。
698
+ */
699
+ IngressName?: string;
700
+ /**
701
+ * 创建者
702
+ 注意:此字段可能返回 null,表示取不到有效值。
703
+ */
704
+ CreatedBy?: string;
705
+ /**
706
+ * 创建时间
707
+ 注意:此字段可能返回 null,表示取不到有效值。
708
+ */
709
+ CreateTime?: string;
710
+ /**
711
+ * 更新时间
712
+ 注意:此字段可能返回 null,表示取不到有效值。
713
+ */
714
+ UpdateTime?: string;
715
+ /**
716
+ * 主账号
717
+ 注意:此字段可能返回 null,表示取不到有效值。
718
+ */
719
+ Uin?: string;
720
+ /**
721
+ * 子账号
722
+ 注意:此字段可能返回 null,表示取不到有效值。
723
+ */
724
+ SubUin?: string;
725
+ /**
726
+ * app_id
727
+ 注意:此字段可能返回 null,表示取不到有效值。
728
+ */
729
+ AppId?: number;
730
+ /**
731
+ * 服务的业务状态
732
+ 注意:此字段可能返回 null,表示取不到有效值。
733
+ */
734
+ BusinessStatus?: string;
735
+ /**
736
+ * 已废弃,以ServiceInfo中的对应为准
737
+ 注意:此字段可能返回 null,表示取不到有效值。
738
+ * @deprecated
739
+ */
740
+ ServiceLimit?: ServiceLimit;
741
+ /**
742
+ * 已废弃,以ServiceInfo中的对应为准
743
+ 注意:此字段可能返回 null,表示取不到有效值。
744
+ * @deprecated
745
+ */
746
+ ScheduledAction?: ScheduledAction;
747
+ /**
748
+ * 服务创建失败的原因,创建成功后该字段为默认值 CREATE_SUCCEED
749
+ 注意:此字段可能返回 null,表示取不到有效值。
750
+ */
751
+ CreateFailedReason?: string;
752
+ /**
753
+ * 服务状态
754
+ CREATING 创建中
755
+ CREATE_FAILED 创建失败
756
+ Normal 正常运行中
757
+ Stopped 已停止
758
+ Stopping 停止中
759
+ Abnormal 异常
760
+ Pending 启动中
761
+ Waiting 就绪中
762
+ 注意:此字段可能返回 null,表示取不到有效值。
763
+ */
764
+ Status?: string;
765
+ /**
766
+ * 费用信息
767
+ 注意:此字段可能返回 null,表示取不到有效值。
768
+ */
769
+ BillingInfo?: string;
770
+ /**
771
+ * 模型权重
772
+ 注意:此字段可能返回 null,表示取不到有效值。
773
+ */
774
+ Weight?: number;
775
+ /**
776
+ * 服务的创建来源
777
+ AUTO_ML: 来自自动学习的一键发布
778
+ DEFAULT: 其他来源
779
+ 注意:此字段可能返回 null,表示取不到有效值。
780
+ */
781
+ CreateSource?: string;
782
+ /**
783
+ * 版本号
784
+ 注意:此字段可能返回 null,表示取不到有效值。
785
+ */
786
+ Version?: string;
787
+ /**
788
+ * 服务组下服务的最高版本号
789
+ 注意:此字段可能返回 null,表示取不到有效值。
790
+ */
791
+ LatestVersion?: string;
792
+ /**
793
+ * 资源组类别 托管 NORMAL,纳管 SW
794
+ 注意:此字段可能返回 null,表示取不到有效值。
795
+ */
796
+ ResourceGroupSWType?: string;
797
+ /**
798
+ * 服务的归档状态 Waiting 等待归档中,Archived 已归档
799
+ 注意:此字段可能返回 null,表示取不到有效值。
800
+ */
801
+ ArchiveStatus?: string;
802
+ /**
803
+ * 服务的部署类型 [STANDARD 标准部署,DIST 分布式多机部署] 默认STANDARD
804
+ 注意:此字段可能返回 null,表示取不到有效值。
805
+ */
806
+ DeployType?: string;
807
+ /**
808
+ * 单副本下的实例数,仅在部署类型为DIST时生效,默认1
809
+ 注意:此字段可能返回 null,表示取不到有效值。
810
+ */
811
+ InstancePerReplicas?: string;
812
+ }
742
813
  /**
743
814
  * 跨租户弹性网卡下Pod调用信息
744
815
  */
@@ -4370,6 +4441,31 @@ export interface CreateTrainingModelResponse {
4370
4441
  */
4371
4442
  RequestId?: string;
4372
4443
  }
4444
+ /**
4445
+ * 单条日志数据结构
4446
+ */
4447
+ export interface LogIdentity {
4448
+ /**
4449
+ * 单条日志的ID
4450
+ 注意:此字段可能返回 null,表示取不到有效值。
4451
+ */
4452
+ Id: string;
4453
+ /**
4454
+ * 单条日志的内容
4455
+ 注意:此字段可能返回 null,表示取不到有效值。
4456
+ */
4457
+ Message: string;
4458
+ /**
4459
+ * 这条日志对应的Pod名称
4460
+ 注意:此字段可能返回 null,表示取不到有效值。
4461
+ */
4462
+ PodName: string;
4463
+ /**
4464
+ * 日志的时间戳(RFC3339格式的时间字符串)
4465
+ 注意:此字段可能返回 null,表示取不到有效值。
4466
+ */
4467
+ Timestamp: string;
4468
+ }
4373
4469
  /**
4374
4470
  * StopModelAccelerateTask返回参数结构体
4375
4471
  */
@@ -4717,6 +4813,25 @@ export interface LocalDisk {
4717
4813
  */
4718
4814
  LocalPath?: string;
4719
4815
  }
4816
+ /**
4817
+ * DescribeLogs返回参数结构体
4818
+ */
4819
+ export interface DescribeLogsResponse {
4820
+ /**
4821
+ * 分页的游标
4822
+ 注意:此字段可能返回 null,表示取不到有效值。
4823
+ */
4824
+ Context?: string;
4825
+ /**
4826
+ * 日志数组
4827
+ 注意:此字段可能返回 null,表示取不到有效值。
4828
+ */
4829
+ Content?: Array<LogIdentity>;
4830
+ /**
4831
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4832
+ */
4833
+ RequestId?: string;
4834
+ }
4720
4835
  /**
4721
4836
  * 编码后的启动命令信息
4722
4837
  */
@@ -211,6 +211,10 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
211
211
  - 拉取特定用户的流。
212
212
 
213
213
  服务端通过TRTC的自定义消息实时下发字幕以及转录消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。
214
+
215
+
216
+ **注意:**
217
+ TranscriptionMode为0时,需要保证一个房间内只发起一个任务,如果发起多个任务,则机器人之间会相互订阅,除非主动停止任务,否则只有10小时后任务才会超时退出,这种情况下建议填写SessionId,保证后续重复发起的任务失败。
214
218
  */
215
219
  StartAITranscription(req: StartAITranscriptionRequest, cb?: (error: string, rep: StartAITranscriptionResponse) => void): Promise<StartAITranscriptionResponse>;
216
220
  /**
@@ -283,6 +283,10 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
283
283
  - 拉取特定用户的流。
284
284
 
285
285
  服务端通过TRTC的自定义消息实时下发字幕以及转录消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。
286
+
287
+
288
+ **注意:**
289
+ TranscriptionMode为0时,需要保证一个房间内只发起一个任务,如果发起多个任务,则机器人之间会相互订阅,除非主动停止任务,否则只有10小时后任务才会超时退出,这种情况下建议填写SessionId,保证后续重复发起的任务失败。
286
290
  */
287
291
  async StartAITranscription(req, cb) {
288
292
  return this.request("StartAITranscription", req, cb);