@alicloud/polardb20170801 7.9.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 (145) hide show
  1. package/dist/client.d.ts +243 -0
  2. package/dist/client.js +590 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BindResourceControlRequest.d.ts +63 -0
  5. package/dist/models/BindResourceControlRequest.js +66 -0
  6. package/dist/models/BindResourceControlRequest.js.map +1 -0
  7. package/dist/models/BindResourceControlResponse.d.ts +19 -0
  8. package/dist/models/BindResourceControlResponse.js +69 -0
  9. package/dist/models/BindResourceControlResponse.js.map +1 -0
  10. package/dist/models/BindResourceControlResponseBody.d.ts +21 -0
  11. package/dist/models/BindResourceControlResponseBody.js +58 -0
  12. package/dist/models/BindResourceControlResponseBody.js.map +1 -0
  13. package/dist/models/CreateAidbclusterApiKeyRequest.d.ts +33 -0
  14. package/dist/models/CreateAidbclusterApiKeyRequest.js +60 -0
  15. package/dist/models/CreateAidbclusterApiKeyRequest.js.map +1 -0
  16. package/dist/models/CreateAidbclusterApiKeyResponse.d.ts +19 -0
  17. package/dist/models/CreateAidbclusterApiKeyResponse.js +69 -0
  18. package/dist/models/CreateAidbclusterApiKeyResponse.js.map +1 -0
  19. package/dist/models/CreateAidbclusterApiKeyResponseBody.d.ts +78 -0
  20. package/dist/models/CreateAidbclusterApiKeyResponseBody.js +90 -0
  21. package/dist/models/CreateAidbclusterApiKeyResponseBody.js.map +1 -0
  22. package/dist/models/CreateResourceControlRequest.d.ts +58 -0
  23. package/dist/models/CreateResourceControlRequest.js +66 -0
  24. package/dist/models/CreateResourceControlRequest.js.map +1 -0
  25. package/dist/models/CreateResourceControlResponse.d.ts +19 -0
  26. package/dist/models/CreateResourceControlResponse.js +69 -0
  27. package/dist/models/CreateResourceControlResponse.js.map +1 -0
  28. package/dist/models/CreateResourceControlResponseBody.d.ts +21 -0
  29. package/dist/models/CreateResourceControlResponseBody.js +58 -0
  30. package/dist/models/CreateResourceControlResponseBody.js.map +1 -0
  31. package/dist/models/DeleteAidbclusterApiKeyRequest.d.ts +34 -0
  32. package/dist/models/DeleteAidbclusterApiKeyRequest.js +60 -0
  33. package/dist/models/DeleteAidbclusterApiKeyRequest.js.map +1 -0
  34. package/dist/models/DeleteAidbclusterApiKeyResponse.d.ts +19 -0
  35. package/dist/models/DeleteAidbclusterApiKeyResponse.js +69 -0
  36. package/dist/models/DeleteAidbclusterApiKeyResponse.js.map +1 -0
  37. package/dist/models/DeleteAidbclusterApiKeyResponseBody.d.ts +29 -0
  38. package/dist/models/DeleteAidbclusterApiKeyResponseBody.js +60 -0
  39. package/dist/models/DeleteAidbclusterApiKeyResponseBody.js.map +1 -0
  40. package/dist/models/DeleteResourceControlRequest.d.ts +42 -0
  41. package/dist/models/DeleteResourceControlRequest.js +62 -0
  42. package/dist/models/DeleteResourceControlRequest.js.map +1 -0
  43. package/dist/models/DeleteResourceControlResponse.d.ts +19 -0
  44. package/dist/models/DeleteResourceControlResponse.js +69 -0
  45. package/dist/models/DeleteResourceControlResponse.js.map +1 -0
  46. package/dist/models/DeleteResourceControlResponseBody.d.ts +21 -0
  47. package/dist/models/DeleteResourceControlResponseBody.js +58 -0
  48. package/dist/models/DeleteResourceControlResponseBody.js.map +1 -0
  49. package/dist/models/DescribeAidbclusterApiKeysRequest.d.ts +23 -0
  50. package/dist/models/DescribeAidbclusterApiKeysRequest.js +58 -0
  51. package/dist/models/DescribeAidbclusterApiKeysRequest.js.map +1 -0
  52. package/dist/models/DescribeAidbclusterApiKeysResponse.d.ts +19 -0
  53. package/dist/models/DescribeAidbclusterApiKeysResponse.js +69 -0
  54. package/dist/models/DescribeAidbclusterApiKeysResponse.js.map +1 -0
  55. package/dist/models/DescribeAidbclusterApiKeysResponseBody.d.ts +78 -0
  56. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js +90 -0
  57. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js.map +1 -0
  58. package/dist/models/DescribeApplicationUsageRequest.d.ts +31 -0
  59. package/dist/models/DescribeApplicationUsageRequest.js +60 -0
  60. package/dist/models/DescribeApplicationUsageRequest.js.map +1 -0
  61. package/dist/models/DescribeApplicationUsageResponse.d.ts +19 -0
  62. package/dist/models/DescribeApplicationUsageResponse.js +69 -0
  63. package/dist/models/DescribeApplicationUsageResponse.js.map +1 -0
  64. package/dist/models/DescribeApplicationUsageResponseBody.d.ts +354 -0
  65. package/dist/models/DescribeApplicationUsageResponseBody.js +230 -0
  66. package/dist/models/DescribeApplicationUsageResponseBody.js.map +1 -0
  67. package/dist/models/ModifyApplicationEndpointAddressRequest.d.ts +95 -0
  68. package/dist/models/ModifyApplicationEndpointAddressRequest.js +92 -0
  69. package/dist/models/ModifyApplicationEndpointAddressRequest.js.map +1 -0
  70. package/dist/models/ModifyApplicationEndpointAddressResponse.d.ts +19 -0
  71. package/dist/models/ModifyApplicationEndpointAddressResponse.js +69 -0
  72. package/dist/models/ModifyApplicationEndpointAddressResponse.js.map +1 -0
  73. package/dist/models/ModifyApplicationEndpointAddressResponseBody.d.ts +37 -0
  74. package/dist/models/ModifyApplicationEndpointAddressResponseBody.js +62 -0
  75. package/dist/models/ModifyApplicationEndpointAddressResponseBody.js.map +1 -0
  76. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.d.ts +59 -0
  77. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.js +66 -0
  78. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.js.map +1 -0
  79. package/dist/models/ModifyResourceControlRequest.d.ts +58 -0
  80. package/dist/models/ModifyResourceControlRequest.js +66 -0
  81. package/dist/models/ModifyResourceControlRequest.js.map +1 -0
  82. package/dist/models/ModifyResourceControlResponse.d.ts +19 -0
  83. package/dist/models/ModifyResourceControlResponse.js +69 -0
  84. package/dist/models/ModifyResourceControlResponse.js.map +1 -0
  85. package/dist/models/ModifyResourceControlResponseBody.d.ts +21 -0
  86. package/dist/models/ModifyResourceControlResponseBody.js +58 -0
  87. package/dist/models/ModifyResourceControlResponseBody.js.map +1 -0
  88. package/dist/models/UnbindResourceControlRequest.d.ts +62 -0
  89. package/dist/models/UnbindResourceControlRequest.js +66 -0
  90. package/dist/models/UnbindResourceControlRequest.js.map +1 -0
  91. package/dist/models/UnbindResourceControlResponse.d.ts +19 -0
  92. package/dist/models/UnbindResourceControlResponse.js +69 -0
  93. package/dist/models/UnbindResourceControlResponse.js.map +1 -0
  94. package/dist/models/UnbindResourceControlResponseBody.d.ts +21 -0
  95. package/dist/models/UnbindResourceControlResponseBody.js +58 -0
  96. package/dist/models/UnbindResourceControlResponseBody.js.map +1 -0
  97. package/dist/models/UpgradeApplicationVersionRequest.d.ts +31 -0
  98. package/dist/models/UpgradeApplicationVersionRequest.js +60 -0
  99. package/dist/models/UpgradeApplicationVersionRequest.js.map +1 -0
  100. package/dist/models/UpgradeApplicationVersionResponse.d.ts +19 -0
  101. package/dist/models/UpgradeApplicationVersionResponse.js +69 -0
  102. package/dist/models/UpgradeApplicationVersionResponse.js.map +1 -0
  103. package/dist/models/UpgradeApplicationVersionResponseBody.d.ts +21 -0
  104. package/dist/models/UpgradeApplicationVersionResponseBody.js +58 -0
  105. package/dist/models/UpgradeApplicationVersionResponseBody.js.map +1 -0
  106. package/dist/models/model.d.ts +42 -0
  107. package/dist/models/model.js +119 -35
  108. package/dist/models/model.js.map +1 -1
  109. package/package.json +1 -1
  110. package/src/client.ts +650 -0
  111. package/src/models/BindResourceControlRequest.ts +84 -0
  112. package/src/models/BindResourceControlResponse.ts +40 -0
  113. package/src/models/BindResourceControlResponseBody.ts +34 -0
  114. package/src/models/CreateAidbclusterApiKeyRequest.ts +48 -0
  115. package/src/models/CreateAidbclusterApiKeyResponse.ts +40 -0
  116. package/src/models/CreateAidbclusterApiKeyResponseBody.ts +114 -0
  117. package/src/models/CreateResourceControlRequest.ts +79 -0
  118. package/src/models/CreateResourceControlResponse.ts +40 -0
  119. package/src/models/CreateResourceControlResponseBody.ts +34 -0
  120. package/src/models/DeleteAidbclusterApiKeyRequest.ts +49 -0
  121. package/src/models/DeleteAidbclusterApiKeyResponse.ts +40 -0
  122. package/src/models/DeleteAidbclusterApiKeyResponseBody.ts +44 -0
  123. package/src/models/DeleteResourceControlRequest.ts +59 -0
  124. package/src/models/DeleteResourceControlResponse.ts +40 -0
  125. package/src/models/DeleteResourceControlResponseBody.ts +34 -0
  126. package/src/models/DescribeAidbclusterApiKeysRequest.ts +36 -0
  127. package/src/models/DescribeAidbclusterApiKeysResponse.ts +40 -0
  128. package/src/models/DescribeAidbclusterApiKeysResponseBody.ts +114 -0
  129. package/src/models/DescribeApplicationUsageRequest.ts +46 -0
  130. package/src/models/DescribeApplicationUsageResponse.ts +40 -0
  131. package/src/models/DescribeApplicationUsageResponseBody.ts +494 -0
  132. package/src/models/ModifyApplicationEndpointAddressRequest.ts +133 -0
  133. package/src/models/ModifyApplicationEndpointAddressResponse.ts +40 -0
  134. package/src/models/ModifyApplicationEndpointAddressResponseBody.ts +54 -0
  135. package/src/models/ModifyApplicationEndpointAddressShrinkRequest.ts +80 -0
  136. package/src/models/ModifyResourceControlRequest.ts +79 -0
  137. package/src/models/ModifyResourceControlResponse.ts +40 -0
  138. package/src/models/ModifyResourceControlResponseBody.ts +34 -0
  139. package/src/models/UnbindResourceControlRequest.ts +83 -0
  140. package/src/models/UnbindResourceControlResponse.ts +40 -0
  141. package/src/models/UnbindResourceControlResponseBody.ts +34 -0
  142. package/src/models/UpgradeApplicationVersionRequest.ts +46 -0
  143. package/src/models/UpgradeApplicationVersionResponse.ts +40 -0
  144. package/src/models/UpgradeApplicationVersionResponseBody.ts +34 -0
  145. package/src/models/model.ts +42 -0
