@alicloud/polardb20170801 7.10.0 → 7.11.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 (58) hide show
  1. package/dist/client.d.ts +113 -26
  2. package/dist/client.js +192 -26
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BindResourceControlRequest.d.ts +9 -9
  5. package/dist/models/CreateAidbclusterApiKeyRequest.d.ts +33 -0
  6. package/dist/models/CreateAidbclusterApiKeyRequest.js +60 -0
  7. package/dist/models/CreateAidbclusterApiKeyRequest.js.map +1 -0
  8. package/dist/models/CreateAidbclusterApiKeyResponse.d.ts +19 -0
  9. package/dist/models/CreateAidbclusterApiKeyResponse.js +69 -0
  10. package/dist/models/CreateAidbclusterApiKeyResponse.js.map +1 -0
  11. package/dist/models/CreateAidbclusterApiKeyResponseBody.d.ts +78 -0
  12. package/dist/models/CreateAidbclusterApiKeyResponseBody.js +90 -0
  13. package/dist/models/CreateAidbclusterApiKeyResponseBody.js.map +1 -0
  14. package/dist/models/CreateGwConsumerOrderRequest.d.ts +6 -6
  15. package/dist/models/CreateResourceControlRequest.d.ts +8 -8
  16. package/dist/models/DeleteAidbclusterApiKeyRequest.d.ts +34 -0
  17. package/dist/models/DeleteAidbclusterApiKeyRequest.js +60 -0
  18. package/dist/models/DeleteAidbclusterApiKeyRequest.js.map +1 -0
  19. package/dist/models/DeleteAidbclusterApiKeyResponse.d.ts +19 -0
  20. package/dist/models/DeleteAidbclusterApiKeyResponse.js +69 -0
  21. package/dist/models/DeleteAidbclusterApiKeyResponse.js.map +1 -0
  22. package/dist/models/DeleteAidbclusterApiKeyResponseBody.d.ts +29 -0
  23. package/dist/models/DeleteAidbclusterApiKeyResponseBody.js +60 -0
  24. package/dist/models/DeleteAidbclusterApiKeyResponseBody.js.map +1 -0
  25. package/dist/models/DeleteResourceControlRequest.d.ts +6 -5
  26. package/dist/models/DeleteResourceControlRequest.js.map +1 -1
  27. package/dist/models/DescribeAidbclusterApiKeysRequest.d.ts +23 -0
  28. package/dist/models/DescribeAidbclusterApiKeysRequest.js +58 -0
  29. package/dist/models/DescribeAidbclusterApiKeysRequest.js.map +1 -0
  30. package/dist/models/DescribeAidbclusterApiKeysResponse.d.ts +19 -0
  31. package/dist/models/DescribeAidbclusterApiKeysResponse.js +69 -0
  32. package/dist/models/DescribeAidbclusterApiKeysResponse.js.map +1 -0
  33. package/dist/models/DescribeAidbclusterApiKeysResponseBody.d.ts +78 -0
  34. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js +90 -0
  35. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js.map +1 -0
  36. package/dist/models/ModifyResourceControlRequest.d.ts +9 -9
  37. package/dist/models/UnbindResourceControlRequest.d.ts +11 -11
  38. package/dist/models/model.d.ts +11 -0
  39. package/dist/models/model.js +57 -35
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/client.ts +203 -26
  43. package/src/models/BindResourceControlRequest.ts +9 -9
  44. package/src/models/CreateAidbclusterApiKeyRequest.ts +48 -0
  45. package/src/models/CreateAidbclusterApiKeyResponse.ts +40 -0
  46. package/src/models/CreateAidbclusterApiKeyResponseBody.ts +114 -0
  47. package/src/models/CreateGwConsumerOrderRequest.ts +6 -6
  48. package/src/models/CreateResourceControlRequest.ts +8 -8
  49. package/src/models/DeleteAidbclusterApiKeyRequest.ts +49 -0
  50. package/src/models/DeleteAidbclusterApiKeyResponse.ts +40 -0
  51. package/src/models/DeleteAidbclusterApiKeyResponseBody.ts +44 -0
  52. package/src/models/DeleteResourceControlRequest.ts +6 -5
  53. package/src/models/DescribeAidbclusterApiKeysRequest.ts +36 -0
  54. package/src/models/DescribeAidbclusterApiKeysResponse.ts +40 -0
  55. package/src/models/DescribeAidbclusterApiKeysResponseBody.ts +114 -0
  56. package/src/models/ModifyResourceControlRequest.ts +9 -9
  57. package/src/models/UnbindResourceControlRequest.ts +11 -11
  58. package/src/models/model.ts +11 -0
