@alicloud/polardb20170801 7.5.0 → 7.7.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 (55) hide show
  1. package/dist/client.d.ts +34 -4
  2. package/dist/client.js +121 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +75 -110
  5. package/dist/models/DescribeApplicationAttributeResponseBody.js +2 -0
  6. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
  7. package/dist/models/DescribeApplicationLogsRequest.d.ts +1 -1
  8. package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -0
  9. package/dist/models/DescribeApplicationLogsResponseBody.js +4 -0
  10. package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
  11. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +4 -0
  12. package/dist/models/DescribeApplicationPerformanceRequest.js +8 -0
  13. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  14. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +2 -0
  15. package/dist/models/DescribeApplicationPerformanceResponseBody.js +4 -0
  16. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  17. package/dist/models/DescribeApplicationSessionIdsRequest.d.ts +72 -0
  18. package/dist/models/DescribeApplicationSessionIdsRequest.js +74 -0
  19. package/dist/models/DescribeApplicationSessionIdsRequest.js.map +1 -0
  20. package/dist/models/DescribeApplicationSessionIdsResponse.d.ts +19 -0
  21. package/dist/models/DescribeApplicationSessionIdsResponse.js +69 -0
  22. package/dist/models/DescribeApplicationSessionIdsResponse.js.map +1 -0
  23. package/dist/models/DescribeApplicationSessionIdsResponseBody.d.ts +82 -0
  24. package/dist/models/DescribeApplicationSessionIdsResponseBody.js +116 -0
  25. package/dist/models/DescribeApplicationSessionIdsResponseBody.js.map +1 -0
  26. package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +84 -79
  27. package/dist/models/DescribeDbclusterAttributeResponseBody.js +10 -0
  28. package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
  29. package/dist/models/RestartPolarClawGatewayRequest.d.ts +26 -0
  30. package/dist/models/RestartPolarClawGatewayRequest.js +60 -0
  31. package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -0
  32. package/dist/models/RestartPolarClawGatewayResponse.d.ts +19 -0
  33. package/dist/models/RestartPolarClawGatewayResponse.js +69 -0
  34. package/dist/models/RestartPolarClawGatewayResponse.js.map +1 -0
  35. package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +73 -0
  36. package/dist/models/RestartPolarClawGatewayResponseBody.js +80 -0
  37. package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -0
  38. package/dist/models/model.d.ts +8 -0
  39. package/dist/models/model.js +48 -32
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +2 -2
  42. package/src/client.ts +140 -4
  43. package/src/models/DescribeApplicationAttributeResponseBody.ts +77 -110
  44. package/src/models/DescribeApplicationLogsRequest.ts +1 -1
  45. package/src/models/DescribeApplicationLogsResponseBody.ts +6 -0
  46. package/src/models/DescribeApplicationPerformanceRequest.ts +12 -0
  47. package/src/models/DescribeApplicationPerformanceResponseBody.ts +6 -0
  48. package/src/models/DescribeApplicationSessionIdsRequest.ts +101 -0
  49. package/src/models/DescribeApplicationSessionIdsResponse.ts +40 -0
  50. package/src/models/DescribeApplicationSessionIdsResponseBody.ts +135 -0
  51. package/src/models/DescribeDbclusterAttributeResponseBody.ts +94 -79
  52. package/src/models/RestartPolarClawGatewayRequest.ts +41 -0
  53. package/src/models/RestartPolarClawGatewayResponse.ts +40 -0
  54. package/src/models/RestartPolarClawGatewayResponseBody.ts +108 -0
  55. package/src/models/model.ts +8 -0
