@alicloud/ebs20210730 4.5.1 → 5.0.0

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 (33) hide show
  1. package/dist/client.d.ts +0 -49
  2. package/dist/client.js +0 -136
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/model.d.ts +0 -8
  5. package/dist/models/model.js +6 -22
  6. package/dist/models/model.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/client.ts +0 -155
  9. package/src/models/model.ts +0 -8
  10. package/dist/models/DescribeDiskEventsRequest.d.ts +0 -86
  11. package/dist/models/DescribeDiskEventsRequest.js +0 -72
  12. package/dist/models/DescribeDiskEventsRequest.js.map +0 -1
  13. package/dist/models/DescribeDiskEventsResponse.d.ts +0 -19
  14. package/dist/models/DescribeDiskEventsResponse.js +0 -69
  15. package/dist/models/DescribeDiskEventsResponse.js.map +0 -1
  16. package/dist/models/DescribeDiskEventsResponseBody.d.ts +0 -117
  17. package/dist/models/DescribeDiskEventsResponseBody.js +0 -98
  18. package/dist/models/DescribeDiskEventsResponseBody.js.map +0 -1
  19. package/dist/models/DescribeDiskMonitorDataListRequest.d.ts +0 -83
  20. package/dist/models/DescribeDiskMonitorDataListRequest.js +0 -70
  21. package/dist/models/DescribeDiskMonitorDataListRequest.js.map +0 -1
  22. package/dist/models/DescribeDiskMonitorDataListResponse.d.ts +0 -19
  23. package/dist/models/DescribeDiskMonitorDataListResponse.js +0 -69
  24. package/dist/models/DescribeDiskMonitorDataListResponse.js.map +0 -1
  25. package/dist/models/DescribeDiskMonitorDataListResponseBody.d.ts +0 -78
  26. package/dist/models/DescribeDiskMonitorDataListResponseBody.js +0 -90
  27. package/dist/models/DescribeDiskMonitorDataListResponseBody.js.map +0 -1
  28. package/src/models/DescribeDiskEventsRequest.ts +0 -113
  29. package/src/models/DescribeDiskEventsResponse.ts +0 -40
  30. package/src/models/DescribeDiskEventsResponseBody.ts +0 -161
  31. package/src/models/DescribeDiskMonitorDataListRequest.ts +0 -108
  32. package/src/models/DescribeDiskMonitorDataListResponse.ts +0 -40
  33. package/src/models/DescribeDiskMonitorDataListResponseBody.ts +0 -114
