@alicloud/polardb20170801 5.7.0 → 5.8.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 (37) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +96 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeHalogsRequest.d.ts +61 -0
  5. package/dist/models/DescribeHalogsRequest.js +70 -0
  6. package/dist/models/DescribeHalogsRequest.js.map +1 -0
  7. package/dist/models/DescribeHalogsResponse.d.ts +19 -0
  8. package/dist/models/DescribeHalogsResponse.js +69 -0
  9. package/dist/models/DescribeHalogsResponse.js.map +1 -0
  10. package/dist/models/DescribeHalogsResponseBody.d.ts +59 -0
  11. package/dist/models/DescribeHalogsResponseBody.js +78 -0
  12. package/dist/models/DescribeHalogsResponseBody.js.map +1 -0
  13. package/dist/models/DescribeHalogsResponseBodyHaLogItems.d.ts +50 -0
  14. package/dist/models/DescribeHalogsResponseBodyHaLogItems.js +66 -0
  15. package/dist/models/DescribeHalogsResponseBodyHaLogItems.js.map +1 -0
  16. package/dist/models/ReactivateDbclusterBackupRequest.d.ts +23 -0
  17. package/dist/models/ReactivateDbclusterBackupRequest.js +58 -0
  18. package/dist/models/ReactivateDbclusterBackupRequest.js.map +1 -0
  19. package/dist/models/ReactivateDbclusterBackupResponse.d.ts +19 -0
  20. package/dist/models/ReactivateDbclusterBackupResponse.js +69 -0
  21. package/dist/models/ReactivateDbclusterBackupResponse.js.map +1 -0
  22. package/dist/models/ReactivateDbclusterBackupResponseBody.d.ts +37 -0
  23. package/dist/models/ReactivateDbclusterBackupResponseBody.js +62 -0
  24. package/dist/models/ReactivateDbclusterBackupResponseBody.js.map +1 -0
  25. package/dist/models/model.d.ts +7 -0
  26. package/dist/models/model.js +26 -11
  27. package/dist/models/model.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client.ts +108 -0
  30. package/src/models/DescribeHalogsRequest.ts +86 -0
  31. package/src/models/DescribeHalogsResponse.ts +40 -0
  32. package/src/models/DescribeHalogsResponseBody.ts +91 -0
  33. package/src/models/DescribeHalogsResponseBodyHaLogItems.ts +71 -0
  34. package/src/models/ReactivateDbclusterBackupRequest.ts +36 -0
  35. package/src/models/ReactivateDbclusterBackupResponse.ts +40 -0
  36. package/src/models/ReactivateDbclusterBackupResponseBody.ts +54 -0
  37. package/src/models/model.ts +7 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeHALogsResponseBody } from "./DescribeHalogsResponseBody";