@@ -3,10 +3,12 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeApplicationPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue extends $dara.Model {
6
+ step?: number;
6
7
  timestamp?: number;
7
8
  value?: string;
8
9
  static names(): { [key: string]: string } {
9
10
  return {
11
+ step: 'Step',
10
12
  timestamp: 'Timestamp',
11
13
  value: 'Value',
12
14
  };
@@ -14,6 +16,7 @@ export class DescribeApplicationPerformanceResponseBodyPerformanceKeysPerformanc
14
16
 
15
17
  static types(): { [key: string]: any } {
16
18
  return {
19
+ step: 'number',
17
20
  timestamp: 'number',
18
21
  value: 'string',
19
22
  };
@@ -143,6 +146,7 @@ export class DescribeApplicationPerformanceResponseBody extends $dara.Model {
143
146
  * 2025-05-23T02:21:00Z
144
147
  */
145
148
  endTime?: string;
149
+ interval?: string;
146
150
  /**
147
151
  * @remarks
148
152
  * The performance metrics.
@@ -169,6 +173,7 @@ export class DescribeApplicationPerformanceResponseBody extends $dara.Model {
169
173
  applicationId: 'ApplicationId',
170
174
  applicationType: 'ApplicationType',
171
175
  endTime: 'EndTime',
176
+ interval: 'Interval',
172
177
  performanceKeys: 'PerformanceKeys',
173
178
  requestId: 'RequestId',
174
179
  startTime: 'StartTime',
@@ -180,6 +185,7 @@ export class DescribeApplicationPerformanceResponseBody extends $dara.Model {
180
185
  applicationId: 'string',
181
186
  applicationType: 'string',
182
187
  endTime: 'string',
188
+ interval: 'string',
183
189
  performanceKeys: DescribeApplicationPerformanceResponseBodyPerformanceKeys,
184
190
  requestId: 'string',
185
191
  startTime: 'string',
@@ -0,0 +1,101 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeApplicationSessionIdsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The application ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pa-**************
14
+ */
15
+ applicationId?: string;
16
+ /**
17
+ * @remarks
18
+ * The end of the time range to query.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * 2020-02-01T18:00Z
24
+ */
25
+ endTime?: string;
26
+ ownerAccount?: string;
27
+ ownerId?: number;
28
+ /**
29
+ * @remarks
30
+ * The page number.
31
+ *
32
+ * @example
33
+ * 1
34
+ */
35
+ pageNumber?: number;
36
+ /**
37
+ * @remarks
38
+ * The number of entries per page.
39
+ *
40
+ * @example
41
+ * 30
42
+ */
43
+ pageSize?: number;
44
+ /**
45
+ * @remarks
46
+ * The region ID.
47
+ *
48
+ * This parameter is required.
49
+ *
50
+ * @example
51
+ * cn-hangzhou
52
+ */
53
+ regionId?: string;
54
+ resourceOwnerAccount?: string;
55
+ /**
56
+ * @remarks
57
+ * The beginning of the time range to query. Specify the time in the `YYYY-MM-DDThh:mmZ` format (UTC).
58
+ *
59
+ * This parameter is required.
60
+ *
61
+ * @example
62
+ * 2022-11-15T16:00Z
63
+ */
64
+ startTime?: string;
65
+ static names(): { [key: string]: string } {
66
+ return {
67
+ applicationId: 'ApplicationId',
68
+ endTime: 'EndTime',
69
+ ownerAccount: 'OwnerAccount',
70
+ ownerId: 'OwnerId',
71
+ pageNumber: 'PageNumber',
72
+ pageSize: 'PageSize',
73
+ regionId: 'RegionId',
74
+ resourceOwnerAccount: 'ResourceOwnerAccount',
75
+ startTime: 'StartTime',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ applicationId: 'string',
82
+ endTime: 'string',
83
+ ownerAccount: 'string',
84
+ ownerId: 'number',
85
+ pageNumber: 'number',
86
+ pageSize: 'number',
87
+ regionId: 'string',
88
+ resourceOwnerAccount: 'string',
89
+ startTime: 'string',
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ super.validate();
95
+ }
96
+
97
+ constructor(map?: { [key: string]: any }) {
98
+ super(map);
99
+ }
100
+ }
101
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeApplicationSessionIdsResponseBody } from "./DescribeApplicationSessionIdsResponseBody";
4
+
5
+
6
+ export class DescribeApplicationSessionIdsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeApplicationSessionIdsResponseBody;
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: DescribeApplicationSessionIdsResponseBody,
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,135 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeApplicationSessionIdsResponseBodyItemsItems extends $dara.Model {
6
+ agent?: string;
7
+ sessionId?: string;
8
+ time?: string;
9
+ static names(): { [key: string]: string } {
10
+ return {
11
+ agent: 'Agent',
12
+ sessionId: 'SessionId',
13
+ time: 'Time',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ agent: 'string',
20
+ sessionId: 'string',
21
+ time: 'string',
22
+ };
23
+ }
24
+
25
+ validate() {
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
34
+ export class DescribeApplicationSessionIdsResponseBodyItems extends $dara.Model {
35
+ items?: DescribeApplicationSessionIdsResponseBodyItemsItems[];
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ items: 'items',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ items: { 'type': 'array', 'itemType': DescribeApplicationSessionIdsResponseBodyItemsItems },
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ if(Array.isArray(this.items)) {
50
+ $dara.Model.validateArray(this.items);
51
+ }
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
60
+ export class DescribeApplicationSessionIdsResponseBody extends $dara.Model {
61
+ /**
62
+ * @remarks
63
+ * The application ID.
64
+ *
65
+ * @example
66
+ * pa-********************
67
+ */
68
+ applicationId?: string;
69
+ items?: DescribeApplicationSessionIdsResponseBodyItems;
70
+ /**
71
+ * @remarks
72
+ * The page number.
73
+ *
74
+ * @example
75
+ * 1
76
+ */
77
+ pageNumber?: number;
78
+ /**
79
+ * @remarks
80
+ * The number of entries on the current page.
81
+ *
82
+ * @example
83
+ * 30
84
+ */
85
+ pageRecordCount?: number;
86
+ /**
87
+ * @remarks
88
+ * The request ID.
89
+ *
90
+ * @example
91
+ * 7F2007D3-7E74-4ECB-89A8-BF130D******
92
+ */
93
+ requestId?: string;
94
+ /**
95
+ * @remarks
96
+ * The total number of entries.
97
+ *
98
+ * @example
99
+ * 1
100
+ */
101
+ totalRecordCount?: string;
102
+ static names(): { [key: string]: string } {
103
+ return {
104
+ applicationId: 'ApplicationId',
105
+ items: 'Items',
106
+ pageNumber: 'PageNumber',
107
+ pageRecordCount: 'PageRecordCount',
108
+ requestId: 'RequestId',
109
+ totalRecordCount: 'TotalRecordCount',
110
+ };
111
+ }
112
+
113
+ static types(): { [key: string]: any } {
114
+ return {
115
+ applicationId: 'string',
116
+ items: DescribeApplicationSessionIdsResponseBodyItems,
117
+ pageNumber: 'number',
118
+ pageRecordCount: 'number',
119
+ requestId: 'string',
120
+ totalRecordCount: 'string',
121
+ };
122
+ }
123
+
124
+ validate() {
125
+ if(this.items && typeof (this.items as any).validate === 'function') {
126
+ (this.items as any).validate();
127
+ }
128
+ super.validate();
129
+ }
130
+
131
+ constructor(map?: { [key: string]: any }) {
132
+ super(map);
133
+ }
134
+ }
135
+