@ucloud-sdks/ucloud-sdk-js 0.2.30 → 0.2.31

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.
@@ -712,7 +712,16 @@ export interface ListAlertRecordResponse {
712
712
  /**
713
713
  * 产品相关的额外属性列表
714
714
  */
715
- ContentAttrList?: string[];
715
+ ContentAttrList?: {
716
+ /**
717
+ * 键
718
+ */
719
+ Key?: string;
720
+ /**
721
+ * 值
722
+ */
723
+ Value?: string;
724
+ }[];
716
725
  }[];
717
726
  /**
718
727
  * 告警记录总数
@@ -1200,37 +1209,13 @@ export interface QueryMetricDataSetResponse {
1200
1209
  */
1201
1210
  TagEntries?: {
1202
1211
  /**
1203
- * ID
1204
- */
1205
- Id?: number;
1206
- /**
1207
- * 资源类型ID
1208
- */
1209
- ObjectType?: string;
1210
- /**
1211
- * 资源类型
1212
- */
1213
- ObjectTypeKey?: string;
1214
- /**
1215
- * 产品名称
1216
- */
1217
- ProductName?: string;
1218
- /**
1219
- * 产品子名称
1220
- */
1221
- ProductName1?: string;
1222
- /**
1223
- * 产品中文名称
1212
+ * 标签名称
1224
1213
  */
1225
- ProductCNName?: string;
1214
+ TagName?: string;
1226
1215
  /**
1227
- * 产品英文名称
1216
+ * 标签候选值列表
1228
1217
  */
1229
- ProductENName?: string;
1230
- /**
1231
- * {type: spec|basic, key:string, name: string}[] -> JSON字符串
1232
- */
1233
- Metas?: string;
1218
+ KeyList?: string[];
1234
1219
  }[];
1235
1220
  /**
1236
1221
  * 查询到的时间序列列表
@@ -1247,7 +1232,16 @@ export interface QueryMetricDataSetResponse {
1247
1232
  /**
1248
1233
  * 资源标签列表。每项为 TagListItem:Tag(标签名)和 TagValue(标签值)。
1249
1234
  */
1250
- TagList?: number[];
1235
+ TagList?: {
1236
+ /**
1237
+ * 标签名
1238
+ */
1239
+ Tag?: string;
1240
+ /**
1241
+ * 标签值
1242
+ */
1243
+ TagValue?: string;
1244
+ }[];
1251
1245
  /**
1252
1246
  * 指标数据点列表,元素为 MetricPoint
1253
1247
  */