4
+
5
+
6
+ export class DescribeHALogsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeHALogsResponseBody;
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: DescribeHALogsResponseBody,
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,91 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeHALogsResponseBodyHaLogItems } from "./DescribeHalogsResponseBodyHaLogItems";
4
+
5
+
6
+ export class DescribeHALogsResponseBody extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * pc-a*************
10
+ */
11
+ DBInstanceName?: string;
12
+ /**
13
+ * @example
14
+ * polardb_mysql_rw
15
+ */
16
+ DBInstanceType?: string;
17
+ /**
18
+ * @remarks
19
+ * The failover logs.
20
+ */
21
+ haLogItems?: DescribeHALogsResponseBodyHaLogItems[];
22
+ /**
23
+ * @example
24
+ * 1
25
+ */
26
+ haStatus?: number;
27
+ /**
28
+ * @example
29
+ * 10
30
+ */
31
+ itemsNumbers?: number;
32
+ /**
33
+ * @example
34
+ * 1
35
+ */
36
+ pageNumber?: number;
37
+ /**
38
+ * @example
39
+ * 30
40
+ */
41
+ pageSize?: number;
42
+ /**
43
+ * @example
44
+ * 6BD9CDE4-5E7B-4BF3-9BB8-83C73E******
45
+ */
46
+ requestId?: string;
47
+ /**
48
+ * @example
49
+ * 160
50
+ */
51
+ totalRecords?: number;
52
+ static names(): { [key: string]: string } {
53
+ return {
54
+ DBInstanceName: 'DBInstanceName',
55
+ DBInstanceType: 'DBInstanceType',
56
+ haLogItems: 'HaLogItems',
57
+ haStatus: 'HaStatus',
58
+ itemsNumbers: 'ItemsNumbers',
59
+ pageNumber: 'PageNumber',
60
+ pageSize: 'PageSize',
61
+ requestId: 'RequestId',
62
+ totalRecords: 'TotalRecords',
63
+ };
64
+ }
65
+
66
+ static types(): { [key: string]: any } {
67
+ return {
68
+ DBInstanceName: 'string',
69
+ DBInstanceType: 'string',
70
+ haLogItems: { 'type': 'array', 'itemType': DescribeHALogsResponseBodyHaLogItems },
71
+ haStatus: 'number',
72
+ itemsNumbers: 'number',
73
+ pageNumber: 'number',
74
+ pageSize: 'number',
75
+ requestId: 'string',
76
+ totalRecords: 'number',
77
+ };
78
+ }
79
+
80
+ validate() {
81
+ if(Array.isArray(this.haLogItems)) {
82
+ $dara.Model.validateArray(this.haLogItems);
83
+ }
84
+ super.validate();
85
+ }
86
+
87
+ constructor(map?: { [key: string]: any }) {
88
+ super(map);
89
+ }
90
+ }
91
+
@@ -0,0 +1,71 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeHALogsResponseBodyHaLogItems extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The reason code of the failover.
9
+ *
10
+ * @example
11
+ * Platform.Ha.AuroraService.ManualOperations
12
+ */
13
+ switchCauseCode?: string;
14
+ /**
15
+ * @remarks
16
+ * The reason of the failover.
17
+ *
18
+ * @example
19
+ * Platform.Ha.ManuallyTriggered
20
+ */
21
+ switchCauseDetail?: string;
22
+ /**
23
+ * @remarks
24
+ * The time when the failover ended.
25
+ *
26
+ * @example
27
+ * 2025-05-20T03:09:56Z
28
+ */
29
+ switchFinishTime?: string;
30
+ /**
31
+ * @example
32
+ * e571f897-9b3c-4012-9470-88333832dec4
33
+ */
34
+ switchId?: string;
35
+ /**
36
+ * @remarks
37
+ * The time when the failover started.
38
+ *
39
+ * @example
40
+ * 2025-05-20T03:09:45Z
41
+ */
42
+ switchStartTime?: string;
43
+ static names(): { [key: string]: string } {
44
+ return {
45
+ switchCauseCode: 'SwitchCauseCode',
46
+ switchCauseDetail: 'SwitchCauseDetail',
47
+ switchFinishTime: 'SwitchFinishTime',
48
+ switchId: 'SwitchId',
49
+ switchStartTime: 'SwitchStartTime',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ switchCauseCode: 'string',
56
+ switchCauseDetail: 'string',
57
+ switchFinishTime: 'string',
58
+ switchId: 'string',
59
+ switchStartTime: 'string',
60
+ };
61
+ }
62
+
63
+ validate() {
64
+ super.validate();
65
+ }
66
+
67
+ constructor(map?: { [key: string]: any }) {
68
+ super(map);
69
+ }
70
+ }
71
+
@@ -0,0 +1,36 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ReactivateDBClusterBackupRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The cluster ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pc-**************
14
+ */
15
+ DBClusterId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ DBClusterId: 'DBClusterId',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ DBClusterId: 'string',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ReactivateDBClusterBackupResponseBody } from "./ReactivateDbclusterBackupResponseBody";
4
+
5
+
6
+ export class ReactivateDBClusterBackupResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ReactivateDBClusterBackupResponseBody;
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: ReactivateDBClusterBackupResponseBody,
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,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ReactivateDBClusterBackupResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The cluster ID.
9
+ *
10
+ * @example
11
+ * pc-****************
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @remarks
16
+ * The ID of the order.
17
+ *
18
+ * @example
19
+ * 2035629******
20
+ */
21
+ orderId?: string;
22
+ /**
23
+ * @remarks
24
+ * Id of the request
25
+ *
26
+ * @example
27
+ * F2A9EFA7-915F-4572-8299-85A307******
28
+ */
29
+ requestId?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ DBClusterId: 'DBClusterId',
33
+ orderId: 'OrderId',
34
+ requestId: 'RequestId',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ DBClusterId: 'string',
41
+ orderId: 'string',
42
+ requestId: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -87,6 +87,7 @@ export { DescribeGlobalDatabaseNetworksResponseBodyItemsLabels } from './Describ
87
87
  export { DescribeGlobalDatabaseNetworksResponseBodyItems } from './DescribeGlobalDatabaseNetworksResponseBodyItems';
