@alicloud/polardb20170801 7.10.0 → 7.11.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 (56) hide show
  1. package/dist/client.d.ts +113 -26
  2. package/dist/client.js +191 -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/CreateResourceControlRequest.d.ts +8 -8
  15. package/dist/models/DeleteAidbclusterApiKeyRequest.d.ts +34 -0
  16. package/dist/models/DeleteAidbclusterApiKeyRequest.js +60 -0
  17. package/dist/models/DeleteAidbclusterApiKeyRequest.js.map +1 -0
  18. package/dist/models/DeleteAidbclusterApiKeyResponse.d.ts +19 -0
  19. package/dist/models/DeleteAidbclusterApiKeyResponse.js +69 -0
  20. package/dist/models/DeleteAidbclusterApiKeyResponse.js.map +1 -0
  21. package/dist/models/DeleteAidbclusterApiKeyResponseBody.d.ts +29 -0
  22. package/dist/models/DeleteAidbclusterApiKeyResponseBody.js +60 -0
  23. package/dist/models/DeleteAidbclusterApiKeyResponseBody.js.map +1 -0
  24. package/dist/models/DeleteResourceControlRequest.d.ts +6 -5
  25. package/dist/models/DeleteResourceControlRequest.js.map +1 -1
  26. package/dist/models/DescribeAidbclusterApiKeysRequest.d.ts +23 -0
  27. package/dist/models/DescribeAidbclusterApiKeysRequest.js +58 -0
  28. package/dist/models/DescribeAidbclusterApiKeysRequest.js.map +1 -0
  29. package/dist/models/DescribeAidbclusterApiKeysResponse.d.ts +19 -0
  30. package/dist/models/DescribeAidbclusterApiKeysResponse.js +69 -0
  31. package/dist/models/DescribeAidbclusterApiKeysResponse.js.map +1 -0
  32. package/dist/models/DescribeAidbclusterApiKeysResponseBody.d.ts +78 -0
  33. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js +90 -0
  34. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js.map +1 -0
  35. package/dist/models/ModifyResourceControlRequest.d.ts +9 -9
  36. package/dist/models/UnbindResourceControlRequest.d.ts +11 -11
  37. package/dist/models/model.d.ts +11 -0
  38. package/dist/models/model.js +57 -35
  39. package/dist/models/model.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/client.ts +202 -26
  42. package/src/models/BindResourceControlRequest.ts +9 -9
  43. package/src/models/CreateAidbclusterApiKeyRequest.ts +48 -0
  44. package/src/models/CreateAidbclusterApiKeyResponse.ts +40 -0
  45. package/src/models/CreateAidbclusterApiKeyResponseBody.ts +114 -0
  46. package/src/models/CreateResourceControlRequest.ts +8 -8
  47. package/src/models/DeleteAidbclusterApiKeyRequest.ts +49 -0
  48. package/src/models/DeleteAidbclusterApiKeyResponse.ts +40 -0
  49. package/src/models/DeleteAidbclusterApiKeyResponseBody.ts +44 -0
  50. package/src/models/DeleteResourceControlRequest.ts +6 -5
  51. package/src/models/DescribeAidbclusterApiKeysRequest.ts +36 -0
  52. package/src/models/DescribeAidbclusterApiKeysResponse.ts +40 -0
  53. package/src/models/DescribeAidbclusterApiKeysResponseBody.ts +114 -0
  54. package/src/models/ModifyResourceControlRequest.ts +9 -9
  55. package/src/models/UnbindResourceControlRequest.ts +11 -11
  56. package/src/models/model.ts +11 -0