@@ -1331,144 +1325,26 @@ export interface QueryMetricDataSummaryResponse {
1331
1325
  */
1332
1326
  ResourceExtendAttrList?: {
1333
1327
  /**
1334
- * 指标名
1328
+ *
1335
1329
  */
1336
- Metric?: string;
1330
+ Key?: string;
1337
1331
  /**
1338
- * 指标数据数组
1332
+ *
1339
1333
  */
1340
- MetricValues?: {
1341
- /**
1342
- * 指标名
1343
- */
1344
- Metric?: string;
1345
- /**
1346
- * 指标标签列表
1347
- */
1348
- TagsList?: {
1349
- /**
1350
- * ID
1351
- */
1352
- Id?: number;
1353
- /**
1354
- * 资源类型ID
1355
- */
1356
- ProductType?: number;
1357
- /**
1358
- * 资源类型唯一key
1359
- */
1360
- ProductKey?: string;
1361
- /**
1362
- * 产品名称
1363
- */
1364
- ProductName?: string;
1365
- /**
1366
- * 产品子名称
1367
- */
1368
- ProductName1?: string;
1369
- /**
1370
- * 产品中文名称
1371
- */
1372
- ProductChName?: string;
1373
- /**
1374
- * 产品英文名称
1375
- */
1376
- ProductEnName?: string;
1377
- /**
1378
- * {Type: 1|2, Key:string, Name: string}[] -> JSON字符串
1379
- */
1380
- Metas?: string;
1381
- /**
1382
- * 产品分组
1383
- */
1384
- ProductGroup?: string;
1385
- }[];
1386
- /**
1387
- * 指标单个样本点对象
1388
- */
1389
- Value?: {
1390
- /**
1391
- * 时间戳
1392
- */
1393
- Timestamp?: number;
1394
- /**
1395
- * 样本值
1396
- */
1397
- Value?: number;
1398
- };
1399
- }[];
1334
+ Value?: string;
1400
1335
  }[];
1401
1336
  /**
1402
1337
  * 资源标签属性列表
1403
1338
  */
1404
1339
  LabelAttrList?: {
1405
1340
  /**
1406
- * 指标名
1341
+ *
1407
1342
  */
1408
- Metric?: string;
1343
+ Key?: string;
1409
1344
  /**
1410
- * 指标数据数组
1345
+ *
1411
1346
  */
1412
- MetricValues?: {
1413
- /**
1414
- * 指标名
1415
- */
1416
- Metric?: string;
1417
- /**
1418
- * 指标标签列表
1419
- */
1420
- TagsList?: {
1421
- /**
1422
- * ID
1423
- */
1424
- Id?: number;
1425
- /**
1426
- * 资源类型ID
1427
- */
1428
- ProductType?: number;
1429
- /**
1430
- * 资源类型唯一key
1431
- */
1432
- ProductKey?: string;
1433
- /**
1434
- * 产品名称
1435
- */
1436
- ProductName?: string;
1437
- /**
1438
- * 产品子名称
1439
- */
1440
- ProductName1?: string;
1441
- /**
1442
- * 产品中文名称
1443
- */
1444
- ProductChName?: string;
1445
- /**
1446
- * 产品英文名称
1447
- */
1448
- ProductEnName?: string;
1449
- /**
1450
- * {Type: 1|2, Key:string, Name: string}[] -> JSON字符串
1451
- */
1452
- Metas?: string;
1453
- /**
1454
- * 产品分组
1455
- */
1456
- ProductGroup?: string;
1457
- }[];
1458
- /**
1459
- * 指标单个样本点对象
1460
- */
1461
- Value?: {
1462
- /**
1463
- * 时间戳
1464
- */
1465
- Timestamp?: number;
1466
- /**
1467
- * 样本值
1468
- */
1469
- Value?: number;
1470
- };
1471
- }[];
1347
+ Value?: string;
1472
1348
  }[];
1473
1349
  /**
1474
1350
  * 公司id
@@ -1523,41 +1399,13 @@ export interface QueryMetricDataSummaryResponse {
1523
1399
  */
1524
1400
  TagsList?: {
1525
1401
  /**
1526
- * ID
1527
- */
1528
- Id?: number;
1529
- /**
1530
- * 资源类型ID
1531
- */
1532
- ProductType?: number;
1533
- /**
1534
- * 资源类型唯一key
1535
- */
1536
- ProductKey?: string;
1537
- /**
1538
- * 产品名称
1539
- */
1540
- ProductName?: string;
1541
- /**
1542
- * 产品子名称
1543
- */
1544
- ProductName1?: string;
1545
- /**
1546
- * 产品中文名称
1547
- */
1548
- ProductChName?: string;
1549
- /**
1550
- * 产品英文名称
1551
- */
1552
- ProductEnName?: string;
1553
- /**
1554
- * {Type: 1|2, Key:string, Name: string}[] -> JSON字符串
1402
+ * 标签名
1555
1403
  */
1556
- Metas?: string;
1404
+ Tag?: string;
1557
1405
  /**
1558
- * 产品分组
1406
+ * 标签值
1559
1407
  */
1560
- ProductGroup?: string;
1408
+ TagValue?: string;
1561
1409
  }[];
1562
1410
  /**
1563
1411
  * 指标单个样本点对象
@@ -2487,7 +2487,7 @@ export interface DescribeUDBInstancePriceRequest {
2487
2487
  */
2488
2488
  Zone: string;
2489
2489
  /**
2490
- * 内存限制(MB),单位为MB.目前支持:2000-96000
2490
+ * 内存限制(MB),目前支持200096000,按1000进制(1GB=1000MB)计算
2491
2491
  */
2492
2492
  MemoryLimit: number;
2493
2493
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ucloud-sdks/ucloud-sdk-js",
3
3
  "description": "ucloud-sdk-js",
4
- "version": "0.2.30",
4
+ "version": "0.2.31",
5
5
  "author": "oas@ucloud.cn",
6
6
  "license": "MIT",
7
7
  "private": false,