@alicloud/polardb20170801 7.0.0 → 7.2.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 (194) hide show
  1. package/dist/client.d.ts +189 -24
  2. package/dist/client.js +576 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateBatchConsumerRequest.d.ts +61 -0
  5. package/dist/models/CreateBatchConsumerRequest.js +66 -0
  6. package/dist/models/CreateBatchConsumerRequest.js.map +1 -0
  7. package/dist/models/CreateBatchConsumerResponse.d.ts +19 -0
  8. package/dist/models/CreateBatchConsumerResponse.js +69 -0
  9. package/dist/models/CreateBatchConsumerResponse.js.map +1 -0
  10. package/dist/models/CreateBatchConsumerResponseBody.d.ts +147 -0
  11. package/dist/models/CreateBatchConsumerResponseBody.js +106 -0
  12. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -0
  13. package/dist/models/CreateDbnodesRequest.d.ts +34 -54
  14. package/dist/models/CreateDbnodesRequest.js.map +1 -1
  15. package/dist/models/CreateDbnodesResponseBody.d.ts +1 -1
  16. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +66 -97
  17. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  18. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  19. package/dist/models/DescribeApikeyAttributeRequest.d.ts +51 -0
  20. package/dist/models/DescribeApikeyAttributeRequest.js +64 -0
  21. package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -0
  22. package/dist/models/DescribeApikeyAttributeResponse.d.ts +19 -0
  23. package/dist/models/DescribeApikeyAttributeResponse.js +69 -0
  24. package/dist/models/DescribeApikeyAttributeResponse.js.map +1 -0
  25. package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +248 -0
  26. package/dist/models/DescribeApikeyAttributeResponseBody.js +168 -0
  27. package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -0
  28. package/dist/models/DescribeGatewayApikeyListRequest.d.ts +43 -0
  29. package/dist/models/DescribeGatewayApikeyListRequest.js +62 -0
  30. package/dist/models/DescribeGatewayApikeyListRequest.js.map +1 -0
  31. package/dist/models/DescribeGatewayApikeyListResponse.d.ts +19 -0
  32. package/dist/models/DescribeGatewayApikeyListResponse.js +69 -0
  33. package/dist/models/DescribeGatewayApikeyListResponse.js.map +1 -0
  34. package/dist/models/DescribeGatewayApikeyListResponseBody.d.ts +147 -0
  35. package/dist/models/DescribeGatewayApikeyListResponseBody.js +106 -0
  36. package/dist/models/DescribeGatewayApikeyListResponseBody.js.map +1 -0
  37. package/dist/models/DescribePolarClawAgentFileRequest.d.ts +43 -0
  38. package/dist/models/DescribePolarClawAgentFileRequest.js +62 -0
  39. package/dist/models/DescribePolarClawAgentFileRequest.js.map +1 -0
  40. package/dist/models/DescribePolarClawAgentFileResponse.d.ts +19 -0
  41. package/dist/models/DescribePolarClawAgentFileResponse.js +69 -0
  42. package/dist/models/DescribePolarClawAgentFileResponse.js.map +1 -0
  43. package/dist/models/DescribePolarClawAgentFileResponseBody.d.ts +126 -0
  44. package/dist/models/DescribePolarClawAgentFileResponseBody.js +102 -0
  45. package/dist/models/DescribePolarClawAgentFileResponseBody.js.map +1 -0
  46. package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +41 -0
  47. package/dist/models/DescribePolarClawAgentToolsRequest.js +62 -0
  48. package/dist/models/DescribePolarClawAgentToolsRequest.js.map +1 -0
  49. package/dist/models/DescribePolarClawAgentToolsResponse.d.ts +19 -0
  50. package/dist/models/DescribePolarClawAgentToolsResponse.js +69 -0
  51. package/dist/models/DescribePolarClawAgentToolsResponse.js.map +1 -0
  52. package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +221 -0
  53. package/dist/models/DescribePolarClawAgentToolsResponseBody.js +194 -0
  54. package/dist/models/DescribePolarClawAgentToolsResponseBody.js.map +1 -0
  55. package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
  56. package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +118 -10
  57. package/dist/models/DescribePolarClawAgentsResponseBody.js +71 -1
  58. package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
  59. package/dist/models/DescribePolarClawAgentsShrinkRequest.d.ts +1 -1
  60. package/dist/models/DescribePolarClawSkillDetailRequest.d.ts +33 -0
  61. package/dist/models/DescribePolarClawSkillDetailRequest.js +60 -0
  62. package/dist/models/DescribePolarClawSkillDetailRequest.js.map +1 -0
  63. package/dist/models/DescribePolarClawSkillDetailResponse.d.ts +19 -0
  64. package/dist/models/DescribePolarClawSkillDetailResponse.js +69 -0
  65. package/dist/models/DescribePolarClawSkillDetailResponse.js.map +1 -0
  66. package/dist/models/DescribePolarClawSkillDetailResponseBody.d.ts +269 -0
  67. package/dist/models/DescribePolarClawSkillDetailResponseBody.js +193 -0
  68. package/dist/models/DescribePolarClawSkillDetailResponseBody.js.map +1 -0
  69. package/dist/models/DescribePolarFsAttributeRequest.d.ts +5 -8
  70. package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -1
  71. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +49 -57
  72. package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
  73. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
  74. package/dist/models/DescribePolarFsObjectsResponseBody.d.ts +13 -13
  75. package/dist/models/InstallPolarClawSkillRequest.d.ts +63 -0
  76. package/dist/models/InstallPolarClawSkillRequest.js +68 -0
  77. package/dist/models/InstallPolarClawSkillRequest.js.map +1 -0
  78. package/dist/models/InstallPolarClawSkillResponse.d.ts +19 -0
  79. package/dist/models/InstallPolarClawSkillResponse.js +69 -0
  80. package/dist/models/InstallPolarClawSkillResponse.js.map +1 -0
  81. package/dist/models/InstallPolarClawSkillResponseBody.d.ts +77 -0
  82. package/dist/models/InstallPolarClawSkillResponseBody.js +72 -0
  83. package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -0
  84. package/dist/models/ModifyDbnodeClassRequest.d.ts +23 -32
  85. package/dist/models/ModifyDbnodeClassRequest.js.map +1 -1
  86. package/dist/models/ModifyDbnodeClassResponseBody.d.ts +1 -1
  87. package/dist/models/SearchPolarClawSkillsRequest.d.ts +39 -0
  88. package/dist/models/SearchPolarClawSkillsRequest.js +62 -0
  89. package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -0
  90. package/dist/models/SearchPolarClawSkillsResponse.d.ts +19 -0
  91. package/dist/models/SearchPolarClawSkillsResponse.js +69 -0
  92. package/dist/models/SearchPolarClawSkillsResponse.js.map +1 -0
  93. package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +110 -0
  94. package/dist/models/SearchPolarClawSkillsResponseBody.js +98 -0
  95. package/dist/models/SearchPolarClawSkillsResponseBody.js.map +1 -0
  96. package/dist/models/UpdatePolarClawAgentRequest.d.ts +23 -7
  97. package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
  98. package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
  99. package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +9 -9
  100. package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +22 -6
  101. package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
  102. package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
  103. package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +41 -0
  104. package/dist/models/UpdatePolarClawAgentSkillsRequest.js +65 -0
  105. package/dist/models/UpdatePolarClawAgentSkillsRequest.js.map +1 -0
  106. package/dist/models/UpdatePolarClawAgentSkillsResponse.d.ts +19 -0
  107. package/dist/models/UpdatePolarClawAgentSkillsResponse.js +69 -0
  108. package/dist/models/UpdatePolarClawAgentSkillsResponse.js.map +1 -0
  109. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +66 -0
  110. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js +73 -0
  111. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js.map +1 -0
  112. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +41 -0
  113. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js +62 -0
  114. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js.map +1 -0
  115. package/dist/models/UpdatePolarClawAgentToolsRequest.d.ts +65 -0
  116. package/dist/models/UpdatePolarClawAgentToolsRequest.js +77 -0
  117. package/dist/models/UpdatePolarClawAgentToolsRequest.js.map +1 -0
  118. package/dist/models/UpdatePolarClawAgentToolsResponse.d.ts +19 -0
  119. package/dist/models/UpdatePolarClawAgentToolsResponse.js +69 -0
  120. package/dist/models/UpdatePolarClawAgentToolsResponse.js.map +1 -0
  121. package/dist/models/UpdatePolarClawAgentToolsResponseBody.d.ts +101 -0
  122. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js +107 -0
  123. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js.map +1 -0
  124. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.d.ts +65 -0
  125. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js +68 -0
  126. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js.map +1 -0
  127. package/dist/models/UpdatePolarClawSkillRequest.d.ts +59 -0
  128. package/dist/models/UpdatePolarClawSkillRequest.js +69 -0
  129. package/dist/models/UpdatePolarClawSkillRequest.js.map +1 -0
  130. package/dist/models/UpdatePolarClawSkillResponse.d.ts +19 -0
  131. package/dist/models/UpdatePolarClawSkillResponse.js +69 -0
  132. package/dist/models/UpdatePolarClawSkillResponse.js.map +1 -0
  133. package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +93 -0
  134. package/dist/models/UpdatePolarClawSkillResponseBody.js +97 -0
  135. package/dist/models/UpdatePolarClawSkillResponseBody.js.map +1 -0
  136. package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +57 -0
  137. package/dist/models/UpdatePolarClawSkillShrinkRequest.js +66 -0
  138. package/dist/models/UpdatePolarClawSkillShrinkRequest.js.map +1 -0
  139. package/dist/models/model.d.ts +55 -0
  140. package/dist/models/model.js +146 -35
  141. package/dist/models/model.js.map +1 -1
  142. package/package.json +1 -1
  143. package/src/client.ts +648 -24
  144. package/src/models/CreateBatchConsumerRequest.ts +82 -0
  145. package/src/models/CreateBatchConsumerResponse.ts +40 -0
  146. package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
  147. package/src/models/CreateDbnodesRequest.ts +34 -54
  148. package/src/models/CreateDbnodesResponseBody.ts +1 -1
  149. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
  150. package/src/models/DescribeApikeyAttributeRequest.ts +70 -0
  151. package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
  152. package/src/models/DescribeApikeyAttributeResponseBody.ts +344 -0
  153. package/src/models/DescribeGatewayApikeyListRequest.ts +60 -0
  154. package/src/models/DescribeGatewayApikeyListResponse.ts +40 -0
  155. package/src/models/DescribeGatewayApikeyListResponseBody.ts +199 -0
  156. package/src/models/DescribePolarClawAgentFileRequest.ts +60 -0
  157. package/src/models/DescribePolarClawAgentFileResponse.ts +40 -0
  158. package/src/models/DescribePolarClawAgentFileResponseBody.ts +174 -0
  159. package/src/models/DescribePolarClawAgentToolsRequest.ts +58 -0
  160. package/src/models/DescribePolarClawAgentToolsResponse.ts +40 -0
  161. package/src/models/DescribePolarClawAgentToolsResponseBody.ts +334 -0
  162. package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
  163. package/src/models/DescribePolarClawAgentsResponseBody.ts +170 -10
  164. package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
  165. package/src/models/DescribePolarClawSkillDetailRequest.ts +48 -0
  166. package/src/models/DescribePolarClawSkillDetailResponse.ts +40 -0
  167. package/src/models/DescribePolarClawSkillDetailResponseBody.ts +379 -0
  168. package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
  169. package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
  170. package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
  171. package/src/models/InstallPolarClawSkillRequest.ts +86 -0
  172. package/src/models/InstallPolarClawSkillResponse.ts +40 -0
  173. package/src/models/InstallPolarClawSkillResponseBody.ts +104 -0
  174. package/src/models/ModifyDbnodeClassRequest.ts +23 -32
  175. package/src/models/ModifyDbnodeClassResponseBody.ts +1 -1
  176. package/src/models/SearchPolarClawSkillsRequest.ts +56 -0
  177. package/src/models/SearchPolarClawSkillsResponse.ts +40 -0
  178. package/src/models/SearchPolarClawSkillsResponseBody.ts +154 -0
  179. package/src/models/UpdatePolarClawAgentRequest.ts +27 -7
  180. package/src/models/UpdatePolarClawAgentResponseBody.ts +9 -9
  181. package/src/models/UpdatePolarClawAgentShrinkRequest.ts +26 -6
  182. package/src/models/UpdatePolarClawAgentSkillsRequest.ts +61 -0
  183. package/src/models/UpdatePolarClawAgentSkillsResponse.ts +40 -0
  184. package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +94 -0
  185. package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +58 -0
  186. package/src/models/UpdatePolarClawAgentToolsRequest.ts +97 -0
  187. package/src/models/UpdatePolarClawAgentToolsResponse.ts +40 -0
  188. package/src/models/UpdatePolarClawAgentToolsResponseBody.ts +154 -0
  189. package/src/models/UpdatePolarClawAgentToolsShrinkRequest.ts +88 -0
  190. package/src/models/UpdatePolarClawSkillRequest.ts +81 -0
  191. package/src/models/UpdatePolarClawSkillResponse.ts +40 -0
  192. package/src/models/UpdatePolarClawSkillResponseBody.ts +134 -0
  193. package/src/models/UpdatePolarClawSkillShrinkRequest.ts +78 -0
  194. package/src/models/model.ts +55 -0
