@ucloud-sdks/ucloud-sdk-js 0.2.58 → 0.2.59
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
|
/**
|