@alicloud/ebs20210730 4.4.0 → 4.5.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 (40) hide show
  1. package/dist/client.d.ts +62 -32
  2. package/dist/client.js +155 -32
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDiagnoseReportRequest.d.ts +51 -0
  5. package/dist/models/CreateDiagnoseReportRequest.js +70 -0
  6. package/dist/models/CreateDiagnoseReportRequest.js.map +1 -0
  7. package/dist/models/CreateDiagnoseReportResponse.d.ts +19 -0
  8. package/dist/models/CreateDiagnoseReportResponse.js +69 -0
  9. package/dist/models/CreateDiagnoseReportResponse.js.map +1 -0
  10. package/dist/models/CreateDiagnoseReportResponseBody.d.ts +23 -0
  11. package/dist/models/CreateDiagnoseReportResponseBody.js +60 -0
  12. package/dist/models/CreateDiagnoseReportResponseBody.js.map +1 -0
  13. package/dist/models/DescribeDedicatedBlockStorageClustersRequest.d.ts +25 -0
  14. package/dist/models/DescribeDedicatedBlockStorageClustersRequest.js.map +1 -1
  15. package/dist/models/DescribeDiagnoseReportRequest.d.ts +63 -0
  16. package/dist/models/DescribeDiagnoseReportRequest.js +82 -0
  17. package/dist/models/DescribeDiagnoseReportRequest.js.map +1 -0
  18. package/dist/models/DescribeDiagnoseReportResponse.d.ts +19 -0
  19. package/dist/models/DescribeDiagnoseReportResponse.js +69 -0
  20. package/dist/models/DescribeDiagnoseReportResponse.js.map +1 -0
  21. package/dist/models/DescribeDiagnoseReportResponseBody.d.ts +136 -0
  22. package/dist/models/DescribeDiagnoseReportResponseBody.js +142 -0
  23. package/dist/models/DescribeDiagnoseReportResponseBody.js.map +1 -0
  24. package/dist/models/ListReplicaEdgeSupportedResponseBody.d.ts +1 -0
  25. package/dist/models/ListReplicaEdgeSupportedResponseBody.js +2 -0
  26. package/dist/models/ListReplicaEdgeSupportedResponseBody.js.map +1 -1
  27. package/dist/models/model.d.ts +8 -0
  28. package/dist/models/model.js +22 -6
  29. package/dist/models/model.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/client.ts +176 -32
  32. package/src/models/CreateDiagnoseReportRequest.ts +76 -0
  33. package/src/models/CreateDiagnoseReportResponse.ts +40 -0
  34. package/src/models/CreateDiagnoseReportResponseBody.ts +38 -0
  35. package/src/models/DescribeDedicatedBlockStorageClustersRequest.ts +25 -0
  36. package/src/models/DescribeDiagnoseReportRequest.ts +100 -0
  37. package/src/models/DescribeDiagnoseReportResponse.ts +40 -0
  38. package/src/models/DescribeDiagnoseReportResponseBody.ts +215 -0
  39. package/src/models/ListReplicaEdgeSupportedResponseBody.ts +3 -0
  40. package/src/models/model.ts +8 -0
package/src/client.ts CHANGED
@@ -100,7 +100,7 @@ export default class Client extends OpenApi {
100
100
  }
101
101
 