package/dist/client.d.ts CHANGED
@@ -46,7 +46,6 @@ export default class Client extends OpenApi {
46
46
  * ## Usage notes
47
47
  * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
48
48
  *
49
- * @param request - ApplyLensServiceRequest
50
49
  * @param runtime - runtime options for this request RuntimeOptions
51
50
  * @returns ApplyLensServiceResponse
52
51
  */
@@ -82,7 +81,6 @@ export default class Client extends OpenApi {
82
81
  * ## Usage notes
83
82
  * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
84
83
  *
85
- * @param request - CancelLensServiceRequest
86
84
  * @param runtime - runtime options for this request RuntimeOptions
87
85
  * @returns CancelLensServiceResponse
88
86
  */
@@ -453,29 +451,6 @@ export default class Client extends OpenApi {
453
451
  * @returns DescribeDiagnoseReportResponse
454
452
  */
455
453
  describeDiagnoseReport(request: $_model.DescribeDiagnoseReportRequest): Promise<$_model.DescribeDiagnoseReportResponse>;
456
- /**
457
- * Queries the risk events of a disk. The operation is getting offline. Switch to the new operation DescribeEvents.
458
- *
459
- * @remarks
460
- * ## Usage notes
461
- * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
462
- *
463
- * @param request - DescribeDiskEventsRequest
464
- * @param runtime - runtime options for this request RuntimeOptions
465
- * @returns DescribeDiskEventsResponse
466
- */
467
- describeDiskEventsWithOptions(request: $_model.DescribeDiskEventsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDiskEventsResponse>;
468
- /**
469
- * Queries the risk events of a disk. The operation is getting offline. Switch to the new operation DescribeEvents.
470
- *
471
- * @remarks
472
- * ## Usage notes
473
- * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
474
- *
475
- * @param request - DescribeDiskEventsRequest
476
- * @returns DescribeDiskEventsResponse
477
- */
478
- describeDiskEvents(request: $_model.DescribeDiskEventsRequest): Promise<$_model.DescribeDiskEventsResponse>;
479
454
  /**
480
455
  * Queries fine-grained monitoring data of a disk.
481
456
  *
@@ -503,29 +478,6 @@ export default class Client extends OpenApi {
503
478
  * @returns DescribeDiskMonitorDataResponse
504
479
  */
505
480
  describeDiskMonitorData(request: $_model.DescribeDiskMonitorDataRequest): Promise<$_model.DescribeDiskMonitorDataResponse>;
506
- /**
507
- * Queries fine-grained monitoring data of multiple disks. You can query only the burst performance data of ESSD AutoPL disks. The data is aggregated by hour.
508
- *
509
- * @remarks
510
- * ## Usage notes
511
- * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
512
- *
513
- * @param request - DescribeDiskMonitorDataListRequest
514
- * @param runtime - runtime options for this request RuntimeOptions
515
- * @returns DescribeDiskMonitorDataListResponse
516
- */
517
- describeDiskMonitorDataListWithOptions(request: $_model.DescribeDiskMonitorDataListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDiskMonitorDataListResponse>;
518
- /**
519
- * Queries fine-grained monitoring data of multiple disks. You can query only the burst performance data of ESSD AutoPL disks. The data is aggregated by hour.
520
- *
521
- * @remarks
522
- * ## Usage notes
523
- * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
524
- *
525
- * @param request - DescribeDiskMonitorDataListRequest
526
- * @returns DescribeDiskMonitorDataListResponse
527
- */
528
- describeDiskMonitorDataList(request: $_model.DescribeDiskMonitorDataListRequest): Promise<$_model.DescribeDiskMonitorDataListResponse>;
529
481
  /**
530
482
  * Queries the details of replication pair-consistent groups in a specific region.
531
483
  *
@@ -645,7 +597,6 @@ export default class Client extends OpenApi {
645
597
  * ## Usage notes
646
598
  * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
647
599
  *
648
- * @param request - DescribeLensServiceStatusRequest
649
600
  * @param runtime - runtime options for this request RuntimeOptions
650
601
  * @returns DescribeLensServiceStatusResponse
651
602
  */
package/dist/client.js CHANGED
@@ -132,7 +132,6 @@ class Client extends openapi_core_1.default {
132
132
  * ## Usage notes
133
133
  * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
134
134
  *
135
- * @param request - ApplyLensServiceRequest
136
135
  * @param runtime - runtime options for this request RuntimeOptions
137
136
  * @returns ApplyLensServiceResponse
138
137
  */
@@ -218,7 +217,6 @@ class Client extends openapi_core_1.default {
218
217
  * ## Usage notes
219
218
  * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
220
219
  *
221
- * @param request - CancelLensServiceRequest
222
220
  * @param runtime - runtime options for this request RuntimeOptions
223
221
  * @returns CancelLensServiceResponse
224
222
  */
@@ -1351,74 +1349,6 @@ class Client extends openapi_core_1.default {
1351
1349
  let runtime = new $dara.RuntimeOptions({});
1352
1350
  return await this.describeDiagnoseReportWithOptions(request, runtime);
1353
1351
  }
1354
- /**
1355
- * Queries the risk events of a disk. The operation is getting offline. Switch to the new operation DescribeEvents.
1356
- *
1357
- * @remarks
1358
- * ## Usage notes
1359
- * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
1360
- *
1361
- * @param request - DescribeDiskEventsRequest
1362
- * @param runtime - runtime options for this request RuntimeOptions
1363
- * @returns DescribeDiskEventsResponse
1364
- */
1365
- async describeDiskEventsWithOptions(request, runtime) {
1366
- request.validate();
1367
- let query = {};
1368
- if (!$dara.isNull(request.diskCategory)) {
1369
- query["DiskCategory"] = request.diskCategory;
1370
- }
1371
- if (!$dara.isNull(request.diskId)) {
1372
- query["DiskId"] = request.diskId;
1373
- }
1374
- if (!$dara.isNull(request.endTime)) {
1375
- query["EndTime"] = request.endTime;
1376
- }
1377
- if (!$dara.isNull(request.maxResults)) {
1378
- query["MaxResults"] = request.maxResults;
1379
- }
1380
- if (!$dara.isNull(request.nextToken)) {
1381
- query["NextToken"] = request.nextToken;
1382
- }
1383
- if (!$dara.isNull(request.regionId)) {
1384
- query["RegionId"] = request.regionId;
1385
- }
1386
- if (!$dara.isNull(request.startTime)) {
1387
- query["StartTime"] = request.startTime;
1388
- }
1389
- if (!$dara.isNull(request.type)) {
1390
- query["Type"] = request.type;
1391
- }
1392
- let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1393
- query: openapi_core_2.OpenApiUtil.query(query),
1394
- });
1395
- let params = new openapi_core_2.$OpenApiUtil.Params({
1396
- action: "DescribeDiskEvents",
1397
- version: "2021-07-30",
1398
- protocol: "HTTPS",
1399
- pathname: "/",
1400
- method: "POST",
1401
- authType: "AK",
1402
- style: "RPC",
1403
- reqBodyType: "formData",
1404
- bodyType: "json",
1405
- });
1406
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDiskEventsResponse({}));
1407
- }
1408
- /**
1409
- * Queries the risk events of a disk. The operation is getting offline. Switch to the new operation DescribeEvents.
1410
- *
1411
- * @remarks
1412
- * ## Usage notes
1413
- * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
1414
- *
1415
- * @param request - DescribeDiskEventsRequest
1416
- * @returns DescribeDiskEventsResponse
1417
- */
1418
- async describeDiskEvents(request) {
1419
- let runtime = new $dara.RuntimeOptions({});
1420
- return await this.describeDiskEventsWithOptions(request, runtime);
1421
- }
1422
1352
  /**
1423
1353
  * Queries fine-grained monitoring data of a disk.
1424
1354
  *
@@ -1485,71 +1415,6 @@ class Client extends openapi_core_1.default {
1485
1415
  let runtime = new $dara.RuntimeOptions({});
1486
1416
  return await this.describeDiskMonitorDataWithOptions(request, runtime);
1487
1417
  }
1488
- /**
1489
- * Queries fine-grained monitoring data of multiple disks. You can query only the burst performance data of ESSD AutoPL disks. The data is aggregated by hour.
1490
- *
1491
- * @remarks
1492
- * ## Usage notes
1493
- * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
1494
- *
1495
- * @param request - DescribeDiskMonitorDataListRequest
1496
- * @param runtime - runtime options for this request RuntimeOptions
1497
- * @returns DescribeDiskMonitorDataListResponse
1498
- */
1499
- async describeDiskMonitorDataListWithOptions(request, runtime) {
1500
- request.validate();
1501
- let query = {};
1502
- if (!$dara.isNull(request.diskIds)) {
1503
- query["DiskIds"] = request.diskIds;
1504
- }
1505
- if (!$dara.isNull(request.endTime)) {
1506
- query["EndTime"] = request.endTime;
1507
- }
1508
- if (!$dara.isNull(request.maxResults)) {
1509
- query["MaxResults"] = request.maxResults;
1510
- }
1511
- if (!$dara.isNull(request.nextToken)) {
1512
- query["NextToken"] = request.nextToken;
1513
- }
1514
- if (!$dara.isNull(request.regionId)) {
1515
- query["RegionId"] = request.regionId;
1516
- }
1517
- if (!$dara.isNull(request.startTime)) {
1518
- query["StartTime"] = request.startTime;
1519
- }
1520
- if (!$dara.isNull(request.type)) {
1521
- query["Type"] = request.type;
1522
- }
1523
- let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1524
- query: openapi_core_2.OpenApiUtil.query(query),
1525
- });
1526
- let params = new openapi_core_2.$OpenApiUtil.Params({
1527
- action: "DescribeDiskMonitorDataList",
1528
- version: "2021-07-30",
1529
- protocol: "HTTPS",
1530
- pathname: "/",
1531
- method: "POST",
1532
- authType: "AK",
1533
- style: "RPC",
1534
- reqBodyType: "formData",
1535
- bodyType: "json",
1536
- });
1537
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDiskMonitorDataListResponse({}));
1538
- }
1539
- /**
1540
- * Queries fine-grained monitoring data of multiple disks. You can query only the burst performance data of ESSD AutoPL disks. The data is aggregated by hour.
1541
- *
1542
- * @remarks
1543
- * ## Usage notes
1544
- * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
1545
- *
1546
- * @param request - DescribeDiskMonitorDataListRequest
1547
- * @returns DescribeDiskMonitorDataListResponse
1548
- */
1549
- async describeDiskMonitorDataList(request) {
1550
- let runtime = new $dara.RuntimeOptions({});
1551
- return await this.describeDiskMonitorDataListWithOptions(request, runtime);
1552
- }
1553
1418
  /**
1554
1419
  * Queries the details of replication pair-consistent groups in a specific region.
1555
1420
  *
@@ -1945,7 +1810,6 @@ class Client extends openapi_core_1.default {
1945
1810
  * ## Usage notes
1946
1811
  * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
1947
1812
  *
1948
- * @param request - DescribeLensServiceStatusRequest
1949
1813
  * @param runtime - runtime options for this request RuntimeOptions
1950
1814
  * @returns DescribeLensServiceStatusResponse
1951
1815
  */