@alicloud/polardb20170801 7.5.0 → 7.6.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 (39) hide show
  1. package/dist/client.d.ts +15 -0
  2. package/dist/client.js +75 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeApplicationLogsRequest.d.ts +1 -1
  5. package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -0
  6. package/dist/models/DescribeApplicationLogsResponseBody.js +4 -0
  7. package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
  8. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +4 -0
  9. package/dist/models/DescribeApplicationPerformanceRequest.js +8 -0
  10. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  11. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +2 -0
  12. package/dist/models/DescribeApplicationPerformanceResponseBody.js +4 -0
  13. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  14. package/dist/models/DescribeApplicationSessionIdsRequest.d.ts +72 -0
  15. package/dist/models/DescribeApplicationSessionIdsRequest.js +74 -0
  16. package/dist/models/DescribeApplicationSessionIdsRequest.js.map +1 -0
  17. package/dist/models/DescribeApplicationSessionIdsResponse.d.ts +19 -0
  18. package/dist/models/DescribeApplicationSessionIdsResponse.js +69 -0
  19. package/dist/models/DescribeApplicationSessionIdsResponse.js.map +1 -0
  20. package/dist/models/DescribeApplicationSessionIdsResponseBody.d.ts +82 -0
  21. package/dist/models/DescribeApplicationSessionIdsResponseBody.js +116 -0
  22. package/dist/models/DescribeApplicationSessionIdsResponseBody.js.map +1 -0
  23. package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +84 -79
  24. package/dist/models/DescribeDbclusterAttributeResponseBody.js +10 -0
  25. package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
  26. package/dist/models/model.d.ts +5 -0
  27. package/dist/models/model.js +42 -32
  28. package/dist/models/model.js.map +1 -1
  29. package/package.json +1 -1
  30. package/src/client.ts +90 -0
  31. package/src/models/DescribeApplicationLogsRequest.ts +1 -1
  32. package/src/models/DescribeApplicationLogsResponseBody.ts +6 -0
  33. package/src/models/DescribeApplicationPerformanceRequest.ts +12 -0
  34. package/src/models/DescribeApplicationPerformanceResponseBody.ts +6 -0
  35. package/src/models/DescribeApplicationSessionIdsRequest.ts +101 -0
  36. package/src/models/DescribeApplicationSessionIdsResponse.ts +40 -0
  37. package/src/models/DescribeApplicationSessionIdsResponseBody.ts +135 -0
  38. package/src/models/DescribeDbclusterAttributeResponseBody.ts +94 -79
  39. package/src/models/model.ts +5 -0
@@ -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
+