@ucloud-sdks/ucloud-sdk-js 0.2.58 → 0.2.60
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.
|
@@ -100,11 +100,11 @@ export default class UAIModelverseClient extends Client {
|
|
|
100
100
|
*/
|
|
101
101
|
listUFSquareModelFiltersAuth(request?: ListUFSquareModelFiltersAuthRequest): Promise<ListUFSquareModelFiltersAuthResponse>;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* ListUMInferAPIKeyV2 - 获取modelverse apikey,密钥掩码返回
|
|
104
104
|
*
|
|
105
|
-
* See also: https://docs.ucloud.cn/api/uai-modelverse-api/
|
|
105
|
+
* See also: https://docs.ucloud.cn/api/uai-modelverse-api/list_um_infer_api_key_v2
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
listUMInferAPIKeyV2(request?: ListUMInferAPIKeyV2Request): Promise<ListUMInferAPIKeyV2Response>;
|
|
108
108
|
/**
|
|
109
109
|
* ListUMInferRequestLogs - 日志明细列表
|
|
110
110
|
*
|
|
@@ -242,7 +242,7 @@ export interface CreateUMInferAPIKeyResponse {
|
|
|
242
242
|
*/
|
|
243
243
|
CreateTime?: number;
|
|
244
244
|
/**
|
|
245
|
-
*
|
|
245
|
+
* 密钥值,前四后四,中间*掩码展示
|
|
246
246
|
*/
|
|
247
247
|
Key?: string;
|
|
248
248
|
/**
|
|
@@ -2251,34 +2251,50 @@ export interface ListUFSquareModelFiltersAuthResponse {
|
|
|
2251
2251
|
}[];
|
|
2252
2252
|
}
|
|
2253
2253
|
/**
|
|
2254
|
-
*
|
|
2254
|
+
* ListUMInferAPIKeyV2 - 获取modelverse apikey,密钥掩码返回
|
|
2255
2255
|
*/
|
|
2256
|
-
export interface
|
|
2256
|
+
export interface ListUMInferAPIKeyV2Request {
|
|
2257
2257
|
/**
|
|
2258
|
-
*
|
|
2258
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
2259
2259
|
*/
|
|
2260
|
-
|
|
2260
|
+
Zone: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* 按 API Key 资源 ID 精确过滤;为空不限制
|
|
2263
|
+
*/
|
|
2264
|
+
KeyId?: string;
|
|
2261
2265
|
/**
|
|
2262
|
-
*
|
|
2266
|
+
* 从 0 开始的页号,默认 0;不是记录偏移量
|
|
2267
|
+
*/
|
|
2268
|
+
Offset?: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* 每页条数;0 表示不限制条数
|
|
2263
2271
|
*/
|
|
2264
2272
|
Limit?: number;
|
|
2265
2273
|
/**
|
|
2266
|
-
*
|
|
2274
|
+
* 默认 false,排除已删除记录;true 包含已删除记录
|
|
2267
2275
|
*/
|
|
2268
|
-
|
|
2276
|
+
AllStatus?: number;
|
|
2269
2277
|
/**
|
|
2270
|
-
*
|
|
2278
|
+
* 不传不限制;0 启用,1 禁用
|
|
2271
2279
|
*/
|
|
2272
|
-
SandBoxDisabled?:
|
|
2280
|
+
SandBoxDisabled?: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* true 按创建时间升序,false 降序
|
|
2283
|
+
*/
|
|
2284
|
+
SortByCreateTimeAsc?: boolean;
|
|
2285
|
+
/**
|
|
2286
|
+
* true 按更新时间升序,false 降序;优先于创建时间排序
|
|
2287
|
+
*/
|
|
2288
|
+
SortByUpdateTimeAsc?: boolean;
|
|
2273
2289
|
}
|
|
2274
2290
|
/**
|
|
2275
|
-
*
|
|
2291
|
+
* ListUMInferAPIKeyV2 - 获取modelverse apikey,密钥掩码返回
|
|
2276
2292
|
*/
|
|
2277
|
-
export interface
|
|
2293
|
+
export interface ListUMInferAPIKeyV2Response {
|
|
2278
2294
|
/**
|
|
2279
|
-
*
|
|
2295
|
+
* data
|
|
2280
2296
|
*/
|
|
2281
|
-
Data
|
|
2297
|
+
Data?: {
|
|
2282
2298
|
/**
|
|
2283
2299
|
* ip白名单,换行分割的多组ip。支持IPv4和网段,输入后回车生效,最多100个, 示例: 192.168.1.1 192.168.1.10-192.168.1.100 192.168.1.10/24
|
|
2284
2300
|
*/
|
|
@@ -2324,7 +2340,7 @@ export interface ListUMInferAPIKeyResponse {
|
|
|
2324
2340
|
*/
|
|
2325
2341
|
CreateTime?: number;
|
|
2326
2342
|
/**
|
|
2327
|
-
*
|
|
2343
|
+
* 密钥值,前四后四,中间*掩码展示
|
|
2328
2344
|
*/
|
|
2329
2345
|
Key?: string;
|
|
2330
2346
|
/**
|
|
@@ -2364,6 +2380,14 @@ export interface ListUMInferAPIKeyResponse {
|
|
|
2364
2380
|
*/
|
|
2365
2381
|
GrantedModels?: string[];
|
|
2366
2382
|
}[];
|
|
2383
|
+
/**
|
|
2384
|
+
* 时间戳
|
|
2385
|
+
*/
|
|
2386
|
+
Timestamp?: number;
|
|
2387
|
+
/**
|
|
2388
|
+
* 数据量
|
|
2389
|
+
*/
|
|
2390
|
+
TotalCount?: number;
|
|
2367
2391
|
}
|
|
2368
2392
|
/**
|
|
2369
2393
|
* ListUMInferRequestLogs - 日志明细列表
|
|
@@ -148,12 +148,12 @@ class UAIModelverseClient extends client_1.default {
|
|
|
148
148
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* ListUMInferAPIKeyV2 - 获取modelverse apikey,密钥掩码返回
|
|
152
152
|
*
|
|
153
|
-
* See also: https://docs.ucloud.cn/api/uai-modelverse-api/
|
|
153
|
+
* See also: https://docs.ucloud.cn/api/uai-modelverse-api/list_um_infer_api_key_v2
|
|
154
154
|
*/
|
|
155
|
-
|
|
156
|
-
const args = Object.assign({ Action: '
|
|
155
|
+
listUMInferAPIKeyV2(request) {
|
|
156
|
+
const args = Object.assign({ Action: 'ListUMInferAPIKeyV2' }, (request || {}));
|
|
157
157
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
@@ -63,12 +63,24 @@ export default class ULogServiceClient extends Client {
|
|
|
63
63
|
* See also: https://docs.ucloud.cn/api/ulogservice-api/delete_u_log_service_topic
|
|
64
64
|
*/
|
|
65
65
|
deleteULogServiceTopic(request?: DeleteULogServiceTopicRequest): Promise<DeleteULogServiceTopicResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* DescribeULogServiceLogSet - 获取日志集信息
|
|
68
|
+
*
|
|
69
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_log_set
|
|
70
|
+
*/
|
|
71
|
+
describeULogServiceLogSet(request?: DescribeULogServiceLogSetRequest): Promise<DescribeULogServiceLogSetResponse>;
|
|
66
72
|
/**
|
|
67
73
|
* DescribeULogServiceMachineGroup - 查询日志采集机器组
|
|
68
74
|
*
|
|
69
75
|
* See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_machine_group
|
|
70
76
|
*/
|
|
71
77
|
describeULogServiceMachineGroup(request?: DescribeULogServiceMachineGroupRequest): Promise<DescribeULogServiceMachineGroupResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* DescribeULogServiceTopic - 获取ULogService主题详情
|
|
80
|
+
*
|
|
81
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_topic
|
|
82
|
+
*/
|
|
83
|
+
describeULogServiceTopic(request?: DescribeULogServiceTopicRequest): Promise<DescribeULogServiceTopicResponse>;
|
|
72
84
|
/**
|
|
73
85
|
* GetULogServiceTopicField - 获取ULogService主题索引字段
|
|
74
86
|
*
|
|
@@ -379,6 +391,57 @@ export interface DeleteULogServiceTopicRequest {
|
|
|
379
391
|
*/
|
|
380
392
|
export interface DeleteULogServiceTopicResponse {
|
|
381
393
|
}
|
|
394
|
+
/**
|
|
395
|
+
* DescribeULogServiceLogSet - 获取日志集信息
|
|
396
|
+
*/
|
|
397
|
+
export interface DescribeULogServiceLogSetRequest {
|
|
398
|
+
/**
|
|
399
|
+
* 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
|
|
400
|
+
*/
|
|
401
|
+
Zone: string;
|
|
402
|
+
/**
|
|
403
|
+
* 日志集ID
|
|
404
|
+
*/
|
|
405
|
+
LogSetId: string;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* DescribeULogServiceLogSet - 获取日志集信息
|
|
409
|
+
*/
|
|
410
|
+
export interface DescribeULogServiceLogSetResponse {
|
|
411
|
+
/**
|
|
412
|
+
* 日志集总数
|
|
413
|
+
*/
|
|
414
|
+
TotalCount: number;
|
|
415
|
+
/**
|
|
416
|
+
* 日志集信息
|
|
417
|
+
*/
|
|
418
|
+
LogSetInfo: {
|
|
419
|
+
/**
|
|
420
|
+
* 日志集下主题数量
|
|
421
|
+
*/
|
|
422
|
+
TopicCount?: number;
|
|
423
|
+
/**
|
|
424
|
+
* 日志集ID
|
|
425
|
+
*/
|
|
426
|
+
LogSetId?: string;
|
|
427
|
+
/**
|
|
428
|
+
* 日志集备注
|
|
429
|
+
*/
|
|
430
|
+
LogSetRemark?: string;
|
|
431
|
+
/**
|
|
432
|
+
* 日志集名称
|
|
433
|
+
*/
|
|
434
|
+
LogSetName?: string;
|
|
435
|
+
/**
|
|
436
|
+
* 创建时间
|
|
437
|
+
*/
|
|
438
|
+
CreateTime?: number;
|
|
439
|
+
/**
|
|
440
|
+
* 更新时间
|
|
441
|
+
*/
|
|
442
|
+
UpdateTime?: number;
|
|
443
|
+
};
|
|
444
|
+
}
|
|
382
445
|
/**
|
|
383
446
|
* DescribeULogServiceMachineGroup - 查询日志采集机器组
|
|
384
447
|
*/
|
|
@@ -451,6 +514,49 @@ export interface DescribeULogServiceMachineGroupResponse {
|
|
|
451
514
|
Ips?: string;
|
|
452
515
|
};
|
|
453
516
|
}
|
|
517
|
+
/**
|
|
518
|
+
* DescribeULogServiceTopic - 获取ULogService主题详情
|
|
519
|
+
*/
|
|
520
|
+
export interface DescribeULogServiceTopicRequest {
|
|
521
|
+
/**
|
|
522
|
+
* 主题Id
|
|
523
|
+
*/
|
|
524
|
+
TopicId: string;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* DescribeULogServiceTopic - 获取ULogService主题详情
|
|
528
|
+
*/
|
|
529
|
+
export interface DescribeULogServiceTopicResponse {
|
|
530
|
+
/**
|
|
531
|
+
* 主题详情
|
|
532
|
+
*/
|
|
533
|
+
Data: {
|
|
534
|
+
/**
|
|
535
|
+
* 主题名称
|
|
536
|
+
*/
|
|
537
|
+
TopicName?: string;
|
|
538
|
+
/**
|
|
539
|
+
* 主题ID
|
|
540
|
+
*/
|
|
541
|
+
TopicId?: string;
|
|
542
|
+
/**
|
|
543
|
+
* 分区数量,固定是2
|
|
544
|
+
*/
|
|
545
|
+
TopicShardNum?: number;
|
|
546
|
+
/**
|
|
547
|
+
* 保存时间 1~730 天
|
|
548
|
+
*/
|
|
549
|
+
ReserveAge?: number;
|
|
550
|
+
/**
|
|
551
|
+
* 是否保留:0 - NORMAL, 1 - RESERVED
|
|
552
|
+
*/
|
|
553
|
+
IsReserved?: number;
|
|
554
|
+
/**
|
|
555
|
+
* 日志主题状态
|
|
556
|
+
*/
|
|
557
|
+
State?: string;
|
|
558
|
+
};
|
|
559
|
+
}
|
|
454
560
|
/**
|
|
455
561
|
* GetULogServiceTopicField - 获取ULogService主题索引字段
|
|
456
562
|
*/
|
|
@@ -739,9 +845,9 @@ export interface ListULogServiceTopicResponse {
|
|
|
739
845
|
*/
|
|
740
846
|
IsReserved?: number;
|
|
741
847
|
/**
|
|
742
|
-
*
|
|
848
|
+
* 日志主题状态
|
|
743
849
|
*/
|
|
744
|
-
|
|
850
|
+
State?: string;
|
|
745
851
|
}[];
|
|
746
852
|
/**
|
|
747
853
|
* 主题总数
|
|
@@ -93,6 +93,15 @@ class ULogServiceClient extends client_1.default {
|
|
|
93
93
|
const args = Object.assign({ Action: 'DeleteULogServiceTopic' }, (request || {}));
|
|
94
94
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* DescribeULogServiceLogSet - 获取日志集信息
|
|
98
|
+
*
|
|
99
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_log_set
|
|
100
|
+
*/
|
|
101
|
+
describeULogServiceLogSet(request) {
|
|
102
|
+
const args = Object.assign({ Action: 'DescribeULogServiceLogSet' }, (request || {}));
|
|
103
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
|
+
}
|
|
96
105
|
/**
|
|
97
106
|
* DescribeULogServiceMachineGroup - 查询日志采集机器组
|
|
98
107
|
*
|
|
@@ -102,6 +111,15 @@ class ULogServiceClient extends client_1.default {
|
|
|
102
111
|
const args = Object.assign({ Action: 'DescribeULogServiceMachineGroup' }, (request || {}));
|
|
103
112
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* DescribeULogServiceTopic - 获取ULogService主题详情
|
|
116
|
+
*
|
|
117
|
+
* See also: https://docs.ucloud.cn/api/ulogservice-api/describe_u_log_service_topic
|
|
118
|
+
*/
|
|
119
|
+
describeULogServiceTopic(request) {
|
|
120
|
+
const args = Object.assign({ Action: 'DescribeULogServiceTopic' }, (request || {}));
|
|
121
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
122
|
+
}
|
|
105
123
|
/**
|
|
106
124
|
* GetULogServiceTopicField - 获取ULogService主题索引字段
|
|
107
125
|
*
|