@@ -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.DeleteAIDBClusterApiKeyResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteAidbclusterApiKeyResponseBody_1 = require("./DeleteAidbclusterApiKeyResponseBody");
40
+ class DeleteAIDBClusterApiKeyResponse 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: DeleteAidbclusterApiKeyResponseBody_1.DeleteAIDBClusterApiKeyResponseBody,
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.DeleteAIDBClusterApiKeyResponse = DeleteAIDBClusterApiKeyResponse;
69
+ //# sourceMappingURL=DeleteAidbclusterApiKeyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteAidbclusterApiKeyResponse.js","sourceRoot":"","sources":["../../src/models/DeleteAidbclusterApiKeyResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,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,yEAAmC;SAC1C,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,0EAiCC"}
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteAIDBClusterApiKeyResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The API key of the model service.
6
+ *
7
+ * @example
8
+ * xxx
9
+ */
10
+ apiKey?: string;
11
+ /**
12
+ * @remarks
13
+ * Id of the request
14
+ *
15
+ * @example
16
+ * 068F730C-9130-596E-B696-5B4388C840DF
17
+ */
18
+ requestId?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
@@ -0,0 +1,60 @@
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.DeleteAIDBClusterApiKeyResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteAIDBClusterApiKeyResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ apiKey: 'ApiKey',
43
+ requestId: 'RequestId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ apiKey: 'string',
49
+ requestId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DeleteAIDBClusterApiKeyResponseBody = DeleteAIDBClusterApiKeyResponseBody;
60
+ //# sourceMappingURL=DeleteAidbclusterApiKeyResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteAidbclusterApiKeyResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteAidbclusterApiKeyResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAiBlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,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;AAtCD,kFAsCC"}
@@ -2,17 +2,18 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class DeleteResourceControlRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The database cluster ID.
5
+ * The cluster ID of the PolarDB cluster.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
9
9
  * @example
10
- * pc-****************
10
+ * pc-**************
11
11
  */
12
12
  DBClusterId?: string;
13
13
  /**
14
14
  * @remarks
15
- * The region ID.
15
+ * The region ID of the PolarDB cluster.
16
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query available regions.
16
17
  *
17
18
  * @example
18
19
  * cn-beijing
@@ -20,12 +21,12 @@ export declare class DeleteResourceControlRequest extends $dara.Model {
20
21
  regionId?: string;
21
22
  /**
22
23
  * @remarks
23
- * The resource control name.
24
+ * The name of the resource control rule. The name must be 1 to 63 ASCII bytes in length, start with a letter, and can contain letters, digits, and underscores.
24
25
  *
25
26
  * This parameter is required.
26
27
  *
27
28
  * @example
28
- * test-rc
29
+ * test_rc
29
30
  */
30
31
  resourceControlName?: string;
