@ucloud-sdks/ucloud-sdk-js 0.2.26 → 0.2.28
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.
|
@@ -172,6 +172,10 @@ export interface CreateUMInferAPIKeyRequest {
|
|
|
172
172
|
* ip白名单,换行分割的多组ip。支持IPv4和网段,输入后回车生效,最多100个, 示例:192.168.1.1192.168.1.10-192.168.1.100192.168.1.10/24
|
|
173
173
|
*/
|
|
174
174
|
IPWhitelist?: string;
|
|
175
|
+
/**
|
|
176
|
+
* 是否开启推理日志
|
|
177
|
+
*/
|
|
178
|
+
InferenceLogEnabled?: number;
|
|
175
179
|
}
|
|
176
180
|
/**
|
|
177
181
|
* CreateUMInferAPIKey - 创建apikey
|
|
@@ -185,6 +189,10 @@ export interface CreateUMInferAPIKeyResponse {
|
|
|
185
189
|
* ip白名单,换行分割的多组ip。支持IPv4和网段,输入后回车生效,最多100个, 示例: 192.168.1.1 192.168.1.10-192.168.1.100 192.168.1.10/24
|
|
186
190
|
*/
|
|
187
191
|
IPWhitelist: string;
|
|
192
|
+
/**
|
|
193
|
+
* 是否开启推理日志
|
|
194
|
+
*/
|
|
195
|
+
InferenceLogEnabled: number;
|
|
188
196
|
/**
|
|
189
197
|
* 资源ID
|
|
190
198
|
*/
|
|
@@ -770,6 +778,18 @@ export interface GetUFSquareModelDetailResponse {
|
|
|
770
778
|
* 模型
|
|
771
779
|
*/
|
|
772
780
|
SquareModel: {
|
|
781
|
+
/**
|
|
782
|
+
* 关联的 batch 模型广场id
|
|
783
|
+
*/
|
|
784
|
+
BatchSquareModelId: string;
|
|
785
|
+
/**
|
|
786
|
+
* 是否关联有可用 batch 模型
|
|
787
|
+
*/
|
|
788
|
+
IsHasBatch?: boolean;
|
|
789
|
+
/**
|
|
790
|
+
* 关联的 batch 模型名称
|
|
791
|
+
*/
|
|
792
|
+
BatchName?: string;
|
|
773
793
|
/**
|
|
774
794
|
* 制造商
|
|
775
795
|
*/
|
|
@@ -1517,6 +1537,14 @@ export interface ListUFSquareModelRequest {
|
|
|
1517
1537
|
* 语言,数组类型,可选值 ["chinese", "english"]
|
|
1518
1538
|
*/
|
|
1519
1539
|
Language?: string[];
|
|
1540
|
+
/**
|
|
1541
|
+
* 制造商,可选值来源于ListUFSquareModelFilters枚举接口。可多选
|
|
1542
|
+
*/
|
|
1543
|
+
Manufacturer?: string[];
|
|
1544
|
+
/**
|
|
1545
|
+
* 模型特性,可选值来源于ListUFSquareModelFilters枚举接口。可多选
|
|
1546
|
+
*/
|
|
1547
|
+
Capabilities?: string[];
|
|
1520
1548
|
}
|
|
1521
1549
|
/**
|
|
1522
1550
|
* ListUFSquareModel - 查询模型广场数据
|
|
@@ -1530,6 +1558,18 @@ export interface ListUFSquareModelResponse {
|
|
|
1530
1558
|
* 广场模型
|
|
1531
1559
|
*/
|
|
1532
1560
|
SquareModels: {
|
|
1561
|
+
/**
|
|
1562
|
+
* 关联的 batch 模型广场id
|
|
1563
|
+
*/
|
|
1564
|
+
BatchSquareModelId: string;
|
|
1565
|
+
/**
|
|
1566
|
+
* 是否关联有可用 batch 模型
|
|
1567
|
+
*/
|
|
1568
|
+
IsHasBatch?: boolean;
|
|
1569
|
+
/**
|
|
1570
|
+
* 关联的 batch 模型名称
|
|
1571
|
+
*/
|
|
1572
|
+
BatchName?: string;
|
|
1533
1573
|
/**
|
|
1534
1574
|
* 制造商
|
|
1535
1575
|
*/
|
|
@@ -1714,6 +1754,10 @@ export interface ListUMInferAPIKeyResponse {
|
|
|
1714
1754
|
* ip白名单,换行分割的多组ip。支持IPv4和网段,输入后回车生效,最多100个, 示例: 192.168.1.1 192.168.1.10-192.168.1.100 192.168.1.10/24
|
|
1715
1755
|
*/
|
|
1716
1756
|
IPWhitelist: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* 是否开启推理日志
|
|
1759
|
+
*/
|
|
1760
|
+
InferenceLogEnabled: number;
|
|
1717
1761
|
/**
|
|
1718
1762
|
* 资源ID
|
|
1719
1763
|
*/
|
|
@@ -2362,6 +2406,10 @@ export interface UpdateUMInferAPIKeyRequest {
|
|
|
2362
2406
|
* ip白名单,换行分割的多组ip。支持IPv4和网段,输入后回车生效,最多100个, 示例: 192.168.1.1 192.168.1.10-192.168.1.100 192.168.1.10/24
|
|
2363
2407
|
*/
|
|
2364
2408
|
IPWhitelist?: string;
|
|
2409
|
+
/**
|
|
2410
|
+
* 是否开启推理日志
|
|
2411
|
+
*/
|
|
2412
|
+
InferenceLogEnabled?: number;
|
|
2365
2413
|
}
|
|
2366
2414
|
/**
|
|
2367
2415
|
* UpdateUMInferAPIKey - 更新apikey
|
|
@@ -660,6 +660,14 @@ export interface GenerateMacRequest {
|
|
|
660
660
|
* GenerateMac - 使用HMAC密钥管理服务(KMS)密钥和该密钥支持的MAC算法,为消息生成基于哈希的消息认证码(HMAC)。
|
|
661
661
|
*/
|
|
662
662
|
export interface GenerateMacResponse {
|
|
663
|
+
/**
|
|
664
|
+
* 针对指定消息生成的基于哈希的消息认证码 (HMAC)、HMAC KMS 密钥和 MAC 算法。
|
|
665
|
+
*/
|
|
666
|
+
Mac?: string;
|
|
667
|
+
/**
|
|
668
|
+
* 用于生成 HMAC 的 MAC 算法。
|
|
669
|
+
*/
|
|
670
|
+
MacAlgorithm?: string;
|
|
663
671
|
}
|
|
664
672
|
/**
|
|
665
673
|
* GenerateRandom - 生成随机数
|
|
@@ -1217,4 +1225,16 @@ export interface VerifyMacRequest {
|
|
|
1217
1225
|
* VerifyMac - 验证签名
|
|
1218
1226
|
*/
|
|
1219
1227
|
export interface VerifyMacResponse {
|
|
1228
|
+
/**
|
|
1229
|
+
* 密钥ID
|
|
1230
|
+
*/
|
|
1231
|
+
KeyId?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* 验证中使用的 MAC 算法。
|
|
1234
|
+
*/
|
|
1235
|
+
MacAlgorithm?: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* 一个布尔值,表示 HMAC 是否已验证。
|
|
1238
|
+
*/
|
|
1239
|
+
MacValid?: boolean;
|
|
1220
1240
|
}
|