@@ -0,0 +1,82 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateBatchConsumerRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The client token that is used to ensure the idempotence of the request and prevent repeated request submissions. The value is generated by the client and must be unique among different requests. The value is case-sensitive and cannot exceed 64 ASCII characters in length.
9
+ *
10
+ * @example
11
+ * 6000170000591aed949d0f5********************
12
+ */
13
+ clientToken?: string;
14
+ /**
15
+ * @remarks
16
+ * The ID of the user group.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * cg-xxxxxx
22
+ */
23
+ consumerGroupId?: string;
24
+ /**
25
+ * @remarks
26
+ * The number of user API keys to create.
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * 1
32
+ */
33
+ count?: number;
34
+ /**
35
+ * @remarks
36
+ * The gateway instance ID.
37
+ *
38
+ * This parameter is required.
39
+ *
40
+ * @example
41
+ * pg-xxxxxxxx
42
+ */
43
+ gwClusterId?: string;
44
+ /**
45
+ * @remarks
46
+ * The region ID.
47
+ *
48
+ * This parameter is required.
49
+ *
50
+ * @example
51
+ * cn-beijing
52
+ */
53
+ regionId?: string;
54
+ static names(): { [key: string]: string } {
55
+ return {
56
+ clientToken: 'ClientToken',
57
+ consumerGroupId: 'ConsumerGroupId',
58
+ count: 'Count',
59
+ gwClusterId: 'GwClusterId',
60
+ regionId: 'RegionId',
61
+ };
62
+ }
63
+
64
+ static types(): { [key: string]: any } {
65
+ return {
66
+ clientToken: 'string',
67
+ consumerGroupId: 'string',
68
+ count: 'number',
69
+ gwClusterId: 'string',
70
+ regionId: 'string',
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ super.validate();
76
+ }
77
+
78
+ constructor(map?: { [key: string]: any }) {
79
+ super(map);
80
+ }
81
+ }
82
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateBatchConsumerResponseBody } from "./CreateBatchConsumerResponseBody";
4
+
5
+
6
+ export class CreateBatchConsumerResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateBatchConsumerResponseBody;
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: CreateBatchConsumerResponseBody,
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,199 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateBatchConsumerResponseBodyItems extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The complete API key. This value is returned only in the current response.
9
+ *
10
+ * @example
11
+ * xxxxxxxx
12
+ */
13
+ apiKey?: string;
14
+ /**
15
+ * @remarks
16
+ * The API key status. Default value: Active.
17
+ *
18
+ * @example
19
+ * Active
20
+ */
21
+ apiStatus?: string;
22
+ /**
23
+ * @remarks
24
+ * The ID of the user group.
25
+ *
26
+ * @example
27
+ * cg-xxxxxx
28
+ */
29
+ consumerGroupId?: string;
30
+ /**
31
+ * @remarks
32
+ * The user ID.
33
+ *
34
+ * @example
35
+ * c-mqveroemc***
36
+ */
37
+ consumerId?: string;
38
+ /**
39
+ * @remarks
40
+ * The consumer tag.
41
+ *
42
+ * @example
43
+ * test
44
+ */
45
+ consumerTag?: string;
46
+ /**
47
+ * @remarks
48
+ * The gateway instance ID.
49
+ *
50
+ * @example
51
+ * pg-xxxxxxxxxx
52
+ */
53
+ gwClusterId?: string;
54
+ /**
55
+ * @remarks
56
+ * The name.
57
+ *
58
+ * @example
59
+ * test
60
+ */
61
+ name?: string;
62
+ /**
63
+ * @remarks
64
+ * The consumer status. Default value: Enabled.
65
+ *
66
+ * @example
67
+ * Enabled
68
+ */
69
+ status?: string;
70
+ static names(): { [key: string]: string } {
71
+ return {
72
+ apiKey: 'ApiKey',
73
+ apiStatus: 'ApiStatus',
74
+ consumerGroupId: 'ConsumerGroupId',
75
+ consumerId: 'ConsumerId',
76
+ consumerTag: 'ConsumerTag',
77
+ gwClusterId: 'GwClusterId',
78
+ name: 'Name',
79
+ status: 'Status',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ apiKey: 'string',
86
+ apiStatus: 'string',
87
+ consumerGroupId: 'string',
88
+ consumerId: 'string',
89
+ consumerTag: 'string',
90
+ gwClusterId: 'string',
91
+ name: 'string',
92
+ status: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
105
+ export class CreateBatchConsumerResponseBody extends $dara.Model {
106
+ /**
107
+ * @remarks
108
+ * The list of consumer objects.
109
+ */
110
+ items?: CreateBatchConsumerResponseBodyItems[];
111
+ /**
112
+ * @remarks
113
+ * The page number. Default value: 1.
114
+ *
115
+ * @example
116
+ * 1
117
+ */
118
+ pageNumber?: number;
119
+ /**
120
+ * @remarks
121
+ * The number of records on the current page.
122
+ *
123
+ * @example
124
+ * 1
125
+ */
126
+ pageRecordCount?: number;
127
+ /**
128
+ * @remarks
129
+ * The number of records per page. Valid values:
130
+ * * **30**
131
+ * * **50**
132
+ * * **100**
133
+ *
134
+ * Default value: 30.
135
+ *
136
+ * @example
137
+ * 30
138
+ */
139
+ pageSize?: number;
140
+ /**
141
+ * @remarks
142
+ * Id of the request
143
+ *
144
+ * @example
145
+ * A7E6A8FD-C50B-46B2-BA85-D8B8D3******
146
+ */
147
+ requestId?: string;
148
+ /**
149
+ * @remarks
150
+ * The total number of pages.
151
+ *
152
+ * @example
153
+ * 1
154
+ */
155
+ totalPages?: number;
156
+ /**
157
+ * @remarks
158
+ * The total number of records.
159
+ *
160
+ * @example
161
+ * 2
162
+ */
163
+ totalRecordCount?: number;
164
+ static names(): { [key: string]: string } {
165
+ return {
166
+ items: 'Items',
167
+ pageNumber: 'PageNumber',
168
+ pageRecordCount: 'PageRecordCount',
169
+ pageSize: 'PageSize',
170
+ requestId: 'RequestId',
171
+ totalPages: 'TotalPages',
172
+ totalRecordCount: 'TotalRecordCount',
173
+ };
174
+ }
175
+
176
+ static types(): { [key: string]: any } {
177
+ return {
178
+ items: { 'type': 'array', 'itemType': CreateBatchConsumerResponseBodyItems },
179
+ pageNumber: 'number',
180
+ pageRecordCount: 'number',
181
+ pageSize: 'number',
182
+ requestId: 'string',
183
+ totalPages: 'number',
184
+ totalRecordCount: 'number',
185
+ };
186
+ }
187
+
188
+ validate() {
189
+ if(Array.isArray(this.items)) {
190
+ $dara.Model.validateArray(this.items);
191
+ }
192
+ super.validate();
193
+ }
194
+
195
+ constructor(map?: { [key: string]: any }) {
196
+ super(map);
197
+ }
198
+ }
199
+
@@ -5,19 +5,13 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateDBNodesRequestDBNode extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The specifications of the new node. The specifications must be the same as those of the existing nodes in the cluster. For more information, see the following topics:
9
- *
10
- * - PolarDB for MySQL: [compute node specifications](https://help.aliyun.com/document_detail/102542.html).
11
- *
12
- * - PolarDB for PostgreSQL (Oracle Compatible): [compute node specifications](https://help.aliyun.com/document_detail/207921.html).
13
- *
14
- * - PolarDB for PostgreSQL: [compute node specifications](https://help.aliyun.com/document_detail/209380.html).
15
- *
16
- * > * You must specify either `DBNode.N.ZoneId` or `DBNode.N.TargetClass`. `N` is an integer that starts from 1. The maximum value of `N` is 16 minus the number of existing nodes.
17
- * >
18
- * > * For PolarDB for MySQL clusters, you can add multiple read-only nodes in a single request, up to a total of 15 read-only nodes.
19
- * >
20
- * > * This parameter is required for PolarDB for PostgreSQL (Oracle Compatible) and PolarDB for PostgreSQL clusters, but optional for PolarDB for MySQL clusters.
8
+ * The specification of the new node. The specification must be the same as that of the existing nodes. For more information, see the following topics:
9
+ * * PolarDB for MySQL: [Compute node specifications](https://help.aliyun.com/document_detail/102542.html).
10
+ * * PolarDB for PostgreSQL (Compatible with Oracle): [Compute node specifications](https://help.aliyun.com/document_detail/207921.html).
11
+ * * PolarDB for PostgreSQL: [Compute node specifications](https://help.aliyun.com/document_detail/209380.html).
12
+ * >* You must specify at least one of DBNode.N.ZoneId and DBNode.N.TargetClass. N is an integer that starts from 1. Maximum value of N = 16 - current number of nodes.
13
+ * >* Only PolarDB for MySQL clusters support adding multiple read-only nodes at a time. You can add up to 15 read-only nodes.
14
+ * >* This parameter is required for PolarDB for PostgreSQL (Compatible with Oracle) or PolarDB for PostgreSQL clusters. This parameter is optional for PolarDB for MySQL clusters.
21
15
  *
22
16
  * @example
23
17
  * polar.mysql.x4.medium
@@ -25,13 +19,11 @@ export class CreateDBNodesRequestDBNode extends $dara.Model {
25
19
  targetClass?: string;
26
20
  /**
27
21
  * @remarks
28
- * The ID of the zone for the new node. This zone must be the same as the zone of the existing nodes. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query zone IDs.
22
+ * The zone of the new node. The zone must be the same as that of the existing nodes. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query zone IDs.
29
23
  *
30
- * > - You must specify either `DBNode.N.ZoneId` or `DBNode.N.TargetClass`. `N` is an integer that starts from 1. The maximum value of `N` is 16 minus the number of existing nodes.
31
- * >
32
- * > - For PolarDB for MySQL clusters, you can add multiple read-only nodes in a single request, up to a total of 15 read-only nodes.
33
- * >
34
- * > - This parameter is required for PolarDB for PostgreSQL (Oracle Compatible) and PolarDB for PostgreSQL clusters, but optional for PolarDB for MySQL clusters.
24
+ * >* You must specify at least one of DBNode.N.ZoneId and DBNode.N.TargetClass. N is an integer that starts from 1. Maximum value of N = 16 - current number of nodes.
25
+ * >* Only PolarDB for MySQL clusters support adding multiple read-only nodes at a time. You can add up to 15 read-only nodes.
26
+ * >* This parameter is required for PolarDB for PostgreSQL (Compatible with Oracle) or PolarDB for PostgreSQL clusters. This parameter is optional for PolarDB for MySQL clusters.
35
27
  *
36
28
  * @example
37
29
  * cn-qingdao-c
@@ -63,16 +55,14 @@ export class CreateDBNodesRequestDBNode extends $dara.Model {
63
55
  export class CreateDBNodesRequest extends $dara.Model {
64
56
  /**
65
57
  * @remarks
66
- * Specifies whether to automatically use a coupon. Valid values:
67
- *
68
- * - true (Default): An available coupon is automatically used.
69
- *
70
- * - false: A coupon is not automatically used.
58
+ * Specifies whether to automatically use coupons. Valid values:
59
+ * * true (default): Use coupons.
60
+ * * false: Do not use coupons.
71
61
  */
72
62
  autoUseCoupon?: boolean;
73
63
  /**
74
64
  * @remarks
75
- * A unique, client-generated token to ensure the idempotence of the request. This token is case-sensitive and cannot exceed 64 ASCII characters.
65
+ * The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token is case-sensitive and can contain only ASCII characters. The token can be up to 64 characters in length.
76
66
  *
77
67
  * @example
78
68
  * 6000170000591aed949d0f54a343f1a4233c1e7d1c5c******
@@ -80,7 +70,7 @@ export class CreateDBNodesRequest extends $dara.Model {
80
70
  clientToken?: string;
81
71
  /**
82
72
  * @remarks
83
- * The cloud provider of the node.
73
+ * The cloud service provider to which the node belongs.
84
74
  *
85
75
  * @example
86
76
  * ENS
@@ -88,7 +78,7 @@ export class CreateDBNodesRequest extends $dara.Model {
88
78
  cloudProvider?: string;
89
79
  /**
90
80
  * @remarks
91
- * The ID of the cluster.
81
+ * The cluster ID.
92
82
  *
93
83
  * This parameter is required.
94
84
  *
@@ -98,7 +88,7 @@ export class CreateDBNodesRequest extends $dara.Model {
98
88
  DBClusterId?: string;
99
89
  /**
100
90
  * @remarks
101
- * Details of the nodes to add.
91
+ * The information about the new node.
102
92
  *
103
93
  * This parameter is required.
104
94
  */
@@ -106,12 +96,9 @@ export class CreateDBNodesRequest extends $dara.Model {
106
96
  /**
107
97
  * @remarks
108
98
  * The node type. Valid values:
109
- *
110
99
  * - RO
111
- *
112
100
  * - STANDBY
113
- *
114
- * - DLNode
101
+ * - DLNode.
115
102
  *
116
103
  * @example
117
104
  * RO
@@ -119,13 +106,10 @@ export class CreateDBNodesRequest extends $dara.Model {
119
106
  DBNodeType?: string;
120
107
  /**
121
108
  * @remarks
122
- * The ID of the cluster endpoint to which you want to add the new nodes. If you want to add the nodes to multiple cluster endpoints, separate the endpoint IDs with a comma (,).
123
- *
124
- * > - You can call the [DescribeDBClusterEndpoints](https://help.aliyun.com/document_detail/98205.html) operation to query the details of cluster endpoints, including their IDs.
125
- * >
126
- * > - You can specify the IDs of the default cluster endpoint and custom cluster endpoints.
127
- * >
128
- * > - If you leave this parameter empty, the new nodes are automatically added to all cluster endpoints where the **Auto Add New Nodes** feature is enabled (the `AutoAddNewNodes` parameter is set to `Enable`).
109
+ * The ID of the cluster endpoint to which you want to add the new node. If you want to add the node to multiple endpoints, separate the endpoint IDs with commas (,).
110
+ * > * You can call the [DescribeDBClusterEndpoints](https://help.aliyun.com/document_detail/98205.html) operation to query the details of cluster endpoints, including endpoint IDs.
111
+ * >* You can specify the IDs of the default cluster endpoint and custom cluster endpoints.
112
+ * >* If you leave this parameter empty, the new node is added to all cluster endpoints that have the **Automatically Associate New Nodes** feature enabled (the value of `AutoAddNewNodes` is `Enable`).
129
113
  *
130
114
  * @example
131
115
  * pe-****************,pe-****************
@@ -135,11 +119,11 @@ export class CreateDBNodesRequest extends $dara.Model {
135
119
  * @remarks
136
120
  * Specifies whether to enable In-Memory Column Index (IMCI). Valid values:
137
121
  *
138
- * - **ON**: The feature is enabled.
122
+ * - **ON**: enabled.
139
123
  *
140
- * - **OFF** (Default): The feature is disabled.
124
+ * - **OFF**: disabled. This is the default value.
141
125
  *
142
- * > This parameter is not supported for PolarDB for PostgreSQL (Oracle Compatible) and PolarDB for PostgreSQL clusters.
126
+ * > PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
143
127
  *
144
128
  * @example
145
129
  * ON
@@ -149,11 +133,9 @@ export class CreateDBNodesRequest extends $dara.Model {
149
133
  ownerId?: number;
150
134
  /**
151
135
  * @remarks
152
- * The latest time to start the scheduled task. The time is specified in the `YYYY-MM-DDThh:mm:ssZ` format and is in UTC.
153
- *
154
- * > - This time must be at least 30 minutes later than the value of `PlannedStartTime`.
155
- * >
156
- * > - If you specify `PlannedStartTime` but not this parameter, the latest start time defaults to 30 minutes after the `PlannedStartTime`. For example, if you set `PlannedStartTime` to `2021-01-14T09:00:00Z` and leave this parameter empty, the task starts no later than `2021-01-14T09:30:00Z`.
136
+ * The latest time to start running the scheduled task. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format (UTC).
137
+ * > * The latest time must be at least 30 minutes later than the start time.
138
+ * >* If you specify `PlannedStartTime` but leave this parameter empty, the latest time defaults to `start time + 30 minutes`. For example, if you set `PlannedStartTime` to `2021-01-14T09:00:00Z` and leave this parameter empty, the task starts no later than `2021-01-14T09:30:00Z`.
157
139
  *
158
140
  * @example
159
141
  * 2021-01-14T09:30:00Z
@@ -161,11 +143,9 @@ export class CreateDBNodesRequest extends $dara.Model {
161
143
  plannedEndTime?: string;
162
144
  /**
163
145
  * @remarks
164
- * The earliest time to start the scheduled task to add the nodes. The time must be in UTC and in the `YYYY-MM-DDThh:mm:ssZ` format.
165
- *
166
- * > - The start time must be within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can set this parameter to a value between `2021-01-14T09:00:00Z` and `2021-01-15T09:00:00Z`.
167
- * >
168
- * > - If you omit this parameter, the nodes are added immediately.
146
+ * The earliest time to start running the scheduled task for adding nodes. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format (UTC).
147
+ * > * The start time must be within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a start time within the range of `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`.
148
+ * >* If you leave this parameter empty, the task for adding nodes is immediately run.
169
149
  *
170
150
  * @example
171
151
  * 2021-01-14T09:00:00Z
@@ -173,7 +153,7 @@ export class CreateDBNodesRequest extends $dara.Model {
173
153
  plannedStartTime?: string;
174
154
  /**
175
155
  * @remarks
176
- * The promotion code. If you omit this parameter, an applicable coupon is used by default.
156
+ * The coupon code. If you do not specify this parameter, the default coupon is used.
177
157
  *
178
158
  * @example
179
159
  * 727xxxxxx934
@@ -181,7 +161,7 @@ export class CreateDBNodesRequest extends $dara.Model {
181
161
  promotionCode?: string;
182
162
  /**
183
163
  * @remarks
184
- * The ID of the resource group.
164
+ * The resource group ID.
185
165
  *
186
166
  * @example
187
167
  * rg-************
@@ -31,7 +31,7 @@ export class CreateDBNodesResponseBodyDBNodeIds extends $dara.Model {
31
31
  export class CreateDBNodesResponseBody extends $dara.Model {
32
32
  /**
33
33
  * @remarks
34
- * The database cluster ID.
34
+ * The cluster ID.
35
35
  *
36
36
  * @example
37
37
  * pc-***************