@alicloud/polardb20170801 7.3.0 → 7.4.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 +21 -6
  2. package/dist/client.js +69 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAccountRequest.d.ts +39 -53
  5. package/dist/models/CreateAccountRequest.js.map +1 -1
  6. package/dist/models/CreateDbclusterEndpointRequest.d.ts +67 -92
  7. package/dist/models/CreateDbclusterEndpointRequest.js.map +1 -1
  8. package/dist/models/DescribeAgenticDbcomputeClustersRequest.d.ts +13 -0
  9. package/dist/models/DescribeAgenticDbcomputeClustersRequest.js.map +1 -1
  10. package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.d.ts +64 -0
  11. package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.js.map +1 -1
  12. package/dist/models/DescribePolarFsRequest.d.ts +79 -0
  13. package/dist/models/DescribePolarFsRequest.js +98 -0
  14. package/dist/models/DescribePolarFsRequest.js.map +1 -0
  15. package/dist/models/DescribePolarFsResponse.d.ts +19 -0
  16. package/dist/models/DescribePolarFsResponse.js +69 -0
  17. package/dist/models/DescribePolarFsResponse.js.map +1 -0
  18. package/dist/models/DescribePolarFsResponseBody.d.ts +163 -0
  19. package/dist/models/DescribePolarFsResponseBody.js +280 -0
  20. package/dist/models/DescribePolarFsResponseBody.js.map +1 -0
  21. package/dist/models/VerifyAgenticDbtenantApiKeyRequest.d.ts +4 -0
  22. package/dist/models/VerifyAgenticDbtenantApiKeyRequest.js.map +1 -1
  23. package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.d.ts +25 -0
  24. package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.js.map +1 -1
  25. package/dist/models/model.d.ts +11 -0
  26. package/dist/models/model.js +51 -29
  27. package/dist/models/model.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client.ts +80 -6
  30. package/src/models/CreateAccountRequest.ts +39 -53
  31. package/src/models/CreateDbclusterEndpointRequest.ts +68 -93
  32. package/src/models/DescribeAgenticDbcomputeClustersRequest.ts +13 -0
  33. package/src/models/DescribeAgenticDbcomputeClustersResponseBody.ts +64 -0
  34. package/src/models/DescribePolarFsRequest.ts +123 -0
  35. package/src/models/DescribePolarFsResponse.ts +40 -0
  36. package/src/models/DescribePolarFsResponseBody.ts +335 -0
  37. package/src/models/VerifyAgenticDbtenantApiKeyRequest.ts +4 -0
  38. package/src/models/VerifyAgenticDbtenantApiKeyResponseBody.ts +25 -0
  39. package/src/models/model.ts +11 -0