31
32
  static names(): {
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteResourceControlRequest.js","sourceRoot":"","sources":["../../src/models/DeleteResourceControlRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA6B3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,mBAAmB,EAAE,qBAAqB;SAC3C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,mBAAmB,EAAE,QAAQ;SAC9B,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;AApDD,oEAoDC"}
1
+ {"version":3,"file":"DeleteResourceControlRequest.js","sourceRoot":"","sources":["../../src/models/DeleteResourceControlRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA8B3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,mBAAmB,EAAE,qBAAqB;SAC3C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,mBAAmB,EAAE,QAAQ;SAC9B,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;AArDD,oEAqDC"}
@@ -0,0 +1,23 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeAIDBClusterApiKeysRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The region ID.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * cn-beijing
11
+ */
12
+ regionId?: string;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
@@ -0,0 +1,58 @@
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.DescribeAIDBClusterApiKeysRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeAIDBClusterApiKeysRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ regionId: 'RegionId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ regionId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.DescribeAIDBClusterApiKeysRequest = DescribeAIDBClusterApiKeysRequest;
58
+ //# sourceMappingURL=DescribeAidbclusterApiKeysRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAidbclusterApiKeysRequest.js","sourceRoot":"","sources":["../../src/models/DescribeAidbclusterApiKeysRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAWhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;SACnB,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;AA9BD,8EA8BC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeAIDBClusterApiKeysResponseBody } from "./DescribeAidbclusterApiKeysResponseBody";
3
+ export declare class DescribeAIDBClusterApiKeysResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeAIDBClusterApiKeysResponseBody;
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.DescribeAIDBClusterApiKeysResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeAidbclusterApiKeysResponseBody_1 = require("./DescribeAidbclusterApiKeysResponseBody");
40
+ class DescribeAIDBClusterApiKeysResponse 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: DescribeAidbclusterApiKeysResponseBody_1.DescribeAIDBClusterApiKeysResponseBody,
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.DescribeAIDBClusterApiKeysResponse = DescribeAIDBClusterApiKeysResponse;
69
+ //# sourceMappingURL=DescribeAidbclusterApiKeysResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAidbclusterApiKeysResponse.js","sourceRoot":"","sources":["../../src/models/DescribeAidbclusterApiKeysResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qGAAkG;AAGlG,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAIjE,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,+EAAsC;SAC7C,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,gFAiCC"}
@@ -0,0 +1,78 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeAIDBClusterApiKeysResponseBodyApiKeys extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The API key of the model service.
6
+ *
7
+ * @example
8
+ * Scxxx-xxx-x-xxWW
9
+ */
10
+ apiKey?: string;
11
+ /**
12
+ * @remarks
13
+ * The creation time.
14
+ *
15
+ * @example
16
+ * 2026-04-09T03:19:19Z
17
+ */
18
+ createTime?: string;
19
+ /**
20
+ * @remarks
21
+ * The description of the API key.
22
+ *
23
+ * @example
24
+ * my api key
25
+ */
26
+ description?: string;
27
+ /**
28
+ * @remarks
29
+ * ApiKey ID
30
+ *
31
+ * @example
32
+ * 573
33
+ */
34
+ id?: string;
35
+ /**
36
+ * @remarks
37
+ * The status of the API key.
38
+ *
39
+ * @example
40
+ * active
41
+ */
42
+ status?: string;
43
+ static names(): {
44
+ [key: string]: string;
45
+ };
46
+ static types(): {
47
+ [key: string]: any;
48
+ };
49
+ validate(): void;
50
+ constructor(map?: {
51
+ [key: string]: any;
52
+ });
53
+ }
54
+ export declare class DescribeAIDBClusterApiKeysResponseBody extends $dara.Model {
55
+ /**
56
+ * @remarks
57
+ * API Keys。
58
+ */
59
+ apiKeys?: DescribeAIDBClusterApiKeysResponseBodyApiKeys[];
60
+ /**
61
+ * @remarks
62
+ * Id of the request
63
+ *
64
+ * @example
65
+ * 7F2007D3-7E74-4ECB-89A8-BF130D******
66
+ */
67
+ requestId?: string;
68
+ static names(): {
69
+ [key: string]: string;
70
+ };
71
+ static types(): {
72
+ [key: string]: any;
73
+ };
74
+ validate(): void;
75
+ constructor(map?: {
76
+ [key: string]: any;
77
+ });
78
+ }
@@ -0,0 +1,90 @@
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.DescribeAIDBClusterApiKeysResponseBody = exports.DescribeAIDBClusterApiKeysResponseBodyApiKeys = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeAIDBClusterApiKeysResponseBodyApiKeys extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ apiKey: 'ApiKey',
43
+ createTime: 'CreateTime',
44
+ description: 'Description',
45
+ id: 'Id',
46
+ status: 'Status',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ apiKey: 'string',
52
+ createTime: 'string',
53
+ description: 'string',
54
+ id: 'string',
55
+ status: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribeAIDBClusterApiKeysResponseBodyApiKeys = DescribeAIDBClusterApiKeysResponseBodyApiKeys;
66
+ class DescribeAIDBClusterApiKeysResponseBody extends $dara.Model {
67
+ static names() {
68
+ return {
69
+ apiKeys: 'ApiKeys',
70
+ requestId: 'RequestId',
71
+ };
72
+ }
73
+ static types() {
74
+ return {
75
+ apiKeys: { 'type': 'array', 'itemType': DescribeAIDBClusterApiKeysResponseBodyApiKeys },
76
+ requestId: 'string',
77
+ };
78
+ }
79
+ validate() {
80
+ if (Array.isArray(this.apiKeys)) {
81
+ $dara.Model.validateArray(this.apiKeys);
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.DescribeAIDBClusterApiKeysResponseBody = DescribeAIDBClusterApiKeysResponseBody;
90
+ //# sourceMappingURL=DescribeAidbclusterApiKeysResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeAidbclusterApiKeysResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeAidbclusterApiKeysResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAyC5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,EAAE,EAAE,IAAI;YACR,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,EAAE,EAAE,QAAQ;YACZ,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;AApED,sGAoEC;AAED,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAcrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6CAA6C,EAAE;YACvF,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,wFAsCC"}
@@ -2,33 +2,33 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ModifyResourceControlRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The total number of CPU cores.
5
+ * The modified maximum number of CPU cores. The minimum value is 1. The maximum value is determined by the cluster kernel parameter resource_control_cpu_count_limit. You must specify one and only one of this parameter and MaxCpu.
6
6
  *
7
7
  * @example
8
- * 4
8
+ * 8
9
9
  */
10
10
  cpuCount?: number;
11
11
  /**
12
12
  * @remarks
13
- * The cluster ID.
13
+ * The PolarDB cluster ID.
14
14
  *
15
15
  * This parameter is required.
16
16
  *
17
17
  * @example
18
- * pc-****************
18
+ * pc-**************
19
19
  */
20
20
  DBClusterId?: string;
21
21
  /**
22
22
  * @remarks
23
- * The maximum number of CPUs. Unit: 0.001 CPU. A value of 1000 indicates one CPU. If you specify this parameter, instances whose CPU count is less than the specified value are returned.
23
+ * The modified maximum CPU quota percentage. Valid values: 1 to 100. You must specify one and only one of this parameter and CpuCount.
24
24
  *
25
25
  * @example
26
- * 1000000
26
+ * 30
27
27
  */
28
28
  maxCpu?: number;
29
29
  /**
30
30
  * @remarks
31
- * The region ID.
31
+ * The region ID of the PolarDB cluster.
32
32
  * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query available regions.
33
33
  *
34
34
  * @example
@@ -37,12 +37,12 @@ export declare class ModifyResourceControlRequest extends $dara.Model {
37
37
  regionId?: string;
38
38
  /**
39
39
  * @remarks
40
- * The resource control name.
40
+ * The name of the resource control rule. The name must be 1 to 63 ASCII bytes in length, start with a letter, and can contain only letters, digits, and underscores.
41
41
  *
42
42
  * This parameter is required.
43
43
  *
44
44
  * @example
45
- * test-rc
45
+ * test_rc
46
46
  */
47
47
  resourceControlName?: string;
48
48
  static names(): {