@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
@@ -2,17 +2,17 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class BindResourceControlRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The cluster ID.
5
+ * The PolarDB cluster ID.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
9
9
  * @example
10
- * pm-xxxxxx
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
16
  *
17
17
  * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query available regions.
18
18
  *
@@ -22,32 +22,32 @@ export declare class BindResourceControlRequest extends $dara.Model {
22
22
  regionId?: string;
23
23
  /**
24
24
  * @remarks
25
- * The resource control name.
25
+ * 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.
26
26
  *
27
27
  * This parameter is required.
28
28
  *
29
29
  * @example
30
- * test-rc
30
+ * test_rc
31
31
  */
32
32
  resourceControlName?: string;
33
33
  /**
34
34
  * @remarks
35
- * The target instance type.
35
+ * The type of the binding target. Valid values: USER, DATABASE, QUERY, CONNECTION. The value is case-insensitive.
36
36
  *
37
37
  * This parameter is required.
38
38
  *
39
39
  * @example
40
- * 4
40
+ * USER
41
41
  */
42
42
  targetType?: string;
43
43
  /**
44
44
  * @remarks
45
- * 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.
45
+ * The value of the binding target. The format depends on the value of TargetType. For more information, see the table below.
46
46
  *
47
47
  * This parameter is required.
48
48
  *
49
49
  * @example
50
- * 646060ae9852280007a62545,68b696cb0a7fa600078d41af
50
+ * app_user
51
51
  */
52
52
  targetValue?: string;
53
53
  static names(): {
@@ -0,0 +1,33 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateAIDBClusterApiKeyRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The description.
6
+ *
7
+ * @example
8
+ * test
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @remarks
13
+ * The region ID.
14
+ * > * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query the regions of all clusters under the specified account.
15
+ * > * If you leave this parameter empty, scheduled tasks across all regions under the current account are queried.
16
+ *
17
+ * This parameter is required.
18
+ *
19
+ * @example
20
+ * cn-beijing
21
+ */
22
+ regionId?: string;
23
+ static names(): {
24
+ [key: string]: string;
25
+ };
26
+ static types(): {
27
+ [key: string]: any;
28
+ };
29
+ validate(): void;
30
+ constructor(map?: {
31
+ [key: string]: any;
32
+ });
33
+ }
@@ -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.CreateAIDBClusterApiKeyRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateAIDBClusterApiKeyRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ description: 'Description',
43
+ regionId: 'RegionId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ description: 'string',
49
+ regionId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.CreateAIDBClusterApiKeyRequest = CreateAIDBClusterApiKeyRequest;
60
+ //# sourceMappingURL=CreateAidbclusterApiKeyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAidbclusterApiKeyRequest.js","sourceRoot":"","sources":["../../src/models/CreateAidbclusterApiKeyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAqB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,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;AA1CD,wEA0CC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateAIDBClusterApiKeyResponseBody } from "./CreateAidbclusterApiKeyResponseBody";
3
+ export declare class CreateAIDBClusterApiKeyResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateAIDBClusterApiKeyResponseBody;
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.CreateAIDBClusterApiKeyResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateAidbclusterApiKeyResponseBody_1 = require("./CreateAidbclusterApiKeyResponseBody");
40
+ class CreateAIDBClusterApiKeyResponse 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: CreateAidbclusterApiKeyResponseBody_1.CreateAIDBClusterApiKeyResponseBody,
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.CreateAIDBClusterApiKeyResponse = CreateAIDBClusterApiKeyResponse;
69
+ //# sourceMappingURL=CreateAidbclusterApiKeyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAidbclusterApiKeyResponse.js","sourceRoot":"","sources":["../../src/models/CreateAidbclusterApiKeyResponse.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,78 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateAIDBClusterApiKeyResponseBodyApiKey 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
+ * The creation time.
14
+ *
15
+ * @example
16
+ * 2026-06-12T03:41:53Z
17
+ */
18
+ createTime?: string;
19
+ /**
20
+ * @remarks
21
+ * The description.
22
+ *
23
+ * @example
24
+ * test
25
+ */
26
+ description?: string;
27
+ /**
28
+ * @remarks
29
+ * id
30
+ *
31
+ * @example
32
+ * 393
33
+ */
34
+ id?: string;
35
+ /**
36
+ * @remarks
37
+ * The API key status.
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 CreateAIDBClusterApiKeyResponseBody extends $dara.Model {
55
+ /**
56
+ * @remarks
57
+ * The API key.
58
+ */
59
+ apiKey?: CreateAIDBClusterApiKeyResponseBodyApiKey;
60
+ /**
61
+ * @remarks
62
+ * Id of the request
63
+ *
64
+ * @example
65
+ * 2281C6C9-CBAB-1AFD-8400-670750CF6025_2212
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.CreateAIDBClusterApiKeyResponseBody = exports.CreateAIDBClusterApiKeyResponseBodyApiKey = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateAIDBClusterApiKeyResponseBodyApiKey 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.CreateAIDBClusterApiKeyResponseBodyApiKey = CreateAIDBClusterApiKeyResponseBodyApiKey;
66
+ class CreateAIDBClusterApiKeyResponseBody extends $dara.Model {
67
+ static names() {
68
+ return {
69
+ apiKey: 'ApiKey',
70
+ requestId: 'RequestId',
71
+ };
72
+ }
73
+ static types() {
74
+ return {
75
+ apiKey: CreateAIDBClusterApiKeyResponseBodyApiKey,
76
+ requestId: 'string',
77
+ };
78
+ }
79
+ validate() {
80
+ if (this.apiKey && typeof this.apiKey.validate === 'function') {
81
+ this.apiKey.validate();
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.CreateAIDBClusterApiKeyResponseBody = CreateAIDBClusterApiKeyResponseBody;
90
+ //# sourceMappingURL=CreateAidbclusterApiKeyResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAidbclusterApiKeyResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateAidbclusterApiKeyResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAyCxE,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,8FAoEC;AAED,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAclE,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,yCAAyC;YACjD,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,MAAM,IAAI,OAAQ,IAAI,CAAC,MAAc,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrE,IAAI,CAAC,MAAc,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,kFAsCC"}
@@ -2,15 +2,15 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateResourceControlRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The total number of CPU cores.
5
+ * The maximum number of CPU cores that the resource control rule can use. 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
- * 16
8
+ * 4
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
  *
@@ -20,15 +20,15 @@ export declare class CreateResourceControlRequest extends $dara.Model {
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 maximum CPU quota percentage that the resource control rule can use. 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
+ * 20
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 CreateResourceControlRequest 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(): {
@@ -0,0 +1,34 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteAIDBClusterApiKeyRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The API key of the model service.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * xxx
11
+ */
12
+ apiKey?: string;
13
+ /**
14
+ * @remarks
15
+ * The region ID.
16
+ * >You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query region IDs.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * cn-beijing
22
+ */
23
+ regionId?: string;
24
+ static names(): {
25
+ [key: string]: string;
26
+ };
27
+ static types(): {
28
+ [key: string]: any;
29
+ };
30
+ validate(): void;
31
+ constructor(map?: {
32
+ [key: string]: any;
33
+ });
34
+ }
@@ -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.DeleteAIDBClusterApiKeyRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteAIDBClusterApiKeyRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ apiKey: 'ApiKey',
43
+ regionId: 'RegionId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ apiKey: 'string',
49
+ regionId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DeleteAIDBClusterApiKeyRequest = DeleteAIDBClusterApiKeyRequest;
60
+ //# sourceMappingURL=DeleteAidbclusterApiKeyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteAidbclusterApiKeyRequest.js","sourceRoot":"","sources":["../../src/models/DeleteAidbclusterApiKeyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAsB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,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;AA3CD,wEA2CC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteAIDBClusterApiKeyResponseBody } from "./DeleteAidbclusterApiKeyResponseBody";
3
+ export declare class DeleteAIDBClusterApiKeyResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteAIDBClusterApiKeyResponseBody;
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.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"}