@@ -0,0 +1,335 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePolarFsResponseBodyItemsPolarFsPathsMountInfo extends $dara.Model {
6
+ polarDbProxy?: string;
7
+ polarFsCluster?: string;
8
+ token?: string;
9
+ static names(): { [key: string]: string } {
10
+ return {
11
+ polarDbProxy: 'PolarDbProxy',
12
+ polarFsCluster: 'PolarFsCluster',
13
+ token: 'Token',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ polarDbProxy: 'string',
20
+ polarFsCluster: 'string',
21
+ token: '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 DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClustersMountedAIDBClusters extends $dara.Model {
35
+ DBClusterId?: string;
36
+ mountDir?: string;
37
+ mountStatus?: string;
38
+ mountedTime?: string;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ DBClusterId: 'DBClusterId',
42
+ mountDir: 'MountDir',
43
+ mountStatus: 'MountStatus',
44
+ mountedTime: 'MountedTime',
45
+ };
46
+ }
47
+
48
+ static types(): { [key: string]: any } {
49
+ return {
50
+ DBClusterId: 'string',
51
+ mountDir: 'string',
52
+ mountStatus: 'string',
53
+ mountedTime: 'string',
54
+ };
55
+ }
56
+
57
+ validate() {
58
+ super.validate();
59
+ }
60
+
61
+ constructor(map?: { [key: string]: any }) {
62
+ super(map);
63
+ }
64
+ }
65
+
66
+ export class DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClusters extends $dara.Model {
67
+ mountedAIDBClusters?: DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClustersMountedAIDBClusters[];
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ mountedAIDBClusters: 'MountedAIDBClusters',
71
+ };
72
+ }
73
+
74
+ static types(): { [key: string]: any } {
75
+ return {
76
+ mountedAIDBClusters: { 'type': 'array', 'itemType': DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClustersMountedAIDBClusters },
77
+ };
78
+ }
79
+
80
+ validate() {
81
+ if(Array.isArray(this.mountedAIDBClusters)) {
82
+ $dara.Model.validateArray(this.mountedAIDBClusters);
83
+ }
84
+ super.validate();
85
+ }
86
+
87
+ constructor(map?: { [key: string]: any }) {
88
+ super(map);
89
+ }
90
+ }
91
+
92
+ export class DescribePolarFsResponseBodyItemsPolarFsPathsTagsTag extends $dara.Model {
93
+ /**
94
+ * @example
95
+ * testKey
96
+ */
97
+ key?: string;
98
+ /**
99
+ * @example
100
+ * testValue
101
+ */
102
+ value?: string;
103
+ static names(): { [key: string]: string } {
104
+ return {
105
+ key: 'Key',
106
+ value: 'Value',
107
+ };
108
+ }
109
+
110
+ static types(): { [key: string]: any } {
111
+ return {
112
+ key: 'string',
113
+ value: 'string',
114
+ };
115
+ }
116
+
117
+ validate() {
118
+ super.validate();
119
+ }
120
+
121
+ constructor(map?: { [key: string]: any }) {
122
+ super(map);
123
+ }
124
+ }
125
+
126
+ export class DescribePolarFsResponseBodyItemsPolarFsPathsTags extends $dara.Model {
127
+ tag?: DescribePolarFsResponseBodyItemsPolarFsPathsTagsTag[];
128
+ static names(): { [key: string]: string } {
129
+ return {
130
+ tag: 'Tag',
131
+ };
132
+ }
133
+
134
+ static types(): { [key: string]: any } {
135
+ return {
136
+ tag: { 'type': 'array', 'itemType': DescribePolarFsResponseBodyItemsPolarFsPathsTagsTag },
137
+ };
138
+ }
139
+
140
+ validate() {
141
+ if(Array.isArray(this.tag)) {
142
+ $dara.Model.validateArray(this.tag);
143
+ }
144
+ super.validate();
145
+ }
146
+
147
+ constructor(map?: { [key: string]: any }) {
148
+ super(map);
149
+ }
150
+ }
151
+
152
+ export class DescribePolarFsResponseBodyItemsPolarFsPaths extends $dara.Model {
153
+ accelerateType?: string;
154
+ acceleratedStorageSpace?: string;
155
+ acceleratingEnable?: string;
156
+ bandwidth?: number;
157
+ category?: string;
158
+ createTime?: string;
159
+ expireTime?: string;
160
+ expired?: string;
161
+ mountInfo?: DescribePolarFsResponseBodyItemsPolarFsPathsMountInfo;
162
+ mountedAIDBClusters?: DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClusters;
163
+ payType?: string;
164
+ polarFsInstanceDescription?: string;
165
+ polarFsInstanceId?: string;
166
+ polarFsPath?: string;
167
+ polarFsStatus?: string;
168
+ polarFsType?: string;
169
+ regionId?: string;
170
+ relativeDbClusterId?: string;
171
+ securityGroupId?: string;
172
+ storageSpace?: number;
173
+ storageType?: string;
174
+ tags?: DescribePolarFsResponseBodyItemsPolarFsPathsTags;
175
+ VPCId?: string;
176
+ vSwitchId?: string;
177
+ zoneId?: string;
178
+ static names(): { [key: string]: string } {
179
+ return {
180
+ accelerateType: 'AccelerateType',
181
+ acceleratedStorageSpace: 'AcceleratedStorageSpace',
182
+ acceleratingEnable: 'AcceleratingEnable',
183
+ bandwidth: 'Bandwidth',
184
+ category: 'Category',
185
+ createTime: 'CreateTime',
186
+ expireTime: 'ExpireTime',
187
+ expired: 'Expired',
188
+ mountInfo: 'MountInfo',
189
+ mountedAIDBClusters: 'MountedAIDBClusters',
190
+ payType: 'PayType',
191
+ polarFsInstanceDescription: 'PolarFsInstanceDescription',
192
+ polarFsInstanceId: 'PolarFsInstanceId',
193
+ polarFsPath: 'PolarFsPath',
194
+ polarFsStatus: 'PolarFsStatus',
195
+ polarFsType: 'PolarFsType',
196
+ regionId: 'RegionId',
197
+ relativeDbClusterId: 'RelativeDbClusterId',
198
+ securityGroupId: 'SecurityGroupId',
199
+ storageSpace: 'StorageSpace',
200
+ storageType: 'StorageType',
201
+ tags: 'Tags',
202
+ VPCId: 'VPCId',
203
+ vSwitchId: 'VSwitchId',
204
+ zoneId: 'ZoneId',
205
+ };
206
+ }
207
+
208
+ static types(): { [key: string]: any } {
209
+ return {
210
+ accelerateType: 'string',
211
+ acceleratedStorageSpace: 'string',
212
+ acceleratingEnable: 'string',
213
+ bandwidth: 'number',
214
+ category: 'string',
215
+ createTime: 'string',
216
+ expireTime: 'string',
217
+ expired: 'string',
218
+ mountInfo: DescribePolarFsResponseBodyItemsPolarFsPathsMountInfo,
219
+ mountedAIDBClusters: DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClusters,
220
+ payType: 'string',
221
+ polarFsInstanceDescription: 'string',
222
+ polarFsInstanceId: 'string',
223
+ polarFsPath: 'string',
224
+ polarFsStatus: 'string',
225
+ polarFsType: 'string',
226
+ regionId: 'string',
227
+ relativeDbClusterId: 'string',
228
+ securityGroupId: 'string',
229
+ storageSpace: 'number',
230
+ storageType: 'string',
231
+ tags: DescribePolarFsResponseBodyItemsPolarFsPathsTags,
232
+ VPCId: 'string',
233
+ vSwitchId: 'string',
234
+ zoneId: 'string',
235
+ };
236
+ }
237
+
238
+ validate() {
239
+ if(this.mountInfo && typeof (this.mountInfo as any).validate === 'function') {
240
+ (this.mountInfo as any).validate();
241
+ }
242
+ if(this.mountedAIDBClusters && typeof (this.mountedAIDBClusters as any).validate === 'function') {
243
+ (this.mountedAIDBClusters as any).validate();
244
+ }
245
+ if(this.tags && typeof (this.tags as any).validate === 'function') {
246
+ (this.tags as any).validate();
247
+ }
248
+ super.validate();
249
+ }
250
+
251
+ constructor(map?: { [key: string]: any }) {
252
+ super(map);
253
+ }
254
+ }
255
+
256
+ export class DescribePolarFsResponseBodyItems extends $dara.Model {
257
+ polarFsPaths?: DescribePolarFsResponseBodyItemsPolarFsPaths[];
258
+ static names(): { [key: string]: string } {
259
+ return {
260
+ polarFsPaths: 'PolarFsPaths',
261
+ };
262
+ }
263
+
264
+ static types(): { [key: string]: any } {
265
+ return {
266
+ polarFsPaths: { 'type': 'array', 'itemType': DescribePolarFsResponseBodyItemsPolarFsPaths },
267
+ };
268
+ }
269
+
270
+ validate() {
271
+ if(Array.isArray(this.polarFsPaths)) {
272
+ $dara.Model.validateArray(this.polarFsPaths);
273
+ }
274
+ super.validate();
275
+ }
276
+
277
+ constructor(map?: { [key: string]: any }) {
278
+ super(map);
279
+ }
280
+ }
281
+
282
+ export class DescribePolarFsResponseBody extends $dara.Model {
283
+ items?: DescribePolarFsResponseBodyItems;
284
+ /**
285
+ * @example
286
+ * 1
287
+ */
288
+ pageNumber?: number;
289
+ /**
290
+ * @example
291
+ * 13
292
+ */
293
+ pageRecordCount?: number;
294
+ /**
295
+ * @example
296
+ * 8CD1852F-8176-55E4-891C-4478DC00CC7A
297
+ */
298
+ requestId?: string;
299
+ /**
300
+ * @example
301
+ * 16
302
+ */
303
+ totalRecordCount?: number;
304
+ static names(): { [key: string]: string } {
305
+ return {
306
+ items: 'Items',
307
+ pageNumber: 'PageNumber',
308
+ pageRecordCount: 'PageRecordCount',
309
+ requestId: 'RequestId',
310
+ totalRecordCount: 'TotalRecordCount',
311
+ };
312
+ }
313
+
314
+ static types(): { [key: string]: any } {
315
+ return {
316
+ items: DescribePolarFsResponseBodyItems,
317
+ pageNumber: 'number',
318
+ pageRecordCount: 'number',
319
+ requestId: 'string',
320
+ totalRecordCount: 'number',
321
+ };
322
+ }
323
+
324
+ validate() {
325
+ if(this.items && typeof (this.items as any).validate === 'function') {
326
+ (this.items as any).validate();
327
+ }
328
+ super.validate();
329
+ }
330
+
331
+ constructor(map?: { [key: string]: any }) {
332
+ super(map);
333
+ }
334
+ }
335
+
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class VerifyAgenticDBTenantApiKeyRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The plaintext API key to validate.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class VerifyAgenticDBTenantApiKeyRequest extends $dara.Model {
13
15
  apiKey?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The region ID.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -4,20 +4,33 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class VerifyAgenticDBTenantApiKeyResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The key ID. This parameter is empty if the API key is invalid.
9
+ *
7
10
  * @example
8
11
  * ak-71304e39c7e841a1
9
12
  */
10
13
  apiKeyId?: string;
11
14
  /**
15
+ * @remarks
16
+ * The ID of the associated AgenticDB cluster.
17
+ *
12
18
  * @example
13
19
  * pagc-bp1abcdef1234567
14
20
  */
15
21
  DBClusterId?: string;
16
22
  /**
23
+ * @remarks
24
+ * The expiration time of the API key. This parameter is empty if the API key is permanently valid.
25
+ *
17
26
  * @example
18
27
  * 2027-01-01T00:00:00Z
19
28
  */
20
29
  expireTime?: string;
30
+ /**
31
+ * @remarks
32
+ * The reason why the validation failed. Valid values: NotFound, Expired, and Revoked. This parameter is empty if the API key is valid.
33
+ */
21
34
  reason?: string;
22
35
  /**
23
36
  * @example
@@ -25,21 +38,33 @@ export class VerifyAgenticDBTenantApiKeyResponseBody extends $dara.Model {
25
38
  */
26
39
  regionId?: string;
27
40
  /**
41
+ * @remarks
42
+ * The request ID.
43
+ *
28
44
  * @example
29
45
  * D4E5F6A7-B8C9-0123-DEFA-234567890123
30
46
  */
31
47
  requestId?: string;
32
48
  /**
49
+ * @remarks
50
+ * The ID of the tenant to which the API key belongs. This parameter is empty if the API key is invalid.
51
+ *
33
52
  * @example
34
53
  * t-4b83e0da66674951
35
54
  */
36
55
  tenantId?: string;
37
56
  /**
57
+ * @remarks
58
+ * The name of the tenant to which the API key belongs. This parameter is empty if the API key is invalid.
59
+ *
38
60
  * @example
39
61
  * my-saas-app
40
62
  */
41
63
  tenantName?: string;
42
64
  /**
65
+ * @remarks
66
+ * Indicates whether the API key is valid.
67
+ *
43
68
  * @example
44
69
  * true
45
70
  */
@@ -293,6 +293,14 @@ export { DescribePolarClawSkillDetailResponseBodySkillStats } from './DescribePo
293
293
  export { DescribePolarClawSkillDetailResponseBodySkill } from './DescribePolarClawSkillDetailResponseBody';
294
294
  export { DescribePolarClawTaskResponseBodyTaskError } from './DescribePolarClawTaskResponseBody';
295
295
  export { DescribePolarClawTaskResponseBodyTask } from './DescribePolarClawTaskResponseBody';
296
+ export { DescribePolarFsRequestTag } from './DescribePolarFsRequest';
297
+ export { DescribePolarFsResponseBodyItemsPolarFsPathsMountInfo } from './DescribePolarFsResponseBody';
298
+ export { DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClustersMountedAIDBClusters } from './DescribePolarFsResponseBody';
299
+ export { DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClusters } from './DescribePolarFsResponseBody';
300
+ export { DescribePolarFsResponseBodyItemsPolarFsPathsTagsTag } from './DescribePolarFsResponseBody';
301
+ export { DescribePolarFsResponseBodyItemsPolarFsPathsTags } from './DescribePolarFsResponseBody';
302
+ export { DescribePolarFsResponseBodyItemsPolarFsPaths } from './DescribePolarFsResponseBody';
303
+ export { DescribePolarFsResponseBodyItems } from './DescribePolarFsResponseBody';
296
304
  export { DescribePolarFsAttributeResponseBodyCustomBucketPathList } from './DescribePolarFsAttributeResponseBody';
297
305
  export { DescribePolarFsAttributeResponseBodyMountInfo } from './DescribePolarFsAttributeResponseBody';
298
306
  export { DescribePolarFsObjectsResponseBodyItems } from './DescribePolarFsObjectsResponseBody';
@@ -1135,6 +1143,9 @@ export { DescribePolarClawSkillDetailResponse } from './DescribePolarClawSkillDe
1135
1143
  export { DescribePolarClawTaskRequest } from './DescribePolarClawTaskRequest';
1136
1144
  export { DescribePolarClawTaskResponseBody } from './DescribePolarClawTaskResponseBody';
1137
1145
  export { DescribePolarClawTaskResponse } from './DescribePolarClawTaskResponse';
1146
+ export { DescribePolarFsRequest } from './DescribePolarFsRequest';
1147
+ export { DescribePolarFsResponseBody } from './DescribePolarFsResponseBody';
1148
+ export { DescribePolarFsResponse } from './DescribePolarFsResponse';
1138
1149
  export { DescribePolarFsAttributeRequest } from './DescribePolarFsAttributeRequest';
1139
1150
  export { DescribePolarFsAttributeResponseBody } from './DescribePolarFsAttributeResponseBody';
1140
1151
  export { DescribePolarFsAttributeResponse } from './DescribePolarFsAttributeResponse';