@@ -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(): {
@@ -2,51 +2,51 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UnbindResourceControlRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The instance ID.
5
+ * The PolarDB cluster ID.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
9
9
  * @example
10
- * pc-bp10gr51qasnl****
10
+ * pc-**************
11
11
  */
12
12
  DBClusterId?: string;
13
13
  /**
14
14
  * @remarks
15
- * The region ID.
16
- * >You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query 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 region IDs.
17
17
  *
18
18
  * @example
19
- * cn-hangzhou
19
+ * cn-beijing
20
20
  */
21
21
  regionId?: string;
22
22
  /**
23
23
  * @remarks
24
- * 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 only letters, digits, and underscores.
25
25
  *
26
26
  * This parameter is required.
27
27
  *
28
28
  * @example
29
- * test-rc
29
+ * test_rc
30
30
  */
31
31
  resourceControlName?: string;
32
32
  /**
33
33
  * @remarks
34
- * The target instance type.
34
+ * The type of the target to unbind. Valid values: USER, DATABASE, QUERY, CONNECTION. The value is case-insensitive.
35
35
  *
36
36
  * This parameter is required.
37
37
  *
38
38
  * @example
39
- * 4
39
+ * USER
40
40
  */
41
41
  targetType?: string;
42
42
  /**
43
43
  * @remarks
44
- * The target value. This parameter applies to target tracking rules and prediction rules. The value of TargetValue can contain up to three decimal places and must be greater than 0.
44
+ * The value of the target to unbind. The format is the same as the TargetValue for the corresponding target type in the BindResourceControl operation.
45
45
  *
46
46
  * This parameter is required.
47
47
  *
48
48
  * @example
49
- * 44abc95973e24ae9838713598f673535
49
+ * app_user
50
50
  */
51
51
  targetValue?: string;
52
52
  static names(): {
@@ -4,6 +4,7 @@ export { ApprovePolarClawDevicePairResponseBodyDevice } from './ApprovePolarClaw
4
4
  export { BindPolarClawAgentResponseBodyBinding } from './BindPolarClawAgentResponseBody';
5
5
  export { CheckPolarFsQuotaConsistencyResponseBodyQuotaItem } from './CheckPolarFsQuotaConsistencyResponseBody';
6
6
  export { CreateAIDBClusterRequestTimeSlices } from './CreateAidbclusterRequest';
7
+ export { CreateAIDBClusterApiKeyResponseBodyApiKey } from './CreateAidbclusterApiKeyResponseBody';
7
8
  export { CreateAINodesRequestDBNodes } from './CreateAinodesRequest';
8
9
  export { CreateApplicationRequestComponents } from './CreateApplicationRequest';
9
10
  export { CreateApplicationRequestEndpoints } from './CreateApplicationRequest';
@@ -35,6 +36,7 @@ export { CreatePolarClawCronJobResponseBodyJob } from './CreatePolarClawCronJobR
35
36
  export { DeleteGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup } from './DeleteGlobalSecurityIpgroupResponseBody';
36
37
  export { DeletePolarFsPathMappingRequestCustomBucketPathList } from './DeletePolarFsPathMappingRequest';
37
38
  export { DeletePolarFsQuotaRequestQuotas } from './DeletePolarFsQuotaRequest';
39
+ export { DescribeAIDBClusterApiKeysResponseBodyApiKeys } from './DescribeAidbclusterApiKeysResponseBody';
38
40
  export { DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes } from './DescribeAidbclusterAttributeResponseBody';
39
41
  export { DescribeAIDBClusterAttributeResponseBodyDBNodes } from './DescribeAidbclusterAttributeResponseBody';
40
42
  export { DescribeAIDBClusterAttributeResponseBodyEndpointListNetInfoItems } from './DescribeAidbclusterAttributeResponseBody';
@@ -489,6 +491,9 @@ export { ContinueDBClusterMigrationResponse } from './ContinueDbclusterMigration
489
491
  export { CreateAIDBClusterRequest } from './CreateAidbclusterRequest';
490
492
  export { CreateAIDBClusterResponseBody } from './CreateAidbclusterResponseBody';
491
493
  export { CreateAIDBClusterResponse } from './CreateAidbclusterResponse';
494
+ export { CreateAIDBClusterApiKeyRequest } from './CreateAidbclusterApiKeyRequest';
495
+ export { CreateAIDBClusterApiKeyResponseBody } from './CreateAidbclusterApiKeyResponseBody';
496
+ export { CreateAIDBClusterApiKeyResponse } from './CreateAidbclusterApiKeyResponse';
492
497
  export { CreateAIDBClusterDatasetRequest } from './CreateAidbclusterDatasetRequest';
493
498
  export { CreateAIDBClusterDatasetResponseBody } from './CreateAidbclusterDatasetResponseBody';
494
499
  export { CreateAIDBClusterDatasetResponse } from './CreateAidbclusterDatasetResponse';
@@ -643,6 +648,9 @@ export { CreateStoragePlanResponse } from './CreateStoragePlanResponse';
643
648
  export { DeleteAIDBClusterRequest } from './DeleteAidbclusterRequest';
644
649
  export { DeleteAIDBClusterResponseBody } from './DeleteAidbclusterResponseBody';
645
650
  export { DeleteAIDBClusterResponse } from './DeleteAidbclusterResponse';
651
+ export { DeleteAIDBClusterApiKeyRequest } from './DeleteAidbclusterApiKeyRequest';
652
+ export { DeleteAIDBClusterApiKeyResponseBody } from './DeleteAidbclusterApiKeyResponseBody';
653
+ export { DeleteAIDBClusterApiKeyResponse } from './DeleteAidbclusterApiKeyResponse';
646
654
  export { DeleteAIDBClusterDatasetRequest } from './DeleteAidbclusterDatasetRequest';
647
655
  export { DeleteAIDBClusterDatasetResponseBody } from './DeleteAidbclusterDatasetResponseBody';
648
656
  export { DeleteAIDBClusterDatasetResponse } from './DeleteAidbclusterDatasetResponse';
@@ -782,6 +790,9 @@ export { DeleteResourceControlResponse } from './DeleteResourceControlResponse';
782
790
  export { DeleteSQLRateLimitingRulesRequest } from './DeleteSqlrateLimitingRulesRequest';
783
791
  export { DeleteSQLRateLimitingRulesResponseBody } from './DeleteSqlrateLimitingRulesResponseBody';
784
792
  export { DeleteSQLRateLimitingRulesResponse } from './DeleteSqlrateLimitingRulesResponse';
793
+ export { DescribeAIDBClusterApiKeysRequest } from './DescribeAidbclusterApiKeysRequest';
794
+ export { DescribeAIDBClusterApiKeysResponseBody } from './DescribeAidbclusterApiKeysResponseBody';
795
+ export { DescribeAIDBClusterApiKeysResponse } from './DescribeAidbclusterApiKeysResponse';
785
796
  export { DescribeAIDBClusterAttributeRequest } from './DescribeAidbclusterAttributeRequest';
786
797
  export { DescribeAIDBClusterAttributeResponseBody } from './DescribeAidbclusterAttributeResponseBody';
787
798
  export { DescribeAIDBClusterAttributeResponse } from './DescribeAidbclusterAttributeResponse';