88
88
  export { DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup } from './DescribeGlobalSecurityIpgroupResponseBodyGlobalSecurityIpgroup';
89
89
  export { DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel } from './DescribeGlobalSecurityIpgroupRelationResponseBodyGlobalSecurityIpgroupRel';
90
+ export { DescribeHALogsResponseBodyHaLogItems } from './DescribeHalogsResponseBodyHaLogItems';
90
91
  export { DescribeHistoryTasksResponseBodyItems } from './DescribeHistoryTasksResponseBodyItems';
91
92
  export { DescribeLicenseOrdersResponseBodyItems } from './DescribeLicenseOrdersResponseBodyItems';
92
93
  export { DescribeMaskingRulesResponseBodyData } from './DescribeMaskingRulesResponseBodyData';
@@ -357,6 +358,9 @@ export { DescribeGlobalSecurityIPGroupResponse } from './DescribeGlobalSecurityI
357
358
  export { DescribeGlobalSecurityIPGroupRelationRequest } from './DescribeGlobalSecurityIpgroupRelationRequest';
358
359
  export { DescribeGlobalSecurityIPGroupRelationResponseBody } from './DescribeGlobalSecurityIpgroupRelationResponseBody';
359
360
  export { DescribeGlobalSecurityIPGroupRelationResponse } from './DescribeGlobalSecurityIpgroupRelationResponse';
361
+ export { DescribeHALogsRequest } from './DescribeHalogsRequest';
362
+ export { DescribeHALogsResponseBody } from './DescribeHalogsResponseBody';
363
+ export { DescribeHALogsResponse } from './DescribeHalogsResponse';
360
364
  export { DescribeHistoryTasksRequest } from './DescribeHistoryTasksRequest';
361
365
  export { DescribeHistoryTasksResponseBody } from './DescribeHistoryTasksResponseBody';
362
366
  export { DescribeHistoryTasksResponse } from './DescribeHistoryTasksResponse';
@@ -552,6 +556,9 @@ export { ModifyPendingMaintenanceActionResponse } from './ModifyPendingMaintenan
552
556
  export { OpenAITaskRequest } from './OpenAitaskRequest';
553
557
  export { OpenAITaskResponseBody } from './OpenAitaskResponseBody';
554
558
  export { OpenAITaskResponse } from './OpenAitaskResponse';
559
+ export { ReactivateDBClusterBackupRequest } from './ReactivateDbclusterBackupRequest';
560
+ export { ReactivateDBClusterBackupResponseBody } from './ReactivateDbclusterBackupResponseBody';
561
+ export { ReactivateDBClusterBackupResponse } from './ReactivateDbclusterBackupResponse';
555
562
  export { RefreshDBClusterStorageUsageRequest } from './RefreshDbclusterStorageUsageRequest';
556
563
  export { RefreshDBClusterStorageUsageResponseBody } from './RefreshDbclusterStorageUsageResponseBody';
557
564
  export { RefreshDBClusterStorageUsageResponse } from './RefreshDbclusterStorageUsageResponse';