@@ -0,0 +1,66 @@
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.ModifyApplicationEndpointAddressShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ModifyApplicationEndpointAddressShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ applicationId: 'ApplicationId',
43
+ endpointId: 'EndpointId',
44
+ netType: 'NetType',
45
+ newConnectionStringPrefix: 'NewConnectionStringPrefix',
46
+ newPortsShrink: 'NewPorts',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ applicationId: 'string',
52
+ endpointId: 'string',
53
+ netType: 'string',
54
+ newConnectionStringPrefix: 'string',
55
+ newPortsShrink: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.ModifyApplicationEndpointAddressShrinkRequest = ModifyApplicationEndpointAddressShrinkRequest;
66
+ //# sourceMappingURL=ModifyApplicationEndpointAddressShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifyApplicationEndpointAddressShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ModifyApplicationEndpointAddressShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IA+C5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,yBAAyB,EAAE,2BAA2B;YACtD,cAAc,EAAE,UAAU;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,yBAAyB,EAAE,QAAQ;YACnC,cAAc,EAAE,QAAQ;SACzB,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;AA1ED,sGA0EC"}
@@ -0,0 +1,58 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ModifyResourceControlRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
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
+ *
7
+ * @example
8
+ * 8
9
+ */
10
+ cpuCount?: number;
11
+ /**
12
+ * @remarks
13
+ * The PolarDB cluster ID.
14
+ *
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * pc-**************
19
+ */
20
+ DBClusterId?: string;
21
+ /**
22
+ * @remarks
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
+ *
25
+ * @example
26
+ * 30
27
+ */
28
+ maxCpu?: number;
29
+ /**
30
+ * @remarks
31
+ * The region ID of the PolarDB cluster.
32
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query available regions.
33
+ *
34
+ * @example
35
+ * cn-hangzhou
36
+ */
37
+ regionId?: string;
38
+ /**
39
+ * @remarks
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
+ *
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * test_rc
46
+ */
47
+ resourceControlName?: string;
48
+ static names(): {
49
+ [key: string]: string;
50
+ };
51
+ static types(): {
52
+ [key: string]: any;
53
+ };
54
+ validate(): void;
55
+ constructor(map?: {
56
+ [key: string]: any;
57
+ });
58
+ }
@@ -0,0 +1,66 @@
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.ModifyResourceControlRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ModifyResourceControlRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ cpuCount: 'CpuCount',
43
+ DBClusterId: 'DBClusterId',
44
+ maxCpu: 'MaxCpu',
45
+ regionId: 'RegionId',
46
+ resourceControlName: 'ResourceControlName',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ cpuCount: 'number',
52
+ DBClusterId: 'string',
53
+ maxCpu: 'number',
54
+ regionId: 'string',
55
+ resourceControlName: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.ModifyResourceControlRequest = ModifyResourceControlRequest;
66
+ //# sourceMappingURL=ModifyResourceControlRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifyResourceControlRequest.js","sourceRoot":"","sources":["../../src/models/ModifyResourceControlRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA8C3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,mBAAmB,EAAE,qBAAqB;SAC3C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,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;AAzED,oEAyEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ModifyResourceControlResponseBody } from "./ModifyResourceControlResponseBody";
3
+ export declare class ModifyResourceControlResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ModifyResourceControlResponseBody;
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.ModifyResourceControlResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ModifyResourceControlResponseBody_1 = require("./ModifyResourceControlResponseBody");
40
+ class ModifyResourceControlResponse 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: ModifyResourceControlResponseBody_1.ModifyResourceControlResponseBody,
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.ModifyResourceControlResponse = ModifyResourceControlResponse;
69
+ //# sourceMappingURL=ModifyResourceControlResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifyResourceControlResponse.js","sourceRoot":"","sources":["../../src/models/ModifyResourceControlResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2FAAwF;AAGxF,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAI5D,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,qEAAiC;SACxC,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,sEAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ModifyResourceControlResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The request ID.
6
+ *
7
+ * @example
8
+ * 47921222-0D37-4133-8C0D-017DC3******
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -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.ModifyResourceControlResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ModifyResourceControlResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.ModifyResourceControlResponseBody = ModifyResourceControlResponseBody;
58
+ //# sourceMappingURL=ModifyResourceControlResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifyResourceControlResponseBody.js","sourceRoot":"","sources":["../../src/models/ModifyResourceControlResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAShE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,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;AA5BD,8EA4BC"}
@@ -0,0 +1,62 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UnbindResourceControlRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The PolarDB cluster ID.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * pc-**************
11
+ */
12
+ DBClusterId?: string;
13
+ /**
14
+ * @remarks
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
+ *
18
+ * @example
19
+ * cn-beijing
20
+ */
21
+ regionId?: string;
22
+ /**
23
+ * @remarks
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
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * test_rc
30
+ */
31
+ resourceControlName?: string;
32
+ /**
33
+ * @remarks
34
+ * The type of the target to unbind. Valid values: USER, DATABASE, QUERY, CONNECTION. The value is case-insensitive.
35
+ *
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * USER
40
+ */
41
+ targetType?: string;
42
+ /**
43
+ * @remarks
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
+ *
46
+ * This parameter is required.
47
+ *
48
+ * @example
49
+ * app_user
50
+ */
51
+ targetValue?: string;
52
+ static names(): {
53
+ [key: string]: string;
54
+ };
55
+ static types(): {
56
+ [key: string]: any;
57
+ };
58
+ validate(): void;
59
+ constructor(map?: {
60
+ [key: string]: any;
61
+ });
62
+ }
@@ -0,0 +1,66 @@
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.UnbindResourceControlRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UnbindResourceControlRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ DBClusterId: 'DBClusterId',
43
+ regionId: 'RegionId',
44
+ resourceControlName: 'ResourceControlName',
45
+ targetType: 'TargetType',
46
+ targetValue: 'TargetValue',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ DBClusterId: 'string',
52
+ regionId: 'string',
53
+ resourceControlName: 'string',
54
+ targetType: 'string',
55
+ targetValue: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.UnbindResourceControlRequest = UnbindResourceControlRequest;
66
+ //# sourceMappingURL=UnbindResourceControlRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnbindResourceControlRequest.js","sourceRoot":"","sources":["../../src/models/UnbindResourceControlRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAkD3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,mBAAmB,EAAE,qBAAqB;YAC1C,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,mBAAmB,EAAE,QAAQ;YAC7B,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;SACtB,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;AA7ED,oEA6EC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { UnbindResourceControlResponseBody } from "./UnbindResourceControlResponseBody";
3
+ export declare class UnbindResourceControlResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: UnbindResourceControlResponseBody;
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.UnbindResourceControlResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const UnbindResourceControlResponseBody_1 = require("./UnbindResourceControlResponseBody");
40
+ class UnbindResourceControlResponse 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: UnbindResourceControlResponseBody_1.UnbindResourceControlResponseBody,
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.UnbindResourceControlResponse = UnbindResourceControlResponse;
69
+ //# sourceMappingURL=UnbindResourceControlResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnbindResourceControlResponse.js","sourceRoot":"","sources":["../../src/models/UnbindResourceControlResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2FAAwF;AAGxF,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAI5D,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,qEAAiC;SACxC,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,sEAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UnbindResourceControlResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The request ID.
6
+ *
7
+ * @example
8
+ * 22C0ACF0-DD29-4B67-9190-B7A48C******
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }