@alicloud/polardb20170801 9.5.0 → 9.6.1

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 (59) hide show
  1. package/dist/client.d.ts +39 -18
  2. package/dist/client.js +87 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateKnowledgeSpaceRequest.d.ts +24 -8
  5. package/dist/models/CreateKnowledgeSpaceRequest.js +4 -0
  6. package/dist/models/CreateKnowledgeSpaceRequest.js.map +1 -1
  7. package/dist/models/CreateKnowledgeSpaceResponseBody.d.ts +1 -1
  8. package/dist/models/DescribeAgenticDbperformanceRequest.d.ts +93 -0
  9. package/dist/models/DescribeAgenticDbperformanceRequest.js +70 -0
  10. package/dist/models/DescribeAgenticDbperformanceRequest.js.map +1 -0
  11. package/dist/models/DescribeAgenticDbperformanceResponse.d.ts +19 -0
  12. package/dist/models/DescribeAgenticDbperformanceResponse.js +69 -0
  13. package/dist/models/DescribeAgenticDbperformanceResponse.js.map +1 -0
  14. package/dist/models/DescribeAgenticDbperformanceResponseBody.d.ts +102 -0
  15. package/dist/models/DescribeAgenticDbperformanceResponseBody.js +162 -0
  16. package/dist/models/DescribeAgenticDbperformanceResponseBody.js.map +1 -0
  17. package/dist/models/DescribeDbinitializeVariableRequest.d.ts +1 -1
  18. package/dist/models/DescribeDbinitializeVariableResponseBody.d.ts +0 -2
  19. package/dist/models/DescribeDbinitializeVariableResponseBody.js.map +1 -1
  20. package/dist/models/DescribeDbnodesParametersRequest.d.ts +1 -1
  21. package/dist/models/DescribeDbnodesParametersResponseBody.d.ts +24 -24
  22. package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +1 -1
  23. package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +5 -5
  24. package/dist/models/FailoverDbclusterRequest.d.ts +8 -8
  25. package/dist/models/FailoverDbclusterResponseBody.d.ts +1 -1
  26. package/dist/models/FailoverDbclusterZonalRequest.d.ts +4 -4
  27. package/dist/models/FailoverDbclusterZonalResponseBody.d.ts +1 -1
  28. package/dist/models/ModifyApplicationSslrequest.d.ts +2 -2
  29. package/dist/models/ModifyApplicationSslresponseBody.d.ts +1 -1
  30. package/dist/models/ModifyDbnodeSccModeRequest.d.ts +1 -1
  31. package/dist/models/ModifyDbnodesParametersRequest.d.ts +5 -5
  32. package/dist/models/TempModifyDbnodeRequest.d.ts +12 -11
  33. package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
  34. package/dist/models/model.d.ts +7 -0
  35. package/dist/models/model.js +58 -44
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +98 -18
  39. package/src/models/CreateKnowledgeSpaceRequest.ts +28 -8
  40. package/src/models/CreateKnowledgeSpaceResponseBody.ts +1 -1
  41. package/src/models/DescribeAgenticDbperformanceRequest.ts +118 -0
  42. package/src/models/DescribeAgenticDbperformanceResponse.ts +40 -0
  43. package/src/models/DescribeAgenticDbperformanceResponseBody.ts +183 -0
  44. package/src/models/DescribeDbinitializeVariableRequest.ts +1 -1
  45. package/src/models/DescribeDbinitializeVariableResponseBody.ts +0 -2
  46. package/src/models/DescribeDbnodesParametersRequest.ts +1 -1
  47. package/src/models/DescribeDbnodesParametersResponseBody.ts +25 -25
  48. package/src/models/DescribePolarClawAgentToolsRequest.ts +1 -1
  49. package/src/models/DescribePolarClawAgentToolsResponseBody.ts +5 -5
  50. package/src/models/FailoverDbclusterRequest.ts +8 -8
  51. package/src/models/FailoverDbclusterResponseBody.ts +1 -1
  52. package/src/models/FailoverDbclusterZonalRequest.ts +4 -4
  53. package/src/models/FailoverDbclusterZonalResponseBody.ts +1 -1
  54. package/src/models/ModifyApplicationSslrequest.ts +2 -2
  55. package/src/models/ModifyApplicationSslresponseBody.ts +1 -1
  56. package/src/models/ModifyDbnodeSccModeRequest.ts +1 -1
  57. package/src/models/ModifyDbnodesParametersRequest.ts +5 -5
  58. package/src/models/TempModifyDbnodeRequest.ts +12 -11
  59. package/src/models/model.ts +7 -0
@@ -1,5 +1,13 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * Specifies whether to automatically activate MCP. The specifications are fixed to polar.app.g2.medium with 2 nodes and the pay-as-you-go billing method. If you set this parameter to true, you must also explicitly set EnforceAcl to true.
6
+ *
7
+ * @example
8
+ * false
9
+ */
10
+ autoCreateMcpInstance?: boolean;
3
11
  /**
4
12
  * @remarks
5
13
  * The type of the database engine.
@@ -16,6 +24,14 @@ export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
16
24
  * testDesc
17
25
  */
18
26
  description?: string;
27
+ /**
28
+ * @remarks
29
+ * Specifies whether to only validate the creation request without placing an order or creating resources.
30
+ *
31
+ * @example
32
+ * false
33
+ */
34
+ dryRun?: boolean;
19
35
  /**
20
36
  * @remarks
21
37
  * The vector dimensions.
@@ -38,7 +54,7 @@ export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
38
54
  embeddingModel?: string;
39
55
  /**
40
56
  * @remarks
41
- * Specifies whether to enforce access control list (ACL) authentication for the knowledge space.
57
+ * Specifies whether to enforce ACL authentication for the knowledge space.
42
58
  *
43
59
  * @example
44
60
  * false
@@ -104,7 +120,7 @@ export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
104
120
  regionId?: string;
105
121
  /**
106
122
  * @remarks
107
- * The name of the rerank model.
123
+ * The name of the reranking model.
108
124
  *
109
125
  * @example
110
126
  * qwen3-rerank
@@ -122,7 +138,7 @@ export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
122
138
  securityGroupId?: string;
123
139
  /**
124
140
  * @remarks
125
- * The shard size, in tokens.
141
+ * The shard size in tokens.
126
142
  *
127
143
  * This parameter is required.
128
144
  *
@@ -133,8 +149,8 @@ export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
133
149
  /**
134
150
  * @remarks
135
151
  * The sharding strategy. Valid values:
136
- * - hierarchical: hierarchical sharding. This is the default value.
137
- * - hybrid: hybrid sharding.
152
+ * - hierarchical: The default value.
153
+ * - hybrid.
138
154
  *
139
155
  * This parameter is required.
140
156
  *
@@ -144,7 +160,7 @@ export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
144
160
  shardingStrategy?: string;
145
161
  /**
146
162
  * @remarks
147
- * The vSwitch for automatic creation of the database.
163
+ * The ID of the vSwitch for the automatic creation of the database.
148
164
  *
149
165
  * This parameter is required.
150
166
  *
@@ -154,7 +170,7 @@ export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
154
170
  vSwitchId?: string;
155
171
  /**
156
172
  * @remarks
157
- * The VPC for automatic creation of the database.
173
+ * The ID of the VPC for the automatic creation of the database.
158
174
  *
159
175
  * This parameter is required.
160
176
  *
@@ -164,7 +180,7 @@ export declare class CreateKnowledgeSpaceRequest extends $dara.Model {
164
180
  vpcId?: string;
165
181
  /**
166
182
  * @remarks
167
- * The active zone for automatic creation of the database.
183
+ * The active zone for the automatic creation of the database.
168
184
  *
169
185
  * This parameter is required.
170
186
  *
@@ -39,8 +39,10 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class CreateKnowledgeSpaceRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ autoCreateMcpInstance: 'AutoCreateMcpInstance',
42
43
  DBType: 'DBType',
43
44
  description: 'Description',
45
+ dryRun: 'DryRun',
44
46
  embeddingDimension: 'EmbeddingDimension',
45
47
  embeddingModel: 'EmbeddingModel',
46
48
  enforceAcl: 'EnforceAcl',
@@ -61,8 +63,10 @@ class CreateKnowledgeSpaceRequest extends $dara.Model {
61
63
  }
62
64
  static types() {
63
65
  return {
66
+ autoCreateMcpInstance: 'boolean',
64
67
  DBType: 'string',
65
68
  description: 'string',
69
+ dryRun: 'boolean',
66
70
  embeddingDimension: 'number',
67
71
  embeddingModel: 'string',
68
72
  enforceAcl: 'boolean',
@@ -1 +1 @@
1
- {"version":3,"file":"CreateKnowledgeSpaceRequest.js","sourceRoot":"","sources":["../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EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;YACtB,gBAAgB,EAAE,QAAQ;YAC1B,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtPD,kEAsPC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateKnowledgeSpaceResponseBody extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The PolarDB instance ID for automatic creation.
5
+ * The ID of the PolarDB instance for automatic creation.
6
6
  *
7
7
  * @example
8
8
  * pc-**************
@@ -0,0 +1,93 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeAgenticDBPerformanceRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The statistical method for alerts. Valid values for different monitoring items:
6
+ *
7
+ * - Value: The value of the HTTP status code.
8
+ * - Average: The average HTTP wait time.
9
+ * - Value: The value of the TELNET status code.
10
+ * - TelnetLatency: The average TELNET wait time.
11
+ * - Average: The average PING packet loss rate.
12
+ *
13
+ * @example
14
+ * Average
15
+ */
16
+ aggregate?: boolean;
17
+ /**
18
+ * @remarks
19
+ * The anchor branch ID. If this parameter is not specified, the main branch of the project is used by default.
20
+ *
21
+ * @example
22
+ * br-7g8h9i0j1k2l
23
+ */
24
+ branchId?: string;
25
+ /**
26
+ * @remarks
27
+ * The cluster ID.
28
+ *
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * pc-**************
33
+ */
34
+ DBClusterId?: string;
35
+ /**
36
+ * @remarks
37
+ * The end time of the query. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
38
+ *
39
+ * This parameter is required.
40
+ *
41
+ * @example
42
+ * 2026-01-15T15:00:00Z
43
+ */
44
+ endTime?: string;
45
+ /**
46
+ * @remarks
47
+ * The data granularity of performance data. Valid values:
48
+ *
49
+ * - 5
50
+ * - 30
51
+ * - 60
52
+ * - 600
53
+ * - 1800
54
+ * - 3600
55
+ * - 86400
56
+ *
57
+ * @example
58
+ * 5
59
+ */
60
+ interval?: string;
61
+ /**
62
+ * @remarks
63
+ * The performance metrics to query. Separate multiple values with commas (,).
64
+ * Note
65
+ * You can specify up to 5 performance metrics.
66
+ *
67
+ * This parameter is required.
68
+ *
69
+ * @example
70
+ * PolarDBCPUForPCU,PolarDBPCU,PolarDBMemoryForPCU,PolarDBQPSTPS,PolarDBConnections
71
+ */
72
+ key?: string;
73
+ /**
74
+ * @remarks
75
+ * The start time of the query. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
76
+ *
77
+ * This parameter is required.
78
+ *
79
+ * @example
80
+ * 2020-05-01T00:00Z
81
+ */
82
+ startTime?: string;
83
+ static names(): {
84
+ [key: string]: string;
85
+ };
86
+ static types(): {
87
+ [key: string]: any;
88
+ };
89
+ validate(): void;
90
+ constructor(map?: {
91
+ [key: string]: any;
92
+ });
93
+ }
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeAgenticDBPerformanceRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeAgenticDBPerformanceRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ aggregate: 'Aggregate',
43
+ branchId: 'BranchId',
44
+ DBClusterId: 'DBClusterId',
45
+ endTime: 'EndTime',
46
+ interval: 'Interval',
47
+ key: 'Key',
48
+ startTime: 'StartTime',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ aggregate: 'boolean',
54
+ branchId: 'string',
55
+ DBClusterId: 'string',
56
+ endTime: 'string',
57
+ interval: 'string',
58
+ key: 'string',
59
+ startTime: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.DescribeAgenticDBPerformanceRequest = DescribeAgenticDBPerformanceRequest;
70
+ //# sourceMappingURL=DescribeAgenticDbperformanceRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAgenticDbperformanceRequest.js","sourceRoot":"","sources":["../../src/models/DescribeAgenticDbperformanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAiFlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,GAAG,EAAE,KAAK;YACV,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,SAAS;YACpB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,GAAG,EAAE,QAAQ;YACb,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhHD,kFAgHC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeAgenticDBPerformanceResponseBody } from "./DescribeAgenticDbperformanceResponseBody";
3
+ export declare class DescribeAgenticDBPerformanceResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeAgenticDBPerformanceResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeAgenticDBPerformanceResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeAgenticDbperformanceResponseBody_1 = require("./DescribeAgenticDbperformanceResponseBody");
40
+ class DescribeAgenticDBPerformanceResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribeAgenticDbperformanceResponseBody_1.DescribeAgenticDBPerformanceResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeAgenticDBPerformanceResponse = DescribeAgenticDBPerformanceResponse;
69
+ //# sourceMappingURL=DescribeAgenticDbperformanceResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAgenticDbperformanceResponse.js","sourceRoot":"","sources":["../../src/models/DescribeAgenticDbperformanceResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yGAAsG;AAGtG,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAInE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,mFAAwC;SAC/C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,oFAiCC"}
@@ -0,0 +1,102 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints extends $dara.Model {
3
+ timestamp?: number;
4
+ value?: string;
5
+ static names(): {
6
+ [key: string]: string;
7
+ };
8
+ static types(): {
9
+ [key: string]: any;
10
+ };
11
+ validate(): void;
12
+ constructor(map?: {
13
+ [key: string]: any;
14
+ });
15
+ }
16
+ export declare class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints extends $dara.Model {
17
+ points?: DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints[];
18
+ static names(): {
19
+ [key: string]: string;
20
+ };
21
+ static types(): {
22
+ [key: string]: any;
23
+ };
24
+ validate(): void;
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }
29
+ export declare class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys extends $dara.Model {
30
+ branchId?: string;
31
+ measurement?: string;
32
+ metricName?: string;
33
+ points?: DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints;
34
+ static names(): {
35
+ [key: string]: string;
36
+ };
37
+ static types(): {
38
+ [key: string]: any;
39
+ };
40
+ validate(): void;
41
+ constructor(map?: {
42
+ [key: string]: any;
43
+ });
44
+ }
45
+ export declare class DescribeAgenticDBPerformanceResponseBodyPerformanceKeys extends $dara.Model {
46
+ performanceKeys?: DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys[];
47
+ static names(): {
48
+ [key: string]: string;
49
+ };
50
+ static types(): {
51
+ [key: string]: any;
52
+ };
53
+ validate(): void;
54
+ constructor(map?: {
55
+ [key: string]: any;
56
+ });
57
+ }
58
+ export declare class DescribeAgenticDBPerformanceResponseBody extends $dara.Model {
59
+ /**
60
+ * @remarks
61
+ * The AgenticDB cluster ID.
62
+ *
63
+ * @example
64
+ * pc-**************
65
+ */
66
+ DBClusterId?: string;
67
+ /**
68
+ * @remarks
69
+ * The end time of the query. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
70
+ *
71
+ * @example
72
+ * 2020-09-23T01:01:00Z
73
+ */
74
+ endTime?: string;
75
+ performanceKeys?: DescribeAgenticDBPerformanceResponseBodyPerformanceKeys;
76
+ /**
77
+ * @remarks
78
+ * The request ID.
79
+ *
80
+ * @example
81
+ * 2F029645-FED9-4FE8-A6D3-488954******
82
+ */
83
+ requestId?: string;
84
+ /**
85
+ * @remarks
86
+ * The start time of the query. The time is in the `yyyy-MM-ddTHH:mm:ssZ` format and in UTC.
87
+ *
88
+ * @example
89
+ * 2020-09-23T01:00Z
90
+ */
91
+ startTime?: string;
92
+ static names(): {
93
+ [key: string]: string;
94
+ };
95
+ static types(): {
96
+ [key: string]: any;
97
+ };
98
+ validate(): void;
99
+ constructor(map?: {
100
+ [key: string]: any;
101
+ });
102
+ }
@@ -0,0 +1,162 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeAgenticDBPerformanceResponseBody = exports.DescribeAgenticDBPerformanceResponseBodyPerformanceKeys = exports.DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys = exports.DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints = exports.DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ timestamp: 'Timestamp',
43
+ value: 'Value',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ timestamp: 'number',
49
+ value: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints = DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints;
60
+ class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ points: 'points',
64
+ };
65
+ }
66
+ static types() {
67
+ return {
68
+ points: { 'type': 'array', 'itemType': DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints },
69
+ };
70
+ }
71
+ validate() {
72
+ if (Array.isArray(this.points)) {
73
+ $dara.Model.validateArray(this.points);
74
+ }
75
+ super.validate();
76
+ }
77
+ constructor(map) {
78
+ super(map);
79
+ }
80
+ }
81
+ exports.DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints = DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints;
82
+ class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys extends $dara.Model {
83
+ static names() {
84
+ return {
85
+ branchId: 'BranchId',
86
+ measurement: 'Measurement',
87
+ metricName: 'MetricName',
88
+ points: 'Points',
89
+ };
90
+ }
91
+ static types() {
92
+ return {
93
+ branchId: 'string',
94
+ measurement: 'string',
95
+ metricName: 'string',
96
+ points: DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints,
97
+ };
98
+ }
99
+ validate() {
100
+ if (this.points && typeof this.points.validate === 'function') {
101
+ this.points.validate();
102
+ }
103
+ super.validate();
104
+ }
105
+ constructor(map) {
106
+ super(map);
107
+ }
108
+ }
109
+ exports.DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys = DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys;
110
+ class DescribeAgenticDBPerformanceResponseBodyPerformanceKeys extends $dara.Model {
111
+ static names() {
112
+ return {
113
+ performanceKeys: 'performanceKeys',
114
+ };
115
+ }
116
+ static types() {
117
+ return {
118
+ performanceKeys: { 'type': 'array', 'itemType': DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys },
119
+ };
120
+ }
121
+ validate() {
122
+ if (Array.isArray(this.performanceKeys)) {
123
+ $dara.Model.validateArray(this.performanceKeys);
124
+ }
125
+ super.validate();
126
+ }
127
+ constructor(map) {
128
+ super(map);
129
+ }
130
+ }
131
+ exports.DescribeAgenticDBPerformanceResponseBodyPerformanceKeys = DescribeAgenticDBPerformanceResponseBodyPerformanceKeys;
132
+ class DescribeAgenticDBPerformanceResponseBody extends $dara.Model {
133
+ static names() {
134
+ return {
135
+ DBClusterId: 'DBClusterId',
136
+ endTime: 'EndTime',
137
+ performanceKeys: 'PerformanceKeys',
138
+ requestId: 'RequestId',
139
+ startTime: 'StartTime',
140
+ };
141
+ }
142
+ static types() {
143
+ return {
144
+ DBClusterId: 'string',
145
+ endTime: 'string',
146
+ performanceKeys: DescribeAgenticDBPerformanceResponseBodyPerformanceKeys,
147
+ requestId: 'string',
148
+ startTime: 'string',
149
+ };
150
+ }
151
+ validate() {
152
+ if (this.performanceKeys && typeof this.performanceKeys.validate === 'function') {
153
+ this.performanceKeys.validate();
154
+ }
155
+ super.validate();
156
+ }
157
+ constructor(map) {
158
+ super(map);
159
+ }
160
+ }
161
+ exports.DescribeAgenticDBPerformanceResponseBody = DescribeAgenticDBPerformanceResponseBody;
162
+ //# sourceMappingURL=DescribeAgenticDbperformanceResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAgenticDbperformanceResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeAgenticDbperformanceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kFAAmF,SAAQ,KAAK,CAAC,KAAK;IAGjH,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxBD,gLAwBC;AAED,MAAa,4EAA6E,SAAQ,KAAK,CAAC,KAAK;IAE3G,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,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escribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to view information about all clusters in the destination region, including cluster IDs.
7
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the information of all clusters in the destination region, including cluster IDs.
8
8
  *
9
9
  * This parameter is required.
10
10
  *