102
102
  /**
103
- * Enables CloudLens for EBS.
103
+ * Cancels Elastic Block Storage data insight (CloudLens for EBS).
104
104
  *
105
105
  * @remarks
106
106
  * ## Usage notes
@@ -127,7 +127,7 @@ export default class Client extends OpenApi {
127
127
  }
128
128
 
129
129
  /**
130
- * Enables CloudLens for EBS.
130
+ * Cancels Elastic Block Storage data insight (CloudLens for EBS).
131
131
  *
132
132
  * @remarks
133
133
  * ## Usage notes
@@ -194,7 +194,7 @@ export default class Client extends OpenApi {
194
194
  }
195
195
 
196
196
  /**
197
- * Disables CloudLens for EBS.
197
+ * Cancels Elastic Block Storage data insight (CloudLens for EBS).
198
198
  *
199
199
  * @remarks
200
200
  * ## Usage notes
@@ -221,7 +221,7 @@ export default class Client extends OpenApi {
221
221
  }
222
222
 
223
223
  /**
224
- * Disables CloudLens for EBS.
224
+ * Cancels Elastic Block Storage data insight (CloudLens for EBS).
225
225
  *
226
226
  * @remarks
227
227
  * ## Usage notes
@@ -557,6 +557,72 @@ export default class Client extends OpenApi {
557
557
  return await this.createDedicatedBlockStorageClusterWithOptions(request, runtime);
558
558
  }
559
559
 
560
+ /**
561
+ * Triggers a diagnostic.
562
+ *
563
+ * @param request - CreateDiagnoseReportRequest
564
+ * @param runtime - runtime options for this request RuntimeOptions
565
+ * @returns CreateDiagnoseReportResponse
566
+ */
567
+ async createDiagnoseReportWithOptions(request: $_model.CreateDiagnoseReportRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDiagnoseReportResponse> {
568
+ request.validate();
569
+ let query = { };
570
+ if (!$dara.isNull(request.clientToken)) {
571
+ query["ClientToken"] = request.clientToken;
572
+ }
573
+
574
+ if (!$dara.isNull(request.diagnoseType)) {
575
+ query["DiagnoseType"] = request.diagnoseType;
576
+ }
577
+
578
+ if (!$dara.isNull(request.endTime)) {
579
+ query["EndTime"] = request.endTime;
580
+ }
581
+
582
+ if (!$dara.isNull(request.regionId)) {
583
+ query["RegionId"] = request.regionId;
584
+ }
585
+
586
+ if (!$dara.isNull(request.resourceId)) {
587
+ query["ResourceId"] = request.resourceId;
588
+ }
589
+
590
+ if (!$dara.isNull(request.resourceType)) {
591
+ query["ResourceType"] = request.resourceType;
592
+ }
593
+
594
+ if (!$dara.isNull(request.startTime)) {
595
+ query["StartTime"] = request.startTime;
596
+ }
597
+
598
+ let req = new $OpenApiUtil.OpenApiRequest({
599
+ query: OpenApiUtil.query(query),
600
+ });
601
+ let params = new $OpenApiUtil.Params({
602
+ action: "CreateDiagnoseReport",
603
+ version: "2021-07-30",
604
+ protocol: "HTTPS",
605
+ pathname: "/",
606
+ method: "POST",
607
+ authType: "AK",
608
+ style: "RPC",
609
+ reqBodyType: "formData",
610
+ bodyType: "json",
611
+ });
612
+ return $dara.cast<$_model.CreateDiagnoseReportResponse>(await this.callApi(params, req, runtime), new $_model.CreateDiagnoseReportResponse({}));
613
+ }
614
+
615
+ /**
616
+ * Triggers a diagnostic.
617
+ *
618
+ * @param request - CreateDiagnoseReportRequest
619
+ * @returns CreateDiagnoseReportResponse
620
+ */
621
+ async createDiagnoseReport(request: $_model.CreateDiagnoseReportRequest): Promise<$_model.CreateDiagnoseReportResponse> {
622
+ let runtime = new $dara.RuntimeOptions({ });
623
+ return await this.createDiagnoseReportWithOptions(request, runtime);
624
+ }
625
+
560
626
  /**
561
627
  * Creates a replication pair-consistent group.
562
628
  *
@@ -1184,7 +1250,7 @@ export default class Client extends OpenApi {
1184
1250
  }
1185
1251
 
1186
1252
  /**
1187
- * Queries the details of one or more disks in a dedicated block storage cluster.
1253
+ * Queries information about cloud disks in a dedicated block storage cluster.
1188
1254
  *
1189
1255
  * @remarks
1190
1256
  * You can use one of the following methods to check the responses:
@@ -1235,7 +1301,7 @@ export default class Client extends OpenApi {
1235
1301
  }
1236
1302
 
1237
1303
  /**
1238
- * Queries the details of one or more disks in a dedicated block storage cluster.
1304
+ * Queries information about cloud disks in a dedicated block storage cluster.
1239
1305
  *
1240
1306
  * @remarks
1241
1307
  * You can use one of the following methods to check the responses:
@@ -1254,7 +1320,7 @@ export default class Client extends OpenApi {
1254
1320
  }
1255
1321
 
1256
1322
  /**
1257
- * Queries the dedicated block storage clusters that are created.
1323
+ * Queries dedicated clusters.
1258
1324
  *
1259
1325
  * @remarks
1260
1326
  * ## [](#)Usage notes
@@ -1337,7 +1403,7 @@ export default class Client extends OpenApi {
1337
1403
  }
1338
1404
 
1339
1405
  /**
1340
- * Queries the dedicated block storage clusters that are created.
1406
+ * Queries dedicated clusters.
1341
1407
  *
1342
1408
  * @remarks
1343
1409
  * ## [](#)Usage notes
@@ -1354,7 +1420,85 @@ export default class Client extends OpenApi {
1354
1420
  }
1355
1421
 
1356
1422
  /**
1357
- * Queries the risk events of a disk.
1423
+ * Queries diagnostic reports.
1424
+ *
1425
+ * @param request - DescribeDiagnoseReportRequest
1426
+ * @param runtime - runtime options for this request RuntimeOptions
1427
+ * @returns DescribeDiagnoseReportResponse
1428
+ */
1429
+ async describeDiagnoseReportWithOptions(request: $_model.DescribeDiagnoseReportRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDiagnoseReportResponse> {
1430
+ request.validate();
1431
+ let query = { };
1432
+ if (!$dara.isNull(request.clientToken)) {
1433
+ query["ClientToken"] = request.clientToken;
1434
+ }
1435
+
1436
+ if (!$dara.isNull(request.diagnoseType)) {
1437
+ query["DiagnoseType"] = request.diagnoseType;
1438
+ }
1439
+
1440
+ if (!$dara.isNull(request.endTime)) {
1441
+ query["EndTime"] = request.endTime;
1442
+ }
1443
+
1444
+ if (!$dara.isNull(request.maxResults)) {
1445
+ query["MaxResults"] = request.maxResults;
1446
+ }
1447
+
1448
+ if (!$dara.isNull(request.nextToken)) {
1449
+ query["NextToken"] = request.nextToken;
1450
+ }
1451
+
1452
+ if (!$dara.isNull(request.regionId)) {
1453
+ query["RegionId"] = request.regionId;
1454
+ }
1455
+
1456
+ if (!$dara.isNull(request.reportIds)) {
1457
+ query["ReportIds"] = request.reportIds;
1458
+ }
1459
+
1460
+ if (!$dara.isNull(request.resourceIds)) {
1461
+ query["ResourceIds"] = request.resourceIds;
1462
+ }
1463
+
1464
+ if (!$dara.isNull(request.startTime)) {
1465
+ query["StartTime"] = request.startTime;
1466
+ }
1467
+
1468
+ if (!$dara.isNull(request.status)) {
1469
+ query["Status"] = request.status;
1470
+ }
1471
+
1472
+ let req = new $OpenApiUtil.OpenApiRequest({
1473
+ query: OpenApiUtil.query(query),
1474
+ });
1475
+ let params = new $OpenApiUtil.Params({
1476
+ action: "DescribeDiagnoseReport",
1477
+ version: "2021-07-30",
1478
+ protocol: "HTTPS",
1479
+ pathname: "/",
1480
+ method: "POST",
1481
+ authType: "AK",
1482
+ style: "RPC",
1483
+ reqBodyType: "formData",
1484
+ bodyType: "json",
1485
+ });
1486
+ return $dara.cast<$_model.DescribeDiagnoseReportResponse>(await this.callApi(params, req, runtime), new $_model.DescribeDiagnoseReportResponse({}));
1487
+ }
1488
+
1489
+ /**
1490
+ * Queries diagnostic reports.
1491
+ *
1492
+ * @param request - DescribeDiagnoseReportRequest
1493
+ * @returns DescribeDiagnoseReportResponse
1494
+ */
1495
+ async describeDiagnoseReport(request: $_model.DescribeDiagnoseReportRequest): Promise<$_model.DescribeDiagnoseReportResponse> {
1496
+ let runtime = new $dara.RuntimeOptions({ });
1497
+ return await this.describeDiagnoseReportWithOptions(request, runtime);
1498
+ }
1499
+
1500
+ /**
1501
+ * Queries the risk events of a disk. The operation is getting offline. Switch to the new operation DescribeEvents.
1358
1502
  *
1359
1503
  * @remarks
1360
1504
  * ## Usage notes
@@ -1417,7 +1561,7 @@ export default class Client extends OpenApi {
1417
1561
  }
1418
1562
 
1419
1563
  /**
1420
- * Queries the risk events of a disk.
1564
+ * Queries the risk events of a disk. The operation is getting offline. Switch to the new operation DescribeEvents.
1421
1565
  *
1422
1566
  * @remarks
1423
1567
  * ## Usage notes
@@ -1432,7 +1576,7 @@ export default class Client extends OpenApi {
1432
1576
  }
1433
1577
 
1434
1578
  /**
1435
- * Queries the near real-time monitoring data of a disk.
1579
+ * Queries fine-grained monitoring data of a disk.
1436
1580
  *
1437
1581
  * @remarks
1438
1582
  * ## Usage notes
@@ -1489,7 +1633,7 @@ export default class Client extends OpenApi {
1489
1633
  }
1490
1634
 
1491
1635
  /**
1492
- * Queries the near real-time monitoring data of a disk.
1636
+ * Queries fine-grained monitoring data of a disk.
1493
1637
  *
1494
1638
  * @remarks
1495
1639
  * ## Usage notes
@@ -1506,7 +1650,7 @@ export default class Client extends OpenApi {
1506
1650
  }
1507
1651
 
1508
1652
  /**
1509
- * Queries the near real-time monitoring data of disks. You can query only the burst performance data of ESSD AutoPL disks. The data is aggregated by hour.
1653
+ * 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.
1510
1654
  *
1511
1655
  * @remarks
1512
1656
  * ## Usage notes
@@ -1565,7 +1709,7 @@ export default class Client extends OpenApi {
1565
1709
  }
1566
1710
 
1567
1711
  /**
1568
- * Queries the near real-time monitoring data of disks. You can query only the burst performance data of ESSD AutoPL disks. The data is aggregated by hour.
1712
+ * 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.
1569
1713
  *
1570
1714
  * @remarks
1571
1715
  * ## Usage notes
@@ -2030,7 +2174,7 @@ export default class Client extends OpenApi {
2030
2174
  }
2031
2175
 
2032
2176
  /**
2033
- * 查询用户开通ebs数据洞察服务状态
2177
+ * Queries the status of CloudLens for EBS.
2034
2178
  *
2035
2179
  * @remarks
2036
2180
  * ## Usage notes
@@ -2057,7 +2201,7 @@ export default class Client extends OpenApi {
2057
2201
  }
2058
2202
 
2059
2203
  /**
2060
- * 查询用户开通ebs数据洞察服务状态
2204
+ * Queries the status of CloudLens for EBS.
2061
2205
  *
2062
2206
  * @remarks
2063
2207
  * ## Usage notes
@@ -2332,7 +2476,7 @@ export default class Client extends OpenApi {
2332
2476
  }
2333
2477
 
2334
2478
  /**
2335
- * 查询解决方案实例默认配置
2479
+ * Queries the default configurations of a solution.
2336
2480
  *
2337
2481
  * @param request - DescribeSolutionInstanceConfigurationRequest
2338
2482
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2375,7 +2519,7 @@ export default class Client extends OpenApi {
2375
2519
  }
2376
2520
 
2377
2521
  /**
2378
- * 查询解决方案实例默认配置
2522
+ * Queries the default configurations of a solution.
2379
2523
  *
2380
2524
  * @param request - DescribeSolutionInstanceConfigurationRequest
2381
2525
  * @returns DescribeSolutionInstanceConfigurationResponse
@@ -2754,7 +2898,7 @@ export default class Client extends OpenApi {
2754
2898
  }
2755
2899
 
2756
2900
  /**
2757
- * Centralized Role: Query Historical Reports
2901
+ * Queries historical reports of a specific application.
2758
2902
  *
2759
2903
  * @param request - ListReportsRequest
2760
2904
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2807,7 +2951,7 @@ export default class Client extends OpenApi {
2807
2951
  }
2808
2952
 
2809
2953
  /**
2810
- * Centralized Role: Query Historical Reports
2954
+ * Queries historical reports of a specific application.
2811
2955
  *
2812
2956
  * @param request - ListReportsRequest
2813
2957
  * @returns ListReportsResponse
@@ -2818,7 +2962,7 @@ export default class Client extends OpenApi {
2818
2962
  }
2819
2963
 
2820
2964
  /**
2821
- * Queries the tags that are added to one or more Elastic Block Storage (EBS) resources, or queries the IDs and tags of resources in a specified non-default resource group.
2965
+ * Queries the tags that are added to EBS resources, or queries the IDs and tags of resources in a non-default resource group.
2822
2966
  *
2823
2967
  * @remarks
2824
2968
  * Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
@@ -2875,7 +3019,7 @@ export default class Client extends OpenApi {
2875
3019
  }
2876
3020
 
2877
3021
  /**
2878
- * Queries the tags that are added to one or more Elastic Block Storage (EBS) resources, or queries the IDs and tags of resources in a specified non-default resource group.
3022
+ * Queries the tags that are added to EBS resources, or queries the IDs and tags of resources in a non-default resource group.
2879
3023
  *
2880
3024
  * @remarks
2881
3025
  * Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
@@ -2970,7 +3114,7 @@ export default class Client extends OpenApi {
2970
3114
  }
2971
3115
 
2972
3116
  /**
2973
- * 修改专属集群属性OpenApi
3117
+ * Modifies the information of a dedicated elastic block storage cluster.
2974
3118
  *
2975
3119
  * @remarks
2976
3120
  * You can call this operation to modify the information of a dedicated block storage cluster. The information includes the name and description of the cluster.
@@ -3020,7 +3164,7 @@ export default class Client extends OpenApi {
3020
3164
  }
3021
3165
 
3022
3166
  /**
3023
- * 修改专属集群属性OpenApi
3167
+ * Modifies the information of a dedicated elastic block storage cluster.
3024
3168
  *
3025
3169
  * @remarks
3026
3170
  * You can call this operation to modify the information of a dedicated block storage cluster. The information includes the name and description of the cluster.
@@ -3246,7 +3390,7 @@ export default class Client extends OpenApi {
3246
3390
  }
3247
3391
 
3248
3392
  /**
3249
- * Query dedicated block storage cluster capacity trend data, includ available capacity size and total capacity size.
3393
+ * Queries the capacity trend data of a dedicated Elastic Block Storage (EBS) cluster within a specific time period, including the available capacity and total capacity.
3250
3394
  *
3251
3395
  * @remarks
3252
3396
  * Period is the time interval between data retrieval points. When set to 60 (minute interval), a maximum of 1440 data points can be returned; when set to 3600 (hour interval), a maximum of 744 data points can be returned; and when set to 86400 (day interval), a maximum of 366 data points can be returned.
@@ -3302,7 +3446,7 @@ export default class Client extends OpenApi {
3302
3446
  }
3303
3447
 
3304
3448
  /**
3305
- * Query dedicated block storage cluster capacity trend data, includ available capacity size and total capacity size.
3449
+ * Queries the capacity trend data of a dedicated Elastic Block Storage (EBS) cluster within a specific time period, including the available capacity and total capacity.
3306
3450
  *
3307
3451
  * @remarks
3308
3452
  * Period is the time interval between data retrieval points. When set to 60 (minute interval), a maximum of 1440 data points can be returned; when set to 3600 (hour interval), a maximum of 744 data points can be returned; and when set to 86400 (day interval), a maximum of 366 data points can be returned.
@@ -3576,7 +3720,7 @@ export default class Client extends OpenApi {
3576
3720
  }
3577
3721
 
3578
3722
  /**
3579
- * Enables the async replication feature for replication pairs that belong to a replication pair-consistent group. When the async replication feature is enabled for the pairs for the first time, the system first performs a full synchronization to synchronize all data from disks at the primary site (primary disks) to disks at the secondary site (secondary disks) and then periodically synchronizes incremental data based on the recovery point objective (RPO) of the replication pair-consistent group.
3723
+ * Enables the async replication feature for replication pairs that belong to a replication pair-consistent group. The first time the async replication feature is enabled for the replication pairs, the system performs a full synchronization to synchronize all data from disks at the primary site (primary disks) to disks at the secondary site (secondary disks). Then, the system periodically synchronizes incremental data based on the recovery point objective (RPO) of the replication pair-consistent group.
3580
3724
  *
3581
3725
  * @remarks
3582
3726
  * ## [](#)Usage notes
@@ -3626,7 +3770,7 @@ export default class Client extends OpenApi {
3626
3770
  }
3627
3771
 
3628
3772
  /**
3629
- * Enables the async replication feature for replication pairs that belong to a replication pair-consistent group. When the async replication feature is enabled for the pairs for the first time, the system first performs a full synchronization to synchronize all data from disks at the primary site (primary disks) to disks at the secondary site (secondary disks) and then periodically synchronizes incremental data based on the recovery point objective (RPO) of the replication pair-consistent group.
3773
+ * Enables the async replication feature for replication pairs that belong to a replication pair-consistent group. The first time the async replication feature is enabled for the replication pairs, the system performs a full synchronization to synchronize all data from disks at the primary site (primary disks) to disks at the secondary site (secondary disks). Then, the system periodically synchronizes incremental data based on the recovery point objective (RPO) of the replication pair-consistent group.
3630
3774
  *
3631
3775
  * @remarks
3632
3776
  * ## [](#)Usage notes
@@ -3644,7 +3788,7 @@ export default class Client extends OpenApi {
3644
3788
  }
3645
3789
 
3646
3790
  /**
3647
- * Activates a replication pair.
3791
+ * Activates the async replication feature for a specific replication pair.
3648
3792
  *
3649
3793
  * @remarks
3650
3794
  * ## [](#)Usage notes
@@ -3693,7 +3837,7 @@ export default class Client extends OpenApi {
3693
3837
  }
3694
3838
 
3695
3839
  /**
3696
- * Activates a replication pair.
3840
+ * Activates the async replication feature for a specific replication pair.
3697
3841
  *
3698
3842
  * @remarks
3699
3843
  * ## [](#)Usage notes
@@ -4236,7 +4380,7 @@ export default class Client extends OpenApi {
4236
4380
  }
4237
4381
 
4238
4382
  /**
4239
- * 更新解决方案实例属性
4383
+ * Updates the attributes of a solution instance.
4240
4384
  *
4241
4385
  * @param request - UpdateSolutionInstanceAttributeRequest
4242
4386
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4283,7 +4427,7 @@ export default class Client extends OpenApi {
4283
4427
  }
4284
4428
 
4285
4429
  /**
4286
- * 更新解决方案实例属性
4430
+ * Updates the attributes of a solution instance.
4287
4431
  *
4288
4432
  * @param request - UpdateSolutionInstanceAttributeRequest
4289
4433
  * @returns UpdateSolutionInstanceAttributeResponse
@@ -0,0 +1,76 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateDiagnoseReportRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 123e4567-e89b-12d3-a456-42665544****
9
+ */
10
+ clientToken?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * Performance
17
+ */
18
+ diagnoseType?: string;
19
+ /**
20
+ * @example
21
+ * 2024-09-07T16:49:25Z
22
+ */
23
+ endTime?: string;
24
+ /**
25
+ * @example
26
+ * cn-zhangjiakou
27
+ */
28
+ regionId?: string;
29
+ /**
30
+ * @example
31
+ * d-asb1s8***
32
+ */
33
+ resourceId?: string;
34
+ /**
35
+ * @example
36
+ * Disk
37
+ */
38
+ resourceType?: string;
39
+ /**
40
+ * @example
41
+ * 2024-09-01T02:26:00Z
42
+ */
43
+ startTime?: string;
44
+ static names(): { [key: string]: string } {
45
+ return {
46
+ clientToken: 'ClientToken',
47
+ diagnoseType: 'DiagnoseType',
48
+ endTime: 'EndTime',
49
+ regionId: 'RegionId',
50
+ resourceId: 'ResourceId',
51
+ resourceType: 'ResourceType',
52
+ startTime: 'StartTime',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ clientToken: 'string',
59
+ diagnoseType: 'string',
60
+ endTime: 'string',
61
+ regionId: 'string',
62
+ resourceId: 'string',
63
+ resourceType: 'string',
64
+ startTime: 'string',
65
+ };
66
+ }
67
+
68
+ validate() {
69
+ super.validate();
70
+ }
71
+
72
+ constructor(map?: { [key: string]: any }) {
73
+ super(map);
74
+ }
75
+ }
76
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateDiagnoseReportResponseBody } from "./CreateDiagnoseReportResponseBody";
4
+
5
+
6
+ export class CreateDiagnoseReportResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateDiagnoseReportResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreateDiagnoseReportResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateDiagnoseReportResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * report-qe2s****
9
+ */
10
+ reportId?: string;
11
+ /**
12
+ * @example
13
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
14
+ */
15
+ requestId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ reportId: 'ReportId',
19
+ requestId: 'RequestId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ reportId: 'string',
26
+ requestId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -61,9 +61,34 @@ export class DescribeDedicatedBlockStorageClustersRequest extends $dara.Model {
61
61
  * cloud_essd
62
62
  */
63
63
  category?: string;
64
+ /**
65
+ * @remarks
66
+ * A string generated by the server as an identifier for clients to send requests.
67
+ *
68
+ * @example
69
+ * 123e4567-e89b-12d3-a456-426655440000
70
+ */
64
71
  clientToken?: string;
72
+ /**
73
+ * @remarks
74
+ * The IDs of the dedicated block storage clusters. You can specify the IDs of multiple dedicated block storage clusters in a request.
75
+ */
65
76
  dedicatedBlockStorageClusterId?: string[];
77
+ /**
78
+ * @remarks
79
+ * The maximum number of entries to return in each request that uses a token to perform a query.
80
+ *
81
+ * @example
82
+ * 10
83
+ */
66
84
  maxResults?: number;
85
+ /**
86
+ * @remarks
87
+ * The query token. Set the value to the NextToken value that is returned in the last call.
88
+ *
89
+ * @example
90
+ * AAAAAdDWBF2
91
+ */
67
92
  nextToken?: string;
68
93
  /**
69
94
  * @remarks